/* main.c generated by valac 0.18.0.29-efcd0, the Vala compiler
 * generated from main.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <cogl/cogl.h>
#include <clutter/clutter.h>
#include <clutter-gtk/clutter-gtk.h>
#include <stdio.h>
#include <version.h>
#include <gio/gio.h>
#include <libcommon.h>
#include <config.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <gdk/gdk.h>

#define _g_option_context_free0(var) ((var == NULL) ? NULL : (var = (g_option_context_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _Block29Data Block29Data;
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
typedef struct _RunChecksData RunChecksData;

#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UI, BoxesUIClass))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_IS_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UI))
#define BOXES_UI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UI, BoxesUIClass))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIClass BoxesUIClass;

#define BOXES_TYPE_APP (boxes_app_get_type ())
#define BOXES_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP, BoxesApp))
#define BOXES_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP, BoxesAppClass))
#define BOXES_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP))
#define BOXES_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP))
#define BOXES_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP, BoxesAppClass))

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;
typedef struct _Block30Data Block30Data;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _BoxesUIPrivate BoxesUIPrivate;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _BoxesAppPrivate BoxesAppPrivate;

#define BOXES_TYPE_CLUTTER_WIDGET (boxes_clutter_widget_get_type ())
#define BOXES_CLUTTER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_CLUTTER_WIDGET, BoxesClutterWidget))
#define BOXES_CLUTTER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_CLUTTER_WIDGET, BoxesClutterWidgetClass))
#define BOXES_IS_CLUTTER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_CLUTTER_WIDGET))
#define BOXES_IS_CLUTTER_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_CLUTTER_WIDGET))
#define BOXES_CLUTTER_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_CLUTTER_WIDGET, BoxesClutterWidgetClass))

typedef struct _BoxesClutterWidget BoxesClutterWidget;
typedef struct _BoxesClutterWidgetClass BoxesClutterWidgetClass;

#define BOXES_TYPE_COLLECTION_ITEM (boxes_collection_item_get_type ())
#define BOXES_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem))
#define BOXES_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))
#define BOXES_IS_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_IS_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_COLLECTION_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

#define BOXES_TYPE_SEARCHBAR (boxes_searchbar_get_type ())
#define BOXES_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbar))
#define BOXES_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))
#define BOXES_IS_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SEARCHBAR))
#define BOXES_IS_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SEARCHBAR))
#define BOXES_SEARCHBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

#define BOXES_TYPE_TOPBAR (boxes_topbar_get_type ())
#define BOXES_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TOPBAR, BoxesTopbar))
#define BOXES_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TOPBAR, BoxesTopbarClass))
#define BOXES_IS_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TOPBAR))
#define BOXES_IS_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TOPBAR))
#define BOXES_TOPBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TOPBAR, BoxesTopbarClass))

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

#define BOXES_TYPE_NOTIFICATIONBAR (boxes_notificationbar_get_type ())
#define BOXES_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbar))
#define BOXES_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))
#define BOXES_IS_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_IS_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_NOTIFICATIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

#define BOXES_TYPE_REVEALER (boxes_revealer_get_type ())
#define BOXES_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_REVEALER, BoxesRevealer))
#define BOXES_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_REVEALER, BoxesRevealerClass))
#define BOXES_IS_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_REVEALER))
#define BOXES_IS_REVEALER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_REVEALER))
#define BOXES_REVEALER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_REVEALER, BoxesRevealerClass))

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

#define BOXES_TYPE_SIDEBAR (boxes_sidebar_get_type ())
#define BOXES_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebar))
#define BOXES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))
#define BOXES_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SIDEBAR))
#define BOXES_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SIDEBAR))
#define BOXES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

#define BOXES_TYPE_SELECTIONBAR (boxes_selectionbar_get_type ())
#define BOXES_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar))
#define BOXES_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))
#define BOXES_IS_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SELECTIONBAR))
#define BOXES_IS_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SELECTIONBAR))
#define BOXES_SELECTIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

#define BOXES_TYPE_WIZARD (boxes_wizard_get_type ())
#define BOXES_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD, BoxesWizard))
#define BOXES_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD, BoxesWizardClass))
#define BOXES_IS_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD))
#define BOXES_IS_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD))
#define BOXES_WIZARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD, BoxesWizardClass))

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

#define BOXES_TYPE_PROPERTIES (boxes_properties_get_type ())
#define BOXES_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES, BoxesProperties))
#define BOXES_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))
#define BOXES_IS_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES))
#define BOXES_IS_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES))
#define BOXES_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

#define BOXES_TYPE_DISPLAY_PAGE (boxes_display_page_get_type ())
#define BOXES_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage))
#define BOXES_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))
#define BOXES_IS_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_IS_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_DISPLAY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

#define BOXES_TYPE_COLLECTION (boxes_collection_get_type ())
#define BOXES_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION, BoxesCollection))
#define BOXES_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION, BoxesCollectionClass))
#define BOXES_IS_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION))
#define BOXES_IS_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION))
#define BOXES_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION, BoxesCollectionClass))

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

#define BOXES_TYPE_COLLECTION_FILTER (boxes_collection_filter_get_type ())
#define BOXES_COLLECTION_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_FILTER, BoxesCollectionFilter))
#define BOXES_COLLECTION_FILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_FILTER, BoxesCollectionFilterClass))
#define BOXES_IS_COLLECTION_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_FILTER))
#define BOXES_IS_COLLECTION_FILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_FILTER))
#define BOXES_COLLECTION_FILTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_FILTER, BoxesCollectionFilterClass))

typedef struct _BoxesCollectionFilter BoxesCollectionFilter;
typedef struct _BoxesCollectionFilterClass BoxesCollectionFilterClass;

#define BOXES_TYPE_COLLECTION_VIEW (boxes_collection_view_get_type ())
#define BOXES_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionView))
#define BOXES_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))
#define BOXES_IS_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_IS_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_COLLECTION_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;

struct _Block29Data {
	int _ref_count_;
	GMainLoop* loop;
};

struct _RunChecksData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	gchar* _tmp0_;
	gchar* selinux_context_diagnosis;
	gchar* _tmp1_;
	gchar* storage_pool_diagnosis;
	gboolean _tmp2_;
	gboolean cpu;
	gboolean _tmp3_;
	gboolean kvm;
	gboolean _tmp4_;
	gboolean libvirt_kvm;
	gchar* _tmp5_;
	gboolean _tmp6_;
	gboolean selinux_context_default;
	gchar* _tmp7_;
	gboolean _tmp8_;
	gboolean storage_pool;
	FILE* _tmp9_;
	const gchar* _tmp10_;
	gboolean _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	FILE* _tmp16_;
	const gchar* _tmp17_;
	gboolean _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	FILE* _tmp23_;
	const gchar* _tmp24_;
	gboolean _tmp25_;
	gchar* _tmp26_;
	gchar* _tmp27_;
	gchar* _tmp28_;
	gchar* _tmp29_;
	FILE* _tmp30_;
	const gchar* _tmp31_;
	gboolean _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	gchar* _tmp35_;
	gchar* _tmp36_;
	const gchar* _tmp37_;
	gint _tmp38_;
	gint _tmp39_;
	FILE* _tmp40_;
	const gchar* _tmp41_;
	gchar* _tmp42_;
	gchar* _tmp43_;
	gchar* _tmp44_;
	gchar* _tmp45_;
	FILE* _tmp46_;
	const gchar* _tmp47_;
	gboolean _tmp48_;
	gchar* _tmp49_;
	gchar* _tmp50_;
	gchar* _tmp51_;
	gchar* _tmp52_;
	const gchar* _tmp53_;
	gint _tmp54_;
	gint _tmp55_;
	FILE* _tmp56_;
	const gchar* _tmp57_;
	gchar* _tmp58_;
	gchar* _tmp59_;
	gchar* _tmp60_;
	gchar* _tmp61_;
	FILE* _tmp62_;
	FILE* _tmp63_;
	const gchar* _tmp64_;
	FILE* _tmp65_;
	const gchar* _tmp66_;
	const gchar* _tmp67_;
};

struct _Block30Data {
	int _ref_count_;
	BoxesApp* app;
};

typedef enum  {
	BOXES_UI_STATE_NONE,
	BOXES_UI_STATE_COLLECTION,
	BOXES_UI_STATE_CREDS,
	BOXES_UI_STATE_DISPLAY,
	BOXES_UI_STATE_SETTINGS,
	BOXES_UI_STATE_WIZARD,
	BOXES_UI_STATE_PROPERTIES
} BoxesUIState;

struct _BoxesUI {
	GObject parent_instance;
	BoxesUIPrivate * priv;
	BoxesUIState previous_ui_state;
};

struct _BoxesUIClass {
	GObjectClass parent_class;
	void (*ui_state_changed) (BoxesUI* self);
	ClutterActor* (*get_actor) (BoxesUI* self);
};

struct _BoxesApp {
	BoxesUI parent_instance;
	BoxesAppPrivate * priv;
	GtkApplicationWindow* window;
	GtkNotebook* notebook;
	BoxesClutterWidget* embed;
	ClutterStage* stage;
	ClutterBinLayout* stage_bin;
	ClutterActor* overlay_bin_actor;
	ClutterBinLayout* overlay_bin;
	BoxesCollectionItem* current_item;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesNotificationbar* notificationbar;
	BoxesRevealer* sidebar_revealer;
	BoxesRevealer* searchbar_revealer;
	BoxesSidebar* sidebar;
	BoxesSelectionbar* selectionbar;
	guint duration;
	GSettings* settings;
	BoxesWizard* wizard;
	BoxesProperties* properties;
	BoxesDisplayPage* display_page;
	BoxesCollection* collection;
	BoxesCollectionFilter* filter;
	GSimpleAction* action_properties;
	GSimpleAction* action_fullscreen;
	BoxesCollectionView* view;
};

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};


extern gboolean version;
gboolean version = FALSE;
extern gboolean fullscreen;
gboolean fullscreen = FALSE;
extern gboolean checks;
gboolean checks = FALSE;
extern gchar* open_uuid;
gchar* open_uuid = NULL;
extern gchar** uris;
extern gint uris_length1;
gchar** uris = NULL;
gint uris_length1 = 0;
static gint _uris_size_ = 0;

void parse_args (gchar*** args, int* args_length1);
static Block29Data* block29_data_ref (Block29Data* _data29_);
static void block29_data_unref (void * _userdata_);
void run_checks (GAsyncReadyCallback _callback_, gpointer _user_data_);
void run_checks_finish (GAsyncResult* _res_);
static void ___lambda184_ (Block29Data* _data29_, GObject* obj, GAsyncResult* res);
static void ____lambda184__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void run_checks_data_free (gpointer _data);
static gboolean run_checks_co (RunChecksData* _data_);
void boxes_check_cpu_vt_capability (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_cpu_vt_capability_finish (GAsyncResult* _res_);
static void run_checks_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_check_module_kvm_loaded (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_module_kvm_loaded_finish (GAsyncResult* _res_);
void boxes_check_libvirt_kvm (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_libvirt_kvm_finish (GAsyncResult* _res_);
void boxes_check_selinux_context_default (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_selinux_context_default_finish (GAsyncResult* _res_, gchar** diagnosis);
void boxes_check_storage_pool (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_storage_pool_finish (GAsyncResult* _res_, gchar** diagnosis);
gint _vala_main (gchar** args, int args_length1);
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_app_get_type (void) G_GNUC_CONST;
static Block30Data* block30_data_ref (Block30Data* _data30_);
static void block30_data_unref (void * _userdata_);
BoxesApp* boxes_app_new (void);
BoxesApp* boxes_app_construct (GType object_type);
static void __lambda185_ (Block30Data* _data30_, gboolean first_time);
gboolean boxes_app_open_uuid (BoxesApp* self, const gchar* uuid);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_clutter_widget_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GType boxes_collection_filter_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
void boxes_wizard_open_with_uri (BoxesWizard* self, const gchar* uri, gboolean skip_review_for_live);
void boxes_app_open (BoxesApp* self, const gchar* name);
void boxes_ui_set_ui_state (BoxesUI* self, BoxesUIState value);
void boxes_app_set_fullscreen (BoxesApp* self, gboolean value);
static void ___lambda185__boxes_app_ready (BoxesApp* _sender, gboolean first_time, gpointer self);
gint boxes_app_run (BoxesApp* self);
void boxes_app_shutdown (BoxesApp* self);
void boxes_app_suspend_machines (BoxesApp* self);

const GOptionEntry options[6] = {{"version", (gchar) 0, 0, G_OPTION_ARG_NONE, &version, "Display version number", NULL}, {"full-screen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen, "Open in full screen", NULL}, {"checks", (gchar) 0, 0, G_OPTION_ARG_NONE, &checks, "Check virtualization capabilities", NULL}, {"open-uuid", (gchar) 0, 0, G_OPTION_ARG_STRING, &open_uuid, "Open box with UUID", NULL}, {"", (gchar) 0, 0, G_OPTION_ARG_STRING_ARRAY, &uris, "URI to display, broker or installer media", NULL}, {NULL}};

static Block29Data* block29_data_ref (Block29Data* _data29_) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_atomic_int_inc (&_data29_->_ref_count_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return _data29_;
#line 420 "main.c"
}


static void block29_data_unref (void * _userdata_) {
	Block29Data* _data29_;
	_data29_ = (Block29Data*) _userdata_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (g_atomic_int_dec_and_test (&_data29_->_ref_count_)) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_main_loop_unref0 (_data29_->loop);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_slice_free (Block29Data, _data29_);
#line 433 "main.c"
	}
}


static void ___lambda184_ (Block29Data* _data29_, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_;
	GMainLoop* _tmp1_;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_return_if_fail (res != NULL);
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp0_ = res;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	run_checks_finish (_tmp0_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp1_ = _data29_->loop;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_main_loop_quit (_tmp1_);
#line 451 "main.c"
}


static void ____lambda184__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	___lambda184_ (self, source_object, res);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	block29_data_unref (self);
#line 460 "main.c"
}


void parse_args (gchar*** args, int* args_length1) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_;
	gchar* parameter_string;
	const gchar* _tmp2_;
	GOptionContext* _tmp3_;
	GOptionContext* opt_context;
	GOptionContext* _tmp4_;
	GOptionContext* _tmp5_;
	GOptionContext* _tmp6_;
	GOptionContext* _tmp7_;
	GOptionGroup* _tmp8_ = NULL;
	GOptionContext* _tmp9_;
	GOptionGroup* _tmp10_ = NULL;
	GOptionContext* _tmp11_;
	GOptionGroup* _tmp12_ = NULL;
	GOptionContext* _tmp13_;
	GOptionGroup* _tmp14_ = NULL;
	gboolean _tmp22_ = FALSE;
	gchar** _tmp23_;
	gint _tmp23__length1;
	gboolean _tmp28_;
	gboolean _tmp31_;
	gboolean _tmp33_;
	GError * _inner_error_ = NULL;
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp0_ = _ ("- A simple application to access remote or virtual machines");
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	parameter_string = _tmp1_;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp2_ = parameter_string;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp3_ = g_option_context_new (_tmp2_);
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	opt_context = _tmp3_;
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp4_ = opt_context;
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_option_context_set_help_enabled (_tmp4_, TRUE);
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp5_ = opt_context;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_option_context_set_ignore_unknown_options (_tmp5_, TRUE);
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp6_ = opt_context;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_option_context_add_main_entries (_tmp6_, options, NULL);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp7_ = opt_context;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp8_ = gtk_get_option_group (TRUE);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_option_context_add_group (_tmp7_, _tmp8_);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp9_ = opt_context;
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp10_ = cogl_get_option_group ();
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_option_context_add_group (_tmp9_, _tmp10_);
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp11_ = opt_context;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp12_ = clutter_get_option_group_without_init ();
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_option_context_add_group (_tmp11_, _tmp12_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp13_ = opt_context;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp14_ = gtk_clutter_get_option_group ();
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_option_context_add_group (_tmp13_, _tmp14_);
#line 537 "main.c"
	{
		GOptionContext* _tmp15_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp15_ = opt_context;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_option_context_parse (_tmp15_, args_length1, args, &_inner_error_);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		if (_inner_error_ != NULL) {
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			if (g_error_matches (_inner_error_, G_OPTION_ERROR, G_OPTION_ERROR_BAD_VALUE)) {
#line 548 "main.c"
				goto __catch44_g_option_error_bad_value;
			}
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			if (_inner_error_->domain == G_OPTION_ERROR) {
#line 553 "main.c"
				goto __catch44_g_option_error;
			}
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_g_option_context_free0 (opt_context);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_g_free0 (parameter_string);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			g_clear_error (&_inner_error_);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			return;
#line 566 "main.c"
		}
	}
	goto __finally44;
	__catch44_g_option_error_bad_value:
	{
		GError* err = NULL;
		FILE* _tmp16_;
		GOptionContext* _tmp17_;
		gchar* _tmp18_ = NULL;
		gchar* _tmp19_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		err = _inner_error_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_inner_error_ = NULL;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp16_ = stdout;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp17_ = opt_context;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp18_ = g_option_context_get_help (_tmp17_, TRUE, NULL);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp19_ = _tmp18_;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		fprintf (_tmp16_, "%s", _tmp19_);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_free0 (_tmp19_);
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		exit (1);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_error_free0 (err);
#line 597 "main.c"
	}
	goto __finally44;
	__catch44_g_option_error:
	{
		GError* _error_ = NULL;
		GError* _tmp20_;
		const gchar* _tmp21_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_error_ = _inner_error_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_inner_error_ = NULL;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp20_ = _error_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp21_ = _tmp20_->message;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_warning ("main.vala:39: %s", _tmp21_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_error_free0 (_error_);
#line 617 "main.c"
	}
	__finally44:
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_inner_error_ != NULL) {
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_option_context_free0 (opt_context);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_free0 (parameter_string);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_clear_error (&_inner_error_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		return;
#line 632 "main.c"
	}
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp23_ = uris;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp23__length1 = uris_length1;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_tmp23__length1 > 1) {
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp22_ = TRUE;
#line 642 "main.c"
	} else {
		gboolean _tmp24_ = FALSE;
		const gchar* _tmp25_;
		gboolean _tmp27_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp25_ = open_uuid;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		if (_tmp25_ != NULL) {
#line 651 "main.c"
			gchar** _tmp26_;
			gint _tmp26__length1;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp26_ = uris;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp26__length1 = uris_length1;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp24_ = _tmp26_ != NULL;
#line 660 "main.c"
		} else {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp24_ = FALSE;
#line 664 "main.c"
		}
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp27_ = _tmp24_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp22_ = _tmp27_;
#line 670 "main.c"
	}
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp28_ = _tmp22_;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_tmp28_) {
#line 676 "main.c"
		FILE* _tmp29_;
		const gchar* _tmp30_ = NULL;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp29_ = stderr;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp30_ = _ ("Too many command line arguments specified.\n");
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		fprintf (_tmp29_, "%s", _tmp30_);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		exit (1);
#line 687 "main.c"
	}
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp31_ = version;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_tmp31_) {
#line 693 "main.c"
		FILE* _tmp32_;
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp32_ = stdout;
#line 49 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		fprintf (_tmp32_, "%s\n", BUILD_VERSION);
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		exit (0);
#line 701 "main.c"
	}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp33_ = checks;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_tmp33_) {
#line 707 "main.c"
		Block29Data* _data29_;
		GMainLoop* _tmp34_;
		GMainLoop* _tmp35_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data29_ = g_slice_new0 (Block29Data);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data29_->_ref_count_ = 1;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp34_ = g_main_loop_new (NULL, FALSE);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data29_->loop = _tmp34_;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		run_checks (____lambda184__gasync_ready_callback, block29_data_ref (_data29_));
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp35_ = _data29_->loop;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_main_loop_run (_tmp35_);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		exit (0);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		block29_data_unref (_data29_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data29_ = NULL;
#line 731 "main.c"
	}
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_option_context_free0 (opt_context);
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (parameter_string);
#line 737 "main.c"
}


static void run_checks_data_free (gpointer _data) {
	RunChecksData* _data_;
	_data_ = _data;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_slice_free (RunChecksData, _data_);
#line 746 "main.c"
}


void run_checks (GAsyncReadyCallback _callback_, gpointer _user_data_) {
	RunChecksData* _data_;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_slice_new0 (RunChecksData);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, run_checks);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, run_checks_data_free);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	run_checks_co (_data_);
#line 760 "main.c"
}


void run_checks_finish (GAsyncResult* _res_) {
	RunChecksData* _data_;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 768 "main.c"
}


static void run_checks_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	RunChecksData* _data_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_ = _user_data_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_source_object_ = source_object;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_res_ = _res_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	run_checks_co (_data_);
#line 782 "main.c"
}


static gboolean run_checks_co (RunChecksData* _data_) {
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	switch (_data_->_state_) {
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		case 0:
#line 791 "main.c"
		goto _state_0;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		case 1:
#line 795 "main.c"
		goto _state_1;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		case 2:
#line 799 "main.c"
		goto _state_2;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		case 3:
#line 803 "main.c"
		goto _state_3;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		case 4:
#line 807 "main.c"
		goto _state_4;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		case 5:
#line 811 "main.c"
		goto _state_5;
		default:
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_assert_not_reached ();
#line 816 "main.c"
	}
	_state_0:
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp0_ = g_strdup ("");
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->selinux_context_diagnosis = _data_->_tmp0_;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp1_ = g_strdup ("");
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->storage_pool_diagnosis = _data_->_tmp1_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_state_ = 1;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_check_cpu_vt_capability (run_checks_ready, _data_);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return FALSE;
#line 833 "main.c"
	_state_1:
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp2_ = FALSE;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp2_ = boxes_check_cpu_vt_capability_finish (_data_->_res_);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->cpu = _data_->_tmp2_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_state_ = 2;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_check_module_kvm_loaded (run_checks_ready, _data_);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return FALSE;
#line 847 "main.c"
	_state_2:
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp3_ = FALSE;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp3_ = boxes_check_module_kvm_loaded_finish (_data_->_res_);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->kvm = _data_->_tmp3_;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_state_ = 3;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_check_libvirt_kvm (run_checks_ready, _data_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return FALSE;
#line 861 "main.c"
	_state_3:
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp4_ = FALSE;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp4_ = boxes_check_libvirt_kvm_finish (_data_->_res_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->libvirt_kvm = _data_->_tmp4_;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp5_ = NULL;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_state_ = 4;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_check_selinux_context_default (run_checks_ready, _data_);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return FALSE;
#line 877 "main.c"
	_state_4:
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp6_ = FALSE;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp6_ = boxes_check_selinux_context_default_finish (_data_->_res_, &_data_->_tmp5_);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->selinux_context_diagnosis);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->selinux_context_diagnosis = _data_->_tmp5_;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->selinux_context_default = _data_->_tmp6_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp7_ = NULL;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_state_ = 5;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_check_storage_pool (run_checks_ready, _data_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return FALSE;
#line 897 "main.c"
	_state_5:
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp8_ = FALSE;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp8_ = boxes_check_storage_pool_finish (_data_->_res_, &_data_->_tmp7_);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->storage_pool_diagnosis);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->storage_pool_diagnosis = _data_->_tmp7_;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->storage_pool = _data_->_tmp8_;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp9_ = stdout;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp10_ = NULL;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp10_ = _ ("• The CPU is capable of virtualization: %s\n");
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp11_ = _data_->cpu;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp12_ = NULL;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp12_ = boxes_yes_no (_data_->_tmp11_);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp14_ = NULL;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp14_ = g_strdup_printf (_data_->_tmp10_, _data_->_tmp13_);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp9_, "%s", _data_->_tmp15_);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp15_);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp13_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp16_ = stdout;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp17_ = NULL;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp17_ = _ ("• The KVM module is loaded: %s\n");
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp18_ = _data_->kvm;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp19_ = NULL;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp19_ = boxes_yes_no (_data_->_tmp18_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp21_ = NULL;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp21_ = g_strdup_printf (_data_->_tmp17_, _data_->_tmp20_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp22_ = _data_->_tmp21_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp16_, "%s", _data_->_tmp22_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp22_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp20_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp23_ = stdout;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp24_ = NULL;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp24_ = _ ("• Libvirt KVM guest available: %s\n");
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp25_ = _data_->libvirt_kvm;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp26_ = NULL;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp26_ = boxes_yes_no (_data_->_tmp25_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp27_ = _data_->_tmp26_;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp28_ = NULL;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp28_ = g_strdup_printf (_data_->_tmp24_, _data_->_tmp27_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp29_ = _data_->_tmp28_;
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp23_, "%s", _data_->_tmp29_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp29_);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp27_);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp30_ = stdout;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp31_ = NULL;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp31_ = _ ("• Boxes storage pool available: %s\n");
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp32_ = _data_->storage_pool;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp33_ = NULL;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp33_ = boxes_yes_no (_data_->_tmp32_);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp34_ = _data_->_tmp33_;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp35_ = NULL;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp35_ = g_strdup_printf (_data_->_tmp31_, _data_->_tmp34_);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp36_ = _data_->_tmp35_;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp30_, "%s", _data_->_tmp36_);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp36_);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp34_);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp37_ = _data_->storage_pool_diagnosis;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp38_ = strlen (_data_->_tmp37_);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp39_ = _data_->_tmp38_;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_data_->_tmp39_ != 0) {
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp40_ = stdout;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp41_ = _data_->storage_pool_diagnosis;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp42_ = NULL;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp42_ = boxes_indent ("    ", _data_->_tmp41_);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp43_ = _data_->_tmp42_;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp44_ = g_strconcat (_data_->_tmp43_, "\n", NULL);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp45_ = _data_->_tmp44_;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		fprintf (_data_->_tmp40_, "%s", _data_->_tmp45_);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_free0 (_data_->_tmp45_);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_free0 (_data_->_tmp43_);
#line 1041 "main.c"
	}
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp46_ = stdout;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp47_ = NULL;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp47_ = _ ("• The SELinux context is default: %s\n");
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp48_ = _data_->selinux_context_default;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp49_ = NULL;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp49_ = boxes_yes_no (_data_->_tmp48_);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp50_ = _data_->_tmp49_;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp51_ = NULL;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp51_ = g_strdup_printf (_data_->_tmp47_, _data_->_tmp50_);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp52_ = _data_->_tmp51_;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp46_, "%s", _data_->_tmp52_);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp52_);
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->_tmp50_);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp53_ = _data_->selinux_context_diagnosis;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp54_ = strlen (_data_->_tmp53_);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp55_ = _data_->_tmp54_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_data_->_tmp55_ != 0) {
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp56_ = stdout;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp57_ = _data_->selinux_context_diagnosis;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp58_ = NULL;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp58_ = boxes_indent ("    ", _data_->_tmp57_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp59_ = _data_->_tmp58_;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp60_ = g_strconcat (_data_->_tmp59_, "\n", NULL);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data_->_tmp61_ = _data_->_tmp60_;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		fprintf (_data_->_tmp56_, "%s", _data_->_tmp61_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_free0 (_data_->_tmp61_);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_free0 (_data_->_tmp59_);
#line 1097 "main.c"
	}
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp62_ = stdout;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp62_, "\n");
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp63_ = stdout;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp64_ = NULL;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp64_ = _ ("Report bugs to <%s>.\n");
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp63_, _data_->_tmp64_, PACKAGE_BUGREPORT);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp65_ = stdout;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp66_ = NULL;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp66_ = _ ("%s home page: <%s>.\n");
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp67_ = NULL;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data_->_tmp67_ = g_get_application_name ();
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	fprintf (_data_->_tmp65_, _data_->_tmp66_, _data_->_tmp67_, PACKAGE_URL);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->storage_pool_diagnosis);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_free0 (_data_->selinux_context_diagnosis);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_data_->_state_ == 0) {
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1131 "main.c"
	} else {
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1135 "main.c"
	}
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_object_unref (_data_->_async_result);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return FALSE;
#line 1141 "main.c"
}


static Block30Data* block30_data_ref (Block30Data* _data30_) {
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_atomic_int_inc (&_data30_->_ref_count_);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return _data30_;
#line 1150 "main.c"
}


static void block30_data_unref (void * _userdata_) {
	Block30Data* _data30_;
	_data30_ = (Block30Data*) _userdata_;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (g_atomic_int_dec_and_test (&_data30_->_ref_count_)) {
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_object_unref0 (_data30_->app);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_slice_free (Block30Data, _data30_);
#line 1163 "main.c"
	}
}


static void __lambda185_ (Block30Data* _data30_, gboolean first_time) {
	const gchar* _tmp0_;
	gboolean _tmp21_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp0_ = open_uuid;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_tmp0_ != NULL) {
#line 1175 "main.c"
		const gchar* _tmp1_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp1_ = open_uuid;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		boxes_app_open_uuid (_data30_->app, _tmp1_);
#line 1181 "main.c"
	} else {
		gchar** _tmp2_;
		gint _tmp2__length1;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp2_ = uris;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp2__length1 = uris_length1;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		if (_tmp2_ != NULL) {
#line 1191 "main.c"
			gchar** _tmp3_;
			gint _tmp3__length1;
			const gchar* _tmp4_;
			gchar* _tmp5_;
			gchar* arg;
			const gchar* _tmp6_;
			GFile* _tmp7_ = NULL;
			GFile* file;
			gboolean _tmp8_ = FALSE;
			GFile* _tmp9_;
			gboolean _tmp10_ = FALSE;
			gboolean _tmp14_;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp3_ = uris;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp3__length1 = uris_length1;
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp4_ = _tmp3_[0];
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp5_ = g_strdup (_tmp4_);
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			arg = _tmp5_;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp6_ = arg;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp7_ = g_file_new_for_commandline_arg (_tmp6_);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			file = _tmp7_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp9_ = file;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp10_ = g_file_query_exists (_tmp9_, NULL);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			if (_tmp10_) {
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp8_ = TRUE;
#line 1228 "main.c"
			} else {
				const gchar* _tmp11_;
				gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp11_ = arg;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp12_ = g_uri_parse_scheme (_tmp11_);
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp13_ = _tmp12_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp8_ = _tmp13_ != NULL;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_g_free0 (_tmp13_);
#line 1243 "main.c"
			}
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp14_ = _tmp8_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			if (_tmp14_) {
#line 1249 "main.c"
				BoxesWizard* _tmp15_;
				GFile* _tmp16_;
				gchar* _tmp17_ = NULL;
				gchar* _tmp18_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp15_ = _data30_->app->wizard;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp16_ = file;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp17_ = g_file_get_uri (_tmp16_);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp18_ = _tmp17_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				boxes_wizard_open_with_uri (_tmp15_, _tmp18_, TRUE);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_g_free0 (_tmp18_);
#line 1266 "main.c"
			} else {
				const gchar* _tmp19_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				_tmp19_ = arg;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				boxes_app_open (_data30_->app, _tmp19_);
#line 1273 "main.c"
			}
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_g_object_unref0 (file);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_g_free0 (arg);
#line 1279 "main.c"
		} else {
			gboolean _tmp20_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_tmp20_ = first_time;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			if (_tmp20_) {
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
				boxes_ui_set_ui_state ((BoxesUI*) _data30_->app, BOXES_UI_STATE_WIZARD);
#line 1288 "main.c"
			}
		}
	}
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp21_ = fullscreen;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_app_set_fullscreen (_data30_->app, _tmp21_);
#line 1296 "main.c"
}


static void ___lambda185__boxes_app_ready (BoxesApp* _sender, gboolean first_time, gpointer self) {
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	__lambda185_ (self, first_time);
#line 1303 "main.c"
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	Block30Data* _data30_;
	const gchar* _tmp0_ = NULL;
	GtkSettings* _tmp2_ = NULL;
	GtkCssProvider* _tmp3_;
	GtkCssProvider* provider;
	BoxesApp* _tmp8_;
	gint _tmp9_ = 0;
	gint exit_status;
	GError * _inner_error_ = NULL;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data30_ = g_slice_new0 (Block30Data);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data30_->_ref_count_ = 1;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	textdomain (GETTEXT_PACKAGE);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp0_ = _ ("Boxes");
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_set_application_name (_tmp0_);
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	parse_args (&args, &args_length1);
#line 1334 "main.c"
	{
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		gvir_init_object_check (&args_length1, &args, &_inner_error_);
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		if (_inner_error_ != NULL) {
#line 1340 "main.c"
			goto __catch45_g_error;
		}
	}
	goto __finally45;
	__catch45_g_error:
	{
		GError* err = NULL;
		const gchar* _tmp1_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		err = _inner_error_;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_inner_error_ = NULL;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp1_ = err->message;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_error ("main.vala:102: %s", _tmp1_);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_error_free0 (err);
#line 1359 "main.c"
	}
	__finally45:
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_inner_error_ != NULL) {
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		block30_data_unref (_data30_);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data30_ = NULL;
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_clear_error (&_inner_error_);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		return 0;
#line 1374 "main.c"
	}
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	gtk_window_set_default_icon_name ("gnome-boxes");
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp2_ = gtk_settings_get_default ();
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_object_set (_tmp2_, "gtk-application-prefer-dark-theme", TRUE, NULL);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp3_ = gtk_css_provider_new ();
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	provider = _tmp3_;
#line 1386 "main.c"
	{
		gchar* _tmp4_ = NULL;
		gchar* sheet;
		GdkScreen* _tmp5_ = NULL;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp4_ = boxes_get_style ("gtk-style.css");
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		sheet = _tmp4_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		gtk_css_provider_load_from_path (provider, sheet, &_inner_error_);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		if (_inner_error_ != NULL) {
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
			_g_free0 (sheet);
#line 1401 "main.c"
			goto __catch46_g_error;
		}
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp5_ = gdk_screen_get_default ();
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		gtk_style_context_add_provider_for_screen (_tmp5_, (GtkStyleProvider*) provider, (guint) 600);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_free0 (sheet);
#line 1410 "main.c"
	}
	goto __finally46;
	__catch46_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp6_;
		const gchar* _tmp7_;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_error_ = _inner_error_;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_inner_error_ = NULL;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp6_ = _error_;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_tmp7_ = _tmp6_->message;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_warning ("main.vala:115: %s", _tmp7_);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_error_free0 (_error_);
#line 1430 "main.c"
	}
	__finally46:
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	if (_inner_error_ != NULL) {
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_g_object_unref0 (provider);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		block30_data_unref (_data30_);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		_data30_ = NULL;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		g_clear_error (&_inner_error_);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
		return 0;
#line 1447 "main.c"
	}
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp8_ = boxes_app_new ();
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data30_->app = _tmp8_;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_signal_connect_data (_data30_->app, "ready", (GCallback) ___lambda185__boxes_app_ready, block30_data_ref (_data30_), (GClosureNotify) block30_data_unref, 0);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_tmp9_ = boxes_app_run (_data30_->app);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	exit_status = _tmp9_;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_app_shutdown (_data30_->app);
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	boxes_app_suspend_machines (_data30_->app);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	result = exit_status;
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_g_object_unref0 (provider);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	block30_data_unref (_data30_);
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	_data30_ = NULL;
#line 143 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return result;
#line 1473 "main.c"
}


int main (int argc, char ** argv) {
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	g_type_init ();
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/main.vala"
	return _vala_main (argv, argc);
#line 1482 "main.c"
}



