/* unattended-installer.c generated by valac 0.18.0.60-a4cdb, the Vala compiler
 * generated from unattended-installer.vala, do not modify */

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

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


#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;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#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 _BoxesUnattendedInstallerPrivate BoxesUnattendedInstallerPrivate;

#define BOXES_TYPE_UNATTENDED_FILE (boxes_unattended_file_get_type ())
#define BOXES_UNATTENDED_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_FILE, BoxesUnattendedFile))
#define BOXES_IS_UNATTENDED_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_FILE))
#define BOXES_UNATTENDED_FILE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UNATTENDED_FILE, BoxesUnattendedFileIface))

typedef struct _BoxesUnattendedFile BoxesUnattendedFile;
typedef struct _BoxesUnattendedFileIface BoxesUnattendedFileIface;

#define BOXES_TYPE_UNATTENDED_AVATAR_FILE (boxes_unattended_avatar_file_get_type ())
#define BOXES_UNATTENDED_AVATAR_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile))
#define BOXES_UNATTENDED_AVATAR_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFileClass))
#define BOXES_IS_UNATTENDED_AVATAR_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE))
#define BOXES_IS_UNATTENDED_AVATAR_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_AVATAR_FILE))
#define BOXES_UNATTENDED_AVATAR_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFileClass))

typedef struct _BoxesUnattendedAvatarFile BoxesUnattendedAvatarFile;
typedef struct _BoxesUnattendedAvatarFileClass BoxesUnattendedAvatarFileClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))

#define BOXES_TYPE_UNATTENDED_TEXT_FILE (boxes_unattended_text_file_get_type ())
#define BOXES_UNATTENDED_TEXT_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile))
#define BOXES_UNATTENDED_TEXT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFileClass))
#define BOXES_IS_UNATTENDED_TEXT_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_TEXT_FILE))
#define BOXES_IS_UNATTENDED_TEXT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_TEXT_FILE))
#define BOXES_UNATTENDED_TEXT_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFileClass))

typedef struct _BoxesUnattendedTextFile BoxesUnattendedTextFile;
typedef struct _BoxesUnattendedTextFileClass BoxesUnattendedTextFileClass;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
typedef struct _BoxesUnattendedInstallerNewFromMediaData BoxesUnattendedInstallerNewFromMediaData;
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

#define BOXES_TYPE_ISO_EXTRACTOR (boxes_iso_extractor_get_type ())
#define BOXES_ISO_EXTRACTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractor))
#define BOXES_ISO_EXTRACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractorClass))
#define BOXES_IS_ISO_EXTRACTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_ISO_EXTRACTOR))
#define BOXES_IS_ISO_EXTRACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_ISO_EXTRACTOR))
#define BOXES_ISO_EXTRACTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractorClass))

typedef struct _BoxesISOExtractor BoxesISOExtractor;
typedef struct _BoxesISOExtractorClass BoxesISOExtractorClass;
typedef struct _BoxesUnattendedInstallerPrepareForInstallationData BoxesUnattendedInstallerPrepareForInstallationData;
#define __g_list_free__boxes_pair_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__boxes_pair_unref0_ (var), NULL)))
typedef struct _Block48Data Block48Data;
typedef struct _BoxesUnattendedInstallerCreateDiskImageData BoxesUnattendedInstallerCreateDiskImageData;
typedef struct _BoxesUnattendedInstallerFetchUserAvatarData BoxesUnattendedInstallerFetchUserAvatarData;
typedef struct _BoxesUnattendedInstallerExtractBootFilesData BoxesUnattendedInstallerExtractBootFilesData;
typedef struct _BoxesUnattendedInstallerCopyFileData BoxesUnattendedInstallerCopyFileData;
typedef struct _BoxesUnattendedInstallerSetupPreInstallDriversData BoxesUnattendedInstallerSetupPreInstallDriversData;

#define BOXES_TYPE_DOWNLOADER (boxes_downloader_get_type ())
#define BOXES_DOWNLOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DOWNLOADER, BoxesDownloader))
#define BOXES_DOWNLOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DOWNLOADER, BoxesDownloaderClass))
#define BOXES_IS_DOWNLOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DOWNLOADER))
#define BOXES_IS_DOWNLOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DOWNLOADER))
#define BOXES_DOWNLOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DOWNLOADER, BoxesDownloaderClass))

typedef struct _BoxesDownloader BoxesDownloader;
typedef struct _BoxesDownloaderClass BoxesDownloaderClass;

#define BOXES_TYPE_UNATTENDED_RAW_FILE (boxes_unattended_raw_file_get_type ())
#define BOXES_UNATTENDED_RAW_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile))
#define BOXES_UNATTENDED_RAW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFileClass))
#define BOXES_IS_UNATTENDED_RAW_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE))
#define BOXES_IS_UNATTENDED_RAW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_RAW_FILE))
#define BOXES_UNATTENDED_RAW_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFileClass))

typedef struct _BoxesUnattendedRawFile BoxesUnattendedRawFile;
typedef struct _BoxesUnattendedRawFileClass BoxesUnattendedRawFileClass;
typedef struct _BoxesUnattendedInstallerSetupPreInstallDriverForScriptData BoxesUnattendedInstallerSetupPreInstallDriverForScriptData;
typedef struct _BoxesUnattendedFileCopyData BoxesUnattendedFileCopyData;
typedef struct _BoxesUnattendedRawFilePrivate BoxesUnattendedRawFilePrivate;
typedef struct _BoxesUnattendedRawFileGetSourceFileData BoxesUnattendedRawFileGetSourceFileData;
typedef struct _BoxesUnattendedTextFilePrivate BoxesUnattendedTextFilePrivate;
typedef struct _BoxesUnattendedTextFileGetSourceFileData BoxesUnattendedTextFileGetSourceFileData;
typedef struct _BoxesUnattendedAvatarFilePrivate BoxesUnattendedAvatarFilePrivate;
#define __vala_GdkPixbufFormat_free0(var) ((var == NULL) ? NULL : (var = (_vala_GdkPixbufFormat_free (var), NULL)))
#define _g_slist_free0(var) ((var == NULL) ? NULL : (var = (g_slist_free (var), NULL)))
typedef struct _BoxesUnattendedAvatarFileGetSourceFileData BoxesUnattendedAvatarFileGetSourceFileData;

typedef enum  {
	UNATTENDED_INSTALLER_ERROR_SETUP_INCOMPLETE
} UnattendedInstallerError;
#define UNATTENDED_INSTALLER_ERROR unattended_installer_error_quark ()
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);
};

struct _BoxesUnattendedInstaller {
	BoxesInstallerMedia parent_instance;
	BoxesUnattendedInstallerPrivate * priv;
	GFile* disk_file;
	GFile* kernel_file;
	GFile* initrd_file;
	OsinfoInstallConfig* config;
	OsinfoInstallScriptList* scripts;
};

struct _BoxesUnattendedInstallerClass {
	BoxesInstallerMediaClass parent_class;
};

struct _BoxesUnattendedFileIface {
	GTypeInterface parent_iface;
	void (*get_source_file) (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GFile* (*get_source_file_finish) (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
	const gchar* (*get_src_path) (BoxesUnattendedFile* self);
	void (*set_src_path) (BoxesUnattendedFile* self, const gchar* value);
	const gchar* (*get_dest_name) (BoxesUnattendedFile* self);
	void (*set_dest_name) (BoxesUnattendedFile* self, const gchar* value);
	BoxesUnattendedInstaller* (*get_installer) (BoxesUnattendedFile* self);
	void (*set_installer) (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
};

struct _BoxesUnattendedInstallerPrivate {
	gboolean has_viostor_drivers;
	gchar* product_key_format;
	GList* unattended_files;
	BoxesUnattendedAvatarFile* avatar_file;
	GtkGrid* setup_grid;
	gint setup_grid_n_rows;
	GtkLabel* setup_label;
	GtkHBox* setup_hbox;
	GtkSwitch* express_toggle;
	GtkEntry* username_entry;
	GtkEntry* password_entry;
	GtkEntry* key_entry;
	gchar* timezone;
	gchar* lang;
	gchar* hostname;
	gchar* kbd;
	gulong key_inserted_id;
};

struct _BoxesUnattendedInstallerNewFromMediaData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GType object_type;
	BoxesUnattendedInstaller* self;
	BoxesInstallerMedia* media;
	OsinfoInstallScriptList* scripts;
	BoxesInstallerMedia* _tmp0_;
	OsinfoOs* _tmp1_;
	OsinfoOs* _tmp2_;
	BoxesInstallerMedia* _tmp3_;
	OsinfoMedia* _tmp4_;
	OsinfoMedia* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	BoxesInstallerMedia* _tmp9_;
	const gchar* _tmp10_;
	gchar* _tmp11_;
	BoxesInstallerMedia* _tmp12_;
	gboolean _tmp13_;
	BoxesInstallerMedia* _tmp14_;
	const gchar* _tmp15_;
	gchar* _tmp16_;
	BoxesInstallerMedia* _tmp17_;
	OsinfoResources* _tmp18_;
	OsinfoResources* _tmp19_;
	OsinfoInstallScriptList* _tmp20_;
	OsinfoInstallScriptList* _tmp21_;
	OsinfoInstallConfig* _tmp22_;
	OsinfoInstallScriptList* _tmp23_;
	GList* _tmp24_;
	GList* s_collection;
	GList* s_it;
	OsinfoEntity* s;
	OsinfoEntity* _tmp25_;
	OsinfoInstallScript* _tmp26_;
	OsinfoInstallScript* script;
	OsinfoInstallScript* _tmp27_;
	const gchar* _tmp28_;
	gchar* _tmp29_;
	gchar* filename;
	OsinfoInstallScript* _tmp30_;
	const gchar* _tmp31_;
	BoxesUnattendedTextFile* _tmp32_;
	BoxesUnattendedTextFile* _tmp33_;
	GTimeVal time;
	GTimeVal _tmp34_;
	GDateTime* _tmp35_;
	GDateTime* date;
	const gchar* _tmp36_;
	gchar* _tmp37_;
	gchar** _tmp38_;
	gchar** _tmp39_;
	gchar** _tmp40_;
	gint _tmp40__length1;
	gchar** langs;
	gint langs_length1;
	gint _langs_size_;
	const gchar* _tmp41_;
	gchar* _tmp42_;
	const gchar* _tmp43_;
	gchar* _tmp44_;
	gchar* _tmp45_;
};

struct _BoxesUnattendedInstallerPrepareForInstallationData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	gchar* vm_name;
	GCancellable* cancellable;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	GCancellable* _tmp5_;
	GList* _tmp6_;
	GList* unattended_file_collection;
	GList* unattended_file_it;
	BoxesUnattendedFile* _tmp7_;
	BoxesUnattendedFile* unattended_file;
	BoxesUnattendedFile* _tmp8_;
	GCancellable* _tmp9_;
	gboolean _tmp10_;
	OsinfoMedia* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gboolean _tmp15_;
	OsinfoMedia* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	gboolean _tmp20_;
	const gchar* _tmp21_;
	BoxesISOExtractor* _tmp22_;
	BoxesISOExtractor* extractor;
	BoxesISOExtractor* _tmp23_;
	GCancellable* _tmp24_;
	BoxesISOExtractor* _tmp25_;
	GCancellable* _tmp26_;
	GError* _error_;
	GtkSwitch* _tmp27_;
	GError* _tmp28_;
	GError* _tmp29_;
	GError * _inner_error_;
};

struct _Block48Data {
	int _ref_count_;
	BoxesUnattendedInstaller * self;
	GtkNotebook* notebook;
};

struct _BoxesUnattendedInstallerCreateDiskImageData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GCancellable* cancellable;
	gchar* _tmp0_;
	gchar* disk_path;
	GFile* _tmp1_;
	gchar* _tmp2_;
	gchar* template_path;
	GFile* _tmp3_;
	GFile* template_file;
	GFile* _tmp4_;
	GCancellable* _tmp5_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerFetchUserAvatarData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GtkImage* avatar;
	BoxesFdoAccounts* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* username;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* avatar_path;
	BoxesFdoAccounts* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* path;
	const gchar* _tmp8_;
	BoxesFdoAccountsUser* _tmp9_;
	BoxesFdoAccountsUser* user;
	BoxesFdoAccountsUser* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GError* _error_;
	const gchar* _tmp13_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	GdkPixbuf* _tmp17_;
	GdkPixbuf* pixbuf;
	GtkImage* _tmp18_;
	GdkPixbuf* _tmp19_;
	OsinfoAvatarFormat* avatar_format;
	OsinfoInstallScriptList* _tmp20_;
	GList* _tmp21_;
	GList* s_collection;
	GList* s_it;
	OsinfoEntity* s;
	OsinfoEntity* _tmp22_;
	OsinfoInstallScript* _tmp23_;
	OsinfoInstallScript* script;
	OsinfoInstallScript* _tmp24_;
	OsinfoAvatarFormat* _tmp25_;
	OsinfoAvatarFormat* _tmp26_;
	OsinfoAvatarFormat* _tmp27_;
	OsinfoAvatarFormat* _tmp28_;
	const gchar* _tmp29_;
	OsinfoAvatarFormat* _tmp30_;
	BoxesUnattendedAvatarFile* _tmp31_;
	BoxesUnattendedAvatarFile* _tmp32_;
	BoxesUnattendedAvatarFile* _tmp33_;
	GError* _vala1__error_;
	const gchar* _tmp34_;
	GError* _tmp35_;
	const gchar* _tmp36_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerExtractBootFilesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	BoxesISOExtractor* extractor;
	GCancellable* cancellable;
	BoxesISOExtractor* _tmp0_;
	OsinfoMedia* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* src_path;
	gchar* _tmp7_;
	gchar* dest_path;
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	GCancellable* _tmp10_;
	GFile* _tmp11_;
	GFile* _tmp12_;
	BoxesISOExtractor* _tmp13_;
	OsinfoMedia* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	const gchar* _tmp22_;
	const gchar* _tmp23_;
	GCancellable* _tmp24_;
	GFile* _tmp25_;
	GFile* _tmp26_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerCopyFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	gchar* src_path;
	gchar* dest_path;
	GCancellable* cancellable;
	GFile* result;
	const gchar* _tmp0_;
	GFile* _tmp1_;
	GFile* src_file;
	const gchar* _tmp2_;
	GFile* _tmp3_;
	GFile* dest_file;
	const gchar* _tmp4_;
	const gchar* _tmp5_;
	GCancellable* _tmp6_;
	const gchar* _tmp7_;
	const gchar* _tmp8_;
	GError* _error_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerSetupPreInstallDriversData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GCancellable* cancellable;
	OsinfoOs* _tmp0_;
	OsinfoDeviceDriverList* _tmp1_;
	GList* _tmp2_;
	GList* d_collection;
	GList* d_it;
	OsinfoEntity* d;
	OsinfoEntity* _tmp3_;
	OsinfoDeviceDriver* _tmp4_;
	OsinfoDeviceDriver* driver;
	gboolean _tmp5_;
	OsinfoDeviceDriver* _tmp6_;
	const gchar* _tmp7_;
	OsinfoMedia* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gboolean _tmp12_;
	OsinfoDeviceDriver* _tmp13_;
	gboolean _tmp14_;
	gboolean _tmp15_;
	OsinfoInstallScriptList* _tmp16_;
	GList* _tmp17_;
	GList* s_collection;
	GList* s_it;
	OsinfoEntity* s;
	OsinfoEntity* _tmp18_;
	OsinfoInstallScript* _tmp19_;
	OsinfoInstallScript* script;
	OsinfoInstallScript* _tmp20_;
	gboolean _tmp21_;
	OsinfoDeviceDriver* _tmp22_;
	OsinfoInstallScript* _tmp23_;
	GCancellable* _tmp24_;
	GError* e;
	OsinfoDeviceDriver* _tmp25_;
	const gchar* _tmp26_;
	GError* _tmp27_;
	const gchar* _tmp28_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerSetupPreInstallDriverForScriptData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	OsinfoDeviceDriver* driver;
	OsinfoInstallScript* script;
	GCancellable* cancellable;
	BoxesDownloader* _tmp0_;
	BoxesDownloader* downloader;
	GList* driver_files;
	OsinfoDeviceDriver* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* location;
	OsinfoDeviceDriver* _tmp4_;
	GList* _tmp5_;
	GList* filename_collection;
	GList* filename_it;
	const gchar* filename;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	const gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* file_uri;
	const gchar* _tmp12_;
	GFile* _tmp13_;
	GFile* file;
	OsinfoOs* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	OsinfoDeviceDriver* _tmp19_;
	const gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	gchar* _tmp24_;
	GFile* _tmp25_;
	gchar* _tmp26_;
	gchar* _tmp27_;
	gchar* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* cached_path;
	BoxesDownloader* _tmp32_;
	GFile* _tmp33_;
	const gchar* _tmp34_;
	GFile* _tmp35_;
	GFile* _tmp36_;
	const gchar* _tmp37_;
	const gchar* _tmp38_;
	BoxesUnattendedRawFile* _tmp39_;
	GList* _tmp40_;
	GList* driver_file_collection;
	GList* driver_file_it;
	BoxesUnattendedFile* _tmp41_;
	BoxesUnattendedFile* driver_file;
	BoxesUnattendedFile* _tmp42_;
	OsinfoDeviceDriver* _tmp43_;
	OsinfoDeviceList* _tmp44_;
	GList* _tmp45_;
	GList* d_collection;
	GList* d_it;
	OsinfoEntity* d;
	OsinfoEntity* _tmp46_;
	OsinfoDevice* _tmp47_;
	OsinfoDevice* device;
	OsinfoDevice* _tmp48_;
	const gchar* _tmp49_;
	GError * _inner_error_;
};

struct _BoxesUnattendedFileCopyData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedFile* self;
	GCancellable* cancellable;
	GCancellable* _tmp0_;
	GFile* _tmp1_;
	GFile* source_file;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	BoxesUnattendedInstaller* _tmp4_;
	BoxesUnattendedInstaller* _tmp5_;
	GFile* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	BoxesUnattendedInstaller* _tmp13_;
	BoxesUnattendedInstaller* _tmp14_;
	GFile* _tmp15_;
	gchar* _tmp16_;
	GFile* _tmp17_;
	gchar* _tmp18_;
	const gchar* _tmp19_;
	const gchar* _tmp20_;
	gchar* _tmp21_;
	gchar** _tmp22_;
	gchar** argv;
	gint argv_length1;
	gint _argv_size_;
	gchar** _tmp23_;
	gint _tmp23__length1;
	GCancellable* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	BoxesUnattendedInstaller* _tmp27_;
	BoxesUnattendedInstaller* _tmp28_;
	GFile* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	GError * _inner_error_;
};

struct _BoxesUnattendedRawFile {
	GObject parent_instance;
	BoxesUnattendedRawFilePrivate * priv;
};

struct _BoxesUnattendedRawFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedRawFilePrivate {
	gchar* _dest_name;
	gchar* _src_path;
	BoxesUnattendedInstaller* _installer;
};

struct _BoxesUnattendedRawFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedRawFile* self;
	GCancellable* cancellable;
	GFile* result;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	GFile* _tmp2_;
};

struct _BoxesUnattendedTextFile {
	GObject parent_instance;
	BoxesUnattendedTextFilePrivate * priv;
};

struct _BoxesUnattendedTextFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedTextFilePrivate {
	gchar* _dest_name;
	gchar* _src_path;
	BoxesUnattendedInstaller* _installer;
	OsinfoInstallScript* _script;
	GFile* unattended_tmp;
};

struct _BoxesUnattendedTextFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedTextFile* self;
	GCancellable* cancellable;
	GFile* result;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
	OsinfoInstallScript* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GFile* _tmp5_;
	GFile* _tmp6_;
	GFile* output_dir;
	OsinfoInstallScript* _tmp7_;
	BoxesUnattendedInstaller* _tmp8_;
	BoxesUnattendedInstaller* _tmp9_;
	OsinfoOs* _tmp10_;
	BoxesUnattendedInstaller* _tmp11_;
	BoxesUnattendedInstaller* _tmp12_;
	OsinfoInstallConfig* _tmp13_;
	GCancellable* _tmp14_;
	GFile* _tmp15_;
	GFile* _tmp16_;
	GFile* _tmp17_;
	GFile* _tmp18_;
	GError * _inner_error_;
};

struct _BoxesUnattendedAvatarFile {
	GObject parent_instance;
	BoxesUnattendedAvatarFilePrivate * priv;
};

struct _BoxesUnattendedAvatarFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedAvatarFilePrivate {
	gchar* _dest_name;
	gchar* _src_path;
	BoxesUnattendedInstaller* _installer;
	GFile* unattended_tmp;
	OsinfoAvatarFormat* avatar_format;
	GdkPixbufFormat* pixbuf_format;
};

struct _BoxesUnattendedAvatarFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedAvatarFile* self;
	GCancellable* cancellable;
	GFile* result;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* destination_path;
	gint _tmp5_;
	OsinfoAvatarFormat* _tmp6_;
	OsinfoAvatarFormat* _tmp7_;
	gint _tmp8_;
	gint _tmp9_;
	gint _tmp10_;
	gint width;
	gint _tmp11_;
	OsinfoAvatarFormat* _tmp12_;
	OsinfoAvatarFormat* _tmp13_;
	gint _tmp14_;
	gint _tmp15_;
	gint _tmp16_;
	gint height;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	gint _tmp19_;
	gint _tmp20_;
	GdkPixbuf* _tmp21_;
	GdkPixbuf* pixbuf;
	gboolean _tmp22_;
	gboolean _tmp23_;
	OsinfoAvatarFormat* _tmp24_;
	OsinfoAvatarFormat* _tmp25_;
	gboolean _tmp26_;
	gboolean _tmp27_;
	gboolean _tmp28_;
	GdkPixbuf* _tmp29_;
	gboolean _tmp30_;
	gboolean _tmp31_;
	GdkPixbuf* _tmp32_;
	GdkPixbuf* _tmp33_;
	const gchar* _tmp34_;
	GdkPixbuf* _tmp35_;
	const gchar* _tmp36_;
	GdkPixbufFormat* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	const gchar* _tmp40_;
	GError* _error_;
	GError* _tmp41_;
	const gchar* _tmp42_;
	const gchar* _tmp43_;
	GFile* _tmp44_;
	GFile* _tmp45_;
	GFile* _tmp46_;
	GError * _inner_error_;
};


static gpointer boxes_unattended_installer_parent_class = NULL;
static BoxesFdoAccounts* boxes_unattended_installer_accounts;
static BoxesFdoAccounts* boxes_unattended_installer_accounts = NULL;
static gpointer boxes_unattended_raw_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_raw_file_boxes_unattended_file_parent_iface = NULL;
static gpointer boxes_unattended_text_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_text_file_boxes_unattended_file_parent_iface = NULL;
static gpointer boxes_unattended_avatar_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_avatar_file_boxes_unattended_file_parent_iface = NULL;

GQuark unattended_installer_error_quark (void);
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
GType boxes_unattended_installer_get_type (void) G_GNUC_CONST;
GType boxes_unattended_file_get_type (void) G_GNUC_CONST;
GType boxes_unattended_avatar_file_get_type (void) G_GNUC_CONST;
#define BOXES_UNATTENDED_INSTALLER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerPrivate))
enum  {
	BOXES_UNATTENDED_INSTALLER_DUMMY_PROPERTY,
	BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION,
	BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS,
	BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE,
	BOXES_UNATTENDED_INSTALLER_SUPPORTS_VIRTIO_DISK,
	BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL,
	BOXES_UNATTENDED_INSTALLER_USERNAME,
	BOXES_UNATTENDED_INSTALLER_PASSWORD,
	BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
static void boxes_unattended_installer_construct_from_media_data_free (gpointer _data);
void boxes_unattended_installer_new_from_media (BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesUnattendedInstaller* boxes_unattended_installer_new_from_media_finish (GAsyncResult* _res_, GError** error);
void boxes_unattended_installer_construct_from_media (GType object_type, BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesUnattendedInstaller* boxes_unattended_installer_construct_from_media_finish (GAsyncResult* _res_, GError** error);
static gboolean boxes_unattended_installer_construct_from_media_co (BoxesUnattendedInstallerNewFromMediaData* _data_);
BoxesInstallerMedia* boxes_installer_media_new (void);
BoxesInstallerMedia* boxes_installer_media_construct (GType object_type);
static void boxes_unattended_installer_add_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file);
BoxesUnattendedTextFile* boxes_unattended_text_file_new (BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name);
BoxesUnattendedTextFile* boxes_unattended_text_file_construct (GType object_type, BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name);
GType boxes_unattended_text_file_get_type (void) G_GNUC_CONST;
static gchar** _vala_array_dup4 (gchar** self, int length);
static gchar* boxes_unattended_installer_get_product_key_format (BoxesUnattendedInstaller* self);
static void boxes_unattended_installer_setup_ui (BoxesUnattendedInstaller* self);
static void boxes_unattended_installer_setup_pre_install_drivers (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_setup_pre_install_drivers_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_);
static void boxes_unattended_installer_new_from_media_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_real_prepare_for_installation_data_free (gpointer _data);
static void boxes_unattended_installer_real_prepare_for_installation (BoxesInstallerMedia* base, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_installer_real_prepare_for_installation_co (BoxesUnattendedInstallerPrepareForInstallationData* _data_);
static void boxes_unattended_installer_create_disk_image (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_create_disk_image_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_prepare_for_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_unattended_file_copy (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_unattended_file_copy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
BoxesISOExtractor* boxes_iso_extractor_new (const gchar* iso_path);
BoxesISOExtractor* boxes_iso_extractor_construct (GType object_type, const gchar* iso_path);
GType boxes_iso_extractor_get_type (void) G_GNUC_CONST;
void boxes_iso_extractor_mount_media (BoxesISOExtractor* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_iso_extractor_mount_media_finish (BoxesISOExtractor* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_extract_boot_files (BoxesUnattendedInstaller* self, BoxesISOExtractor* extractor, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_extract_boot_files_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_clean_up (BoxesUnattendedInstaller* self, GError** error);
static void boxes_unattended_installer_real_setup_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain);
void boxes_installer_media_setup_domain_config (BoxesInstallerMedia* self, GVirConfigDomain* domain);
static GVirConfigDomainDisk* boxes_unattended_installer_get_unattended_disk_config (BoxesUnattendedInstaller* self);
void boxes_unattended_installer_configure_install_script (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self);
const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self);
gboolean boxes_installer_media_get_supports_virtio_disk (BoxesInstallerMedia* self);
static GVirConfigDomainDiskGuestDeviceType boxes_unattended_installer_get_unattended_disk_info (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format, gchar** device_name);
static gchar* boxes_unattended_installer_device_name_to_path (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format, const gchar* name);
const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self);
static void boxes_unattended_installer_real_populate_setup_vbox (BoxesInstallerMedia* base, GtkVBox* setup_vbox);
static GList* boxes_unattended_installer_real_get_vm_properties (BoxesInstallerMedia* base);
GList* boxes_installer_media_get_vm_properties (BoxesInstallerMedia* self);
gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self);
gchar* boxes_unattended_installer_get_hidden_password (BoxesUnattendedInstaller* self);
static void _boxes_pair_unref0_ (gpointer var);
static void _g_list_free__boxes_pair_unref0_ (GList* self);
static void boxes_unattended_installer_real_set_direct_boot_params (BoxesInstallerMedia* base, GVirConfigDomainOs* os);
gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix);
static Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_data_unref (void * _userdata_);
static void __lambda51_ (BoxesUnattendedInstaller* self);
static void ___lambda51__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_unattended_installer_fetch_user_avatar (BoxesUnattendedInstaller* self, GtkImage* avatar, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_fetch_user_avatar_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_);
static GtkEntry* boxes_unattended_installer_create_input_entry (BoxesUnattendedInstaller* self, const gchar* text, gboolean mandatory, gboolean visibility);
static void __lambda53_ (Block48Data* _data48_);
static void ___lambda53__gtk_button_clicked (GtkButton* _sender, gpointer self);
static gboolean __lambda54_ (Block48Data* _data48_);
static gboolean ___lambda54__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self);
static void boxes_unattended_installer_on_key_text_inserted (BoxesUnattendedInstaller* self, const gchar* text, gint text_length, gint* position);
static void _boxes_unattended_installer_on_key_text_inserted_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self);
static void ___lambda52_ (BoxesUnattendedInstaller* self);
static void ____lambda52__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_unattended_installer_create_disk_image_data_free (gpointer _data);
static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_);
static void boxes_unattended_installer_create_disk_image_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_fetch_user_avatar_data_free (gpointer _data);
static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_);
static void boxes_unattended_installer_fetch_user_avatar_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error);
static void boxes_unattended_installer_extract_boot_files_data_free (gpointer _data);
static gboolean boxes_unattended_installer_extract_boot_files_co (BoxesUnattendedInstallerExtractBootFilesData* _data_);
gchar* boxes_iso_extractor_get_absolute_path (BoxesISOExtractor* self, const gchar* relative_path, GError** error);
static void boxes_unattended_installer_copy_file (BoxesUnattendedInstaller* self, const gchar* src_path, const gchar* dest_path, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GFile* boxes_unattended_installer_copy_file_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_extract_boot_files_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_copy_file_data_free (gpointer _data);
static gboolean boxes_unattended_installer_copy_file_co (BoxesUnattendedInstallerCopyFileData* _data_);
static void boxes_unattended_installer_copy_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_setup_pre_install_drivers_data_free (gpointer _data);
static gboolean boxes_unattended_installer_setup_pre_install_drivers_co (BoxesUnattendedInstallerSetupPreInstallDriversData* _data_);
static void boxes_unattended_installer_setup_pre_install_driver_for_script (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver, OsinfoInstallScript* script, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_setup_pre_install_driver_for_script_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_setup_pre_install_drivers_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_setup_pre_install_driver_for_script_data_free (gpointer _data);
static gboolean boxes_unattended_installer_setup_pre_install_driver_for_script_co (BoxesUnattendedInstallerSetupPreInstallDriverForScriptData* _data_);
GType boxes_downloader_get_type (void) G_GNUC_CONST;
BoxesDownloader* boxes_downloader_get_instance (void);
void boxes_downloader_download (BoxesDownloader* self, GFile* remote_file, const gchar* cached_path, GAsyncReadyCallback _callback_, gpointer _user_data_);
GFile* boxes_downloader_download_finish (BoxesDownloader* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_setup_pre_install_driver_for_script_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesUnattendedRawFile* boxes_unattended_raw_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
BoxesUnattendedRawFile* boxes_unattended_raw_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
GType boxes_unattended_raw_file_get_type (void) G_GNUC_CONST;
BoxesUnattendedInstaller* boxes_unattended_installer_new (void);
BoxesUnattendedInstaller* boxes_unattended_installer_construct (GType object_type);
gboolean boxes_installer_media_get_live (BoxesInstallerMedia* self);
gboolean boxes_unattended_installer_get_ready_for_express (BoxesUnattendedInstaller* self);
static GObject * boxes_unattended_installer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void boxes_unattended_installer_finalize (GObject* obj);
gboolean boxes_installer_media_get_need_user_input_for_vm_creation (BoxesInstallerMedia* self);
gboolean boxes_installer_media_get_ready_to_create (BoxesInstallerMedia* self);
static void _vala_boxes_unattended_installer_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void boxes_unattended_file_copy_data_free (gpointer _data);
static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_);
void boxes_unattended_file_get_source_file (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
GFile* boxes_unattended_file_get_source_file_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_file_copy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesUnattendedInstaller* boxes_unattended_file_get_installer (BoxesUnattendedFile* self);
const gchar* boxes_unattended_file_get_src_path (BoxesUnattendedFile* self);
void boxes_unattended_file_set_src_path (BoxesUnattendedFile* self, const gchar* value);
void boxes_unattended_file_set_dest_name (BoxesUnattendedFile* self, const gchar* value);
void boxes_unattended_file_set_installer (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
#define BOXES_UNATTENDED_RAW_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFilePrivate))
enum  {
	BOXES_UNATTENDED_RAW_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_RAW_FILE_DEST_NAME,
	BOXES_UNATTENDED_RAW_FILE_SRC_PATH,
	BOXES_UNATTENDED_RAW_FILE_INSTALLER
};
static void boxes_unattended_raw_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_raw_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_raw_file_real_get_source_file_co (BoxesUnattendedRawFileGetSourceFileData* _data_);
static void boxes_unattended_raw_file_finalize (GObject* obj);
static void _vala_boxes_unattended_raw_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_raw_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define BOXES_UNATTENDED_TEXT_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFilePrivate))
enum  {
	BOXES_UNATTENDED_TEXT_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_TEXT_FILE_DEST_NAME,
	BOXES_UNATTENDED_TEXT_FILE_SRC_PATH,
	BOXES_UNATTENDED_TEXT_FILE_INSTALLER,
	BOXES_UNATTENDED_TEXT_FILE_SCRIPT
};
void boxes_unattended_text_file_set_script (BoxesUnattendedTextFile* self, OsinfoInstallScript* value);
static void boxes_unattended_text_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_text_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_text_file_real_get_source_file_co (BoxesUnattendedTextFileGetSourceFileData* _data_);
OsinfoInstallScript* boxes_unattended_text_file_get_script (BoxesUnattendedTextFile* self);
static void boxes_unattended_text_file_finalize (GObject* obj);
static void _vala_boxes_unattended_text_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_text_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
#define BOXES_UNATTENDED_AVATAR_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFilePrivate))
enum  {
	BOXES_UNATTENDED_AVATAR_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME,
	BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH,
	BOXES_UNATTENDED_AVATAR_FILE_INSTALLER
};
static void _vala_GdkPixbufFormat_free (GdkPixbufFormat* self);
static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle);
static GdkPixbufFormat* _vala_GdkPixbufFormat_copy (GdkPixbufFormat* self);
static void boxes_unattended_avatar_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_avatar_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_avatar_file_real_get_source_file_co (BoxesUnattendedAvatarFileGetSourceFileData* _data_);
GdkPixbuf* boxes_remove_alpha (GdkPixbuf* pixbuf);
static void boxes_unattended_avatar_file_finalize (GObject* obj);
static void _vala_boxes_unattended_avatar_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_avatar_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


GQuark unattended_installer_error_quark (void) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return g_quark_from_static_string ("unattended_installer_error-quark");
#line 999 "unattended-installer.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1006 "unattended-installer.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_free (self);
#line 1015 "unattended-installer.c"
}


static void boxes_unattended_installer_construct_from_media_data_free (gpointer _data) {
	BoxesUnattendedInstallerNewFromMediaData* _data_;
	_data_ = _data;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->media);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->scripts);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerNewFromMediaData, _data_);
#line 1030 "unattended-installer.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? g_object_ref (self) : NULL;
#line 1037 "unattended-installer.c"
}


void boxes_unattended_installer_construct_from_media (GType object_type, BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerNewFromMediaData* _data_;
	BoxesInstallerMedia* _tmp0_;
	BoxesInstallerMedia* _tmp1_;
	OsinfoInstallScriptList* _tmp2_;
	OsinfoInstallScriptList* _tmp3_;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerNewFromMediaData);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, boxes_unattended_installer_construct_from_media);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_construct_from_media_data_free);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->object_type = object_type;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = media;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->media);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->media = _tmp1_;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = scripts;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->scripts);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->scripts = _tmp3_;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_construct_from_media_co (_data_);
#line 1073 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_construct_from_media_finish (GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedInstallerNewFromMediaData* _data_;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1084 "unattended-installer.c"
	}
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->self;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = NULL;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 1094 "unattended-installer.c"
}


static gchar** _vala_array_dup4 (gchar** self, int length) {
	gchar** result;
	int i;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = g_new0 (gchar*, length + 1);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	for (i = 0; i < length; i++) {
#line 1105 "unattended-installer.c"
		gchar* _tmp0_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = g_strdup (self[i]);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result[i] = _tmp0_;
#line 1111 "unattended-installer.c"
	}
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 1115 "unattended-installer.c"
}


static void boxes_unattended_installer_new_from_media_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerNewFromMediaData* _data_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_construct_from_media_co (_data_);
#line 1129 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_construct_from_media_co (BoxesUnattendedInstallerNewFromMediaData* _data_) {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 1138 "unattended-installer.c"
		goto _state_0;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 1142 "unattended-installer.c"
		goto _state_1;
		default:
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 1147 "unattended-installer.c"
	}
	_state_0:
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = (BoxesUnattendedInstaller*) boxes_installer_media_construct (_data_->object_type);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->media;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_->os;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _g_object_ref0 (_data_->_tmp1_);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) _data_->self)->os);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) _data_->self)->os = _data_->_tmp2_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->media;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->_tmp3_->os_media;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _g_object_ref0 (_data_->_tmp4_);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) _data_->self)->os_media);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) _data_->self)->os_media = _data_->_tmp5_;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->media;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = _data_->_tmp6_->label;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = g_strdup (_data_->_tmp7_);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) _data_->self)->label);
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) _data_->self)->label = _data_->_tmp8_;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = _data_->media;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = _data_->_tmp9_->device_file;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = g_strdup (_data_->_tmp10_);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) _data_->self)->device_file);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) _data_->self)->device_file = _data_->_tmp11_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = _data_->media;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = _data_->_tmp12_->from_image;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) _data_->self)->from_image = _data_->_tmp13_;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = _data_->media;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = _data_->_tmp14_->mount_point;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = g_strdup (_data_->_tmp15_);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) _data_->self)->mount_point);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) _data_->self)->mount_point = _data_->_tmp16_;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->media;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = _data_->_tmp17_->resources;
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = _g_object_ref0 (_data_->_tmp18_);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) _data_->self)->resources);
#line 112 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) _data_->self)->resources = _data_->_tmp19_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = _data_->scripts;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = _g_object_ref0 (_data_->_tmp20_);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->scripts);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->scripts = _data_->_tmp21_;
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = osinfo_install_config_new ("http://live.gnome.org/Boxes/unattended");
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->config);
#line 115 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->config = _data_->_tmp22_;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (_data_->self->priv->unattended_files);
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->unattended_files = NULL;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23_ = _data_->scripts;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp24_ = NULL;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp24_ = osinfo_list_get_elements ((OsinfoList*) _data_->_tmp23_);
#line 1242 "unattended-installer.c"
	{
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->s_collection = _data_->_tmp24_;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->s_it = _data_->s_collection; _data_->s_it != NULL; _data_->s_it = _data_->s_it->next) {
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->s = (OsinfoEntity*) _data_->s_it->data;
#line 1250 "unattended-installer.c"
			{
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp25_ = _data_->s;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp25_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _data_->_tmp25_) : NULL);
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->script = _data_->_tmp26_;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp27_ = _data_->script;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp28_ = NULL;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp28_ = osinfo_install_script_get_expected_filename (_data_->_tmp27_);
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp29_ = g_strdup (_data_->_tmp28_);
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->filename = _data_->_tmp29_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp30_ = _data_->script;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp31_ = _data_->filename;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp32_ = boxes_unattended_text_file_new (_data_->self, _data_->_tmp30_, _data_->_tmp31_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp33_ = _data_->_tmp32_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				boxes_unattended_installer_add_unattended_file (_data_->self, (BoxesUnattendedFile*) _data_->_tmp33_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->_tmp33_);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->filename);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->script);
#line 1284 "unattended-installer.c"
			}
		}
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (_data_->s_collection);
#line 1289 "unattended-installer.c"
	}
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_get_current_time (&_data_->time);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp34_ = _data_->time;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp35_ = g_date_time_new_from_timeval_local (&_data_->_tmp34_);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->date = _data_->_tmp35_;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp36_ = NULL;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp36_ = g_date_time_get_timezone_abbreviation (_data_->date);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp37_ = g_strdup (_data_->_tmp36_);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->self->priv->timezone);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->timezone = _data_->_tmp37_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp39_ = NULL;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp39_ = _data_->_tmp38_ = g_get_language_names ();
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp40_ = (_data_->_tmp39_ != NULL) ? _vala_array_dup4 (_data_->_tmp39_, _vala_array_length (_data_->_tmp38_)) : ((gpointer) _data_->_tmp39_);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp40__length1 = _vala_array_length (_data_->_tmp38_);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->langs = _data_->_tmp40_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->langs_length1 = _data_->_tmp40__length1;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_langs_size_ = _data_->langs_length1;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp41_ = _data_->langs[0];
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp42_ = g_strdup (_data_->_tmp41_);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->self->priv->lang);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->lang = _data_->_tmp42_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp43_ = _data_->self->priv->lang;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp44_ = g_strdup (_data_->_tmp43_);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->self->priv->kbd);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->kbd = _data_->_tmp44_;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp45_ = NULL;
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp45_ = boxes_unattended_installer_get_product_key_format (_data_->self);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->self->priv->product_key_format);
#line 131 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->product_key_format = _data_->_tmp45_;
#line 133 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_ui (_data_->self);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_pre_install_drivers (_data_->self, NULL, boxes_unattended_installer_new_from_media_ready, _data_);
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 1355 "unattended-installer.c"
	_state_1:
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_pre_install_drivers_finish (_data_->self, _data_->_res_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->langs = (_vala_array_free (_data_->langs, _data_->langs_length1, (GDestroyNotify) g_free), NULL);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_date_time_unref0 (_data_->date);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1367 "unattended-installer.c"
	} else {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1371 "unattended-installer.c"
	}
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 1377 "unattended-installer.c"
}


void boxes_unattended_installer_new_from_media (BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_construct_from_media (BOXES_TYPE_UNATTENDED_INSTALLER, media, scripts, _callback_, _user_data_);
#line 1384 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_new_from_media_finish (GAsyncResult* _res_, GError** error) {
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_installer_construct_from_media_finish (_res_, error);
#line 1391 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation_data_free (gpointer _data) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
	_data_ = _data;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->vm_name);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerPrepareForInstallationData, _data_);
#line 1406 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation (BoxesInstallerMedia* base, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstaller * self;
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerPrepareForInstallationData);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_real_prepare_for_installation);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_real_prepare_for_installation_data_free);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = vm_name;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->vm_name);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->vm_name = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = cancellable;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp4_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_for_installation_co (_data_);
#line 1448 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation_finish (BoxesInstallerMedia* base, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1458 "unattended-installer.c"
	}
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1462 "unattended-installer.c"
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	GError * _inner_error_ = NULL;
#line 1232 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1232 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (old != NULL, NULL);
#line 1232 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (replacement != NULL, NULL);
#line 1475 "unattended-installer.c"
	{
		const gchar* _tmp0_;
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
		GRegex* _tmp3_;
		GRegex* _tmp4_;
		GRegex* regex;
		GRegex* _tmp5_;
		const gchar* _tmp6_;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp0_ = old;
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp1_ = g_regex_escape_string (_tmp0_, -1);
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp1_;
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp4_ = _tmp3_;
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_free0 (_tmp2_);
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		regex = _tmp4_;
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1505 "unattended-installer.c"
				goto __catch67_g_regex_error;
			}
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1234 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 1514 "unattended-installer.c"
		}
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp5_ = regex;
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp6_ = replacement;
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp7_ = g_regex_replace_literal (_tmp5_, self, (gssize) (-1), 0, _tmp6_, 0, &_inner_error_);
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1530 "unattended-installer.c"
				goto __catch67_g_regex_error;
			}
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 1541 "unattended-installer.c"
		}
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		result = _tmp8_;
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_regex_unref0 (regex);
#line 1235 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		return result;
#line 1549 "unattended-installer.c"
	}
	goto __finally67;
	__catch67_g_regex_error:
	{
		GError* e = NULL;
#line 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		e = _inner_error_;
#line 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_inner_error_ = NULL;
#line 1237 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_assert_not_reached ();
#line 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_error_free0 (e);
#line 1563 "unattended-installer.c"
	}
	__finally67:
#line 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	if (_inner_error_ != NULL) {
#line 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		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 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_clear_error (&_inner_error_);
#line 1233 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		return NULL;
#line 1574 "unattended-installer.c"
	}
}


static void boxes_unattended_installer_prepare_for_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_for_installation_co (_data_);
#line 1589 "unattended-installer.c"
}


static gpointer _g_error_copy0 (gpointer self) {
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? g_error_copy (self) : NULL;
#line 1596 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_prepare_for_installation_co (BoxesUnattendedInstallerPrepareForInstallationData* _data_) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 1605 "unattended-installer.c"
		goto _state_0;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 1609 "unattended-installer.c"
		goto _state_1;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 1613 "unattended-installer.c"
		goto _state_2;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 3:
#line 1617 "unattended-installer.c"
		goto _state_3;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 4:
#line 1621 "unattended-installer.c"
		goto _state_4;
		default:
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 1626 "unattended-installer.c"
	}
	_state_0:
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->self->priv->express_toggle;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = gtk_switch_get_active (_data_->_tmp0_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_data_->_tmp2_) {
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:140: Unattended installation disabled.");
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1643 "unattended-installer.c"
		} else {
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1647 "unattended-installer.c"
		}
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1653 "unattended-installer.c"
	}
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->vm_name;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = NULL;
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = string_replace (_data_->_tmp3_, " ", "-");
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->self->priv->hostname);
#line 144 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->hostname = _data_->_tmp4_;
#line 1665 "unattended-installer.c"
	{
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = _data_->cancellable;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_create_disk_image (_data_->self, _data_->_tmp5_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1675 "unattended-installer.c"
		_state_1:
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_create_disk_image_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1681 "unattended-installer.c"
			goto __catch68_g_error;
		}
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = _data_->self->priv->unattended_files;
#line 1686 "unattended-installer.c"
		{
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->unattended_file_collection = _data_->_tmp6_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			for (_data_->unattended_file_it = _data_->unattended_file_collection; _data_->unattended_file_it != NULL; _data_->unattended_file_it = _data_->unattended_file_it->next) {
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp7_ = _g_object_ref0 ((BoxesUnattendedFile*) _data_->unattended_file_it->data);
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->unattended_file = _data_->_tmp7_;
#line 1696 "unattended-installer.c"
				{
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp8_ = _data_->unattended_file;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp9_ = _data_->cancellable;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_state_ = 2;
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_file_copy (_data_->_tmp8_, _data_->_tmp9_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 1708 "unattended-installer.c"
					_state_2:
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_file_copy_finish (_data_->_tmp8_, _data_->_res_, &_data_->_inner_error_);
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_inner_error_ != NULL) {
#line 150 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (_data_->unattended_file);
#line 1716 "unattended-installer.c"
						goto __catch68_g_error;
					}
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->unattended_file);
#line 1721 "unattended-installer.c"
				}
			}
		}
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = NULL;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_get (_data_->_tmp11_, "kernel-path", &_data_->_tmp12_, NULL);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = _data_->_tmp12_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->_tmp13_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->_tmp14_ != NULL;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->_tmp14_);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp15_) {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp16_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp17_ = NULL;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_get (_data_->_tmp16_, "initrd-path", &_data_->_tmp17_, NULL);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp18_ = _data_->_tmp17_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp19_ = _data_->_tmp18_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp10_ = _data_->_tmp19_ != NULL;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->_tmp19_);
#line 1755 "unattended-installer.c"
		} else {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp10_ = FALSE;
#line 1759 "unattended-installer.c"
		}
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = _data_->_tmp10_;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp20_) {
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp21_ = ((BoxesInstallerMedia*) _data_->self)->device_file;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp22_ = boxes_iso_extractor_new (_data_->_tmp21_);
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->extractor = _data_->_tmp22_;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp23_ = _data_->extractor;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp24_ = _data_->cancellable;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_state_ = 3;
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_iso_extractor_mount_media (_data_->_tmp23_, _data_->_tmp24_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 1781 "unattended-installer.c"
			_state_3:
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_iso_extractor_mount_media_finish (_data_->_tmp23_, _data_->_res_, &_data_->_inner_error_);
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_ != NULL) {
#line 156 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->extractor);
#line 1789 "unattended-installer.c"
				goto __catch68_g_error;
			}
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp25_ = _data_->extractor;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp26_ = _data_->cancellable;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_state_ = 4;
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_extract_boot_files (_data_->self, _data_->_tmp25_, _data_->_tmp26_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 1802 "unattended-installer.c"
			_state_4:
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_extract_boot_files_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_ != NULL) {
#line 158 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->extractor);
#line 1810 "unattended-installer.c"
				goto __catch68_g_error;
			}
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->extractor);
#line 1815 "unattended-installer.c"
		}
	}
	goto __finally68;
	__catch68_g_error:
	{
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_clean_up (_data_->self, &_data_->_inner_error_);
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 161 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_error_free0 (_data_->_error_);
#line 1831 "unattended-installer.c"
			goto __finally68;
		}
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp27_ = _data_->self->priv->express_toggle;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_switch_set_active (_data_->_tmp27_, FALSE);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp28_ = _data_->_error_;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _g_error_copy0 (_data_->_tmp28_);
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = _data_->_tmp29_;
#line 167 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 1846 "unattended-installer.c"
		goto __finally68;
	}
	__finally68:
	{
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		__g_list_free__g_object_unref0_0 (_data_->self->priv->unattended_files);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->self->priv->unattended_files = NULL;
#line 1855 "unattended-installer.c"
	}
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1867 "unattended-installer.c"
		} else {
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1871 "unattended-installer.c"
		}
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1877 "unattended-installer.c"
	}
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1883 "unattended-installer.c"
	} else {
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1887 "unattended-installer.c"
	}
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 1893 "unattended-installer.c"
}


static void boxes_unattended_installer_real_setup_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain) {
	BoxesUnattendedInstaller * self;
	GVirConfigDomain* _tmp0_;
	GVirConfigDomainDisk* _tmp1_ = NULL;
	GVirConfigDomainDisk* disk;
	GVirConfigDomainDisk* _tmp2_;
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (domain != NULL);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = domain;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->setup_domain_config (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia), _tmp0_);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_unattended_disk_config (self);
#line 176 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp1_;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = disk;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ != NULL) {
#line 1919 "unattended-installer.c"
		GVirConfigDomain* _tmp3_;
		GVirConfigDomainDisk* _tmp4_;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = domain;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = disk;
#line 178 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_add_device (_tmp3_, (GVirConfigDomainDevice*) _tmp4_);
#line 1928 "unattended-installer.c"
	}
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (disk);
#line 1932 "unattended-installer.c"
}


void boxes_unattended_installer_configure_install_script (BoxesUnattendedInstaller* self, OsinfoInstallScript* script) {
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gboolean _tmp3_;
	const gchar* _tmp12_;
	const gchar* _tmp13_;
	gboolean _tmp20_ = FALSE;
	GtkEntry* _tmp21_;
	gboolean _tmp25_;
	OsinfoInstallConfig* _tmp30_;
	const gchar* _tmp31_;
	OsinfoInstallConfig* _tmp32_;
	const gchar* _tmp33_;
	OsinfoInstallConfig* _tmp34_;
	const gchar* _tmp35_;
	OsinfoInstallConfig* _tmp36_;
	const gchar* _tmp37_;
	OsinfoInstallConfig* _tmp38_;
	OsinfoMedia* _tmp39_;
	gchar* _tmp40_ = NULL;
	gchar* _tmp41_;
	gchar* _tmp42_;
	OsinfoOs* _tmp43_;
	const gchar* _tmp44_;
	const gchar* _tmp45_;
	gchar* device_name = NULL;
	OsinfoInstallScript* _tmp52_;
	OsinfoPathFormat _tmp53_;
	OsinfoPathFormat _tmp54_;
	gchar* _tmp55_ = NULL;
	OsinfoInstallConfig* _tmp56_;
	OsinfoInstallScript* _tmp57_;
	OsinfoPathFormat _tmp58_;
	OsinfoPathFormat _tmp59_;
	const gchar* _tmp60_;
	gchar* _tmp61_ = NULL;
	gchar* _tmp62_;
	BoxesUnattendedAvatarFile* _tmp63_;
	OsinfoInstallConfig* _tmp78_;
	OsinfoInstallConfig* _tmp79_;
	const gchar* _tmp80_ = NULL;
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (script != NULL);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_get_password (self);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_ != NULL;
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp2_);
#line 182 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp3_) {
#line 1994 "unattended-installer.c"
		OsinfoInstallConfig* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		OsinfoInstallConfig* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		gchar* _tmp11_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = self->config;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = boxes_unattended_installer_get_password (self);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _tmp6_;
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_user_password (_tmp4_, _tmp7_);
#line 183 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp7_);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = self->config;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = boxes_unattended_installer_get_password (self);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp9_;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = _tmp10_;
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_admin_password (_tmp8_, _tmp11_);
#line 184 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp11_);
#line 2027 "unattended-installer.c"
	}
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = boxes_unattended_installer_get_username (self);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp13_ != NULL) {
#line 2035 "unattended-installer.c"
		OsinfoInstallConfig* _tmp14_;
		const gchar* _tmp15_;
		const gchar* _tmp16_;
		OsinfoInstallConfig* _tmp17_;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp14_ = self->config;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp15_ = boxes_unattended_installer_get_username (self);
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp16_ = _tmp15_;
#line 187 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_user_login (_tmp14_, _tmp16_);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp17_ = self->config;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp18_ = boxes_unattended_installer_get_username (self);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp19_ = _tmp18_;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_user_realname (_tmp17_, _tmp19_);
#line 2058 "unattended-installer.c"
	}
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = self->priv->key_entry;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp21_ != NULL) {
#line 2064 "unattended-installer.c"
		GtkEntry* _tmp22_;
		const gchar* _tmp23_;
		const gchar* _tmp24_;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp22_ = self->priv->key_entry;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp23_ = gtk_entry_get_text (_tmp22_);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp24_ = _tmp23_;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = _tmp24_ != NULL;
#line 2076 "unattended-installer.c"
	} else {
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = FALSE;
#line 2080 "unattended-installer.c"
	}
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = _tmp20_;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp25_) {
#line 2086 "unattended-installer.c"
		OsinfoInstallConfig* _tmp26_;
		GtkEntry* _tmp27_;
		const gchar* _tmp28_;
		const gchar* _tmp29_;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp26_ = self->config;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp27_ = self->priv->key_entry;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp28_ = gtk_entry_get_text (_tmp27_);
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp29_ = _tmp28_;
#line 191 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_reg_product_key (_tmp26_, _tmp29_);
#line 2101 "unattended-installer.c"
	}
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = self->config;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = self->priv->timezone;
#line 192 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_l10n_timezone (_tmp30_, _tmp31_);
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = self->config;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = self->priv->lang;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_l10n_language (_tmp32_, _tmp33_);
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = self->config;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = self->priv->kbd;
#line 194 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_l10n_keyboard (_tmp34_, _tmp35_);
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = self->config;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = self->priv->hostname;
#line 195 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_hostname (_tmp36_, _tmp37_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = self->config;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = ((BoxesInstallerMedia*) self)->os_media;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_tmp39_, "architecture", &_tmp40_, NULL);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = _tmp40_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = _tmp41_;
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_hardware_arch (_tmp38_, _tmp42_);
#line 196 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp42_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = ((BoxesInstallerMedia*) self)->os;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp44_ = osinfo_os_get_distro (_tmp43_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp45_ = _tmp44_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp45_, "win") == 0) {
#line 2149 "unattended-installer.c"
		OsinfoInstallConfig* _tmp46_;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp46_ = self->config;
#line 200 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_target_disk (_tmp46_, "C");
#line 2155 "unattended-installer.c"
	} else {
		const gchar* _tmp47_ = NULL;
		gboolean _tmp48_;
		gboolean _tmp49_;
		OsinfoInstallConfig* _tmp50_;
		const gchar* _tmp51_;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp48_ = boxes_installer_media_get_supports_virtio_disk ((BoxesInstallerMedia*) self);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp49_ = _tmp48_;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp49_) {
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp47_ = "/dev/vda";
#line 2170 "unattended-installer.c"
		} else {
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp47_ = "/dev/sda";
#line 2174 "unattended-installer.c"
		}
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp50_ = self->config;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp51_ = _tmp47_;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_target_disk (_tmp50_, _tmp51_);
#line 2182 "unattended-installer.c"
	}
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp52_ = script;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = osinfo_install_script_get_path_format (_tmp52_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp54_ = _tmp53_;
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_get_unattended_disk_info (self, _tmp54_, &_tmp55_);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (device_name);
#line 205 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	device_name = _tmp55_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp56_ = self->config;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp57_ = script;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp58_ = osinfo_install_script_get_path_format (_tmp57_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp59_ = _tmp58_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp60_ = device_name;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp61_ = boxes_unattended_installer_device_name_to_path (self, _tmp59_, _tmp60_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp62_ = _tmp61_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_script_disk (_tmp56_, _tmp62_);
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp62_);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp63_ = self->priv->avatar_file;
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp63_ != NULL) {
#line 2218 "unattended-installer.c"
		const gchar* _tmp64_ = NULL;
		OsinfoInstallScript* _tmp65_;
		OsinfoPathFormat _tmp66_;
		OsinfoPathFormat _tmp67_;
		const gchar* _tmp68_;
		BoxesUnattendedAvatarFile* _tmp69_;
		const gchar* _tmp70_;
		const gchar* _tmp71_;
		gchar* _tmp72_;
		gchar* location;
		OsinfoInstallConfig* _tmp73_;
		const gchar* _tmp74_;
		OsinfoInstallConfig* _tmp75_;
		OsinfoInstallConfig* _tmp76_;
		const gchar* _tmp77_ = NULL;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp65_ = script;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp66_ = osinfo_install_script_get_path_format (_tmp65_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp67_ = _tmp66_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp67_ == OSINFO_PATH_FORMAT_UNIX) {
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp64_ = "/";
#line 2244 "unattended-installer.c"
		} else {
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp64_ = "\\";
#line 2248 "unattended-installer.c"
		}
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp68_ = _tmp64_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp69_ = self->priv->avatar_file;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp70_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _tmp69_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp71_ = _tmp70_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp72_ = g_strconcat (_tmp68_, _tmp71_, NULL);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		location = _tmp72_;
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp73_ = self->config;
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp74_ = location;
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_avatar_location (_tmp73_, _tmp74_);
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp75_ = self->config;
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp76_ = self->config;
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp77_ = osinfo_install_config_get_script_disk (_tmp76_);
#line 211 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_avatar_disk (_tmp75_, _tmp77_);
#line 208 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (location);
#line 2278 "unattended-installer.c"
	}
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp78_ = self->config;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp79_ = self->config;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp80_ = osinfo_install_config_get_script_disk (_tmp79_);
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_pre_install_drivers_disk (_tmp78_, _tmp80_);
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (device_name);
#line 2290 "unattended-installer.c"
}


static void boxes_unattended_installer_real_populate_setup_vbox (BoxesInstallerMedia* base, GtkVBox* setup_vbox) {
	BoxesUnattendedInstaller * self;
	GtkVBox* _tmp0_;
	GList* _tmp1_ = NULL;
	GtkVBox* _tmp4_;
	GtkLabel* _tmp5_;
	GtkVBox* _tmp6_;
	GtkHBox* _tmp7_;
	GtkVBox* _tmp8_;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (setup_vbox != NULL);
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = setup_vbox;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 2311 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp1_;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 2319 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 2323 "unattended-installer.c"
			{
				GtkVBox* _tmp2_;
				GtkWidget* _tmp3_;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = setup_vbox;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = child;
#line 219 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				gtk_container_remove ((GtkContainer*) _tmp2_, _tmp3_);
#line 2333 "unattended-installer.c"
			}
		}
#line 218 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 2338 "unattended-installer.c"
	}
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = setup_vbox;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->priv->setup_label;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp4_, (GtkWidget*) _tmp5_, FALSE, FALSE, (guint) 0);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = setup_vbox;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->priv->setup_hbox;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp6_, (GtkWidget*) _tmp7_, FALSE, FALSE, (guint) 0);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = setup_vbox;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp8_);
#line 2356 "unattended-installer.c"
}


static void _boxes_pair_unref0_ (gpointer var) {
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(var == NULL) ? NULL : (var = (boxes_pair_unref (var), NULL));
#line 2363 "unattended-installer.c"
}


static void _g_list_free__boxes_pair_unref0_ (GList* self) {
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_foreach (self, (GFunc) _boxes_pair_unref0_, NULL);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_free (self);
#line 2372 "unattended-installer.c"
}


static GList* boxes_unattended_installer_real_get_vm_properties (BoxesInstallerMedia* base) {
	BoxesUnattendedInstaller * self;
	GList* result = NULL;
	GList* _tmp0_ = NULL;
	GList* properties;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->get_vm_properties (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia));
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	properties = _tmp0_;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_express_install (self);
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 229 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_) {
#line 2395 "unattended-installer.c"
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_;
		const gchar* _tmp5_;
		BoxesPair* _tmp6_;
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		BoxesPair* _tmp11_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _ ("Username");
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = boxes_unattended_installer_get_username (self);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = boxes_pair_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp3_, _tmp5_);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp6_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _ ("Password");
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = boxes_unattended_installer_get_hidden_password (self);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = _tmp8_;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp9_;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = boxes_pair_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp7_, _tmp10_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp11_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp10_);
#line 2429 "unattended-installer.c"
	}
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = properties;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2435 "unattended-installer.c"
}


static void boxes_unattended_installer_real_set_direct_boot_params (BoxesInstallerMedia* base, GVirConfigDomainOs* os) {
	BoxesUnattendedInstaller * self;
	gboolean _tmp0_ = FALSE;
	GFile* _tmp1_;
	gboolean _tmp3_;
	OsinfoInstallScriptList* _tmp4_;
	OsinfoEntity* _tmp5_ = NULL;
	OsinfoInstallScript* _tmp6_;
	OsinfoInstallScript* script;
	OsinfoInstallScript* _tmp7_;
	const gchar* _tmp8_ = NULL;
	gchar* _tmp9_;
	gchar* cmdline;
	GVirConfigDomainOs* _tmp10_;
	GFile* _tmp11_;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_;
	GVirConfigDomainOs* _tmp14_;
	GFile* _tmp15_;
	gchar* _tmp16_ = NULL;
	gchar* _tmp17_;
	GVirConfigDomainOs* _tmp18_;
	const gchar* _tmp19_;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (os != NULL);
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->kernel_file;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp1_ == NULL) {
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = TRUE;
#line 2472 "unattended-installer.c"
	} else {
		GFile* _tmp2_;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = self->initrd_file;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp2_ == NULL;
#line 2479 "unattended-installer.c"
	}
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp0_;
#line 238 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp3_) {
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 2487 "unattended-installer.c"
	}
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->scripts;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = osinfo_list_get_nth ((OsinfoList*) _tmp4_, 0);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _tmp5_) : NULL);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	script = _tmp6_;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = script;
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = osinfo_install_script_get_expected_filename (_tmp7_);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = g_strconcat ("ks=hd:sda:/", _tmp8_, NULL);
#line 243 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	cmdline = _tmp9_;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = os;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = self->kernel_file;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = g_file_get_path (_tmp11_);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_os_set_kernel (_tmp10_, _tmp13_);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp13_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = os;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = self->initrd_file;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = g_file_get_path (_tmp15_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = _tmp16_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_os_set_ramdisk (_tmp14_, _tmp17_);
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp17_);
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = os;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = cmdline;
#line 247 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_os_set_cmdline (_tmp18_, _tmp19_);
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (cmdline);
#line 237 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (script);
#line 2539 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* filename;
	const gchar* _tmp2_;
	const gchar* _tmp8_;
	gchar* _tmp9_ = NULL;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->hostname;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	filename = _tmp1_;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = suffix;
#line 252 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ != NULL) {
#line 2563 "unattended-installer.c"
		const gchar* _tmp3_;
		const gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = filename;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = suffix;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strconcat ("-", _tmp4_, NULL);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = g_strconcat (_tmp3_, _tmp6_, NULL);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (filename);
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		filename = _tmp7_;
#line 253 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp6_);
#line 2585 "unattended-installer.c"
	}
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = filename;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = boxes_get_user_pkgcache (_tmp8_);
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp9_;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (filename);
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2597 "unattended-installer.c"
}


static Block48Data* block48_data_ref (Block48Data* _data48_) {
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_atomic_int_inc (&_data48_->_ref_count_);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return _data48_;
#line 2606 "unattended-installer.c"
}


static void block48_data_unref (void * _userdata_) {
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 2615 "unattended-installer.c"
		BoxesUnattendedInstaller * self;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self = _data48_->self;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data48_->notebook);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_slice_free (Block48Data, _data48_);
#line 2625 "unattended-installer.c"
	}
}


static void __lambda51_ (BoxesUnattendedInstaller* self) {
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject*) self, "ready-to-create");
#line 2633 "unattended-installer.c"
}


static void ___lambda51__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__lambda51_ (self);
#line 2640 "unattended-installer.c"
}


static void __lambda53_ (Block48Data* _data48_) {
	BoxesUnattendedInstaller * self;
	GtkNotebook* _tmp0_;
	GtkEntry* _tmp1_;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data48_->self;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _data48_->notebook;
#line 334 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_next_page (_tmp0_);
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->priv->password_entry;
#line 335 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set ((GtkWidget*) _tmp1_, "is-focus", TRUE, NULL);
#line 2658 "unattended-installer.c"
}


static void ___lambda53__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__lambda53_ (self);
#line 2665 "unattended-installer.c"
}


static gboolean __lambda54_ (Block48Data* _data48_) {
	BoxesUnattendedInstaller * self;
	gboolean result = FALSE;
	GtkEntry* _tmp0_;
	guint _tmp1_;
	guint _tmp2_;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data48_->self;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->password_entry;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text_length (_tmp0_);
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ == ((guint) 0)) {
#line 2685 "unattended-installer.c"
		GtkNotebook* _tmp3_;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _data48_->notebook;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_notebook_prev_page (_tmp3_);
#line 2691 "unattended-installer.c"
	}
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = FALSE;
#line 340 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2697 "unattended-installer.c"
}


static gboolean ___lambda54__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
	gboolean result;
	result = __lambda54_ (self);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2706 "unattended-installer.c"
}


static void _boxes_unattended_installer_on_key_text_inserted_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_on_key_text_inserted (self, new_text, new_text_length, position);
#line 2713 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_ui (BoxesUnattendedInstaller* self) {
	Block48Data* _data48_;
	const gchar* _tmp0_ = NULL;
	GtkLabel* _tmp1_;
	GtkLabel* _tmp2_;
	GtkLabel* _tmp3_;
	GtkLabel* _tmp4_;
	GtkHBox* _tmp5_;
	GtkHBox* _tmp6_;
	GtkHBox* _tmp7_;
	GtkGrid* _tmp8_;
	GtkHBox* _tmp9_;
	GtkGrid* _tmp10_;
	GtkGrid* _tmp11_;
	GtkGrid* _tmp12_;
	GtkGrid* _tmp13_;
	GtkGrid* _tmp14_;
	const gchar* _tmp15_ = NULL;
	GtkLabel* _tmp16_;
	GtkLabel* label;
	GtkLabel* _tmp17_;
	GtkLabel* _tmp18_;
	GtkLabel* _tmp19_;
	GtkLabel* _tmp20_;
	GtkGrid* _tmp21_;
	GtkLabel* _tmp22_;
	GtkSwitch* _tmp23_;
	GtkSwitch* _tmp24_;
	OsinfoMedia* _tmp25_;
	gboolean _tmp26_ = FALSE;
	gboolean _tmp27_;
	GtkSwitch* _tmp28_;
	GtkSwitch* _tmp29_;
	GtkSwitch* _tmp30_;
	GtkSwitch* _tmp31_;
	GtkGrid* _tmp32_;
	GtkSwitch* _tmp33_;
	gint _tmp34_;
	GtkImage* _tmp35_;
	GtkImage* avatar;
	GtkImage* _tmp36_;
	GtkImage* _tmp37_;
	GtkImage* _tmp38_;
	GtkImage* _tmp39_;
	GtkGrid* _tmp40_;
	GtkImage* _tmp41_;
	GtkImage* _tmp42_;
	GtkImage* _tmp43_;
	const gchar* _tmp44_ = NULL;
	GtkLabel* _tmp45_;
	GtkLabel* _tmp46_;
	GtkLabel* _tmp47_;
	GtkLabel* _tmp48_;
	GtkLabel* _tmp49_;
	GtkGrid* _tmp50_;
	GtkLabel* _tmp51_;
	const gchar* _tmp52_ = NULL;
	GtkEntry* _tmp53_ = NULL;
	GtkEntry* _tmp54_;
	GtkEntry* _tmp55_;
	GtkEntry* _tmp56_;
	GtkGrid* _tmp57_;
	GtkEntry* _tmp58_;
	gint _tmp59_;
	const gchar* _tmp60_ = NULL;
	GtkLabel* _tmp61_;
	GtkLabel* _tmp62_;
	GtkLabel* _tmp63_;
	GtkLabel* _tmp64_;
	GtkGrid* _tmp65_;
	GtkLabel* _tmp66_;
	GtkNotebook* _tmp67_;
	GtkNotebook* _tmp68_;
	GtkNotebook* _tmp69_;
	GtkNotebook* _tmp70_;
	GtkNotebook* _tmp71_;
	const gchar* _tmp72_ = NULL;
	GtkButton* _tmp73_;
	GtkButton* button;
	GtkButton* _tmp74_;
	GtkNotebook* _tmp75_;
	GtkButton* _tmp76_;
	GtkEntry* _tmp77_ = NULL;
	GtkNotebook* _tmp78_;
	GtkEntry* _tmp79_;
	GtkButton* _tmp80_;
	GtkEntry* _tmp81_;
	GtkGrid* _tmp82_;
	GtkNotebook* _tmp83_;
	gint _tmp84_;
	GtkGrid* _tmp85_;
	GList* _tmp86_ = NULL;
	const gchar* _tmp91_;
	const gchar* _tmp92_ = NULL;
	GtkLabel* _tmp93_;
	GtkLabel* _tmp94_;
	GtkLabel* _tmp95_;
	GtkLabel* _tmp96_;
	GtkLabel* _tmp97_;
	GtkGrid* _tmp98_;
	GtkLabel* _tmp99_;
	gint _tmp100_;
	GtkSwitch* _tmp101_;
	GtkLabel* _tmp102_;
	GtkEntry* _tmp103_ = NULL;
	GtkEntry* _tmp104_;
	const gchar* _tmp105_;
	gint _tmp106_;
	gint _tmp107_;
	GtkEntry* _tmp108_;
	const gchar* _tmp109_;
	gint _tmp110_;
	gint _tmp111_;
	GtkEntry* _tmp112_;
	GtkEntry* _tmp113_;
	GtkEntry* _tmp114_;
	GtkEntry* _tmp115_;
	GtkStyleContext* _tmp116_ = NULL;
	GtkGrid* _tmp117_;
	GtkEntry* _tmp118_;
	gint _tmp119_;
	GtkSwitch* _tmp120_;
	GtkEntry* _tmp121_;
	gint _tmp122_;
	GtkEntry* _tmp123_;
	gulong _tmp124_ = 0UL;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data48_ = g_slice_new0 (Block48Data);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data48_->_ref_count_ = 1;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data48_->self = g_object_ref (self);
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _ ("Choose express install to automatically preconfigure the box with opti" \
"mal settings.");
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp1_);
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_label);
#line 259 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_label = _tmp1_;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = self->priv->setup_label;
#line 260 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set (_tmp2_, "wrap", TRUE, NULL);
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = self->priv->setup_label;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_label_set_width_chars (_tmp3_, 30);
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->priv->setup_label;
#line 262 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp4_, GTK_ALIGN_START);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = (GtkHBox*) gtk_hbox_new (FALSE, 0);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp5_);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_hbox);
#line 263 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_hbox = _tmp5_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = self->priv->setup_hbox;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp6_, GTK_ALIGN_START);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->priv->setup_hbox;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set ((GtkWidget*) _tmp7_, "margin", 24, NULL);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = (GtkGrid*) gtk_grid_new ();
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp8_);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_grid);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid = _tmp8_;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = self->priv->setup_hbox;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = self->priv->setup_grid;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start ((GtkBox*) _tmp9_, (GtkWidget*) _tmp10_, FALSE, FALSE, (guint) 0);
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = self->priv->setup_grid;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_column_spacing (_tmp11_, 0);
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = self->priv->setup_grid;
#line 270 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_column_homogeneous (_tmp12_, FALSE);
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = self->priv->setup_grid;
#line 271 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_row_spacing (_tmp13_, 0);
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = self->priv->setup_grid;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_row_homogeneous (_tmp14_, TRUE);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _ ("Express Install");
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = (GtkLabel*) gtk_label_new (_tmp15_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp16_);
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp16_;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = label;
#line 278 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp17_, 10);
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = label;
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp18_, 15);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = label;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp19_, GTK_ALIGN_END);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = label;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp20_, GTK_ALIGN_CENTER);
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = self->priv->setup_grid;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = label;
#line 282 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp21_, (GtkWidget*) _tmp22_, 0, 0, 2, 1);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = (GtkSwitch*) gtk_switch_new ();
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp23_);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->express_toggle);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->express_toggle = _tmp23_;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = self->priv->express_toggle;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = ((BoxesInstallerMedia*) self)->os_media;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_tmp25_, "live", &_tmp26_, NULL);
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = _tmp26_;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_switch_set_active (_tmp24_, !_tmp27_);
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = self->priv->express_toggle;
#line 286 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp28_, 15);
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp29_ = self->priv->express_toggle;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp29_, GTK_ALIGN_START);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = self->priv->express_toggle;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp30_, GTK_ALIGN_CENTER);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = self->priv->express_toggle;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_object ((GObject*) _tmp31_, "notify::active", (GCallback) ___lambda51__g_object_notify, self, 0);
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = self->priv->setup_grid;
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = self->priv->express_toggle;
#line 290 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp32_, (GtkWidget*) _tmp33_, 2, 0, 1, 1);
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = self->priv->setup_grid_n_rows;
#line 291 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp34_ + 1;
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = (GtkImage*) gtk_image_new_from_icon_name ("avatar-default", 0);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp35_);
#line 294 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	avatar = _tmp35_;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = avatar;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_image_set_pixel_size (_tmp36_, 64);
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = avatar;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp37_, 15);
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = avatar;
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp38_, GTK_ALIGN_CENTER);
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = avatar;
#line 298 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp39_, GTK_ALIGN_CENTER);
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp40_ = self->priv->setup_grid;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = avatar;
#line 299 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp40_, (GtkWidget*) _tmp41_, 0, 1, 1, 2);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = avatar;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp42_);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = avatar;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar (self, _tmp43_, NULL, NULL);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp44_ = _ ("Username");
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp45_ = (GtkLabel*) gtk_label_new (_tmp44_);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp45_);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp45_;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp46_ = label;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp46_, 10);
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp47_ = label;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp47_, 10);
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp48_ = label;
#line 306 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp48_, GTK_ALIGN_END);
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp49_ = label;
#line 307 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp49_, GTK_ALIGN_END);
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp50_ = self->priv->setup_grid;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp51_ = label;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp50_, (GtkWidget*) _tmp51_, 1, 1, 1, 1);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp52_ = g_get_user_name ();
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = boxes_unattended_installer_create_input_entry (self, _tmp52_, TRUE, TRUE);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->username_entry);
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->username_entry = _tmp53_;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp54_ = self->priv->username_entry;
#line 310 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp54_, 10);
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp55_ = self->priv->username_entry;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp55_, GTK_ALIGN_FILL);
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp56_ = self->priv->username_entry;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp56_, GTK_ALIGN_END);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp57_ = self->priv->setup_grid;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp58_ = self->priv->username_entry;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp57_, (GtkWidget*) _tmp58_, 2, 1, 1, 1);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp59_ = self->priv->setup_grid_n_rows;
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp59_ + 1;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp60_ = _ ("Password");
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp61_ = (GtkLabel*) gtk_label_new (_tmp60_);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp61_);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp61_;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp62_ = label;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp62_, 10);
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp63_ = label;
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp63_, GTK_ALIGN_END);
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp64_ = label;
#line 320 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp64_, GTK_ALIGN_START);
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp65_ = self->priv->setup_grid;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp66_ = label;
#line 321 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp65_, (GtkWidget*) _tmp66_, 1, 2, 1, 1);
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp67_ = (GtkNotebook*) gtk_notebook_new ();
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp67_);
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data48_->notebook = _tmp67_;
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp68_ = _data48_->notebook;
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_tabs (_tmp68_, FALSE);
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp69_ = _data48_->notebook;
#line 325 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_border (_tmp69_, FALSE);
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp70_ = _data48_->notebook;
#line 326 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp70_, GTK_ALIGN_FILL);
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp71_ = _data48_->notebook;
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp71_, GTK_ALIGN_START);
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp72_ = _ ("_Add Password");
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp73_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp72_);
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp73_);
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	button = _tmp73_;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp74_ = button;
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp74_, TRUE);
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp75_ = _data48_->notebook;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp76_ = button;
#line 330 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp75_, (GtkWidget*) _tmp76_, NULL);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp77_ = boxes_unattended_installer_create_input_entry (self, "", FALSE, FALSE);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 331 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->password_entry = _tmp77_;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp78_ = _data48_->notebook;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp79_ = self->priv->password_entry;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp78_, (GtkWidget*) _tmp79_, NULL);
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp80_ = button;
#line 333 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_data (_tmp80_, "clicked", (GCallback) ___lambda53__gtk_button_clicked, block48_data_ref (_data48_), (GClosureNotify) block48_data_unref, 0);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp81_ = self->priv->password_entry;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_data ((GtkWidget*) _tmp81_, "focus-out-event", (GCallback) ___lambda54__gtk_widget_focus_out_event, block48_data_ref (_data48_), (GClosureNotify) block48_data_unref, 0);
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp82_ = self->priv->setup_grid;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp83_ = _data48_->notebook;
#line 342 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp82_, (GtkWidget*) _tmp83_, 2, 2, 1, 1);
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp84_ = self->priv->setup_grid_n_rows;
#line 343 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp84_ + 1;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp85_ = self->priv->setup_grid;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp86_ = gtk_container_get_children ((GtkContainer*) _tmp85_);
#line 3193 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp86_;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 3201 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 3205 "unattended-installer.c"
			{
				GtkWidget* _tmp87_;
				GtkSwitch* _tmp88_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp87_ = child;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp88_ = self->priv->express_toggle;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp87_ != G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, GTK_TYPE_WIDGET, GtkWidget)) {
#line 3215 "unattended-installer.c"
					GtkSwitch* _tmp89_;
					GtkWidget* _tmp90_;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp89_ = self->priv->express_toggle;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp90_ = child;
#line 347 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_object_bind_property_with_closures ((GObject*) _tmp89_, "active", (GObject*) _tmp90_, "sensitive", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 3224 "unattended-installer.c"
				}
			}
		}
#line 345 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 3230 "unattended-installer.c"
	}
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp91_ = self->priv->product_key_format;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp91_ == NULL) {
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (button);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (avatar);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (label);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		block48_data_unref (_data48_);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data48_ = NULL;
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 3248 "unattended-installer.c"
	}
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp92_ = _ ("Product Key");
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp93_ = (GtkLabel*) gtk_label_new (_tmp92_);
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp93_);
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp93_;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp94_ = label;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_top ((GtkWidget*) _tmp94_, 15);
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp95_ = label;
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp95_, 10);
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp96_ = label;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp96_, GTK_ALIGN_END);
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp97_ = label;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp97_, GTK_ALIGN_CENTER);
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp98_ = self->priv->setup_grid;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp99_ = label;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp100_ = self->priv->setup_grid_n_rows;
#line 357 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp98_, (GtkWidget*) _tmp99_, 0, _tmp100_, 2, 1);
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp101_ = self->priv->express_toggle;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp102_ = label;
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp101_, "active", (GObject*) _tmp102_, "sensitive", 0, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp103_ = boxes_unattended_installer_create_input_entry (self, "", TRUE, TRUE);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->key_entry);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->key_entry = _tmp103_;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp104_ = self->priv->key_entry;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp105_ = self->priv->product_key_format;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp106_ = strlen (_tmp105_);
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp107_ = _tmp106_;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_width_chars (_tmp104_, _tmp107_);
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp108_ = self->priv->key_entry;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp109_ = self->priv->product_key_format;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp110_ = strlen (_tmp109_);
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp111_ = _tmp110_;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_max_length (_tmp108_, _tmp111_);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp112_ = self->priv->key_entry;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_top ((GtkWidget*) _tmp112_, 15);
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp113_ = self->priv->key_entry;
#line 364 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp113_, GTK_ALIGN_FILL);
#line 365 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp114_ = self->priv->key_entry;
#line 365 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp114_, GTK_ALIGN_CENTER);
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp115_ = self->priv->key_entry;
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp116_ = gtk_widget_get_style_context ((GtkWidget*) _tmp115_);
#line 366 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_style_context_add_class (_tmp116_, "boxes-product-key-entry");
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp117_ = self->priv->setup_grid;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp118_ = self->priv->key_entry;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp119_ = self->priv->setup_grid_n_rows;
#line 367 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp117_, (GtkWidget*) _tmp118_, 2, _tmp119_, 1, 1);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp120_ = self->priv->express_toggle;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp121_ = self->priv->key_entry;
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp120_, "active", (GObject*) _tmp121_, "sensitive", 0, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp122_ = self->priv->setup_grid_n_rows;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp122_ + 1;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp123_ = self->priv->key_entry;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp124_ = g_signal_connect_object ((GtkEditable*) _tmp123_, "insert-text", (GCallback) _boxes_unattended_installer_on_key_text_inserted_gtk_editable_insert_text, self, 0);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->key_inserted_id = _tmp124_;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (button);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (avatar);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	block48_data_unref (_data48_);
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data48_ = NULL;
#line 3368 "unattended-installer.c"
}


static gchar string_get (const gchar* self, glong index) {
	gchar result = '\0';
	glong _tmp0_;
	gchar _tmp1_;
#line 955 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, '\0');
#line 956 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = index;
#line 956 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp1_ = ((gchar*) self)[_tmp0_];
#line 956 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	result = _tmp1_;
#line 956 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	return result;
#line 3386 "unattended-installer.c"
}


static void boxes_unattended_installer_on_key_text_inserted (BoxesUnattendedInstaller* self, const gchar* text, gint text_length, gint* position) {
	gchar* _tmp0_;
	gchar* _result_;
	const gchar* _tmp41_;
	GtkEntry* _tmp53_;
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (text != NULL);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = g_strdup ("");
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_result_ = _tmp0_;
#line 3403 "unattended-installer.c"
	{
		guint i;
		gint _tmp1_;
		guint j;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		i = (guint) 0;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = *position;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		j = (guint) _tmp1_;
#line 3414 "unattended-installer.c"
		{
			gboolean _tmp2_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp2_ = TRUE;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			while (TRUE) {
#line 3421 "unattended-installer.c"
				gboolean _tmp3_;
				gboolean _tmp4_ = FALSE;
				guint _tmp5_;
				gint _tmp6_;
				gboolean _tmp11_;
				const gchar* _tmp12_;
				guint _tmp13_;
				gchar _tmp14_ = '\0';
				gchar character;
				const gchar* _tmp15_;
				guint _tmp16_;
				gchar _tmp17_ = '\0';
				gchar allowed_char;
				gboolean skip_input_char;
				gchar _tmp18_;
				guint _tmp33_;
				gboolean _tmp34_;
				const gchar* _tmp35_;
				gchar _tmp36_;
				gchar* _tmp37_ = NULL;
				gchar* _tmp38_;
				gchar* _tmp39_;
				guint _tmp40_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = _tmp2_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (!_tmp3_) {
#line 3449 "unattended-installer.c"
				}
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = FALSE;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = i;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = text_length;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp5_ < ((guint) _tmp6_)) {
#line 3459 "unattended-installer.c"
					guint _tmp7_;
					const gchar* _tmp8_;
					gint _tmp9_;
					gint _tmp10_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = j;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp8_ = self->priv->product_key_format;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = strlen (_tmp8_);
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp10_ = _tmp9_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp4_ = _tmp7_ < ((guint) _tmp10_);
#line 3474 "unattended-installer.c"
				} else {
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp4_ = FALSE;
#line 3478 "unattended-installer.c"
				}
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp11_ = _tmp4_;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (!_tmp11_) {
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					break;
#line 3486 "unattended-installer.c"
				}
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp12_ = text;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp13_ = i;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp14_ = string_get (_tmp12_, (glong) _tmp13_);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				character = _tmp14_;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp15_ = self->priv->product_key_format;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp16_ = j;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp17_ = string_get (_tmp15_, (glong) _tmp16_);
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				allowed_char = _tmp17_;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				skip_input_char = FALSE;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp18_ = allowed_char;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				switch (_tmp18_) {
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '@':
#line 3512 "unattended-installer.c"
					{
#line 384 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3516 "unattended-installer.c"
					}
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '%':
#line 3520 "unattended-installer.c"
					{
						gchar _tmp19_;
						gboolean _tmp20_ = FALSE;
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp19_ = character;
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp20_ = g_ascii_isalpha (_tmp19_);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (!_tmp20_) {
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							skip_input_char = TRUE;
#line 3532 "unattended-installer.c"
						}
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3536 "unattended-installer.c"
					}
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '#':
#line 3540 "unattended-installer.c"
					{
						gchar _tmp21_;
						gboolean _tmp22_ = FALSE;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp21_ = character;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp22_ = g_ascii_isdigit (_tmp21_);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (!_tmp22_) {
#line 393 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							skip_input_char = TRUE;
#line 3552 "unattended-installer.c"
						}
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3556 "unattended-installer.c"
					}
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '$':
#line 3560 "unattended-installer.c"
					{
						gchar _tmp23_;
						gboolean _tmp24_ = FALSE;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp23_ = character;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp24_ = g_ascii_isalnum (_tmp23_);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (!_tmp24_) {
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							skip_input_char = TRUE;
#line 3572 "unattended-installer.c"
						}
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3576 "unattended-installer.c"
					}
					default:
					{
						gchar _tmp25_;
						gchar _tmp26_;
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp25_ = character;
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp26_ = allowed_char;
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (_tmp25_ != _tmp26_) {
#line 3588 "unattended-installer.c"
							const gchar* _tmp27_;
							gchar _tmp28_;
							gchar* _tmp29_ = NULL;
							gchar* _tmp30_;
							gchar* _tmp31_;
							guint _tmp32_;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp27_ = _result_;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp28_ = allowed_char;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp29_ = g_strdup_printf ("%c", _tmp28_);
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp30_ = _tmp29_;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp31_ = g_strconcat (_tmp27_, _tmp30_, NULL);
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_g_free0 (_result_);
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_result_ = _tmp31_;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_g_free0 (_tmp30_);
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp32_ = j;
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							j = _tmp32_ + 1;
#line 406 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							continue;
#line 3617 "unattended-installer.c"
						}
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3621 "unattended-installer.c"
					}
				}
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp33_ = i;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				i = _tmp33_ + 1;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp34_ = skip_input_char;
#line 413 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp34_) {
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					continue;
#line 3634 "unattended-installer.c"
				}
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp35_ = _result_;
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp36_ = character;
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp37_ = g_strdup_printf ("%c", _tmp36_);
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp38_ = _tmp37_;
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp39_ = g_strconcat (_tmp35_, _tmp38_, NULL);
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_result_);
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_result_ = _tmp39_;
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_tmp38_);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp40_ = j;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				j = _tmp40_ + 1;
#line 3656 "unattended-installer.c"
			}
		}
	}
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = _result_;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp41_, "") != 0) {
#line 3664 "unattended-installer.c"
		GtkEntry* _tmp42_;
		gulong _tmp43_;
		GtkEntry* _tmp44_;
		const gchar* _tmp45_;
		gchar* _tmp46_ = NULL;
		gchar* _tmp47_;
		const gchar* _tmp48_;
		gint _tmp49_;
		gint _tmp50_;
		GtkEntry* _tmp51_;
		gulong _tmp52_;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp42_ = self->priv->key_entry;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp43_ = self->priv->key_inserted_id;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_signal_handler_block (_tmp42_, _tmp43_);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp44_ = self->priv->key_entry;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp45_ = _result_;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp46_ = g_utf8_strup (_tmp45_, (gssize) (-1));
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp47_ = _tmp46_;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp48_ = _result_;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp49_ = strlen (_tmp48_);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp50_ = _tmp49_;
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_editable_insert_text ((GtkEditable*) _tmp44_, _tmp47_, _tmp50_, position);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp47_);
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp51_ = self->priv->key_entry;
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp52_ = self->priv->key_inserted_id;
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_signal_handler_unblock (_tmp51_, _tmp52_);
#line 3706 "unattended-installer.c"
	}
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = self->priv->key_entry;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_stop_emission_by_name (_tmp53_, "insert-text");
#line 374 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_result_);
#line 3714 "unattended-installer.c"
}


static void boxes_unattended_installer_clean_up (BoxesUnattendedInstaller* self, GError** error) {
	GFile* _tmp0_;
	GFile* _tmp2_;
	GFile* _tmp4_;
	GError * _inner_error_ = NULL;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->disk_file;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ != NULL) {
#line 3729 "unattended-installer.c"
		GFile* _tmp1_;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = self->disk_file;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 3741 "unattended-installer.c"
		}
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->disk_file);
#line 432 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->disk_file = NULL;
#line 3747 "unattended-installer.c"
	}
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = self->kernel_file;
#line 435 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ != NULL) {
#line 3753 "unattended-installer.c"
		GFile* _tmp3_;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = self->kernel_file;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp3_, &_inner_error_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 3765 "unattended-installer.c"
		}
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->kernel_file);
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->kernel_file = NULL;
#line 3771 "unattended-installer.c"
	}
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->initrd_file;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp4_ != NULL) {
#line 3777 "unattended-installer.c"
		GFile* _tmp5_;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = self->initrd_file;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp5_, &_inner_error_);
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return;
#line 3789 "unattended-installer.c"
		}
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->initrd_file);
#line 442 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->initrd_file = NULL;
#line 3795 "unattended-installer.c"
	}
}


static GVirConfigDomainDisk* boxes_unattended_installer_get_unattended_disk_config (BoxesUnattendedInstaller* self) {
	GVirConfigDomainDisk* result = NULL;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	GFile* _tmp3_;
	GVirConfigDomainDisk* _tmp4_;
	GVirConfigDomainDisk* disk;
	GVirConfigDomainDisk* _tmp5_;
	GVirConfigDomainDisk* _tmp6_;
	GVirConfigDomainDisk* _tmp7_;
	GVirConfigDomainDisk* _tmp8_;
	GFile* _tmp9_;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_;
	gchar* device_name = NULL;
	gchar* _tmp12_ = NULL;
	GVirConfigDomainDiskGuestDeviceType _tmp13_ = 0;
	GVirConfigDomainDiskGuestDeviceType device_type;
	GVirConfigDomainDisk* _tmp14_;
	GVirConfigDomainDiskGuestDeviceType _tmp15_;
	GVirConfigDomainDisk* _tmp16_;
	const gchar* _tmp17_;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->express_toggle;
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_switch_get_active (_tmp0_);
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp2_) {
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = NULL;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3837 "unattended-installer.c"
	}
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = self->disk_file;
#line 450 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (_tmp3_ != NULL, NULL);
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = gvir_config_domain_disk_new ();
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp4_;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = disk;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_type (_tmp5_, GVIR_CONFIG_DOMAIN_DISK_FILE);
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = disk;
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_name (_tmp6_, "qemu");
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = disk;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_type (_tmp7_, "raw");
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = disk;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = self->disk_file;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = g_file_get_path (_tmp9_);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = _tmp10_;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_source (_tmp8_, _tmp11_);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp11_);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = boxes_unattended_installer_get_unattended_disk_info (self, OSINFO_PATH_FORMAT_UNIX, &_tmp12_);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (device_name);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	device_name = _tmp12_;
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	device_type = _tmp13_;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = disk;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = device_type;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_guest_device_type (_tmp14_, _tmp15_);
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = disk;
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = device_name;
#line 461 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_target_dev (_tmp16_, _tmp17_);
#line 463 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = disk;
#line 463 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (device_name);
#line 463 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3897 "unattended-installer.c"
}


static GVirConfigDomainDiskGuestDeviceType boxes_unattended_installer_get_unattended_disk_info (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format, gchar** device_name) {
	gchar* _vala_device_name = NULL;
	GVirConfigDomainDiskGuestDeviceType result = 0;
	OsinfoOs* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = ((BoxesInstallerMedia*) self)->os;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_os_get_distro (_tmp0_);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp2_, "win") == 0) {
#line 3917 "unattended-installer.c"
		const gchar* _tmp3_ = NULL;
		OsinfoPathFormat _tmp4_;
		const gchar* _tmp5_;
		gchar* _tmp6_;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = path_format;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp4_ == OSINFO_PATH_FORMAT_DOS) {
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = "A";
#line 3928 "unattended-installer.c"
		} else {
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = "fd";
#line 3932 "unattended-installer.c"
		}
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp3_;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = g_strdup (_tmp5_);
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_vala_device_name);
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_vala_device_name = _tmp6_;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_FLOPPY;
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (device_name) {
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			*device_name = _vala_device_name;
#line 3948 "unattended-installer.c"
		} else {
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_vala_device_name);
#line 3952 "unattended-installer.c"
		}
#line 471 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 3956 "unattended-installer.c"
	} else {
		gboolean _tmp7_;
		gboolean _tmp8_;
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = boxes_installer_media_get_supports_virtio_disk ((BoxesInstallerMedia*) self);
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = _tmp7_;
#line 474 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp8_) {
#line 3966 "unattended-installer.c"
			const gchar* _tmp9_ = NULL;
			OsinfoPathFormat _tmp10_;
			const gchar* _tmp11_;
			gchar* _tmp12_;
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp10_ = path_format;
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_tmp10_ == OSINFO_PATH_FORMAT_UNIX) {
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp9_ = "sda";
#line 3977 "unattended-installer.c"
			} else {
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp9_ = "E";
#line 3981 "unattended-installer.c"
			}
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp11_ = _tmp9_;
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp12_ = g_strdup (_tmp11_);
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_vala_device_name);
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_vala_device_name = _tmp12_;
#line 3991 "unattended-installer.c"
		} else {
			const gchar* _tmp13_ = NULL;
			OsinfoPathFormat _tmp14_;
			const gchar* _tmp15_;
			gchar* _tmp16_;
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp14_ = path_format;
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_tmp14_ == OSINFO_PATH_FORMAT_UNIX) {
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp13_ = "sdb";
#line 4003 "unattended-installer.c"
			} else {
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp13_ = "E";
#line 4007 "unattended-installer.c"
			}
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp15_ = _tmp13_;
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp16_ = g_strdup (_tmp15_);
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_vala_device_name);
#line 477 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_vala_device_name = _tmp16_;
#line 4017 "unattended-installer.c"
		}
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_DISK;
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (device_name) {
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			*device_name = _vala_device_name;
#line 4025 "unattended-installer.c"
		} else {
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_vala_device_name);
#line 4029 "unattended-installer.c"
		}
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 4033 "unattended-installer.c"
	}
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (device_name) {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*device_name = _vala_device_name;
#line 4039 "unattended-installer.c"
	} else {
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_vala_device_name);
#line 4043 "unattended-installer.c"
	}
}


static gchar* boxes_unattended_installer_device_name_to_path (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format, const gchar* name) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	OsinfoPathFormat _tmp1_;
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = path_format;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp1_ == OSINFO_PATH_FORMAT_UNIX) {
#line 4060 "unattended-installer.c"
		const gchar* _tmp2_;
		gchar* _tmp3_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = name;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = g_strconcat ("/dev/", _tmp2_, NULL);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp0_);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp3_;
#line 4071 "unattended-installer.c"
	} else {
		const gchar* _tmp4_;
		gchar* _tmp5_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = name;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strdup (_tmp4_);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp0_);
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp5_;
#line 4083 "unattended-installer.c"
	}
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4089 "unattended-installer.c"
}


static void boxes_unattended_installer_add_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file) {
	BoxesUnattendedFile* _tmp0_;
	BoxesUnattendedFile* _tmp1_;
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 487 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (file != NULL);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = file;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->unattended_files = g_list_append (self->priv->unattended_files, _tmp1_);
#line 4106 "unattended-installer.c"
}


static void ___lambda52_ (BoxesUnattendedInstaller* self) {
#line 499 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject*) self, "ready-to-create");
#line 4113 "unattended-installer.c"
}


static void ____lambda52__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	___lambda52_ (self);
#line 4120 "unattended-installer.c"
}


static GtkEntry* boxes_unattended_installer_create_input_entry (BoxesUnattendedInstaller* self, const gchar* text, gboolean mandatory, gboolean visibility) {
	GtkEntry* result = NULL;
	GtkEntry* _tmp0_;
	GtkEntry* entry;
	GtkEntry* _tmp1_;
	gboolean _tmp2_;
	GtkEntry* _tmp3_;
	GtkEntry* _tmp4_;
	const gchar* _tmp5_;
	gboolean _tmp6_;
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 491 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (text != NULL, NULL);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = (GtkEntry*) gtk_entry_new ();
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp0_);
#line 492 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	entry = _tmp0_;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = entry;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = visibility;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_visibility (_tmp1_, _tmp2_);
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = entry;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp3_, TRUE);
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = entry;
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = text;
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_text (_tmp4_, _tmp5_);
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = mandatory;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp6_) {
#line 4164 "unattended-installer.c"
		GtkEntry* _tmp7_;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = entry;
#line 498 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_signal_connect_object ((GObject*) _tmp7_, "notify::text", (GCallback) ____lambda52__g_object_notify, self, 0);
#line 4170 "unattended-installer.c"
	}
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = entry;
#line 502 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4176 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_data_free (gpointer _data) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
	_data_ = _data;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerCreateDiskImageData, _data_);
#line 4189 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerCreateDiskImageData);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_create_disk_image);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_create_disk_image_data_free);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_create_disk_image_co (_data_);
#line 4218 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 4228 "unattended-installer.c"
	}
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 4232 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_create_disk_image_co (_data_);
#line 4246 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_) {
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4255 "unattended-installer.c"
		goto _state_0;
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4259 "unattended-installer.c"
		goto _state_1;
		default:
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4264 "unattended-installer.c"
	}
	_state_0:
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = NULL;
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_installer_get_user_unattended (_data_->self, "unattended.img");
#line 506 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->disk_path = _data_->_tmp0_;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_file_new_for_path (_data_->disk_path);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->disk_file);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->disk_file = _data_->_tmp1_;
#line 509 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 509 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_get_unattended ("disk.img");
#line 509 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_path = _data_->_tmp2_;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = NULL;
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = g_file_new_for_path (_data_->template_path);
#line 510 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_file = _data_->_tmp3_;
#line 512 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:512: Creating disk image for unattended inst" \
"allation at '%s'..", _data_->disk_path);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->self->disk_file;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->cancellable;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_copy_async (_data_->template_file, _data_->_tmp4_, G_FILE_COPY_OVERWRITE, G_PRIORITY_DEFAULT, _data_->_tmp5_, NULL, NULL, boxes_unattended_installer_create_disk_image_ready, _data_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4305 "unattended-installer.c"
	_state_1:
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_copy_finish (_data_->template_file, _data_->_res_, &_data_->_inner_error_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->template_file);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->template_path);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->disk_path);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4325 "unattended-installer.c"
		} else {
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4329 "unattended-installer.c"
		}
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4335 "unattended-installer.c"
	}
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:514: Floppy image for unattended installatio" \
"n created at '%s'", _data_->disk_path);
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->template_file);
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->template_path);
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->disk_path);
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4349 "unattended-installer.c"
	} else {
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4353 "unattended-installer.c"
	}
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4359 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_data_free (gpointer _data) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
	_data_ = _data;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->avatar);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerFetchUserAvatarData, _data_);
#line 4372 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar (BoxesUnattendedInstaller* self, GtkImage* avatar, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GtkImage* _tmp1_;
	GtkImage* _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerFetchUserAvatarData);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_fetch_user_avatar);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_fetch_user_avatar_data_free);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = avatar;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->avatar);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->avatar = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar_co (_data_);
#line 4401 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 4409 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar_co (_data_);
#line 4423 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_) {
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4432 "unattended-installer.c"
		goto _state_0;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4436 "unattended-installer.c"
		goto _state_1;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 4440 "unattended-installer.c"
		goto _state_2;
		default:
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4445 "unattended-installer.c"
	}
	_state_0:
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_installer_accounts;
#line 518 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp0_ == NULL) {
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4456 "unattended-installer.c"
		} else {
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4460 "unattended-installer.c"
		}
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 519 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4466 "unattended-installer.c"
	}
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_get_user_name ();
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_strdup (_data_->_tmp1_);
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->username = _data_->_tmp2_;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->username;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = g_strconcat ("/var/lib/AccountsService/icons/", _data_->_tmp3_, NULL);
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->avatar_path = _data_->_tmp4_;
#line 4482 "unattended-installer.c"
	{
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = boxes_unattended_installer_accounts;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = NULL;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = g_get_user_name ();
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_fdo_accounts_FindUserByName (_data_->_tmp5_, _data_->_tmp6_, boxes_unattended_installer_fetch_user_avatar_ready, _data_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4496 "unattended-installer.c"
		_state_1:
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = NULL;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = boxes_fdo_accounts_FindUserByName_finish (_data_->_tmp5_, _data_->_res_, &_data_->_inner_error_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->path = _data_->_tmp7_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 4508 "unattended-installer.c"
				goto __catch69_g_io_error;
			}
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 4521 "unattended-installer.c"
		}
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp8_ = _data_->path;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 2;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_async_initable_new_async (BOXES_FDO_TYPE_ACCOUNTS_USER_PROXY, 0, NULL, boxes_unattended_installer_fetch_user_avatar_ready, _data_, "g-flags", 0, "g-name", "org.freedesktop.Accounts", "g-bus-type", G_BUS_TYPE_SYSTEM, "g-object-path", _data_->_tmp8_, "g-interface-name", "org.freedesktop.Accounts.User", NULL);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4531 "unattended-installer.c"
		_state_2:
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = NULL;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = g_async_initable_new_finish (_data_->_source_object_, _data_->_res_, &_data_->_inner_error_);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->user = (BoxesFdoAccountsUser*) _data_->_tmp9_;
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 4545 "unattended-installer.c"
				goto __catch69_g_io_error;
			}
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 526 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 4560 "unattended-installer.c"
		}
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp10_ = _data_->user;
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = boxes_fdo_accounts_user_get_IconFile (_data_->_tmp10_);
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 527 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->avatar_path = _data_->_tmp12_;
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->user);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->path);
#line 4576 "unattended-installer.c"
	}
	goto __finally69;
	__catch69_g_io_error:
	{
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = _data_->username;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->_error_;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->_tmp14_->message;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:529: Failed to retrieve information about us" \
"er '%s': %s", _data_->_tmp13_, _data_->_tmp15_);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 4595 "unattended-installer.c"
	}
	__finally69:
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->username);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4610 "unattended-installer.c"
	}
	{
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp16_ = _data_->avatar_path;
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp17_ = gdk_pixbuf_new_from_file_at_scale (_data_->_tmp16_, 64, 64, TRUE, &_data_->_inner_error_);
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->pixbuf = _data_->_tmp17_;
#line 533 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 4621 "unattended-installer.c"
			goto __catch70_g_error;
		}
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp18_ = _data_->avatar;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp19_ = _data_->pixbuf;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_set (_data_->_tmp18_, "pixbuf", _data_->_tmp19_, NULL);
#line 536 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->avatar_format = NULL;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = _data_->self->scripts;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = NULL;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = osinfo_list_get_elements ((OsinfoList*) _data_->_tmp20_);
#line 4638 "unattended-installer.c"
		{
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->s_collection = _data_->_tmp21_;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			for (_data_->s_it = _data_->s_collection; _data_->s_it != NULL; _data_->s_it = _data_->s_it->next) {
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->s = (OsinfoEntity*) _data_->s_it->data;
#line 4646 "unattended-installer.c"
				{
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp22_ = _data_->s;
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp23_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp22_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _data_->_tmp22_) : NULL);
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->script = _data_->_tmp23_;
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp24_ = _data_->script;
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp25_ = osinfo_install_script_get_avatar_format (_data_->_tmp24_);
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp26_ = _data_->_tmp25_;
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp27_ = _g_object_ref0 (_data_->_tmp26_);
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->avatar_format);
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->avatar_format = _data_->_tmp27_;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp28_ = _data_->avatar_format;
#line 540 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_tmp28_ != NULL) {
#line 541 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (_data_->script);
#line 541 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 4674 "unattended-installer.c"
					}
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->script);
#line 4678 "unattended-installer.c"
				}
			}
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_list_free0 (_data_->s_collection);
#line 4683 "unattended-installer.c"
		}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _data_->avatar_path;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = _data_->avatar_format;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = boxes_unattended_avatar_file_new (_data_->self, _data_->_tmp29_, _data_->_tmp30_, &_data_->_inner_error_);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp32_ = _data_->_tmp31_;
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->avatar_format);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 4699 "unattended-installer.c"
			goto __catch70_g_error;
		}
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->self->priv->avatar_file);
#line 544 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->self->priv->avatar_file = _data_->_tmp32_;
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp33_ = _data_->self->priv->avatar_file;
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_add_unattended_file (_data_->self, (BoxesUnattendedFile*) _data_->_tmp33_);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->avatar_format);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 4714 "unattended-installer.c"
	}
	goto __finally70;
	__catch70_g_error:
	{
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp34_ = _data_->avatar_path;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp35_ = _data_->_vala1__error_;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp36_ = _data_->_tmp35_->message;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:547: Failed to load user avatar file '%s': %" \
"s", _data_->_tmp34_, _data_->_tmp36_);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 4733 "unattended-installer.c"
	}
	__finally70:
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->username);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 532 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4748 "unattended-installer.c"
	}
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->avatar_path);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->username);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4758 "unattended-installer.c"
	} else {
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4762 "unattended-installer.c"
	}
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4768 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files_data_free (gpointer _data) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
	_data_ = _data;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->extractor);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerExtractBootFilesData, _data_);
#line 4783 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files (BoxesUnattendedInstaller* self, BoxesISOExtractor* extractor, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesISOExtractor* _tmp1_;
	BoxesISOExtractor* _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerExtractBootFilesData);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_extract_boot_files);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_extract_boot_files_data_free);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = extractor;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->extractor);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->extractor = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = cancellable;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp4_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_extract_boot_files_co (_data_);
#line 4822 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 4832 "unattended-installer.c"
	}
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 4836 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_extract_boot_files_co (_data_);
#line 4850 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_extract_boot_files_co (BoxesUnattendedInstallerExtractBootFilesData* _data_) {
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4859 "unattended-installer.c"
		goto _state_0;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4863 "unattended-installer.c"
		goto _state_1;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 4867 "unattended-installer.c"
		goto _state_2;
		default:
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4872 "unattended-installer.c"
	}
	_state_0:
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->extractor;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_data_->_tmp1_, "kernel-path", &_data_->_tmp2_, NULL);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = NULL;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = boxes_iso_extractor_get_absolute_path (_data_->_tmp0_, _data_->_tmp4_, &_data_->_inner_error_);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp4_);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_path = _data_->_tmp6_;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4907 "unattended-installer.c"
		} else {
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4911 "unattended-installer.c"
		}
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4917 "unattended-installer.c"
	}
#line 553 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = NULL;
#line 553 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = boxes_unattended_installer_get_user_unattended (_data_->self, "kernel");
#line 553 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->dest_path = _data_->_tmp7_;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = _data_->src_path;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = _data_->dest_path;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = _data_->cancellable;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_copy_file (_data_->self, _data_->_tmp8_, _data_->_tmp9_, _data_->_tmp10_, boxes_unattended_installer_extract_boot_files_ready, _data_);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4937 "unattended-installer.c"
	_state_1:
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = NULL;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = boxes_unattended_installer_copy_file_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->dest_path);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->src_path);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4959 "unattended-installer.c"
		} else {
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4963 "unattended-installer.c"
		}
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4969 "unattended-installer.c"
	}
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->kernel_file);
#line 554 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->kernel_file = _data_->_tmp12_;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = _data_->extractor;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = NULL;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_data_->_tmp14_, "initrd-path", &_data_->_tmp15_, NULL);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = NULL;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = boxes_iso_extractor_get_absolute_path (_data_->_tmp13_, _data_->_tmp17_, &_data_->_inner_error_);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp17_);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->dest_path);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->src_path);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5011 "unattended-installer.c"
		} else {
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5015 "unattended-installer.c"
		}
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5021 "unattended-installer.c"
	}
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->src_path);
#line 556 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_path = _data_->_tmp20_;
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = NULL;
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = boxes_unattended_installer_get_user_unattended (_data_->self, "initrd");
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->dest_path);
#line 557 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->dest_path = _data_->_tmp21_;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = _data_->src_path;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23_ = _data_->dest_path;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp24_ = _data_->cancellable;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 2;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_copy_file (_data_->self, _data_->_tmp22_, _data_->_tmp23_, _data_->_tmp24_, boxes_unattended_installer_extract_boot_files_ready, _data_);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5047 "unattended-installer.c"
	_state_2:
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp25_ = NULL;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp25_ = boxes_unattended_installer_copy_file_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp26_ = _data_->_tmp25_;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->dest_path);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->src_path);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5069 "unattended-installer.c"
		} else {
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5073 "unattended-installer.c"
		}
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5079 "unattended-installer.c"
	}
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->initrd_file);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->initrd_file = _data_->_tmp26_;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->dest_path);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->src_path);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5093 "unattended-installer.c"
	} else {
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5097 "unattended-installer.c"
	}
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5103 "unattended-installer.c"
}


static void boxes_unattended_installer_copy_file_data_free (gpointer _data) {
	BoxesUnattendedInstallerCopyFileData* _data_;
	_data_ = _data;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->src_path);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->dest_path);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->result);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerCopyFileData, _data_);
#line 5122 "unattended-installer.c"
}


static void boxes_unattended_installer_copy_file (BoxesUnattendedInstaller* self, const gchar* src_path, const gchar* dest_path, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerCopyFileData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	GCancellable* _tmp5_;
	GCancellable* _tmp6_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerCopyFileData);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_copy_file);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_copy_file_data_free);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->src_path);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_path = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = dest_path;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->dest_path);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->dest_path = _tmp4_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = cancellable;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp6_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_copy_file_co (_data_);
#line 5171 "unattended-installer.c"
}


static GFile* boxes_unattended_installer_copy_file_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedInstallerCopyFileData* _data_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 5182 "unattended-installer.c"
	}
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5192 "unattended-installer.c"
}


static void boxes_unattended_installer_copy_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerCopyFileData* _data_;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_copy_file_co (_data_);
#line 5206 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_copy_file_co (BoxesUnattendedInstallerCopyFileData* _data_) {
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5215 "unattended-installer.c"
		goto _state_0;
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 5219 "unattended-installer.c"
		goto _state_1;
		default:
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5224 "unattended-installer.c"
	}
	_state_0:
#line 562 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->src_path;
#line 562 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 562 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_file_new_for_path (_data_->_tmp0_);
#line 562 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_file = _data_->_tmp1_;
#line 563 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->dest_path;
#line 563 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = NULL;
#line 563 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = g_file_new_for_path (_data_->_tmp2_);
#line 563 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->dest_file = _data_->_tmp3_;
#line 5243 "unattended-installer.c"
	{
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp4_ = _data_->src_path;
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = _data_->dest_path;
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:566: Copying '%s' to '%s'..", _data_->_tmp4_, _data_->_tmp5_);
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = _data_->cancellable;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_file_copy_async (_data_->src_file, _data_->dest_file, 0, G_PRIORITY_DEFAULT, _data_->_tmp6_, NULL, NULL, boxes_unattended_installer_copy_file_ready, _data_);
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5259 "unattended-installer.c"
		_state_1:
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_file_copy_finish (_data_->src_file, _data_->_res_, &_data_->_inner_error_);
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (g_error_matches (_data_->_inner_error_, G_IO_ERROR, G_IO_ERROR_EXISTS)) {
#line 5267 "unattended-installer.c"
				goto __catch71_g_io_error_exists;
			}
			goto __finally71;
		}
#line 568 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = _data_->src_path;
#line 568 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp8_ = _data_->dest_path;
#line 568 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:568: Copied '%s' to '%s'.", _data_->_tmp7_, _data_->_tmp8_);
#line 5278 "unattended-installer.c"
	}
	goto __finally71;
	__catch71_g_io_error_exists:
	{
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 5289 "unattended-installer.c"
	}
	__finally71:
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->dest_file);
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->src_file);
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5306 "unattended-installer.c"
		} else {
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5310 "unattended-installer.c"
		}
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 565 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5316 "unattended-installer.c"
	}
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->dest_file;
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->src_file);
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5326 "unattended-installer.c"
	} else {
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5330 "unattended-installer.c"
	}
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->dest_file);
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->src_file);
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5344 "unattended-installer.c"
	} else {
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5348 "unattended-installer.c"
	}
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 561 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5354 "unattended-installer.c"
}


static gchar* boxes_unattended_installer_get_product_key_format (BoxesUnattendedInstaller* self) {
	gchar* result = NULL;
	OsinfoInstallScriptList* _tmp0_;
	GList* _tmp1_ = NULL;
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->scripts;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_list_get_elements ((OsinfoList*) _tmp0_);
#line 5368 "unattended-installer.c"
	{
		GList* s_collection = NULL;
		GList* s_it = NULL;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		s_collection = _tmp1_;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (s_it = s_collection; s_it != NULL; s_it = s_it->next) {
#line 5376 "unattended-installer.c"
			OsinfoEntity* s = NULL;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			s = (OsinfoEntity*) s_it->data;
#line 5380 "unattended-installer.c"
			{
				OsinfoEntity* _tmp2_;
				OsinfoInstallScript* _tmp3_;
				OsinfoInstallScript* script;
				OsinfoInstallScript* _tmp4_;
				OsinfoInstallConfigParam* _tmp5_ = NULL;
				OsinfoInstallConfigParam* param;
				gboolean _tmp6_ = FALSE;
				OsinfoInstallConfigParam* _tmp7_;
				gboolean _tmp10_;
				OsinfoInstallScript* _tmp11_;
				const gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
				gchar* format;
				const gchar* _tmp14_;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = s;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _tmp2_) : NULL);
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				script = _tmp3_;
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp4_ = script;
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = osinfo_install_script_get_config_param (_tmp4_, OSINFO_INSTALL_CONFIG_PROP_REG_PRODUCTKEY);
#line 579 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				param = _tmp5_;
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp7_ = param;
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp7_ == NULL) {
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = TRUE;
#line 5414 "unattended-installer.c"
				} else {
					OsinfoInstallConfigParam* _tmp8_;
					gboolean _tmp9_ = FALSE;
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp8_ = param;
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = osinfo_install_config_param_is_optional (_tmp8_);
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = _tmp9_;
#line 5424 "unattended-installer.c"
				}
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp10_ = _tmp6_;
#line 580 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp10_) {
#line 581 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (param);
#line 581 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (script);
#line 581 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					continue;
#line 5436 "unattended-installer.c"
				}
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp11_ = script;
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp12_ = osinfo_install_script_get_product_key_format (_tmp11_);
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp13_ = g_strdup (_tmp12_);
#line 583 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				format = _tmp13_;
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp14_ = format;
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp14_ != NULL) {
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					result = format;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (param);
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (script);
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_list_free0 (s_collection);
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return result;
#line 5460 "unattended-installer.c"
				}
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (format);
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (param);
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (script);
#line 5468 "unattended-installer.c"
			}
		}
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (s_collection);
#line 5473 "unattended-installer.c"
	}
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = NULL;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5479 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_drivers_data_free (gpointer _data) {
	BoxesUnattendedInstallerSetupPreInstallDriversData* _data_;
	_data_ = _data;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerSetupPreInstallDriversData, _data_);
#line 5492 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_drivers (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupPreInstallDriversData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerSetupPreInstallDriversData);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_setup_pre_install_drivers);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_setup_pre_install_drivers_data_free);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_pre_install_drivers_co (_data_);
#line 5521 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_drivers_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_) {
	BoxesUnattendedInstallerSetupPreInstallDriversData* _data_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 5529 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_drivers_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupPreInstallDriversData* _data_;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_pre_install_drivers_co (_data_);
#line 5543 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_setup_pre_install_drivers_co (BoxesUnattendedInstallerSetupPreInstallDriversData* _data_) {
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5552 "unattended-installer.c"
		goto _state_0;
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 5556 "unattended-installer.c"
		goto _state_1;
		default:
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5561 "unattended-installer.c"
	}
	_state_0:
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = ((BoxesInstallerMedia*) _data_->self)->os;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = osinfo_os_get_device_drivers (_data_->_tmp0_);
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = osinfo_list_get_elements ((OsinfoList*) _data_->_tmp1_);
#line 5574 "unattended-installer.c"
	{
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->d_collection = _data_->_tmp2_;
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->d_it = _data_->d_collection; _data_->d_it != NULL; _data_->d_it = _data_->d_it->next) {
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->d = (OsinfoEntity*) _data_->d_it->data;
#line 5582 "unattended-installer.c"
			{
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp3_ = _data_->d;
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp3_, osinfo_device_driver_get_type ()) ? ((OsinfoDeviceDriver*) _data_->_tmp3_) : NULL);
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->driver = _data_->_tmp4_;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp6_ = _data_->driver;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp7_ = NULL;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp7_ = osinfo_device_driver_get_architecture (_data_->_tmp6_);
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp8_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp9_ = NULL;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_object_get (_data_->_tmp8_, "architecture", &_data_->_tmp9_, NULL);
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp10_ = _data_->_tmp9_;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp11_ = _data_->_tmp10_;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp12_ = g_strcmp0 (_data_->_tmp7_, _data_->_tmp11_) != 0;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp11_);
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_data_->_tmp12_) {
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp5_ = TRUE;
#line 5614 "unattended-installer.c"
				} else {
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp13_ = _data_->driver;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp14_ = FALSE;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp14_ = osinfo_device_driver_get_pre_installable (_data_->_tmp13_);
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp5_ = !_data_->_tmp14_;
#line 5624 "unattended-installer.c"
				}
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp15_ = _data_->_tmp5_;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_data_->_tmp15_) {
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->driver);
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					continue;
#line 5634 "unattended-installer.c"
				}
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp16_ = _data_->self->scripts;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp17_ = NULL;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp17_ = osinfo_list_get_elements ((OsinfoList*) _data_->_tmp16_);
#line 5642 "unattended-installer.c"
				{
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->s_collection = _data_->_tmp17_;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					for (_data_->s_it = _data_->s_collection; _data_->s_it != NULL; _data_->s_it = _data_->s_it->next) {
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->s = (OsinfoEntity*) _data_->s_it->data;
#line 5650 "unattended-installer.c"
						{
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_data_->_tmp18_ = _data_->s;
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_data_->_tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp18_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _data_->_tmp18_) : NULL);
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_data_->script = _data_->_tmp19_;
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_data_->_tmp20_ = _data_->script;
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_data_->_tmp21_ = FALSE;
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_data_->_tmp21_ = osinfo_install_script_get_can_pre_install_drivers (_data_->_tmp20_);
#line 599 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							if (!_data_->_tmp21_) {
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_g_object_unref0 (_data_->script);
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								continue;
#line 5670 "unattended-installer.c"
							}
							{
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp22_ = _data_->driver;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp23_ = _data_->script;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp24_ = _data_->cancellable;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_state_ = 1;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								boxes_unattended_installer_setup_pre_install_driver_for_script (_data_->self, _data_->_tmp22_, _data_->_tmp23_, _data_->_tmp24_, boxes_unattended_installer_setup_pre_install_drivers_ready, _data_);
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								return FALSE;
#line 5685 "unattended-installer.c"
								_state_1:
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								boxes_unattended_installer_setup_pre_install_driver_for_script_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								if (_data_->_inner_error_ != NULL) {
#line 5691 "unattended-installer.c"
									goto __catch72_g_error;
								}
							}
							goto __finally72;
							__catch72_g_error:
							{
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->e = _data_->_inner_error_;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_inner_error_ = NULL;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp25_ = _data_->driver;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp26_ = NULL;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp26_ = osinfo_device_driver_get_location (_data_->_tmp25_);
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp27_ = _data_->e;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_data_->_tmp28_ = _data_->_tmp27_->message;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								g_debug ("unattended-installer.vala:605: Failed to make use of drivers at '%s': " \
"%s", _data_->_tmp26_, _data_->_tmp28_);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_g_error_free0 (_data_->e);
#line 5716 "unattended-installer.c"
							}
							__finally72:
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							if (_data_->_inner_error_ != NULL) {
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_g_object_unref0 (_data_->script);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_g_list_free0 (_data_->s_collection);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_g_object_unref0 (_data_->driver);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_g_list_free0 (_data_->d_collection);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								g_clear_error (&_data_->_inner_error_);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								return FALSE;
#line 5735 "unattended-installer.c"
							}
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_g_object_unref0 (_data_->script);
#line 5739 "unattended-installer.c"
						}
					}
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_list_free0 (_data_->s_collection);
#line 5744 "unattended-installer.c"
				}
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->driver);
#line 5748 "unattended-installer.c"
			}
		}
#line 592 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (_data_->d_collection);
#line 5753 "unattended-installer.c"
	}
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5759 "unattended-installer.c"
	} else {
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5763 "unattended-installer.c"
	}
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 591 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5769 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_driver_for_script_data_free (gpointer _data) {
	BoxesUnattendedInstallerSetupPreInstallDriverForScriptData* _data_;
	_data_ = _data;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->driver);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->script);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerSetupPreInstallDriverForScriptData, _data_);
#line 5786 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_driver_for_script (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver, OsinfoInstallScript* script, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupPreInstallDriverForScriptData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	OsinfoDeviceDriver* _tmp1_;
	OsinfoDeviceDriver* _tmp2_;
	OsinfoInstallScript* _tmp3_;
	OsinfoInstallScript* _tmp4_;
	GCancellable* _tmp5_;
	GCancellable* _tmp6_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerSetupPreInstallDriverForScriptData);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_setup_pre_install_driver_for_script);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_setup_pre_install_driver_for_script_data_free);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = driver;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->driver);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->driver = _tmp2_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = script;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->script);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->script = _tmp4_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = cancellable;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp6_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_pre_install_driver_for_script_co (_data_);
#line 5835 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_driver_for_script_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerSetupPreInstallDriverForScriptData* _data_;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 5845 "unattended-installer.c"
	}
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 5849 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_pre_install_driver_for_script_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupPreInstallDriverForScriptData* _data_;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_pre_install_driver_for_script_co (_data_);
#line 5863 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_setup_pre_install_driver_for_script_co (BoxesUnattendedInstallerSetupPreInstallDriverForScriptData* _data_) {
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5872 "unattended-installer.c"
		goto _state_0;
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 5876 "unattended-installer.c"
		goto _state_1;
		default:
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5881 "unattended-installer.c"
	}
	_state_0:
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = NULL;
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_downloader_get_instance ();
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->downloader = _data_->_tmp0_;
#line 616 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->driver_files = NULL;
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->driver;
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = osinfo_device_driver_get_location (_data_->_tmp1_);
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = g_strdup (_data_->_tmp2_);
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->location = _data_->_tmp3_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->driver;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = NULL;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = osinfo_device_driver_get_files (_data_->_tmp4_);
#line 5908 "unattended-installer.c"
	{
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->filename_collection = _data_->_tmp5_;
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->filename_it = _data_->filename_collection; _data_->filename_it != NULL; _data_->filename_it = _data_->filename_it->next) {
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->filename = (const gchar*) _data_->filename_it->data;
#line 5916 "unattended-installer.c"
			{
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp6_ = _data_->location;
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp7_ = g_strconcat (_data_->_tmp6_, "/", NULL);
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp8_ = _data_->_tmp7_;
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp9_ = _data_->filename;
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp10_ = g_strconcat (_data_->_tmp8_, _data_->_tmp9_, NULL);
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp11_ = _data_->_tmp10_;
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp8_);
#line 619 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->file_uri = _data_->_tmp11_;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp12_ = _data_->file_uri;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp13_ = NULL;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp13_ = g_file_new_for_uri (_data_->_tmp12_);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->file = _data_->_tmp13_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp14_ = ((BoxesInstallerMedia*) _data_->self)->os;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp15_ = osinfo_product_get_short_id ((OsinfoProduct*) _data_->_tmp14_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp16_ = _data_->_tmp15_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp17_ = g_strconcat (_data_->_tmp16_, "-", NULL);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp18_ = _data_->_tmp17_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp19_ = _data_->driver;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp20_ = NULL;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp20_ = osinfo_device_driver_get_architecture (_data_->_tmp19_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp21_ = g_strconcat (_data_->_tmp18_, _data_->_tmp20_, NULL);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp22_ = _data_->_tmp21_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp23_ = g_strconcat (_data_->_tmp22_, "-", NULL);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp24_ = _data_->_tmp23_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp25_ = _data_->file;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp26_ = NULL;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp26_ = g_file_get_basename (_data_->_tmp25_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp27_ = _data_->_tmp26_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp28_ = g_strconcat (_data_->_tmp24_, _data_->_tmp27_, NULL);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp29_ = _data_->_tmp28_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp30_ = NULL;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp30_ = boxes_get_drivers_cache (_data_->_tmp29_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp31_ = _data_->_tmp30_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp29_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp27_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp24_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp22_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp18_);
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->cached_path = _data_->_tmp31_;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp32_ = _data_->downloader;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp33_ = _data_->file;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp34_ = _data_->cached_path;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_state_ = 1;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				boxes_downloader_download (_data_->_tmp32_, _data_->_tmp33_, _data_->_tmp34_, boxes_unattended_installer_setup_pre_install_driver_for_script_ready, _data_);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				return FALSE;
#line 6008 "unattended-installer.c"
				_state_1:
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp35_ = NULL;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp35_ = boxes_downloader_download_finish (_data_->_tmp32_, _data_->_res_, &_data_->_inner_error_);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp36_ = _data_->_tmp35_;
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_data_->_inner_error_ != NULL) {
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_error_free (_data_->_inner_error_);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_data_->cached_path);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->file);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_data_->file_uri);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_list_free0 (_data_->filename_collection);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_data_->location);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					__g_list_free__g_object_unref0_0 (_data_->driver_files);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->downloader);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_state_ == 0) {
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6040 "unattended-installer.c"
					} else {
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						g_simple_async_result_complete (_data_->_async_result);
#line 6044 "unattended-installer.c"
					}
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_object_unref (_data_->_async_result);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 6050 "unattended-installer.c"
				}
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->file);
#line 625 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->file = _data_->_tmp36_;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp37_ = _data_->cached_path;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp38_ = _data_->filename;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp39_ = boxes_unattended_raw_file_new (_data_->self, _data_->_tmp37_, _data_->_tmp38_);
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->driver_files = g_list_append (_data_->driver_files, (BoxesUnattendedFile*) _data_->_tmp39_);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->cached_path);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->file);
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->file_uri);
#line 6070 "unattended-installer.c"
			}
		}
#line 618 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (_data_->filename_collection);
#line 6075 "unattended-installer.c"
	}
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp40_ = _data_->driver_files;
#line 6079 "unattended-installer.c"
	{
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->driver_file_collection = _data_->_tmp40_;
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->driver_file_it = _data_->driver_file_collection; _data_->driver_file_it != NULL; _data_->driver_file_it = _data_->driver_file_it->next) {
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp41_ = _g_object_ref0 ((BoxesUnattendedFile*) _data_->driver_file_it->data);
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->driver_file = _data_->_tmp41_;
#line 6089 "unattended-installer.c"
			{
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp42_ = _data_->driver_file;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				boxes_unattended_installer_add_unattended_file (_data_->self, _data_->_tmp42_);
#line 631 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->driver_file);
#line 6097 "unattended-installer.c"
			}
		}
	}
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp43_ = _data_->driver;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp44_ = NULL;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp44_ = osinfo_device_driver_get_devices (_data_->_tmp43_);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp45_ = NULL;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp45_ = osinfo_list_get_elements ((OsinfoList*) _data_->_tmp44_);
#line 6111 "unattended-installer.c"
	{
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->d_collection = _data_->_tmp45_;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->d_it = _data_->d_collection; _data_->d_it != NULL; _data_->d_it = _data_->d_it->next) {
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->d = (OsinfoEntity*) _data_->d_it->data;
#line 6119 "unattended-installer.c"
			{
#line 635 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp46_ = _data_->d;
#line 635 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp47_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp46_, osinfo_device_get_type ()) ? ((OsinfoDevice*) _data_->_tmp46_) : NULL);
#line 635 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->device = _data_->_tmp47_;
#line 637 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp48_ = _data_->device;
#line 637 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp49_ = NULL;
#line 637 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp49_ = osinfo_device_get_name (_data_->_tmp48_);
#line 637 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (g_strcmp0 (_data_->_tmp49_, "virtio-block") == 0) {
#line 638 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->self->priv->has_viostor_drivers = TRUE;
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->device);
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					break;
#line 6141 "unattended-installer.c"
				}
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->device);
#line 6145 "unattended-installer.c"
			}
		}
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (_data_->d_collection);
#line 6150 "unattended-installer.c"
	}
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->location);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (_data_->driver_files);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->downloader);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6162 "unattended-installer.c"
	} else {
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6166 "unattended-installer.c"
	}
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 611 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 6172 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_construct (GType object_type) {
	BoxesUnattendedInstaller * self = NULL;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) boxes_installer_media_construct (object_type);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 6182 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_new (void) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_installer_construct (BOXES_TYPE_UNATTENDED_INSTALLER);
#line 6189 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_need_user_input_for_vm_creation (BoxesInstallerMedia* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	gboolean _tmp0_;
	gboolean _tmp1_;
#line 12 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_installer_media_get_live ((BoxesInstallerMedia*) self);
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = !_tmp1_;
#line 13 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6208 "unattended-installer.c"
}


gboolean boxes_unattended_installer_get_ready_for_express (BoxesUnattendedInstaller* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gboolean _tmp12_;
#line 18 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_username (self);
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp2_, "") != 0) {
#line 6226 "unattended-installer.c"
		gboolean _tmp3_ = FALSE;
		const gchar* _tmp4_;
		gboolean _tmp11_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = self->priv->product_key_format;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp4_ == NULL) {
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = TRUE;
#line 6236 "unattended-installer.c"
		} else {
			GtkEntry* _tmp5_;
			guint _tmp6_;
			guint _tmp7_;
			const gchar* _tmp8_;
			gint _tmp9_;
			gint _tmp10_;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp5_ = self->priv->key_entry;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp6_ = gtk_entry_get_text_length (_tmp5_);
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp7_ = _tmp6_;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp8_ = self->priv->product_key_format;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp9_ = strlen (_tmp8_);
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp10_ = _tmp9_;
#line 21 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = _tmp7_ == ((guint) _tmp10_);
#line 6258 "unattended-installer.c"
		}
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = _tmp3_;
#line 20 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp11_;
#line 6264 "unattended-installer.c"
	} else {
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = FALSE;
#line 6268 "unattended-installer.c"
	}
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = _tmp0_;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp12_;
#line 19 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6276 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_ready_to_create (BoxesInstallerMedia* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	gboolean _tmp0_ = FALSE;
	GtkSwitch* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp6_;
#line 26 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->priv->express_toggle;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = gtk_switch_get_active (_tmp1_);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp3_) {
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = TRUE;
#line 6300 "unattended-installer.c"
	} else {
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = boxes_unattended_installer_get_ready_for_express (self);
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp5_;
#line 6310 "unattended-installer.c"
	}
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _tmp0_;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp6_;
#line 27 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6318 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_supports_virtio_disk (BoxesInstallerMedia* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	gboolean _tmp3_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->get_supports_virtio_disk (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia));
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp1_) {
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = TRUE;
#line 6336 "unattended-installer.c"
	} else {
		gboolean _tmp2_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = self->priv->has_viostor_drivers;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp2_;
#line 6343 "unattended-installer.c"
	}
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp0_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp3_;
#line 33 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6351 "unattended-installer.c"
}


gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self) {
	gboolean result;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->express_toggle;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_switch_get_active (_tmp0_);
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp2_;
#line 38 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6372 "unattended-installer.c"
}


const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self) {
	const gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->username_entry;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp2_;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6393 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self) {
	gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->password_entry;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp3_;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6417 "unattended-installer.c"
}


static gchar* g_unichar_to_string (gunichar self) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* str;
	const gchar* _tmp1_;
#line 845 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = g_new0 (gchar, 7);
#line 845 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	str = (gchar*) _tmp0_;
#line 846 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp1_ = str;
#line 846 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_unichar_to_utf8 (self, _tmp1_);
#line 847 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	result = str;
#line 847 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	return result;
#line 6438 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_hidden_password (BoxesUnattendedInstaller* self) {
	gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	gint _tmp4_;
#line 50 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->password_entry;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = strlen (_tmp2_);
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_;
#line 51 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp4_ > 0) {
#line 6463 "unattended-installer.c"
		gchar* _tmp5_;
		gchar* str;
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strdup ("");
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		str = _tmp5_;
#line 6470 "unattended-installer.c"
		{
			gint i;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			i = 0;
#line 6475 "unattended-installer.c"
			{
				gboolean _tmp6_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = TRUE;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				while (TRUE) {
#line 6482 "unattended-installer.c"
					gboolean _tmp7_;
					gint _tmp9_;
					GtkEntry* _tmp10_;
					guint _tmp11_;
					guint _tmp12_;
					const gchar* _tmp13_;
					GtkEntry* _tmp14_;
					gunichar _tmp15_ = 0U;
					gchar* _tmp16_ = NULL;
					gchar* _tmp17_;
					gchar* _tmp18_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = _tmp6_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!_tmp7_) {
#line 6498 "unattended-installer.c"
						gint _tmp8_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp8_ = i;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						i = _tmp8_ + 1;
#line 6504 "unattended-installer.c"
					}
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = FALSE;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = i;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp10_ = self->priv->password_entry;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp11_ = gtk_entry_get_text_length (_tmp10_);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp12_ = _tmp11_;
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!(((guint) _tmp9_) < _tmp12_)) {
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 6520 "unattended-installer.c"
					}
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp13_ = str;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp14_ = self->priv->password_entry;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp15_ = gtk_entry_get_invisible_char (_tmp14_);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp16_ = g_unichar_to_string (_tmp15_);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp17_ = _tmp16_;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp18_ = g_strconcat (_tmp13_, _tmp17_, NULL);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (str);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					str = _tmp18_;
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_tmp17_);
#line 6540 "unattended-installer.c"
				}
			}
		}
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = str;
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 6548 "unattended-installer.c"
	} else {
		const gchar* _tmp19_ = NULL;
		gchar* _tmp20_;
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp19_ = _ ("no password");
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = g_strdup (_tmp19_);
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = _tmp20_;
#line 58 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 6560 "unattended-installer.c"
	}
}


static GObject * boxes_unattended_installer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	BoxesUnattendedInstaller * self;
	BoxesFdoAccounts* _tmp0_;
	GError * _inner_error_ = NULL;
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	parent_class = G_OBJECT_CLASS (boxes_unattended_installer_parent_class);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_accounts;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ == NULL) {
#line 6581 "unattended-installer.c"
		{
			BoxesFdoAccounts* _tmp1_ = NULL;
			BoxesFdoAccounts* _tmp2_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp1_ = g_initable_new (BOXES_FDO_TYPE_ACCOUNTS_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.Accounts", "g-bus-type", G_BUS_TYPE_SYSTEM, "g-object-path", "/org/freedesktop/Accounts", "g-interface-name", "org.freedesktop.Accounts", NULL);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp2_ = (BoxesFdoAccounts*) _tmp1_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 6591 "unattended-installer.c"
				goto __catch73_g_error;
			}
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (boxes_unattended_installer_accounts);
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_accounts = _tmp2_;
#line 6598 "unattended-installer.c"
		}
		goto __finally73;
		__catch73_g_error:
		{
			GError* _error_ = NULL;
			GError* _tmp3_;
			const gchar* _tmp4_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_error_ = _inner_error_;
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_inner_error_ = NULL;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = _error_;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp4_ = _tmp3_->message;
#line 100 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_warning ("unattended-installer.vala:100: Failed to connect to D-Bus service '%s'" \
": %s", "org.freedesktop.Accounts", _tmp4_);
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_error_free0 (_error_);
#line 6618 "unattended-installer.c"
		}
		__finally73:
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 97 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 6627 "unattended-installer.c"
		}
	}
#line 93 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return obj;
#line 6632 "unattended-installer.c"
}


static void boxes_unattended_installer_class_init (BoxesUnattendedInstallerClass * klass) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_parent_class = g_type_class_peek_parent (klass);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedInstallerPrivate));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_for_installation = boxes_unattended_installer_real_prepare_for_installation;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_for_installation_finish = boxes_unattended_installer_real_prepare_for_installation_finish;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->setup_domain_config = boxes_unattended_installer_real_setup_domain_config;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->populate_setup_vbox = boxes_unattended_installer_real_populate_setup_vbox;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_vm_properties = boxes_unattended_installer_real_get_vm_properties;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->set_direct_boot_params = boxes_unattended_installer_real_set_direct_boot_params;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_need_user_input_for_vm_creation = boxes_unattended_installer_real_get_need_user_input_for_vm_creation;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_ready_to_create = boxes_unattended_installer_real_get_ready_to_create;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_supports_virtio_disk = boxes_unattended_installer_real_get_supports_virtio_disk;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_installer_get_property;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_unattended_installer_constructor;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_installer_finalize;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION, g_param_spec_boolean ("need-user-input-for-vm-creation", "need-user-input-for-vm-creation", "need-user-input-for-vm-creation", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS, g_param_spec_boolean ("ready-for-express", "ready-for-express", "ready-for-express", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE, g_param_spec_boolean ("ready-to-create", "ready-to-create", "ready-to-create", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_SUPPORTS_VIRTIO_DISK, g_param_spec_boolean ("supports-virtio-disk", "supports-virtio-disk", "supports-virtio-disk", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL, g_param_spec_boolean ("express-install", "express-install", "express-install", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_USERNAME, g_param_spec_string ("username", "username", "username", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_PASSWORD, g_param_spec_string ("password", "password", "password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD, g_param_spec_string ("hidden-password", "hidden-password", "hidden-password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6681 "unattended-installer.c"
}


static void boxes_unattended_installer_instance_init (BoxesUnattendedInstaller * self) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_INSTALLER_GET_PRIVATE (self);
#line 6688 "unattended-installer.c"
}


static void boxes_unattended_installer_finalize (GObject* obj) {
	BoxesUnattendedInstaller * self;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->disk_file);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->kernel_file);
#line 64 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->initrd_file);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->config);
#line 66 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->scripts);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->product_key_format);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->priv->unattended_files);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->avatar_file);
#line 74 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_grid);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_label);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_hbox);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->express_toggle);
#line 80 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->username_entry);
#line 81 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 82 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->key_entry);
#line 84 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->timezone);
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->lang);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->hostname);
#line 87 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->kbd);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_installer_parent_class)->finalize (obj);
#line 6736 "unattended-installer.c"
}


GType boxes_unattended_installer_get_type (void) {
	static volatile gsize boxes_unattended_installer_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_installer_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedInstallerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_installer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedInstaller), 0, (GInstanceInitFunc) boxes_unattended_installer_instance_init, NULL };
		GType boxes_unattended_installer_type_id;
		boxes_unattended_installer_type_id = g_type_register_static (BOXES_TYPE_INSTALLER_MEDIA, "BoxesUnattendedInstaller", &g_define_type_info, 0);
		g_once_init_leave (&boxes_unattended_installer_type_id__volatile, boxes_unattended_installer_type_id);
	}
	return boxes_unattended_installer_type_id__volatile;
}


static void _vala_boxes_unattended_installer_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedInstaller * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_installer_media_get_need_user_input_for_vm_creation ((BoxesInstallerMedia*) self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_unattended_installer_get_ready_for_express (self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_installer_media_get_ready_to_create ((BoxesInstallerMedia*) self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_SUPPORTS_VIRTIO_DISK:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_installer_media_get_supports_virtio_disk ((BoxesInstallerMedia*) self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_unattended_installer_get_express_install (self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_USERNAME:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_installer_get_username (self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_PASSWORD:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_take_string (value, boxes_unattended_installer_get_password (self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_take_string (value, boxes_unattended_installer_get_hidden_password (self));
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6805 "unattended-installer.c"
		default:
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 10 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6811 "unattended-installer.c"
	}
}


static void boxes_unattended_file_copy_data_free (gpointer _data) {
	BoxesUnattendedFileCopyData* _data_;
	_data_ = _data;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedFileCopyData, _data_);
#line 6825 "unattended-installer.c"
}


void boxes_unattended_file_copy (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedFileCopyData* _data_;
	BoxesUnattendedFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedFileCopyData);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_file_copy);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_file_copy_data_free);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_copy_co (_data_);
#line 6854 "unattended-installer.c"
}


void boxes_unattended_file_copy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedFileCopyData* _data_;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 6864 "unattended-installer.c"
	}
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6868 "unattended-installer.c"
}


static void boxes_unattended_file_copy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedFileCopyData* _data_;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_copy_co (_data_);
#line 6882 "unattended-installer.c"
}


static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_) {
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 6891 "unattended-installer.c"
		goto _state_0;
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 6895 "unattended-installer.c"
		goto _state_1;
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 6899 "unattended-installer.c"
		goto _state_2;
		default:
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 6904 "unattended-installer.c"
	}
	_state_0:
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_get_source_file (_data_->self, _data_->_tmp0_, boxes_unattended_file_copy_ready, _data_);
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 6915 "unattended-installer.c"
	_state_1:
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = boxes_unattended_file_get_source_file_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->source_file = _data_->_tmp1_;
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6933 "unattended-installer.c"
		} else {
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 6937 "unattended-installer.c"
		}
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 653 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 6943 "unattended-installer.c"
	}
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = boxes_unattended_file_get_installer (_data_->self);
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_->disk_file;
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = NULL;
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = g_file_get_path (_data_->_tmp6_);
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:655: Copying unattended file '%s' into disk " \
"drive/image '%s'", _data_->_tmp3_, _data_->_tmp8_);
#line 655 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp8_);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = g_strdup ("mcopy");
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = g_strdup ("-n");
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = g_strdup ("-o");
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = g_strdup ("-i");
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = boxes_unattended_file_get_installer (_data_->self);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = _data_->_tmp13_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = _data_->_tmp14_->disk_file;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = NULL;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = g_file_get_path (_data_->_tmp15_);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->source_file;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = NULL;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = g_file_get_path (_data_->_tmp17_);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = _data_->_tmp19_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = g_strconcat ("::", _data_->_tmp20_, NULL);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = NULL;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = g_new0 (gchar*, 7 + 1);
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[0] = _data_->_tmp9_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[1] = _data_->_tmp10_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[2] = _data_->_tmp11_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[3] = _data_->_tmp12_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[4] = _data_->_tmp16_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[5] = _data_->_tmp18_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_[6] = _data_->_tmp21_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv = _data_->_tmp22_;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv_length1 = 7;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_argv_size_ = _data_->argv_length1;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23_ = _data_->argv;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23__length1 = _data_->argv_length1;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp24_ = _data_->cancellable;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 2;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_exec (_data_->_tmp23_, _data_->_tmp23__length1, _data_->_tmp24_, boxes_unattended_file_copy_ready, _data_);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 7031 "unattended-installer.c"
	_state_2:
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_exec_finish (_data_->_res_, NULL, NULL, &_data_->_inner_error_);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->source_file);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 7049 "unattended-installer.c"
		} else {
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 7053 "unattended-installer.c"
		}
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 7059 "unattended-installer.c"
	}
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp25_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp26_ = _data_->_tmp25_;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp27_ = boxes_unattended_file_get_installer (_data_->self);
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp28_ = _data_->_tmp27_;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp29_ = _data_->_tmp28_->disk_file;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp30_ = NULL;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp30_ = g_file_get_path (_data_->_tmp29_);
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp31_ = _data_->_tmp30_;
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:661: Copied unattended file '%s' into disk d" \
"rive/image '%s'", _data_->_tmp26_, _data_->_tmp31_);
#line 661 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp31_);
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->source_file);
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 7089 "unattended-installer.c"
	} else {
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 7093 "unattended-installer.c"
	}
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 652 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 7099 "unattended-installer.c"
}


void boxes_unattended_file_get_source_file (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_source_file (self, cancellable, _callback_, _user_data_);
#line 7106 "unattended-installer.c"
}


GFile* boxes_unattended_file_get_source_file_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_source_file_finish (self, _res_, error);
#line 7113 "unattended-installer.c"
}


const gchar* boxes_unattended_file_get_src_path (BoxesUnattendedFile* self) {
#line 647 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 647 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_src_path (self);
#line 7122 "unattended-installer.c"
}


void boxes_unattended_file_set_src_path (BoxesUnattendedFile* self, const gchar* value) {
#line 647 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 647 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_src_path (self, value);
#line 7131 "unattended-installer.c"
}


const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self) {
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_dest_name (self);
#line 7140 "unattended-installer.c"
}


void boxes_unattended_file_set_dest_name (BoxesUnattendedFile* self, const gchar* value) {
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_dest_name (self, value);
#line 7149 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_file_get_installer (BoxesUnattendedFile* self) {
#line 650 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 650 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_installer (self);
#line 7158 "unattended-installer.c"
}


void boxes_unattended_file_set_installer (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value) {
#line 650 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 650 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_installer (self, value);
#line 7167 "unattended-installer.c"
}


static void boxes_unattended_file_base_init (BoxesUnattendedFileIface * iface) {
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	static gboolean initialized = FALSE;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!initialized) {
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		initialized = TRUE;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_interface_install_property (iface, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 7184 "unattended-installer.c"
	}
}


GType boxes_unattended_file_get_type (void) {
	static volatile gsize boxes_unattended_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedFileIface), (GBaseInitFunc) boxes_unattended_file_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType boxes_unattended_file_type_id;
		boxes_unattended_file_type_id = g_type_register_static (G_TYPE_INTERFACE, "BoxesUnattendedFile", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (boxes_unattended_file_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&boxes_unattended_file_type_id__volatile, boxes_unattended_file_type_id);
	}
	return boxes_unattended_file_type_id__volatile;
}


BoxesUnattendedRawFile* boxes_unattended_raw_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
	BoxesUnattendedRawFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) g_object_new (object_type, NULL);
#line 674 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 674 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 675 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 675 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 676 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = dest_name;
#line 676 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 7229 "unattended-installer.c"
}


BoxesUnattendedRawFile* boxes_unattended_raw_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_raw_file_construct (BOXES_TYPE_UNATTENDED_RAW_FILE, installer, src_path, dest_name);
#line 7236 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedRawFileGetSourceFileData* _data_;
	_data_ = _data;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->result);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedRawFileGetSourceFileData, _data_);
#line 7251 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedRawFile * self;
	BoxesUnattendedRawFileGetSourceFileData* _data_;
	BoxesUnattendedRawFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedRawFileGetSourceFileData);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_raw_file_real_get_source_file);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_raw_file_real_get_source_file_data_free);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_raw_file_real_get_source_file_co (_data_);
#line 7283 "unattended-installer.c"
}


static GFile* boxes_unattended_raw_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedRawFileGetSourceFileData* _data_;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 7294 "unattended-installer.c"
	}
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7304 "unattended-installer.c"
}


static gboolean boxes_unattended_raw_file_real_get_source_file_co (BoxesUnattendedRawFileGetSourceFileData* _data_) {
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 7313 "unattended-installer.c"
		goto _state_0;
		default:
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 7318 "unattended-installer.c"
	}
	_state_0:
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_file_new_for_path (_data_->_tmp1_);
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->_tmp2_;
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 7335 "unattended-installer.c"
	} else {
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 7339 "unattended-installer.c"
	}
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 680 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 7349 "unattended-installer.c"
	} else {
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 7353 "unattended-installer.c"
	}
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 679 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 7359 "unattended-installer.c"
}


static const gchar* boxes_unattended_raw_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7375 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 7395 "unattended-installer.c"
}


static const gchar* boxes_unattended_raw_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7411 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 7431 "unattended-installer.c"
}


static BoxesUnattendedInstaller* boxes_unattended_raw_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedRawFile* self;
	BoxesUnattendedInstaller* _tmp0_;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_installer;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7447 "unattended-installer.c"
}


static void boxes_unattended_raw_file_real_set_installer (BoxesUnattendedFile* base, BoxesUnattendedInstaller* value) {
	BoxesUnattendedRawFile* self;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_installer = _tmp1_;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "installer");
#line 7467 "unattended-installer.c"
}


static void boxes_unattended_raw_file_class_init (BoxesUnattendedRawFileClass * klass) {
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_raw_file_parent_class = g_type_class_peek_parent (klass);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedRawFilePrivate));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_raw_file_get_property;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_raw_file_set_property;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_raw_file_finalize;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_RAW_FILE_DEST_NAME, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_RAW_FILE_SRC_PATH, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_RAW_FILE_INSTALLER, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 7488 "unattended-installer.c"
}


static void boxes_unattended_raw_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_raw_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_raw_file_real_get_source_file;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file_finish = boxes_unattended_raw_file_real_get_source_file_finish;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_raw_file_real_get_dest_name;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_raw_file_real_set_dest_name;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_raw_file_real_get_src_path;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_raw_file_real_set_src_path;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_raw_file_real_get_installer;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_raw_file_real_set_installer;
#line 7511 "unattended-installer.c"
}


static void boxes_unattended_raw_file_instance_init (BoxesUnattendedRawFile * self) {
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_RAW_FILE_GET_PRIVATE (self);
#line 7518 "unattended-installer.c"
}


static void boxes_unattended_raw_file_finalize (GObject* obj) {
	BoxesUnattendedRawFile * self;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_raw_file_parent_class)->finalize (obj);
#line 7534 "unattended-installer.c"
}


GType boxes_unattended_raw_file_get_type (void) {
	static volatile gsize boxes_unattended_raw_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_raw_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedRawFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_raw_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedRawFile), 0, (GInstanceInitFunc) boxes_unattended_raw_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_raw_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_raw_file_type_id;
		boxes_unattended_raw_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedRawFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_raw_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_raw_file_type_id__volatile, boxes_unattended_raw_file_type_id);
	}
	return boxes_unattended_raw_file_type_id__volatile;
}


static void _vala_boxes_unattended_raw_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedRawFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_DEST_NAME:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_SRC_PATH:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_INSTALLER:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 7575 "unattended-installer.c"
		default:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 7581 "unattended-installer.c"
	}
}


static void _vala_boxes_unattended_raw_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedRawFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_DEST_NAME:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_SRC_PATH:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_RAW_FILE_INSTALLER:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 7609 "unattended-installer.c"
		default:
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 667 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 7615 "unattended-installer.c"
	}
}


BoxesUnattendedTextFile* boxes_unattended_text_file_construct (GType object_type, BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name) {
	BoxesUnattendedTextFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	OsinfoInstallScript* _tmp1_;
	const gchar* _tmp2_;
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (script != NULL, NULL);
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) g_object_new (object_type, NULL);
#line 694 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 694 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 695 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = script;
#line 695 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_set_script (self, _tmp1_);
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = dest_name;
#line 696 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 7647 "unattended-installer.c"
}


BoxesUnattendedTextFile* boxes_unattended_text_file_new (BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name) {
#line 693 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_text_file_construct (BOXES_TYPE_UNATTENDED_TEXT_FILE, installer, script, dest_name);
#line 7654 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedTextFileGetSourceFileData* _data_;
	_data_ = _data;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->result);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedTextFileGetSourceFileData, _data_);
#line 7669 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedTextFile * self;
	BoxesUnattendedTextFileGetSourceFileData* _data_;
	BoxesUnattendedTextFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedTextFileGetSourceFileData);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_text_file_real_get_source_file);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_text_file_real_get_source_file_data_free);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_real_get_source_file_co (_data_);
#line 7701 "unattended-installer.c"
}


static GFile* boxes_unattended_text_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedTextFileGetSourceFileData* _data_;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 7712 "unattended-installer.c"
	}
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7722 "unattended-installer.c"
}


static gboolean boxes_unattended_text_file_real_get_source_file_co (BoxesUnattendedTextFileGetSourceFileData* _data_) {
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 7731 "unattended-installer.c"
		goto _state_0;
		default:
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 7736 "unattended-installer.c"
	}
	_state_0:
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->self->priv->_script;
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_configure_install_script (_data_->_tmp1_, _data_->_tmp2_);
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = NULL;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = boxes_get_user_pkgcache (NULL);
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = NULL;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = g_file_new_for_path (_data_->_tmp4_);
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp4_);
#line 712 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->output_dir = _data_->_tmp6_;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = _data_->self->priv->_script;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = ((BoxesInstallerMedia*) _data_->_tmp9_)->os;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = _data_->_tmp12_->config;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = _data_->cancellable;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = NULL;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = osinfo_install_script_generate_output (_data_->_tmp7_, _data_->_tmp10_, _data_->_tmp13_, _data_->output_dir, _data_->_tmp14_, &_data_->_inner_error_);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->output_dir);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 7797 "unattended-installer.c"
		} else {
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 7801 "unattended-installer.c"
		}
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 7807 "unattended-installer.c"
	}
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 714 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp16_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = _data_->self->priv->unattended_tmp;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = _g_object_ref0 (_data_->_tmp17_);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->_tmp18_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->output_dir);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 7825 "unattended-installer.c"
	} else {
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 7829 "unattended-installer.c"
	}
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->output_dir);
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 7841 "unattended-installer.c"
	} else {
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 7845 "unattended-installer.c"
	}
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 7851 "unattended-installer.c"
}


static const gchar* boxes_unattended_text_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7867 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 7887 "unattended-installer.c"
}


static const gchar* boxes_unattended_text_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7903 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedTextFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 7923 "unattended-installer.c"
}


static BoxesUnattendedInstaller* boxes_unattended_text_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedTextFile* self;
	BoxesUnattendedInstaller* _tmp0_;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_installer;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7939 "unattended-installer.c"
}


static void boxes_unattended_text_file_real_set_installer (BoxesUnattendedFile* base, BoxesUnattendedInstaller* value) {
	BoxesUnattendedTextFile* self;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedTextFile*) base;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_installer = _tmp1_;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "installer");
#line 7959 "unattended-installer.c"
}


OsinfoInstallScript* boxes_unattended_text_file_get_script (BoxesUnattendedTextFile* self) {
	OsinfoInstallScript* result;
	OsinfoInstallScript* _tmp0_;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_script;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7974 "unattended-installer.c"
}


void boxes_unattended_text_file_set_script (BoxesUnattendedTextFile* self, OsinfoInstallScript* value) {
	OsinfoInstallScript* _tmp0_;
	OsinfoInstallScript* _tmp1_;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_script);
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_script = _tmp1_;
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "script");
#line 7993 "unattended-installer.c"
}


static void boxes_unattended_text_file_class_init (BoxesUnattendedTextFileClass * klass) {
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_parent_class = g_type_class_peek_parent (klass);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedTextFilePrivate));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_text_file_get_property;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_text_file_set_property;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_text_file_finalize;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_TEXT_FILE_DEST_NAME, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_TEXT_FILE_SRC_PATH, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_TEXT_FILE_INSTALLER, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_TEXT_FILE_SCRIPT, g_param_spec_object ("script", "script", "script", osinfo_install_script_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 8016 "unattended-installer.c"
}


static void boxes_unattended_text_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_text_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_text_file_real_get_source_file;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file_finish = boxes_unattended_text_file_real_get_source_file_finish;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_text_file_real_get_dest_name;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_text_file_real_set_dest_name;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_text_file_real_get_src_path;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_text_file_real_set_src_path;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_text_file_real_get_installer;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_text_file_real_set_installer;
#line 8039 "unattended-installer.c"
}


static void boxes_unattended_text_file_instance_init (BoxesUnattendedTextFile * self) {
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_TEXT_FILE_GET_PRIVATE (self);
#line 8046 "unattended-installer.c"
}


static void boxes_unattended_text_file_finalize (GObject* obj) {
	BoxesUnattendedTextFile * self;
	GFile* _tmp0_;
	GError * _inner_error_ = NULL;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile);
#line 700 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->unattended_tmp;
#line 700 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ == NULL) {
#line 8060 "unattended-installer.c"
		goto _return;
	}
	{
		GFile* _tmp1_;
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 8071 "unattended-installer.c"
			goto __catch74_g_error;
		}
	}
	goto __finally74;
	__catch74_g_error:
	{
		GError* e = NULL;
		GFile* _tmp2_;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		e = _inner_error_;
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = NULL;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = self->priv->unattended_tmp;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = g_file_get_path (_tmp2_);
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = _tmp3_;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = e;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_->message;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:706: Error deleting %s: %s", _tmp4_, _tmp6_);
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp4_);
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (e);
#line 8104 "unattended-installer.c"
	}
	__finally74:
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 703 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_inner_error_);
#line 8113 "unattended-installer.c"
	}
	_return:
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 689 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_script);
#line 691 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_text_file_parent_class)->finalize (obj);
#line 8128 "unattended-installer.c"
}


GType boxes_unattended_text_file_get_type (void) {
	static volatile gsize boxes_unattended_text_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_text_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedTextFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_text_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedTextFile), 0, (GInstanceInitFunc) boxes_unattended_text_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_text_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_text_file_type_id;
		boxes_unattended_text_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedTextFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_text_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_text_file_type_id__volatile, boxes_unattended_text_file_type_id);
	}
	return boxes_unattended_text_file_type_id__volatile;
}


static void _vala_boxes_unattended_text_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedTextFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_DEST_NAME:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SRC_PATH:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_INSTALLER:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SCRIPT:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_text_file_get_script (self));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 8175 "unattended-installer.c"
		default:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 8181 "unattended-installer.c"
	}
}


static void _vala_boxes_unattended_text_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedTextFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_TEXT_FILE, BoxesUnattendedTextFile);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_DEST_NAME:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SRC_PATH:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_INSTALLER:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_TEXT_FILE_SCRIPT:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_text_file_set_script (self, g_value_get_object (value));
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 8215 "unattended-installer.c"
		default:
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 8221 "unattended-installer.c"
	}
}


static void _vala_GdkPixbufFormat_free (GdkPixbufFormat* self) {
#line 729 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_boxed_free (gdk_pixbuf_format_get_type (), self);
#line 8229 "unattended-installer.c"
}


static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle) {
	int i;
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	for (i = 0; i < stack_length; i++) {
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return TRUE;
#line 8241 "unattended-installer.c"
		}
	}
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 8246 "unattended-installer.c"
}


static GdkPixbufFormat* _vala_GdkPixbufFormat_copy (GdkPixbufFormat* self) {
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return g_boxed_copy (gdk_pixbuf_format_get_type (), self);
#line 8253 "unattended-installer.c"
}


static gpointer __vala_GdkPixbufFormat_copy0 (gpointer self) {
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? _vala_GdkPixbufFormat_copy (self) : NULL;
#line 8260 "unattended-installer.c"
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error) {
	BoxesUnattendedAvatarFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	OsinfoAvatarFormat* _tmp2_;
	OsinfoAvatarFormat* _tmp3_;
	GSList* _tmp4_ = NULL;
	GdkPixbufFormat* _tmp24_;
	BoxesUnattendedInstaller* _tmp26_;
	const gchar* _tmp27_;
	const gchar* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	GdkPixbufFormat* _tmp31_;
	gchar** _tmp32_;
	gchar** _tmp33_ = NULL;
	gchar** _tmp34_;
	gint _tmp34__length1;
	const gchar* _tmp35_;
	gchar* _tmp36_;
	gchar* _tmp37_;
	GError * _inner_error_ = NULL;
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) g_object_new (object_type, NULL);
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installer;
#line 733 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 734 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = src_path;
#line 734 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = avatar_format;
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->avatar_format);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->avatar_format = _tmp3_;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = gdk_pixbuf_get_formats ();
#line 8310 "unattended-installer.c"
	{
		GSList* format_collection = NULL;
		GSList* format_it = NULL;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		format_collection = _tmp4_;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (format_it = format_collection; format_it != NULL; format_it = format_it->next) {
#line 8318 "unattended-installer.c"
			GdkPixbufFormat* format = NULL;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			format = (GdkPixbufFormat*) format_it->data;
#line 8322 "unattended-installer.c"
			{
				OsinfoAvatarFormat* _tmp5_;
				GdkPixbufFormat* _tmp23_;
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = avatar_format;
#line 739 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp5_ != NULL) {
#line 8330 "unattended-installer.c"
					OsinfoAvatarFormat* _tmp6_;
					GList* _tmp7_;
					GList* _tmp8_;
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = avatar_format;
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = osinfo_avatar_format_get_mime_types (_tmp6_);
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp8_ = _tmp7_;
#line 8340 "unattended-installer.c"
					{
						GList* mime_type_collection = NULL;
						GList* mime_type_it = NULL;
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						mime_type_collection = _tmp8_;
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						for (mime_type_it = mime_type_collection; mime_type_it != NULL; mime_type_it = mime_type_it->next) {
#line 8348 "unattended-installer.c"
							const gchar* mime_type = NULL;
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							mime_type = (const gchar*) mime_type_it->data;
#line 8352 "unattended-installer.c"
							{
								const gchar* _tmp9_;
								GdkPixbufFormat* _tmp10_;
								gchar** _tmp11_;
								gchar** _tmp12_ = NULL;
								gchar** _tmp13_;
								gint _tmp13__length1;
								gboolean _tmp14_;
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_tmp9_ = mime_type;
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_tmp10_ = format;
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_tmp12_ = _tmp11_ = gdk_pixbuf_format_get_mime_types (_tmp10_);
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_tmp13_ = _tmp12_;
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_tmp13__length1 = _vala_array_length (_tmp11_);
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_tmp14_ = _vala_string_array_contains (_tmp13_, _vala_array_length (_tmp11_), _tmp9_);
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								_tmp13_ = (_vala_array_free (_tmp13_, _tmp13__length1, (GDestroyNotify) g_free), NULL);
#line 741 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
								if (_tmp14_) {
#line 8377 "unattended-installer.c"
									GdkPixbufFormat* _tmp15_;
									GdkPixbufFormat* _tmp16_;
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
									_tmp15_ = format;
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
									_tmp16_ = __vala_GdkPixbufFormat_copy0 (_tmp15_);
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
									__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 742 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
									self->priv->pixbuf_format = _tmp16_;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
									break;
#line 8390 "unattended-installer.c"
								}
							}
						}
#line 740 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_list_free0 (mime_type_collection);
#line 8396 "unattended-installer.c"
					}
				} else {
					GdkPixbufFormat* _tmp17_;
					gchar* _tmp18_ = NULL;
					gchar* _tmp19_;
					gboolean _tmp20_;
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp17_ = format;
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp18_ = gdk_pixbuf_format_get_name (_tmp17_);
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp19_ = _tmp18_;
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp20_ = g_strcmp0 (_tmp19_, "png") == 0;
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_tmp19_);
#line 747 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_tmp20_) {
#line 8415 "unattended-installer.c"
						GdkPixbufFormat* _tmp21_;
						GdkPixbufFormat* _tmp22_;
#line 748 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp21_ = format;
#line 748 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp22_ = __vala_GdkPixbufFormat_copy0 (_tmp21_);
#line 748 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 748 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						self->priv->pixbuf_format = _tmp22_;
#line 8426 "unattended-installer.c"
					}
				}
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp23_ = self->priv->pixbuf_format;
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp23_ != NULL) {
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					break;
#line 8435 "unattended-installer.c"
				}
			}
		}
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_slist_free0 (format_collection);
#line 8441 "unattended-installer.c"
	}
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = self->priv->pixbuf_format;
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp24_ == NULL) {
#line 8447 "unattended-installer.c"
		GError* _tmp25_;
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp25_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to find suitable format to save user avatar file in.");
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = _tmp25_;
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_propagate_error (error, _inner_error_);
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (self);
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 8461 "unattended-installer.c"
		} else {
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 755 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return NULL;
#line 8469 "unattended-installer.c"
		}
	}
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = installer;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = boxes_unattended_installer_get_username (_tmp26_);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = _tmp27_;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp29_ = g_strconcat (_tmp28_, ".", NULL);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = _tmp29_;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = self->priv->pixbuf_format;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = _tmp32_ = gdk_pixbuf_format_get_extensions (_tmp31_);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = _tmp33_;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34__length1 = _vala_array_length (_tmp32_);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = _tmp34_[0];
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = g_strconcat (_tmp30_, _tmp35_, NULL);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = _tmp36_;
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp37_);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp37_);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = (_vala_array_free (_tmp34_, _tmp34__length1, (GDestroyNotify) g_free), NULL);
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp30_);
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 8506 "unattended-installer.c"
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error) {
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_avatar_file_construct (BOXES_TYPE_UNATTENDED_AVATAR_FILE, installer, src_path, avatar_format, error);
#line 8513 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
	_data_ = _data;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->result);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedAvatarFileGetSourceFileData, _data_);
#line 8528 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedAvatarFile * self;
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
	BoxesUnattendedAvatarFile* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedAvatarFileGetSourceFileData);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_avatar_file_real_get_source_file);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_avatar_file_real_get_source_file_data_free);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_real_get_source_file_co (_data_);
#line 8560 "unattended-installer.c"
}


static GFile* boxes_unattended_avatar_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return NULL;
#line 8571 "unattended-installer.c"
	}
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _data_->result;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = NULL;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 8581 "unattended-installer.c"
}


static gboolean boxes_unattended_avatar_file_real_get_source_file_co (BoxesUnattendedAvatarFileGetSourceFileData* _data_) {
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 8590 "unattended-installer.c"
		goto _state_0;
		default:
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 8595 "unattended-installer.c"
	}
	_state_0:
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _data_->self);
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = NULL;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = boxes_unattended_installer_get_user_unattended (_data_->_tmp1_, _data_->_tmp3_);
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->destination_path = _data_->_tmp4_;
#line 8612 "unattended-installer.c"
	{
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = _data_->self->priv->avatar_format;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp6_ != NULL) {
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp7_ = _data_->self->priv->avatar_format;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp8_ = osinfo_avatar_format_get_width (_data_->_tmp7_);
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp9_ = _data_->_tmp8_;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp5_ = _data_->_tmp9_;
#line 8626 "unattended-installer.c"
		} else {
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp5_ = -1;
#line 8630 "unattended-installer.c"
		}
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp10_ = _data_->_tmp5_;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->width = _data_->_tmp10_;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = _data_->self->priv->avatar_format;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp12_ != NULL) {
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp13_ = _data_->self->priv->avatar_format;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp14_ = osinfo_avatar_format_get_height (_data_->_tmp13_);
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp15_ = _data_->_tmp14_;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp11_ = _data_->_tmp15_;
#line 8648 "unattended-installer.c"
		} else {
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp11_ = -1;
#line 8652 "unattended-installer.c"
		}
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp16_ = _data_->_tmp11_;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->height = _data_->_tmp16_;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp17_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp18_ = _data_->_tmp17_;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp19_ = _data_->width;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = _data_->height;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = gdk_pixbuf_new_from_file_at_scale (_data_->_tmp18_, _data_->_tmp19_, _data_->_tmp20_, TRUE, &_data_->_inner_error_);
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->pixbuf = _data_->_tmp21_;
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 8672 "unattended-installer.c"
			goto __catch76_g_error;
		}
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = _data_->self->priv->avatar_format;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp24_ != NULL) {
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp25_ = _data_->self->priv->avatar_format;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp26_ = osinfo_avatar_format_get_alpha (_data_->_tmp25_);
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp27_ = _data_->_tmp26_;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp23_ = !_data_->_tmp27_;
#line 8687 "unattended-installer.c"
		} else {
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp23_ = FALSE;
#line 8691 "unattended-installer.c"
		}
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp28_ = _data_->_tmp23_;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp28_) {
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp29_ = _data_->pixbuf;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp30_ = FALSE;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp30_ = gdk_pixbuf_get_has_alpha (_data_->_tmp29_);
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp22_ = _data_->_tmp30_;
#line 8705 "unattended-installer.c"
		} else {
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp22_ = FALSE;
#line 8709 "unattended-installer.c"
		}
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = _data_->_tmp22_;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp31_) {
#line 780 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp32_ = _data_->pixbuf;
#line 780 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp33_ = NULL;
#line 780 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp33_ = boxes_remove_alpha (_data_->_tmp32_);
#line 780 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 780 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->pixbuf = _data_->_tmp33_;
#line 8725 "unattended-installer.c"
		}
#line 782 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp34_ = _data_->destination_path;
#line 782 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:782: Saving user avatar file at '%s'..", _data_->_tmp34_);
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp35_ = _data_->pixbuf;
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp36_ = _data_->destination_path;
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp37_ = _data_->self->priv->pixbuf_format;
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp38_ = NULL;
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp38_ = gdk_pixbuf_format_get_name (_data_->_tmp37_);
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp39_ = _data_->_tmp38_;
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gdk_pixbuf_save (_data_->_tmp35_, _data_->_tmp36_, _data_->_tmp39_, &_data_->_inner_error_, NULL);
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->_tmp39_);
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 783 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 8751 "unattended-installer.c"
			goto __catch76_g_error;
		}
#line 784 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp40_ = _data_->destination_path;
#line 784 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:784: Saved user avatar file at '%s'.", _data_->_tmp40_);
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 8760 "unattended-installer.c"
	}
	goto __finally76;
	__catch76_g_error:
	{
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 786 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp41_ = _data_->_error_;
#line 786 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp42_ = _data_->_tmp41_->message;
#line 786 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:786: Failed to save user avatar: %s.", _data_->_tmp42_);
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 8777 "unattended-installer.c"
	}
	__finally76:
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->destination_path);
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 8792 "unattended-installer.c"
		} else {
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 8796 "unattended-installer.c"
		}
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 774 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 8802 "unattended-installer.c"
	}
#line 789 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp43_ = _data_->destination_path;
#line 789 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp44_ = NULL;
#line 789 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp44_ = g_file_new_for_path (_data_->_tmp43_);
#line 789 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 789 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp44_;
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp45_ = _data_->self->priv->unattended_tmp;
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp46_ = _g_object_ref0 (_data_->_tmp45_);
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->result = _data_->_tmp46_;
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 8826 "unattended-installer.c"
	} else {
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 8830 "unattended-installer.c"
	}
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 791 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->destination_path);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 8842 "unattended-installer.c"
	} else {
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 8846 "unattended-installer.c"
	}
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 8852 "unattended-installer.c"
}


static const gchar* boxes_unattended_avatar_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_dest_name;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 8868 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_dest_name = _tmp1_;
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 8888 "unattended-installer.c"
}


static const gchar* boxes_unattended_avatar_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_src_path;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 8904 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_src_path = _tmp1_;
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 8924 "unattended-installer.c"
}


static BoxesUnattendedInstaller* boxes_unattended_avatar_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedAvatarFile* self;
	BoxesUnattendedInstaller* _tmp0_;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->_installer;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 8940 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_real_set_installer (BoxesUnattendedFile* base, BoxesUnattendedInstaller* value) {
	BoxesUnattendedAvatarFile* self;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = value;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->_installer = _tmp1_;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject *) self, "installer");
#line 8960 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_class_init (BoxesUnattendedAvatarFileClass * klass) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_parent_class = g_type_class_peek_parent (klass);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedAvatarFilePrivate));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_avatar_file_get_property;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_avatar_file_set_property;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_avatar_file_finalize;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME, g_param_spec_string ("dest-name", "dest-name", "dest-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH, g_param_spec_string ("src-path", "src-path", "src-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_AVATAR_FILE_INSTALLER, g_param_spec_object ("installer", "installer", "installer", BOXES_TYPE_UNATTENDED_INSTALLER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 8981 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_avatar_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_avatar_file_real_get_source_file;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_source_file_finish = boxes_unattended_avatar_file_real_get_source_file_finish;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_dest_name = boxes_unattended_avatar_file_real_get_dest_name;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_dest_name = boxes_unattended_avatar_file_real_set_dest_name;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_src_path = boxes_unattended_avatar_file_real_get_src_path;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_src_path = boxes_unattended_avatar_file_real_set_src_path;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->get_installer = boxes_unattended_avatar_file_real_get_installer;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	iface->set_installer = boxes_unattended_avatar_file_real_set_installer;
#line 9004 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_instance_init (BoxesUnattendedAvatarFile * self) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_AVATAR_FILE_GET_PRIVATE (self);
#line 9011 "unattended-installer.c"
}


static void boxes_unattended_avatar_file_finalize (GObject* obj) {
	BoxesUnattendedAvatarFile * self;
	GFile* _tmp0_;
	GError * _inner_error_ = NULL;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 761 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->unattended_tmp;
#line 761 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ == NULL) {
#line 9025 "unattended-installer.c"
		goto _return;
	}
	{
		GFile* _tmp1_;
#line 765 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 765 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 765 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 9036 "unattended-installer.c"
			goto __catch75_g_error;
		}
	}
	goto __finally75;
	__catch75_g_error:
	{
		GError* e = NULL;
		GFile* _tmp2_;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		e = _inner_error_;
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = NULL;
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = self->priv->unattended_tmp;
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = g_file_get_path (_tmp2_);
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = _tmp3_;
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = e;
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_->message;
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:767: Error deleting %s: %s", _tmp4_, _tmp6_);
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp4_);
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (e);
#line 9069 "unattended-installer.c"
	}
	__finally75:
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_inner_error_);
#line 9078 "unattended-installer.c"
	}
	_return:
#line 721 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_dest_name);
#line 722 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->_src_path);
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->_installer);
#line 726 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 728 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->avatar_format);
#line 729 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_avatar_file_parent_class)->finalize (obj);
#line 9095 "unattended-installer.c"
}


GType boxes_unattended_avatar_file_get_type (void) {
	static volatile gsize boxes_unattended_avatar_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_avatar_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedAvatarFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_avatar_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedAvatarFile), 0, (GInstanceInitFunc) boxes_unattended_avatar_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_avatar_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_avatar_file_type_id;
		boxes_unattended_avatar_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedAvatarFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_avatar_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_avatar_file_type_id__volatile, boxes_unattended_avatar_file_type_id);
	}
	return boxes_unattended_avatar_file_type_id__volatile;
}


static void _vala_boxes_unattended_avatar_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedAvatarFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9136 "unattended-installer.c"
		default:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9142 "unattended-installer.c"
	}
}


static void _vala_boxes_unattended_avatar_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedAvatarFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9170 "unattended-installer.c"
		default:
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 9176 "unattended-installer.c"
	}
}


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


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


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if (array) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		while (((gpointer*) array)[length]) {
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			length++;
#line 9217 "unattended-installer.c"
		}
	}
#line 720 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return length;
#line 9222 "unattended-installer.c"
}



