/* vm-creator.c generated by valac 0.18.0.29-efcd0, 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 <libgd/gd.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 TYPE_PROPERTY_CREATION_FLAG (property_creation_flag_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 _Block47Data Block47Data;
typedef struct _Block48Data Block48Data;

#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 _Block49Data Block49Data;

#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 _Block50Data Block50Data;

#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 _Block51Data Block51Data;
typedef struct _Block52Data Block52Data;
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;

typedef enum  {
	PROPERTY_CREATION_FLAG_NONE = 0,
	PROPERTY_CREATION_FLAG_NO_USB = 1 << 0
} PropertyCreationFlag;

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

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

struct _BoxesMachineClass {
	BoxesCollectionItemClass parent_class;
	void (*save) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*save_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	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, PropertyCreationFlag flags);
	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 _Block47Data {
	int _ref_count_;
	BoxesVMCreator * self;
	gpointer _async_data_;
};

struct _Block48Data {
	int _ref_count_;
	Block47Data * _data47_;
	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;
	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;
	Block47Data* _data47_;
	GVirConnection* _tmp0_;
	GVirConnection* _tmp1_;
	Block48Data* _data48_;
	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_;
	GdNotification* _tmp12_;
	GdNotification* _tmp13_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	BoxesInstallerMedia* _tmp17_;
	OsinfoResources* _tmp18_;
	gint64 _tmp19_;
	gint64 _tmp20_;
	GVirStorageVol* _tmp21_;
	GVirStorageVol* volume;
	GVirConnection* _tmp22_;
	GVirConnection* _tmp23_;
	GCancellable* _tmp24_;
	GVirConfigCapabilities* _tmp25_;
	GVirConfigCapabilities* caps;
	GVirStorageVol* _tmp26_;
	const gchar* _tmp27_;
	const gchar* _tmp28_;
	BoxesInstallerMedia* _tmp29_;
	GVirConfigCapabilities* _tmp30_;
	GVirConfigDomain* _tmp31_;
	GVirConfigDomain* config;
	GVirConfigDomain* _tmp32_;
	const gchar* _tmp33_;
	GVirConfigDomain* _tmp34_;
	const gchar* _tmp35_;
	GVirConnection* _tmp36_;
	GVirConnection* _tmp37_;
	GVirConfigDomain* _tmp38_;
	GVirDomain* _tmp39_;
	GVirDomain* domain;
	BoxesApp* _tmp40_;
	BoxesApp* _tmp41_;
	BoxesCollectionSource* _tmp42_;
	BoxesCollectionSource* _tmp43_;
	BoxesApp* _tmp44_;
	GVirConnection* _tmp45_;
	GVirConnection* _tmp46_;
	GVirDomain* _tmp47_;
	BoxesLibvirtMachine* _tmp48_;
	BoxesLibvirtMachine* _tmp49_;
	GError * _inner_error_;
};

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

struct _Block50Data {
	int _ref_count_;
	Block49Data * _data49_;
	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 _Block51Data {
	int _ref_count_;
	BoxesVMCreator * self;
	BoxesLibvirtMachine* machine;
};

struct _Block52Data {
	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;
	Block52Data* _data52_;
	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 property_creation_flag_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 Block47Data* block47_data_ref (Block47Data* _data47_);
static void block47_data_unref (void * _userdata_);
static GVirConnection* boxes_vm_creator_get_connection (BoxesVMCreator* self);
static Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_data_unref (void * _userdata_);
GType boxes_app_get_type (void) G_GNUC_CONST;
static void ___lambda58_ (Block48Data* _data48_);
static void ____lambda58__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;
GdNotification* boxes_notificationbar_display_error (BoxesNotificationbar* self, const gchar* message, gint timeout);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
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 Block49Data* block49_data_ref (Block49Data* _data49_);
static void block49_data_unref (void * _userdata_);
GType boxes_unattended_installer_get_type (void) G_GNUC_CONST;
gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self);
static Block50Data* block50_data_ref (Block50Data* _data50_);
static void block50_data_unref (void * _userdata_);
static void ___lambda62_ (Block50Data* _data50_);
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 ____lambda62__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 Block51Data* block51_data_ref (Block51Data* _data51_);
static void block51_data_unref (void * _userdata_);
static gboolean __lambda56_ (Block51Data* _data51_);
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 ___lambda56__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 Block52Data* block52_data_ref (Block52Data* _data52_);
static void block52_data_unref (void * _userdata_);
static void ___lambda57_ (Block52Data* _data52_, GError** error);
static void ____lambda57__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 881 "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 888 "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 895 "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 902 "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 942 "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 949 "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 964 "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 971 "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 1000 "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 1011 "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 1021 "vm-creator.c"
}


static Block47Data* block47_data_ref (Block47Data* _data47_) {
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data47_->_ref_count_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data47_;
#line 1030 "vm-creator.c"
}


static void block47_data_unref (void * _userdata_) {
	Block47Data* _data47_;
	_data47_ = (Block47Data*) _userdata_;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data47_->_ref_count_)) {
#line 1039 "vm-creator.c"
		BoxesVMCreator * self;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data47_->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 (Block47Data, _data47_);
#line 1047 "vm-creator.c"
	}
}


static Block48Data* block48_data_ref (Block48Data* _data48_) {
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data48_->_ref_count_);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data48_;
#line 1057 "vm-creator.c"
}


static void block48_data_unref (void * _userdata_) {
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 1066 "vm-creator.c"
		BoxesVMCreator * self;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data48_->_data47_->self;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block47_data_unref (_data48_->_data47_);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data48_->_data47_ = NULL;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block48Data, _data48_);
#line 1076 "vm-creator.c"
	}
}


static void ___lambda58_ (Block48Data* _data48_) {
	Block47Data* _data47_;
	BoxesVMCreator * self;
	BoxesApp* _tmp0_;
	gulong _tmp1_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data47_ = _data48_->_data47_;
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = _data47_->self;
#line 35 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	boxes_vm_creator_create_vm_co (_data47_->_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_ = _data48_->handler;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _tmp1_);
#line 1098 "vm-creator.c"
}


static void ____lambda58__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	___lambda58_ (self);
#line 1105 "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 1119 "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 1128 "vm-creator.c"
		goto _state_0;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 1132 "vm-creator.c"
		goto _state_1;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 2:
#line 1136 "vm-creator.c"
		goto _state_2;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 3:
#line 1140 "vm-creator.c"
		goto _state_3;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 4:
#line 1144 "vm-creator.c"
		goto _state_4;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 5:
#line 1148 "vm-creator.c"
		goto _state_5;
		default:
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 1153 "vm-creator.c"
	}
	_state_0:
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data47_ = g_slice_new0 (Block47Data);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data47_->_ref_count_ = 1;
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data47_->self = boxes_vm_creator_ref (_data_->self);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data47_->_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_->_data48_ = g_slice_new0 (Block48Data);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data48_->_ref_count_ = 1;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data48_->_data47_ = block47_data_ref (_data_->_data47_);
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data48_->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) ____lambda58__g_object_notify, block48_data_ref (_data_->_data48_), (GClosureNotify) block48_data_unref, 0);
#line 34 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data48_->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 1190 "vm-creator.c"
		_state_1:
		;
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block48_data_unref (_data_->_data48_);
#line 31 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data48_ = NULL;
#line 1197 "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 1209 "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"
		block47_data_unref (_data_->_data47_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1239 "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 1243 "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 1249 "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 1264 "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 1270 "vm-creator.c"
			goto __catch77_g_error;
		}
	}
	goto __finally77;
	__catch77_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"
		_data_->_tmp12_ = NULL;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp12_ = boxes_notificationbar_display_error (_data_->_tmp10_, _data_->_tmp11_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp13_ = _data_->_tmp12_;
#line 47 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->_tmp13_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp14_ = _data_->_error_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_tmp15_ = _data_->_tmp14_->message;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_debug ("vm-creator.vala:48: Disabling unattended installation: %s", _data_->_tmp15_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_error_free0 (_data_->_error_);
#line 1305 "vm-creator.c"
	}
	__finally77:
#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"
		block47_data_unref (_data_->_data47_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1326 "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 1330 "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 1336 "vm-creator.c"
	}
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp16_ = _data_->name;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp17_ = _data_->self->priv->_install_media;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp18_ = _data_->_tmp17_->resources;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp19_ = osinfo_resources_get_storage (_data_->_tmp18_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#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_->_tmp16_, _data_->_tmp20_, boxes_vm_creator_create_vm_ready, _data_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 1354 "vm-creator.c"
	_state_4:
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp21_ = NULL;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp21_ = 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_->_tmp21_;
#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"
		block47_data_unref (_data_->_data47_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1380 "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 1384 "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 1390 "vm-creator.c"
	}
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp22_ = boxes_vm_creator_get_connection (_data_->self);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp23_ = _data_->_tmp22_;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp24_ = _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_->_tmp23_, _data_->_tmp24_, boxes_vm_creator_create_vm_ready, _data_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return FALSE;
#line 1404 "vm-creator.c"
	_state_5:
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp25_ = NULL;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp25_ = gvir_connection_get_capabilities_finish (_data_->_tmp23_, _data_->_res_, &_data_->_inner_error_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->caps = _data_->_tmp25_;
#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"
		block47_data_unref (_data_->_data47_);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1432 "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 1436 "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 1442 "vm-creator.c"
	}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp26_ = _data_->volume;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp27_ = NULL;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp27_ = gvir_storage_vol_get_path (_data_->_tmp26_, &_data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp28_ = _data_->_tmp27_;
#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"
		block47_data_unref (_data_->_data47_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1474 "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 1478 "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 1484 "vm-creator.c"
	}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp29_ = _data_->self->priv->_install_media;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp30_ = _data_->caps;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp31_ = NULL;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp31_ = boxes_vm_configurator_create_domain_config (_data_->_tmp29_, _data_->_tmp28_, _data_->_tmp30_, &_data_->_inner_error_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->config = _data_->_tmp31_;
#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"
		block47_data_unref (_data_->_data47_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1518 "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 1522 "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 1528 "vm-creator.c"
	}
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp32_ = _data_->config;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp33_ = _data_->name;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	gvir_config_domain_set_name (_data_->_tmp32_, _data_->_tmp33_);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp34_ = _data_->config;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp35_ = _data_->title;
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	gvir_config_domain_set_title (_data_->_tmp34_, _data_->_tmp35_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp36_ = boxes_vm_creator_get_connection (_data_->self);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp37_ = _data_->_tmp36_;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp38_ = _data_->config;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp39_ = NULL;
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp39_ = gvir_connection_create_domain (_data_->_tmp37_, _data_->_tmp38_, &_data_->_inner_error_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->domain = _data_->_tmp39_;
#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"
		block47_data_unref (_data_->_data47_);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1578 "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 1582 "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 1588 "vm-creator.c"
	}
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp40_ = boxes_app_app;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp41_ = boxes_app_app;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp42_ = boxes_app_get_default_source (_data_->_tmp41_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp43_ = _data_->_tmp42_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp44_ = boxes_app_app;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp45_ = boxes_app_get_default_connection (_data_->_tmp44_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp46_ = _data_->_tmp45_;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp47_ = _data_->domain;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp48_ = NULL;
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp48_ = boxes_app_add_domain (_data_->_tmp40_, _data_->_tmp43_, _data_->_tmp46_, _data_->_tmp47_, &_data_->_inner_error_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp49_ = _data_->_tmp48_;
#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"
		block47_data_unref (_data_->_data47_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data47_ = 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 1638 "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 1642 "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 1648 "vm-creator.c"
	}
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->result = _data_->_tmp49_;
#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"
	block47_data_unref (_data_->_data47_);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data47_ = 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 1672 "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 1676 "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"
	block47_data_unref (_data_->_data47_);
#line 30 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data47_ = 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 1702 "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 1706 "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 1712 "vm-creator.c"
}


static Block49Data* block49_data_ref (Block49Data* _data49_) {
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data49_->_ref_count_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data49_;
#line 1721 "vm-creator.c"
}


static void block49_data_unref (void * _userdata_) {
	Block49Data* _data49_;
	_data49_ = (Block49Data*) _userdata_;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data49_->_ref_count_)) {
#line 1730 "vm-creator.c"
		BoxesVMCreator * self;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data49_->self;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data49_->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 (Block49Data, _data49_);
#line 1740 "vm-creator.c"
	}
}


static Block50Data* block50_data_ref (Block50Data* _data50_) {
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data50_->_ref_count_);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data50_;
#line 1750 "vm-creator.c"
}


static void block50_data_unref (void * _userdata_) {
	Block50Data* _data50_;
	_data50_ = (Block50Data*) _userdata_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data50_->_ref_count_)) {
#line 1759 "vm-creator.c"
		BoxesVMCreator * self;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data50_->_data49_->self;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block49_data_unref (_data50_->_data49_);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data50_->_data49_ = NULL;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_slice_free (Block50Data, _data50_);
#line 1769 "vm-creator.c"
	}
}


static void ___lambda62_ (Block50Data* _data50_) {
	Block49Data* _data49_;
	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"
	_data49_ = _data50_->_data49_;
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = _data49_->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 1799 "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_ = _data49_->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_ = _data50_->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 1819 "vm-creator.c"
}


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


void boxes_vm_creator_launch_vm (BoxesVMCreator* self, BoxesLibvirtMachine* machine, GError** error) {
	Block49Data* _data49_;
	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"
	_data49_ = g_slice_new0 (Block49Data);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data49_->_ref_count_ = 1;
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data49_->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 (_data49_->machine);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data49_->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 1867 "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 1880 "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 1886 "vm-creator.c"
		Block50Data* _data50_;
		BoxesApp* _tmp8_;
		gulong _tmp9_ = 0UL;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data50_ = g_slice_new0 (Block50Data);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data50_->_ref_count_ = 1;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data50_->_data49_ = block49_data_ref (_data49_);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data50_->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) ____lambda62__g_object_notify, block50_data_ref (_data50_), (GClosureNotify) block50_data_unref, 0);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data50_->signal_id = _tmp9_;
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block50_data_unref (_data50_);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data50_ = NULL;
#line 1908 "vm-creator.c"
	} else {
		BoxesLibvirtMachine* _tmp10_;
		GVirDomain* _tmp11_;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp10_ = _data49_->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"
			block49_data_unref (_data49_);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			_data49_ = NULL;
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
			return;
#line 1928 "vm-creator.c"
		}
	}
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp12_ = _data49_->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_ = _data49_->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_ = _data49_->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"
	block49_data_unref (_data49_);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data49_ = NULL;
#line 1953 "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 1999 "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 2015 "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 2041 "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 2057 "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 2067 "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 2090 "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 2096 "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 2104 "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 2116 "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 2130 "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 2139 "vm-creator.c"
				goto __catch78_g_error;
			}
		}
		goto __finally78;
		__catch78_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 2167 "vm-creator.c"
		}
		__finally78:
#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 2182 "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 2200 "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 2207 "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 2213 "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 2219 "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 2227 "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 2240 "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 2257 "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 2267 "vm-creator.c"
					goto __catch79_g_error;
				}
			}
			goto __finally79;
			__catch79_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 2295 "vm-creator.c"
			}
			__finally79:
#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 2310 "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 2318 "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 2338 "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 2352 "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 2362 "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 2384 "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 2404 "vm-creator.c"
			goto __catch80_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 2423 "vm-creator.c"
			goto __catch80_g_error;
		}
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (config);
#line 2428 "vm-creator.c"
	}
	goto __finally80;
	__catch80_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 2457 "vm-creator.c"
	}
	__finally80:
#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 2468 "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 2476 "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 2499 "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 2506 "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 2518 "vm-creator.c"
				goto __catch81_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 2527 "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 2538 "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 2547 "vm-creator.c"
			} else {
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp8_ = FALSE;
#line 2551 "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 2557 "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 2569 "vm-creator.c"
			} else {
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
				_tmp7_ = FALSE;
#line 2573 "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 2579 "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 2601 "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 2616 "vm-creator.c"
					goto __catch81_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 2631 "vm-creator.c"
			}
		}
	}
	goto __finally81;
	__catch81_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 2665 "vm-creator.c"
	}
	__finally81:
#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 2676 "vm-creator.c"
}


static Block51Data* block51_data_ref (Block51Data* _data51_) {
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data51_->_ref_count_);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data51_;
#line 2685 "vm-creator.c"
}


static void block51_data_unref (void * _userdata_) {
	Block51Data* _data51_;
	_data51_ = (Block51Data*) _userdata_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data51_->_ref_count_)) {
#line 2694 "vm-creator.c"
		BoxesVMCreator * self;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data51_->self;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data51_->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 (Block51Data, _data51_);
#line 2704 "vm-creator.c"
	}
}


static gboolean __lambda56_ (Block51Data* _data51_) {
	BoxesVMCreator * self;
	gboolean result = FALSE;
	gint _tmp0_;
	gboolean _tmp2_;
#line 189 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	self = _data51_->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 2720 "vm-creator.c"
		BoxesLibvirtMachine* _tmp1_;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp1_ = _data51_->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 2730 "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 2736 "vm-creator.c"
		BoxesLibvirtMachine* _tmp3_;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp3_ = _data51_->machine;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		boxes_vm_creator_update_install_progress (self, _tmp3_, NULL, NULL);
#line 2742 "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 2748 "vm-creator.c"
}


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


static void boxes_vm_creator_track_install_progress (BoxesVMCreator* self, BoxesLibvirtMachine* machine) {
	Block51Data* _data51_;
	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"
	_data51_ = g_slice_new0 (Block51Data);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data51_->_ref_count_ = 1;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data51_->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 (_data51_->machine);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data51_->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"
		block51_data_unref (_data51_);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data51_ = NULL;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		return;
#line 2796 "vm-creator.c"
	}
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp3_ = _data51_->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, ___lambda56__gsource_func, block51_data_ref (_data51_), block51_data_unref);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	block51_data_unref (_data51_);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data51_ = NULL;
#line 2810 "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 2821 "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 2850 "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 2858 "vm-creator.c"
}


static Block52Data* block52_data_ref (Block52Data* _data52_) {
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	g_atomic_int_inc (&_data52_->_ref_count_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return _data52_;
#line 2867 "vm-creator.c"
}


static void block52_data_unref (void * _userdata_) {
	Block52Data* _data52_;
	_data52_ = (Block52Data*) _userdata_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (g_atomic_int_dec_and_test (&_data52_->_ref_count_)) {
#line 2876 "vm-creator.c"
		BoxesVMCreator * self;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		self = _data52_->self;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data52_->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 (Block52Data, _data52_);
#line 2886 "vm-creator.c"
	}
}


static void ___lambda57_ (Block52Data* _data52_, 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 = _data52_->self;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_tmp0_ = _data52_->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 2914 "vm-creator.c"
	}
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data52_->progress = _tmp3_;
#line 2918 "vm-creator.c"
}


static void ____lambda57__boxes_run_in_thread_func (gpointer self, GError** error) {
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	___lambda57_ (self, error);
#line 2925 "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 2939 "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 2948 "vm-creator.c"
		goto _state_0;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 2952 "vm-creator.c"
		goto _state_1;
		default:
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 2957 "vm-creator.c"
	}
	_state_0:
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data52_ = g_slice_new0 (Block52Data);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data52_->_ref_count_ = 1;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data52_->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_->_data52_->machine);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data52_->machine = _data_->_tmp0_;
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data52_->_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_->_data52_->progress = 0;
#line 2978 "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 (____lambda57__boxes_run_in_thread_func, block52_data_ref (_data_->_data52_), block52_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 2986 "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 2992 "vm-creator.c"
			goto __catch82_g_error;
		}
	}
	goto __finally82;
	__catch82_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_->_data52_->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 3019 "vm-creator.c"
	}
	__finally82:
#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"
		block52_data_unref (_data_->_data52_);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data52_ = 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 3034 "vm-creator.c"
	}
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	if (_data_->_data52_->progress < 0) {
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		block52_data_unref (_data_->_data52_);
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->_data52_ = 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 3046 "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 3050 "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 3056 "vm-creator.c"
	}
#line 220 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_tmp6_ = _data_->_data52_->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_->_data52_->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_->_data52_->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_->_data52_->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"
	block52_data_unref (_data_->_data52_);
#line 203 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->_data52_ = 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 3086 "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 3090 "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 3096 "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 3111 "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 3123 "vm-creator.c"
	} else {
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_tmp0_ = FALSE;
#line 3127 "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 3135 "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 3169 "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 3193 "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 3201 "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 3212 "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 3231 "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 3241 "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 3249 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->name);
#line 3253 "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 3261 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_free0 (_data_->title);
#line 3265 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	_data_->title = NULL;
#line 3269 "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 3283 "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 3292 "vm-creator.c"
		goto _state_0;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 3296 "vm-creator.c"
		goto _state_1;
		default:
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 3301 "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 3336 "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 3342 "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 3362 "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 3384 "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 3388 "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 3394 "vm-creator.c"
	}
	{
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_data_->i = 2;
#line 3399 "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 3413 "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 3437 "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 3455 "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 3463 "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 3477 "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 3485 "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 3533 "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 3547 "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 3551 "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 3557 "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 3572 "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 3606 "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 3617 "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 3627 "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 3641 "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 3650 "vm-creator.c"
		goto _state_0;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 3654 "vm-creator.c"
		goto _state_1;
		default:
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 3659 "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 3668 "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 3686 "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 3690 "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 3696 "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 3720 "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 3724 "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 3730 "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 3756 "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 3760 "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 3766 "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 3778 "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 3782 "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 3798 "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 3802 "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 3808 "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 3821 "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 3840 "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 3851 "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 3861 "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 3875 "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 3884 "vm-creator.c"
		goto _state_0;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 1:
#line 3888 "vm-creator.c"
		goto _state_1;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 2:
#line 3892 "vm-creator.c"
		goto _state_2;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		case 3:
#line 3896 "vm-creator.c"
		goto _state_3;
		default:
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		g_assert_not_reached ();
#line 3901 "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 3936 "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 3940 "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 3946 "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 3974 "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 3978 "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 3984 "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 3998 "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 4016 "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 4020 "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 4026 "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 4036 "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 4054 "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 4058 "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 4064 "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 4074 "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 4092 "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 4096 "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 4102 "vm-creator.c"
		}
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		_g_object_unref0 (_data_->config);
#line 4106 "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 4114 "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 4118 "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 4130 "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 4134 "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 4140 "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 4155 "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 4172 "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 4193 "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 4208 "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 4220 "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 4227 "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 4236 "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 4246 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		dest_value->data[0].v_pointer = NULL;
#line 4250 "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 4258 "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 4265 "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 4272 "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 4276 "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 4280 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = NULL;
#line 4284 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return NULL;
#line 4288 "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 4299 "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 4305 "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 4309 "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 4313 "vm-creator.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
	return NULL;
#line 4317 "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 4331 "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 4340 "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 4360 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = NULL;
#line 4364 "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 4370 "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 4389 "vm-creator.c"
	} else {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/vm-creator.vala"
		value->data[0].v_pointer = NULL;
#line 4393 "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 4399 "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 4411 "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 4422 "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 4432 "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 4457 "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 4470 "vm-creator.c"
	}
}



