/* util-app.c generated by valac 0.20.0.2-fd7ed, the Vala compiler
 * generated from util-app.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <gdk/gdk.h>
#include <clutter/clutter.h>
#include <float.h>
#include <math.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <libcommon.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <clutter-gtk/clutter-gtk.h>
#include <gio/gio.h>
#include <osinfo/osinfo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <config.h>
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
#include <unistd.h>
#include <cairo.h>
#include <libgd/gd.h>

#define _gtk_widget_path_unref0(var) ((var == NULL) ? NULL : (var = (gtk_widget_path_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block61Data Block61Data;
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
typedef struct _Block62Data Block62Data;
#define _xmlFreeParserCtxt0(var) ((var == NULL) ? NULL : (var = (xmlFreeParserCtxt (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _xmlXPathFreeContext0(var) ((var == NULL) ? NULL : (var = (xmlXPathFreeContext (var), NULL)))
typedef struct _Block63Data Block63Data;

#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 _BoxesUIPrivate BoxesUIPrivate;
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_EMPTY_BOXES (boxes_empty_boxes_get_type ())
#define BOXES_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxes))
#define BOXES_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))
#define BOXES_IS_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_IS_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_EMPTY_BOXES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;

#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;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesCheckSelinuxContextDefaultData BoxesCheckSelinuxContextDefaultData;
typedef struct _BoxesCheckLibvirtKvmData BoxesCheckLibvirtKvmData;
typedef struct _BoxesCheckCpuVtCapabilityData BoxesCheckCpuVtCapabilityData;
typedef struct _BoxesCheckModuleKvmLoadedData BoxesCheckModuleKvmLoadedData;
typedef struct _BoxesCheckStoragePoolData BoxesCheckStoragePoolData;
typedef struct _Block64Data Block64Data;
typedef struct _BoxesCopyFileData BoxesCopyFileData;

#define BOXES_TYPE_CPU_ARCH_COMPATIBILITY (boxes_cpu_arch_compatibility_get_type ())

struct _Block61Data {
	int _ref_count_;
	GtkTreeView* tree_view;
};

struct _Block62Data {
	int _ref_count_;
	GtkIconView* icon_view;
};

struct _Block63Data {
	int _ref_count_;
	ClutterActor* actor;
};

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

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;
	BoxesEmptyBoxes* empty_boxes;
	BoxesCollection* collection;
	BoxesCollectionFilter* filter;
	BoxesCollectionView* view;
};

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};

typedef void (*BoxesActorFunc) (ClutterActor* actor, void* user_data);
struct _BoxesCheckSelinuxContextDefaultData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	gchar* diagnosis;
	gboolean result;
	gchar* _tmp0_;
	gchar* standard_output;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar** _tmp6_;
	gchar** argv;
	gint argv_length1;
	gint _argv_size_;
	gchar** _tmp7_;
	gint _tmp7__length1;
	gchar* _tmp8_;
	const gchar* _tmp9_;
	gint _tmp10_;
	gint _tmp11_;
	gchar** _tmp12_;
	gint _tmp12__length1;
	gchar* _tmp13_;
	gchar* _tmp14_;
	const gchar* _tmp15_;
	gchar** _tmp16_;
	gint _tmp16__length1;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	GError* _error_;
	const gchar* _tmp20_;
	gchar* _tmp21_;
	GError* _vala1__error_;
	GError* _tmp22_;
	const gchar* _tmp23_;
	GError * _inner_error_;
};

struct _BoxesCheckLibvirtKvmData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	gboolean result;
	gchar* standard_output;
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar** _tmp2_;
	gchar** argv;
	gint argv_length1;
	gint _argv_size_;
	gchar** _tmp3_;
	gint _tmp3__length1;
	gchar* _tmp4_;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* kvm;
	const gchar* _tmp7_;
	gint _tmp8_;
	gint _tmp9_;
	GError* _error_;
	GError* _vala1__error_;
	GError* _tmp10_;
	const gchar* _tmp11_;
	GError * _inner_error_;
};

struct _BoxesCheckCpuVtCapabilityData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	gboolean result;
	gboolean _result_;
	GFile* _tmp0_;
	GFile* file;
	GFile* _tmp1_;
	GFileInputStream* _tmp2_;
	GFileInputStream* _tmp3_;
	GFileInputStream* _tmp4_;
	GDataInputStream* _tmp5_;
	GDataInputStream* _tmp6_;
	GDataInputStream* stream;
	gchar* line;
	GDataInputStream* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	const gchar* _tmp10_;
	const gchar* _tmp11_;
	gboolean _tmp12_;
	gboolean _tmp13_;
	GError* _error_;
	const gchar* _tmp14_;
	gboolean _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	GError * _inner_error_;
};

struct _BoxesCheckModuleKvmLoadedData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	gboolean result;
	gboolean _result_;
	GFile* _tmp0_;
	GFile* file;
	GFile* _tmp1_;
	GFileInputStream* _tmp2_;
	GFileInputStream* _tmp3_;
	GFileInputStream* _tmp4_;
	GDataInputStream* _tmp5_;
	GDataInputStream* _tmp6_;
	GDataInputStream* stream;
	gchar* line;
	GDataInputStream* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	const gchar* _tmp10_;
	const gchar* _tmp11_;
	gboolean _tmp12_;
	gboolean _tmp13_;
	GError* _error_;
	const gchar* _tmp14_;
	gboolean _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	GError * _inner_error_;
};

struct _BoxesCheckStoragePoolData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	gchar* diagnosis;
	gboolean result;
	gchar* pool_path;
	gchar* _tmp0_;
	gchar* standard_output;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar** _tmp4_;
	gchar** argv;
	gint argv_length1;
	gint _argv_size_;
	gchar** _tmp5_;
	gint _tmp5__length1;
	gchar* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	GError* _error_;
	GError* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	gchar* _tmp13_;
	const gchar* _tmp14_;
	gboolean _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	gchar* _tmp18_;
	const gchar* _tmp19_;
	gboolean _tmp20_;
	const gchar* _tmp21_;
	const gchar* _tmp22_;
	gchar* _tmp23_;
	const gchar* _tmp24_;
	gint _tmp25_;
	const gchar* _tmp26_;
	const gchar* _tmp27_;
	gchar* _tmp28_;
	GError * _inner_error_;
};

struct _Block64Data {
	int _ref_count_;
	GtkWidget* widget;
};

struct _BoxesCopyFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GFile* src_file;
	GFile* dest_file;
	GCancellable* cancellable;
	GFile* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	GFile* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	GFile* _tmp6_;
	GFile* _tmp7_;
	GCancellable* _tmp8_;
	GFile* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	GFile* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	GError* _error_;
	GError * _inner_error_;
};

typedef enum  {
	BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE = -1,
	BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL = 0,
	BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE = 1,
	BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE = 2
} BoxesCPUArchCompatibility;


extern BoxesApp* boxes_app_app;

void boxes_gdk_rgba_to_clutter_color (GdkRGBA* gdk_rgba, ClutterColor* result);
void boxes_get_boxes_bg_color (GdkRGBA* result);
void boxes_get_color (const gchar* desc, GdkRGBA* result);
void boxes_tree_view_activate_on_single_click (GtkTreeView* tree_view, gboolean should_activate);
static Block61Data* block61_data_ref (Block61Data* _data61_);
static void block61_data_unref (void * _userdata_);
static gboolean ____lambda70_ (Block61Data* _data61_, GtkWidget* w, GdkEventButton* event);
static gboolean _____lambda70__gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self);
void boxes_icon_view_activate_on_single_click (GtkIconView* icon_view, gboolean should_activate);
static Block62Data* block62_data_ref (Block62Data* _data62_);
static void block62_data_unref (void * _userdata_);
static gboolean ____lambda222_ (Block62Data* _data62_, GtkWidget* w, GdkEventButton* event);
static gboolean _____lambda222__gtk_widget_button_release_event (GtkWidget* _sender, GdkEventButton* event, gpointer self);
gchar* boxes_extract_xpath (const gchar* xmldoc, const gchar* xpath, gboolean required, GError** error);
void boxes_allocate_actor_no_animation (ClutterActor* actor, gfloat x, gfloat y, gfloat width, gfloat height);
void boxes_fade_actor (ClutterActor* actor, guint opacity);
static Block63Data* block63_data_ref (Block63Data* _data63_);
static void block63_data_unref (void * _userdata_);
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_app_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_empty_boxes_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;
static void __lambda56_ (Block63Data* _data63_);
static void ___lambda56__clutter_timeline_completed (ClutterTimeline* _sender, gpointer self);
void boxes_actor_add (ClutterActor* actor, ClutterActor* container);
void boxes_actor_remove (ClutterActor* actor);
OsinfoDevice* boxes_find_device_by_prop (OsinfoDeviceList* devices, const gchar* prop_name, const gchar* prop_value);
GtkImage* boxes_get_os_logo (OsinfoOs* os, gint size);
void boxes_fetch_os_logo (GtkImage* image, OsinfoOs* os, gint size);
gchar* boxes_get_logo_path (OsinfoOs* os, gchar** extensions, int extensions_length1);
GVirStoragePool* boxes_get_storage_pool (GVirConnection* connection);
GVirStorageVol* boxes_get_storage_volume (GVirConnection* connection, GVirDomain* domain);
static void boxes_check_selinux_context_default_data_free (gpointer _data);
void boxes_check_selinux_context_default (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_selinux_context_default_finish (GAsyncResult* _res_, gchar** diagnosis);
static gboolean boxes_check_selinux_context_default_co (BoxesCheckSelinuxContextDefaultData* _data_);
static void boxes_check_selinux_context_default_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_check_libvirt_kvm_data_free (gpointer _data);
void boxes_check_libvirt_kvm (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_libvirt_kvm_finish (GAsyncResult* _res_);
static gboolean boxes_check_libvirt_kvm_co (BoxesCheckLibvirtKvmData* _data_);
static void boxes_check_libvirt_kvm_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_check_cpu_vt_capability_data_free (gpointer _data);
void boxes_check_cpu_vt_capability (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_cpu_vt_capability_finish (GAsyncResult* _res_);
static gboolean boxes_check_cpu_vt_capability_co (BoxesCheckCpuVtCapabilityData* _data_);
static void boxes_check_cpu_vt_capability_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_check_module_kvm_loaded_data_free (gpointer _data);
void boxes_check_module_kvm_loaded (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_module_kvm_loaded_finish (GAsyncResult* _res_);
static gboolean boxes_check_module_kvm_loaded_co (BoxesCheckModuleKvmLoadedData* _data_);
static void boxes_check_module_kvm_loaded_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_check_storage_pool_data_free (gpointer _data);
void boxes_check_storage_pool (GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean boxes_check_storage_pool_finish (GAsyncResult* _res_, gchar** diagnosis);
static gboolean boxes_check_storage_pool_co (BoxesCheckStoragePoolData* _data_);
static void boxes_check_storage_pool_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GdkPixbuf* boxes_remove_alpha (GdkPixbuf* pixbuf);
static guint8* _vala_array_dup5 (guint8* self, int length);
void boxes_draw_as_css_box (GtkWidget* widget);
static Block64Data* block64_data_ref (Block64Data* _data64_);
static void block64_data_unref (void * _userdata_);
static gboolean __lambda177_ (Block64Data* _data64_, cairo_t* cr);
static gboolean ___lambda177__gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self);
static void boxes_copy_file_data_free (gpointer _data);
void boxes_copy_file (GFile* src_file, GFile* dest_file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_copy_file_finish (GAsyncResult* _res_, GError** error);
static gboolean boxes_copy_file_co (BoxesCopyFileData* _data_);
static void boxes_copy_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GType boxes_cpu_arch_compatibility_get_type (void) G_GNUC_CONST;
BoxesCPUArchCompatibility boxes_compare_cpu_architectures (const gchar* arch1, const gchar* arch2);
void uuid_generate (guchar* uuid);
void uuid_unparse (guchar* uuid, guchar* output);
gchar* boxes_uuid_generate (void);
GIcon* boxes_create_symbolic_emblem (const gchar* name);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);

static GRegex* _tmp_regex_0 = NULL;
static GRegex* _tmp_regex_1 = NULL;

void boxes_gdk_rgba_to_clutter_color (GdkRGBA* gdk_rgba, ClutterColor* result) {
	GdkRGBA _tmp0_;
	gdouble _tmp1_;
	gdouble _tmp2_ = 0.0;
	GdkRGBA _tmp3_;
	gdouble _tmp4_;
	gdouble _tmp5_ = 0.0;
	GdkRGBA _tmp6_;
	gdouble _tmp7_;
	gdouble _tmp8_ = 0.0;
	GdkRGBA _tmp9_;
	gdouble _tmp10_;
	gdouble _tmp11_ = 0.0;
	ClutterColor _tmp12_ = {0};
	ClutterColor color;
#line 7 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (gdk_rgba != NULL);
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = *gdk_rgba;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _tmp0_.red;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = CLAMP (_tmp1_ * 255, (gdouble) 0, (gdouble) 255);
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = *gdk_rgba;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = _tmp3_.green;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = CLAMP (_tmp4_ * 255, (gdouble) 0, (gdouble) 255);
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = *gdk_rgba;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = _tmp6_.blue;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = CLAMP (_tmp7_ * 255, (gdouble) 0, (gdouble) 255);
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_ = *gdk_rgba;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp10_ = _tmp9_.alpha;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp11_ = CLAMP (_tmp10_ * 255, (gdouble) 0, (gdouble) 255);
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_.red = (guint8) _tmp2_;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_.green = (guint8) _tmp5_;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_.blue = (guint8) _tmp8_;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_.alpha = (guint8) _tmp11_;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	color = _tmp12_;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	*result = color;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return;
#line 661 "util-app.c"
}


void boxes_get_boxes_bg_color (GdkRGBA* result) {
	GtkStyleContext* _tmp0_;
	GtkStyleContext* style;
	GtkWidgetPath* _tmp1_;
	GtkWidgetPath* path;
	GdkRGBA _tmp2_ = {0};
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = gtk_style_context_new ();
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	style = _tmp0_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = gtk_widget_path_new ();
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	path = _tmp1_;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_widget_path_append_type (path, GTK_TYPE_WINDOW);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_style_context_set_path (style, path);
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_style_context_add_class (style, "boxes-bg");
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_style_context_get_background_color (style, 0, &_tmp2_);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	*result = _tmp2_;
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_gtk_widget_path_unref0 (path);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (style);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return;
#line 695 "util-app.c"
}


void boxes_get_color (const gchar* desc, GdkRGBA* result) {
	GdkRGBA color = {0};
	const gchar* _tmp0_;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (desc != NULL);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	memset (&color, 0, sizeof (GdkRGBA));
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = desc;
#line 29 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gdk_rgba_parse (&color, _tmp0_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	*result = color;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return;
#line 714 "util-app.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return self ? g_object_ref (self) : NULL;
#line 721 "util-app.c"
}


static Block61Data* block61_data_ref (Block61Data* _data61_) {
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_atomic_int_inc (&_data61_->_ref_count_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return _data61_;
#line 730 "util-app.c"
}


static void block61_data_unref (void * _userdata_) {
	Block61Data* _data61_;
	_data61_ = (Block61Data*) _userdata_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (g_atomic_int_dec_and_test (&_data61_->_ref_count_)) {
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data61_->tree_view);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_slice_free (Block61Data, _data61_);
#line 743 "util-app.c"
	}
}


static gboolean ____lambda70_ (Block61Data* _data61_, GtkWidget* w, GdkEventButton* event) {
	gboolean result = FALSE;
	GtkTreePath* path = NULL;
	GtkTreeViewColumn* column = NULL;
	gint x = 0;
	gint y = 0;
	gboolean _tmp0_ = FALSE;
	GdkEventButton _tmp1_;
	guint _tmp2_;
	gboolean _tmp5_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = *event;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = _tmp1_.button;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp2_ == ((guint) 1)) {
#line 768 "util-app.c"
		GdkEventButton _tmp3_;
		GdkEventType _tmp4_;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp3_ = *event;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = _tmp3_.type;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp0_ = _tmp4_ == GDK_BUTTON_PRESS;
#line 777 "util-app.c"
	} else {
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp0_ = FALSE;
#line 781 "util-app.c"
	}
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = _tmp0_;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp5_) {
#line 787 "util-app.c"
		GtkTreeView* _tmp6_;
		GdkEventButton _tmp7_;
		gdouble _tmp8_;
		GdkEventButton _tmp9_;
		gdouble _tmp10_;
		GtkTreePath* _tmp11_ = NULL;
		GtkTreeViewColumn* _tmp12_ = NULL;
		gint _tmp13_ = 0;
		gint _tmp14_ = 0;
		GtkTreePath* _tmp15_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp6_ = _data61_->tree_view;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp7_ = *event;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp8_ = _tmp7_.x;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp9_ = *event;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp10_ = _tmp9_.y;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		gtk_tree_view_get_path_at_pos (_tmp6_, (gint) _tmp8_, (gint) _tmp10_, &_tmp11_, &_tmp12_, &_tmp13_, &_tmp14_);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_gtk_tree_path_free0 (path);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		path = _tmp11_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		column = _tmp12_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		x = _tmp13_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		y = _tmp14_;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp15_ = path;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_tmp15_ != NULL) {
#line 824 "util-app.c"
			GtkTreeView* _tmp16_;
			GtkTreePath* _tmp17_;
			GtkTreeViewColumn* _tmp18_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp16_ = _data61_->tree_view;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp17_ = path;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp18_ = column;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			gtk_tree_view_row_activated (_tmp16_, _tmp17_, _tmp18_);
#line 836 "util-app.c"
		}
	}
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = FALSE;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_gtk_tree_path_free0 (path);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 845 "util-app.c"
}


static gboolean _____lambda70__gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
	gboolean result;
	result = ____lambda70_ (self, _sender, event);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 854 "util-app.c"
}


void boxes_tree_view_activate_on_single_click (GtkTreeView* tree_view, gboolean should_activate) {
	Block61Data* _data61_;
	GtkTreeView* _tmp0_;
	GtkTreeView* _tmp1_;
	GtkTreeView* _tmp2_;
	gconstpointer _tmp3_ = NULL;
	gulong id;
	gboolean _tmp4_ = FALSE;
	gulong _tmp5_;
	gboolean _tmp7_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (tree_view != NULL);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data61_ = g_slice_new0 (Block61Data);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data61_->_ref_count_ = 1;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = tree_view;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data61_->tree_view);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data61_->tree_view = _tmp1_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = _data61_->tree_view;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = g_object_get_data ((GObject*) _tmp2_, "boxes-tree-view-activate");
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	id = (gulong) ((guintptr) _tmp3_);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = id;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp5_ != ((gulong) 0)) {
#line 892 "util-app.c"
		gboolean _tmp6_;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp6_ = should_activate;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = _tmp6_ == FALSE;
#line 898 "util-app.c"
	} else {
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = FALSE;
#line 902 "util-app.c"
	}
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = _tmp4_;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp7_) {
#line 908 "util-app.c"
		GtkTreeView* _tmp8_;
		gulong _tmp9_;
		GtkTreeView* _tmp10_;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp8_ = _data61_->tree_view;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp9_ = id;
#line 37 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_signal_handler_disconnect ((GObject*) _tmp8_, _tmp9_);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp10_ = _data61_->tree_view;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_set_data_full ((GObject*) _tmp10_, "boxes-tree-view-activate", (gpointer) ((guintptr) ((gulong) 0)), NULL);
#line 922 "util-app.c"
	} else {
		gboolean _tmp11_ = FALSE;
		gulong _tmp12_;
		gboolean _tmp14_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp12_ = id;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_tmp12_ == ((gulong) 0)) {
#line 931 "util-app.c"
			gboolean _tmp13_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp13_ = should_activate;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp11_ = _tmp13_;
#line 937 "util-app.c"
		} else {
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp11_ = FALSE;
#line 941 "util-app.c"
		}
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp14_ = _tmp11_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_tmp14_) {
#line 947 "util-app.c"
			GtkTreeView* _tmp15_;
			gulong _tmp16_ = 0UL;
			GtkTreeView* _tmp17_;
			gulong _tmp18_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp15_ = _data61_->tree_view;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp16_ = g_signal_connect_data ((GtkWidget*) _tmp15_, "button-press-event", (GCallback) _____lambda70__gtk_widget_button_press_event, block61_data_ref (_data61_), (GClosureNotify) block61_data_unref, 0);
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			id = _tmp16_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp17_ = _data61_->tree_view;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp18_ = id;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_object_set_data_full ((GObject*) _tmp17_, "boxes-tree-view-activate", (gpointer) ((guintptr) _tmp18_), NULL);
#line 964 "util-app.c"
		}
	}
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	block61_data_unref (_data61_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data61_ = NULL;
#line 971 "util-app.c"
}


static Block62Data* block62_data_ref (Block62Data* _data62_) {
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_atomic_int_inc (&_data62_->_ref_count_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return _data62_;
#line 980 "util-app.c"
}


static void block62_data_unref (void * _userdata_) {
	Block62Data* _data62_;
	_data62_ = (Block62Data*) _userdata_;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (g_atomic_int_dec_and_test (&_data62_->_ref_count_)) {
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data62_->icon_view);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_slice_free (Block62Data, _data62_);
#line 993 "util-app.c"
	}
}


static gpointer _gtk_tree_path_copy0 (gpointer self) {
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return self ? gtk_tree_path_copy (self) : NULL;
#line 1001 "util-app.c"
}


static gboolean ____lambda222_ (Block62Data* _data62_, GtkWidget* w, GdkEventButton* event) {
	gboolean result = FALSE;
	GtkTreePath* path = NULL;
	GdkEventButton _tmp0_;
	guint _tmp1_;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (w != NULL, FALSE);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = *event;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _tmp0_.button;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp1_ == ((guint) 1)) {
#line 1020 "util-app.c"
		GtkIconView* _tmp2_;
		GdkEventButton _tmp3_;
		gdouble _tmp4_;
		GdkEventButton _tmp5_;
		gdouble _tmp6_;
		GtkTreePath* _tmp7_ = NULL;
		GtkTreePath* _tmp8_;
		GtkTreePath* _tmp9_;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp2_ = _data62_->icon_view;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp3_ = *event;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = _tmp3_.x;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp5_ = *event;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp6_ = _tmp5_.y;
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp7_ = gtk_icon_view_get_path_at_pos (_tmp2_, (gint) _tmp4_, (gint) _tmp6_);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp8_ = _gtk_tree_path_copy0 (_tmp7_);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_gtk_tree_path_free0 (path);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		path = _tmp8_;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp9_ = path;
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_tmp9_ != NULL) {
#line 1051 "util-app.c"
			GtkIconView* _tmp10_;
			GtkTreePath* _tmp11_;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp10_ = _data62_->icon_view;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp11_ = path;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			gtk_icon_view_item_activated (_tmp10_, _tmp11_);
#line 1060 "util-app.c"
		}
	}
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = FALSE;
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_gtk_tree_path_free0 (path);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 1069 "util-app.c"
}


static gboolean _____lambda222__gtk_widget_button_release_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
	gboolean result;
	result = ____lambda222_ (self, _sender, event);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 1078 "util-app.c"
}


void boxes_icon_view_activate_on_single_click (GtkIconView* icon_view, gboolean should_activate) {
	Block62Data* _data62_;
	GtkIconView* _tmp0_;
	GtkIconView* _tmp1_;
	GtkIconView* _tmp2_;
	gconstpointer _tmp3_ = NULL;
	gulong id;
	gboolean _tmp4_ = FALSE;
	gulong _tmp5_;
	gboolean _tmp7_;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (icon_view != NULL);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data62_ = g_slice_new0 (Block62Data);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data62_->_ref_count_ = 1;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = icon_view;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data62_->icon_view);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data62_->icon_view = _tmp1_;
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = _data62_->icon_view;
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = g_object_get_data ((GObject*) _tmp2_, "boxes-icon-view-activate");
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	id = (gulong) ((guintptr) _tmp3_);
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = id;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp5_ != ((gulong) 0)) {
#line 1116 "util-app.c"
		gboolean _tmp6_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp6_ = should_activate;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = _tmp6_ == FALSE;
#line 1122 "util-app.c"
	} else {
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = FALSE;
#line 1126 "util-app.c"
	}
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = _tmp4_;
#line 60 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp7_) {
#line 1132 "util-app.c"
		GtkIconView* _tmp8_;
		gulong _tmp9_;
		GtkIconView* _tmp10_;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp8_ = _data62_->icon_view;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp9_ = id;
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_signal_handler_disconnect ((GObject*) _tmp8_, _tmp9_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp10_ = _data62_->icon_view;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_set_data_full ((GObject*) _tmp10_, "boxes-icon-view-activate", (gpointer) ((guintptr) ((gulong) 0)), NULL);
#line 1146 "util-app.c"
	} else {
		gboolean _tmp11_ = FALSE;
		gulong _tmp12_;
		gboolean _tmp14_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp12_ = id;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_tmp12_ == ((gulong) 0)) {
#line 1155 "util-app.c"
			gboolean _tmp13_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp13_ = should_activate;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp11_ = _tmp13_;
#line 1161 "util-app.c"
		} else {
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp11_ = FALSE;
#line 1165 "util-app.c"
		}
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp14_ = _tmp11_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_tmp14_) {
#line 1171 "util-app.c"
			GtkIconView* _tmp15_;
			gulong _tmp16_ = 0UL;
			GtkIconView* _tmp17_;
			gulong _tmp18_;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp15_ = _data62_->icon_view;
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp16_ = g_signal_connect_data ((GtkWidget*) _tmp15_, "button-release-event", (GCallback) _____lambda222__gtk_widget_button_release_event, block62_data_ref (_data62_), (GClosureNotify) block62_data_unref, 0);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			id = _tmp16_;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp17_ = _data62_->icon_view;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp18_ = id;
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_object_set_data_full ((GObject*) _tmp17_, "boxes-icon-view-activate", (gpointer) ((guintptr) _tmp18_), NULL);
#line 1188 "util-app.c"
		}
	}
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	block62_data_unref (_data62_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data62_ = NULL;
#line 1195 "util-app.c"
}


gchar* boxes_extract_xpath (const gchar* xmldoc, const gchar* xpath, gboolean required, GError** error) {
	gchar* result = NULL;
	xmlParserCtxt* _tmp0_;
	xmlParserCtxt* parser;
	xmlParserCtxt* _tmp1_;
	const gchar* _tmp2_;
	xmlDoc* _tmp3_ = NULL;
	xmlDoc* doc;
	xmlDoc* _tmp4_;
	xmlDoc* _tmp6_;
	xmlXPathContext* _tmp7_;
	xmlXPathContext* ctxt;
	xmlXPathContext* _tmp8_;
	const gchar* _tmp9_;
	xmlXPathObject* _tmp10_ = NULL;
	xmlXPathObject* obj;
	gboolean _tmp11_ = FALSE;
	xmlXPathObject* _tmp12_;
	gboolean _tmp15_;
	xmlXPathObject* _tmp22_;
	xmlXPathObjectType _tmp23_;
	xmlXPathObject* _tmp29_;
	const gchar* _tmp30_;
	gchar* _tmp31_;
	GError * _inner_error_ = NULL;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (xmldoc != NULL, NULL);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (xpath != NULL, NULL);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = xmlNewParserCtxt ();
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	parser = _tmp0_;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = parser;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = xmldoc;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = xmlCtxtReadDoc (_tmp1_, _tmp2_, "doc.xml", NULL, 0);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	doc = _tmp3_;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = doc;
#line 83 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp4_ == NULL) {
#line 1244 "util-app.c"
		GError* _tmp5_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp5_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Can't parse XML doc");
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_inner_error_ = _tmp5_;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_propagate_error (error, _inner_error_);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlFreeParserCtxt0 (parser);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return NULL;
#line 1258 "util-app.c"
		} else {
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlFreeParserCtxt0 (parser);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.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 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_clear_error (&_inner_error_);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return NULL;
#line 1268 "util-app.c"
		}
	}
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = doc;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = xmlXPathNewContext (_tmp6_);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	ctxt = _tmp7_;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = ctxt;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_ = xpath;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp10_ = xmlXPathEval (_tmp9_, _tmp8_);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	obj = _tmp10_;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_ = obj;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp12_ == NULL) {
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp11_ = TRUE;
#line 1291 "util-app.c"
	} else {
		xmlXPathObject* _tmp13_;
		const gchar* _tmp14_;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp13_ = obj;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp14_ = _tmp13_->stringval;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp11_ = _tmp14_ == NULL;
#line 1301 "util-app.c"
	}
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp15_ = _tmp11_;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp15_) {
#line 1307 "util-app.c"
		gboolean _tmp16_;
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp16_ = required;
#line 89 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_tmp16_) {
#line 1313 "util-app.c"
			const gchar* _tmp17_;
			gchar* _tmp18_;
			gchar* _tmp19_;
			GError* _tmp20_;
			GError* _tmp21_;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp17_ = xpath;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp18_ = g_strconcat ("Failed to extract xpath ", _tmp17_, NULL);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp19_ = _tmp18_;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp20_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _tmp19_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp21_ = _tmp20_;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_tmp19_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_inner_error_ = _tmp21_;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (_inner_error_->domain == BOXES_ERROR) {
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				g_propagate_error (error, _inner_error_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_xmlXPathFreeContext0 (ctxt);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_xmlFreeParserCtxt0 (parser);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				return NULL;
#line 1343 "util-app.c"
			} else {
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_xmlXPathFreeContext0 (ctxt);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_xmlFreeParserCtxt0 (parser);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.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 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				g_clear_error (&_inner_error_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				return NULL;
#line 1355 "util-app.c"
			}
		} else {
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			result = NULL;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlXPathFreeContext0 (ctxt);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlFreeParserCtxt0 (parser);
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return result;
#line 1366 "util-app.c"
		}
	}
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp22_ = obj;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp23_ = _tmp22_->type;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp23_ != XPATH_STRING) {
#line 1375 "util-app.c"
		const gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
		GError* _tmp27_;
		GError* _tmp28_;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp24_ = xpath;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp25_ = g_strconcat ("Failed to extract xpath ", _tmp24_, NULL);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp26_ = _tmp25_;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp27_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, _tmp26_);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp28_ = _tmp27_;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_tmp26_);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_inner_error_ = _tmp28_;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_propagate_error (error, _inner_error_);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlXPathFreeContext0 (ctxt);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlFreeParserCtxt0 (parser);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return NULL;
#line 1405 "util-app.c"
		} else {
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlXPathFreeContext0 (ctxt);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_xmlFreeParserCtxt0 (parser);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.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 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_clear_error (&_inner_error_);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return NULL;
#line 1417 "util-app.c"
		}
	}
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp29_ = obj;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp30_ = _tmp29_->stringval;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp31_ = g_strdup (_tmp30_);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = _tmp31_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_xmlXPathFreeContext0 (ctxt);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_xmlFreeParserCtxt0 (parser);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 1434 "util-app.c"
}


void boxes_allocate_actor_no_animation (ClutterActor* actor, gfloat x, gfloat y, gfloat width, gfloat height) {
	ClutterActor* _tmp0_;
	guint _tmp1_ = 0U;
	guint old_duration;
	ClutterActor* _tmp2_;
	gfloat _tmp3_;
	gfloat _tmp4_;
	gfloat _tmp5_;
	gfloat _tmp6_;
	gfloat _tmp7_;
	gfloat _tmp8_;
	ClutterActorBox _tmp9_ = {0};
	ClutterActorBox box;
	ClutterActor* _tmp10_;
	ClutterActorBox _tmp11_;
	ClutterActor* _tmp12_;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (actor != NULL);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = actor;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = clutter_actor_get_easing_duration (_tmp0_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	old_duration = _tmp1_;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = actor;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_set_easing_duration (_tmp2_, (guint) 0);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = x;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = y;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = x;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = width;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = y;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = height;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_.x1 = _tmp3_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_.y1 = _tmp4_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_.x2 = _tmp5_ + _tmp6_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_.y2 = _tmp7_ + _tmp8_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	box = _tmp9_;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp10_ = actor;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp11_ = box;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_allocate (_tmp10_, &_tmp11_, 0);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_ = actor;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_set_easing_duration (_tmp12_, old_duration);
#line 1498 "util-app.c"
}


static Block63Data* block63_data_ref (Block63Data* _data63_) {
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_atomic_int_inc (&_data63_->_ref_count_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return _data63_;
#line 1507 "util-app.c"
}


static void block63_data_unref (void * _userdata_) {
	Block63Data* _data63_;
	_data63_ = (Block63Data*) _userdata_;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (g_atomic_int_dec_and_test (&_data63_->_ref_count_)) {
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data63_->actor);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_slice_free (Block63Data, _data63_);
#line 1520 "util-app.c"
	}
}


static void __lambda56_ (Block63Data* _data63_) {
	ClutterActor* _tmp0_;
	ClutterActor* _tmp1_;
	guint _tmp2_;
	guint _tmp3_;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = _data63_->actor;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _data63_->actor;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = clutter_actor_get_opacity (_tmp1_);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = _tmp2_;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_set (_tmp0_, "visible", _tmp3_ != ((guint) 0), NULL);
#line 1540 "util-app.c"
}


static void ___lambda56__clutter_timeline_completed (ClutterTimeline* _sender, gpointer self) {
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	__lambda56_ (self);
#line 1547 "util-app.c"
}


void boxes_fade_actor (ClutterActor* actor, guint opacity) {
	Block63Data* _data63_;
	ClutterActor* _tmp0_;
	ClutterActor* _tmp1_;
	guint _tmp2_;
	ClutterActor* _tmp4_;
	guint _tmp5_;
	ClutterActor* _tmp6_;
	ClutterActor* _tmp7_;
	ClutterActor* _tmp8_;
	BoxesApp* _tmp9_;
	guint _tmp10_;
	ClutterActor* _tmp11_;
	guint _tmp12_;
	ClutterActor* _tmp13_;
	ClutterTransition* _tmp14_ = NULL;
	ClutterTransition* _tmp15_;
	ClutterTransition* t;
	ClutterActor* _tmp16_;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (actor != NULL);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data63_ = g_slice_new0 (Block63Data);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data63_->_ref_count_ = 1;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = actor;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data63_->actor);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data63_->actor = _tmp1_;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = opacity;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp2_ != ((guint) 0)) {
#line 1588 "util-app.c"
		ClutterActor* _tmp3_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp3_ = _data63_->actor;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		clutter_actor_show (_tmp3_);
#line 1594 "util-app.c"
	}
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = _data63_->actor;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = opacity;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_set_reactive (_tmp4_, _tmp5_ == ((guint) 255));
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = _data63_->actor;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_save_easing_state (_tmp6_);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = _data63_->actor;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_set_easing_mode (_tmp7_, CLUTTER_EASE_OUT_QUAD);
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = _data63_->actor;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_ = boxes_app_app;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp10_ = _tmp9_->duration;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_set_easing_duration (_tmp8_, _tmp10_);
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp11_ = _data63_->actor;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_ = opacity;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_set_opacity (_tmp11_, _tmp12_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp13_ = _data63_->actor;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp14_ = clutter_actor_get_transition (_tmp13_, "opacity");
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp15_ = _g_object_ref0 (_tmp14_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	t = _tmp15_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_signal_connect_data ((ClutterTimeline*) t, "completed", (GCallback) ___lambda56__clutter_timeline_completed, block63_data_ref (_data63_), (GClosureNotify) block63_data_unref, 0);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp16_ = _data63_->actor;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_restore_easing_state (_tmp16_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (t);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	block63_data_unref (_data63_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data63_ = NULL;
#line 1644 "util-app.c"
}


void boxes_actor_add (ClutterActor* actor, ClutterActor* container) {
	ClutterActor* _tmp0_;
	ClutterActor* _tmp1_ = NULL;
	ClutterActor* _tmp2_;
	ClutterActor* _tmp3_;
	ClutterActor* _tmp4_;
	ClutterActor* _tmp5_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (actor != NULL);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (container != NULL);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = actor;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = clutter_actor_get_parent (_tmp0_);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = container;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp1_ == _tmp2_) {
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return;
#line 1669 "util-app.c"
	}
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = actor;
#line 134 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	boxes_actor_remove (_tmp3_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = container;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = actor;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_add_child (_tmp4_, _tmp5_);
#line 1681 "util-app.c"
}


void boxes_actor_remove (ClutterActor* actor) {
	ClutterActor* _tmp0_;
	ClutterActor* _tmp1_ = NULL;
	ClutterActor* _tmp2_;
	ClutterActor* container;
	ClutterActor* _tmp3_;
	ClutterActor* _tmp4_;
	ClutterActor* _tmp5_;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (actor != NULL);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = actor;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = clutter_actor_get_parent (_tmp0_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	container = _tmp2_;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = container;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp3_ == NULL) {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (container);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return;
#line 1711 "util-app.c"
	}
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = container;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = actor;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	clutter_actor_remove_child (_tmp4_, _tmp5_);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (container);
#line 1721 "util-app.c"
}


OsinfoDevice* boxes_find_device_by_prop (OsinfoDeviceList* devices, const gchar* prop_name, const gchar* prop_value) {
	OsinfoDevice* result = NULL;
	OsinfoFilter* _tmp0_;
	OsinfoFilter* filter;
	OsinfoFilter* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	OsinfoDeviceList* _tmp4_;
	OsinfoFilter* _tmp5_;
	OsinfoList* _tmp6_ = NULL;
	OsinfoList* filtered;
	OsinfoList* _tmp7_;
	gint _tmp8_ = 0;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (devices != NULL, NULL);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (prop_name != NULL, NULL);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (prop_value != NULL, NULL);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = osinfo_filter_new ();
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	filter = _tmp0_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = filter;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = prop_name;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = prop_value;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	osinfo_filter_add_constraint (_tmp1_, _tmp2_, _tmp3_);
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = devices;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = filter;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = osinfo_list_new_filtered (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, osinfo_list_get_type ()) ? ((OsinfoList*) _tmp4_) : NULL, _tmp5_);
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	filtered = _tmp6_;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = filtered;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = osinfo_list_get_length (_tmp7_);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp8_ > 0) {
#line 1770 "util-app.c"
		OsinfoList* _tmp9_;
		OsinfoEntity* _tmp10_ = NULL;
		OsinfoDevice* _tmp11_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp9_ = filtered;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp10_ = osinfo_list_get_nth (_tmp9_, 0);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, osinfo_device_get_type ()) ? ((OsinfoDevice*) _tmp10_) : NULL);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		result = _tmp11_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (filtered);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (filter);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return result;
#line 1788 "util-app.c"
	} else {
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		result = NULL;
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (filtered);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (filter);
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return result;
#line 1798 "util-app.c"
	}
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (filtered);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (filter);
#line 1804 "util-app.c"
}


GtkImage* boxes_get_os_logo (OsinfoOs* os, gint size) {
	GtkImage* result = NULL;
	GtkImage* _tmp0_;
	GtkImage* image;
	GtkImage* _tmp1_;
	gint _tmp2_;
	OsinfoOs* _tmp3_;
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = (GtkImage*) gtk_image_new_from_icon_name ("media-optical", 0);
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_ref_sink (_tmp0_);
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	image = _tmp0_;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = image;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = size;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_image_set_pixel_size (_tmp1_, _tmp2_);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = os;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp3_ != NULL) {
#line 1831 "util-app.c"
		GtkImage* _tmp4_;
		OsinfoOs* _tmp5_;
		gint _tmp6_;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = image;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp5_ = os;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp6_ = size;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		boxes_fetch_os_logo (_tmp4_, _tmp5_, _tmp6_);
#line 1843 "util-app.c"
	}
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = image;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 1849 "util-app.c"
}


void boxes_fetch_os_logo (GtkImage* image, OsinfoOs* os, gint size) {
	OsinfoOs* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar** _tmp4_ = NULL;
	gchar** _tmp5_;
	gint _tmp5__length1;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_;
	gchar* path;
	const gchar* _tmp8_;
	GError * _inner_error_ = NULL;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (image != NULL);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (os != NULL);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = os;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = g_strdup (".svg");
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = g_strdup (".png");
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = g_strdup (".jpg");
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = g_new0 (gchar*, 3 + 1);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_[0] = _tmp1_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_[1] = _tmp2_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_[2] = _tmp3_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = _tmp4_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5__length1 = 3;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = boxes_get_logo_path (_tmp0_, _tmp5_, 3);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = _tmp6_;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	path = _tmp7_;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = path;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp8_ == NULL) {
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (path);
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return;
#line 1906 "util-app.c"
	}
	{
		const gchar* _tmp9_;
		gint _tmp10_;
		GdkPixbuf* _tmp11_;
		GdkPixbuf* pixbuf;
		GtkImage* _tmp12_;
		GdkPixbuf* _tmp13_;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp9_ = path;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp10_ = size;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp11_ = gdk_pixbuf_new_from_file_at_size (_tmp9_, _tmp10_, -1, &_inner_error_);
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		pixbuf = _tmp11_;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_inner_error_ != NULL) {
#line 1925 "util-app.c"
			goto __catch80_g_error;
		}
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp12_ = image;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp13_ = pixbuf;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		gtk_image_set_from_pixbuf (_tmp12_, _tmp13_);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (pixbuf);
#line 1936 "util-app.c"
	}
	goto __finally80;
	__catch80_g_error:
	{
		GError* _error_ = NULL;
		const gchar* _tmp14_;
		GError* _tmp15_;
		const gchar* _tmp16_;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_error_ = _inner_error_;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_inner_error_ = NULL;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp14_ = path;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp15_ = _error_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp16_ = _tmp15_->message;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_warning ("util-app.vala:178: Error loading logo file '%s': %s", _tmp14_, _tmp16_);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_error_);
#line 1959 "util-app.c"
	}
	__finally80:
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_inner_error_ != NULL) {
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (path);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.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 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_clear_error (&_inner_error_);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return;
#line 1972 "util-app.c"
	}
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (path);
#line 1976 "util-app.c"
}


GVirStoragePool* boxes_get_storage_pool (GVirConnection* connection) {
	GVirStoragePool* result = NULL;
	GVirConnection* _tmp0_;
	GVirStoragePool* _tmp1_ = NULL;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (connection != NULL, NULL);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = connection;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = gvir_connection_find_storage_pool_by_name (_tmp0_, PACKAGE_TARNAME);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = _tmp1_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 1994 "util-app.c"
}


GVirStorageVol* boxes_get_storage_volume (GVirConnection* connection, GVirDomain* domain) {
	GVirStorageVol* result = NULL;
	GVirConnection* _tmp0_;
	GVirStoragePool* _tmp1_ = NULL;
	GVirStoragePool* pool;
	GVirStoragePool* _tmp2_;
	GVirStoragePool* _tmp3_;
	GVirDomain* _tmp4_;
	const gchar* _tmp5_ = NULL;
	GVirStorageVol* _tmp6_ = NULL;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (connection != NULL, NULL);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (domain != NULL, NULL);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = connection;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = boxes_get_storage_pool (_tmp0_);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	pool = _tmp1_;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = pool;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp2_ == NULL) {
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		result = NULL;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (pool);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return result;
#line 2028 "util-app.c"
	}
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = pool;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = domain;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = gvir_domain_get_name (_tmp4_);
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = gvir_storage_pool_get_volume (_tmp3_, _tmp5_);
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = _tmp6_;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (pool);
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 2044 "util-app.c"
}


gchar* boxes_get_logo_path (OsinfoOs* os, gchar** extensions, int extensions_length1) {
	gchar* result = NULL;
	gchar** _tmp0_;
	gint _tmp0__length1;
	OsinfoOs* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar** _tmp4_;
	gint _tmp4__length1;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_;
	gchar* path;
	const gchar* _tmp10_;
	GFile* _tmp11_ = NULL;
	GFile* file;
	GFile* _tmp12_;
	gboolean _tmp13_ = FALSE;
	GFile* _tmp24_;
	gboolean _tmp25_ = FALSE;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (os != NULL, NULL);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = extensions;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0__length1 = extensions_length1;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp0__length1 == 0) {
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		result = NULL;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return result;
#line 2082 "util-app.c"
	}
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = os;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = osinfo_product_get_short_id ((OsinfoProduct*) _tmp1_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = _tmp2_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4_ = extensions;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp4__length1 = extensions_length1;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = _tmp4_[0];
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = g_strconcat (_tmp3_, _tmp5_, NULL);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = _tmp6_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = boxes_get_pixmap (_tmp7_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_ = _tmp8_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_tmp7_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	path = _tmp9_;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp10_ = path;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp11_ = g_file_new_for_path (_tmp10_);
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	file = _tmp11_;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_ = file;
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp13_ = g_file_query_exists (_tmp12_, NULL);
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (!_tmp13_) {
#line 2120 "util-app.c"
		OsinfoOs* _tmp14_;
		const gchar* _tmp15_;
		const gchar* _tmp16_;
		gchar** _tmp17_;
		gint _tmp17__length1;
		const gchar* _tmp18_;
		gchar* _tmp19_;
		gchar* _tmp20_;
		gchar* _tmp21_ = NULL;
		const gchar* _tmp22_;
		GFile* _tmp23_ = NULL;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp14_ = os;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp15_ = osinfo_os_get_distro (_tmp14_);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp16_ = _tmp15_;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp17_ = extensions;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp17__length1 = extensions_length1;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp18_ = _tmp17_[0];
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp19_ = g_strconcat (_tmp16_, _tmp18_, NULL);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp20_ = _tmp19_;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp21_ = boxes_get_pixmap (_tmp20_);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (path);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		path = _tmp21_;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_tmp20_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp22_ = path;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp23_ = g_file_new_for_path (_tmp22_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (file);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		file = _tmp23_;
#line 2164 "util-app.c"
	}
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp24_ = file;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp25_ = g_file_query_exists (_tmp24_, NULL);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp25_) {
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		result = path;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (file);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return result;
#line 2178 "util-app.c"
	} else {
		OsinfoOs* _tmp26_;
		gchar** _tmp27_;
		gint _tmp27__length1;
		gchar** _tmp28_;
		gint _tmp28__length1;
		gchar* _tmp29_ = NULL;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp26_ = os;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp27_ = extensions;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp27__length1 = extensions_length1;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp28_ = extensions;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp28__length1 = extensions_length1;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp29_ = boxes_get_logo_path (_tmp26_, _tmp27_ + 1, _tmp28__length1 - 1);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		result = _tmp29_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (file);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (path);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return result;
#line 2206 "util-app.c"
	}
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (file);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (path);
#line 2212 "util-app.c"
}


static void boxes_check_selinux_context_default_data_free (gpointer _data) {
	BoxesCheckSelinuxContextDefaultData* _data_;
	_data_ = _data;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_slice_free (BoxesCheckSelinuxContextDefaultData, _data_);
#line 2221 "util-app.c"
}


void boxes_check_selinux_context_default (GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesCheckSelinuxContextDefaultData* _data_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_slice_new0 (BoxesCheckSelinuxContextDefaultData);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_check_selinux_context_default);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_check_selinux_context_default_data_free);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	boxes_check_selinux_context_default_co (_data_);
#line 2235 "util-app.c"
}


gboolean boxes_check_selinux_context_default_finish (GAsyncResult* _res_, gchar** diagnosis) {
	gboolean result;
	BoxesCheckSelinuxContextDefaultData* _data_;
#line 456 "/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 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if (diagnosis) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		*diagnosis = _data_->diagnosis;
#line 2248 "util-app.c"
	} else {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		_g_free0 (_data_->diagnosis);
#line 2252 "util-app.c"
	}
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->diagnosis = NULL;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	result = _data_->result;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return result;
#line 2260 "util-app.c"
}


static void boxes_check_selinux_context_default_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesCheckSelinuxContextDefaultData* _data_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_ = _user_data_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_source_object_ = source_object;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_res_ = _res_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	boxes_check_selinux_context_default_co (_data_);
#line 2274 "util-app.c"
}


static gboolean boxes_check_selinux_context_default_co (BoxesCheckSelinuxContextDefaultData* _data_) {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	switch (_data_->_state_) {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 0:
#line 2283 "util-app.c"
		goto _state_0;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 1:
#line 2287 "util-app.c"
		goto _state_1;
		default:
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_assert_not_reached ();
#line 2292 "util-app.c"
	}
	_state_0:
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp0_ = g_strdup ("");
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->diagnosis);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->diagnosis = _data_->_tmp0_;
#line 2301 "util-app.c"
	{
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp1_ = g_strdup ("restorecon");
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = g_strdup ("-nrv");
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3_ = NULL;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3_ = boxes_get_user_pkgconfig (NULL);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = NULL;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = boxes_get_user_pkgdata (NULL);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5_ = NULL;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5_ = boxes_get_user_pkgcache (NULL);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = NULL;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = g_new0 (gchar*, 5 + 1);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_[0] = _data_->_tmp1_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_[1] = _data_->_tmp2_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_[2] = _data_->_tmp3_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_[3] = _data_->_tmp4_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_[4] = _data_->_tmp5_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv = _data_->_tmp6_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv_length1 = 5;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_argv_size_ = _data_->argv_length1;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp7_ = _data_->argv;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp7__length1 = _data_->argv_length1;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp8_ = NULL;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_state_ = 1;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		boxes_exec (_data_->_tmp7_, _data_->_tmp7__length1, NULL, boxes_check_selinux_context_default_ready, _data_);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 2351 "util-app.c"
		_state_1:
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		boxes_exec_finish (_data_->_res_, &_data_->_tmp8_, NULL, &_data_->_inner_error_);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->standard_output);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->standard_output = _data_->_tmp8_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->standard_output);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (g_error_matches (_data_->_inner_error_, G_SPAWN_ERROR, G_SPAWN_ERROR_NOEXEC)) {
#line 2367 "util-app.c"
				goto __catch81_g_spawn_error_noexec;
			}
			goto __catch81_g_error;
		}
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp9_ = _data_->standard_output;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp10_ = strlen (_data_->_tmp9_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp11_ = _data_->_tmp10_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_tmp11_ == 0) {
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->result = TRUE;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->standard_output);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (_data_->_state_ == 0) {
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2390 "util-app.c"
			} else {
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2394 "util-app.c"
			}
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_object_unref (_data_->_async_result);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return FALSE;
#line 2400 "util-app.c"
		}
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp12_ = _data_->argv;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp12__length1 = _data_->argv_length1;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp13_ = g_strdup ("-r");
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->_tmp12_[1]);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp12_[1] = _data_->_tmp13_;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp14_ = _data_->_tmp12_[1];
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp15_ = NULL;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp15_ = _ ("Your SELinux context looks incorrect, you can try to fix it by running" \
":\n" \
"%s");
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp16_ = _data_->argv;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp16__length1 = _data_->argv_length1;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp17_ = NULL;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp17_ = g_strjoinv (" ", _data_->_tmp16_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp18_ = _data_->_tmp17_;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp19_ = NULL;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp19_ = g_strdup_printf (_data_->_tmp15_, _data_->_tmp18_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->diagnosis);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->diagnosis = _data_->_tmp19_;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->_tmp18_);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->result = FALSE;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->standard_output);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2448 "util-app.c"
		} else {
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2452 "util-app.c"
		}
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 2458 "util-app.c"
	}
	goto __finally81;
	__catch81_g_spawn_error_noexec:
	{
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp20_ = NULL;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp20_ = _ ("SELinux not installed?");
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp21_ = g_strdup (_data_->_tmp20_);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->diagnosis);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->diagnosis = _data_->_tmp21_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->result = TRUE;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_error_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2485 "util-app.c"
		} else {
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2489 "util-app.c"
		}
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 2495 "util-app.c"
	}
	goto __finally81;
	__catch81_g_error:
	{
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp22_ = _data_->_vala1__error_;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp23_ = _data_->_tmp22_->message;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_warning ("util-app.vala:239: %s", _data_->_tmp23_);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 2512 "util-app.c"
	}
	__finally81:
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 2523 "util-app.c"
	}
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->result = FALSE;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2531 "util-app.c"
	} else {
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2535 "util-app.c"
	}
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2545 "util-app.c"
	} else {
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2549 "util-app.c"
	}
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 2555 "util-app.c"
}


static void boxes_check_libvirt_kvm_data_free (gpointer _data) {
	BoxesCheckLibvirtKvmData* _data_;
	_data_ = _data;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_slice_free (BoxesCheckLibvirtKvmData, _data_);
#line 2564 "util-app.c"
}


void boxes_check_libvirt_kvm (GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesCheckLibvirtKvmData* _data_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_slice_new0 (BoxesCheckLibvirtKvmData);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_check_libvirt_kvm);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_check_libvirt_kvm_data_free);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	boxes_check_libvirt_kvm_co (_data_);
#line 2578 "util-app.c"
}


gboolean boxes_check_libvirt_kvm_finish (GAsyncResult* _res_) {
	gboolean result;
	BoxesCheckLibvirtKvmData* _data_;
#line 456 "/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 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	result = _data_->result;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return result;
#line 2591 "util-app.c"
}


static void boxes_check_libvirt_kvm_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesCheckLibvirtKvmData* _data_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_ = _user_data_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_source_object_ = source_object;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_res_ = _res_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	boxes_check_libvirt_kvm_co (_data_);
#line 2605 "util-app.c"
}


static gboolean boxes_check_libvirt_kvm_co (BoxesCheckLibvirtKvmData* _data_) {
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	switch (_data_->_state_) {
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 0:
#line 2614 "util-app.c"
		goto _state_0;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 1:
#line 2618 "util-app.c"
		goto _state_1;
		default:
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_assert_not_reached ();
#line 2623 "util-app.c"
	}
	_state_0:
	{
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp0_ = g_strdup ("virsh");
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp1_ = g_strdup ("capabilities");
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = NULL;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = g_new0 (gchar*, 2 + 1);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_[0] = _data_->_tmp0_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_[1] = _data_->_tmp1_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv = _data_->_tmp2_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv_length1 = 2;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_argv_size_ = _data_->argv_length1;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3_ = _data_->argv;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3__length1 = _data_->argv_length1;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = NULL;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_state_ = 1;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		boxes_exec (_data_->_tmp3_, _data_->_tmp3__length1, NULL, boxes_check_libvirt_kvm_ready, _data_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 2657 "util-app.c"
		_state_1:
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		boxes_exec_finish (_data_->_res_, &_data_->_tmp4_, NULL, &_data_->_inner_error_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->standard_output);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->standard_output = _data_->_tmp4_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->standard_output);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (g_error_matches (_data_->_inner_error_, G_SPAWN_ERROR, G_SPAWN_ERROR_NOEXEC)) {
#line 2673 "util-app.c"
				goto __catch82_g_spawn_error_noexec;
			}
			goto __catch82_g_error;
		}
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5_ = _data_->standard_output;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = NULL;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = boxes_extract_xpath (_data_->_tmp5_, "string(/capabilities/guest[os_type='hvm']/arch/domain[@type='kvm']/emu" \
"lator)", FALSE, &_data_->_inner_error_);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->kvm = _data_->_tmp6_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->standard_output);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (g_error_matches (_data_->_inner_error_, G_SPAWN_ERROR, G_SPAWN_ERROR_NOEXEC)) {
#line 2694 "util-app.c"
				goto __catch82_g_spawn_error_noexec;
			}
			goto __catch82_g_error;
		}
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp7_ = _data_->kvm;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp8_ = strlen (_data_->_tmp7_);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->result = _data_->_tmp9_ != 0;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->kvm);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->standard_output);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2717 "util-app.c"
		} else {
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2721 "util-app.c"
		}
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 2727 "util-app.c"
	}
	goto __finally82;
	__catch82_g_spawn_error_noexec:
	{
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_critical ("util-app.vala:256: libvirt is not installed correctly");
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_error_);
#line 2740 "util-app.c"
	}
	goto __finally82;
	__catch82_g_error:
	{
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp10_ = _data_->_vala1__error_;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp11_ = _data_->_tmp10_->message;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_warning ("util-app.vala:258: %s", _data_->_tmp11_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 2757 "util-app.c"
	}
	__finally82:
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 2768 "util-app.c"
	}
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->result = FALSE;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2776 "util-app.c"
	} else {
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2780 "util-app.c"
	}
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2790 "util-app.c"
	} else {
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2794 "util-app.c"
	}
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 2800 "util-app.c"
}


static void boxes_check_cpu_vt_capability_data_free (gpointer _data) {
	BoxesCheckCpuVtCapabilityData* _data_;
	_data_ = _data;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_slice_free (BoxesCheckCpuVtCapabilityData, _data_);
#line 2809 "util-app.c"
}


void boxes_check_cpu_vt_capability (GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesCheckCpuVtCapabilityData* _data_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_slice_new0 (BoxesCheckCpuVtCapabilityData);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_check_cpu_vt_capability);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_check_cpu_vt_capability_data_free);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	boxes_check_cpu_vt_capability_co (_data_);
#line 2823 "util-app.c"
}


gboolean boxes_check_cpu_vt_capability_finish (GAsyncResult* _res_) {
	gboolean result;
	BoxesCheckCpuVtCapabilityData* _data_;
#line 456 "/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 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	result = _data_->result;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return result;
#line 2836 "util-app.c"
}


static void boxes_check_cpu_vt_capability_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesCheckCpuVtCapabilityData* _data_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_ = _user_data_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_source_object_ = source_object;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_res_ = _res_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	boxes_check_cpu_vt_capability_co (_data_);
#line 2850 "util-app.c"
}


static inline GRegex* _thread_safe_regex_init (GRegex** re, const gchar * pattern, GRegexMatchFlags match_options) {
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (g_once_init_enter ((volatile gsize*) re)) {
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		GRegex* val = g_regex_new (pattern, match_options, 0, NULL);
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_once_init_leave ((volatile gsize*) re, (gsize) val);
#line 2861 "util-app.c"
	}
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return *re;
#line 2865 "util-app.c"
}


static gboolean boxes_check_cpu_vt_capability_co (BoxesCheckCpuVtCapabilityData* _data_) {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	switch (_data_->_state_) {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 0:
#line 2874 "util-app.c"
		goto _state_0;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 1:
#line 2878 "util-app.c"
		goto _state_1;
		default:
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_assert_not_reached ();
#line 2883 "util-app.c"
	}
	_state_0:
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_result_ = FALSE;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp0_ = NULL;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp0_ = g_file_new_for_path ("/proc/cpuinfo");
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->file = _data_->_tmp0_;
#line 2894 "util-app.c"
	{
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp1_ = _data_->file;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = NULL;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = g_file_read (_data_->_tmp1_, NULL, &_data_->_inner_error_);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3_ = _data_->_tmp2_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2906 "util-app.c"
			goto __catch83_g_error;
		}
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5_ = g_data_input_stream_new ((GInputStream*) _data_->_tmp4_);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data_->_tmp4_);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->stream = _data_->_tmp6_;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->line = NULL;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		while (TRUE) {
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp7_ = _data_->stream;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_state_ = 1;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_data_input_stream_read_line_async (_data_->_tmp7_, G_PRIORITY_DEFAULT, NULL, boxes_check_cpu_vt_capability_ready, _data_);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return FALSE;
#line 2931 "util-app.c"
			_state_1:
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp8_ = NULL;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp8_ = g_data_input_stream_read_line_finish (_data_->_tmp7_, _data_->_res_, NULL, &_data_->_inner_error_);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp9_ = _data_->_tmp8_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_g_free0 (_data_->line);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_g_object_unref0 (_data_->stream);
#line 2945 "util-app.c"
				goto __catch83_g_error;
			}
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->line);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->line = _data_->_tmp9_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp10_ = _data_->line;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (!(_data_->_tmp10_ != NULL)) {
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				break;
#line 2958 "util-app.c"
			}
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp11_ = _data_->line;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp12_ = FALSE;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp12_ = g_regex_match (_thread_safe_regex_init (&_tmp_regex_0, "^flags.*(vmx|svm)", 0), _data_->_tmp11_, 0, NULL);
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_result_ = _data_->_tmp12_;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp13_ = _data_->_result_;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (_data_->_tmp13_) {
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				break;
#line 2974 "util-app.c"
			}
		}
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->line);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data_->stream);
#line 2981 "util-app.c"
	}
	goto __finally83;
	__catch83_g_error:
	{
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp14_ = _data_->_error_->message;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_error ("util-app.vala:277: %s", _data_->_tmp14_);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_error_);
#line 2996 "util-app.c"
	}
	__finally83:
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data_->file);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3009 "util-app.c"
	}
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp15_ = _data_->_result_;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp16_ = NULL;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp16_ = boxes_yes_no (_data_->_tmp15_);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp18_ = g_strconcat ("check_cpu_vt_capability: ", _data_->_tmp17_, NULL);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_debug ("util-app.vala:280: %s", _data_->_tmp19_);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->_tmp19_);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->_tmp17_);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->result = _data_->_result_;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data_->file);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3037 "util-app.c"
	} else {
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3041 "util-app.c"
	}
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data_->file);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3053 "util-app.c"
	} else {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3057 "util-app.c"
	}
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 3063 "util-app.c"
}


static void boxes_check_module_kvm_loaded_data_free (gpointer _data) {
	BoxesCheckModuleKvmLoadedData* _data_;
	_data_ = _data;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_slice_free (BoxesCheckModuleKvmLoadedData, _data_);
#line 3072 "util-app.c"
}


void boxes_check_module_kvm_loaded (GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesCheckModuleKvmLoadedData* _data_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_slice_new0 (BoxesCheckModuleKvmLoadedData);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_check_module_kvm_loaded);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_check_module_kvm_loaded_data_free);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	boxes_check_module_kvm_loaded_co (_data_);
#line 3086 "util-app.c"
}


gboolean boxes_check_module_kvm_loaded_finish (GAsyncResult* _res_) {
	gboolean result;
	BoxesCheckModuleKvmLoadedData* _data_;
#line 456 "/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 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	result = _data_->result;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return result;
#line 3099 "util-app.c"
}


static void boxes_check_module_kvm_loaded_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesCheckModuleKvmLoadedData* _data_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_ = _user_data_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_source_object_ = source_object;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_res_ = _res_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	boxes_check_module_kvm_loaded_co (_data_);
#line 3113 "util-app.c"
}


static gboolean boxes_check_module_kvm_loaded_co (BoxesCheckModuleKvmLoadedData* _data_) {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	switch (_data_->_state_) {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 0:
#line 3122 "util-app.c"
		goto _state_0;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 1:
#line 3126 "util-app.c"
		goto _state_1;
		default:
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_assert_not_reached ();
#line 3131 "util-app.c"
	}
	_state_0:
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_result_ = FALSE;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp0_ = NULL;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp0_ = g_file_new_for_path ("/proc/modules");
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->file = _data_->_tmp0_;
#line 3142 "util-app.c"
	{
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp1_ = _data_->file;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = NULL;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = g_file_read (_data_->_tmp1_, NULL, &_data_->_inner_error_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3_ = _data_->_tmp2_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 3154 "util-app.c"
			goto __catch84_g_error;
		}
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5_ = g_data_input_stream_new ((GInputStream*) _data_->_tmp4_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data_->_tmp4_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->stream = _data_->_tmp6_;
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->line = NULL;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		while (TRUE) {
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp7_ = _data_->stream;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_state_ = 1;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_data_input_stream_read_line_async (_data_->_tmp7_, G_PRIORITY_DEFAULT, NULL, boxes_check_module_kvm_loaded_ready, _data_);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			return FALSE;
#line 3179 "util-app.c"
			_state_1:
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp8_ = NULL;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp8_ = g_data_input_stream_read_line_finish (_data_->_tmp7_, _data_->_res_, NULL, &_data_->_inner_error_);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp9_ = _data_->_tmp8_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (_data_->_inner_error_ != NULL) {
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_g_free0 (_data_->line);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_g_object_unref0 (_data_->stream);
#line 3193 "util-app.c"
				goto __catch84_g_error;
			}
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->line);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->line = _data_->_tmp9_;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp10_ = _data_->line;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (!(_data_->_tmp10_ != NULL)) {
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				break;
#line 3206 "util-app.c"
			}
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp11_ = _data_->line;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp12_ = FALSE;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp12_ = g_regex_match (_thread_safe_regex_init (&_tmp_regex_1, "^(kvm_intel|kvm_amd)", 0), _data_->_tmp11_, 0, NULL);
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_result_ = _data_->_tmp12_;
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->_tmp13_ = _data_->_result_;
#line 293 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (_data_->_tmp13_) {
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				break;
#line 3222 "util-app.c"
			}
		}
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->line);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data_->stream);
#line 3229 "util-app.c"
	}
	goto __finally84;
	__catch84_g_error:
	{
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp14_ = _data_->_error_->message;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_error ("util-app.vala:297: %s", _data_->_tmp14_);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_error_);
#line 3244 "util-app.c"
	}
	__finally84:
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data_->file);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3257 "util-app.c"
	}
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp15_ = _data_->_result_;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp16_ = NULL;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp16_ = boxes_yes_no (_data_->_tmp15_);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp18_ = g_strconcat ("check_module_kvm_loaded: ", _data_->_tmp17_, NULL);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_debug ("util-app.vala:300: %s", _data_->_tmp19_);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->_tmp19_);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->_tmp17_);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->result = _data_->_result_;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data_->file);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3285 "util-app.c"
	} else {
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3289 "util-app.c"
	}
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data_->file);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3301 "util-app.c"
	} else {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3305 "util-app.c"
	}
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 3311 "util-app.c"
}


static void boxes_check_storage_pool_data_free (gpointer _data) {
	BoxesCheckStoragePoolData* _data_;
	_data_ = _data;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_slice_free (BoxesCheckStoragePoolData, _data_);
#line 3320 "util-app.c"
}


void boxes_check_storage_pool (GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesCheckStoragePoolData* _data_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_slice_new0 (BoxesCheckStoragePoolData);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_check_storage_pool);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_check_storage_pool_data_free);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	boxes_check_storage_pool_co (_data_);
#line 3334 "util-app.c"
}


gboolean boxes_check_storage_pool_finish (GAsyncResult* _res_, gchar** diagnosis) {
	gboolean result;
	BoxesCheckStoragePoolData* _data_;
#line 456 "/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 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if (diagnosis) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		*diagnosis = _data_->diagnosis;
#line 3347 "util-app.c"
	} else {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		_g_free0 (_data_->diagnosis);
#line 3351 "util-app.c"
	}
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->diagnosis = NULL;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	result = _data_->result;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return result;
#line 3359 "util-app.c"
}


static void boxes_check_storage_pool_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesCheckStoragePoolData* _data_;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_ = _user_data_;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_source_object_ = source_object;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_res_ = _res_;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	boxes_check_storage_pool_co (_data_);
#line 3373 "util-app.c"
}


static gboolean boxes_check_storage_pool_co (BoxesCheckStoragePoolData* _data_) {
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	switch (_data_->_state_) {
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 0:
#line 3382 "util-app.c"
		goto _state_0;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 1:
#line 3386 "util-app.c"
		goto _state_1;
		default:
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_assert_not_reached ();
#line 3391 "util-app.c"
	}
	_state_0:
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp0_ = g_strdup ("");
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->diagnosis);
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->diagnosis = _data_->_tmp0_;
#line 3400 "util-app.c"
	{
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp1_ = g_strdup ("virsh");
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = g_strdup ("pool-dumpxml");
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3_ = g_strdup (PACKAGE_TARNAME);
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = NULL;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = g_new0 (gchar*, 3 + 1);
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_[0] = _data_->_tmp1_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_[1] = _data_->_tmp2_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_[2] = _data_->_tmp3_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv = _data_->_tmp4_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv_length1 = 3;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_argv_size_ = _data_->argv_length1;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5_ = _data_->argv;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5__length1 = _data_->argv_length1;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = NULL;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_state_ = 1;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		boxes_exec (_data_->_tmp5_, _data_->_tmp5__length1, NULL, boxes_check_storage_pool_ready, _data_);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3436 "util-app.c"
		_state_1:
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		boxes_exec_finish (_data_->_res_, &_data_->_tmp6_, NULL, &_data_->_inner_error_);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->standard_output);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->standard_output = _data_->_tmp6_;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->standard_output);
#line 3450 "util-app.c"
			goto __catch85_g_error;
		}
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp7_ = _data_->standard_output;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp8_ = NULL;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp8_ = boxes_extract_xpath (_data_->_tmp7_, "string(/pool[@type='dir']/target/path)", FALSE, &_data_->_inner_error_);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_g_free0 (_data_->standard_output);
#line 3467 "util-app.c"
			goto __catch85_g_error;
		}
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->pool_path);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->pool_path = _data_->_tmp9_;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->standard_output);
#line 3478 "util-app.c"
	}
	goto __finally85;
	__catch85_g_error:
	{
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 315 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp10_ = _data_->_error_;
#line 315 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp11_ = _data_->_tmp10_->message;
#line 315 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_debug ("util-app.vala:315: %s", _data_->_tmp11_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp12_ = NULL;
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp12_ = _ ("Could not get 'gnome-boxes' storage pool information from libvirt. Mak" \
"e sure 'virsh -c qemu:///session pool-dumpxml gnome-boxes' is working.");
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp13_ = g_strdup (_data_->_tmp12_);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->diagnosis);
#line 316 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->diagnosis = _data_->_tmp13_;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->result = FALSE;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_error_);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->pool_path);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3513 "util-app.c"
		} else {
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3517 "util-app.c"
		}
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3523 "util-app.c"
	}
	__finally85:
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->pool_path);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_clear_error (&_data_->_inner_error_);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3536 "util-app.c"
	}
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp14_ = _data_->pool_path;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp15_ = FALSE;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp15_ = g_file_test (_data_->_tmp14_, G_FILE_TEST_EXISTS);
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (!_data_->_tmp15_) {
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp16_ = NULL;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp16_ = _ ("%s is known to libvirt as GNOME Boxes's storage pool but this director" \
"y does not exist");
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp17_ = _data_->pool_path;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp18_ = NULL;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp18_ = g_strdup_printf (_data_->_tmp16_, _data_->_tmp17_);
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->diagnosis);
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->diagnosis = _data_->_tmp18_;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->result = FALSE;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->pool_path);
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3568 "util-app.c"
		} else {
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3572 "util-app.c"
		}
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3578 "util-app.c"
	}
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp19_ = _data_->pool_path;
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp20_ = FALSE;
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp20_ = g_file_test (_data_->_tmp19_, G_FILE_TEST_IS_DIR);
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (!_data_->_tmp20_) {
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp21_ = NULL;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp21_ = _ ("%s is known to libvirt as GNOME Boxes's storage pool but is not a dire" \
"ctory");
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp22_ = _data_->pool_path;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp23_ = NULL;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp23_ = g_strdup_printf (_data_->_tmp21_, _data_->_tmp22_);
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->diagnosis);
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->diagnosis = _data_->_tmp23_;
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->result = FALSE;
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->pool_path);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3610 "util-app.c"
		} else {
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3614 "util-app.c"
		}
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3620 "util-app.c"
	}
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp24_ = _data_->pool_path;
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp25_ = 0;
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_tmp25_ = access (_data_->_tmp24_, (R_OK | W_OK) | X_OK);
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_tmp25_ != 0) {
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp26_ = NULL;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp26_ = _ ("%s is known to libvirt as GNOME Boxes's storage pool but is not user-r" \
"eadable/writable");
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp27_ = _data_->pool_path;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp28_ = NULL;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp28_ = g_strdup_printf (_data_->_tmp26_, _data_->_tmp27_);
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->diagnosis);
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->diagnosis = _data_->_tmp28_;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->result = FALSE;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->pool_path);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3652 "util-app.c"
		} else {
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3656 "util-app.c"
		}
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 3662 "util-app.c"
	}
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->result = TRUE;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->pool_path);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3672 "util-app.c"
	} else {
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3676 "util-app.c"
	}
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_free0 (_data_->pool_path);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3688 "util-app.c"
	} else {
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3692 "util-app.c"
	}
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 3698 "util-app.c"
}


static guint8* _vala_array_dup5 (guint8* self, int length) {
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return g_memdup (self, length * sizeof (guint8));
#line 3705 "util-app.c"
}


GdkPixbuf* boxes_remove_alpha (GdkPixbuf* pixbuf) {
	GdkPixbuf* result = NULL;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	static const guint8 ALPHA_TRESHOLD = (guint8) 50;
#line 3713 "util-app.c"
	gboolean _tmp0_ = FALSE;
	GdkPixbuf* _tmp1_;
	gint _tmp2_ = 0;
	gboolean _tmp5_;
	GdkPixbuf* _tmp6_;
	GdkPixbuf* _tmp7_;
	gint _tmp8_ = 0;
	gint width;
	GdkPixbuf* _tmp9_;
	gint _tmp10_ = 0;
	gint height;
	GdkPixbuf* _tmp11_;
	gint _tmp12_ = 0;
	gint rowstride;
	GdkPixbuf* _tmp13_;
	guint8* _tmp14_ = NULL;
	guint8* orig_pixels;
	gint orig_pixels_length1;
	gint _orig_pixels_size_;
	gint _tmp15_;
	gint _tmp16_;
	guint8* _tmp17_ = NULL;
	guint8* pixels;
	gint pixels_length1;
	gint _pixels_size_;
	guint8* _tmp65_;
	gint _tmp65__length1;
	guint8* _tmp66_;
	gint _tmp66__length1;
	GdkPixbuf* _tmp67_;
	GdkColorspace _tmp68_ = 0;
	gint _tmp69_;
	gint _tmp70_;
	gint _tmp71_;
	GdkPixbuf* _tmp72_;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (pixbuf != NULL, NULL);
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = pixbuf;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = gdk_pixbuf_get_n_channels (_tmp1_);
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp2_ == 4) {
#line 3757 "util-app.c"
		GdkPixbuf* _tmp3_;
		gint _tmp4_ = 0;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp3_ = pixbuf;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = gdk_pixbuf_get_bits_per_sample (_tmp3_);
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp0_ = _tmp4_ == 8;
#line 3766 "util-app.c"
	} else {
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp0_ = FALSE;
#line 3770 "util-app.c"
	}
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = _tmp0_;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = pixbuf;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (_tmp5_, _tmp6_);
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = pixbuf;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = gdk_pixbuf_get_width (_tmp7_);
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	width = _tmp8_;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_ = pixbuf;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp10_ = gdk_pixbuf_get_height (_tmp9_);
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	height = _tmp10_;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp11_ = pixbuf;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_ = gdk_pixbuf_get_rowstride (_tmp11_);
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	rowstride = _tmp12_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp13_ = pixbuf;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp14_ = gdk_pixbuf_get_pixels (_tmp13_);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	orig_pixels = _tmp14_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	orig_pixels_length1 = -1;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_orig_pixels_size_ = orig_pixels_length1;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp15_ = rowstride;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp16_ = height;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp17_ = g_new0 (guint8, _tmp15_ * _tmp16_);
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	pixels = _tmp17_;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	pixels_length1 = _tmp15_ * _tmp16_;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_pixels_size_ = pixels_length1;
#line 3818 "util-app.c"
	{
		gint i;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		i = 0;
#line 3823 "util-app.c"
		{
			gboolean _tmp18_;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			_tmp18_ = TRUE;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			while (TRUE) {
#line 3830 "util-app.c"
				gboolean _tmp19_;
				gint _tmp21_;
				gint _tmp22_;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp19_ = _tmp18_;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (!_tmp19_) {
#line 3838 "util-app.c"
					gint _tmp20_;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					_tmp20_ = i;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					i = _tmp20_ + 1;
#line 3844 "util-app.c"
				}
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp18_ = FALSE;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp21_ = i;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp22_ = height;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (!(_tmp21_ < _tmp22_)) {
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					break;
#line 3856 "util-app.c"
				}
				{
					gint j;
					gint k;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					j = 0;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					k = 0;
#line 3865 "util-app.c"
					{
						gboolean _tmp23_;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
						_tmp23_ = TRUE;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
						while (TRUE) {
#line 3872 "util-app.c"
							gboolean _tmp24_;
							gint _tmp27_;
							gint _tmp28_;
							gint _tmp29_;
							gint _tmp30_;
							gint _tmp31_;
							gint orig_index;
							gint _tmp32_;
							gint _tmp33_;
							gint _tmp34_;
							gint index;
							guint8* _tmp35_;
							gint _tmp35__length1;
							gint _tmp36_;
							guint8 _tmp37_;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp24_ = _tmp23_;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							if (!_tmp24_) {
#line 3892 "util-app.c"
								gint _tmp25_;
								gint _tmp26_;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp25_ = j;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								j = _tmp25_ + 4;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp26_ = k;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								k = _tmp26_ + 3;
#line 3903 "util-app.c"
							}
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp23_ = FALSE;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp27_ = j;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp28_ = width;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							if (!(_tmp27_ < (_tmp28_ * 4))) {
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								break;
#line 3915 "util-app.c"
							}
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp29_ = rowstride;
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp30_ = i;
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp31_ = j;
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							orig_index = (_tmp29_ * _tmp30_) + _tmp31_;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp32_ = rowstride;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp33_ = i;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp34_ = k;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							index = (_tmp32_ * _tmp33_) + _tmp34_;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp35_ = orig_pixels;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp35__length1 = orig_pixels_length1;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp36_ = orig_index;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							_tmp37_ = _tmp35_[_tmp36_ + 3];
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							if (_tmp37_ < ALPHA_TRESHOLD) {
#line 3943 "util-app.c"
								guint8* _tmp38_;
								gint _tmp38__length1;
								gint _tmp39_;
								guint8 _tmp40_;
								guint8* _tmp41_;
								gint _tmp41__length1;
								gint _tmp42_;
								guint8 _tmp43_;
								guint8* _tmp44_;
								gint _tmp44__length1;
								gint _tmp45_;
								guint8 _tmp46_;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp38_ = pixels;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp38__length1 = pixels_length1;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp39_ = index;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp38_[_tmp39_] = (guint8) 0xFF;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp40_ = _tmp38_[_tmp39_];
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp41_ = pixels;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp41__length1 = pixels_length1;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp42_ = index;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp41_[_tmp42_ + 1] = (guint8) 0xFF;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp43_ = _tmp41_[_tmp42_ + 1];
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp44_ = pixels;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp44__length1 = pixels_length1;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp45_ = index;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp44_[_tmp45_ + 2] = (guint8) 0xFF;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp46_ = _tmp44_[_tmp45_ + 2];
#line 3986 "util-app.c"
							} else {
								guint8* _tmp47_;
								gint _tmp47__length1;
								gint _tmp48_;
								guint8* _tmp49_;
								gint _tmp49__length1;
								gint _tmp50_;
								guint8 _tmp51_;
								guint8 _tmp52_;
								guint8* _tmp53_;
								gint _tmp53__length1;
								gint _tmp54_;
								guint8* _tmp55_;
								gint _tmp55__length1;
								gint _tmp56_;
								guint8 _tmp57_;
								guint8 _tmp58_;
								guint8* _tmp59_;
								gint _tmp59__length1;
								gint _tmp60_;
								guint8* _tmp61_;
								gint _tmp61__length1;
								gint _tmp62_;
								guint8 _tmp63_;
								guint8 _tmp64_;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp47_ = pixels;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp47__length1 = pixels_length1;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp48_ = index;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp49_ = orig_pixels;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp49__length1 = orig_pixels_length1;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp50_ = orig_index;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp51_ = _tmp49_[_tmp50_];
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp47_[_tmp48_] = _tmp51_;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp52_ = _tmp47_[_tmp48_];
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp53_ = pixels;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp53__length1 = pixels_length1;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp54_ = index;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp55_ = orig_pixels;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp55__length1 = orig_pixels_length1;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp56_ = orig_index;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp57_ = _tmp55_[_tmp56_ + 1];
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp53_[_tmp54_ + 1] = _tmp57_;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp58_ = _tmp53_[_tmp54_ + 1];
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp59_ = pixels;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp59__length1 = pixels_length1;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp60_ = index;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp61_ = orig_pixels;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp61__length1 = orig_pixels_length1;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp62_ = orig_index;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp63_ = _tmp61_[_tmp62_ + 2];
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp59_[_tmp60_ + 2] = _tmp63_;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
								_tmp64_ = _tmp59_[_tmp60_ + 2];
#line 4066 "util-app.c"
							}
						}
					}
				}
			}
		}
	}
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp65_ = pixels;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp65__length1 = pixels_length1;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp66_ = (_tmp65_ != NULL) ? _vala_array_dup5 (_tmp65_, _tmp65__length1) : ((gpointer) _tmp65_);
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp66__length1 = _tmp65__length1;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp67_ = pixbuf;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp68_ = gdk_pixbuf_get_colorspace (_tmp67_);
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp69_ = width;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp70_ = height;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp71_ = rowstride;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp72_ = gdk_pixbuf_new_from_data (_tmp66_, _tmp68_, FALSE, 8, _tmp69_, _tmp70_, _tmp71_, (GdkPixbufDestroyNotify) NULL, NULL);
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = _tmp72_;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	pixels = (g_free (pixels), NULL);
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 4100 "util-app.c"
}


static Block64Data* block64_data_ref (Block64Data* _data64_) {
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_atomic_int_inc (&_data64_->_ref_count_);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return _data64_;
#line 4109 "util-app.c"
}


static void block64_data_unref (void * _userdata_) {
	Block64Data* _data64_;
	_data64_ = (Block64Data*) _userdata_;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (g_atomic_int_dec_and_test (&_data64_->_ref_count_)) {
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (_data64_->widget);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_slice_free (Block64Data, _data64_);
#line 4122 "util-app.c"
	}
}


static gboolean __lambda177_ (Block64Data* _data64_, cairo_t* cr) {
	gboolean result = FALSE;
	GtkWidget* _tmp0_;
	GtkStyleContext* _tmp1_ = NULL;
	GtkStyleContext* _tmp2_;
	GtkStyleContext* context;
	GtkAllocation allocation = {0};
	GtkWidget* _tmp3_;
	GtkAllocation _tmp4_ = {0};
	cairo_t* _tmp5_;
	GtkAllocation _tmp6_;
	gint _tmp7_;
	GtkAllocation _tmp8_;
	gint _tmp9_;
	cairo_t* _tmp10_;
	GtkAllocation _tmp11_;
	gint _tmp12_;
	GtkAllocation _tmp13_;
	gint _tmp14_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (cr != NULL, FALSE);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = _data64_->widget;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = gtk_widget_get_style_context (_tmp0_);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	context = _tmp2_;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = _data64_->widget;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_widget_get_allocation (_tmp3_, &_tmp4_);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	allocation = _tmp4_;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp5_ = cr;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp6_ = allocation;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp7_ = _tmp6_.width;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp8_ = allocation;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp9_ = _tmp8_.height;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_render_background (context, _tmp5_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp7_, (gdouble) _tmp9_);
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp10_ = cr;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp11_ = allocation;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp12_ = _tmp11_.width;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp13_ = allocation;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp14_ = _tmp13_.height;
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	gtk_render_frame (context, _tmp10_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp12_, (gdouble) _tmp14_);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = FALSE;
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (context);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 4192 "util-app.c"
}


static gboolean ___lambda177__gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self) {
	gboolean result;
	result = __lambda177_ (self, cr);
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 4201 "util-app.c"
}


void boxes_draw_as_css_box (GtkWidget* widget) {
	Block64Data* _data64_;
	GtkWidget* _tmp0_;
	GtkWidget* _tmp1_;
	GtkWidget* _tmp2_;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_if_fail (widget != NULL);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data64_ = g_slice_new0 (Block64Data);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data64_->_ref_count_ = 1;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = widget;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_g_object_unref0 (_data64_->widget);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data64_->widget = _tmp1_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = _data64_->widget;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_signal_connect_data (_tmp2_, "draw", (GCallback) ___lambda177__gtk_widget_draw, block64_data_ref (_data64_), (GClosureNotify) block64_data_unref, 0);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	block64_data_unref (_data64_);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data64_ = NULL;
#line 4232 "util-app.c"
}


static void boxes_copy_file_data_free (gpointer _data) {
	BoxesCopyFileData* _data_;
	_data_ = _data;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_g_object_unref0 (_data_->src_file);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_g_object_unref0 (_data_->dest_file);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_g_object_unref0 (_data_->cancellable);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_slice_free (BoxesCopyFileData, _data_);
#line 4247 "util-app.c"
}


void boxes_copy_file (GFile* src_file, GFile* dest_file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesCopyFileData* _data_;
	GFile* _tmp0_;
	GFile* _tmp1_;
	GFile* _tmp2_;
	GFile* _tmp3_;
	GCancellable* _tmp4_;
	GCancellable* _tmp5_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_ = g_slice_new0 (BoxesCopyFileData);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_copy_file);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_copy_file_data_free);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_tmp0_ = src_file;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_g_object_unref0 (_data_->src_file);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->src_file = _tmp1_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_tmp2_ = dest_file;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_g_object_unref0 (_data_->dest_file);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->dest_file = _tmp3_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_tmp4_ = cancellable;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_g_object_unref0 (_data_->cancellable);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_data_->cancellable = _tmp5_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	boxes_copy_file_co (_data_);
#line 4291 "util-app.c"
}


void boxes_copy_file_finish (GAsyncResult* _res_, GError** error) {
	BoxesCopyFileData* _data_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		return;
#line 4301 "util-app.c"
	}
#line 456 "/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 4305 "util-app.c"
}


static void boxes_copy_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesCopyFileData* _data_;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_ = _user_data_;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_source_object_ = source_object;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_data_->_res_ = _res_;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	boxes_copy_file_co (_data_);
#line 4319 "util-app.c"
}


static gboolean boxes_copy_file_co (BoxesCopyFileData* _data_) {
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	switch (_data_->_state_) {
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 0:
#line 4328 "util-app.c"
		goto _state_0;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		case 1:
#line 4332 "util-app.c"
		goto _state_1;
		default:
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_assert_not_reached ();
#line 4337 "util-app.c"
	}
	_state_0:
	{
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp0_ = _data_->src_file;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp1_ = NULL;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp1_ = g_file_get_path (_data_->_tmp0_);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp2_ = _data_->_tmp1_;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp3_ = _data_->dest_file;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = NULL;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp4_ = g_file_get_path (_data_->_tmp3_);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp5_ = _data_->_tmp4_;
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_debug ("util-app.vala:393: Copying '%s' to '%s'..", _data_->_tmp2_, _data_->_tmp5_);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->_tmp5_);
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->_tmp2_);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp6_ = _data_->src_file;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp7_ = _data_->dest_file;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp8_ = _data_->cancellable;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_state_ = 1;
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_file_copy_async (_data_->_tmp6_, _data_->_tmp7_, 0, G_PRIORITY_DEFAULT, _data_->_tmp8_, NULL, NULL, boxes_copy_file_ready, _data_);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 4375 "util-app.c"
		_state_1:
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_file_copy_finish (_data_->_tmp6_, _data_->_res_, &_data_->_inner_error_);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_inner_error_ != NULL) {
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			if (g_error_matches (_data_->_inner_error_, G_IO_ERROR, G_IO_ERROR_EXISTS)) {
#line 4383 "util-app.c"
				goto __catch86_g_io_error_exists;
			}
			goto __finally86;
		}
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp9_ = _data_->src_file;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp10_ = NULL;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp10_ = g_file_get_path (_data_->_tmp9_);
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp11_ = _data_->_tmp10_;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp12_ = _data_->dest_file;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp13_ = NULL;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp13_ = g_file_get_path (_data_->_tmp12_);
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_tmp14_ = _data_->_tmp13_;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_debug ("util-app.vala:395: Copied '%s' to '%s'.", _data_->_tmp11_, _data_->_tmp14_);
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->_tmp14_);
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_free0 (_data_->_tmp11_);
#line 4410 "util-app.c"
	}
	goto __finally86;
	__catch86_g_io_error_exists:
	{
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_data_->_inner_error_ = NULL;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_error_free0 (_data_->_error_);
#line 4421 "util-app.c"
	}
	__finally86:
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_inner_error_ != NULL) {
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_error_free (_data_->_inner_error_);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		if (_data_->_state_ == 0) {
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4434 "util-app.c"
		} else {
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4438 "util-app.c"
		}
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_object_unref (_data_->_async_result);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		return FALSE;
#line 4444 "util-app.c"
	}
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_data_->_state_ == 0) {
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4450 "util-app.c"
	} else {
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4454 "util-app.c"
	}
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_object_unref (_data_->_async_result);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return FALSE;
#line 4460 "util-app.c"
}


GType boxes_cpu_arch_compatibility_get_type (void) {
	static volatile gsize boxes_cpu_arch_compatibility_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_cpu_arch_compatibility_type_id__volatile)) {
		static const GEnumValue values[] = {{BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE, "BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE", "incompatible"}, {BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL, "BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL", "identical"}, {BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE, "BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE", "compatible"}, {BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE, "BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE", "compatible-diff-wordsize"}, {0, NULL, NULL}};
		GType boxes_cpu_arch_compatibility_type_id;
		boxes_cpu_arch_compatibility_type_id = g_enum_register_static ("BoxesCPUArchCompatibility", values);
		g_once_init_leave (&boxes_cpu_arch_compatibility_type_id__volatile, boxes_cpu_arch_compatibility_type_id);
	}
	return boxes_cpu_arch_compatibility_type_id__volatile;
}


BoxesCPUArchCompatibility boxes_compare_cpu_architectures (const gchar* arch1, const gchar* arch2) {
	BoxesCPUArchCompatibility result = 0;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	GQuark _tmp3_ = 0U;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	static GQuark _tmp2_label0 = 0;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	static GQuark _tmp2_label1 = 0;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	static GQuark _tmp2_label2 = 0;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	static GQuark _tmp2_label3 = 0;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	static GQuark _tmp2_label4 = 0;
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (arch1 != NULL, 0);
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (arch2 != NULL, 0);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = arch2;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = _tmp0_;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_from_static_string ("i386")))) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		switch (0) {
#line 4505 "util-app.c"
			default:
			{
				const gchar* _tmp4_;
				const gchar* _tmp5_;
				GQuark _tmp7_ = 0U;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp6_label0 = 0;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp6_label1 = 0;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp6_label2 = 0;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp6_label3 = 0;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp6_label4 = 0;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp4_ = arch1;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp5_ = _tmp4_;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp7_ = (NULL == _tmp5_) ? 0 : g_quark_from_string (_tmp5_);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (_tmp7_ == ((0 != _tmp6_label0) ? _tmp6_label0 : (_tmp6_label0 = g_quark_from_static_string ("i386")))) {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4531 "util-app.c"
						default:
						{
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL;
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4538 "util-app.c"
						}
					}
				} else if (((_tmp7_ == ((0 != _tmp6_label1) ? _tmp6_label1 : (_tmp6_label1 = g_quark_from_static_string ("i486")))) || (_tmp7_ == ((0 != _tmp6_label2) ? _tmp6_label2 : (_tmp6_label2 = g_quark_from_static_string ("i586"))))) || (_tmp7_ == ((0 != _tmp6_label3) ? _tmp6_label3 : (_tmp6_label3 = g_quark_from_static_string ("i686"))))) {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4544 "util-app.c"
						default:
						{
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE;
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4551 "util-app.c"
						}
					}
				} else if (_tmp7_ == ((0 != _tmp6_label4) ? _tmp6_label4 : (_tmp6_label4 = g_quark_from_static_string ("x86_64")))) {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4557 "util-app.c"
						default:
						{
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4564 "util-app.c"
						}
					}
				} else {
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4570 "util-app.c"
						default:
						{
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4577 "util-app.c"
						}
					}
				}
			}
		}
	} else if (_tmp3_ == ((0 != _tmp2_label1) ? _tmp2_label1 : (_tmp2_label1 = g_quark_from_static_string ("i486")))) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		switch (0) {
#line 4586 "util-app.c"
			default:
			{
				const gchar* _tmp8_;
				const gchar* _tmp9_;
				GQuark _tmp11_ = 0U;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp10_label0 = 0;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp10_label1 = 0;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp10_label2 = 0;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp10_label3 = 0;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp8_ = arch1;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp9_ = _tmp8_;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp11_ = (NULL == _tmp9_) ? 0 : g_quark_from_string (_tmp9_);
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (_tmp11_ == ((0 != _tmp10_label0) ? _tmp10_label0 : (_tmp10_label0 = g_quark_from_static_string ("i486")))) {
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4610 "util-app.c"
						default:
						{
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL;
#line 427 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4617 "util-app.c"
						}
					}
				} else if ((_tmp11_ == ((0 != _tmp10_label1) ? _tmp10_label1 : (_tmp10_label1 = g_quark_from_static_string ("i586")))) || (_tmp11_ == ((0 != _tmp10_label2) ? _tmp10_label2 : (_tmp10_label2 = g_quark_from_static_string ("i686"))))) {
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4623 "util-app.c"
						default:
						{
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4630 "util-app.c"
						}
					}
				} else if (_tmp11_ == ((0 != _tmp10_label3) ? _tmp10_label3 : (_tmp10_label3 = g_quark_from_static_string ("x86_64")))) {
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4636 "util-app.c"
						default:
						{
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE;
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4643 "util-app.c"
						}
					}
				} else {
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4649 "util-app.c"
						default:
						{
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE;
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4656 "util-app.c"
						}
					}
				}
			}
		}
	} else if (_tmp3_ == ((0 != _tmp2_label2) ? _tmp2_label2 : (_tmp2_label2 = g_quark_from_static_string ("i586")))) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		switch (0) {
#line 4665 "util-app.c"
			default:
			{
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				GQuark _tmp15_ = 0U;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp14_label0 = 0;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp14_label1 = 0;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp14_label2 = 0;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp12_ = arch1;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp13_ = _tmp12_;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp15_ = (NULL == _tmp13_) ? 0 : g_quark_from_string (_tmp13_);
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (_tmp15_ == ((0 != _tmp14_label0) ? _tmp14_label0 : (_tmp14_label0 = g_quark_from_static_string ("i586")))) {
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4687 "util-app.c"
						default:
						{
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL;
#line 439 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4694 "util-app.c"
						}
					}
				} else if (_tmp15_ == ((0 != _tmp14_label1) ? _tmp14_label1 : (_tmp14_label1 = g_quark_from_static_string ("i686")))) {
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4700 "util-app.c"
						default:
						{
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4707 "util-app.c"
						}
					}
				} else if (_tmp15_ == ((0 != _tmp14_label2) ? _tmp14_label2 : (_tmp14_label2 = g_quark_from_static_string ("x86_64")))) {
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4713 "util-app.c"
						default:
						{
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE;
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4720 "util-app.c"
						}
					}
				} else {
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4726 "util-app.c"
						default:
						{
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4733 "util-app.c"
						}
					}
				}
			}
		}
	} else if (_tmp3_ == ((0 != _tmp2_label3) ? _tmp2_label3 : (_tmp2_label3 = g_quark_from_static_string ("i686")))) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		switch (0) {
#line 4742 "util-app.c"
			default:
			{
				const gchar* _tmp16_;
				const gchar* _tmp17_;
				GQuark _tmp19_ = 0U;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp18_label0 = 0;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp18_label1 = 0;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp16_ = arch1;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp17_ = _tmp16_;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp19_ = (NULL == _tmp17_) ? 0 : g_quark_from_string (_tmp17_);
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (_tmp19_ == ((0 != _tmp18_label0) ? _tmp18_label0 : (_tmp18_label0 = g_quark_from_static_string ("i686")))) {
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4762 "util-app.c"
						default:
						{
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4769 "util-app.c"
						}
					}
				} else if (_tmp19_ == ((0 != _tmp18_label1) ? _tmp18_label1 : (_tmp18_label1 = g_quark_from_static_string ("x86_64")))) {
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4775 "util-app.c"
						default:
						{
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4782 "util-app.c"
						}
					}
				} else {
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4788 "util-app.c"
						default:
						{
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE;
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4795 "util-app.c"
						}
					}
				}
			}
		}
	} else if (_tmp3_ == ((0 != _tmp2_label4) ? _tmp2_label4 : (_tmp2_label4 = g_quark_from_static_string ("x86_64")))) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		switch (0) {
#line 4804 "util-app.c"
			default:
			{
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				GQuark _tmp23_ = 0U;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				static GQuark _tmp22_label0 = 0;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp20_ = arch1;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp21_ = _tmp20_;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp23_ = (NULL == _tmp21_) ? 0 : g_quark_from_string (_tmp21_);
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (_tmp23_ == ((0 != _tmp22_label0) ? _tmp22_label0 : (_tmp22_label0 = g_quark_from_static_string ("x86_64")))) {
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4822 "util-app.c"
						default:
						{
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL;
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4829 "util-app.c"
						}
					}
				} else {
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4835 "util-app.c"
						default:
						{
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE;
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4842 "util-app.c"
						}
					}
				}
			}
		}
	} else if (_tmp3_ == g_quark_from_string (OSINFO_ARCHITECTURE_ALL)) {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		switch (0) {
#line 4851 "util-app.c"
			default:
			{
#line 464 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				result = BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE;
#line 464 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				return result;
#line 4858 "util-app.c"
			}
		}
	} else {
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		switch (0) {
#line 4864 "util-app.c"
			default:
			{
				const gchar* _tmp24_;
				const gchar* _tmp25_;
				GQuark _tmp27_ = 0U;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp24_ = arch1;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp25_ = _tmp24_;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				_tmp27_ = (NULL == _tmp25_) ? 0 : g_quark_from_string (_tmp25_);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
				if (_tmp27_ == g_quark_from_string (OSINFO_ARCHITECTURE_ALL)) {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4880 "util-app.c"
						default:
						{
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4887 "util-app.c"
						}
					}
				} else {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
					switch (0) {
#line 4893 "util-app.c"
						default:
						{
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							result = BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE;
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
							return result;
#line 4900 "util-app.c"
						}
					}
				}
			}
		}
	}
}


gchar* boxes_uuid_generate (void) {
	gchar* result = NULL;
	guchar* _tmp0_ = NULL;
	guchar* udn;
	gint udn_length1;
	gint _udn_size_;
	guchar* _tmp1_ = NULL;
	guchar* id;
	gint id_length1;
	gint _id_size_;
	gchar* _tmp2_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = g_new0 (guchar, 50);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	udn = _tmp0_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	udn_length1 = 50;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_udn_size_ = udn_length1;
#line 485 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = g_new0 (guchar, 16);
#line 485 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	id = _tmp1_;
#line 485 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	id_length1 = 16;
#line 485 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_id_size_ = id_length1;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	uuid_generate (id);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	uuid_unparse (id, udn);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = g_strdup ((const gchar*) udn);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = _tmp2_;
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	id = (g_free (id), NULL);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	udn = (g_free (udn), NULL);
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 4951 "util-app.c"
}


GIcon* boxes_create_symbolic_emblem (const gchar* name) {
	GIcon* result = NULL;
	const gchar* _tmp0_;
	GIcon* _tmp1_ = NULL;
	GIcon* pix;
	GIcon* _tmp2_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp0_ = name;
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp1_ = gd_create_symbolic_icon (_tmp0_, 128);
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	pix = _tmp1_;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	_tmp2_ = pix;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	if (_tmp2_ == NULL) {
#line 4973 "util-app.c"
		const gchar* _tmp3_;
		GThemedIcon* _tmp4_;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp3_ = name;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_tmp4_ = (GThemedIcon*) g_themed_icon_new (_tmp3_);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		_g_object_unref0 (pix);
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
		pix = (GIcon*) _tmp4_;
#line 4984 "util-app.c"
	}
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	result = pix;
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/util-app.vala"
	return result;
#line 4990 "util-app.c"
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if ((array != NULL) && (destroy_func != NULL)) {
#line 4997 "util-app.c"
		int i;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			if (((gpointer*) array)[i] != NULL) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
				destroy_func (((gpointer*) array)[i]);
#line 5005 "util-app.c"
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_vala_array_destroy (array, array_length, destroy_func);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_free (array);
#line 5017 "util-app.c"
}



