/* unattended-file.c generated by valac 0.26.0.19-b2255, the Vala compiler
 * generated from unattended-file.vala, do not modify */

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

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


#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_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;

#define 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;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block71Data Block71Data;
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _BoxesUnattendedFileCopyData BoxesUnattendedFileCopyData;

#define BOXES_TYPE_ARCHIVE_READER (boxes_archive_reader_get_type ())
#define BOXES_ARCHIVE_READER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_ARCHIVE_READER, BoxesArchiveReader))
#define BOXES_ARCHIVE_READER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_ARCHIVE_READER, BoxesArchiveReaderClass))
#define BOXES_IS_ARCHIVE_READER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_ARCHIVE_READER))
#define BOXES_IS_ARCHIVE_READER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_ARCHIVE_READER))
#define BOXES_ARCHIVE_READER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_ARCHIVE_READER, BoxesArchiveReaderClass))

typedef struct _BoxesArchiveReader BoxesArchiveReader;
typedef struct _BoxesArchiveReaderClass BoxesArchiveReaderClass;

#define BOXES_TYPE_ARCHIVE_WRITER (boxes_archive_writer_get_type ())
#define BOXES_ARCHIVE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_ARCHIVE_WRITER, BoxesArchiveWriter))
#define BOXES_ARCHIVE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_ARCHIVE_WRITER, BoxesArchiveWriterClass))
#define BOXES_IS_ARCHIVE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_ARCHIVE_WRITER))
#define BOXES_IS_ARCHIVE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_ARCHIVE_WRITER))
#define BOXES_ARCHIVE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_ARCHIVE_WRITER, BoxesArchiveWriterClass))

typedef struct _BoxesArchiveWriter BoxesArchiveWriter;
typedef struct _BoxesArchiveWriterClass BoxesArchiveWriterClass;
typedef struct _BoxesUnattendedFileCopyWithMcopyData BoxesUnattendedFileCopyWithMcopyData;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

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

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;
typedef struct _BoxesUnattendedInstallerPrivate BoxesUnattendedInstallerPrivate;

#define BOXES_TYPE_UNATTENDED_SETUP_BOX (boxes_unattended_setup_box_get_type ())
#define BOXES_UNATTENDED_SETUP_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_SETUP_BOX, BoxesUnattendedSetupBox))
#define BOXES_UNATTENDED_SETUP_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_SETUP_BOX, BoxesUnattendedSetupBoxClass))
#define BOXES_IS_UNATTENDED_SETUP_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_SETUP_BOX))
#define BOXES_IS_UNATTENDED_SETUP_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_SETUP_BOX))
#define BOXES_UNATTENDED_SETUP_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_SETUP_BOX, BoxesUnattendedSetupBoxClass))

typedef struct _BoxesUnattendedSetupBox BoxesUnattendedSetupBox;
typedef struct _BoxesUnattendedSetupBoxClass BoxesUnattendedSetupBoxClass;

#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 _BoxesUnattendedRawFilePrivate BoxesUnattendedRawFilePrivate;
typedef struct _BoxesUnattendedRawFileGetSourceFileData BoxesUnattendedRawFileGetSourceFileData;

#define BOXES_TYPE_UNATTENDED_SCRIPT_FILE (boxes_unattended_script_file_get_type ())
#define BOXES_UNATTENDED_SCRIPT_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile))
#define BOXES_UNATTENDED_SCRIPT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFileClass))
#define BOXES_IS_UNATTENDED_SCRIPT_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE))
#define BOXES_IS_UNATTENDED_SCRIPT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_SCRIPT_FILE))
#define BOXES_UNATTENDED_SCRIPT_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFileClass))

typedef struct _BoxesUnattendedScriptFile BoxesUnattendedScriptFile;
typedef struct _BoxesUnattendedScriptFileClass BoxesUnattendedScriptFileClass;
typedef struct _BoxesUnattendedScriptFilePrivate BoxesUnattendedScriptFilePrivate;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesUnattendedScriptFileGetSourceFileData BoxesUnattendedScriptFileGetSourceFileData;

#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;
typedef struct _BoxesUnattendedAvatarFilePrivate BoxesUnattendedAvatarFilePrivate;
#define __vala_GdkPixbufFormat_free0(var) ((var == NULL) ? NULL : (var = (_vala_GdkPixbufFormat_free (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_slist_free0(var) ((var == NULL) ? NULL : (var = (g_slist_free (var), NULL)))
typedef struct _BoxesUnattendedAvatarFileGetSourceFileData BoxesUnattendedAvatarFileGetSourceFileData;

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);
	gchar* (*get_disk_file) (BoxesUnattendedFile* self);
	BoxesUnattendedInstaller* (*get_installer) (BoxesUnattendedFile* self);
	void (*set_installer) (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
};

struct _Block71Data {
	int _ref_count_;
	BoxesUnattendedFile* self;
	GFile* source_file;
	gpointer _async_data_;
};

struct _BoxesUnattendedFileCopyData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedFile* self;
	GCancellable* cancellable;
	Block71Data* _data71_;
	GCancellable* _tmp0_;
	GFile* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gboolean _tmp10_;
	gboolean _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	GFile* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	const gchar* _tmp18_;
	const gchar* _tmp19_;
	GCancellable* _tmp20_;
	const gchar* _tmp21_;
	const gchar* _tmp22_;
	gchar* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	GError * _inner_error_;
};

struct _BoxesUnattendedFileCopyWithMcopyData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedFile* self;
	gchar* disk_file;
	gchar* source_file;
	gchar* dest_name;
	GCancellable* cancellable;
	gchar** argv;
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	gchar** _tmp10_;
	gint argv_length1;
	gint _argv_size_;
	GCancellable* _tmp11_;
	GError * _inner_error_;
};

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) (BoxesInstallerMedia* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	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 (*prepare_to_continue_installation) (BoxesInstallerMedia* self, const gchar* vm_name);
	void (*clean_up) (BoxesInstallerMedia* self);
	void (*clean_up_preparation_cache) (BoxesInstallerMedia* self);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_post_install_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_box) (BoxesInstallerMedia* self, GtkBox* setup_box);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	BoxesVMCreator* (*get_vm_creator) (BoxesInstallerMedia* self);
	OsinfoDeviceList* (*get_supported_devices) (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_live) (BoxesInstallerMedia* self);
	gchar* (*get_architecture) (BoxesInstallerMedia* self);
};

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

struct _BoxesUnattendedInstallerClass {
	BoxesInstallerMediaClass parent_class;
};

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 _BoxesUnattendedScriptFile {
	GObject parent_instance;
	BoxesUnattendedScriptFilePrivate * priv;
};

struct _BoxesUnattendedScriptFileClass {
	GObjectClass parent_class;
};

struct _BoxesUnattendedScriptFilePrivate {
	gchar* _dest_name;
	gchar* _src_path;
	BoxesUnattendedInstaller* _installer;
	OsinfoInstallScript* _script;
	GFile* unattended_tmp;
	OsinfoInstallScriptInjectionMethod injection_method;
};

struct _BoxesUnattendedScriptFileGetSourceFileData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedScriptFile* self;
	GCancellable* cancellable;
	GFile* result;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
	OsinfoInstallScript* _tmp2_;
	GFile* output_dir;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GFile* _tmp5_;
	GFile* _tmp6_;
	GFile* _tmp7_;
	OsinfoInstallScript* _tmp8_;
	BoxesUnattendedInstaller* _tmp9_;
	BoxesUnattendedInstaller* _tmp10_;
	OsinfoOs* _tmp11_;
	BoxesUnattendedInstaller* _tmp12_;
	BoxesUnattendedInstaller* _tmp13_;
	OsinfoInstallConfig* _tmp14_;
	GCancellable* _tmp15_;
	GFile* _tmp16_;
	GFile* _tmp17_;
	GFile* _tmp18_;
	GFile* _tmp19_;
	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;
	gchar* destination_path;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesUnattendedInstaller* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gint _tmp5_;
	OsinfoAvatarFormat* _tmp6_;
	OsinfoAvatarFormat* _tmp7_;
	gint _tmp8_;
	gint _tmp9_;
	gint width;
	gint _tmp10_;
	OsinfoAvatarFormat* _tmp11_;
	OsinfoAvatarFormat* _tmp12_;
	gint _tmp13_;
	gint _tmp14_;
	gint height;
	GdkPixbuf* pixbuf;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	gint _tmp17_;
	gint _tmp18_;
	GdkPixbuf* _tmp19_;
	gboolean _tmp20_;
	gboolean _tmp21_;
	OsinfoAvatarFormat* _tmp22_;
	OsinfoAvatarFormat* _tmp23_;
	gboolean _tmp24_;
	gboolean _tmp25_;
	GdkPixbuf* _tmp26_;
	gboolean _tmp27_;
	GdkPixbuf* _tmp28_;
	GdkPixbuf* _tmp29_;
	const gchar* _tmp30_;
	GdkPixbuf* _tmp31_;
	const gchar* _tmp32_;
	GdkPixbufFormat* _tmp33_;
	gchar* _tmp34_;
	gchar* _tmp35_;
	const gchar* _tmp36_;
	GError* _error_;
	GError* _tmp37_;
	const gchar* _tmp38_;
	const gchar* _tmp39_;
	GFile* _tmp40_;
	GFile* _tmp41_;
	GFile* _tmp42_;
	GError * _inner_error_;
};


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_script_file_parent_class = NULL;
static BoxesUnattendedFileIface* boxes_unattended_script_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;

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;
static void boxes_unattended_file_copy_data_free (gpointer _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);
static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_);
static Block71Data* block71_data_ref (Block71Data* _data71_);
static void block71_data_unref (void * _userdata_);
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_);
const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self);
gchar* boxes_unattended_file_get_disk_file (BoxesUnattendedFile* self);
static gboolean boxes_unattended_file_is_libarchive_compatible (const gchar* filename);
static void ___lambda24_ (Block71Data* _data71_, GError** error);
static void boxes_unattended_file_copy_with_libarchive (BoxesUnattendedFile* self, const gchar* disk_file, const gchar* source_file, const gchar* dest_name, GError** error);
static void ____lambda24__boxes_run_in_thread_func (gpointer self, GError** error);
static void boxes_unattended_file_copy_with_mcopy (BoxesUnattendedFile* self, const gchar* disk_file, const gchar* source_file, const gchar* dest_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_file_copy_with_mcopy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
GType boxes_archive_reader_get_type (void) G_GNUC_CONST;
BoxesArchiveReader* boxes_archive_reader_new (const gchar* filename, int* format, GList* filters, GError** error);
BoxesArchiveReader* boxes_archive_reader_construct (GType object_type, const gchar* filename, int* format, GList* filters, GError** error);
GType boxes_archive_writer_get_type (void) G_GNUC_CONST;
BoxesArchiveWriter* boxes_archive_writer_new_from_archive_reader (BoxesArchiveReader* archive_reader, const gchar* filename, gboolean import_contents, GError** error);
BoxesArchiveWriter* boxes_archive_writer_construct_from_archive_reader (GType object_type, BoxesArchiveReader* archive_reader, const gchar* filename, gboolean import_contents, GError** error);
void boxes_archive_writer_import_read_archive (BoxesArchiveWriter* self, BoxesArchiveReader* archive_reader, gchar** omit_files, int omit_files_length1, gboolean omit_hardlinked_files, GError** error);
void boxes_archive_writer_insert_file (BoxesArchiveWriter* self, const gchar* src, const gchar* dest, GError** error);
static void boxes_unattended_file_copy_with_mcopy_data_free (gpointer _data);
static gboolean boxes_unattended_file_copy_with_mcopy_co (BoxesUnattendedFileCopyWithMcopyData* _data_);
static void boxes_unattended_file_copy_with_mcopy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
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);
BoxesUnattendedInstaller* boxes_unattended_file_get_installer (BoxesUnattendedFile* self);
gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value, gpointer v_object);
void boxes_value_take_vm_creator (GValue* value, gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
GType boxes_unattended_setup_box_get_type (void) G_GNUC_CONST;
void boxes_unattended_file_set_installer (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
GType boxes_unattended_raw_file_get_type (void) G_GNUC_CONST;
#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
};
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);
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);
GType boxes_unattended_script_file_get_type (void) G_GNUC_CONST;
#define BOXES_UNATTENDED_SCRIPT_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFilePrivate))
enum  {
	BOXES_UNATTENDED_SCRIPT_FILE_DUMMY_PROPERTY,
	BOXES_UNATTENDED_SCRIPT_FILE_DEST_NAME,
	BOXES_UNATTENDED_SCRIPT_FILE_SRC_PATH,
	BOXES_UNATTENDED_SCRIPT_FILE_INSTALLER,
	BOXES_UNATTENDED_SCRIPT_FILE_SCRIPT
};
BoxesUnattendedScriptFile* boxes_unattended_script_file_new (BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name, GError** error);
BoxesUnattendedScriptFile* boxes_unattended_script_file_construct (GType object_type, BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name, GError** error);
void boxes_unattended_script_file_set_script (BoxesUnattendedScriptFile* self, OsinfoInstallScript* value);
static void boxes_unattended_script_file_real_get_source_file_data_free (gpointer _data);
static void boxes_unattended_script_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_script_file_real_get_source_file_co (BoxesUnattendedScriptFileGetSourceFileData* _data_);
void boxes_unattended_installer_configure_install_script (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
OsinfoInstallScript* boxes_unattended_script_file_get_script (BoxesUnattendedScriptFile* self);
static void boxes_unattended_script_file_get_source_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_script_file_finalize (GObject* obj);
static void _vala_boxes_unattended_script_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_boxes_unattended_script_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
GType boxes_unattended_avatar_file_get_type (void) G_GNUC_CONST;
#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);
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 gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle);
static GdkPixbufFormat* _vala_GdkPixbufFormat_copy (GdkPixbufFormat* self);
const gchar* boxes_unattended_setup_box_get_username (BoxesUnattendedSetupBox* 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_);
gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix);
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);


static void boxes_unattended_file_copy_data_free (gpointer _data) {
	BoxesUnattendedFileCopyData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_slice_free (BoxesUnattendedFileCopyData, _data_);
#line 551 "unattended-file.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self ? g_object_ref (self) : NULL;
#line 558 "unattended-file.c"
}


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


void boxes_unattended_file_copy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedFileCopyData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 597 "unattended-file.c"
	}
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 601 "unattended-file.c"
}


static Block71Data* block71_data_ref (Block71Data* _data71_) {
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_atomic_int_inc (&_data71_->_ref_count_);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return _data71_;
#line 610 "unattended-file.c"
}


static void block71_data_unref (void * _userdata_) {
	Block71Data* _data71_;
	_data71_ = (Block71Data*) _userdata_;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (g_atomic_int_dec_and_test (&_data71_->_ref_count_)) {
#line 619 "unattended-file.c"
		BoxesUnattendedFile* self;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		self = _data71_->self;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (_data71_->source_file);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (self);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_slice_free (Block71Data, _data71_);
#line 629 "unattended-file.c"
	}
}


static void boxes_unattended_file_copy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedFileCopyData* _data_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = _user_data_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_source_object_ = source_object;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_res_ = _res_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_copy_co (_data_);
#line 644 "unattended-file.c"
}


static void ___lambda24_ (Block71Data* _data71_, GError** error) {
	BoxesUnattendedFile* self;
	gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	GFile* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	GError * _inner_error_ = NULL;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = _data71_->self;
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = boxes_unattended_file_get_disk_file (self);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = _tmp0_;
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = _tmp1_;
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = _data71_->source_file;
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp4_ = g_file_get_path (_tmp3_);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp5_ = _tmp4_;
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp6_ = boxes_unattended_file_get_dest_name (self);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp7_ = _tmp6_;
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_copy_with_libarchive (self, _tmp2_, _tmp5_, _tmp7_, &_inner_error_);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp5_);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp2_);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_propagate_error (error, _inner_error_);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 689 "unattended-file.c"
	}
}


static void ____lambda24__boxes_run_in_thread_func (gpointer self, GError** error) {
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	___lambda24_ (self, error);
#line 697 "unattended-file.c"
}


static gboolean boxes_unattended_file_copy_co (BoxesUnattendedFileCopyData* _data_) {
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 706 "unattended-file.c"
		goto _state_0;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 1:
#line 710 "unattended-file.c"
		goto _state_1;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 2:
#line 714 "unattended-file.c"
		goto _state_2;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 3:
#line 718 "unattended-file.c"
		goto _state_3;
		default:
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 723 "unattended-file.c"
	}
	_state_0:
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_data71_ = g_slice_new0 (Block71Data);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_data71_->_ref_count_ = 1;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_data71_->self = g_object_ref (_data_->self);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_data71_->_async_data_ = _data_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = NULL;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_state_ = 1;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_get_source_file (_data_->self, _data_->_tmp0_, boxes_unattended_file_copy_ready, _data_);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 744 "unattended-file.c"
	_state_1:
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = NULL;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = boxes_unattended_file_get_source_file_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_data71_->source_file = _data_->_tmp1_;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		block71_data_unref (_data_->_data71_);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_data71_ = NULL;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 766 "unattended-file.c"
		} else {
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 770 "unattended-file.c"
		}
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 776 "unattended-file.c"
	}
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = NULL;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = NULL;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = NULL;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = boxes_unattended_file_get_disk_file (_data_->self);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = NULL;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = NULL;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_debug ("unattended-file.vala:19: Copying unattended file '%s' into disk drive/" \
"image '%s'", _data_->_tmp3_, _data_->_tmp6_);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->_tmp6_);
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = NULL;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = boxes_unattended_file_get_disk_file (_data_->self);
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = NULL;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = NULL;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = FALSE;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = boxes_unattended_file_is_libarchive_compatible (_data_->_tmp9_);
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = FALSE;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->_tmp9_);
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_tmp11_) {
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_state_ = 2;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_run_in_thread (____lambda24__boxes_run_in_thread_func, block71_data_ref (_data_->_data71_), block71_data_unref, boxes_unattended_file_copy_ready, _data_);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 832 "unattended-file.c"
		_state_2:
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_run_in_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_error_free (_data_->_inner_error_);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			block71_data_unref (_data_->_data71_);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_data71_ = NULL;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			if (_data_->_state_ == 0) {
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 850 "unattended-file.c"
			} else {
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 854 "unattended-file.c"
			}
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_object_unref (_data_->_async_result);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return FALSE;
#line 860 "unattended-file.c"
		}
	} else {
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp12_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp12_ = boxes_unattended_file_get_disk_file (_data_->self);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp13_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp13_ = _data_->_tmp12_;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp14_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp14_ = _data_->_tmp13_;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp15_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp15_ = _data_->_data71_->source_file;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp16_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp16_ = g_file_get_path (_data_->_tmp15_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp17_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp17_ = _data_->_tmp16_;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp18_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp18_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp19_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp19_ = _data_->_tmp18_;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp20_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp20_ = _data_->cancellable;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_state_ = 3;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_copy_with_mcopy (_data_->self, _data_->_tmp14_, _data_->_tmp17_, _data_->_tmp19_, _data_->_tmp20_, boxes_unattended_file_copy_ready, _data_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 905 "unattended-file.c"
		_state_3:
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_copy_with_mcopy_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_data_->_tmp17_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_data_->_tmp14_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_error_free (_data_->_inner_error_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			block71_data_unref (_data_->_data71_);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_data71_ = NULL;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			if (_data_->_state_ == 0) {
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 927 "unattended-file.c"
			} else {
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 931 "unattended-file.c"
			}
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_object_unref (_data_->_async_result);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return FALSE;
#line 937 "unattended-file.c"
		}
	}
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp21_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp21_ = boxes_unattended_file_get_dest_name (_data_->self);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp22_ = _data_->_tmp21_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp23_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp23_ = boxes_unattended_file_get_disk_file (_data_->self);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp24_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp24_ = _data_->_tmp23_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp25_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp25_ = _data_->_tmp24_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_debug ("unattended-file.vala:28: Copied unattended file '%s' into disk drive/i" \
"mage '%s'", _data_->_tmp22_, _data_->_tmp25_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->_tmp25_);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	block71_data_unref (_data_->_data71_);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_data71_ = NULL;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 972 "unattended-file.c"
	} else {
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 976 "unattended-file.c"
	}
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 982 "unattended-file.c"
}


void boxes_unattended_file_get_source_file (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_source_file (self, cancellable, _callback_, _user_data_);
#line 989 "unattended-file.c"
}


GFile* boxes_unattended_file_get_source_file_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_source_file_finish (self, _res_, error);
#line 996 "unattended-file.c"
}


static void boxes_unattended_file_copy_with_libarchive (BoxesUnattendedFile* self, const gchar* disk_file, const gchar* source_file, const gchar* dest_name, GError** error) {
	BoxesArchiveReader* reader = NULL;
	const gchar* _tmp0_ = NULL;
	BoxesArchiveReader* _tmp1_ = NULL;
	BoxesArchiveWriter* writer = NULL;
	BoxesArchiveReader* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	BoxesArchiveWriter* _tmp6_ = NULL;
	BoxesArchiveWriter* _tmp7_ = NULL;
	BoxesArchiveWriter* _tmp8_ = NULL;
	BoxesArchiveReader* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar** _tmp12_ = NULL;
	gchar** _tmp13_ = NULL;
	gint _tmp13__length1 = 0;
	BoxesArchiveWriter* _tmp14_ = NULL;
	const gchar* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	GFile* src = NULL;
	const gchar* _tmp17_ = NULL;
	gchar* _tmp18_ = NULL;
	gchar* _tmp19_ = NULL;
	GFile* _tmp20_ = NULL;
	GFile* _tmp21_ = NULL;
	GFile* dst = NULL;
	const gchar* _tmp22_ = NULL;
	GFile* _tmp23_ = NULL;
	GFile* _tmp24_ = NULL;
	GFile* _tmp25_ = NULL;
	GError * _inner_error_ = NULL;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (disk_file != NULL);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (source_file != NULL);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (dest_name != NULL);
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = disk_file;
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = boxes_archive_reader_new (_tmp0_, NULL, NULL, &_inner_error_);
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	reader = _tmp1_;
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_propagate_error (error, _inner_error_);
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 1051 "unattended-file.c"
	}
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = reader;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = disk_file;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp4_ = g_strconcat (_tmp3_, "~", NULL);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp5_ = _tmp4_;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp6_ = boxes_archive_writer_new_from_archive_reader (_tmp2_, _tmp5_, FALSE, &_inner_error_);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp7_ = _tmp6_;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp5_);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	writer = _tmp7_;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_propagate_error (error, _inner_error_);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (reader);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 1077 "unattended-file.c"
	}
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp8_ = writer;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp9_ = reader;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp10_ = dest_name;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp12_ = g_new0 (gchar*, 1 + 1);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp12_[0] = _tmp11_;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp13_ = _tmp12_;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp13__length1 = 1;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_archive_writer_import_read_archive (_tmp8_, _tmp9_, _tmp13_, 1, FALSE, &_inner_error_);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp13_ = (_vala_array_free (_tmp13_, _tmp13__length1, (GDestroyNotify) g_free), NULL);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_propagate_error (error, _inner_error_);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (writer);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (reader);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 1109 "unattended-file.c"
	}
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp14_ = writer;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp15_ = source_file;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp16_ = dest_name;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_archive_writer_insert_file (_tmp14_, _tmp15_, _tmp16_, &_inner_error_);
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_propagate_error (error, _inner_error_);
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (writer);
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (reader);
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 1129 "unattended-file.c"
	}
#line 42 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (reader);
#line 42 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	reader = NULL;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (writer);
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	writer = NULL;
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp17_ = disk_file;
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp18_ = g_strconcat (_tmp17_, "~", NULL);
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp19_ = _tmp18_;
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp20_ = g_file_new_for_path (_tmp19_);
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp21_ = _tmp20_;
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp19_);
#line 45 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	src = _tmp21_;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp22_ = disk_file;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp23_ = g_file_new_for_path (_tmp22_);
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	dst = _tmp23_;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp24_ = src;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp25_ = dst;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_file_move (_tmp24_, _tmp25_, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL, &_inner_error_);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_propagate_error (error, _inner_error_);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (dst);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (src);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (writer);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (reader);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 1179 "unattended-file.c"
	}
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (dst);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (src);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (writer);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (reader);
#line 1189 "unattended-file.c"
}


static void boxes_unattended_file_copy_with_mcopy_data_free (gpointer _data) {
	BoxesUnattendedFileCopyWithMcopyData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->disk_file);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->source_file);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->dest_name);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_slice_free (BoxesUnattendedFileCopyWithMcopyData, _data_);
#line 1208 "unattended-file.c"
}


static void boxes_unattended_file_copy_with_mcopy (BoxesUnattendedFile* self, const gchar* disk_file, const gchar* source_file, const gchar* dest_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedFileCopyWithMcopyData* _data_;
	BoxesUnattendedFile* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	GCancellable* _tmp7_ = NULL;
	GCancellable* _tmp8_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_slice_new0 (BoxesUnattendedFileCopyWithMcopyData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_file_copy_with_mcopy);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_file_copy_with_mcopy_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = disk_file;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->disk_file);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->disk_file = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = source_file;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->source_file);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->source_file = _tmp4_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp5_ = dest_name;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp6_ = g_strdup (_tmp5_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->dest_name);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->dest_name = _tmp6_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp7_ = cancellable;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->cancellable = _tmp8_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_copy_with_mcopy_co (_data_);
#line 1267 "unattended-file.c"
}


static void boxes_unattended_file_copy_with_mcopy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedFileCopyWithMcopyData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return;
#line 1277 "unattended-file.c"
	}
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1281 "unattended-file.c"
}


static void boxes_unattended_file_copy_with_mcopy_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedFileCopyWithMcopyData* _data_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = _user_data_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_source_object_ = source_object;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_res_ = _res_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_copy_with_mcopy_co (_data_);
#line 1295 "unattended-file.c"
}


static gboolean boxes_unattended_file_copy_with_mcopy_co (BoxesUnattendedFileCopyWithMcopyData* _data_) {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 1304 "unattended-file.c"
		goto _state_0;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 1:
#line 1308 "unattended-file.c"
		goto _state_1;
		default:
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 1313 "unattended-file.c"
	}
	_state_0:
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = g_strdup ("mcopy");
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = g_strdup ("-n");
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = g_strdup ("-o");
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = g_strdup ("-i");
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = _data_->disk_file;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = g_strdup (_data_->_tmp4_);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = _data_->source_file;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = g_strdup (_data_->_tmp6_);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = _data_->dest_name;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = g_strconcat ("::", _data_->_tmp8_, NULL);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = g_new0 (gchar*, 7 + 1);
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_[0] = _data_->_tmp0_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_[1] = _data_->_tmp1_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_[2] = _data_->_tmp2_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_[3] = _data_->_tmp3_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_[4] = _data_->_tmp5_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_[5] = _data_->_tmp7_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_[6] = _data_->_tmp9_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->argv_length1 = 0;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_argv_size_ = 0;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->argv = _data_->_tmp10_;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->argv_length1 = 7;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_argv_size_ = _data_->argv_length1;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = _data_->cancellable;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_state_ = 1;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_exec (_data_->argv, _data_->argv_length1, _data_->_tmp11_, boxes_unattended_file_copy_with_mcopy_ready, _data_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 1394 "unattended-file.c"
	_state_1:
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_exec_finish (_data_->_res_, NULL, NULL, &_data_->_inner_error_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1410 "unattended-file.c"
		} else {
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1414 "unattended-file.c"
		}
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 1420 "unattended-file.c"
	}
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1428 "unattended-file.c"
	} else {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1432 "unattended-file.c"
	}
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 1438 "unattended-file.c"
}


static gboolean boxes_unattended_file_is_libarchive_compatible (const gchar* filename) {
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (filename != NULL, FALSE);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = filename;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = g_content_type_guess (_tmp0_, NULL, (gsize) 0, NULL);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = _tmp1_;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = g_strcmp0 (_tmp2_, "application/x-raw-disk-image") != 0;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp2_);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp3_;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1464 "unattended-file.c"
}


const gchar* boxes_unattended_file_get_src_path (BoxesUnattendedFile* self) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_src_path (self);
#line 1473 "unattended-file.c"
}


void boxes_unattended_file_set_src_path (BoxesUnattendedFile* self, const gchar* value) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (self != NULL);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_src_path (self, value);
#line 1482 "unattended-file.c"
}


const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self) {
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_dest_name (self);
#line 1491 "unattended-file.c"
}


void boxes_unattended_file_set_dest_name (BoxesUnattendedFile* self, const gchar* value) {
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (self != NULL);
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_dest_name (self, value);
#line 1500 "unattended-file.c"
}


gchar* boxes_unattended_file_get_disk_file (BoxesUnattendedFile* self) {
#line 10 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 10 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_disk_file (self);
#line 1509 "unattended-file.c"
}


static gchar* boxes_unattended_file_real_get_disk_file (BoxesUnattendedFile* base) {
	gchar* result;
	BoxesUnattendedFile* self;
	BoxesUnattendedInstaller* _tmp0_ = NULL;
	BoxesUnattendedInstaller* _tmp1_ = NULL;
	GFile* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 10 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = base;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = boxes_unattended_file_get_installer (self);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = _tmp0_;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = _tmp1_->disk_file;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = g_file_get_path (_tmp2_);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp3_;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1534 "unattended-file.c"
}


BoxesUnattendedInstaller* boxes_unattended_file_get_installer (BoxesUnattendedFile* self) {
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->get_installer (self);
#line 1543 "unattended-file.c"
}


void boxes_unattended_file_set_installer (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value) {
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (self != NULL);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	BOXES_UNATTENDED_FILE_GET_INTERFACE (self)->set_installer (self, value);
#line 1552 "unattended-file.c"
}


static void boxes_unattended_file_base_init (BoxesUnattendedFileIface * iface) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	static gboolean initialized = FALSE;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (!initialized) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		initialized = TRUE;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		iface->get_disk_file = boxes_unattended_file_real_get_disk_file;
#line 1571 "unattended-file.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_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedRawFile*) g_object_new (object_type, NULL);
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = installer;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = src_path;
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = dest_name;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self;
#line 1616 "unattended-file.c"
}


BoxesUnattendedRawFile* boxes_unattended_raw_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name) {
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return boxes_unattended_raw_file_construct (BOXES_TYPE_UNATTENDED_RAW_FILE, installer, src_path, dest_name);
#line 1623 "unattended-file.c"
}


static void boxes_unattended_raw_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedRawFileGetSourceFileData* _data_;
	_data_ = _data;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->result);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_slice_free (BoxesUnattendedRawFileGetSourceFileData, _data_);
#line 1638 "unattended-file.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_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_slice_new0 (BoxesUnattendedRawFileGetSourceFileData);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_raw_file_real_get_source_file);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_raw_file_real_get_source_file_data_free);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self = _tmp0_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = cancellable;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->cancellable = _tmp2_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_raw_file_real_get_source_file_co (_data_);
#line 1670 "unattended-file.c"
}


static GFile* boxes_unattended_raw_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedRawFileGetSourceFileData* _data_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return NULL;
#line 1681 "unattended-file.c"
	}
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _data_->result;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = NULL;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1691 "unattended-file.c"
}


static gboolean boxes_unattended_raw_file_real_get_source_file_co (BoxesUnattendedRawFileGetSourceFileData* _data_) {
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 1700 "unattended-file.c"
		goto _state_0;
		default:
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 1705 "unattended-file.c"
	}
	_state_0:
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = NULL;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = NULL;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = NULL;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = g_file_new_for_path (_data_->_tmp1_);
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = _data_->_tmp2_;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1726 "unattended-file.c"
	} else {
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1730 "unattended-file.c"
	}
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1740 "unattended-file.c"
	} else {
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1744 "unattended-file.c"
	}
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 1750 "unattended-file.c"
}


static const gchar* boxes_unattended_raw_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_dest_name;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1766 "unattended-file.c"
}


static void boxes_unattended_raw_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_dest_name = _tmp1_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 1786 "unattended-file.c"
}


static const gchar* boxes_unattended_raw_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_ = NULL;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_src_path;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1802 "unattended-file.c"
}


static void boxes_unattended_raw_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedRawFile* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_src_path = _tmp1_;
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 1822 "unattended-file.c"
}


static BoxesUnattendedInstaller* boxes_unattended_raw_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedRawFile* self;
	BoxesUnattendedInstaller* _tmp0_ = NULL;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedRawFile*) base;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_installer;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 1838 "unattended-file.c"
}


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


static void boxes_unattended_raw_file_class_init (BoxesUnattendedRawFileClass * klass) {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_raw_file_parent_class = g_type_class_peek_parent (klass);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedRawFilePrivate));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_raw_file_get_property;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_raw_file_set_property;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_raw_file_finalize;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 1879 "unattended-file.c"
}


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


static void boxes_unattended_raw_file_instance_init (BoxesUnattendedRawFile * self) {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv = BOXES_UNATTENDED_RAW_FILE_GET_PRIVATE (self);
#line 1909 "unattended-file.c"
}


static void boxes_unattended_raw_file_finalize (GObject* obj) {
	BoxesUnattendedRawFile * self;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 76 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_installer);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (boxes_unattended_raw_file_parent_class)->finalize (obj);
#line 1925 "unattended-file.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 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_RAW_FILE_DEST_NAME:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_RAW_FILE_SRC_PATH:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_RAW_FILE_INSTALLER:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 1966 "unattended-file.c"
		default:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 1972 "unattended-file.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 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_RAW_FILE_DEST_NAME:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_RAW_FILE_SRC_PATH:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_RAW_FILE_INSTALLER:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2000 "unattended-file.c"
		default:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2006 "unattended-file.c"
	}
}


BoxesUnattendedScriptFile* boxes_unattended_script_file_construct (GType object_type, BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name, GError** error) {
	BoxesUnattendedScriptFile * self = NULL;
	BoxesUnattendedInstaller* _tmp0_ = NULL;
	OsinfoInstallScript* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	OsinfoInstallScriptInjectionMethod injection_methods = 0;
	OsinfoInstallScript* _tmp3_ = NULL;
	OsinfoInstallScriptInjectionMethod _tmp4_ = 0;
	OsinfoInstallScriptInjectionMethod _tmp5_ = 0;
	GError * _inner_error_ = NULL;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (script != NULL, NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (dest_name != NULL, NULL);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) g_object_new (object_type, NULL);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = installer;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = script;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_set_script (self, _tmp1_);
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = dest_name;
#line 120 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp2_);
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = script;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp4_ = osinfo_install_script_get_injection_methods (_tmp3_);
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	injection_methods = _tmp4_;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp5_ = injection_methods;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if ((_tmp5_ & OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK) == OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK) {
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		self->priv->injection_method = OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK;
#line 2053 "unattended-file.c"
	} else {
		OsinfoInstallScriptInjectionMethod _tmp6_ = 0;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp6_ = injection_methods;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if ((_tmp6_ & OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD) == OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD) {
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			self->priv->injection_method = OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD;
#line 2062 "unattended-file.c"
		} else {
			GError* _tmp7_ = NULL;
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp7_ = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, "No supported injection method available.");
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_inner_error_ = _tmp7_;
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_propagate_error (error, _inner_error_);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_g_object_unref0 (self);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return NULL;
#line 2075 "unattended-file.c"
		}
	}
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self;
#line 2080 "unattended-file.c"
}


BoxesUnattendedScriptFile* boxes_unattended_script_file_new (BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name, GError** error) {
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return boxes_unattended_script_file_construct (BOXES_TYPE_UNATTENDED_SCRIPT_FILE, installer, script, dest_name, error);
#line 2087 "unattended-file.c"
}


static void boxes_unattended_script_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
	_data_ = _data;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->result);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_slice_free (BoxesUnattendedScriptFileGetSourceFileData, _data_);
#line 2102 "unattended-file.c"
}


static void boxes_unattended_script_file_real_get_source_file (BoxesUnattendedFile* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedScriptFile * self;
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
	BoxesUnattendedScriptFile* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_slice_new0 (BoxesUnattendedScriptFileGetSourceFileData);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_script_file_real_get_source_file);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_script_file_real_get_source_file_data_free);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self = _tmp0_;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = cancellable;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->cancellable = _tmp2_;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_real_get_source_file_co (_data_);
#line 2134 "unattended-file.c"
}


static GFile* boxes_unattended_script_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return NULL;
#line 2145 "unattended-file.c"
	}
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _data_->result;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = NULL;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 2155 "unattended-file.c"
}


static void boxes_unattended_script_file_get_source_file_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedScriptFileGetSourceFileData* _data_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = _user_data_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_source_object_ = source_object;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_res_ = _res_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_real_get_source_file_co (_data_);
#line 2169 "unattended-file.c"
}


static gboolean boxes_unattended_script_file_real_get_source_file_co (BoxesUnattendedScriptFileGetSourceFileData* _data_) {
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 2178 "unattended-file.c"
		goto _state_0;
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 1:
#line 2182 "unattended-file.c"
		goto _state_1;
		default:
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 2187 "unattended-file.c"
	}
	_state_0:
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = NULL;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = NULL;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = NULL;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = _data_->self->priv->_script;
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_installer_configure_install_script (_data_->_tmp1_, _data_->_tmp2_);
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = NULL;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = boxes_get_user_pkgcache (NULL);
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = NULL;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = NULL;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp5_ = g_file_new_for_path (_data_->_tmp4_);
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = NULL;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->_tmp4_);
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->output_dir = _data_->_tmp6_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp8_ = _data_->self->priv->_script;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp9_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp11_ = ((BoxesInstallerMedia*) _data_->_tmp10_)->os;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp12_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp12_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp13_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp14_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp14_ = _data_->_tmp13_->config;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp15_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp15_ = _data_->cancellable;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_state_ = 1;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	osinfo_install_script_generate_output_async (_data_->_tmp8_, _data_->_tmp11_, _data_->_tmp14_, _data_->output_dir, _data_->_tmp15_, boxes_unattended_script_file_get_source_file_ready, _data_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 2262 "unattended-file.c"
	_state_1:
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp16_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp16_ = osinfo_install_script_generate_output_finish (_data_->_tmp8_, _data_->_res_, &_data_->_inner_error_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = _data_->_tmp16_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (_data_->output_dir);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2282 "unattended-file.c"
		} else {
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2286 "unattended-file.c"
		}
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 2292 "unattended-file.c"
	}
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp17_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp17_ = _data_->_tmp7_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp7_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp17_;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp18_ = NULL;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp18_ = _data_->self->priv->unattended_tmp;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp19_ = NULL;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp19_ = _g_object_ref0 (_data_->_tmp18_);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = _data_->_tmp19_;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->_tmp7_);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->output_dir);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2322 "unattended-file.c"
	} else {
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2326 "unattended-file.c"
	}
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->_tmp7_);
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->output_dir);
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2340 "unattended-file.c"
	} else {
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2344 "unattended-file.c"
	}
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 142 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 2350 "unattended-file.c"
}


static const gchar* boxes_unattended_script_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedScriptFile* self;
	const gchar* _tmp0_ = NULL;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_dest_name;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 2366 "unattended-file.c"
}


static void boxes_unattended_script_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedScriptFile* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_dest_name = _tmp1_;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 2386 "unattended-file.c"
}


static const gchar* boxes_unattended_script_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedScriptFile* self;
	const gchar* _tmp0_ = NULL;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_src_path;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 2402 "unattended-file.c"
}


static void boxes_unattended_script_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedScriptFile* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_src_path = _tmp1_;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 2422 "unattended-file.c"
}


static gchar* boxes_unattended_script_file_real_get_disk_file (BoxesUnattendedFile* base) {
	gchar* result;
	BoxesUnattendedScriptFile* self;
	OsinfoInstallScriptInjectionMethod _tmp0_ = 0;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->injection_method;
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_tmp0_) {
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK:
#line 2438 "unattended-file.c"
		{
			BoxesUnattendedInstaller* _tmp1_ = NULL;
			BoxesUnattendedInstaller* _tmp2_ = NULL;
			GFile* _tmp3_ = NULL;
			gchar* _tmp4_ = NULL;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp1_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self);
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp2_ = _tmp1_;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp3_ = _tmp2_->disk_file;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp4_ = g_file_get_path (_tmp3_);
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			result = _tmp4_;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return result;
#line 2456 "unattended-file.c"
		}
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_INITRD:
#line 2460 "unattended-file.c"
		{
			BoxesUnattendedInstaller* _tmp5_ = NULL;
			BoxesUnattendedInstaller* _tmp6_ = NULL;
			GFile* _tmp7_ = NULL;
			gchar* _tmp8_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp5_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp6_ = _tmp5_;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp7_ = _tmp6_->initrd_file;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_tmp8_ = g_file_get_path (_tmp7_);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			result = _tmp8_;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return result;
#line 2478 "unattended-file.c"
		}
		default:
		{
#line 103 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_assert_not_reached ();
#line 2484 "unattended-file.c"
		}
	}
}


static BoxesUnattendedInstaller* boxes_unattended_script_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedScriptFile* self;
	BoxesUnattendedInstaller* _tmp0_ = NULL;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_installer;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 2502 "unattended-file.c"
}


static void boxes_unattended_script_file_real_set_installer (BoxesUnattendedFile* base, BoxesUnattendedInstaller* value) {
	BoxesUnattendedScriptFile* self;
	BoxesUnattendedInstaller* _tmp0_ = NULL;
	BoxesUnattendedInstaller* _tmp1_ = NULL;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedScriptFile*) base;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_installer);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_installer = _tmp1_;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "installer");
#line 2522 "unattended-file.c"
}


OsinfoInstallScript* boxes_unattended_script_file_get_script (BoxesUnattendedScriptFile* self) {
	OsinfoInstallScript* result;
	OsinfoInstallScript* _tmp0_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_script;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 2537 "unattended-file.c"
}


void boxes_unattended_script_file_set_script (BoxesUnattendedScriptFile* self, OsinfoInstallScript* value) {
	OsinfoInstallScript* _tmp0_ = NULL;
	OsinfoInstallScript* _tmp1_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_if_fail (self != NULL);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_script);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_script = _tmp1_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "script");
#line 2556 "unattended-file.c"
}


static void boxes_unattended_script_file_class_init (BoxesUnattendedScriptFileClass * klass) {
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_parent_class = g_type_class_peek_parent (klass);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedScriptFilePrivate));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_script_file_get_property;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_script_file_set_property;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_script_file_finalize;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_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 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_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 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_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 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_SCRIPT_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 2579 "unattended-file.c"
}


static void boxes_unattended_script_file_boxes_unattended_file_interface_init (BoxesUnattendedFileIface * iface) {
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_script_file_boxes_unattended_file_parent_iface = g_type_interface_peek_parent (iface);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_source_file = (GFile* (*)(BoxesUnattendedFile*, GCancellable*, GError**)) boxes_unattended_script_file_real_get_source_file;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_source_file_finish = boxes_unattended_script_file_real_get_source_file_finish;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_dest_name = boxes_unattended_script_file_real_get_dest_name;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->set_dest_name = boxes_unattended_script_file_real_set_dest_name;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_src_path = boxes_unattended_script_file_real_get_src_path;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->set_src_path = boxes_unattended_script_file_real_set_src_path;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_disk_file = boxes_unattended_script_file_real_get_disk_file;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->get_installer = boxes_unattended_script_file_real_get_installer;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	iface->set_installer = boxes_unattended_script_file_real_set_installer;
#line 2604 "unattended-file.c"
}


static void boxes_unattended_script_file_instance_init (BoxesUnattendedScriptFile * self) {
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv = BOXES_UNATTENDED_SCRIPT_FILE_GET_PRIVATE (self);
#line 2611 "unattended-file.c"
}


static void boxes_unattended_script_file_finalize (GObject* obj) {
	BoxesUnattendedScriptFile * self;
	GFile* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile);
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->unattended_tmp;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_tmp0_ == NULL) {
#line 2625 "unattended-file.c"
		goto _return;
	}
	{
		GFile* _tmp1_ = NULL;
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2636 "unattended-file.c"
			goto __catch82_g_error;
		}
	}
	goto __finally82;
	__catch82_g_error:
	{
		GError* e = NULL;
		GFile* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		e = _inner_error_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_inner_error_ = NULL;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp2_ = self->priv->unattended_tmp;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp3_ = g_file_get_path (_tmp2_);
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp4_ = _tmp3_;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp5_ = e;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp6_ = _tmp5_->message;
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_warning ("unattended-file.vala:138: Error deleting %s: %s", _tmp4_, _tmp6_);
#line 138 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_tmp4_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_error_free0 (e);
#line 2669 "unattended-file.c"
	}
	__finally82:
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_clear_error (&_inner_error_);
#line 2678 "unattended-file.c"
	}
	_return:
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_installer);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_script);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (boxes_unattended_script_file_parent_class)->finalize (obj);
#line 2693 "unattended-file.c"
}


GType boxes_unattended_script_file_get_type (void) {
	static volatile gsize boxes_unattended_script_file_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_script_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedScriptFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_script_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedScriptFile), 0, (GInstanceInitFunc) boxes_unattended_script_file_instance_init, NULL };
		static const GInterfaceInfo boxes_unattended_file_info = { (GInterfaceInitFunc) boxes_unattended_script_file_boxes_unattended_file_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_unattended_script_file_type_id;
		boxes_unattended_script_file_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesUnattendedScriptFile", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_unattended_script_file_type_id, BOXES_TYPE_UNATTENDED_FILE, &boxes_unattended_file_info);
		g_once_init_leave (&boxes_unattended_script_file_type_id__volatile, boxes_unattended_script_file_type_id);
	}
	return boxes_unattended_script_file_type_id__volatile;
}


static void _vala_boxes_unattended_script_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedScriptFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_DEST_NAME:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SRC_PATH:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_INSTALLER:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SCRIPT:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_object (value, boxes_unattended_script_file_get_script (self));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2740 "unattended-file.c"
		default:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2746 "unattended-file.c"
	}
}


static void _vala_boxes_unattended_script_file_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	BoxesUnattendedScriptFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_DEST_NAME:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SRC_PATH:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_INSTALLER:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_SCRIPT_FILE_SCRIPT:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_script_file_set_script (self, g_value_get_object (value));
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2780 "unattended-file.c"
		default:
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 2786 "unattended-file.c"
	}
}


static void _vala_GdkPixbufFormat_free (GdkPixbufFormat* self) {
#line 161 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_boxed_free (gdk_pixbuf_format_get_type (), self);
#line 2794 "unattended-file.c"
}


static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle) {
	int i;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	for (i = 0; i < stack_length; i++) {
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return TRUE;
#line 2806 "unattended-file.c"
		}
	}
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 2811 "unattended-file.c"
}


static GdkPixbufFormat* _vala_GdkPixbufFormat_copy (GdkPixbufFormat* self) {
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return g_boxed_copy (gdk_pixbuf_format_get_type (), self);
#line 2818 "unattended-file.c"
}


static gpointer __vala_GdkPixbufFormat_copy0 (gpointer self) {
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self ? _vala_GdkPixbufFormat_copy (self) : NULL;
#line 2825 "unattended-file.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_ = NULL;
	const gchar* _tmp1_ = NULL;
	OsinfoAvatarFormat* _tmp2_ = NULL;
	OsinfoAvatarFormat* _tmp3_ = NULL;
	GSList* _tmp4_ = NULL;
	GdkPixbufFormat* _tmp24_ = NULL;
	BoxesUnattendedInstaller* _tmp26_ = NULL;
	BoxesUnattendedSetupBox* _tmp27_ = NULL;
	const gchar* _tmp28_ = NULL;
	const gchar* _tmp29_ = NULL;
	gchar* _tmp30_ = NULL;
	gchar* _tmp31_ = NULL;
	GdkPixbufFormat* _tmp32_ = NULL;
	gchar** _tmp33_ = NULL;
	gchar** _tmp34_ = NULL;
	gchar** _tmp35_ = NULL;
	gint _tmp35__length1 = 0;
	const gchar* _tmp36_ = NULL;
	gchar* _tmp37_ = NULL;
	gchar* _tmp38_ = NULL;
	GError * _inner_error_ = NULL;
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (installer != NULL, NULL);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_return_val_if_fail (src_path != NULL, NULL);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) g_object_new (object_type, NULL);
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = installer;
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, _tmp0_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = src_path;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, _tmp1_);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = avatar_format;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->avatar_format);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->avatar_format = _tmp3_;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp4_ = gdk_pixbuf_get_formats ();
#line 2876 "unattended-file.c"
	{
		GSList* format_collection = NULL;
		GSList* format_it = NULL;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		format_collection = _tmp4_;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		for (format_it = format_collection; format_it != NULL; format_it = format_it->next) {
#line 2884 "unattended-file.c"
			GdkPixbufFormat* format = NULL;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			format = (GdkPixbufFormat*) format_it->data;
#line 2888 "unattended-file.c"
			{
				OsinfoAvatarFormat* _tmp5_ = NULL;
				GdkPixbufFormat* _tmp23_ = NULL;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				_tmp5_ = avatar_format;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				if (_tmp5_ != NULL) {
#line 2896 "unattended-file.c"
					OsinfoAvatarFormat* _tmp6_ = NULL;
					GList* _tmp7_ = NULL;
					GList* _tmp8_ = NULL;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp6_ = avatar_format;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp7_ = osinfo_avatar_format_get_mime_types (_tmp6_);
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp8_ = _tmp7_;
#line 2906 "unattended-file.c"
					{
						GList* mime_type_collection = NULL;
						GList* mime_type_it = NULL;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						mime_type_collection = _tmp8_;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						for (mime_type_it = mime_type_collection; mime_type_it != NULL; mime_type_it = mime_type_it->next) {
#line 2914 "unattended-file.c"
							const gchar* mime_type = NULL;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
							mime_type = (const gchar*) mime_type_it->data;
#line 2918 "unattended-file.c"
							{
								const gchar* _tmp9_ = NULL;
								GdkPixbufFormat* _tmp10_ = NULL;
								gchar** _tmp11_ = NULL;
								gchar** _tmp12_ = NULL;
								gchar** _tmp13_ = NULL;
								gint _tmp13__length1 = 0;
								gboolean _tmp14_ = FALSE;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp9_ = mime_type;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp10_ = format;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp12_ = _tmp11_ = gdk_pixbuf_format_get_mime_types (_tmp10_);
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp13_ = _tmp12_;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp13__length1 = _vala_array_length (_tmp11_);
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp14_ = _vala_string_array_contains (_tmp13_, _vala_array_length (_tmp11_), _tmp9_);
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								_tmp13_ = (_vala_array_free (_tmp13_, _tmp13__length1, (GDestroyNotify) g_free), NULL);
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
								if (_tmp14_) {
#line 2943 "unattended-file.c"
									GdkPixbufFormat* _tmp15_ = NULL;
									GdkPixbufFormat* _tmp16_ = NULL;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									_tmp15_ = format;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									_tmp16_ = __vala_GdkPixbufFormat_copy0 (_tmp15_);
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									self->priv->pixbuf_format = _tmp16_;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
									break;
#line 2956 "unattended-file.c"
								}
							}
						}
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						_g_list_free0 (mime_type_collection);
#line 2962 "unattended-file.c"
					}
				} else {
					GdkPixbufFormat* _tmp17_ = NULL;
					gchar* _tmp18_ = NULL;
					gchar* _tmp19_ = NULL;
					gboolean _tmp20_ = FALSE;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp17_ = format;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp18_ = gdk_pixbuf_format_get_name (_tmp17_);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp19_ = _tmp18_;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_tmp20_ = g_strcmp0 (_tmp19_, "png") == 0;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					_g_free0 (_tmp19_);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					if (_tmp20_) {
#line 2981 "unattended-file.c"
						GdkPixbufFormat* _tmp21_ = NULL;
						GdkPixbufFormat* _tmp22_ = NULL;
#line 180 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						_tmp21_ = format;
#line 180 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						_tmp22_ = __vala_GdkPixbufFormat_copy0 (_tmp21_);
#line 180 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 180 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
						self->priv->pixbuf_format = _tmp22_;
#line 2992 "unattended-file.c"
					}
				}
#line 182 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				_tmp23_ = self->priv->pixbuf_format;
#line 182 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
				if (_tmp23_ != NULL) {
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
					break;
#line 3001 "unattended-file.c"
				}
			}
		}
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_slist_free0 (format_collection);
#line 3007 "unattended-file.c"
	}
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp24_ = self->priv->pixbuf_format;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_tmp24_ == NULL) {
#line 3013 "unattended-file.c"
		GError* _tmp25_ = NULL;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp25_ = g_error_new_literal (BOXES_ERROR, BOXES_ERROR_INVALID, "Failed to find suitable format to save user avatar file in.");
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_inner_error_ = _tmp25_;
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_inner_error_->domain == BOXES_ERROR) {
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_propagate_error (error, _inner_error_);
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_g_object_unref0 (self);
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return NULL;
#line 3027 "unattended-file.c"
		} else {
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_clear_error (&_inner_error_);
#line 187 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			return NULL;
#line 3035 "unattended-file.c"
		}
	}
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp26_ = installer;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp27_ = _tmp26_->setup_box;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp28_ = boxes_unattended_setup_box_get_username (_tmp27_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp29_ = _tmp28_;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp30_ = g_strconcat (_tmp29_, ".", NULL);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp31_ = _tmp30_;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp32_ = self->priv->pixbuf_format;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp34_ = _tmp33_ = gdk_pixbuf_format_get_extensions (_tmp32_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp35_ = _tmp34_;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp35__length1 = _vala_array_length (_tmp33_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp36_ = _tmp35_[0];
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp37_ = g_strconcat (_tmp31_, _tmp36_, NULL);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp38_ = _tmp37_;
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, _tmp38_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp38_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp35_ = (_vala_array_free (_tmp35_, _tmp35__length1, (GDestroyNotify) g_free), NULL);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_tmp31_);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return self;
#line 3074 "unattended-file.c"
}


BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error) {
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return boxes_unattended_avatar_file_construct (BOXES_TYPE_UNATTENDED_AVATAR_FILE, installer, src_path, avatar_format, error);
#line 3081 "unattended-file.c"
}


static void boxes_unattended_avatar_file_real_get_source_file_data_free (gpointer _data) {
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
	_data_ = _data;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->result);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_slice_free (BoxesUnattendedAvatarFileGetSourceFileData, _data_);
#line 3096 "unattended-file.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_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_slice_new0 (BoxesUnattendedAvatarFileGetSourceFileData);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_avatar_file_real_get_source_file);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_avatar_file_real_get_source_file_data_free);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self = _tmp0_;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = cancellable;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->cancellable);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->cancellable = _tmp2_;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_avatar_file_real_get_source_file_co (_data_);
#line 3128 "unattended-file.c"
}


static GFile* boxes_unattended_avatar_file_real_get_source_file_finish (BoxesUnattendedFile* base, GAsyncResult* _res_, GError** error) {
	GFile* result;
	BoxesUnattendedAvatarFileGetSourceFileData* _data_;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return NULL;
#line 3139 "unattended-file.c"
	}
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _data_->result;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = NULL;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 3149 "unattended-file.c"
}


static gboolean boxes_unattended_avatar_file_real_get_source_file_co (BoxesUnattendedAvatarFileGetSourceFileData* _data_) {
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (_data_->_state_) {
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case 0:
#line 3158 "unattended-file.c"
		goto _state_0;
		default:
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_assert_not_reached ();
#line 3163 "unattended-file.c"
	}
	_state_0:
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = NULL;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp0_ = boxes_unattended_file_get_installer ((BoxesUnattendedFile*) _data_->self);
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = NULL;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = NULL;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp2_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _data_->self);
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = NULL;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = NULL;
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp4_ = boxes_unattended_installer_get_user_unattended (_data_->_tmp1_, _data_->_tmp3_);
#line 204 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->destination_path = _data_->_tmp4_;
#line 3188 "unattended-file.c"
	{
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp6_ = NULL;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp6_ = _data_->self->priv->avatar_format;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp6_ != NULL) {
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp7_ = NULL;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp7_ = _data_->self->priv->avatar_format;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp8_ = 0;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp8_ = osinfo_avatar_format_get_width (_data_->_tmp7_);
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp9_ = 0;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp9_ = _data_->_tmp8_;
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp5_ = _data_->_tmp9_;
#line 3210 "unattended-file.c"
		} else {
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp5_ = -1;
#line 3214 "unattended-file.c"
		}
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->width = _data_->_tmp5_;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp11_ = NULL;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp11_ = _data_->self->priv->avatar_format;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp11_ != NULL) {
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp12_ = NULL;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp12_ = _data_->self->priv->avatar_format;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp13_ = 0;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp13_ = osinfo_avatar_format_get_height (_data_->_tmp12_);
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp14_ = 0;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp14_ = _data_->_tmp13_;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp10_ = _data_->_tmp14_;
#line 3238 "unattended-file.c"
		} else {
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp10_ = -1;
#line 3242 "unattended-file.c"
		}
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->height = _data_->_tmp10_;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp15_ = NULL;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp15_ = boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) _data_->self);
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp16_ = NULL;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp16_ = _data_->_tmp15_;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp17_ = 0;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp17_ = _data_->width;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp18_ = 0;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp18_ = _data_->height;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp19_ = NULL;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp19_ = gdk_pixbuf_new_from_file_at_scale (_data_->_tmp16_, _data_->_tmp17_, _data_->_tmp18_, TRUE, &_data_->_inner_error_);
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->pixbuf = _data_->_tmp19_;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3270 "unattended-file.c"
			goto __catch84_g_error;
		}
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp22_ = NULL;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp22_ = _data_->self->priv->avatar_format;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp22_ != NULL) {
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp23_ = NULL;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp23_ = _data_->self->priv->avatar_format;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp24_ = FALSE;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp24_ = osinfo_avatar_format_get_alpha (_data_->_tmp23_);
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp25_ = FALSE;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp25_ = _data_->_tmp24_;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp21_ = !_data_->_tmp25_;
#line 3293 "unattended-file.c"
		} else {
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp21_ = FALSE;
#line 3297 "unattended-file.c"
		}
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp21_) {
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp26_ = NULL;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp26_ = _data_->pixbuf;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp27_ = FALSE;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp27_ = gdk_pixbuf_get_has_alpha (_data_->_tmp26_);
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp20_ = _data_->_tmp27_;
#line 3311 "unattended-file.c"
		} else {
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp20_ = FALSE;
#line 3315 "unattended-file.c"
		}
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_tmp20_) {
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp28_ = NULL;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp28_ = _data_->pixbuf;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp29_ = NULL;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->_tmp29_ = boxes_remove_alpha (_data_->_tmp28_);
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_data_->pixbuf = _data_->_tmp29_;
#line 3331 "unattended-file.c"
		}
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp30_ = NULL;
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp30_ = _data_->destination_path;
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_debug ("unattended-file.vala:214: Saving user avatar file at '%s'..", _data_->_tmp30_);
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp31_ = NULL;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp31_ = _data_->pixbuf;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp32_ = NULL;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp32_ = _data_->destination_path;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp33_ = NULL;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp33_ = _data_->self->priv->pixbuf_format;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp34_ = NULL;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp34_ = gdk_pixbuf_format_get_name (_data_->_tmp33_);
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp35_ = NULL;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp35_ = _data_->_tmp34_;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		gdk_pixbuf_save (_data_->_tmp31_, _data_->_tmp32_, _data_->_tmp35_, &_data_->_inner_error_, NULL);
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_data_->_tmp35_);
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 3367 "unattended-file.c"
			goto __catch84_g_error;
		}
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp36_ = NULL;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp36_ = _data_->destination_path;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_debug ("unattended-file.vala:216: Saved user avatar file at '%s'.", _data_->_tmp36_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 3378 "unattended-file.c"
	}
	goto __finally84;
	__catch84_g_error:
	{
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_inner_error_ = NULL;
#line 218 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp37_ = NULL;
#line 218 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp37_ = _data_->_error_;
#line 218 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp38_ = NULL;
#line 218 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_data_->_tmp38_ = _data_->_tmp37_->message;
#line 218 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_warning ("unattended-file.vala:218: Failed to save user avatar: %s.", _data_->_tmp38_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_error_free0 (_data_->_error_);
#line 3399 "unattended-file.c"
	}
	__finally84:
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_error_free (_data_->_inner_error_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_data_->destination_path);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (_data_->_state_ == 0) {
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3414 "unattended-file.c"
		} else {
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3418 "unattended-file.c"
		}
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_object_unref (_data_->_async_result);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		return FALSE;
#line 3424 "unattended-file.c"
	}
#line 221 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp39_ = NULL;
#line 221 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp39_ = _data_->destination_path;
#line 221 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp40_ = NULL;
#line 221 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp40_ = g_file_new_for_path (_data_->_tmp39_);
#line 221 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (_data_->self->priv->unattended_tmp);
#line 221 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->self->priv->unattended_tmp = _data_->_tmp40_;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp41_ = NULL;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp41_ = _data_->self->priv->unattended_tmp;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp42_ = NULL;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->_tmp42_ = _g_object_ref0 (_data_->_tmp41_);
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_data_->result = _data_->_tmp42_;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->destination_path);
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3454 "unattended-file.c"
	} else {
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3458 "unattended-file.c"
	}
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (_data_->destination_path);
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_data_->_state_ == 0) {
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3470 "unattended-file.c"
	} else {
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3474 "unattended-file.c"
	}
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_unref (_data_->_async_result);
#line 203 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return FALSE;
#line 3480 "unattended-file.c"
}


static const gchar* boxes_unattended_avatar_file_real_get_dest_name (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_ = NULL;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_dest_name;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 3496 "unattended-file.c"
}


static void boxes_unattended_avatar_file_real_set_dest_name (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_dest_name = _tmp1_;
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "dest-name");
#line 3516 "unattended-file.c"
}


static const gchar* boxes_unattended_avatar_file_real_get_src_path (BoxesUnattendedFile* base) {
	const gchar* result;
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_ = NULL;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_src_path;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 3532 "unattended-file.c"
}


static void boxes_unattended_avatar_file_real_set_src_path (BoxesUnattendedFile* base, const gchar* value) {
	BoxesUnattendedAvatarFile* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = value;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv->_src_path = _tmp1_;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_object_notify ((GObject *) self, "src-path");
#line 3552 "unattended-file.c"
}


static BoxesUnattendedInstaller* boxes_unattended_avatar_file_real_get_installer (BoxesUnattendedFile* base) {
	BoxesUnattendedInstaller* result;
	BoxesUnattendedAvatarFile* self;
	BoxesUnattendedInstaller* _tmp0_ = NULL;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = (BoxesUnattendedAvatarFile*) base;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->_installer;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	result = _tmp0_;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	return result;
#line 3568 "unattended-file.c"
}


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


static void boxes_unattended_avatar_file_class_init (BoxesUnattendedAvatarFileClass * klass) {
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	boxes_unattended_avatar_file_parent_class = g_type_class_peek_parent (klass);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedAvatarFilePrivate));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_avatar_file_get_property;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_boxes_unattended_avatar_file_set_property;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_avatar_file_finalize;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 3609 "unattended-file.c"
}


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


static void boxes_unattended_avatar_file_instance_init (BoxesUnattendedAvatarFile * self) {
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self->priv = BOXES_UNATTENDED_AVATAR_FILE_GET_PRIVATE (self);
#line 3639 "unattended-file.c"
}


static void boxes_unattended_avatar_file_finalize (GObject* obj) {
	BoxesUnattendedAvatarFile * self;
	GFile* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile);
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_tmp0_ = self->priv->unattended_tmp;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (_tmp0_ == NULL) {
#line 3653 "unattended-file.c"
		goto _return;
	}
	{
		GFile* _tmp1_ = NULL;
#line 197 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp1_ = self->priv->unattended_tmp;
#line 197 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_delete_file (_tmp1_, &_inner_error_);
#line 197 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3664 "unattended-file.c"
			goto __catch83_g_error;
		}
	}
	goto __finally83;
	__catch83_g_error:
	{
		GError* e = NULL;
		GFile* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		e = _inner_error_;
#line 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_inner_error_ = NULL;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp2_ = self->priv->unattended_tmp;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp3_ = g_file_get_path (_tmp2_);
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp4_ = _tmp3_;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp5_ = e;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_tmp6_ = _tmp5_->message;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_warning ("unattended-file.vala:199: Error deleting %s: %s", _tmp4_, _tmp6_);
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_free0 (_tmp4_);
#line 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		_g_error_free0 (e);
#line 3697 "unattended-file.c"
	}
	__finally83:
#line 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.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 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_clear_error (&_inner_error_);
#line 3706 "unattended-file.c"
	}
	_return:
#line 153 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_dest_name);
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_free0 (self->priv->_src_path);
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->_installer);
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->unattended_tmp);
#line 160 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	_g_object_unref0 (self->priv->avatar_format);
#line 161 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	__vala_GdkPixbufFormat_free0 (self->priv->pixbuf_format);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	G_OBJECT_CLASS (boxes_unattended_avatar_file_parent_class)->finalize (obj);
#line 3723 "unattended-file.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 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) self));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_string (value, boxes_unattended_file_get_src_path ((BoxesUnattendedFile*) self));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		g_value_set_object (value, boxes_unattended_file_get_installer ((BoxesUnattendedFile*) self));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 3764 "unattended-file.c"
		default:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 3770 "unattended-file.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 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
	switch (property_id) {
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_DEST_NAME:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_dest_name ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_SRC_PATH:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_src_path ((BoxesUnattendedFile*) self, g_value_get_string (value));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		case BOXES_UNATTENDED_AVATAR_FILE_INSTALLER:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		boxes_unattended_file_set_installer ((BoxesUnattendedFile*) self, g_value_get_object (value));
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 3798 "unattended-file.c"
		default:
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 152 "/home/zeenix/checkout/gnome/gnome-boxes/src/unattended-file.vala"
		break;
#line 3804 "unattended-file.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if ((array != NULL) && (destroy_func != NULL)) {
#line 3812 "unattended-file.c"
		int i;
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			if (((gpointer*) array)[i] != NULL) {
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
				destroy_func (((gpointer*) array)[i]);
#line 3820 "unattended-file.c"
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_vala_array_destroy (array, array_length, destroy_func);
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_free (array);
#line 3832 "unattended-file.c"
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if (array) {
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		while (((gpointer*) array)[length]) {
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			length++;
#line 3845 "unattended-file.c"
		}
	}
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return length;
#line 3850 "unattended-file.c"
}



