wp_get_nav_menu_object() is located in wp-includes/nav-menu.php.
to get the menu by its name. use below code:
'menu' => 'your menu mane here', // pt the name of the menu that you have created in admin.
'theme_location' => '__no_such_location'
'fallback_cb' => false
Just Copy and paste the above code where you want to show your menus.