/* vm-creator.c generated by valac 0.18.0.79-04df6, the Vala compiler
 * generated from vm-creator.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <clutter/clutter.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libcommon.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <clutter-gtk/clutter-gtk.h>
#include <glib/gi18n-lib.h>
#include <osinfo/osinfo.h>
#include <gobject/gvaluecollector.h>


#define BOXES_TYPE_VM_CREATOR (boxes_vm_creator_get_type ())
#define BOXES_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreator))
#define BOXES_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))
#define BOXES_IS_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_CREATOR))
#define BOXES_IS_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_CREATOR))
#define BOXES_VM_CREATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;
typedef struct _BoxesVMCreatorPrivate BoxesVMCreatorPrivate;

#define BOXES_TYPE_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#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_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_MACHINE (boxes_machine_get_type ())
#define BOXES_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE, BoxesMachine))
#define BOXES_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE, BoxesMachineClass))
#define BOXES_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE))
#define BOXES_IS_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE))
#define BOXES_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE, BoxesMachineClass))

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

#define BOXES_TYPE_LIBVIRT_MACHINE (boxes_libvirt_machine_get_type ())
#define BOXES_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachine))
#define BOXES_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))
#define BOXES_IS_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_IS_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_LIBVIRT_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;
typedef struct _BoxesUIPrivate BoxesUIPrivate;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _BoxesCollectionItemPrivate BoxesCollectionItemPrivate;

#define BOXES_TYPE_IPROPERTIES_PROVIDER (boxes_iproperties_provider_get_type ())
#define BOXES_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProvider))
#define BOXES_IS_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER))
#define BOXES_IPROPERTIES_PROVIDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProviderIface))

typedef struct _BoxesIPropertiesProvider BoxesIPropertiesProvider;
typedef struct _BoxesIPropertiesProviderIface BoxesIPropertiesProviderIface;

#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

#define BOXES_TYPE_PROPERTY (boxes_property_get_type ())
#define BOXES_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTY, BoxesProperty))
#define BOXES_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTY, BoxesPropertyClass))
#define BOXES_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTY))
#define BOXES_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTY))
#define BOXES_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTY, BoxesPropertyClass))

typedef struct _BoxesProperty BoxesProperty;
typedef struct _BoxesPropertyClass BoxesPropertyClass;
typedef struct _BoxesMachinePrivate BoxesMachinePrivate;

#define BOXES_TYPE_MACHINE_ACTOR (boxes_machine_actor_get_type ())
#define BOXES_MACHINE_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActor))
#define BOXES_MACHINE_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActorClass))
#define BOXES_IS_MACHINE_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE_ACTOR))
#define BOXES_IS_MACHINE_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE_ACTOR))
#define BOXES_MACHINE_ACTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE_ACTOR, BoxesMachineActorClass))

typedef struct _BoxesMachineActor BoxesMachineActor;
typedef struct _BoxesMachineActorClass BoxesMachineActorClass;
typedef struct _BoxesLibvirtMachinePrivate BoxesLibvirtMachinePrivate;
#define _boxes_vm_creator_unref0(var) ((var == NULL) ? NULL : (var = (boxes_vm_creator_unref (var), NULL)))
typedef struct _Block41Data Block41Data;
typedef struct _Block42Data Block42Data;

#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;
#define _g_free0(var) (var = (g_free (var), NULL))
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_SEARCHBAR (boxes_searchbar_get_type ())
#define BOXES_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbar))
#define BOXES_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))
#define BOXES_IS_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SEARCHBAR))
#define BOXES_IS_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SEARCHBAR))
#define BOXES_SEARCHBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

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

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

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

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

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

typedef struct _BoxesRevealer BoxesRevealer;
typedef struct _BoxesRevealerClass BoxesRevealerClass;

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

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

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

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

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

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

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

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

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

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

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

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;

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

typedef struct _BoxesCollectionFilter BoxesCollectionFilter;
typedef struct _BoxesCollectionFilterClass BoxesCollectionFilterClass;

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

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;
typedef struct _BoxesVmCreatorCreateVmData BoxesVmCreatorCreateVmData;
typedef struct _Block43Data Block43Data;

#define BOXES_TYPE_UNATTENDED_INSTALLER (boxes_unattended_installer_get_type ())
#define BOXES_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller))
#define BOXES_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))
#define BOXES_IS_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_IS_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_UNATTENDED_INSTALLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))

typedef struct _BoxesUnattendedInstaller BoxesUnattendedInstaller;
typedef struct _BoxesUnattendedInstallerClass BoxesUnattendedInstallerClass;
typedef struct _Block44Data Block44Data;

#define BOXES_MACHINE_TYPE_MACHINE_STATE (boxes_machine_machine_state_get_type ())
#define __vala_GVirStorageVolInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirStorageVolInfo_free (var), NULL)))
typedef struct _Block45Data Block45Data;
typedef struct _Block46Data Block46Data;
typedef struct _BoxesVmCreatorUpdateInstallProgressData BoxesVmCreatorUpdateInstallProgressData;
typedef struct _BoxesVmCreatorCreateDomainNameAndTitleFromMediaData BoxesVmCreatorCreateDomainNameAndTitleFromMediaData;
typedef struct _BoxesVmCreatorCreateTargetVolumeData BoxesVmCreatorCreateTargetVolumeData;
typedef struct _BoxesVmCreatorGetStoragePoolData BoxesVmCreatorGetStoragePoolData;
typedef struct _BoxesParamSpecVMCreator BoxesParamSpecVMCreator;

struct _BoxesVMCreator {
	GTypeInstance parent_instance;
	volatile int ref_count;
	BoxesVMCreatorPrivate * priv;
};

struct _BoxesVMCreatorClass {
	GTypeClass parent_class;
	void (*finalize) (BoxesVMCreator *self);
};

struct _BoxesVMCreatorPrivate {
	BoxesInstallerMedia* _install_media;
	gulong state_changed_id;
	guint _num_reboots;
	gint prev_progress;
	gboolean updating_install_progress;
};

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

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

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

struct _BoxesCollectionItem {
	BoxesUI parent_instance;
	BoxesCollectionItemPrivate * priv;
};

struct _BoxesCollectionItemClass {
	BoxesUIClass parent_class;
};

typedef enum  {
	BOXES_PROPERTIES_PAGE_LOGIN,
	BOXES_PROPERTIES_PAGE_SYSTEM,
	BOXES_PROPERTIES_PAGE_DISPLAY,
	BOXES_PROPERTIES_PAGE_DEVICES,
	BOXES_PROPERTIES_PAGE_LAST
} BoxesPropertiesPage;

struct _BoxesIPropertiesProviderIface {
	GTypeInterface parent_iface;
	GList* (*get_properties) (BoxesIPropertiesProvider* self, BoxesPropertiesPage page);
};

struct _BoxesMachine {
	BoxesCollectionItem parent_instance;
	BoxesMachinePrivate * priv;
	BoxesMachineActor* machine_actor;
	BoxesCollectionSource* source;
	BoxesDisplayConfig* config;
	gboolean stay_on_display;
	gboolean suspend_at_exit;
	gboolean deleted;
};

struct _BoxesMachineClass {
	BoxesCollectionItemClass parent_class;
	void (*take_screenshot) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GdkPixbuf* (*take_screenshot_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	GList* (*get_properties) (BoxesMachine* self, BoxesPropertiesPage page);
	void (*connect_display) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*connect_display_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*disconnect_display) (BoxesMachine* self);
	void (*delete) (BoxesMachine* self, gboolean by_user);
};

struct _BoxesLibvirtMachine {
	BoxesMachine parent_instance;
	BoxesLibvirtMachinePrivate * priv;
	GVirDomain* domain;
	GVirConfigDomain* domain_config;
	GVirConnection* connection;
	GVirStorageVol* storage_volume;
	BoxesVMCreator* vm_creator;
	gdouble* cpu_stats;
	gint cpu_stats_length1;
	gint _cpu_stats_size_;
	gdouble* io_stats;
	gint io_stats_length1;
	gint _io_stats_size_;
	gdouble* net_stats;
	gint net_stats_length1;
	gint _net_stats_size_;
};

struct _BoxesLibvirtMachineClass {
	BoxesMachineClass parent_class;
};

struct _Block41Data {
	int _ref_count_;
	BoxesVMCreator * self;
	gpointer _async_data_;
};

struct _Block42Data {
	int _ref_count_;
	Block41Data * _data41_;
	gulong handler;
};

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

struct _BoxesAppClass {
	BoxesUIClass parent_class;
};

struct _BoxesInstallerMedia {
	GObject parent_instance;
	BoxesInstallerMediaPrivate * priv;
	OsinfoOs* os;
	OsinfoResources* resources;
	OsinfoMedia* os_media;
	gchar* label;
	gchar* device_file;
	gchar* mount_point;
	gboolean from_image;
};

struct _BoxesInstallerMediaClass {
	GObjectClass parent_class;
	void (*set_direct_boot_params) (BoxesInstallerMedia* self, GVirConfigDomainOs* os);
	void (*prepare_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_, GError** error);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_vbox) (BoxesInstallerMedia* self, GtkVBox* setup_vbox);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
	gboolean (*get_supports_virtio_disk) (BoxesInstallerMedia* self);
};

typedef enum  {
	BOXES_VM_CONFIGURATOR_ERROR_NO_GUEST_CAPS
} BoxesVMConfiguratorError;
#define BOXES_VM_CONFIGURATOR_ERROR boxes_vm_configurator_error_quark ()
struct _BoxesVmCreatorCreateVmData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesVMCreator* self;
	GCancellable* cancellable;
	BoxesLibvirtMachine* result;
	Block41Data* _data41_;
	GVirConnection* _tmp0_;
	GVirConnection* _tmp1_;
	Block42Data* _data42_;
	BoxesApp* _tmp2_;
	gulong _tmp3_;
	gchar* title;
	gchar* name;
	gchar* _tmp4_;
	gchar* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	const gchar* _tmp7_;
	GCancellable* _tmp8_;
	GError* _error_;
	BoxesApp* _tmp9_;
	BoxesNotificationbar* _tmp10_;
	const gchar* _tmp11_;
	GError* _tmp12_;
	const gchar* _tmp13_;
	const gchar* _tmp14_;
	BoxesInstallerMedia* _tmp15_;
	OsinfoResources* _tmp16_;
	gint64 _tmp17_;
	gint64 _tmp18_;
	GVirStorageVol* _tmp19_;
	GVirStorageVol* volume;
	GVirConnection* _tmp20_;
	GVirConnection* _tmp21_;
	GCancellable* _tmp22_;
	GVirConfigCapabilities* _tmp23_;
	GVirConfigCapabilities* caps;
	GVirStorageVol* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	BoxesInstallerMedia* _tmp27_;
	GVirConfigCapabilities* _tmp28_;
	GVirConfigDomain* _tmp29_;
	GVirConfigDomain* config;
	GVirConfigDomain* _tmp30_;
	const gchar* _tmp31_;
	GVirConfigDomain* _tmp32_;
	const gchar* _tmp33_;
	GVirConnection* _tmp34_;
	GVirConnection* _tmp35_;
	GVirConfigDomain* _tmp36_;
	GVirDomain* _tmp37_;
	GVirDomain* domain;
	BoxesApp* _tmp38_;
	BoxesApp* _tmp39_;
	BoxesCollectionSource* _tmp40_;
	BoxesCollectionSource* _tmp41_;
	BoxesApp* _tmp42_;
	GVirConnection* _tmp43_;
	GVirConnection* _tmp44_;
	GVirDomain* _tmp45_;
	BoxesLibvirtMachine* _tmp46_;
	BoxesLibvirtMachine* _tmp47_;
	GError * _inner_error_;
};

struct _Block43Data {
	int _ref_count_;
	BoxesVMCreator * self;
	BoxesLibvirtMachine* machine;
};

struct _Block44Data {
	int _ref_count_;
	Block43Data * _data43_;
	gulong signal_id;
};

typedef enum  {
	BOXES_MACHINE_MACHINE_STATE_UNKNOWN,
	BOXES_MACHINE_MACHINE_STATE_STOPPED,
	BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED,
	BOXES_MACHINE_MACHINE_STATE_RUNNING,
	BOXES_MACHINE_MACHINE_STATE_PAUSED,
	BOXES_MACHINE_MACHINE_STATE_SAVED,
	BOXES_MACHINE_MACHINE_STATE_SLEEPING
} BoxesMachineMachineState;

struct _Block45Data {
	int _ref_count_;
	BoxesVMCreator * self;
	BoxesLibvirtMachine* machine;
};

struct _Block46Data {
	int _ref_count_;
	BoxesVMCreator * self;
	gint progress;
	BoxesLibvirtMachine* machine;
	gpointer _async_data_;
};

struct _BoxesVmCreatorUpdateInstallProgressData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesVMCreator* self;
	BoxesLibvirtMachine* machine;
	Block46Data* _data46_;
	BoxesLibvirtMachine* _tmp0_;
	GError* _error_;
	BoxesLibvirtMachine* _tmp1_;
	GVirStorageVol* _tmp2_;
	const gchar* _tmp3_;
	GError* _tmp4_;
	const gchar* _tmp5_;
	BoxesLibvirtMachine* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	GError * _inner_error_;
};

struct _BoxesVmCreatorCreateDomainNameAndTitleFromMediaData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesVMCreator* self;
	gchar* name;
	gchar* title;
	BoxesInstallerMedia* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* base_title;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	const gchar* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	OsinfoOs* _tmp7_;
	BoxesInstallerMedia* _tmp8_;
	OsinfoOs* _tmp9_;
	const gchar* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	const gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* base_name;
	gchar* _tmp15_;
	GVirStoragePool* _tmp16_;
	GVirStoragePool* pool;
	gint i;
	gboolean _tmp17_;
	gboolean _tmp18_;
	gint _tmp19_;
	gboolean _tmp20_;
	gboolean _tmp21_;
	GVirConnection* _tmp22_;
	GVirConnection* _tmp23_;
	const gchar* _tmp24_;
	GVirDomain* _tmp25_;
	GVirDomain* _tmp26_;
	gboolean _tmp27_;
	GVirConnection* _tmp28_;
	GVirConnection* _tmp29_;
	const gchar* _tmp30_;
	GVirDomain* _tmp31_;
	GVirDomain* _tmp32_;
	gboolean _tmp33_;
	const gchar* _tmp34_;
	GVirStorageVol* _tmp35_;
	GVirStorageVol* _tmp36_;
	gboolean _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	gint _tmp40_;
	gchar* _tmp41_;
	gchar* _tmp42_;
	gchar* _tmp43_;
	const gchar* _tmp44_;
	gchar* _tmp45_;
	gchar* _tmp46_;
	gint _tmp47_;
	gchar* _tmp48_;
	gchar* _tmp49_;
	gchar* _tmp50_;
	GError * _inner_error_;
};

struct _BoxesVmCreatorCreateTargetVolumeData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesVMCreator* self;
	gchar* name;
	gint64 storage;
	GVirStorageVol* result;
	GVirStoragePool* _tmp0_;
	GVirStoragePool* pool;
	const gchar* _tmp1_;
	gint64 _tmp2_;
	GVirConfigStorageVol* _tmp3_;
	GVirConfigStorageVol* config;
	GVirStoragePool* _tmp4_;
	GVirConfigStorageVol* _tmp5_;
	GVirStorageVol* _tmp6_;
	GVirStorageVol* volume;
	GError * _inner_error_;
};

struct _BoxesVmCreatorGetStoragePoolData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesVMCreator* self;
	GVirStoragePool* result;
	GVirConnection* _tmp0_;
	GVirConnection* _tmp1_;
	GVirStoragePool* _tmp2_;
	GVirStoragePool* pool;
	GVirStoragePool* _tmp3_;
	GVirConfigStoragePool* _tmp4_;
	GVirConfigStoragePool* config;
	GVirConnection* _tmp5_;
	GVirConnection* _tmp6_;
	GVirConfigStoragePool* _tmp7_;
	GVirStoragePool* _tmp8_;
	GVirStoragePool* _tmp9_;
	GVirStoragePool* _tmp10_;
	GVirStoragePool* _tmp11_;
	GVirStoragePool* _tmp12_;
	GError * _inner_error_;
};

struct _BoxesParamSpecVMCreator {
	GParamSpec parent_instance;
};


static gpointer boxes_vm_creator_parent_class = NULL;
extern BoxesApp* boxes_app_app;

gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value, gpointer v_object);
void boxes_value_take_vm_creator (GValue* value, gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
#define BOXES_VM_CREATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorPrivate))
enum  {
	BOXES_VM_CREATOR_DUMMY_PROPERTY
};
#define BOXES_VM_CREATOR_INSTALL_COMPLETE_PERCENT 99
BoxesVMCreator* boxes_vm_creator_new (BoxesInstallerMedia* install_media);
BoxesVMCreator* boxes_vm_creator_construct (GType object_type, BoxesInstallerMedia* install_media);
static void boxes_vm_creator_set_install_media (BoxesVMCreator* self, BoxesInstallerMedia* value);
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
BoxesVMCreator* boxes_vm_creator_new_for_install_completion (BoxesLibvirtMachine* machine);
BoxesVMCreator* boxes_vm_creator_construct_for_install_completion (GType object_type, BoxesLibvirtMachine* machine);
static void boxes_vm_creator_on_machine_state_changed (BoxesVMCreator* self, GObject* object, GParamSpec* pspec);
static void _boxes_vm_creator_on_machine_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType boxes_property_get_type (void) G_GNUC_CONST;
GType boxes_iproperties_provider_get_type (void) G_GNUC_CONST;
GType boxes_machine_actor_get_type (void) G_GNUC_CONST;
static void boxes_vm_creator_update_machine_info (BoxesVMCreator* self, BoxesLibvirtMachine* machine);
static void boxes_vm_creator_create_vm_data_free (gpointer _data);
void boxes_vm_creator_create_vm (BoxesVMCreator* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesLibvirtMachine* boxes_vm_creator_create_vm_finish (BoxesVMCreator* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_vm_creator_create_vm_co (BoxesVmCreatorCreateVmData* _data_);
static Block41Data* block41_data_ref (Block41Data* _data41_);
static void block41_data_unref (void * _userdata_);
static GVirConnection* boxes_vm_creator_get_connection (BoxesVMCreator* self);
static Block42Data* block42_data_ref (Block42Data* _data42_);
static void block42_data_unref (void * _userdata_);
GType boxes_app_get_type (void) G_GNUC_CONST;
static void ___lambda55_ (Block42Data* _data42_);
static void ____lambda55__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_vm_creator_create_domain_name_and_title_from_media (BoxesVMCreator* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_vm_creator_create_domain_name_and_title_from_media_finish (BoxesVMCreator* self, GAsyncResult* _res_, gchar** name, gchar** title, GError** error);
static void boxes_vm_creator_create_vm_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesInstallerMedia* boxes_vm_creator_get_install_media (BoxesVMCreator* self);
void boxes_installer_media_prepare_for_installation (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_installer_media_prepare_for_installation_finish (BoxesInstallerMedia* self, GAsyncResult* _res_, GError** error);
GType boxes_clutter_widget_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_revealer_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
GType boxes_collection_filter_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
void boxes_notificationbar_display_error (BoxesNotificationbar* self, const gchar* message);
static void boxes_vm_creator_create_target_volume (BoxesVMCreator* self, const gchar* name, gint64 storage, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GVirStorageVol* boxes_vm_creator_create_target_volume_finish (BoxesVMCreator* self, GAsyncResult* _res_, GError** error);
GQuark boxes_vm_configurator_error_quark (void);
GVirConfigDomain* boxes_vm_configurator_create_domain_config (BoxesInstallerMedia* install_media, const gchar* target_path, GVirConfigCapabilities* caps, GError** error);
BoxesLibvirtMachine* boxes_app_add_domain (BoxesApp* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GError** error);
BoxesCollectionSource* boxes_app_get_default_source (BoxesApp* self);
GVirConnection* boxes_app_get_default_connection (BoxesApp* self);
void boxes_vm_creator_launch_vm (BoxesVMCreator* self, BoxesLibvirtMachine* machine, GError** error);
static Block43Data* block43_data_ref (Block43Data* _data43_);
static void block43_data_unref (void * _userdata_);
GType boxes_unattended_installer_get_type (void) G_GNUC_CONST;
gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self);
static Block44Data* block44_data_ref (Block44Data* _data44_);
static void block44_data_unref (void * _userdata_);
static void ___lambda59_ (Block44Data* _data44_);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
void boxes_app_select_item (BoxesApp* self, BoxesCollectionItem* item);
void boxes_app_set_fullscreen (BoxesApp* self, gboolean value);
static void ____lambda59__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
gboolean boxes_machine_is_on (BoxesMachine* self);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
GType boxes_machine_machine_state_get_type (void) G_GNUC_CONST;
BoxesMachineMachineState boxes_machine_get_state (BoxesMachine* self);
gboolean boxes_vm_configurator_is_install_config (GVirConfigDomain* domain);
static guint boxes_vm_creator_get_num_reboots (BoxesVMCreator* self);
static void boxes_vm_creator_set_num_reboots (BoxesVMCreator* self, guint value);
static gboolean boxes_vm_creator_guest_installed_os (BoxesVMCreator* self, BoxesLibvirtMachine* machine);
static void boxes_vm_creator_set_post_install_config (BoxesVMCreator* self, BoxesLibvirtMachine* machine);
gboolean boxes_vm_configurator_is_live_config (GVirConfigDomain* domain);
static gboolean boxes_vm_creator_install_trackable (BoxesVMCreator* self);
void boxes_machine_set_info (BoxesMachine* self, const gchar* value);
void boxes_app_delete_machine (BoxesApp* self, BoxesMachine* machine, gboolean by_user);
static void boxes_vm_creator_track_install_progress (BoxesVMCreator* self, BoxesLibvirtMachine* machine);
void boxes_vm_configurator_post_install_setup (GVirConfigDomain* domain);
static gint boxes_vm_creator_get_progress (BoxesVMCreator* self, GVirStorageVol* volume, GError** error);
static void _vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self);
static Block45Data* block45_data_ref (Block45Data* _data45_);
static void block45_data_unref (void * _userdata_);
static gboolean __lambda53_ (Block45Data* _data45_);
static void boxes_vm_creator_update_install_progress (BoxesVMCreator* self, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_vm_creator_update_install_progress_finish (BoxesVMCreator* self, GAsyncResult* _res_);
static gboolean ___lambda53__gsource_func (gpointer self);
static void boxes_vm_creator_update_install_progress_data_free (gpointer _data);
static gboolean boxes_vm_creator_update_install_progress_co (BoxesVmCreatorUpdateInstallProgressData* _data_);
static Block46Data* block46_data_ref (Block46Data* _data46_);
static void block46_data_unref (void * _userdata_);
static void ___lambda54_ (Block46Data* _data46_, GError** error);
static void ____lambda54__boxes_run_in_thread_func (gpointer self, GError** error);
static void boxes_vm_creator_update_install_progress_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
guint64 boxes_installer_media_get_installed_size (BoxesInstallerMedia* self);
static void boxes_vm_creator_create_domain_name_and_title_from_media_data_free (gpointer _data);
static gboolean boxes_vm_creator_create_domain_name_and_title_from_media_co (BoxesVmCreatorCreateDomainNameAndTitleFromMediaData* _data_);
static void boxes_vm_creator_get_storage_pool (BoxesVMCreator* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GVirStoragePool* boxes_vm_creator_get_storage_pool_finish (BoxesVMCreator* self, GAsyncResult* _res_, GError** error);
static void boxes_vm_creator_create_domain_name_and_title_from_media_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_vm_creator_create_target_volume_data_free (gpointer _data);
static gboolean boxes_vm_creator_create_target_volume_co (BoxesVmCreatorCreateTargetVolumeData* _data_);
static void boxes_vm_creator_create_target_volume_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GVirConfigStorageVol* boxes_vm_configurator_create_volume_config (const gchar* name, gint64 storage, GError** error);
static void boxes_vm_creator_get_storage_pool_data_free (gpointer _data);
static gboolean boxes_vm_creator_get_storage_pool_co (BoxesVmCreatorGetStoragePoolData* _data_);
GVirStoragePool* boxes_get_storage_pool (GVirConnection* connection);
GVirConfigStoragePool* boxes_vm_configurator_get_pool_config (GError** error);
static void boxes_vm_creator_get_storage_pool_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_vm_creator_finalize (BoxesVMCreator* obj);


BoxesVMCreator* boxes_vm_creator_construct (GType object_type, BoxesInstallerMedia* install_media) {
	BoxesVMCreator* self = NULL;
	BoxesInstallerMedia* _tmp0_;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (install_media != NULL, NULL);
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = (BoxesVMCreator*) g_type_create_instance (object_type);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = install_media;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_set_install_media (self, _tmp0_);
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return self;
#line 868 "vm-creator.c"
}


BoxesVMCreator* boxes_vm_creator_new (BoxesInstallerMedia* install_media) {
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return boxes_vm_creator_construct (BOXES_TYPE_VM_CREATOR, install_media);
#line 875 "vm-creator.c"
}


static void _boxes_vm_creator_on_machine_state_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_on_machine_state_changed (self, _sender, pspec);
#line 882 "vm-creator.c"
}


static gpointer _boxes_vm_creator_ref0 (gpointer self) {
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return self ? boxes_vm_creator_ref (self) : NULL;
#line 889 "vm-creator.c"
}


BoxesVMCreator* boxes_vm_creator_construct_for_install_completion (GType object_type, BoxesLibvirtMachine* machine) {
	BoxesVMCreator* self = NULL;
	BoxesLibvirtMachine* _tmp0_;
	gulong _tmp1_ = 0UL;
	BoxesLibvirtMachine* _tmp2_;
	BoxesVMCreator* _tmp3_;
	BoxesLibvirtMachine* _tmp4_;
	BoxesLibvirtMachine* _tmp5_;
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = (BoxesVMCreator*) g_type_create_instance (object_type);
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = machine;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = g_signal_connect ((GObject*) _tmp0_, "notify::state", (GCallback) _boxes_vm_creator_on_machine_state_changed_g_object_notify, self);
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self->priv->state_changed_id = _tmp1_;
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = machine;
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = _boxes_vm_creator_ref0 (self);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_boxes_vm_creator_unref0 (_tmp2_->vm_creator);
#line 24 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_->vm_creator = _tmp3_;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp4_ = machine;
#line 25 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_update_machine_info (self, _tmp4_);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp5_ = machine;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_on_machine_state_changed (self, (GObject*) _tmp5_, NULL);
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return self;
#line 929 "vm-creator.c"
}


BoxesVMCreator* boxes_vm_creator_new_for_install_completion (BoxesLibvirtMachine* machine) {
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return boxes_vm_creator_construct_for_install_completion (BOXES_TYPE_VM_CREATOR, machine);
#line 936 "vm-creator.c"
}


static void boxes_vm_creator_create_vm_data_free (gpointer _data) {
	BoxesVmCreatorCreateVmData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->result);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_boxes_vm_creator_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_slice_free (BoxesVmCreatorCreateVmData, _data_);
#line 951 "vm-creator.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return self ? g_object_ref (self) : NULL;
#line 958 "vm-creator.c"
}


void boxes_vm_creator_create_vm (BoxesVMCreator* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesVmCreatorCreateVmData* _data_;
	BoxesVMCreator* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_slice_new0 (BoxesVmCreatorCreateVmData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, boxes_vm_creator_create_vm);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_vm_creator_create_vm_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = _boxes_vm_creator_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->cancellable = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_vm_co (_data_);
#line 987 "vm-creator.c"
}


BoxesLibvirtMachine* boxes_vm_creator_create_vm_finish (BoxesVMCreator* self, GAsyncResult* _res_, GError** error) {
	BoxesLibvirtMachine* result;
	BoxesVmCreatorCreateVmData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return NULL;
#line 998 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = _data_->result;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->result = NULL;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 1008 "vm-creator.c"
}


static Block41Data* block41_data_ref (Block41Data* _data41_) {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data41_->_ref_count_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data41_;
#line 1017 "vm-creator.c"
}


static void block41_data_unref (void * _userdata_) {
	Block41Data* _data41_;
	_data41_ = (Block41Data*) _userdata_;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data41_->_ref_count_)) {
#line 1026 "vm-creator.c"
		BoxesVMCreator * self;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data41_->self;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_boxes_vm_creator_unref0 (self);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block41Data, _data41_);
#line 1034 "vm-creator.c"
	}
}


static Block42Data* block42_data_ref (Block42Data* _data42_) {
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data42_->_ref_count_);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data42_;
#line 1044 "vm-creator.c"
}


static void block42_data_unref (void * _userdata_) {
	Block42Data* _data42_;
	_data42_ = (Block42Data*) _userdata_;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data42_->_ref_count_)) {
#line 1053 "vm-creator.c"
		BoxesVMCreator * self;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data42_->_data41_->self;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data42_->_data41_);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data42_->_data41_ = NULL;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block42Data, _data42_);
#line 1063 "vm-creator.c"
	}
}


static void ___lambda55_ (Block42Data* _data42_) {
	Block41Data* _data41_;
	BoxesVMCreator * self;
	BoxesApp* _tmp0_;
	gulong _tmp1_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data41_ = _data42_->_data41_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = _data41_->self;
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_vm_co (_data41_->_async_data_);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = boxes_app_app;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _data42_->handler;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 1085 "vm-creator.c"
}


static void ____lambda55__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	___lambda55_ (self);
#line 1092 "vm-creator.c"
}


static void boxes_vm_creator_create_vm_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesVmCreatorCreateVmData* _data_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = _user_data_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_source_object_ = source_object;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_res_ = _res_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_vm_co (_data_);
#line 1106 "vm-creator.c"
}


static gboolean boxes_vm_creator_create_vm_co (BoxesVmCreatorCreateVmData* _data_) {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	switch (_data_->_state_) {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 0:
#line 1115 "vm-creator.c"
		goto _state_0;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 1119 "vm-creator.c"
		goto _state_1;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 2:
#line 1123 "vm-creator.c"
		goto _state_2;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 3:
#line 1127 "vm-creator.c"
		goto _state_3;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 4:
#line 1131 "vm-creator.c"
		goto _state_4;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 5:
#line 1135 "vm-creator.c"
		goto _state_5;
		default:
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 1140 "vm-creator.c"
	}
	_state_0:
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data41_ = g_slice_new0 (Block41Data);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data41_->_ref_count_ = 1;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data41_->self = boxes_vm_creator_ref (_data_->self);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data41_->_async_data_ = _data_;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp0_ = boxes_vm_creator_get_connection (_data_->self);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_tmp1_ == NULL) {
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data42_ = g_slice_new0 (Block42Data);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data42_->_ref_count_ = 1;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data42_->_data41_ = block41_data_ref (_data_->_data41_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data42_->handler = (gulong) 0;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp2_ = boxes_app_app;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp3_ = 0UL;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp3_ = g_signal_connect_data ((GObject*) _data_->_tmp2_, "notify::default-connection", (GCallback) ____lambda55__g_object_notify, block42_data_ref (_data_->_data42_), (GClosureNotify) block42_data_unref, 0);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data42_->handler = _data_->_tmp3_;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_state_ = 1;
#line 39 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1177 "vm-creator.c"
		_state_1:
		;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block42_data_unref (_data_->_data42_);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data42_ = NULL;
#line 1184 "vm-creator.c"
	}
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp4_ = NULL;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp5_ = NULL;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_state_ = 2;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_domain_name_and_title_from_media (_data_->self, boxes_vm_creator_create_vm_ready, _data_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 1196 "vm-creator.c"
	_state_2:
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_domain_name_and_title_from_media_finish (_data_->self, _data_->_res_, &_data_->_tmp4_, &_data_->_tmp5_, &_data_->_inner_error_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->name);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->name = _data_->_tmp4_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->title);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->title = _data_->_tmp5_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1226 "vm-creator.c"
		} else {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1230 "vm-creator.c"
		}
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1236 "vm-creator.c"
	}
	{
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp6_ = _data_->self->priv->_install_media;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp7_ = _data_->name;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp8_ = _data_->cancellable;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_state_ = 3;
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_installer_media_prepare_for_installation (_data_->_tmp6_, _data_->_tmp7_, _data_->_tmp8_, boxes_vm_creator_create_vm_ready, _data_);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1251 "vm-creator.c"
		_state_3:
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_installer_media_prepare_for_installation_finish (_data_->_tmp6_, _data_->_res_, &_data_->_inner_error_);
#line 45 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1257 "vm-creator.c"
			goto __catch65_g_error;
		}
	}
	goto __finally65;
	__catch65_g_error:
	{
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_inner_error_ = NULL;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp9_ = boxes_app_app;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp10_ = _data_->_tmp9_->notificationbar;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp11_ = NULL;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp11_ = _ ("An error occurred during installation preparation. Express Install dis" \
"abled.");
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_notificationbar_display_error (_data_->_tmp10_, _data_->_tmp11_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp12_ = _data_->_error_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp13_ = _data_->_tmp12_->message;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_debug ("vm-creator.vala:48: Disabling unattended installation: %s", _data_->_tmp13_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_error_free0 (_data_->_error_);
#line 1286 "vm-creator.c"
	}
	__finally65:
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1307 "vm-creator.c"
		} else {
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1311 "vm-creator.c"
		}
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1317 "vm-creator.c"
	}
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp14_ = _data_->name;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp15_ = _data_->self->priv->_install_media;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp16_ = _data_->_tmp15_->resources;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp17_ = osinfo_resources_get_storage (_data_->_tmp16_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp18_ = _data_->_tmp17_;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_state_ = 4;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_target_volume (_data_->self, _data_->_tmp14_, _data_->_tmp18_, boxes_vm_creator_create_vm_ready, _data_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 1335 "vm-creator.c"
	_state_4:
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp19_ = NULL;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp19_ = boxes_vm_creator_create_target_volume_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->volume = _data_->_tmp19_;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1361 "vm-creator.c"
		} else {
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1365 "vm-creator.c"
		}
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1371 "vm-creator.c"
	}
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp20_ = boxes_vm_creator_get_connection (_data_->self);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp21_ = _data_->_tmp20_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp22_ = _data_->cancellable;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_state_ = 5;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	gvir_connection_get_capabilities_async (_data_->_tmp21_, _data_->_tmp22_, boxes_vm_creator_create_vm_ready, _data_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 1385 "vm-creator.c"
	_state_5:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp23_ = NULL;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp23_ = gvir_connection_get_capabilities_finish (_data_->_tmp21_, _data_->_res_, &_data_->_inner_error_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->caps = _data_->_tmp23_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->volume);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1413 "vm-creator.c"
		} else {
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1417 "vm-creator.c"
		}
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1423 "vm-creator.c"
	}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp24_ = _data_->volume;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp25_ = NULL;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp25_ = gvir_storage_vol_get_path (_data_->_tmp24_, &_data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp26_ = _data_->_tmp25_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->caps);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->volume);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1455 "vm-creator.c"
		} else {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1459 "vm-creator.c"
		}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1465 "vm-creator.c"
	}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp27_ = _data_->self->priv->_install_media;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp28_ = _data_->caps;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp29_ = NULL;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp29_ = boxes_vm_configurator_create_domain_config (_data_->_tmp27_, _data_->_tmp26_, _data_->_tmp28_, &_data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->config = _data_->_tmp29_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->caps);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->volume);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1499 "vm-creator.c"
		} else {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1503 "vm-creator.c"
		}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1509 "vm-creator.c"
	}
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp30_ = _data_->config;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp31_ = _data_->name;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	gvir_config_domain_set_name (_data_->_tmp30_, _data_->_tmp31_);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp32_ = _data_->config;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp33_ = _data_->title;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	gvir_config_domain_set_title (_data_->_tmp32_, _data_->_tmp33_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp34_ = boxes_vm_creator_get_connection (_data_->self);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp35_ = _data_->_tmp34_;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp36_ = _data_->config;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp37_ = NULL;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp37_ = gvir_connection_create_domain (_data_->_tmp35_, _data_->_tmp36_, &_data_->_inner_error_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->domain = _data_->_tmp37_;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->config);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->caps);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->volume);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1559 "vm-creator.c"
		} else {
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1563 "vm-creator.c"
		}
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1569 "vm-creator.c"
	}
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp38_ = boxes_app_app;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp39_ = boxes_app_app;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp40_ = boxes_app_get_default_source (_data_->_tmp39_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp41_ = _data_->_tmp40_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp42_ = boxes_app_app;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp43_ = boxes_app_get_default_connection (_data_->_tmp42_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp44_ = _data_->_tmp43_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp45_ = _data_->domain;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp46_ = NULL;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp46_ = boxes_app_add_domain (_data_->_tmp38_, _data_->_tmp41_, _data_->_tmp44_, _data_->_tmp45_, &_data_->_inner_error_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp47_ = _data_->_tmp46_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->domain);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->config);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->caps);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->volume);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block41_data_unref (_data_->_data41_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data41_ = NULL;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1619 "vm-creator.c"
		} else {
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1623 "vm-creator.c"
		}
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 1629 "vm-creator.c"
	}
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->result = _data_->_tmp47_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->domain);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->config);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->caps);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->volume);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->name);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->title);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	block41_data_unref (_data_->_data41_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data41_ = NULL;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1653 "vm-creator.c"
	} else {
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1657 "vm-creator.c"
	}
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->domain);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->config);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->caps);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->volume);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->name);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->title);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	block41_data_unref (_data_->_data41_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data41_ = NULL;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1683 "vm-creator.c"
	} else {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1687 "vm-creator.c"
	}
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 1693 "vm-creator.c"
}


static Block43Data* block43_data_ref (Block43Data* _data43_) {
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data43_->_ref_count_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data43_;
#line 1702 "vm-creator.c"
}


static void block43_data_unref (void * _userdata_) {
	Block43Data* _data43_;
	_data43_ = (Block43Data*) _userdata_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data43_->_ref_count_)) {
#line 1711 "vm-creator.c"
		BoxesVMCreator * self;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data43_->self;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data43_->machine);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_boxes_vm_creator_unref0 (self);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block43Data, _data43_);
#line 1721 "vm-creator.c"
	}
}


static Block44Data* block44_data_ref (Block44Data* _data44_) {
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data44_->_ref_count_);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data44_;
#line 1731 "vm-creator.c"
}


static void block44_data_unref (void * _userdata_) {
	Block44Data* _data44_;
	_data44_ = (Block44Data*) _userdata_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data44_->_ref_count_)) {
#line 1740 "vm-creator.c"
		BoxesVMCreator * self;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data44_->_data43_->self;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block43_data_unref (_data44_->_data43_);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data44_->_data43_ = NULL;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block44Data, _data44_);
#line 1750 "vm-creator.c"
	}
}


static void ___lambda59_ (Block44Data* _data44_) {
	Block43Data* _data43_;
	BoxesVMCreator * self;
	BoxesApp* _tmp0_;
	BoxesUIState _tmp1_;
	BoxesUIState _tmp2_;
	BoxesApp* _tmp3_;
	BoxesLibvirtMachine* _tmp4_;
	BoxesApp* _tmp5_;
	BoxesApp* _tmp6_;
	gulong _tmp7_;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data43_ = _data44_->_data43_;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = _data43_->self;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = boxes_app_app;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp0_);
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = _tmp1_;
#line 67 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp2_ != BOXES_UI_STATE_COLLECTION) {
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 1780 "vm-creator.c"
	}
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = boxes_app_app;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp4_ = _data43_->machine;
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_app_select_item (_tmp3_, (BoxesCollectionItem*) _tmp4_);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp5_ = boxes_app_app;
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_app_set_fullscreen (_tmp5_, TRUE);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp6_ = boxes_app_app;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp7_ = _data44_->signal_id;
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_signal_handler_disconnect ((GObject*) _tmp6_, _tmp7_);
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return;
#line 1800 "vm-creator.c"
}


static void ____lambda59__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	___lambda59_ (self);
#line 1807 "vm-creator.c"
}


void boxes_vm_creator_launch_vm (BoxesVMCreator* self, BoxesLibvirtMachine* machine, GError** error) {
	Block43Data* _data43_;
	BoxesLibvirtMachine* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	gboolean _tmp2_ = FALSE;
	BoxesInstallerMedia* _tmp3_;
	gboolean _tmp7_;
	BoxesLibvirtMachine* _tmp12_;
	gulong _tmp13_ = 0UL;
	BoxesLibvirtMachine* _tmp14_;
	BoxesVMCreator* _tmp15_;
	BoxesLibvirtMachine* _tmp16_;
	GError * _inner_error_ = NULL;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (self != NULL);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (machine != NULL);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data43_ = g_slice_new0 (Block43Data);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data43_->_ref_count_ = 1;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data43_->self = boxes_vm_creator_ref (self);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = machine;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data43_->machine);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data43_->machine = _tmp1_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = self->priv->_install_media;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, BOXES_TYPE_UNATTENDED_INSTALLER)) {
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp2_ = TRUE;
#line 1848 "vm-creator.c"
	} else {
		BoxesInstallerMedia* _tmp4_;
		gboolean _tmp5_;
		gboolean _tmp6_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp4_ = self->priv->_install_media;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp5_ = boxes_unattended_installer_get_express_install (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, BOXES_TYPE_UNATTENDED_INSTALLER) ? ((BoxesUnattendedInstaller*) _tmp4_) : NULL);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp6_ = _tmp5_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp2_ = !_tmp6_;
#line 1861 "vm-creator.c"
	}
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp7_ = _tmp2_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp7_) {
#line 1867 "vm-creator.c"
		Block44Data* _data44_;
		BoxesApp* _tmp8_;
		gulong _tmp9_ = 0UL;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data44_ = g_slice_new0 (Block44Data);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data44_->_ref_count_ = 1;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data44_->_data43_ = block43_data_ref (_data43_);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data44_->signal_id = (gulong) 0;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp8_ = boxes_app_app;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp9_ = g_signal_connect_data ((GObject*) _tmp8_, "notify::ui-state", (GCallback) ____lambda59__g_object_notify, block44_data_ref (_data44_), (GClosureNotify) block44_data_unref, 0);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data44_->signal_id = _tmp9_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block44_data_unref (_data44_);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data44_ = NULL;
#line 1889 "vm-creator.c"
	} else {
		BoxesLibvirtMachine* _tmp10_;
		GVirDomain* _tmp11_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp10_ = _data43_->machine;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp11_ = _tmp10_->domain;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_domain_start (_tmp11_, (guint) 0, &_inner_error_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_inner_error_ != NULL) {
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_propagate_error (error, _inner_error_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			block43_data_unref (_data43_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_data43_ = NULL;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return;
#line 1909 "vm-creator.c"
		}
	}
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp12_ = _data43_->machine;
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp13_ = g_signal_connect ((GObject*) _tmp12_, "notify::state", (GCallback) _boxes_vm_creator_on_machine_state_changed_g_object_notify, self);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self->priv->state_changed_id = _tmp13_;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp14_ = _data43_->machine;
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp15_ = _boxes_vm_creator_ref0 (self);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_boxes_vm_creator_unref0 (_tmp14_->vm_creator);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp14_->vm_creator = _tmp15_;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp16_ = _data43_->machine;
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_update_machine_info (self, _tmp16_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	block43_data_unref (_data43_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data43_ = NULL;
#line 1934 "vm-creator.c"
}


static void boxes_vm_creator_on_machine_state_changed (BoxesVMCreator* self, GObject* object, GParamSpec* pspec) {
	GObject* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesLibvirtMachine* machine;
	BoxesLibvirtMachine* _tmp2_;
	gboolean _tmp3_ = FALSE;
	BoxesLibvirtMachine* _tmp4_;
	GVirDomain* _tmp5_;
	GVirDomain* _tmp6_;
	GVirDomain* domain;
	BoxesLibvirtMachine* _tmp7_;
	gboolean _tmp8_;
	BoxesLibvirtMachine* _tmp14_;
	BoxesMachineMachineState _tmp15_;
	BoxesMachineMachineState _tmp16_;
	BoxesLibvirtMachine* _tmp17_;
	BoxesMachineMachineState _tmp18_;
	BoxesMachineMachineState _tmp19_;
	guint _tmp27_;
	BoxesLibvirtMachine* _tmp28_;
	gboolean _tmp29_ = FALSE;
	GError * _inner_error_ = NULL;
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (self != NULL);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (object != NULL);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = object;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, BOXES_TYPE_LIBVIRT_MACHINE) ? ((BoxesLibvirtMachine*) _tmp0_) : NULL);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	machine = _tmp1_;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = machine;
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = boxes_machine_is_on ((BoxesMachine*) _tmp2_);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp3_) {
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (machine);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 1980 "vm-creator.c"
	}
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp4_ = machine;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp5_ = _tmp4_->domain;
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 90 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	domain = _tmp6_;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp7_ = machine;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp8_ = ((BoxesMachine*) _tmp7_)->deleted;
#line 92 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp8_) {
#line 1996 "vm-creator.c"
		BoxesLibvirtMachine* _tmp9_;
		gulong _tmp10_;
		BoxesLibvirtMachine* _tmp11_;
		const gchar* _tmp12_;
		const gchar* _tmp13_;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp9_ = machine;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp10_ = self->priv->state_changed_id;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_signal_handler_disconnect ((GObject*) _tmp9_, _tmp10_);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp11_ = machine;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp12_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp11_);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp13_ = _tmp12_;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_debug ("vm-creator.vala:94: '%s' was deleted, no need for post-installation se" \
"tup on it", _tmp13_);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (domain);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (machine);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 2022 "vm-creator.c"
	}
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp14_ = machine;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp15_ = boxes_machine_get_state ((BoxesMachine*) _tmp14_);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp16_ = _tmp15_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp16_ == BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED) {
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (domain);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (machine);
#line 99 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 2038 "vm-creator.c"
	}
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp17_ = machine;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp18_ = boxes_machine_get_state ((BoxesMachine*) _tmp17_);
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp19_ = _tmp18_;
#line 101 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp19_ == BOXES_MACHINE_MACHINE_STATE_SAVED) {
#line 2048 "vm-creator.c"
		BoxesLibvirtMachine* _tmp20_;
		const gchar* _tmp21_;
		const gchar* _tmp22_;
		BoxesLibvirtMachine* _tmp23_;
		GVirConfigDomain* _tmp24_;
		gboolean _tmp25_ = FALSE;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp20_ = machine;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp21_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp20_);
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp22_ = _tmp21_;
#line 102 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_debug ("vm-creator.vala:102: '%s' has saved state, no need for post-installati" \
"on setup on it", _tmp22_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp23_ = machine;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp24_ = _tmp23_->domain_config;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp25_ = boxes_vm_configurator_is_install_config (_tmp24_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_tmp25_) {
#line 2071 "vm-creator.c"
			GVirDomain* _tmp26_;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp26_ = domain;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			gvir_domain_start_async (_tmp26_, (guint) 0, NULL, NULL, NULL);
#line 2077 "vm-creator.c"
		}
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (domain);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (machine);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 2085 "vm-creator.c"
	}
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp27_ = self->priv->_num_reboots;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_set_num_reboots (self, _tmp27_ + 1);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp28_ = machine;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp29_ = boxes_vm_creator_guest_installed_os (self, _tmp28_);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp29_) {
#line 2097 "vm-creator.c"
		BoxesLibvirtMachine* _tmp30_;
		BoxesLibvirtMachine* _tmp36_;
		gulong _tmp37_;
		gboolean _tmp38_ = FALSE;
		BoxesLibvirtMachine* _tmp39_;
		GVirConfigDomain* _tmp40_;
		gboolean _tmp41_ = FALSE;
		gboolean _tmp43_;
		BoxesLibvirtMachine* _tmp45_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp30_ = machine;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_set_post_install_config (self, _tmp30_);
#line 2111 "vm-creator.c"
		{
			GVirDomain* _tmp31_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp31_ = domain;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			gvir_domain_start (_tmp31_, (guint) 0, &_inner_error_);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_inner_error_ != NULL) {
#line 2120 "vm-creator.c"
				goto __catch66_g_error;
			}
		}
		goto __finally66;
		__catch66_g_error:
		{
			GError* _error_ = NULL;
			GVirDomain* _tmp32_;
			const gchar* _tmp33_ = NULL;
			GError* _tmp34_;
			const gchar* _tmp35_;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_error_ = _inner_error_;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_inner_error_ = NULL;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp32_ = domain;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp33_ = gvir_domain_get_name (_tmp32_);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp34_ = _error_;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp35_ = _tmp34_->message;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_warning ("vm-creator.vala:118: Failed to start domain '%s': %s", _tmp33_, _tmp35_);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_error_free0 (_error_);
#line 2148 "vm-creator.c"
		}
		__finally66:
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_inner_error_ != NULL) {
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (domain);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (machine);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.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 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_clear_error (&_inner_error_);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return;
#line 2163 "vm-creator.c"
		}
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp36_ = machine;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp37_ = self->priv->state_changed_id;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_signal_handler_disconnect ((GObject*) _tmp36_, _tmp37_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp39_ = machine;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp40_ = _tmp39_->domain_config;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp41_ = boxes_vm_configurator_is_live_config (_tmp40_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_tmp41_) {
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp38_ = TRUE;
#line 2181 "vm-creator.c"
		} else {
			gboolean _tmp42_ = FALSE;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp42_ = boxes_vm_creator_install_trackable (self);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp38_ = !_tmp42_;
#line 2188 "vm-creator.c"
		}
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp43_ = _tmp38_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_tmp43_) {
#line 2194 "vm-creator.c"
			BoxesLibvirtMachine* _tmp44_;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp44_ = machine;
#line 122 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			boxes_machine_set_info ((BoxesMachine*) _tmp44_, NULL);
#line 2200 "vm-creator.c"
		}
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp45_ = machine;
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_boxes_vm_creator_unref0 (_tmp45_->vm_creator);
#line 123 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp45_->vm_creator = NULL;
#line 2208 "vm-creator.c"
	} else {
		BoxesLibvirtMachine* _tmp46_;
		GVirConfigDomain* _tmp47_;
		gboolean _tmp48_ = FALSE;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp46_ = machine;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp47_ = _tmp46_->domain_config;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp48_ = boxes_vm_configurator_is_live_config (_tmp47_);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_tmp48_) {
#line 2221 "vm-creator.c"
			BoxesLibvirtMachine* _tmp49_;
			gulong _tmp50_;
			BoxesApp* _tmp51_;
			BoxesLibvirtMachine* _tmp52_;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp49_ = machine;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp50_ = self->priv->state_changed_id;
#line 127 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_signal_handler_disconnect ((GObject*) _tmp49_, _tmp50_);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp51_ = boxes_app_app;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp52_ = machine;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			boxes_app_delete_machine (_tmp51_, (BoxesMachine*) _tmp52_, TRUE);
#line 2238 "vm-creator.c"
		} else {
			{
				GVirDomain* _tmp53_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp53_ = domain;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				gvir_domain_start (_tmp53_, (guint) 0, &_inner_error_);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				if (_inner_error_ != NULL) {
#line 2248 "vm-creator.c"
					goto __catch67_g_error;
				}
			}
			goto __finally67;
			__catch67_g_error:
			{
				GError* _error_ = NULL;
				GVirDomain* _tmp54_;
				const gchar* _tmp55_ = NULL;
				GError* _tmp56_;
				const gchar* _tmp57_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_error_ = _inner_error_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_inner_error_ = NULL;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp54_ = domain;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp55_ = gvir_domain_get_name (_tmp54_);
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp56_ = _error_;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp57_ = _tmp56_->message;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_warning ("vm-creator.vala:133: Failed to start domain '%s': %s", _tmp55_, _tmp57_);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_error_free0 (_error_);
#line 2276 "vm-creator.c"
			}
			__finally67:
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_inner_error_ != NULL) {
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_object_unref0 (domain);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_object_unref0 (machine);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.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 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_clear_error (&_inner_error_);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				return;
#line 2291 "vm-creator.c"
			}
		}
	}
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (domain);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (machine);
#line 2299 "vm-creator.c"
}


static void boxes_vm_creator_update_machine_info (BoxesVMCreator* self, BoxesLibvirtMachine* machine) {
	BoxesLibvirtMachine* _tmp0_;
	GVirConfigDomain* _tmp1_;
	gboolean _tmp2_ = FALSE;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (self != NULL);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (machine != NULL);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = machine;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _tmp0_->domain_config;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = boxes_vm_configurator_is_install_config (_tmp1_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp2_) {
#line 2319 "vm-creator.c"
		BoxesLibvirtMachine* _tmp3_;
		const gchar* _tmp4_ = NULL;
		BoxesLibvirtMachine* _tmp5_;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp3_ = machine;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp4_ = _ ("Installing...");
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_machine_set_info ((BoxesMachine*) _tmp3_, _tmp4_);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp5_ = machine;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_track_install_progress (self, _tmp5_);
#line 2333 "vm-creator.c"
	} else {
		BoxesLibvirtMachine* _tmp6_;
		const gchar* _tmp7_ = NULL;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp6_ = machine;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp7_ = _ ("Live");
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_machine_set_info ((BoxesMachine*) _tmp6_, _tmp7_);
#line 2343 "vm-creator.c"
	}
}


static void boxes_vm_creator_set_post_install_config (BoxesVMCreator* self, BoxesLibvirtMachine* machine) {
	BoxesLibvirtMachine* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	GError * _inner_error_ = NULL;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (self != NULL);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (machine != NULL);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = machine;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp0_);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = _tmp1_;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_debug ("vm-creator.vala:148: Setting post-installation configuration on '%s'", _tmp2_);
#line 2365 "vm-creator.c"
	{
		BoxesLibvirtMachine* _tmp3_;
		GVirDomain* _tmp4_;
		GVirConfigDomain* _tmp5_ = NULL;
		GVirConfigDomain* config;
		GVirConfigDomain* _tmp6_;
		BoxesLibvirtMachine* _tmp7_;
		GVirDomain* _tmp8_;
		GVirConfigDomain* _tmp9_;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp3_ = machine;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp4_ = _tmp3_->domain;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp5_ = gvir_domain_get_config (_tmp4_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		config = _tmp5_;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_inner_error_ != NULL) {
#line 2385 "vm-creator.c"
			goto __catch68_g_error;
		}
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp6_ = config;
#line 151 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_configurator_post_install_setup (_tmp6_);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp7_ = machine;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp8_ = _tmp7_->domain;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp9_ = config;
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_domain_set_config (_tmp8_, _tmp9_, &_inner_error_);
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_inner_error_ != NULL) {
#line 152 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (config);
#line 2404 "vm-creator.c"
			goto __catch68_g_error;
		}
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (config);
#line 2409 "vm-creator.c"
	}
	goto __finally68;
	__catch68_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp10_;
		const gchar* _tmp11_;
		const gchar* _tmp12_;
		GError* _tmp13_;
		const gchar* _tmp14_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_error_ = _inner_error_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_inner_error_ = NULL;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp10_ = machine;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp11_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp10_);
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp12_ = _tmp11_;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp13_ = _error_;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp14_ = _tmp13_->message;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_warning ("vm-creator.vala:154: Failed to set post-install configuration on '%s':" \
" %s", _tmp12_, _tmp14_);
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_error_free0 (_error_);
#line 2438 "vm-creator.c"
	}
	__finally68:
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_inner_error_ != NULL) {
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.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 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_clear_error (&_inner_error_);
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 2449 "vm-creator.c"
	}
}


static void _vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self) {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_boxed_free (gvir_storage_vol_info_get_type (), self);
#line 2457 "vm-creator.c"
}


static gboolean boxes_vm_creator_guest_installed_os (BoxesVMCreator* self, BoxesLibvirtMachine* machine) {
	gboolean result = FALSE;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	GVirStorageVol* volume;
	GError * _inner_error_ = NULL;
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 159 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (machine != NULL, FALSE);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = machine;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _tmp0_->storage_volume;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	volume = _tmp2_;
#line 2480 "vm-creator.c"
	{
		gboolean _tmp3_ = FALSE;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp3_ = boxes_vm_creator_install_trackable (self);
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_tmp3_) {
#line 2487 "vm-creator.c"
			GVirStorageVol* _tmp4_;
			gint _tmp5_ = 0;
			gint _tmp6_;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp4_ = volume;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp5_ = boxes_vm_creator_get_progress (self, _tmp4_, &_inner_error_);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp6_ = _tmp5_;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_inner_error_ != NULL) {
#line 2499 "vm-creator.c"
				goto __catch69_g_error;
			}
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			result = _tmp6_ == BOXES_VM_CREATOR_INSTALL_COMPLETE_PERCENT;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (volume);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return result;
#line 2508 "vm-creator.c"
		} else {
			gboolean _tmp7_ = FALSE;
			gboolean _tmp8_ = FALSE;
			BoxesInstallerMedia* _tmp9_;
			gboolean _tmp12_;
			gboolean _tmp16_;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp9_ = self->priv->_install_media;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_tmp9_ != NULL) {
#line 2519 "vm-creator.c"
				BoxesInstallerMedia* _tmp10_;
				OsinfoMedia* _tmp11_;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp10_ = self->priv->_install_media;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp11_ = _tmp10_->os_media;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp8_ = _tmp11_ != NULL;
#line 2528 "vm-creator.c"
			} else {
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp8_ = FALSE;
#line 2532 "vm-creator.c"
			}
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp12_ = _tmp8_;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_tmp12_) {
#line 2538 "vm-creator.c"
				BoxesLibvirtMachine* _tmp13_;
				GVirConfigDomain* _tmp14_;
				gboolean _tmp15_ = FALSE;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp13_ = machine;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp14_ = _tmp13_->domain_config;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp15_ = boxes_vm_configurator_is_install_config (_tmp14_);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp7_ = _tmp15_;
#line 2550 "vm-creator.c"
			} else {
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp7_ = FALSE;
#line 2554 "vm-creator.c"
			}
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_tmp16_ = _tmp7_;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_tmp16_) {
#line 2560 "vm-creator.c"
				guint _tmp17_;
				BoxesInstallerMedia* _tmp18_;
				OsinfoMedia* _tmp19_;
				gint _tmp20_ = 0;
				gint _tmp21_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp17_ = self->priv->_num_reboots;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp18_ = self->priv->_install_media;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp19_ = _tmp18_->os_media;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_object_get (_tmp19_, "installer-reboots", &_tmp20_, NULL);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp21_ = _tmp20_;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				result = _tmp17_ == ((guint) _tmp21_);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_object_unref0 (volume);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				return result;
#line 2582 "vm-creator.c"
			} else {
				GVirStorageVol* _tmp22_;
				GVirStorageVolInfo* _tmp23_ = NULL;
				GVirStorageVolInfo* info;
				GVirStorageVolInfo* _tmp24_;
				guint64 _tmp25_;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp22_ = volume;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp23_ = gvir_storage_vol_get_info (_tmp22_, &_inner_error_);
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				info = _tmp23_;
#line 170 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				if (_inner_error_ != NULL) {
#line 2597 "vm-creator.c"
					goto __catch69_g_error;
				}
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp24_ = info;
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp25_ = _tmp24_->allocation;
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				result = _tmp25_ >= ((guint64) OSINFO_MEBIBYTES);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				__vala_GVirStorageVolInfo_free0 (info);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_object_unref0 (volume);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				return result;
#line 2612 "vm-creator.c"
			}
		}
	}
	goto __finally69;
	__catch69_g_error:
	{
		GError* _error_ = NULL;
		GVirStorageVol* _tmp26_;
		const gchar* _tmp27_ = NULL;
		GError* _tmp28_;
		const gchar* _tmp29_;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_error_ = _inner_error_;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_inner_error_ = NULL;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp26_ = volume;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp27_ = gvir_storage_vol_get_name (_tmp26_);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp28_ = _error_;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp29_ = _tmp28_->message;
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_warning ("vm-creator.vala:176: Failed to get information from volume '%s': %s", _tmp27_, _tmp29_);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		result = FALSE;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_error_free0 (_error_);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (volume);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return result;
#line 2646 "vm-creator.c"
	}
	__finally69:
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (volume);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.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 162 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_clear_error (&_inner_error_);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 2657 "vm-creator.c"
}


static Block45Data* block45_data_ref (Block45Data* _data45_) {
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data45_->_ref_count_);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data45_;
#line 2666 "vm-creator.c"
}


static void block45_data_unref (void * _userdata_) {
	Block45Data* _data45_;
	_data45_ = (Block45Data*) _userdata_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data45_->_ref_count_)) {
#line 2675 "vm-creator.c"
		BoxesVMCreator * self;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data45_->self;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data45_->machine);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_boxes_vm_creator_unref0 (self);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block45Data, _data45_);
#line 2685 "vm-creator.c"
	}
}


static gboolean __lambda53_ (Block45Data* _data45_) {
	BoxesVMCreator * self;
	gboolean result = FALSE;
	gint _tmp0_;
	gboolean _tmp2_;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = _data45_->self;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = self->priv->prev_progress;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp0_ == 100) {
#line 2701 "vm-creator.c"
		BoxesLibvirtMachine* _tmp1_;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp1_ = _data45_->machine;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_machine_set_info ((BoxesMachine*) _tmp1_, NULL);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		result = FALSE;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return result;
#line 2711 "vm-creator.c"
	}
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = self->priv->updating_install_progress;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (!_tmp2_) {
#line 2717 "vm-creator.c"
		BoxesLibvirtMachine* _tmp3_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp3_ = _data45_->machine;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_update_install_progress (self, _tmp3_, NULL, NULL);
#line 2723 "vm-creator.c"
	}
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = TRUE;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 2729 "vm-creator.c"
}


static gboolean ___lambda53__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda53_ (self);
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 2738 "vm-creator.c"
}


static void boxes_vm_creator_track_install_progress (BoxesVMCreator* self, BoxesLibvirtMachine* machine) {
	Block45Data* _data45_;
	BoxesLibvirtMachine* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	gboolean _tmp2_ = FALSE;
	BoxesLibvirtMachine* _tmp3_;
	GVirStorageVol* _tmp4_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (self != NULL);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (machine != NULL);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data45_ = g_slice_new0 (Block45Data);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data45_->_ref_count_ = 1;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data45_->self = boxes_vm_creator_ref (self);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = machine;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data45_->machine);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data45_->machine = _tmp1_;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = boxes_vm_creator_install_trackable (self);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (!_tmp2_) {
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block45_data_unref (_data45_);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data45_ = NULL;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 2777 "vm-creator.c"
	}
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = _data45_->machine;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp4_ = _tmp3_->storage_volume;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (_tmp4_ != NULL);
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 6, ___lambda53__gsource_func, block45_data_ref (_data45_), block45_data_unref);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	block45_data_unref (_data45_);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data45_ = NULL;
#line 2791 "vm-creator.c"
}


static void boxes_vm_creator_update_install_progress_data_free (gpointer _data) {
	BoxesVmCreatorUpdateInstallProgressData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_boxes_vm_creator_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_slice_free (BoxesVmCreatorUpdateInstallProgressData, _data_);
#line 2802 "vm-creator.c"
}


static void boxes_vm_creator_update_install_progress (BoxesVMCreator* self, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesVmCreatorUpdateInstallProgressData* _data_;
	BoxesVMCreator* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_slice_new0 (BoxesVmCreatorUpdateInstallProgressData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, boxes_vm_creator_update_install_progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_vm_creator_update_install_progress_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = _boxes_vm_creator_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = machine;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->machine);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->machine = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_update_install_progress_co (_data_);
#line 2831 "vm-creator.c"
}


static void boxes_vm_creator_update_install_progress_finish (BoxesVMCreator* self, GAsyncResult* _res_) {
	BoxesVmCreatorUpdateInstallProgressData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2839 "vm-creator.c"
}


static Block46Data* block46_data_ref (Block46Data* _data46_) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data46_->_ref_count_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data46_;
#line 2848 "vm-creator.c"
}


static void block46_data_unref (void * _userdata_) {
	Block46Data* _data46_;
	_data46_ = (Block46Data*) _userdata_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data46_->_ref_count_)) {
#line 2857 "vm-creator.c"
		BoxesVMCreator * self;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data46_->self;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data46_->machine);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_boxes_vm_creator_unref0 (self);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block46Data, _data46_);
#line 2867 "vm-creator.c"
	}
}


static void ___lambda54_ (Block46Data* _data46_, GError** error) {
	BoxesVMCreator * self;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	gint _tmp2_ = 0;
	gint _tmp3_;
	GError * _inner_error_ = NULL;
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = _data46_->self;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = _data46_->machine;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _tmp0_->storage_volume;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = boxes_vm_creator_get_progress (self, _tmp1_, &_inner_error_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = _tmp2_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_inner_error_ != NULL) {
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_propagate_error (error, _inner_error_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 2895 "vm-creator.c"
	}
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data46_->progress = _tmp3_;
#line 2899 "vm-creator.c"
}


static void ____lambda54__boxes_run_in_thread_func (gpointer self, GError** error) {
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	___lambda54_ (self, error);
#line 2906 "vm-creator.c"
}


static void boxes_vm_creator_update_install_progress_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesVmCreatorUpdateInstallProgressData* _data_;
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = _user_data_;
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_source_object_ = source_object;
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_res_ = _res_;
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_update_install_progress_co (_data_);
#line 2920 "vm-creator.c"
}


static gboolean boxes_vm_creator_update_install_progress_co (BoxesVmCreatorUpdateInstallProgressData* _data_) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	switch (_data_->_state_) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 0:
#line 2929 "vm-creator.c"
		goto _state_0;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 2933 "vm-creator.c"
		goto _state_1;
		default:
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 2938 "vm-creator.c"
	}
	_state_0:
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data46_ = g_slice_new0 (Block46Data);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data46_->_ref_count_ = 1;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data46_->self = boxes_vm_creator_ref (_data_->self);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp0_ = _data_->machine;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->_data46_->machine);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data46_->machine = _data_->_tmp0_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data46_->_async_data_ = _data_;
#line 204 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self->priv->updating_install_progress = TRUE;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data46_->progress = 0;
#line 2959 "vm-creator.c"
	{
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_state_ = 1;
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_run_in_thread (____lambda54__boxes_run_in_thread_func, block46_data_ref (_data_->_data46_), block46_data_unref, NULL, boxes_vm_creator_update_install_progress_ready, _data_);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 2967 "vm-creator.c"
		_state_1:
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_run_in_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_inner_error_ != NULL) {
#line 2973 "vm-creator.c"
			goto __catch70_g_error;
		}
	}
	goto __finally70;
	__catch70_g_error:
	{
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_inner_error_ = NULL;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp1_ = _data_->_data46_->machine;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp2_ = _data_->_tmp1_->storage_volume;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp3_ = NULL;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp3_ = gvir_storage_vol_get_name (_data_->_tmp2_);
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp4_ = _data_->_error_;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp5_ = _data_->_tmp4_->message;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_warning ("vm-creator.vala:212: Failed to get information from volume '%s': %s", _data_->_tmp3_, _data_->_tmp5_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_error_free0 (_data_->_error_);
#line 3000 "vm-creator.c"
	}
	__finally70:
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block46_data_unref (_data_->_data46_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data46_ = NULL;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.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 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_clear_error (&_data_->_inner_error_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 3015 "vm-creator.c"
	}
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_data46_->progress < 0) {
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block46_data_unref (_data_->_data46_);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data46_ = NULL;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3027 "vm-creator.c"
		} else {
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3031 "vm-creator.c"
		}
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 3037 "vm-creator.c"
	}
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp6_ = _data_->_data46_->machine;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp7_ = NULL;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp7_ = ngettext ("%d%% Installed", "%d%% Installed", (gulong) _data_->_data46_->progress);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp8_ = NULL;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp8_ = g_strdup_printf (_data_->_tmp7_, _data_->_data46_->progress);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_machine_set_info ((BoxesMachine*) _data_->_tmp6_, _data_->_tmp9_);
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->_tmp9_);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self->priv->prev_progress = _data_->_data46_->progress;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self->priv->updating_install_progress = FALSE;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	block46_data_unref (_data_->_data46_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data46_ = NULL;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3067 "vm-creator.c"
	} else {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3071 "vm-creator.c"
	}
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 3077 "vm-creator.c"
}


static gboolean boxes_vm_creator_install_trackable (BoxesVMCreator* self) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	BoxesInstallerMedia* _tmp1_;
	gboolean _tmp5_;
#line 225 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = self->priv->_install_media;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp1_ != NULL) {
#line 3092 "vm-creator.c"
		BoxesInstallerMedia* _tmp2_;
		guint64 _tmp3_;
		guint64 _tmp4_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp2_ = self->priv->_install_media;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp3_ = boxes_installer_media_get_installed_size (_tmp2_);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp4_ = _tmp3_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp0_ = _tmp4_ > ((guint64) 0);
#line 3104 "vm-creator.c"
	} else {
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp0_ = FALSE;
#line 3108 "vm-creator.c"
	}
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp5_ = _tmp0_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = _tmp5_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 3116 "vm-creator.c"
}


static gint boxes_vm_creator_get_progress (BoxesVMCreator* self, GVirStorageVol* volume, GError** error) {
	gint result = 0;
	GVirStorageVol* _tmp0_;
	GVirStorageVolInfo* _tmp1_ = NULL;
	GVirStorageVolInfo* volume_info;
	guint64 _tmp2_;
	BoxesInstallerMedia* _tmp3_;
	guint64 _tmp4_;
	guint64 _tmp5_;
	gint percent;
	gint _tmp6_;
	gint _tmp7_ = 0;
	gint _tmp8_;
	GError * _inner_error_ = NULL;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (volume != NULL, 0);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = volume;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = gvir_storage_vol_get_info (_tmp0_, &_inner_error_);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	volume_info = _tmp1_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_inner_error_ != NULL) {
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_propagate_error (error, _inner_error_);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return 0;
#line 3150 "vm-creator.c"
	}
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = volume_info->allocation;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = self->priv->_install_media;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp4_ = boxes_installer_media_get_installed_size (_tmp3_);
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp5_ = _tmp4_;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	percent = (gint) ((_tmp2_ * 100) / _tmp5_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp6_ = percent;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp7_ = CLAMP (_tmp6_, 0, BOXES_VM_CREATOR_INSTALL_COMPLETE_PERCENT);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	percent = _tmp7_;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp8_ = percent;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_tmp8_ == BOXES_VM_CREATOR_INSTALL_COMPLETE_PERCENT) {
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		percent = 100;
#line 3174 "vm-creator.c"
	}
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = percent;
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 241 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 3182 "vm-creator.c"
}


static void boxes_vm_creator_create_domain_name_and_title_from_media_data_free (gpointer _data) {
	BoxesVmCreatorCreateDomainNameAndTitleFromMediaData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_boxes_vm_creator_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_slice_free (BoxesVmCreatorCreateDomainNameAndTitleFromMediaData, _data_);
#line 3193 "vm-creator.c"
}


static void boxes_vm_creator_create_domain_name_and_title_from_media (BoxesVMCreator* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesVmCreatorCreateDomainNameAndTitleFromMediaData* _data_;
	BoxesVMCreator* _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_slice_new0 (BoxesVmCreatorCreateDomainNameAndTitleFromMediaData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, boxes_vm_creator_create_domain_name_and_title_from_media);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_vm_creator_create_domain_name_and_title_from_media_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = _boxes_vm_creator_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_domain_name_and_title_from_media_co (_data_);
#line 3212 "vm-creator.c"
}


static void boxes_vm_creator_create_domain_name_and_title_from_media_finish (BoxesVMCreator* self, GAsyncResult* _res_, gchar** name, gchar** title, GError** error) {
	BoxesVmCreatorCreateDomainNameAndTitleFromMediaData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 3222 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (name) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		*name = _data_->name;
#line 3230 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 3234 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->name = NULL;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (title) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		*title = _data_->title;
#line 3242 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 3246 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->title = NULL;
#line 3250 "vm-creator.c"
}


static void boxes_vm_creator_create_domain_name_and_title_from_media_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesVmCreatorCreateDomainNameAndTitleFromMediaData* _data_;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = _user_data_;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_source_object_ = source_object;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_res_ = _res_;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_domain_name_and_title_from_media_co (_data_);
#line 3264 "vm-creator.c"
}


static gboolean boxes_vm_creator_create_domain_name_and_title_from_media_co (BoxesVmCreatorCreateDomainNameAndTitleFromMediaData* _data_) {
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	switch (_data_->_state_) {
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 0:
#line 3273 "vm-creator.c"
		goto _state_0;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 3277 "vm-creator.c"
		goto _state_1;
		default:
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 3282 "vm-creator.c"
	}
	_state_0:
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp0_ = _data_->self->priv->_install_media;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp1_ = _data_->_tmp0_->label;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp2_ = g_strdup (_data_->_tmp1_);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->base_title = _data_->_tmp2_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp3_ = _data_->base_title;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp4_ = g_strdup (_data_->_tmp3_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->title);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->title = _data_->_tmp4_;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp6_ = _data_->self->priv->_install_media;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp7_ = _data_->_tmp6_->os;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_tmp7_ != NULL) {
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp8_ = _data_->self->priv->_install_media;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp9_ = _data_->_tmp8_->os;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp10_ = osinfo_product_get_short_id ((OsinfoProduct*) _data_->_tmp9_);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp11_ = _data_->_tmp10_;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp5_ = _data_->_tmp11_;
#line 3317 "vm-creator.c"
	} else {
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp12_ = _data_->base_title;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp5_ = _data_->_tmp12_;
#line 3323 "vm-creator.c"
	}
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp13_ = _data_->_tmp5_;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp14_ = g_strdup (_data_->_tmp13_);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->base_name = _data_->_tmp14_;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp15_ = g_strdup (_data_->base_name);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->name);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->name = _data_->_tmp15_;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_state_ = 1;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_get_storage_pool (_data_->self, boxes_vm_creator_create_domain_name_and_title_from_media_ready, _data_);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 3343 "vm-creator.c"
	_state_1:
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp16_ = NULL;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp16_ = boxes_vm_creator_get_storage_pool_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->pool = _data_->_tmp16_;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->base_name);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->base_title);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3365 "vm-creator.c"
		} else {
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3369 "vm-creator.c"
		}
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 3375 "vm-creator.c"
	}
	{
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->i = 2;
#line 3380 "vm-creator.c"
		{
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_data_->_tmp17_ = TRUE;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			while (TRUE) {
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp18_ = _data_->_tmp17_;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				if (!_data_->_tmp18_) {
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp19_ = _data_->i;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->i = _data_->_tmp19_ + 1;
#line 3394 "vm-creator.c"
				}
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp17_ = FALSE;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp22_ = boxes_vm_creator_get_connection (_data_->self);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp23_ = _data_->_tmp22_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp24_ = _data_->name;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp25_ = NULL;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp25_ = gvir_connection_find_domain_by_name (_data_->_tmp23_, _data_->_tmp24_);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp26_ = _data_->_tmp25_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp27_ = _data_->_tmp26_ != NULL;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_object_unref0 (_data_->_tmp26_);
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				if (_data_->_tmp27_) {
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp21_ = TRUE;
#line 3418 "vm-creator.c"
				} else {
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp28_ = boxes_vm_creator_get_connection (_data_->self);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp29_ = _data_->_tmp28_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp30_ = _data_->title;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp31_ = NULL;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp31_ = gvir_connection_find_domain_by_name (_data_->_tmp29_, _data_->_tmp30_);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp32_ = _data_->_tmp31_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp21_ = _data_->_tmp32_ != NULL;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_g_object_unref0 (_data_->_tmp32_);
#line 3436 "vm-creator.c"
				}
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp33_ = _data_->_tmp21_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				if (_data_->_tmp33_) {
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp20_ = TRUE;
#line 3444 "vm-creator.c"
				} else {
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp34_ = _data_->name;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp35_ = NULL;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp35_ = gvir_storage_pool_get_volume (_data_->pool, _data_->_tmp34_);
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp36_ = _data_->_tmp35_;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_data_->_tmp20_ = _data_->_tmp36_ != NULL;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					_g_object_unref0 (_data_->_tmp36_);
#line 3458 "vm-creator.c"
				}
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp37_ = _data_->_tmp20_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				if (!_data_->_tmp37_) {
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
					break;
#line 3466 "vm-creator.c"
				}
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp38_ = g_strconcat (_data_->base_name, "-", NULL);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp39_ = _data_->_tmp38_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp40_ = _data_->i;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp41_ = NULL;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp41_ = g_strdup_printf ("%i", _data_->_tmp40_);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp42_ = _data_->_tmp41_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp43_ = g_strconcat (_data_->_tmp39_, _data_->_tmp42_, NULL);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_free0 (_data_->name);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->name = _data_->_tmp43_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_free0 (_data_->_tmp42_);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_free0 (_data_->_tmp39_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp44_ = _data_->base_title;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp45_ = g_strconcat (_data_->_tmp44_, " ", NULL);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp46_ = _data_->_tmp45_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp47_ = _data_->i;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp48_ = NULL;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp48_ = g_strdup_printf ("%i", _data_->_tmp47_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp49_ = _data_->_tmp48_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->_tmp50_ = g_strconcat (_data_->_tmp46_, _data_->_tmp49_, NULL);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_free0 (_data_->title);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_data_->title = _data_->_tmp50_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_free0 (_data_->_tmp49_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_g_free0 (_data_->_tmp46_);
#line 3514 "vm-creator.c"
			}
		}
	}
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->pool);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->base_name);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->base_title);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3528 "vm-creator.c"
	} else {
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3532 "vm-creator.c"
	}
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 3538 "vm-creator.c"
}


static void boxes_vm_creator_create_target_volume_data_free (gpointer _data) {
	BoxesVmCreatorCreateTargetVolumeData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->name);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->result);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_boxes_vm_creator_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_slice_free (BoxesVmCreatorCreateTargetVolumeData, _data_);
#line 3553 "vm-creator.c"
}


static void boxes_vm_creator_create_target_volume (BoxesVMCreator* self, const gchar* name, gint64 storage, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesVmCreatorCreateTargetVolumeData* _data_;
	BoxesVMCreator* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gint64 _tmp3_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_slice_new0 (BoxesVmCreatorCreateTargetVolumeData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, boxes_vm_creator_create_target_volume);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_vm_creator_create_target_volume_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = _boxes_vm_creator_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = name;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_free0 (_data_->name);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->name = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = storage;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->storage = _tmp3_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_target_volume_co (_data_);
#line 3587 "vm-creator.c"
}


static GVirStorageVol* boxes_vm_creator_create_target_volume_finish (BoxesVMCreator* self, GAsyncResult* _res_, GError** error) {
	GVirStorageVol* result;
	BoxesVmCreatorCreateTargetVolumeData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return NULL;
#line 3598 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = _data_->result;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->result = NULL;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 3608 "vm-creator.c"
}


static void boxes_vm_creator_create_target_volume_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesVmCreatorCreateTargetVolumeData* _data_;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = _user_data_;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_source_object_ = source_object;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_res_ = _res_;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_target_volume_co (_data_);
#line 3622 "vm-creator.c"
}


static gboolean boxes_vm_creator_create_target_volume_co (BoxesVmCreatorCreateTargetVolumeData* _data_) {
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	switch (_data_->_state_) {
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 0:
#line 3631 "vm-creator.c"
		goto _state_0;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 3635 "vm-creator.c"
		goto _state_1;
		default:
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 3640 "vm-creator.c"
	}
	_state_0:
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_state_ = 1;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_get_storage_pool (_data_->self, boxes_vm_creator_create_target_volume_ready, _data_);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 3649 "vm-creator.c"
	_state_1:
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp0_ = NULL;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp0_ = boxes_vm_creator_get_storage_pool_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->pool = _data_->_tmp0_;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3667 "vm-creator.c"
		} else {
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3671 "vm-creator.c"
		}
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 3677 "vm-creator.c"
	}
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp1_ = _data_->name;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp2_ = _data_->storage;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp3_ = NULL;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp3_ = boxes_vm_configurator_create_volume_config (_data_->_tmp1_, _data_->_tmp2_, &_data_->_inner_error_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->config = _data_->_tmp3_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->pool);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3701 "vm-creator.c"
		} else {
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3705 "vm-creator.c"
		}
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 3711 "vm-creator.c"
	}
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp4_ = _data_->pool;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp5_ = _data_->config;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp6_ = NULL;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp6_ = gvir_storage_pool_create_volume (_data_->_tmp4_, _data_->_tmp5_, &_data_->_inner_error_);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->volume = _data_->_tmp6_;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_inner_error_ != NULL) {
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_error_free (_data_->_inner_error_);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->config);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->pool);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_state_ == 0) {
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3737 "vm-creator.c"
		} else {
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3741 "vm-creator.c"
		}
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_object_unref (_data_->_async_result);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 3747 "vm-creator.c"
	}
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->result = _data_->volume;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->config);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->pool);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3759 "vm-creator.c"
	} else {
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3763 "vm-creator.c"
	}
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->volume);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->config);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->pool);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3779 "vm-creator.c"
	} else {
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3783 "vm-creator.c"
	}
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 3789 "vm-creator.c"
}


static void boxes_vm_creator_get_storage_pool_data_free (gpointer _data) {
	BoxesVmCreatorGetStoragePoolData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->result);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_boxes_vm_creator_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_slice_free (BoxesVmCreatorGetStoragePoolData, _data_);
#line 3802 "vm-creator.c"
}


static void boxes_vm_creator_get_storage_pool (BoxesVMCreator* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesVmCreatorGetStoragePoolData* _data_;
	BoxesVMCreator* _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_slice_new0 (BoxesVmCreatorGetStoragePoolData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, boxes_vm_creator_get_storage_pool);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_vm_creator_get_storage_pool_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = _boxes_vm_creator_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_get_storage_pool_co (_data_);
#line 3821 "vm-creator.c"
}


static GVirStoragePool* boxes_vm_creator_get_storage_pool_finish (BoxesVMCreator* self, GAsyncResult* _res_, GError** error) {
	GVirStoragePool* result;
	BoxesVmCreatorGetStoragePoolData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return NULL;
#line 3832 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = _data_->result;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->result = NULL;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 3842 "vm-creator.c"
}


static void boxes_vm_creator_get_storage_pool_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesVmCreatorGetStoragePoolData* _data_;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_ = _user_data_;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_source_object_ = source_object;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_res_ = _res_;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_get_storage_pool_co (_data_);
#line 3856 "vm-creator.c"
}


static gboolean boxes_vm_creator_get_storage_pool_co (BoxesVmCreatorGetStoragePoolData* _data_) {
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	switch (_data_->_state_) {
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 0:
#line 3865 "vm-creator.c"
		goto _state_0;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 3869 "vm-creator.c"
		goto _state_1;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 2:
#line 3873 "vm-creator.c"
		goto _state_2;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 3:
#line 3877 "vm-creator.c"
		goto _state_3;
		default:
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 3882 "vm-creator.c"
	}
	_state_0:
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp0_ = boxes_vm_creator_get_connection (_data_->self);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp2_ = NULL;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp2_ = boxes_get_storage_pool (_data_->_tmp1_);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->pool = _data_->_tmp2_;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp3_ = _data_->pool;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_tmp3_ == NULL) {
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp4_ = NULL;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp4_ = boxes_vm_configurator_get_pool_config (&_data_->_inner_error_);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->config = _data_->_tmp4_;
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_inner_error_ != NULL) {
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_error_free (_data_->_inner_error_);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->pool);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_data_->_state_ == 0) {
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3917 "vm-creator.c"
			} else {
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3921 "vm-creator.c"
			}
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_object_unref (_data_->_async_result);
#line 273 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return FALSE;
#line 3927 "vm-creator.c"
		}
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp5_ = boxes_vm_creator_get_connection (_data_->self);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp7_ = _data_->config;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp8_ = NULL;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp8_ = gvir_connection_create_storage_pool (_data_->_tmp6_, _data_->_tmp7_, (guint) 0, &_data_->_inner_error_);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_inner_error_ != NULL) {
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_error_free (_data_->_inner_error_);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->config);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->pool);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_data_->_state_ == 0) {
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3955 "vm-creator.c"
			} else {
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3959 "vm-creator.c"
			}
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_object_unref (_data_->_async_result);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return FALSE;
#line 3965 "vm-creator.c"
		}
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->pool);
#line 274 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->pool = _data_->_tmp9_;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp10_ = _data_->pool;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_state_ = 1;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_storage_pool_build_async (_data_->_tmp10_, (guint) 0, NULL, boxes_vm_creator_get_storage_pool_ready, _data_);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 3979 "vm-creator.c"
		_state_1:
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_storage_pool_build_finish (_data_->_tmp10_, _data_->_res_, &_data_->_inner_error_);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_inner_error_ != NULL) {
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_error_free (_data_->_inner_error_);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->config);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->pool);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_data_->_state_ == 0) {
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3997 "vm-creator.c"
			} else {
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4001 "vm-creator.c"
			}
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_object_unref (_data_->_async_result);
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return FALSE;
#line 4007 "vm-creator.c"
		}
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp11_ = _data_->pool;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_state_ = 2;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_storage_pool_start_async (_data_->_tmp11_, (guint) 0, NULL, boxes_vm_creator_get_storage_pool_ready, _data_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 4017 "vm-creator.c"
		_state_2:
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_storage_pool_start_finish (_data_->_tmp11_, _data_->_res_, &_data_->_inner_error_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_inner_error_ != NULL) {
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_error_free (_data_->_inner_error_);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->config);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->pool);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_data_->_state_ == 0) {
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4035 "vm-creator.c"
			} else {
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4039 "vm-creator.c"
			}
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_object_unref (_data_->_async_result);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return FALSE;
#line 4045 "vm-creator.c"
		}
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp12_ = _data_->pool;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_state_ = 3;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_storage_pool_refresh_async (_data_->_tmp12_, NULL, boxes_vm_creator_get_storage_pool_ready, _data_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return FALSE;
#line 4055 "vm-creator.c"
		_state_3:
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		gvir_storage_pool_refresh_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (_data_->_inner_error_ != NULL) {
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_error_free (_data_->_inner_error_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->config);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_g_object_unref0 (_data_->pool);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			if (_data_->_state_ == 0) {
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4073 "vm-creator.c"
			} else {
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4077 "vm-creator.c"
			}
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			g_object_unref (_data_->_async_result);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return FALSE;
#line 4083 "vm-creator.c"
		}
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->config);
#line 4087 "vm-creator.c"
	}
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->result = _data_->pool;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4095 "vm-creator.c"
	} else {
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4099 "vm-creator.c"
	}
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (_data_->pool);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_state_ == 0) {
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4111 "vm-creator.c"
	} else {
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4115 "vm-creator.c"
	}
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_object_unref (_data_->_async_result);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 4121 "vm-creator.c"
}


BoxesInstallerMedia* boxes_vm_creator_get_install_media (BoxesVMCreator* self) {
	BoxesInstallerMedia* result;
	BoxesInstallerMedia* _tmp0_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = self->priv->_install_media;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = _tmp0_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 4136 "vm-creator.c"
}


static void boxes_vm_creator_set_install_media (BoxesVMCreator* self, BoxesInstallerMedia* value) {
	BoxesInstallerMedia* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (self != NULL);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = value;
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (self->priv->_install_media);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self->priv->_install_media = _tmp1_;
#line 4153 "vm-creator.c"
}


static GVirConnection* boxes_vm_creator_get_connection (BoxesVMCreator* self) {
	GVirConnection* result;
	BoxesApp* _tmp0_;
	GVirConnection* _tmp1_;
	GVirConnection* _tmp2_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = boxes_app_app;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp1_ = boxes_app_get_default_connection (_tmp0_);
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp2_ = _tmp1_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = _tmp2_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 4174 "vm-creator.c"
}


static guint boxes_vm_creator_get_num_reboots (BoxesVMCreator* self) {
	guint result;
	guint _tmp0_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = self->priv->_num_reboots;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	result = _tmp0_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return result;
#line 4189 "vm-creator.c"
}


static void boxes_vm_creator_set_num_reboots (BoxesVMCreator* self, guint value) {
	guint _tmp0_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (self != NULL);
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = value;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self->priv->_num_reboots = _tmp0_;
#line 4201 "vm-creator.c"
}


static void boxes_value_vm_creator_init (GValue* value) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	value->data[0].v_pointer = NULL;
#line 4208 "vm-creator.c"
}


static void boxes_value_vm_creator_free_value (GValue* value) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (value->data[0].v_pointer) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_unref (value->data[0].v_pointer);
#line 4217 "vm-creator.c"
	}
}


static void boxes_value_vm_creator_copy_value (const GValue* src_value, GValue* dest_value) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (src_value->data[0].v_pointer) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		dest_value->data[0].v_pointer = boxes_vm_creator_ref (src_value->data[0].v_pointer);
#line 4227 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		dest_value->data[0].v_pointer = NULL;
#line 4231 "vm-creator.c"
	}
}


static gpointer boxes_value_vm_creator_peek_pointer (const GValue* value) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return value->data[0].v_pointer;
#line 4239 "vm-creator.c"
}


static gchar* boxes_value_vm_creator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (collect_values[0].v_pointer) {
#line 4246 "vm-creator.c"
		BoxesVMCreator* object;
		object = collect_values[0].v_pointer;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		if (object->parent_instance.g_class == NULL) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4253 "vm-creator.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 4257 "vm-creator.c"
		}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = boxes_vm_creator_ref (object);
#line 4261 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = NULL;
#line 4265 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return NULL;
#line 4269 "vm-creator.c"
}


static gchar* boxes_value_vm_creator_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	BoxesVMCreator** object_p;
	object_p = collect_values[0].v_pointer;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (!object_p) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 4280 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (!value->data[0].v_pointer) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		*object_p = NULL;
#line 4286 "vm-creator.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		*object_p = value->data[0].v_pointer;
#line 4290 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		*object_p = boxes_vm_creator_ref (value->data[0].v_pointer);
#line 4294 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return NULL;
#line 4298 "vm-creator.c"
}


GParamSpec* boxes_param_spec_vm_creator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	BoxesParamSpecVMCreator* spec;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (g_type_is_a (object_type, BOXES_TYPE_VM_CREATOR), NULL);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return G_PARAM_SPEC (spec);
#line 4312 "vm-creator.c"
}


gpointer boxes_value_get_vm_creator (const GValue* value) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, BOXES_TYPE_VM_CREATOR), NULL);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return value->data[0].v_pointer;
#line 4321 "vm-creator.c"
}


void boxes_value_set_vm_creator (GValue* value, gpointer v_object) {
	BoxesVMCreator* old;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, BOXES_TYPE_VM_CREATOR));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	old = value->data[0].v_pointer;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (v_object) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, BOXES_TYPE_VM_CREATOR));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = v_object;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_ref (value->data[0].v_pointer);
#line 4341 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = NULL;
#line 4345 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (old) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_unref (old);
#line 4351 "vm-creator.c"
	}
}


void boxes_value_take_vm_creator (GValue* value, gpointer v_object) {
	BoxesVMCreator* old;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, BOXES_TYPE_VM_CREATOR));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	old = value->data[0].v_pointer;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (v_object) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, BOXES_TYPE_VM_CREATOR));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = v_object;
#line 4370 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = NULL;
#line 4374 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (old) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_unref (old);
#line 4380 "vm-creator.c"
	}
}


static void boxes_vm_creator_class_init (BoxesVMCreatorClass * klass) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_parent_class = g_type_class_peek_parent (klass);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	BOXES_VM_CREATOR_CLASS (klass)->finalize = boxes_vm_creator_finalize;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_type_class_add_private (klass, sizeof (BoxesVMCreatorPrivate));
#line 4392 "vm-creator.c"
}


static void boxes_vm_creator_instance_init (BoxesVMCreator * self) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self->priv = BOXES_VM_CREATOR_GET_PRIVATE (self);
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self->priv->prev_progress = 0;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self->ref_count = 1;
#line 4403 "vm-creator.c"
}


static void boxes_vm_creator_finalize (BoxesVMCreator* obj) {
	BoxesVMCreator * self;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_VM_CREATOR, BoxesVMCreator);
#line 11 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_g_object_unref0 (self->priv->_install_media);
#line 4413 "vm-creator.c"
}


GType boxes_vm_creator_get_type (void) {
	static volatile gsize boxes_vm_creator_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_vm_creator_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { boxes_value_vm_creator_init, boxes_value_vm_creator_free_value, boxes_value_vm_creator_copy_value, boxes_value_vm_creator_peek_pointer, "p", boxes_value_vm_creator_collect_value, "p", boxes_value_vm_creator_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (BoxesVMCreatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_vm_creator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesVMCreator), 0, (GInstanceInitFunc) boxes_vm_creator_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType boxes_vm_creator_type_id;
		boxes_vm_creator_type_id = g_type_register_fundamental (g_type_fundamental_next (), "BoxesVMCreator", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&boxes_vm_creator_type_id__volatile, boxes_vm_creator_type_id);
	}
	return boxes_vm_creator_type_id__volatile;
}


gpointer boxes_vm_creator_ref (gpointer instance) {
	BoxesVMCreator* self;
	self = instance;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&self->ref_count);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return instance;
#line 4438 "vm-creator.c"
}


void boxes_vm_creator_unref (gpointer instance) {
	BoxesVMCreator* self;
	self = instance;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		BOXES_VM_CREATOR_GET_CLASS (self)->finalize (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 4451 "vm-creator.c"
	}
}



