/* valagobjectmodule.c generated by valac, the Vala compiler
 * generated from valagobjectmodule.vala, do not modify */

/* valagobjectmodule.vala
 *
 * Copyright (C) 2006-2011  Jürg Billeter
 * Copyright (C) 2006-2008  Raffaele Sandrini
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.

 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.

 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 * Author:
 * 	Jürg Billeter <j@bitron.ch>
 *	Raffaele Sandrini <raffaele@sandrini.ch>
 */

#include <glib.h>
#include <glib-object.h>
#include <vala.h>
#include <valaccode.h>
#include <valagee.h>
#include <stdlib.h>
#include <string.h>


#define VALA_TYPE_CCODE_BASE_MODULE (vala_ccode_base_module_get_type ())
#define VALA_CCODE_BASE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_BASE_MODULE, ValaCCodeBaseModule))
#define VALA_CCODE_BASE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_BASE_MODULE, ValaCCodeBaseModuleClass))
#define VALA_IS_CCODE_BASE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_BASE_MODULE))
#define VALA_IS_CCODE_BASE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_BASE_MODULE))
#define VALA_CCODE_BASE_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_BASE_MODULE, ValaCCodeBaseModuleClass))

typedef struct _ValaCCodeBaseModule ValaCCodeBaseModule;
typedef struct _ValaCCodeBaseModuleClass ValaCCodeBaseModuleClass;
typedef struct _ValaCCodeBaseModulePrivate ValaCCodeBaseModulePrivate;

#define VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT (vala_ccode_base_module_emit_context_get_type ())
#define VALA_CCODE_BASE_MODULE_EMIT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT, ValaCCodeBaseModuleEmitContext))
#define VALA_CCODE_BASE_MODULE_EMIT_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT, ValaCCodeBaseModuleEmitContextClass))
#define VALA_CCODE_BASE_MODULE_IS_EMIT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT))
#define VALA_CCODE_BASE_MODULE_IS_EMIT_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT))
#define VALA_CCODE_BASE_MODULE_EMIT_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_CCODE_BASE_MODULE_TYPE_EMIT_CONTEXT, ValaCCodeBaseModuleEmitContextClass))

typedef struct _ValaCCodeBaseModuleEmitContext ValaCCodeBaseModuleEmitContext;
typedef struct _ValaCCodeBaseModuleEmitContextClass ValaCCodeBaseModuleEmitContextClass;

#define VALA_TYPE_CCODE_STRUCT_MODULE (vala_ccode_struct_module_get_type ())
#define VALA_CCODE_STRUCT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_STRUCT_MODULE, ValaCCodeStructModule))
#define VALA_CCODE_STRUCT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_STRUCT_MODULE, ValaCCodeStructModuleClass))
#define VALA_IS_CCODE_STRUCT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_STRUCT_MODULE))
#define VALA_IS_CCODE_STRUCT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_STRUCT_MODULE))
#define VALA_CCODE_STRUCT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_STRUCT_MODULE, ValaCCodeStructModuleClass))

typedef struct _ValaCCodeStructModule ValaCCodeStructModule;
typedef struct _ValaCCodeStructModuleClass ValaCCodeStructModuleClass;
typedef struct _ValaCCodeStructModulePrivate ValaCCodeStructModulePrivate;

#define VALA_TYPE_CCODE_METHOD_MODULE (vala_ccode_method_module_get_type ())
#define VALA_CCODE_METHOD_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_METHOD_MODULE, ValaCCodeMethodModule))
#define VALA_CCODE_METHOD_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_METHOD_MODULE, ValaCCodeMethodModuleClass))
#define VALA_IS_CCODE_METHOD_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_METHOD_MODULE))
#define VALA_IS_CCODE_METHOD_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_METHOD_MODULE))
#define VALA_CCODE_METHOD_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_METHOD_MODULE, ValaCCodeMethodModuleClass))

typedef struct _ValaCCodeMethodModule ValaCCodeMethodModule;
typedef struct _ValaCCodeMethodModuleClass ValaCCodeMethodModuleClass;
typedef struct _ValaCCodeMethodModulePrivate ValaCCodeMethodModulePrivate;

#define VALA_TYPE_CCODE_CONTROL_FLOW_MODULE (vala_ccode_control_flow_module_get_type ())
#define VALA_CCODE_CONTROL_FLOW_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE, ValaCCodeControlFlowModule))
#define VALA_CCODE_CONTROL_FLOW_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE, ValaCCodeControlFlowModuleClass))
#define VALA_IS_CCODE_CONTROL_FLOW_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE))
#define VALA_IS_CCODE_CONTROL_FLOW_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE))
#define VALA_CCODE_CONTROL_FLOW_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_CONTROL_FLOW_MODULE, ValaCCodeControlFlowModuleClass))

typedef struct _ValaCCodeControlFlowModule ValaCCodeControlFlowModule;
typedef struct _ValaCCodeControlFlowModuleClass ValaCCodeControlFlowModuleClass;
typedef struct _ValaCCodeControlFlowModulePrivate ValaCCodeControlFlowModulePrivate;

#define VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE (vala_ccode_member_access_module_get_type ())
#define VALA_CCODE_MEMBER_ACCESS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE, ValaCCodeMemberAccessModule))
#define VALA_CCODE_MEMBER_ACCESS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE, ValaCCodeMemberAccessModuleClass))
#define VALA_IS_CCODE_MEMBER_ACCESS_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE))
#define VALA_IS_CCODE_MEMBER_ACCESS_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE))
#define VALA_CCODE_MEMBER_ACCESS_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS_MODULE, ValaCCodeMemberAccessModuleClass))

typedef struct _ValaCCodeMemberAccessModule ValaCCodeMemberAccessModule;
typedef struct _ValaCCodeMemberAccessModuleClass ValaCCodeMemberAccessModuleClass;
typedef struct _ValaCCodeMemberAccessModulePrivate ValaCCodeMemberAccessModulePrivate;

#define VALA_TYPE_CCODE_ASSIGNMENT_MODULE (vala_ccode_assignment_module_get_type ())
#define VALA_CCODE_ASSIGNMENT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ASSIGNMENT_MODULE, ValaCCodeAssignmentModule))
#define VALA_CCODE_ASSIGNMENT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ASSIGNMENT_MODULE, ValaCCodeAssignmentModuleClass))
#define VALA_IS_CCODE_ASSIGNMENT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ASSIGNMENT_MODULE))
#define VALA_IS_CCODE_ASSIGNMENT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ASSIGNMENT_MODULE))
#define VALA_CCODE_ASSIGNMENT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ASSIGNMENT_MODULE, ValaCCodeAssignmentModuleClass))

typedef struct _ValaCCodeAssignmentModule ValaCCodeAssignmentModule;
typedef struct _ValaCCodeAssignmentModuleClass ValaCCodeAssignmentModuleClass;
typedef struct _ValaCCodeAssignmentModulePrivate ValaCCodeAssignmentModulePrivate;

#define VALA_TYPE_CCODE_METHOD_CALL_MODULE (vala_ccode_method_call_module_get_type ())
#define VALA_CCODE_METHOD_CALL_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_METHOD_CALL_MODULE, ValaCCodeMethodCallModule))
#define VALA_CCODE_METHOD_CALL_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_METHOD_CALL_MODULE, ValaCCodeMethodCallModuleClass))
#define VALA_IS_CCODE_METHOD_CALL_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_METHOD_CALL_MODULE))
#define VALA_IS_CCODE_METHOD_CALL_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_METHOD_CALL_MODULE))
#define VALA_CCODE_METHOD_CALL_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_METHOD_CALL_MODULE, ValaCCodeMethodCallModuleClass))

typedef struct _ValaCCodeMethodCallModule ValaCCodeMethodCallModule;
typedef struct _ValaCCodeMethodCallModuleClass ValaCCodeMethodCallModuleClass;
typedef struct _ValaCCodeMethodCallModulePrivate ValaCCodeMethodCallModulePrivate;

#define VALA_TYPE_CCODE_ARRAY_MODULE (vala_ccode_array_module_get_type ())
#define VALA_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModule))
#define VALA_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass))
#define VALA_IS_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ARRAY_MODULE))
#define VALA_IS_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ARRAY_MODULE))
#define VALA_CCODE_ARRAY_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass))

typedef struct _ValaCCodeArrayModule ValaCCodeArrayModule;
typedef struct _ValaCCodeArrayModuleClass ValaCCodeArrayModuleClass;
typedef struct _ValaCCodeArrayModulePrivate ValaCCodeArrayModulePrivate;

#define VALA_TYPE_CCODE_DELEGATE_MODULE (vala_ccode_delegate_module_get_type ())
#define VALA_CCODE_DELEGATE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_DELEGATE_MODULE, ValaCCodeDelegateModule))
#define VALA_CCODE_DELEGATE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_DELEGATE_MODULE, ValaCCodeDelegateModuleClass))
#define VALA_IS_CCODE_DELEGATE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_DELEGATE_MODULE))
#define VALA_IS_CCODE_DELEGATE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_DELEGATE_MODULE))
#define VALA_CCODE_DELEGATE_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_DELEGATE_MODULE, ValaCCodeDelegateModuleClass))

typedef struct _ValaCCodeDelegateModule ValaCCodeDelegateModule;
typedef struct _ValaCCodeDelegateModuleClass ValaCCodeDelegateModuleClass;
typedef struct _ValaCCodeDelegateModulePrivate ValaCCodeDelegateModulePrivate;

#define VALA_TYPE_GERROR_MODULE (vala_gerror_module_get_type ())
#define VALA_GERROR_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GERROR_MODULE, ValaGErrorModule))
#define VALA_GERROR_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GERROR_MODULE, ValaGErrorModuleClass))
#define VALA_IS_GERROR_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GERROR_MODULE))
#define VALA_IS_GERROR_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GERROR_MODULE))
#define VALA_GERROR_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GERROR_MODULE, ValaGErrorModuleClass))

typedef struct _ValaGErrorModule ValaGErrorModule;
typedef struct _ValaGErrorModuleClass ValaGErrorModuleClass;
typedef struct _ValaGErrorModulePrivate ValaGErrorModulePrivate;

#define VALA_TYPE_GTYPE_MODULE (vala_gtype_module_get_type ())
#define VALA_GTYPE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GTYPE_MODULE, ValaGTypeModule))
#define VALA_GTYPE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GTYPE_MODULE, ValaGTypeModuleClass))
#define VALA_IS_GTYPE_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GTYPE_MODULE))
#define VALA_IS_GTYPE_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GTYPE_MODULE))
#define VALA_GTYPE_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GTYPE_MODULE, ValaGTypeModuleClass))

typedef struct _ValaGTypeModule ValaGTypeModule;
typedef struct _ValaGTypeModuleClass ValaGTypeModuleClass;
typedef struct _ValaGTypeModulePrivate ValaGTypeModulePrivate;

#define VALA_TYPE_GOBJECT_MODULE (vala_gobject_module_get_type ())
#define VALA_GOBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModule))
#define VALA_GOBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModuleClass))
#define VALA_IS_GOBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GOBJECT_MODULE))
#define VALA_IS_GOBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GOBJECT_MODULE))
#define VALA_GOBJECT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModuleClass))

typedef struct _ValaGObjectModule ValaGObjectModule;
typedef struct _ValaGObjectModuleClass ValaGObjectModuleClass;
typedef struct _ValaGObjectModulePrivate ValaGObjectModulePrivate;
#define _vala_iterable_unref0(var) ((var == NULL) ? NULL : (var = (vala_iterable_unref (var), NULL)))
#define _vala_ccode_node_unref0(var) ((var == NULL) ? NULL : (var = (vala_ccode_node_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _vala_code_node_unref0(var) ((var == NULL) ? NULL : (var = (vala_code_node_unref (var), NULL)))

#define VALA_TYPE_GLIB_VALUE (vala_glib_value_get_type ())
#define VALA_GLIB_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_GLIB_VALUE, ValaGLibValue))
#define VALA_GLIB_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_GLIB_VALUE, ValaGLibValueClass))
#define VALA_IS_GLIB_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_GLIB_VALUE))
#define VALA_IS_GLIB_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_GLIB_VALUE))
#define VALA_GLIB_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_GLIB_VALUE, ValaGLibValueClass))

typedef struct _ValaGLibValue ValaGLibValue;
typedef struct _ValaGLibValueClass ValaGLibValueClass;
#define _vala_target_value_unref0(var) ((var == NULL) ? NULL : (var = (vala_target_value_unref (var), NULL)))
#define _vala_ccode_base_module_emit_context_unref0(var) ((var == NULL) ? NULL : (var = (vala_ccode_base_module_emit_context_unref (var), NULL)))

struct _ValaCCodeBaseModule {
	ValaCodeGenerator parent_instance;
	ValaCCodeBaseModulePrivate * priv;
	ValaSymbol* root_symbol;
	ValaCCodeBaseModuleEmitContext* emit_context;
	ValaCCodeLineDirective* current_line;
	ValaCCodeFile* header_file;
	ValaCCodeFile* internal_header_file;
	ValaCCodeFile* cfile;
	ValaCCodeBaseModuleEmitContext* class_init_context;
	ValaCCodeBaseModuleEmitContext* base_init_context;
	ValaCCodeBaseModuleEmitContext* class_finalize_context;
	ValaCCodeBaseModuleEmitContext* base_finalize_context;
	ValaCCodeBaseModuleEmitContext* instance_init_context;
	ValaCCodeBaseModuleEmitContext* instance_finalize_context;
	ValaCCodeStruct* param_spec_struct;
	ValaCCodeStruct* closure_struct;
	ValaCCodeEnum* prop_enum;
	ValaCCodeEnum* signal_enum;
	ValaSet* user_marshal_set;
	ValaSet* predefined_marshal_set;
	gint next_regex_id;
	gint next_coroutine_state G_GNUC_DEPRECATED;
	ValaDataType* void_type;
	ValaDataType* bool_type;
	ValaDataType* char_type;
	ValaDataType* uchar_type;
	ValaDataType* unichar_type;
	ValaDataType* short_type;
	ValaDataType* ushort_type;
	ValaDataType* int_type;
	ValaDataType* uint_type;
	ValaDataType* long_type;
	ValaDataType* ulong_type;
	ValaDataType* int8_type;
	ValaDataType* uint8_type;
	ValaDataType* int16_type;
	ValaDataType* uint16_type;
	ValaDataType* int32_type;
	ValaDataType* uint32_type;
	ValaDataType* int64_type;
	ValaDataType* uint64_type;
	ValaDataType* string_type;
	ValaDataType* regex_type;
	ValaDataType* float_type;
	ValaDataType* double_type;
	ValaTypeSymbol* gtype_type;
	ValaTypeSymbol* gobject_type;
	ValaErrorType* gerror_type;
	ValaClass* glist_type;
	ValaClass* gslist_type;
	ValaClass* gnode_type;
	ValaClass* gqueue_type;
	ValaClass* gvaluearray_type;
	ValaTypeSymbol* gstringbuilder_type;
	ValaTypeSymbol* garray_type;
	ValaTypeSymbol* gbytearray_type;
	ValaTypeSymbol* gptrarray_type;
	ValaTypeSymbol* gthreadpool_type;
	ValaDataType* gdestroynotify_type;
	ValaDataType* gquark_type;
	ValaStruct* gvalue_type;
	ValaClass* gvariant_type;
	ValaStruct* mutex_type;
	ValaStruct* gmutex_type;
	ValaStruct* grecmutex_type;
	ValaStruct* grwlock_type;
	ValaStruct* gcond_type;
	ValaClass* gsource_type;
	ValaTypeSymbol* type_module_type;
	ValaTypeSymbol* dbus_proxy_type;
	ValaClass* gtk_widget_type;
	gboolean in_plugin;
	gchar* module_init_param_name;
	gboolean gvaluecollector_h_needed;
	gboolean requires_assert;
	gboolean requires_array_free;
	gboolean requires_array_move;
	gboolean requires_array_length;
	gboolean requires_clear_mutex;
	ValaSet* wrappers;
};

struct _ValaCCodeBaseModuleClass {
	ValaCodeGeneratorClass parent_class;
	void (*append_vala_array_free) (ValaCCodeBaseModule* self);
	void (*append_vala_array_move) (ValaCCodeBaseModule* self);
	void (*append_vala_array_length) (ValaCCodeBaseModule* self);
	gboolean (*generate_enum_declaration) (ValaCCodeBaseModule* self, ValaEnum* en, ValaCCodeFile* decl_space);
	void (*generate_class_struct_declaration) (ValaCCodeBaseModule* self, ValaClass* cl, ValaCCodeFile* decl_space);
	void (*generate_struct_declaration) (ValaCCodeBaseModule* self, ValaStruct* st, ValaCCodeFile* decl_space);
	void (*generate_delegate_declaration) (ValaCCodeBaseModule* self, ValaDelegate* d, ValaCCodeFile* decl_space);
	void (*generate_cparameters) (ValaCCodeBaseModule* self, ValaMethod* m, ValaCCodeFile* decl_space, ValaMap* cparam_map, ValaCCodeFunction* func, ValaCCodeFunctionDeclarator* vdeclarator, ValaMap* carg_map, ValaCCodeFunctionCall* vcall, gint direction);
	ValaCCodeExpression* (*get_dup_func_expression) (ValaCCodeBaseModule* self, ValaDataType* type, ValaSourceReference* source_reference, gboolean is_chainup);
	gchar* (*append_struct_array_free) (ValaCCodeBaseModule* self, ValaStruct* st);
	ValaCCodeExpression* (*destroy_value) (ValaCCodeBaseModule* self, ValaTargetValue* value, gboolean is_macro_definition);
	void (*append_scope_free) (ValaCCodeBaseModule* self, ValaSymbol* sym, ValaCodeNode* stop_at);
	ValaTargetValue* (*get_local_cvalue) (ValaCCodeBaseModule* self, ValaLocalVariable* local);
	ValaTargetValue* (*get_parameter_cvalue) (ValaCCodeBaseModule* self, ValaParameter* param);
	ValaTargetValue* (*get_field_cvalue) (ValaCCodeBaseModule* self, ValaField* field, ValaTargetValue* instance);
	ValaTargetValue* (*load_variable) (ValaCCodeBaseModule* self, ValaVariable* variable, ValaTargetValue* value);
	ValaTargetValue* (*load_this_parameter) (ValaCCodeBaseModule* self, ValaTypeSymbol* sym);
	void (*store_value) (ValaCCodeBaseModule* self, ValaTargetValue* lvalue, ValaTargetValue* value);
	gchar* (*get_delegate_target_cname) (ValaCCodeBaseModule* self, const gchar* delegate_cname);
	ValaCCodeExpression* (*get_delegate_target_cexpression) (ValaCCodeBaseModule* self, ValaExpression* delegate_expr, ValaCCodeExpression* * delegate_target_destroy_notify);
	ValaCCodeExpression* (*get_delegate_target_cvalue) (ValaCCodeBaseModule* self, ValaTargetValue* value);
	ValaCCodeExpression* (*get_delegate_target_destroy_notify_cvalue) (ValaCCodeBaseModule* self, ValaTargetValue* value);
	gchar* (*get_delegate_target_destroy_notify_cname) (ValaCCodeBaseModule* self, const gchar* delegate_cname);
	ValaTargetValue* (*copy_value) (ValaCCodeBaseModule* self, ValaTargetValue* value, ValaCodeNode* node);
	void (*generate_class_declaration) (ValaCCodeBaseModule* self, ValaClass* cl, ValaCCodeFile* decl_space);
	void (*generate_interface_declaration) (ValaCCodeBaseModule* self, ValaInterface* iface, ValaCCodeFile* decl_space);
	void (*generate_method_declaration) (ValaCCodeBaseModule* self, ValaMethod* m, ValaCCodeFile* decl_space);
	void (*generate_error_domain_declaration) (ValaCCodeBaseModule* self, ValaErrorDomain* edomain, ValaCCodeFile* decl_space);
	ValaCCodeExpression* (*deserialize_expression) (ValaCCodeBaseModule* self, ValaDataType* type, ValaCCodeExpression* variant_expr, ValaCCodeExpression* expr, ValaCCodeExpression* error_expr, gboolean* may_fail);
	ValaCCodeExpression* (*serialize_expression) (ValaCCodeBaseModule* self, ValaDataType* type, ValaCCodeExpression* expr);
	ValaCCodeExpression* (*get_implicit_cast_expression) (ValaCCodeBaseModule* self, ValaCCodeExpression* source_cexpr, ValaDataType* expression_type, ValaDataType* target_type, ValaCodeNode* node);
	void (*create_type_check_statement) (ValaCCodeBaseModule* self, ValaCodeNode* method_node, ValaDataType* ret_type, ValaTypeSymbol* t, gboolean non_null, const gchar* var_name);
	gboolean (*is_gobject_property) (ValaCCodeBaseModule* self, ValaProperty* prop);
	void (*generate_dynamic_method_wrapper) (ValaCCodeBaseModule* self, ValaDynamicMethod* method);
	gboolean (*method_has_wrapper) (ValaCCodeBaseModule* self, ValaMethod* method);
	ValaCCodeFunctionCall* (*get_param_spec) (ValaCCodeBaseModule* self, ValaProperty* prop);
	ValaCCodeExpression* (*get_signal_creation) (ValaCCodeBaseModule* self, ValaSignal* sig, ValaTypeSymbol* type);
	void (*register_dbus_info) (ValaCCodeBaseModule* self, ValaCCodeBlock* block, ValaObjectTypeSymbol* bindable);
	gchar* (*get_dynamic_property_getter_cname) (ValaCCodeBaseModule* self, ValaDynamicProperty* node);
	gchar* (*get_dynamic_property_setter_cname) (ValaCCodeBaseModule* self, ValaDynamicProperty* node);
	gchar* (*get_dynamic_signal_cname) (ValaCCodeBaseModule* self, ValaDynamicSignal* node);
	gchar* (*get_dynamic_signal_connect_wrapper_name) (ValaCCodeBaseModule* self, ValaDynamicSignal* node);
	gchar* (*get_dynamic_signal_connect_after_wrapper_name) (ValaCCodeBaseModule* self, ValaDynamicSignal* node);
	gchar* (*get_dynamic_signal_disconnect_wrapper_name) (ValaCCodeBaseModule* self, ValaDynamicSignal* node);
	gchar* (*get_array_length_cname) (ValaCCodeBaseModule* self, const gchar* array_cname, gint dim);
	gchar* (*get_parameter_array_length_cname) (ValaCCodeBaseModule* self, ValaParameter* param, gint dim);
	ValaCCodeExpression* (*get_array_length_cexpression) (ValaCCodeBaseModule* self, ValaExpression* array_expr, gint dim);
	ValaCCodeExpression* (*get_array_length_cvalue) (ValaCCodeBaseModule* self, ValaTargetValue* value, gint dim);
	gchar* (*get_array_size_cname) (ValaCCodeBaseModule* self, const gchar* array_cname);
	void (*add_simple_check) (ValaCCodeBaseModule* self, ValaCodeNode* node, gboolean always_fails);
	gchar* (*generate_ready_function) (ValaCCodeBaseModule* self, ValaMethod* m);
};

struct _ValaCCodeStructModule {
	ValaCCodeBaseModule parent_instance;
	ValaCCodeStructModulePrivate * priv;
};

struct _ValaCCodeStructModuleClass {
	ValaCCodeBaseModuleClass parent_class;
};

struct _ValaCCodeMethodModule {
	ValaCCodeStructModule parent_instance;
	ValaCCodeMethodModulePrivate * priv;
};

struct _ValaCCodeMethodModuleClass {
	ValaCCodeStructModuleClass parent_class;
	void (*generate_method_result_declaration) (ValaCCodeMethodModule* self, ValaMethod* m, ValaCCodeFile* decl_space, ValaCCodeFunction* cfunc, ValaMap* cparam_map, ValaMap* carg_map);
	ValaCCodeParameter* (*generate_parameter) (ValaCCodeMethodModule* self, ValaParameter* param, ValaCCodeFile* decl_space, ValaMap* cparam_map, ValaMap* carg_map);
};

struct _ValaCCodeControlFlowModule {
	ValaCCodeMethodModule parent_instance;
	ValaCCodeControlFlowModulePrivate * priv;
};

struct _ValaCCodeControlFlowModuleClass {
	ValaCCodeMethodModuleClass parent_class;
};

struct _ValaCCodeMemberAccessModule {
	ValaCCodeControlFlowModule parent_instance;
	ValaCCodeMemberAccessModulePrivate * priv;
};

struct _ValaCCodeMemberAccessModuleClass {
	ValaCCodeControlFlowModuleClass parent_class;
};

struct _ValaCCodeAssignmentModule {
	ValaCCodeMemberAccessModule parent_instance;
	ValaCCodeAssignmentModulePrivate * priv;
};

struct _ValaCCodeAssignmentModuleClass {
	ValaCCodeMemberAccessModuleClass parent_class;
};

struct _ValaCCodeMethodCallModule {
	ValaCCodeAssignmentModule parent_instance;
	ValaCCodeMethodCallModulePrivate * priv;
};

struct _ValaCCodeMethodCallModuleClass {
	ValaCCodeAssignmentModuleClass parent_class;
};

struct _ValaCCodeArrayModule {
	ValaCCodeMethodCallModule parent_instance;
	ValaCCodeArrayModulePrivate * priv;
};

struct _ValaCCodeArrayModuleClass {
	ValaCCodeMethodCallModuleClass parent_class;
};

struct _ValaCCodeDelegateModule {
	ValaCCodeArrayModule parent_instance;
	ValaCCodeDelegateModulePrivate * priv;
};

struct _ValaCCodeDelegateModuleClass {
	ValaCCodeArrayModuleClass parent_class;
};

struct _ValaGErrorModule {
	ValaCCodeDelegateModule parent_instance;
	ValaGErrorModulePrivate * priv;
};

struct _ValaGErrorModuleClass {
	ValaCCodeDelegateModuleClass parent_class;
	void (*return_with_exception) (ValaGErrorModule* self, ValaCCodeExpression* error_expr);
};

struct _ValaGTypeModule {
	ValaGErrorModule parent_instance;
	ValaGTypeModulePrivate * priv;
};

struct _ValaGTypeModuleClass {
	ValaGErrorModuleClass parent_class;
	void (*generate_virtual_method_declaration) (ValaGTypeModule* self, ValaMethod* m, ValaCCodeFile* decl_space, ValaCCodeStruct* type_struct);
	void (*generate_class_init) (ValaGTypeModule* self, ValaClass* cl);
	void (*end_instance_init) (ValaGTypeModule* self, ValaClass* cl);
};

struct _ValaGObjectModule {
	ValaGTypeModule parent_instance;
	ValaGObjectModulePrivate * priv;
};

struct _ValaGObjectModuleClass {
	ValaGTypeModuleClass parent_class;
};

struct _ValaGObjectModulePrivate {
	gint dynamic_property_id;
	gint signal_wrapper_id;
};


static gpointer vala_gobject_module_parent_class = NULL;

GType vala_ccode_base_module_get_type (void) G_GNUC_CONST;
gpointer vala_ccode_base_module_emit_context_ref (gpointer instance);
void vala_ccode_base_module_emit_context_unref (gpointer instance);
GParamSpec* vala_ccode_base_module_param_spec_emit_context (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void vala_ccode_base_module_value_set_emit_context (GValue* value, gpointer v_object);
void vala_ccode_base_module_value_take_emit_context (GValue* value, gpointer v_object);
gpointer vala_ccode_base_module_value_get_emit_context (const GValue* value);
GType vala_ccode_base_module_emit_context_get_type (void) G_GNUC_CONST;
GType vala_ccode_struct_module_get_type (void) G_GNUC_CONST;
GType vala_ccode_method_module_get_type (void) G_GNUC_CONST;
GType vala_ccode_control_flow_module_get_type (void) G_GNUC_CONST;
GType vala_ccode_member_access_module_get_type (void) G_GNUC_CONST;
GType vala_ccode_assignment_module_get_type (void) G_GNUC_CONST;
GType vala_ccode_method_call_module_get_type (void) G_GNUC_CONST;
GType vala_ccode_array_module_get_type (void) G_GNUC_CONST;
GType vala_ccode_delegate_module_get_type (void) G_GNUC_CONST;
GType vala_gerror_module_get_type (void) G_GNUC_CONST;
GType vala_gtype_module_get_type (void) G_GNUC_CONST;
GType vala_gobject_module_get_type (void) G_GNUC_CONST;
#define VALA_GOBJECT_MODULE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModulePrivate))
enum  {
	VALA_GOBJECT_MODULE_DUMMY_PROPERTY
};
static void vala_gobject_module_real_visit_class (ValaCodeVisitor* base, ValaClass* cl);
void vala_ccode_base_module_push_line (ValaCCodeBaseModule* self, ValaSourceReference* source_reference);
static gboolean vala_gobject_module_class_has_readable_properties (ValaGObjectModule* self, ValaClass* cl);
static void vala_gobject_module_add_get_property_function (ValaGObjectModule* self, ValaClass* cl);
static gboolean vala_gobject_module_class_has_writable_properties (ValaGObjectModule* self, ValaClass* cl);
static void vala_gobject_module_add_set_property_function (ValaGObjectModule* self, ValaClass* cl);
void vala_ccode_base_module_pop_line (ValaCCodeBaseModule* self);
static void vala_gobject_module_real_generate_class_init (ValaGTypeModule* base, ValaClass* cl);
ValaCCodeFunction* vala_ccode_base_module_get_ccode (ValaCCodeBaseModule* self);
gchar* vala_ccode_base_module_get_ccode_lower_case_name (ValaCodeNode* node, const gchar* infix);
gboolean vala_ccode_base_module_is_gobject_property (ValaCCodeBaseModule* self, ValaProperty* prop);
gchar* vala_ccode_base_module_get_ccode_upper_case_name (ValaSymbol* sym, const gchar* infix);
ValaCCodeFunctionCall* vala_ccode_base_module_get_param_spec (ValaCCodeBaseModule* self, ValaProperty* prop);
static void vala_gobject_module_add_guarded_expression (ValaGObjectModule* self, ValaSymbol* sym, ValaCCodeExpression* expression);
void vala_ccode_base_module_push_function (ValaCCodeBaseModule* self, ValaCCodeFunction* func);
ValaCCodeFunctionCall* vala_ccode_base_module_generate_instance_cast (ValaCCodeBaseModule* self, ValaCCodeExpression* expr, ValaTypeSymbol* type);
gchar* vala_ccode_base_module_get_ccode_name (ValaCodeNode* node);
ValaCCodeExpression* vala_ccode_base_module_get_cvalue_ (ValaCCodeBaseModule* self, ValaTargetValue* value);
ValaTargetValue* vala_ccode_base_module_transform_value (ValaCCodeBaseModule* self, ValaTargetValue* value, ValaDataType* target_type, ValaCodeNode* node);
G_GNUC_INTERNAL ValaGLibValue* vala_glib_value_new (ValaDataType* value_type, ValaCCodeExpression* cvalue, gboolean lvalue);
G_GNUC_INTERNAL ValaGLibValue* vala_glib_value_construct (GType object_type, ValaDataType* value_type, ValaCCodeExpression* cvalue, gboolean lvalue);
G_GNUC_INTERNAL GType vala_glib_value_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
void vala_ccode_base_module_generate_property_accessor_declaration (ValaCCodeBaseModule* self, ValaPropertyAccessor* acc, ValaCCodeFile* decl_space);
gboolean vala_ccode_base_module_get_ccode_no_accessor_method (ValaProperty* p);
gboolean vala_ccode_base_module_get_ccode_concrete_accessor (ValaProperty* p);
gchar* vala_ccode_base_module_get_ccode_real_name (ValaSymbol* sym);
ValaCCodeIdentifier* vala_ccode_base_module_get_value_setter_function (ValaCCodeBaseModule* self, ValaDataType* type_reference);
gboolean vala_ccode_base_module_requires_destroy (ValaCCodeBaseModule* self, ValaDataType* type);
ValaCCodeExpression* vala_ccode_base_module_destroy_value (ValaCCodeBaseModule* self, ValaTargetValue* value, gboolean is_macro_definition);
ValaCCodeIdentifier* vala_ccode_base_module_get_value_taker_function (ValaCCodeBaseModule* self, ValaDataType* type_reference);
static void vala_gobject_module_emit_invalid_property_id_warn (ValaGObjectModule* self);
void vala_ccode_base_module_pop_function (ValaCCodeBaseModule* self);
gchar* vala_ccode_base_module_get_ccode_get_value_function (ValaCodeNode* sym);
static void vala_gobject_module_real_visit_constructor (ValaCodeVisitor* base, ValaConstructor* c);
void vala_ccode_base_module_push_context (ValaCCodeBaseModule* self, ValaCCodeBaseModuleEmitContext* emit_context);
ValaCCodeBaseModuleEmitContext* vala_ccode_base_module_emit_context_new (ValaSymbol* symbol);
ValaCCodeBaseModuleEmitContext* vala_ccode_base_module_emit_context_construct (GType object_type, ValaSymbol* symbol);
gboolean vala_ccode_base_module_get_current_method_inner_error (ValaCCodeBaseModule* self);
void vala_ccode_base_module_pop_context (ValaCCodeBaseModule* self);
static gchar* vala_gobject_module_real_get_dynamic_property_getter_cname (ValaCCodeBaseModule* base, ValaDynamicProperty* prop);
gchar* vala_ccode_base_module_get_dynamic_property_getter_cname (ValaCCodeBaseModule* self, ValaDynamicProperty* node);
ValaCCodeConstant* vala_ccode_base_module_get_property_canonical_cconstant (ValaCCodeBaseModule* self, ValaProperty* prop);
static gchar* vala_gobject_module_real_get_dynamic_property_setter_cname (ValaCCodeBaseModule* base, ValaDynamicProperty* prop);
gchar* vala_ccode_base_module_get_dynamic_property_setter_cname (ValaCCodeBaseModule* self, ValaDynamicProperty* node);
static gchar* vala_gobject_module_real_get_dynamic_signal_cname (ValaCCodeBaseModule* base, ValaDynamicSignal* node);
static gchar* vala_gobject_module_real_get_dynamic_signal_connect_wrapper_name (ValaCCodeBaseModule* base, ValaDynamicSignal* sig);
gchar* vala_ccode_base_module_get_dynamic_signal_connect_wrapper_name (ValaCCodeBaseModule* self, ValaDynamicSignal* node);
gchar* vala_ccode_base_module_get_dynamic_signal_cname (ValaCCodeBaseModule* self, ValaDynamicSignal* node);
static void vala_gobject_module_generate_gobject_connect_wrapper (ValaGObjectModule* self, ValaDynamicSignal* sig, gboolean after);
static gchar* vala_gobject_module_real_get_dynamic_signal_connect_after_wrapper_name (ValaCCodeBaseModule* base, ValaDynamicSignal* sig);
static void vala_gobject_module_real_visit_property (ValaCodeVisitor* base, ValaProperty* prop);
gchar* vala_ccode_base_module_get_ccode_param_spec_function (ValaCodeNode* sym);
ValaDataType* vala_ccode_base_module_get_data_type_for_symbol (ValaTypeSymbol* sym);
void vala_ccode_base_module_store_property (ValaCCodeBaseModule* self, ValaProperty* prop, ValaExpression* instance, ValaTargetValue* value);
ValaArrayList* vala_ccode_base_module_get_temp_ref_values (ValaCCodeBaseModule* self);
static gboolean vala_gobject_module_real_is_gobject_property (ValaCCodeBaseModule* base, ValaProperty* prop);
gboolean vala_ccode_base_module_get_ccode_has_type_id (ValaTypeSymbol* sym);
static void vala_gobject_module_real_visit_method_call (ValaCodeVisitor* base, ValaMethodCall* expr);
ValaCCodeExpression* vala_ccode_base_module_get_cvalue (ValaCCodeBaseModule* self, ValaExpression* expr);
ValaTargetValue* vala_ccode_base_module_store_temp_value (ValaCCodeBaseModule* self, ValaTargetValue* initializer, ValaCodeNode* node_reference, gboolean* value_owned);
ValaClass* vala_ccode_base_module_get_current_class (ValaCCodeBaseModule* self);
ValaGObjectModule* vala_gobject_module_new (void);
ValaGObjectModule* vala_gobject_module_construct (GType object_type);
ValaGTypeModule* vala_gtype_module_new (void);
ValaGTypeModule* vala_gtype_module_construct (GType object_type);
static void vala_gobject_module_finalize (ValaCodeVisitor * obj);


static void vala_gobject_module_real_visit_class (ValaCodeVisitor* base, ValaClass* cl) {
	ValaGObjectModule * self;
	ValaClass* _tmp0_;
	ValaClass* _tmp1_;
	ValaTypeSymbol* _tmp2_;
	gboolean _tmp3_;
	ValaClass* _tmp4_;
	ValaSourceReference* _tmp5_;
	ValaSourceReference* _tmp6_;
	gboolean _tmp7_ = FALSE;
	ValaClass* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp16_ = FALSE;
	ValaClass* _tmp17_;
	gboolean _tmp18_;
	self = (ValaGObjectModule*) base;
	g_return_if_fail (cl != NULL);
	_tmp0_ = cl;
	VALA_CODE_VISITOR_CLASS (vala_gobject_module_parent_class)->visit_class ((ValaCodeVisitor*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp0_);
	_tmp1_ = cl;
	_tmp2_ = ((ValaCCodeBaseModule*) self)->gobject_type;
	_tmp3_ = vala_typesymbol_is_subtype_of ((ValaTypeSymbol*) _tmp1_, _tmp2_);
	if (!_tmp3_) {
		return;
	}
	_tmp4_ = cl;
	_tmp5_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp4_);
	_tmp6_ = _tmp5_;
	vala_ccode_base_module_push_line ((ValaCCodeBaseModule*) self, _tmp6_);
	_tmp8_ = cl;
	_tmp9_ = vala_gobject_module_class_has_readable_properties (self, _tmp8_);
	if (_tmp9_) {
		_tmp7_ = TRUE;
	} else {
		ValaClass* _tmp10_;
		ValaList* _tmp11_;
		ValaList* _tmp12_;
		gint _tmp13_;
		gint _tmp14_;
		_tmp10_ = cl;
		_tmp11_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp10_);
		_tmp12_ = _tmp11_;
		_tmp13_ = vala_collection_get_size ((ValaCollection*) _tmp12_);
		_tmp14_ = _tmp13_;
		_tmp7_ = _tmp14_ > 0;
		_vala_iterable_unref0 (_tmp12_);
	}
	if (_tmp7_) {
		ValaClass* _tmp15_;
		_tmp15_ = cl;
		vala_gobject_module_add_get_property_function (self, _tmp15_);
	}
	_tmp17_ = cl;
	_tmp18_ = vala_gobject_module_class_has_writable_properties (self, _tmp17_);
	if (_tmp18_) {
		_tmp16_ = TRUE;
	} else {
		ValaClass* _tmp19_;
		ValaList* _tmp20_;
		ValaList* _tmp21_;
		gint _tmp22_;
		gint _tmp23_;
		_tmp19_ = cl;
		_tmp20_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp19_);
		_tmp21_ = _tmp20_;
		_tmp22_ = vala_collection_get_size ((ValaCollection*) _tmp21_);
		_tmp23_ = _tmp22_;
		_tmp16_ = _tmp23_ > 0;
		_vala_iterable_unref0 (_tmp21_);
	}
	if (_tmp16_) {
		ValaClass* _tmp24_;
		_tmp24_ = cl;
		vala_gobject_module_add_set_property_function (self, _tmp24_);
	}
	vala_ccode_base_module_pop_line ((ValaCCodeBaseModule*) self);
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GError * _inner_error_ = NULL;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (old != NULL, NULL);
	g_return_val_if_fail (replacement != NULL, NULL);
	if ((*((gchar*) self)) == '\0') {
		_tmp1_ = TRUE;
	} else {
		const gchar* _tmp2_;
		_tmp2_ = old;
		_tmp1_ = (*((gchar*) _tmp2_)) == '\0';
	}
	if (_tmp1_) {
		_tmp0_ = TRUE;
	} else {
		const gchar* _tmp3_;
		const gchar* _tmp4_;
		_tmp3_ = old;
		_tmp4_ = replacement;
		_tmp0_ = g_strcmp0 (_tmp3_, _tmp4_) == 0;
	}
	if (_tmp0_) {
		gchar* _tmp5_;
		_tmp5_ = g_strdup (self);
		result = _tmp5_;
		return result;
	}
	{
		GRegex* regex = NULL;
		const gchar* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
		GRegex* _tmp9_;
		GRegex* _tmp10_;
		gchar* _tmp11_ = NULL;
		GRegex* _tmp12_;
		const gchar* _tmp13_;
		gchar* _tmp14_;
		gchar* _tmp15_;
		_tmp6_ = old;
		_tmp7_ = g_regex_escape_string (_tmp6_, -1);
		_tmp8_ = _tmp7_;
		_tmp9_ = g_regex_new (_tmp8_, 0, 0, &_inner_error_);
		_tmp10_ = _tmp9_;
		_g_free0 (_tmp8_);
		regex = _tmp10_;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_REGEX_ERROR) {
				goto __catch7_g_regex_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return NULL;
		}
		_tmp12_ = regex;
		_tmp13_ = replacement;
		_tmp14_ = g_regex_replace_literal (_tmp12_, self, (gssize) -1, 0, _tmp13_, 0, &_inner_error_);
		_tmp11_ = _tmp14_;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			_g_regex_unref0 (regex);
			if (_inner_error_->domain == G_REGEX_ERROR) {
				goto __catch7_g_regex_error;
			}
			_g_regex_unref0 (regex);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return NULL;
		}
		_tmp15_ = _tmp11_;
		_tmp11_ = NULL;
		result = _tmp15_;
		_g_free0 (_tmp11_);
		_g_regex_unref0 (regex);
		return result;
	}
	goto __finally7;
	__catch7_g_regex_error:
	{
		GError* e = NULL;
		e = _inner_error_;
		_inner_error_ = NULL;
		g_assert_not_reached ();
		_g_error_free0 (e);
	}
	__finally7:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		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);
		g_clear_error (&_inner_error_);
		return NULL;
	}
}


static gpointer _vala_iterable_ref0 (gpointer self) {
	return self ? vala_iterable_ref (self) : NULL;
}


static void vala_gobject_module_real_generate_class_init (ValaGTypeModule* base, ValaClass* cl) {
	ValaGObjectModule * self;
	ValaClass* _tmp0_;
	ValaTypeSymbol* _tmp1_;
	gboolean _tmp2_;
	ValaCCodeFunctionCall* ccall = NULL;
	ValaCCodeIdentifier* _tmp3_;
	ValaCCodeIdentifier* _tmp4_;
	ValaCCodeFunctionCall* _tmp5_;
	ValaCCodeFunctionCall* _tmp6_;
	ValaCCodeFunctionCall* _tmp7_;
	ValaCCodeIdentifier* _tmp8_;
	ValaCCodeIdentifier* _tmp9_;
	gboolean _tmp10_ = FALSE;
	ValaClass* _tmp11_;
	gboolean _tmp12_;
	gboolean _tmp30_ = FALSE;
	ValaClass* _tmp31_;
	gboolean _tmp32_;
	ValaClass* _tmp50_;
	ValaConstructor* _tmp51_;
	ValaConstructor* _tmp52_;
	gboolean _tmp72_ = FALSE;
	ValaClass* _tmp73_;
	ValaList* _tmp74_;
	ValaList* _tmp75_;
	gint _tmp76_;
	gint _tmp77_;
	gboolean _tmp78_;
	ValaList* props = NULL;
	ValaClass* _tmp256_;
	ValaList* _tmp257_;
	self = (ValaGObjectModule*) base;
	g_return_if_fail (cl != NULL);
	_tmp0_ = cl;
	_tmp1_ = ((ValaCCodeBaseModule*) self)->gobject_type;
	_tmp2_ = vala_typesymbol_is_subtype_of ((ValaTypeSymbol*) _tmp0_, _tmp1_);
	if (!_tmp2_) {
		return;
	}
	_tmp3_ = vala_ccode_identifier_new ("G_OBJECT_CLASS");
	_tmp4_ = _tmp3_;
	_tmp5_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp4_);
	_tmp6_ = _tmp5_;
	_vala_ccode_node_unref0 (_tmp4_);
	ccall = _tmp6_;
	_tmp7_ = ccall;
	_tmp8_ = vala_ccode_identifier_new ("klass");
	_tmp9_ = _tmp8_;
	vala_ccode_function_call_add_argument (_tmp7_, (ValaCCodeExpression*) _tmp9_);
	_vala_ccode_node_unref0 (_tmp9_);
	_tmp11_ = cl;
	_tmp12_ = vala_gobject_module_class_has_readable_properties (self, _tmp11_);
	if (_tmp12_) {
		_tmp10_ = TRUE;
	} else {
		ValaClass* _tmp13_;
		ValaList* _tmp14_;
		ValaList* _tmp15_;
		gint _tmp16_;
		gint _tmp17_;
		_tmp13_ = cl;
		_tmp14_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp13_);
		_tmp15_ = _tmp14_;
		_tmp16_ = vala_collection_get_size ((ValaCollection*) _tmp15_);
		_tmp17_ = _tmp16_;
		_tmp10_ = _tmp17_ > 0;
		_vala_iterable_unref0 (_tmp15_);
	}
	if (_tmp10_) {
		ValaCCodeFunction* _tmp18_;
		ValaCCodeFunction* _tmp19_;
		ValaCCodeFunctionCall* _tmp20_;
		ValaCCodeMemberAccess* _tmp21_;
		ValaCCodeMemberAccess* _tmp22_;
		ValaClass* _tmp23_;
		gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
		gchar* _tmp27_;
		ValaCCodeIdentifier* _tmp28_;
		ValaCCodeIdentifier* _tmp29_;
		_tmp18_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp19_ = _tmp18_;
		_tmp20_ = ccall;
		_tmp21_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp20_, "get_property");
		_tmp22_ = _tmp21_;
		_tmp23_ = cl;
		_tmp24_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp23_, NULL);
		_tmp25_ = _tmp24_;
		_tmp26_ = g_strdup_printf ("_vala_%s_get_property", _tmp25_);
		_tmp27_ = _tmp26_;
		_tmp28_ = vala_ccode_identifier_new (_tmp27_);
		_tmp29_ = _tmp28_;
		vala_ccode_function_add_assignment (_tmp19_, (ValaCCodeExpression*) _tmp22_, (ValaCCodeExpression*) _tmp29_);
		_vala_ccode_node_unref0 (_tmp29_);
		_g_free0 (_tmp27_);
		_g_free0 (_tmp25_);
		_vala_ccode_node_unref0 (_tmp22_);
	}
	_tmp31_ = cl;
	_tmp32_ = vala_gobject_module_class_has_writable_properties (self, _tmp31_);
	if (_tmp32_) {
		_tmp30_ = TRUE;
	} else {
		ValaClass* _tmp33_;
		ValaList* _tmp34_;
		ValaList* _tmp35_;
		gint _tmp36_;
		gint _tmp37_;
		_tmp33_ = cl;
		_tmp34_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp33_);
		_tmp35_ = _tmp34_;
		_tmp36_ = vala_collection_get_size ((ValaCollection*) _tmp35_);
		_tmp37_ = _tmp36_;
		_tmp30_ = _tmp37_ > 0;
		_vala_iterable_unref0 (_tmp35_);
	}
	if (_tmp30_) {
		ValaCCodeFunction* _tmp38_;
		ValaCCodeFunction* _tmp39_;
		ValaCCodeFunctionCall* _tmp40_;
		ValaCCodeMemberAccess* _tmp41_;
		ValaCCodeMemberAccess* _tmp42_;
		ValaClass* _tmp43_;
		gchar* _tmp44_;
		gchar* _tmp45_;
		gchar* _tmp46_;
		gchar* _tmp47_;
		ValaCCodeIdentifier* _tmp48_;
		ValaCCodeIdentifier* _tmp49_;
		_tmp38_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp39_ = _tmp38_;
		_tmp40_ = ccall;
		_tmp41_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp40_, "set_property");
		_tmp42_ = _tmp41_;
		_tmp43_ = cl;
		_tmp44_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp43_, NULL);
		_tmp45_ = _tmp44_;
		_tmp46_ = g_strdup_printf ("_vala_%s_set_property", _tmp45_);
		_tmp47_ = _tmp46_;
		_tmp48_ = vala_ccode_identifier_new (_tmp47_);
		_tmp49_ = _tmp48_;
		vala_ccode_function_add_assignment (_tmp39_, (ValaCCodeExpression*) _tmp42_, (ValaCCodeExpression*) _tmp49_);
		_vala_ccode_node_unref0 (_tmp49_);
		_g_free0 (_tmp47_);
		_g_free0 (_tmp45_);
		_vala_ccode_node_unref0 (_tmp42_);
	}
	_tmp50_ = cl;
	_tmp51_ = vala_class_get_constructor (_tmp50_);
	_tmp52_ = _tmp51_;
	if (_tmp52_ != NULL) {
		ValaCCodeFunctionCall* ccast = NULL;
		ValaCCodeIdentifier* _tmp53_;
		ValaCCodeIdentifier* _tmp54_;
		ValaCCodeFunctionCall* _tmp55_;
		ValaCCodeFunctionCall* _tmp56_;
		ValaCCodeFunctionCall* _tmp57_;
		ValaCCodeIdentifier* _tmp58_;
		ValaCCodeIdentifier* _tmp59_;
		ValaCCodeFunction* _tmp60_;
		ValaCCodeFunction* _tmp61_;
		ValaCCodeFunctionCall* _tmp62_;
		ValaCCodeMemberAccess* _tmp63_;
		ValaCCodeMemberAccess* _tmp64_;
		ValaClass* _tmp65_;
		gchar* _tmp66_;
		gchar* _tmp67_;
		gchar* _tmp68_;
		gchar* _tmp69_;
		ValaCCodeIdentifier* _tmp70_;
		ValaCCodeIdentifier* _tmp71_;
		_tmp53_ = vala_ccode_identifier_new ("G_OBJECT_CLASS");
		_tmp54_ = _tmp53_;
		_tmp55_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp54_);
		_tmp56_ = _tmp55_;
		_vala_ccode_node_unref0 (_tmp54_);
		ccast = _tmp56_;
		_tmp57_ = ccast;
		_tmp58_ = vala_ccode_identifier_new ("klass");
		_tmp59_ = _tmp58_;
		vala_ccode_function_call_add_argument (_tmp57_, (ValaCCodeExpression*) _tmp59_);
		_vala_ccode_node_unref0 (_tmp59_);
		_tmp60_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp61_ = _tmp60_;
		_tmp62_ = ccast;
		_tmp63_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp62_, "constructor");
		_tmp64_ = _tmp63_;
		_tmp65_ = cl;
		_tmp66_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp65_, NULL);
		_tmp67_ = _tmp66_;
		_tmp68_ = g_strdup_printf ("%s_constructor", _tmp67_);
		_tmp69_ = _tmp68_;
		_tmp70_ = vala_ccode_identifier_new (_tmp69_);
		_tmp71_ = _tmp70_;
		vala_ccode_function_add_assignment (_tmp61_, (ValaCCodeExpression*) _tmp64_, (ValaCCodeExpression*) _tmp71_);
		_vala_ccode_node_unref0 (_tmp71_);
		_g_free0 (_tmp69_);
		_g_free0 (_tmp67_);
		_vala_ccode_node_unref0 (_tmp64_);
		_vala_ccode_node_unref0 (ccast);
	}
	_tmp73_ = cl;
	_tmp74_ = vala_class_get_fields (_tmp73_);
	_tmp75_ = _tmp74_;
	_tmp76_ = vala_collection_get_size ((ValaCollection*) _tmp75_);
	_tmp77_ = _tmp76_;
	_tmp78_ = _tmp77_ > 0;
	_vala_iterable_unref0 (_tmp75_);
	if (_tmp78_) {
		_tmp72_ = TRUE;
	} else {
		ValaClass* _tmp79_;
		ValaDestructor* _tmp80_;
		ValaDestructor* _tmp81_;
		_tmp79_ = cl;
		_tmp80_ = vala_class_get_destructor (_tmp79_);
		_tmp81_ = _tmp80_;
		_tmp72_ = _tmp81_ != NULL;
	}
	if (_tmp72_) {
		ValaCCodeFunctionCall* ccast = NULL;
		ValaCCodeIdentifier* _tmp82_;
		ValaCCodeIdentifier* _tmp83_;
		ValaCCodeFunctionCall* _tmp84_;
		ValaCCodeFunctionCall* _tmp85_;
		ValaCCodeFunctionCall* _tmp86_;
		ValaCCodeIdentifier* _tmp87_;
		ValaCCodeIdentifier* _tmp88_;
		ValaCCodeFunction* _tmp89_;
		ValaCCodeFunction* _tmp90_;
		ValaCCodeFunctionCall* _tmp91_;
		ValaCCodeMemberAccess* _tmp92_;
		ValaCCodeMemberAccess* _tmp93_;
		ValaClass* _tmp94_;
		gchar* _tmp95_;
		gchar* _tmp96_;
		gchar* _tmp97_;
		gchar* _tmp98_;
		ValaCCodeIdentifier* _tmp99_;
		ValaCCodeIdentifier* _tmp100_;
		_tmp82_ = vala_ccode_identifier_new ("G_OBJECT_CLASS");
		_tmp83_ = _tmp82_;
		_tmp84_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp83_);
		_tmp85_ = _tmp84_;
		_vala_ccode_node_unref0 (_tmp83_);
		ccast = _tmp85_;
		_tmp86_ = ccast;
		_tmp87_ = vala_ccode_identifier_new ("klass");
		_tmp88_ = _tmp87_;
		vala_ccode_function_call_add_argument (_tmp86_, (ValaCCodeExpression*) _tmp88_);
		_vala_ccode_node_unref0 (_tmp88_);
		_tmp89_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp90_ = _tmp89_;
		_tmp91_ = ccast;
		_tmp92_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp91_, "finalize");
		_tmp93_ = _tmp92_;
		_tmp94_ = cl;
		_tmp95_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp94_, NULL);
		_tmp96_ = _tmp95_;
		_tmp97_ = g_strdup_printf ("%s_finalize", _tmp96_);
		_tmp98_ = _tmp97_;
		_tmp99_ = vala_ccode_identifier_new (_tmp98_);
		_tmp100_ = _tmp99_;
		vala_ccode_function_add_assignment (_tmp90_, (ValaCCodeExpression*) _tmp93_, (ValaCCodeExpression*) _tmp100_);
		_vala_ccode_node_unref0 (_tmp100_);
		_g_free0 (_tmp98_);
		_g_free0 (_tmp96_);
		_vala_ccode_node_unref0 (_tmp93_);
		_vala_ccode_node_unref0 (ccast);
	}
	{
		ValaList* _type_param_list = NULL;
		ValaClass* _tmp101_;
		ValaList* _tmp102_;
		gint _type_param_size = 0;
		ValaList* _tmp103_;
		gint _tmp104_;
		gint _tmp105_;
		gint _type_param_index = 0;
		_tmp101_ = cl;
		_tmp102_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp101_);
		_type_param_list = _tmp102_;
		_tmp103_ = _type_param_list;
		_tmp104_ = vala_collection_get_size ((ValaCollection*) _tmp103_);
		_tmp105_ = _tmp104_;
		_type_param_size = _tmp105_;
		_type_param_index = -1;
		while (TRUE) {
			gint _tmp106_;
			gint _tmp107_;
			gint _tmp108_;
			ValaTypeParameter* type_param = NULL;
			ValaList* _tmp109_;
			gint _tmp110_;
			gpointer _tmp111_;
			gchar* func_name = NULL;
			gchar* enum_value = NULL;
			ValaCCodeConstant* func_name_constant = NULL;
			ValaCCodeFunctionCall* cinst = NULL;
			ValaCCodeFunctionCall* cspec = NULL;
			gchar* name_prefix = NULL;
			ValaTypeParameter* _tmp112_;
			const gchar* _tmp113_;
			const gchar* _tmp114_;
			gchar* _tmp115_;
			gchar* canonical_prefix = NULL;
			const gchar* _tmp116_;
			gchar* _tmp117_;
			const gchar* _tmp118_;
			gchar* _tmp119_;
			const gchar* _tmp120_;
			gchar* _tmp121_;
			gchar* _tmp122_;
			ValaCCodeConstant* _tmp123_;
			ValaClass* _tmp124_;
			gchar* _tmp125_;
			gchar* _tmp126_;
			const gchar* _tmp127_;
			gchar* _tmp128_;
			gchar* _tmp129_;
			gchar* _tmp130_;
			ValaCCodeIdentifier* _tmp131_;
			ValaCCodeIdentifier* _tmp132_;
			ValaCCodeFunctionCall* _tmp133_;
			ValaCCodeFunctionCall* _tmp134_;
			ValaCCodeFunctionCall* _tmp135_;
			ValaCCodeFunctionCall* _tmp136_;
			const gchar* _tmp137_;
			ValaCCodeConstant* _tmp138_;
			ValaCCodeConstant* _tmp139_;
			ValaCCodeIdentifier* _tmp140_;
			ValaCCodeIdentifier* _tmp141_;
			ValaCCodeFunctionCall* _tmp142_;
			ValaCCodeFunctionCall* _tmp143_;
			ValaCCodeConstant* _tmp144_;
			ValaCCodeFunctionCall* _tmp145_;
			ValaCCodeConstant* _tmp146_;
			ValaCCodeConstant* _tmp147_;
			ValaCCodeFunctionCall* _tmp148_;
			ValaCCodeConstant* _tmp149_;
			ValaCCodeConstant* _tmp150_;
			ValaCCodeFunctionCall* _tmp151_;
			ValaCCodeIdentifier* _tmp152_;
			ValaCCodeIdentifier* _tmp153_;
			ValaCCodeFunctionCall* _tmp154_;
			ValaCCodeConstant* _tmp155_;
			ValaCCodeConstant* _tmp156_;
			ValaCCodeFunctionCall* _tmp157_;
			ValaCCodeFunctionCall* _tmp158_;
			ValaCCodeFunction* _tmp159_;
			ValaCCodeFunction* _tmp160_;
			ValaCCodeFunctionCall* _tmp161_;
			ValaCCodeEnum* _tmp162_;
			const gchar* _tmp163_;
			ValaCCodeEnumValue* _tmp164_;
			ValaCCodeEnumValue* _tmp165_;
			const gchar* _tmp166_;
			gchar* _tmp167_;
			const gchar* _tmp168_;
			gchar* _tmp169_;
			gchar* _tmp170_;
			ValaCCodeConstant* _tmp171_;
			ValaClass* _tmp172_;
			gchar* _tmp173_;
			gchar* _tmp174_;
			const gchar* _tmp175_;
			gchar* _tmp176_;
			gchar* _tmp177_;
			gchar* _tmp178_;
			ValaCCodeIdentifier* _tmp179_;
			ValaCCodeIdentifier* _tmp180_;
			ValaCCodeFunctionCall* _tmp181_;
			ValaCCodeFunctionCall* _tmp182_;
			ValaCCodeFunctionCall* _tmp183_;
			ValaCCodeFunctionCall* _tmp184_;
			const gchar* _tmp185_;
			ValaCCodeConstant* _tmp186_;
			ValaCCodeConstant* _tmp187_;
			ValaCCodeIdentifier* _tmp188_;
			ValaCCodeIdentifier* _tmp189_;
			ValaCCodeFunctionCall* _tmp190_;
			ValaCCodeFunctionCall* _tmp191_;
			ValaCCodeConstant* _tmp192_;
			ValaCCodeFunctionCall* _tmp193_;
			ValaCCodeConstant* _tmp194_;
			ValaCCodeConstant* _tmp195_;
			ValaCCodeFunctionCall* _tmp196_;
			ValaCCodeConstant* _tmp197_;
			ValaCCodeConstant* _tmp198_;
			ValaCCodeFunctionCall* _tmp199_;
			ValaCCodeConstant* _tmp200_;
			ValaCCodeConstant* _tmp201_;
			ValaCCodeFunctionCall* _tmp202_;
			ValaCCodeFunctionCall* _tmp203_;
			ValaCCodeFunction* _tmp204_;
			ValaCCodeFunction* _tmp205_;
			ValaCCodeFunctionCall* _tmp206_;
			ValaCCodeEnum* _tmp207_;
			const gchar* _tmp208_;
			ValaCCodeEnumValue* _tmp209_;
			ValaCCodeEnumValue* _tmp210_;
			const gchar* _tmp211_;
			gchar* _tmp212_;
			const gchar* _tmp213_;
			gchar* _tmp214_;
			gchar* _tmp215_;
			ValaCCodeConstant* _tmp216_;
			ValaClass* _tmp217_;
			gchar* _tmp218_;
			gchar* _tmp219_;
			const gchar* _tmp220_;
			gchar* _tmp221_;
			gchar* _tmp222_;
			gchar* _tmp223_;
			ValaCCodeIdentifier* _tmp224_;
			ValaCCodeIdentifier* _tmp225_;
			ValaCCodeFunctionCall* _tmp226_;
			ValaCCodeFunctionCall* _tmp227_;
			ValaCCodeFunctionCall* _tmp228_;
			ValaCCodeFunctionCall* _tmp229_;
			const gchar* _tmp230_;
			ValaCCodeConstant* _tmp231_;
			ValaCCodeConstant* _tmp232_;
			ValaCCodeIdentifier* _tmp233_;
			ValaCCodeIdentifier* _tmp234_;
			ValaCCodeFunctionCall* _tmp235_;
			ValaCCodeFunctionCall* _tmp236_;
			ValaCCodeConstant* _tmp237_;
			ValaCCodeFunctionCall* _tmp238_;
			ValaCCodeConstant* _tmp239_;
			ValaCCodeConstant* _tmp240_;
			ValaCCodeFunctionCall* _tmp241_;
			ValaCCodeConstant* _tmp242_;
			ValaCCodeConstant* _tmp243_;
			ValaCCodeFunctionCall* _tmp244_;
			ValaCCodeConstant* _tmp245_;
			ValaCCodeConstant* _tmp246_;
			ValaCCodeFunctionCall* _tmp247_;
			ValaCCodeFunctionCall* _tmp248_;
			ValaCCodeFunction* _tmp249_;
			ValaCCodeFunction* _tmp250_;
			ValaCCodeFunctionCall* _tmp251_;
			ValaCCodeEnum* _tmp252_;
			const gchar* _tmp253_;
			ValaCCodeEnumValue* _tmp254_;
			ValaCCodeEnumValue* _tmp255_;
			_tmp106_ = _type_param_index;
			_type_param_index = _tmp106_ + 1;
			_tmp107_ = _type_param_index;
			_tmp108_ = _type_param_size;
			if (!(_tmp107_ < _tmp108_)) {
				break;
			}
			_tmp109_ = _type_param_list;
			_tmp110_ = _type_param_index;
			_tmp111_ = vala_list_get (_tmp109_, _tmp110_);
			type_param = (ValaTypeParameter*) _tmp111_;
			_tmp112_ = type_param;
			_tmp113_ = vala_symbol_get_name ((ValaSymbol*) _tmp112_);
			_tmp114_ = _tmp113_;
			_tmp115_ = g_utf8_strdown (_tmp114_, (gssize) -1);
			name_prefix = _tmp115_;
			_tmp116_ = name_prefix;
			_tmp117_ = string_replace (_tmp116_, "_", "-");
			canonical_prefix = _tmp117_;
			_tmp118_ = name_prefix;
			_tmp119_ = g_strdup_printf ("%s_type", _tmp118_);
			_g_free0 (func_name);
			func_name = _tmp119_;
			_tmp120_ = canonical_prefix;
			_tmp121_ = g_strdup_printf ("\"%s-type\"", _tmp120_);
			_tmp122_ = _tmp121_;
			_tmp123_ = vala_ccode_constant_new (_tmp122_);
			_vala_ccode_node_unref0 (func_name_constant);
			func_name_constant = _tmp123_;
			_g_free0 (_tmp122_);
			_tmp124_ = cl;
			_tmp125_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp124_, NULL);
			_tmp126_ = _tmp125_;
			_tmp127_ = func_name;
			_tmp128_ = g_strdup_printf ("%s_%s", _tmp126_, _tmp127_);
			_tmp129_ = _tmp128_;
			_tmp130_ = g_ascii_strup (_tmp129_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp130_;
			_g_free0 (_tmp129_);
			_g_free0 (_tmp126_);
			_tmp131_ = vala_ccode_identifier_new ("g_object_class_install_property");
			_tmp132_ = _tmp131_;
			_tmp133_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp132_);
			_vala_ccode_node_unref0 (cinst);
			cinst = _tmp133_;
			_vala_ccode_node_unref0 (_tmp132_);
			_tmp134_ = cinst;
			_tmp135_ = ccall;
			vala_ccode_function_call_add_argument (_tmp134_, (ValaCCodeExpression*) _tmp135_);
			_tmp136_ = cinst;
			_tmp137_ = enum_value;
			_tmp138_ = vala_ccode_constant_new (_tmp137_);
			_tmp139_ = _tmp138_;
			vala_ccode_function_call_add_argument (_tmp136_, (ValaCCodeExpression*) _tmp139_);
			_vala_ccode_node_unref0 (_tmp139_);
			_tmp140_ = vala_ccode_identifier_new ("g_param_spec_gtype");
			_tmp141_ = _tmp140_;
			_tmp142_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp141_);
			_vala_ccode_node_unref0 (cspec);
			cspec = _tmp142_;
			_vala_ccode_node_unref0 (_tmp141_);
			_tmp143_ = cspec;
			_tmp144_ = func_name_constant;
			vala_ccode_function_call_add_argument (_tmp143_, (ValaCCodeExpression*) _tmp144_);
			_tmp145_ = cspec;
			_tmp146_ = vala_ccode_constant_new ("\"type\"");
			_tmp147_ = _tmp146_;
			vala_ccode_function_call_add_argument (_tmp145_, (ValaCCodeExpression*) _tmp147_);
			_vala_ccode_node_unref0 (_tmp147_);
			_tmp148_ = cspec;
			_tmp149_ = vala_ccode_constant_new ("\"type\"");
			_tmp150_ = _tmp149_;
			vala_ccode_function_call_add_argument (_tmp148_, (ValaCCodeExpression*) _tmp150_);
			_vala_ccode_node_unref0 (_tmp150_);
			_tmp151_ = cspec;
			_tmp152_ = vala_ccode_identifier_new ("G_TYPE_NONE");
			_tmp153_ = _tmp152_;
			vala_ccode_function_call_add_argument (_tmp151_, (ValaCCodeExpression*) _tmp153_);
			_vala_ccode_node_unref0 (_tmp153_);
			_tmp154_ = cspec;
			_tmp155_ = vala_ccode_constant_new ("G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_P" \
"ARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY");
			_tmp156_ = _tmp155_;
			vala_ccode_function_call_add_argument (_tmp154_, (ValaCCodeExpression*) _tmp156_);
			_vala_ccode_node_unref0 (_tmp156_);
			_tmp157_ = cinst;
			_tmp158_ = cspec;
			vala_ccode_function_call_add_argument (_tmp157_, (ValaCCodeExpression*) _tmp158_);
			_tmp159_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp160_ = _tmp159_;
			_tmp161_ = cinst;
			vala_ccode_function_add_expression (_tmp160_, (ValaCCodeExpression*) _tmp161_);
			_tmp162_ = ((ValaCCodeBaseModule*) self)->prop_enum;
			_tmp163_ = enum_value;
			_tmp164_ = vala_ccode_enum_value_new (_tmp163_, NULL);
			_tmp165_ = _tmp164_;
			vala_ccode_enum_add_value (_tmp162_, _tmp165_);
			_vala_ccode_node_unref0 (_tmp165_);
			_tmp166_ = name_prefix;
			_tmp167_ = g_strdup_printf ("%s_dup_func", _tmp166_);
			_g_free0 (func_name);
			func_name = _tmp167_;
			_tmp168_ = canonical_prefix;
			_tmp169_ = g_strdup_printf ("\"%s-dup-func\"", _tmp168_);
			_tmp170_ = _tmp169_;
			_tmp171_ = vala_ccode_constant_new (_tmp170_);
			_vala_ccode_node_unref0 (func_name_constant);
			func_name_constant = _tmp171_;
			_g_free0 (_tmp170_);
			_tmp172_ = cl;
			_tmp173_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp172_, NULL);
			_tmp174_ = _tmp173_;
			_tmp175_ = func_name;
			_tmp176_ = g_strdup_printf ("%s_%s", _tmp174_, _tmp175_);
			_tmp177_ = _tmp176_;
			_tmp178_ = g_ascii_strup (_tmp177_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp178_;
			_g_free0 (_tmp177_);
			_g_free0 (_tmp174_);
			_tmp179_ = vala_ccode_identifier_new ("g_object_class_install_property");
			_tmp180_ = _tmp179_;
			_tmp181_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp180_);
			_vala_ccode_node_unref0 (cinst);
			cinst = _tmp181_;
			_vala_ccode_node_unref0 (_tmp180_);
			_tmp182_ = cinst;
			_tmp183_ = ccall;
			vala_ccode_function_call_add_argument (_tmp182_, (ValaCCodeExpression*) _tmp183_);
			_tmp184_ = cinst;
			_tmp185_ = enum_value;
			_tmp186_ = vala_ccode_constant_new (_tmp185_);
			_tmp187_ = _tmp186_;
			vala_ccode_function_call_add_argument (_tmp184_, (ValaCCodeExpression*) _tmp187_);
			_vala_ccode_node_unref0 (_tmp187_);
			_tmp188_ = vala_ccode_identifier_new ("g_param_spec_pointer");
			_tmp189_ = _tmp188_;
			_tmp190_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp189_);
			_vala_ccode_node_unref0 (cspec);
			cspec = _tmp190_;
			_vala_ccode_node_unref0 (_tmp189_);
			_tmp191_ = cspec;
			_tmp192_ = func_name_constant;
			vala_ccode_function_call_add_argument (_tmp191_, (ValaCCodeExpression*) _tmp192_);
			_tmp193_ = cspec;
			_tmp194_ = vala_ccode_constant_new ("\"dup func\"");
			_tmp195_ = _tmp194_;
			vala_ccode_function_call_add_argument (_tmp193_, (ValaCCodeExpression*) _tmp195_);
			_vala_ccode_node_unref0 (_tmp195_);
			_tmp196_ = cspec;
			_tmp197_ = vala_ccode_constant_new ("\"dup func\"");
			_tmp198_ = _tmp197_;
			vala_ccode_function_call_add_argument (_tmp196_, (ValaCCodeExpression*) _tmp198_);
			_vala_ccode_node_unref0 (_tmp198_);
			_tmp199_ = cspec;
			_tmp200_ = vala_ccode_constant_new ("G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_P" \
"ARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY");
			_tmp201_ = _tmp200_;
			vala_ccode_function_call_add_argument (_tmp199_, (ValaCCodeExpression*) _tmp201_);
			_vala_ccode_node_unref0 (_tmp201_);
			_tmp202_ = cinst;
			_tmp203_ = cspec;
			vala_ccode_function_call_add_argument (_tmp202_, (ValaCCodeExpression*) _tmp203_);
			_tmp204_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp205_ = _tmp204_;
			_tmp206_ = cinst;
			vala_ccode_function_add_expression (_tmp205_, (ValaCCodeExpression*) _tmp206_);
			_tmp207_ = ((ValaCCodeBaseModule*) self)->prop_enum;
			_tmp208_ = enum_value;
			_tmp209_ = vala_ccode_enum_value_new (_tmp208_, NULL);
			_tmp210_ = _tmp209_;
			vala_ccode_enum_add_value (_tmp207_, _tmp210_);
			_vala_ccode_node_unref0 (_tmp210_);
			_tmp211_ = name_prefix;
			_tmp212_ = g_strdup_printf ("%s_destroy_func", _tmp211_);
			_g_free0 (func_name);
			func_name = _tmp212_;
			_tmp213_ = canonical_prefix;
			_tmp214_ = g_strdup_printf ("\"%s-destroy-func\"", _tmp213_);
			_tmp215_ = _tmp214_;
			_tmp216_ = vala_ccode_constant_new (_tmp215_);
			_vala_ccode_node_unref0 (func_name_constant);
			func_name_constant = _tmp216_;
			_g_free0 (_tmp215_);
			_tmp217_ = cl;
			_tmp218_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp217_, NULL);
			_tmp219_ = _tmp218_;
			_tmp220_ = func_name;
			_tmp221_ = g_strdup_printf ("%s_%s", _tmp219_, _tmp220_);
			_tmp222_ = _tmp221_;
			_tmp223_ = g_ascii_strup (_tmp222_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp223_;
			_g_free0 (_tmp222_);
			_g_free0 (_tmp219_);
			_tmp224_ = vala_ccode_identifier_new ("g_object_class_install_property");
			_tmp225_ = _tmp224_;
			_tmp226_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp225_);
			_vala_ccode_node_unref0 (cinst);
			cinst = _tmp226_;
			_vala_ccode_node_unref0 (_tmp225_);
			_tmp227_ = cinst;
			_tmp228_ = ccall;
			vala_ccode_function_call_add_argument (_tmp227_, (ValaCCodeExpression*) _tmp228_);
			_tmp229_ = cinst;
			_tmp230_ = enum_value;
			_tmp231_ = vala_ccode_constant_new (_tmp230_);
			_tmp232_ = _tmp231_;
			vala_ccode_function_call_add_argument (_tmp229_, (ValaCCodeExpression*) _tmp232_);
			_vala_ccode_node_unref0 (_tmp232_);
			_tmp233_ = vala_ccode_identifier_new ("g_param_spec_pointer");
			_tmp234_ = _tmp233_;
			_tmp235_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp234_);
			_vala_ccode_node_unref0 (cspec);
			cspec = _tmp235_;
			_vala_ccode_node_unref0 (_tmp234_);
			_tmp236_ = cspec;
			_tmp237_ = func_name_constant;
			vala_ccode_function_call_add_argument (_tmp236_, (ValaCCodeExpression*) _tmp237_);
			_tmp238_ = cspec;
			_tmp239_ = vala_ccode_constant_new ("\"destroy func\"");
			_tmp240_ = _tmp239_;
			vala_ccode_function_call_add_argument (_tmp238_, (ValaCCodeExpression*) _tmp240_);
			_vala_ccode_node_unref0 (_tmp240_);
			_tmp241_ = cspec;
			_tmp242_ = vala_ccode_constant_new ("\"destroy func\"");
			_tmp243_ = _tmp242_;
			vala_ccode_function_call_add_argument (_tmp241_, (ValaCCodeExpression*) _tmp243_);
			_vala_ccode_node_unref0 (_tmp243_);
			_tmp244_ = cspec;
			_tmp245_ = vala_ccode_constant_new ("G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_P" \
"ARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY");
			_tmp246_ = _tmp245_;
			vala_ccode_function_call_add_argument (_tmp244_, (ValaCCodeExpression*) _tmp246_);
			_vala_ccode_node_unref0 (_tmp246_);
			_tmp247_ = cinst;
			_tmp248_ = cspec;
			vala_ccode_function_call_add_argument (_tmp247_, (ValaCCodeExpression*) _tmp248_);
			_tmp249_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp250_ = _tmp249_;
			_tmp251_ = cinst;
			vala_ccode_function_add_expression (_tmp250_, (ValaCCodeExpression*) _tmp251_);
			_tmp252_ = ((ValaCCodeBaseModule*) self)->prop_enum;
			_tmp253_ = enum_value;
			_tmp254_ = vala_ccode_enum_value_new (_tmp253_, NULL);
			_tmp255_ = _tmp254_;
			vala_ccode_enum_add_value (_tmp252_, _tmp255_);
			_vala_ccode_node_unref0 (_tmp255_);
			_g_free0 (canonical_prefix);
			_g_free0 (name_prefix);
			_vala_ccode_node_unref0 (cspec);
			_vala_ccode_node_unref0 (cinst);
			_vala_ccode_node_unref0 (func_name_constant);
			_g_free0 (enum_value);
			_g_free0 (func_name);
			_vala_code_node_unref0 (type_param);
		}
		_vala_iterable_unref0 (_type_param_list);
	}
	_tmp256_ = cl;
	_tmp257_ = vala_object_type_symbol_get_properties ((ValaObjectTypeSymbol*) _tmp256_);
	props = _tmp257_;
	{
		ValaList* _prop_list = NULL;
		ValaList* _tmp258_;
		ValaList* _tmp259_;
		gint _prop_size = 0;
		ValaList* _tmp260_;
		gint _tmp261_;
		gint _tmp262_;
		gint _prop_index = 0;
		_tmp258_ = props;
		_tmp259_ = _vala_iterable_ref0 (_tmp258_);
		_prop_list = _tmp259_;
		_tmp260_ = _prop_list;
		_tmp261_ = vala_collection_get_size ((ValaCollection*) _tmp260_);
		_tmp262_ = _tmp261_;
		_prop_size = _tmp262_;
		_prop_index = -1;
		while (TRUE) {
			gint _tmp263_;
			gint _tmp264_;
			gint _tmp265_;
			ValaProperty* prop = NULL;
			ValaList* _tmp266_;
			gint _tmp267_;
			gpointer _tmp268_;
			ValaProperty* _tmp269_;
			gboolean _tmp270_;
			ValaProperty* _tmp271_;
			ValaComment* _tmp272_;
			ValaComment* _tmp273_;
			ValaCCodeFunctionCall* cinst = NULL;
			ValaCCodeIdentifier* _tmp283_;
			ValaCCodeIdentifier* _tmp284_;
			ValaCCodeFunctionCall* _tmp285_;
			ValaCCodeFunctionCall* _tmp286_;
			ValaCCodeFunctionCall* _tmp287_;
			ValaCCodeFunctionCall* _tmp288_;
			ValaCCodeFunctionCall* _tmp289_;
			ValaProperty* _tmp290_;
			gchar* _tmp291_;
			gchar* _tmp292_;
			ValaCCodeConstant* _tmp293_;
			ValaCCodeConstant* _tmp294_;
			ValaCCodeFunctionCall* _tmp295_;
			ValaProperty* _tmp296_;
			ValaCCodeFunctionCall* _tmp297_;
			ValaCCodeFunctionCall* _tmp298_;
			ValaCCodeFunction* _tmp299_;
			ValaCCodeFunction* _tmp300_;
			ValaCCodeFunctionCall* _tmp301_;
			_tmp263_ = _prop_index;
			_prop_index = _tmp263_ + 1;
			_tmp264_ = _prop_index;
			_tmp265_ = _prop_size;
			if (!(_tmp264_ < _tmp265_)) {
				break;
			}
			_tmp266_ = _prop_list;
			_tmp267_ = _prop_index;
			_tmp268_ = vala_list_get (_tmp266_, _tmp267_);
			prop = (ValaProperty*) _tmp268_;
			_tmp269_ = prop;
			_tmp270_ = vala_ccode_base_module_is_gobject_property ((ValaCCodeBaseModule*) self, _tmp269_);
			if (!_tmp270_) {
				_vala_code_node_unref0 (prop);
				continue;
			}
			_tmp271_ = prop;
			_tmp272_ = vala_symbol_get_comment ((ValaSymbol*) _tmp271_);
			_tmp273_ = _tmp272_;
			if (_tmp273_ != NULL) {
				ValaCCodeFunction* _tmp274_;
				ValaCCodeFunction* _tmp275_;
				ValaProperty* _tmp276_;
				ValaComment* _tmp277_;
				ValaComment* _tmp278_;
				const gchar* _tmp279_;
				const gchar* _tmp280_;
				ValaCCodeComment* _tmp281_;
				ValaCCodeComment* _tmp282_;
				_tmp274_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp275_ = _tmp274_;
				_tmp276_ = prop;
				_tmp277_ = vala_symbol_get_comment ((ValaSymbol*) _tmp276_);
				_tmp278_ = _tmp277_;
				_tmp279_ = vala_comment_get_content (_tmp278_);
				_tmp280_ = _tmp279_;
				_tmp281_ = vala_ccode_comment_new (_tmp280_);
				_tmp282_ = _tmp281_;
				vala_ccode_function_add_statement (_tmp275_, (ValaCCodeNode*) _tmp282_);
				_vala_ccode_node_unref0 (_tmp282_);
			}
			_tmp283_ = vala_ccode_identifier_new ("g_object_class_install_property");
			_tmp284_ = _tmp283_;
			_tmp285_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp284_);
			_tmp286_ = _tmp285_;
			_vala_ccode_node_unref0 (_tmp284_);
			cinst = _tmp286_;
			_tmp287_ = cinst;
			_tmp288_ = ccall;
			vala_ccode_function_call_add_argument (_tmp287_, (ValaCCodeExpression*) _tmp288_);
			_tmp289_ = cinst;
			_tmp290_ = prop;
			_tmp291_ = vala_ccode_base_module_get_ccode_upper_case_name ((ValaSymbol*) _tmp290_, NULL);
			_tmp292_ = _tmp291_;
			_tmp293_ = vala_ccode_constant_new (_tmp292_);
			_tmp294_ = _tmp293_;
			vala_ccode_function_call_add_argument (_tmp289_, (ValaCCodeExpression*) _tmp294_);
			_vala_ccode_node_unref0 (_tmp294_);
			_g_free0 (_tmp292_);
			_tmp295_ = cinst;
			_tmp296_ = prop;
			_tmp297_ = vala_ccode_base_module_get_param_spec ((ValaCCodeBaseModule*) self, _tmp296_);
			_tmp298_ = _tmp297_;
			vala_ccode_function_call_add_argument (_tmp295_, (ValaCCodeExpression*) _tmp298_);
			_vala_ccode_node_unref0 (_tmp298_);
			_tmp299_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp300_ = _tmp299_;
			_tmp301_ = cinst;
			vala_ccode_function_add_expression (_tmp300_, (ValaCCodeExpression*) _tmp301_);
			_vala_ccode_node_unref0 (cinst);
			_vala_code_node_unref0 (prop);
		}
		_vala_iterable_unref0 (_prop_list);
	}
	_vala_iterable_unref0 (props);
	_vala_ccode_node_unref0 (ccall);
}


static gboolean vala_gobject_module_class_has_readable_properties (ValaGObjectModule* self, ValaClass* cl) {
	gboolean result = FALSE;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (cl != NULL, FALSE);
	{
		ValaList* _prop_list = NULL;
		ValaClass* _tmp0_;
		ValaList* _tmp1_;
		gint _prop_size = 0;
		ValaList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _prop_index = 0;
		_tmp0_ = cl;
		_tmp1_ = vala_object_type_symbol_get_properties ((ValaObjectTypeSymbol*) _tmp0_);
		_prop_list = _tmp1_;
		_tmp2_ = _prop_list;
		_tmp3_ = vala_collection_get_size ((ValaCollection*) _tmp2_);
		_tmp4_ = _tmp3_;
		_prop_size = _tmp4_;
		_prop_index = -1;
		while (TRUE) {
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			ValaProperty* prop = NULL;
			ValaList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_;
			ValaProperty* _tmp11_;
			ValaPropertyAccessor* _tmp12_;
			ValaPropertyAccessor* _tmp13_;
			_tmp5_ = _prop_index;
			_prop_index = _tmp5_ + 1;
			_tmp6_ = _prop_index;
			_tmp7_ = _prop_size;
			if (!(_tmp6_ < _tmp7_)) {
				break;
			}
			_tmp8_ = _prop_list;
			_tmp9_ = _prop_index;
			_tmp10_ = vala_list_get (_tmp8_, _tmp9_);
			prop = (ValaProperty*) _tmp10_;
			_tmp11_ = prop;
			_tmp12_ = vala_property_get_get_accessor (_tmp11_);
			_tmp13_ = _tmp12_;
			if (_tmp13_ != NULL) {
				result = TRUE;
				_vala_code_node_unref0 (prop);
				_vala_iterable_unref0 (_prop_list);
				return result;
			}
			_vala_code_node_unref0 (prop);
		}
		_vala_iterable_unref0 (_prop_list);
	}
	result = FALSE;
	return result;
}


static gboolean vala_gobject_module_class_has_writable_properties (ValaGObjectModule* self, ValaClass* cl) {
	gboolean result = FALSE;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (cl != NULL, FALSE);
	{
		ValaList* _prop_list = NULL;
		ValaClass* _tmp0_;
		ValaList* _tmp1_;
		gint _prop_size = 0;
		ValaList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _prop_index = 0;
		_tmp0_ = cl;
		_tmp1_ = vala_object_type_symbol_get_properties ((ValaObjectTypeSymbol*) _tmp0_);
		_prop_list = _tmp1_;
		_tmp2_ = _prop_list;
		_tmp3_ = vala_collection_get_size ((ValaCollection*) _tmp2_);
		_tmp4_ = _tmp3_;
		_prop_size = _tmp4_;
		_prop_index = -1;
		while (TRUE) {
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			ValaProperty* prop = NULL;
			ValaList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_;
			ValaProperty* _tmp11_;
			ValaPropertyAccessor* _tmp12_;
			ValaPropertyAccessor* _tmp13_;
			_tmp5_ = _prop_index;
			_prop_index = _tmp5_ + 1;
			_tmp6_ = _prop_index;
			_tmp7_ = _prop_size;
			if (!(_tmp6_ < _tmp7_)) {
				break;
			}
			_tmp8_ = _prop_list;
			_tmp9_ = _prop_index;
			_tmp10_ = vala_list_get (_tmp8_, _tmp9_);
			prop = (ValaProperty*) _tmp10_;
			_tmp11_ = prop;
			_tmp12_ = vala_property_get_set_accessor (_tmp11_);
			_tmp13_ = _tmp12_;
			if (_tmp13_ != NULL) {
				result = TRUE;
				_vala_code_node_unref0 (prop);
				_vala_iterable_unref0 (_prop_list);
				return result;
			}
			_vala_code_node_unref0 (prop);
		}
		_vala_iterable_unref0 (_prop_list);
	}
	result = FALSE;
	return result;
}


static void vala_gobject_module_add_guarded_expression (ValaGObjectModule* self, ValaSymbol* sym, ValaCCodeExpression* expression) {
	ValaSymbol* _tmp0_;
	ValaVersionAttribute* _tmp1_;
	ValaVersionAttribute* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (sym != NULL);
	g_return_if_fail (expression != NULL);
	_tmp0_ = sym;
	_tmp1_ = vala_symbol_get_version (_tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = vala_version_attribute_get_deprecated (_tmp2_);
	_tmp4_ = _tmp3_;
	if (_tmp4_) {
		ValaCCodeGGnucSection* guard = NULL;
		ValaCCodeGGnucSection* _tmp5_;
		ValaCCodeFunction* _tmp6_;
		ValaCCodeFunction* _tmp7_;
		ValaCCodeGGnucSection* _tmp8_;
		ValaCCodeGGnucSection* _tmp9_;
		ValaCCodeExpression* _tmp10_;
		ValaCCodeExpressionStatement* _tmp11_;
		ValaCCodeExpressionStatement* _tmp12_;
		_tmp5_ = vala_ccode_ggnuc_section_new (VALA_GGNUC_SECTION_TYPE_IGNORE_DEPRECATIONS);
		guard = _tmp5_;
		_tmp6_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp7_ = _tmp6_;
		_tmp8_ = guard;
		vala_ccode_function_add_statement (_tmp7_, (ValaCCodeNode*) _tmp8_);
		_tmp9_ = guard;
		_tmp10_ = expression;
		_tmp11_ = vala_ccode_expression_statement_new (_tmp10_);
		_tmp12_ = _tmp11_;
		vala_ccode_fragment_append ((ValaCCodeFragment*) _tmp9_, (ValaCCodeNode*) _tmp12_);
		_vala_ccode_node_unref0 (_tmp12_);
		_vala_ccode_node_unref0 (guard);
	} else {
		ValaCCodeFunction* _tmp13_;
		ValaCCodeFunction* _tmp14_;
		ValaCCodeExpression* _tmp15_;
		_tmp13_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp14_ = _tmp13_;
		_tmp15_ = expression;
		vala_ccode_function_add_expression (_tmp14_, _tmp15_);
	}
}


static gpointer _vala_code_node_ref0 (gpointer self) {
	return self ? vala_code_node_ref (self) : NULL;
}


static void vala_gobject_module_add_get_property_function (ValaGObjectModule* self, ValaClass* cl) {
	ValaCCodeFunction* get_prop = NULL;
	ValaClass* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	ValaCCodeFunction* _tmp5_;
	ValaCCodeFunction* _tmp6_;
	ValaCCodeFunction* _tmp7_;
	ValaCCodeFunction* _tmp8_;
	ValaCCodeParameter* _tmp9_;
	ValaCCodeParameter* _tmp10_;
	ValaCCodeFunction* _tmp11_;
	ValaCCodeParameter* _tmp12_;
	ValaCCodeParameter* _tmp13_;
	ValaCCodeFunction* _tmp14_;
	ValaCCodeParameter* _tmp15_;
	ValaCCodeParameter* _tmp16_;
	ValaCCodeFunction* _tmp17_;
	ValaCCodeParameter* _tmp18_;
	ValaCCodeParameter* _tmp19_;
	ValaCCodeFunction* _tmp20_;
	ValaCCodeFunctionCall* ccall = NULL;
	ValaCCodeIdentifier* _tmp21_;
	ValaCCodeIdentifier* _tmp22_;
	ValaClass* _tmp23_;
	ValaCCodeFunctionCall* _tmp24_;
	ValaCCodeFunctionCall* _tmp25_;
	ValaCCodeFunction* _tmp26_;
	ValaCCodeFunction* _tmp27_;
	ValaClass* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	ValaCCodeFunctionCall* _tmp33_;
	ValaCCodeVariableDeclarator* _tmp34_;
	ValaCCodeVariableDeclarator* _tmp35_;
	ValaCCodeFunction* _tmp36_;
	ValaCCodeFunction* _tmp37_;
	ValaCCodeIdentifier* _tmp38_;
	ValaCCodeIdentifier* _tmp39_;
	ValaList* props = NULL;
	ValaClass* _tmp40_;
	ValaList* _tmp41_;
	ValaCCodeFunction* _tmp290_;
	ValaCCodeFunction* _tmp291_;
	ValaCCodeFunction* _tmp292_;
	ValaCCodeFunction* _tmp293_;
	ValaCCodeFunction* _tmp294_;
	ValaCCodeFunction* _tmp295_;
	ValaCCodeFile* _tmp296_;
	ValaCCodeFunction* _tmp297_;
	ValaCCodeFile* _tmp298_;
	ValaCCodeFunction* _tmp299_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (cl != NULL);
	_tmp0_ = cl;
	_tmp1_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp0_, NULL);
	_tmp2_ = _tmp1_;
	_tmp3_ = g_strdup_printf ("_vala_%s_get_property", _tmp2_);
	_tmp4_ = _tmp3_;
	_tmp5_ = vala_ccode_function_new (_tmp4_, "void");
	_tmp6_ = _tmp5_;
	_g_free0 (_tmp4_);
	_g_free0 (_tmp2_);
	get_prop = _tmp6_;
	_tmp7_ = get_prop;
	vala_ccode_node_set_modifiers ((ValaCCodeNode*) _tmp7_, VALA_CCODE_MODIFIERS_STATIC);
	_tmp8_ = get_prop;
	_tmp9_ = vala_ccode_parameter_new ("object", "GObject *");
	_tmp10_ = _tmp9_;
	vala_ccode_function_add_parameter (_tmp8_, _tmp10_);
	_vala_ccode_node_unref0 (_tmp10_);
	_tmp11_ = get_prop;
	_tmp12_ = vala_ccode_parameter_new ("property_id", "guint");
	_tmp13_ = _tmp12_;
	vala_ccode_function_add_parameter (_tmp11_, _tmp13_);
	_vala_ccode_node_unref0 (_tmp13_);
	_tmp14_ = get_prop;
	_tmp15_ = vala_ccode_parameter_new ("value", "GValue *");
	_tmp16_ = _tmp15_;
	vala_ccode_function_add_parameter (_tmp14_, _tmp16_);
	_vala_ccode_node_unref0 (_tmp16_);
	_tmp17_ = get_prop;
	_tmp18_ = vala_ccode_parameter_new ("pspec", "GParamSpec *");
	_tmp19_ = _tmp18_;
	vala_ccode_function_add_parameter (_tmp17_, _tmp19_);
	_vala_ccode_node_unref0 (_tmp19_);
	_tmp20_ = get_prop;
	vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp20_);
	_tmp21_ = vala_ccode_identifier_new ("object");
	_tmp22_ = _tmp21_;
	_tmp23_ = cl;
	_tmp24_ = vala_ccode_base_module_generate_instance_cast ((ValaCCodeBaseModule*) self, (ValaCCodeExpression*) _tmp22_, (ValaTypeSymbol*) _tmp23_);
	_tmp25_ = _tmp24_;
	_vala_ccode_node_unref0 (_tmp22_);
	ccall = _tmp25_;
	_tmp26_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp27_ = _tmp26_;
	_tmp28_ = cl;
	_tmp29_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp28_);
	_tmp30_ = _tmp29_;
	_tmp31_ = g_strdup_printf ("%s *", _tmp30_);
	_tmp32_ = _tmp31_;
	_tmp33_ = ccall;
	_tmp34_ = vala_ccode_variable_declarator_new ("self", (ValaCCodeExpression*) _tmp33_, NULL);
	_tmp35_ = _tmp34_;
	vala_ccode_function_add_declaration (_tmp27_, _tmp32_, (ValaCCodeDeclarator*) _tmp35_, 0);
	_vala_ccode_node_unref0 (_tmp35_);
	_g_free0 (_tmp32_);
	_g_free0 (_tmp30_);
	_tmp36_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp37_ = _tmp36_;
	_tmp38_ = vala_ccode_identifier_new ("property_id");
	_tmp39_ = _tmp38_;
	vala_ccode_function_open_switch (_tmp37_, (ValaCCodeExpression*) _tmp39_);
	_vala_ccode_node_unref0 (_tmp39_);
	_tmp40_ = cl;
	_tmp41_ = vala_object_type_symbol_get_properties ((ValaObjectTypeSymbol*) _tmp40_);
	props = _tmp41_;
	{
		ValaList* _prop_list = NULL;
		ValaList* _tmp42_;
		ValaList* _tmp43_;
		gint _prop_size = 0;
		ValaList* _tmp44_;
		gint _tmp45_;
		gint _tmp46_;
		gint _prop_index = 0;
		_tmp42_ = props;
		_tmp43_ = _vala_iterable_ref0 (_tmp42_);
		_prop_list = _tmp43_;
		_tmp44_ = _prop_list;
		_tmp45_ = vala_collection_get_size ((ValaCollection*) _tmp44_);
		_tmp46_ = _tmp45_;
		_prop_size = _tmp46_;
		_prop_index = -1;
		while (TRUE) {
			gint _tmp47_;
			gint _tmp48_;
			gint _tmp49_;
			ValaProperty* prop = NULL;
			ValaList* _tmp50_;
			gint _tmp51_;
			gpointer _tmp52_;
			gboolean _tmp53_ = FALSE;
			ValaProperty* _tmp54_;
			ValaPropertyAccessor* _tmp55_;
			ValaPropertyAccessor* _tmp56_;
			ValaProperty* _tmp60_;
			gboolean _tmp61_;
			ValaProperty* base_prop = NULL;
			ValaProperty* _tmp62_;
			ValaProperty* _tmp63_;
			ValaCCodeExpression* cself = NULL;
			ValaCCodeIdentifier* _tmp64_;
			ValaProperty* _tmp65_;
			ValaProperty* _tmp66_;
			ValaProperty* _tmp67_;
			ValaCCodeExpression* cfunc = NULL;
			gboolean _tmp129_ = FALSE;
			ValaProperty* _tmp130_;
			gboolean _tmp131_;
			ValaCCodeFunction* _tmp146_;
			ValaCCodeFunction* _tmp147_;
			ValaProperty* _tmp148_;
			gchar* _tmp149_;
			gchar* _tmp150_;
			ValaCCodeIdentifier* _tmp151_;
			ValaCCodeIdentifier* _tmp152_;
			ValaProperty* _tmp153_;
			ValaDataType* _tmp154_;
			ValaDataType* _tmp155_;
			gboolean _tmp156_;
			ValaCCodeFunction* _tmp288_;
			ValaCCodeFunction* _tmp289_;
			_tmp47_ = _prop_index;
			_prop_index = _tmp47_ + 1;
			_tmp48_ = _prop_index;
			_tmp49_ = _prop_size;
			if (!(_tmp48_ < _tmp49_)) {
				break;
			}
			_tmp50_ = _prop_list;
			_tmp51_ = _prop_index;
			_tmp52_ = vala_list_get (_tmp50_, _tmp51_);
			prop = (ValaProperty*) _tmp52_;
			_tmp54_ = prop;
			_tmp55_ = vala_property_get_get_accessor (_tmp54_);
			_tmp56_ = _tmp55_;
			if (_tmp56_ == NULL) {
				_tmp53_ = TRUE;
			} else {
				ValaProperty* _tmp57_;
				gboolean _tmp58_;
				gboolean _tmp59_;
				_tmp57_ = prop;
				_tmp58_ = vala_property_get_is_abstract (_tmp57_);
				_tmp59_ = _tmp58_;
				_tmp53_ = _tmp59_;
			}
			if (_tmp53_) {
				_vala_code_node_unref0 (prop);
				continue;
			}
			_tmp60_ = prop;
			_tmp61_ = vala_ccode_base_module_is_gobject_property ((ValaCCodeBaseModule*) self, _tmp60_);
			if (!_tmp61_) {
				_vala_code_node_unref0 (prop);
				continue;
			}
			_tmp62_ = prop;
			_tmp63_ = _vala_code_node_ref0 (_tmp62_);
			base_prop = _tmp63_;
			_tmp64_ = vala_ccode_identifier_new ("self");
			cself = (ValaCCodeExpression*) _tmp64_;
			_tmp65_ = prop;
			_tmp66_ = vala_property_get_base_property (_tmp65_);
			_tmp67_ = _tmp66_;
			if (_tmp67_ != NULL) {
				ValaClass* base_type = NULL;
				ValaProperty* _tmp68_;
				ValaProperty* _tmp69_;
				ValaProperty* _tmp70_;
				ValaSymbol* _tmp71_;
				ValaSymbol* _tmp72_;
				ValaClass* _tmp73_;
				ValaProperty* _tmp74_;
				ValaProperty* _tmp75_;
				ValaProperty* _tmp76_;
				ValaProperty* _tmp77_;
				ValaClass* _tmp78_;
				ValaObjectType* _tmp79_;
				ValaObjectType* _tmp80_;
				ValaCCodeExpression* _tmp81_;
				ValaGLibValue* _tmp82_;
				ValaGLibValue* _tmp83_;
				ValaClass* _tmp84_;
				ValaObjectType* _tmp85_;
				ValaObjectType* _tmp86_;
				ValaProperty* _tmp87_;
				ValaTargetValue* _tmp88_;
				ValaTargetValue* _tmp89_;
				ValaCCodeExpression* _tmp90_;
				ValaProperty* _tmp91_;
				ValaProperty* _tmp92_;
				ValaProperty* _tmp93_;
				ValaPropertyAccessor* _tmp94_;
				ValaPropertyAccessor* _tmp95_;
				ValaCCodeFile* _tmp96_;
				_tmp68_ = prop;
				_tmp69_ = vala_property_get_base_property (_tmp68_);
				_tmp70_ = _tmp69_;
				_tmp71_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp70_);
				_tmp72_ = _tmp71_;
				_tmp73_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, VALA_TYPE_CLASS, ValaClass));
				base_type = _tmp73_;
				_tmp74_ = prop;
				_tmp75_ = vala_property_get_base_property (_tmp74_);
				_tmp76_ = _tmp75_;
				_tmp77_ = _vala_code_node_ref0 (_tmp76_);
				_vala_code_node_unref0 (base_prop);
				base_prop = _tmp77_;
				_tmp78_ = cl;
				_tmp79_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp78_);
				_tmp80_ = _tmp79_;
				_tmp81_ = cself;
				_tmp82_ = vala_glib_value_new ((ValaDataType*) _tmp80_, _tmp81_, TRUE);
				_tmp83_ = _tmp82_;
				_tmp84_ = base_type;
				_tmp85_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp84_);
				_tmp86_ = _tmp85_;
				_tmp87_ = prop;
				_tmp88_ = vala_ccode_base_module_transform_value ((ValaCCodeBaseModule*) self, (ValaTargetValue*) _tmp83_, (ValaDataType*) _tmp86_, (ValaCodeNode*) _tmp87_);
				_tmp89_ = _tmp88_;
				_tmp90_ = vala_ccode_base_module_get_cvalue_ ((ValaCCodeBaseModule*) self, _tmp89_);
				_vala_ccode_node_unref0 (cself);
				cself = _tmp90_;
				_vala_target_value_unref0 (_tmp89_);
				_vala_code_node_unref0 (_tmp86_);
				_vala_target_value_unref0 (_tmp83_);
				_vala_code_node_unref0 (_tmp80_);
				_tmp91_ = prop;
				_tmp92_ = vala_property_get_base_property (_tmp91_);
				_tmp93_ = _tmp92_;
				_tmp94_ = vala_property_get_get_accessor (_tmp93_);
				_tmp95_ = _tmp94_;
				_tmp96_ = ((ValaCCodeBaseModule*) self)->cfile;
				vala_ccode_base_module_generate_property_accessor_declaration ((ValaCCodeBaseModule*) self, _tmp95_, _tmp96_);
				_vala_code_node_unref0 (base_type);
			} else {
				ValaProperty* _tmp97_;
				ValaProperty* _tmp98_;
				ValaProperty* _tmp99_;
				_tmp97_ = prop;
				_tmp98_ = vala_property_get_base_interface_property (_tmp97_);
				_tmp99_ = _tmp98_;
				if (_tmp99_ != NULL) {
					ValaInterface* base_type = NULL;
					ValaProperty* _tmp100_;
					ValaProperty* _tmp101_;
					ValaProperty* _tmp102_;
					ValaSymbol* _tmp103_;
					ValaSymbol* _tmp104_;
					ValaInterface* _tmp105_;
					ValaProperty* _tmp106_;
					ValaProperty* _tmp107_;
					ValaProperty* _tmp108_;
					ValaProperty* _tmp109_;
					ValaClass* _tmp110_;
					ValaObjectType* _tmp111_;
					ValaObjectType* _tmp112_;
					ValaCCodeExpression* _tmp113_;
					ValaGLibValue* _tmp114_;
					ValaGLibValue* _tmp115_;
					ValaInterface* _tmp116_;
					ValaObjectType* _tmp117_;
					ValaObjectType* _tmp118_;
					ValaProperty* _tmp119_;
					ValaTargetValue* _tmp120_;
					ValaTargetValue* _tmp121_;
					ValaCCodeExpression* _tmp122_;
					ValaProperty* _tmp123_;
					ValaProperty* _tmp124_;
					ValaProperty* _tmp125_;
					ValaPropertyAccessor* _tmp126_;
					ValaPropertyAccessor* _tmp127_;
					ValaCCodeFile* _tmp128_;
					_tmp100_ = prop;
					_tmp101_ = vala_property_get_base_interface_property (_tmp100_);
					_tmp102_ = _tmp101_;
					_tmp103_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp102_);
					_tmp104_ = _tmp103_;
					_tmp105_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp104_, VALA_TYPE_INTERFACE, ValaInterface));
					base_type = _tmp105_;
					_tmp106_ = prop;
					_tmp107_ = vala_property_get_base_interface_property (_tmp106_);
					_tmp108_ = _tmp107_;
					_tmp109_ = _vala_code_node_ref0 (_tmp108_);
					_vala_code_node_unref0 (base_prop);
					base_prop = _tmp109_;
					_tmp110_ = cl;
					_tmp111_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp110_);
					_tmp112_ = _tmp111_;
					_tmp113_ = cself;
					_tmp114_ = vala_glib_value_new ((ValaDataType*) _tmp112_, _tmp113_, TRUE);
					_tmp115_ = _tmp114_;
					_tmp116_ = base_type;
					_tmp117_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp116_);
					_tmp118_ = _tmp117_;
					_tmp119_ = prop;
					_tmp120_ = vala_ccode_base_module_transform_value ((ValaCCodeBaseModule*) self, (ValaTargetValue*) _tmp115_, (ValaDataType*) _tmp118_, (ValaCodeNode*) _tmp119_);
					_tmp121_ = _tmp120_;
					_tmp122_ = vala_ccode_base_module_get_cvalue_ ((ValaCCodeBaseModule*) self, _tmp121_);
					_vala_ccode_node_unref0 (cself);
					cself = _tmp122_;
					_vala_target_value_unref0 (_tmp121_);
					_vala_code_node_unref0 (_tmp118_);
					_vala_target_value_unref0 (_tmp115_);
					_vala_code_node_unref0 (_tmp112_);
					_tmp123_ = prop;
					_tmp124_ = vala_property_get_base_interface_property (_tmp123_);
					_tmp125_ = _tmp124_;
					_tmp126_ = vala_property_get_get_accessor (_tmp125_);
					_tmp127_ = _tmp126_;
					_tmp128_ = ((ValaCCodeBaseModule*) self)->cfile;
					vala_ccode_base_module_generate_property_accessor_declaration ((ValaCCodeBaseModule*) self, _tmp127_, _tmp128_);
					_vala_code_node_unref0 (base_type);
				}
			}
			_tmp130_ = base_prop;
			_tmp131_ = vala_ccode_base_module_get_ccode_no_accessor_method (_tmp130_);
			if (!_tmp131_) {
				ValaProperty* _tmp132_;
				gboolean _tmp133_;
				_tmp132_ = base_prop;
				_tmp133_ = vala_ccode_base_module_get_ccode_concrete_accessor (_tmp132_);
				_tmp129_ = !_tmp133_;
			} else {
				_tmp129_ = FALSE;
			}
			if (_tmp129_) {
				ValaProperty* _tmp134_;
				ValaPropertyAccessor* _tmp135_;
				ValaPropertyAccessor* _tmp136_;
				gchar* _tmp137_;
				gchar* _tmp138_;
				ValaCCodeIdentifier* _tmp139_;
				_tmp134_ = base_prop;
				_tmp135_ = vala_property_get_get_accessor (_tmp134_);
				_tmp136_ = _tmp135_;
				_tmp137_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp136_);
				_tmp138_ = _tmp137_;
				_tmp139_ = vala_ccode_identifier_new (_tmp138_);
				_vala_ccode_node_unref0 (cfunc);
				cfunc = (ValaCCodeExpression*) _tmp139_;
				_g_free0 (_tmp138_);
			} else {
				ValaProperty* _tmp140_;
				ValaPropertyAccessor* _tmp141_;
				ValaPropertyAccessor* _tmp142_;
				gchar* _tmp143_;
				gchar* _tmp144_;
				ValaCCodeIdentifier* _tmp145_;
				_tmp140_ = prop;
				_tmp141_ = vala_property_get_get_accessor (_tmp140_);
				_tmp142_ = _tmp141_;
				_tmp143_ = vala_ccode_base_module_get_ccode_real_name ((ValaSymbol*) _tmp142_);
				_tmp144_ = _tmp143_;
				_tmp145_ = vala_ccode_identifier_new (_tmp144_);
				_vala_ccode_node_unref0 (cfunc);
				cfunc = (ValaCCodeExpression*) _tmp145_;
				_g_free0 (_tmp144_);
			}
			_tmp146_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp147_ = _tmp146_;
			_tmp148_ = prop;
			_tmp149_ = vala_ccode_base_module_get_ccode_upper_case_name ((ValaSymbol*) _tmp148_, NULL);
			_tmp150_ = _tmp149_;
			_tmp151_ = vala_ccode_identifier_new (_tmp150_);
			_tmp152_ = _tmp151_;
			vala_ccode_function_add_case (_tmp147_, (ValaCCodeExpression*) _tmp152_);
			_vala_ccode_node_unref0 (_tmp152_);
			_g_free0 (_tmp150_);
			_tmp153_ = prop;
			_tmp154_ = vala_property_get_property_type (_tmp153_);
			_tmp155_ = _tmp154_;
			_tmp156_ = vala_data_type_is_real_struct_type (_tmp155_);
			if (_tmp156_) {
				ValaStruct* st = NULL;
				ValaProperty* _tmp157_;
				ValaDataType* _tmp158_;
				ValaDataType* _tmp159_;
				ValaTypeSymbol* _tmp160_;
				ValaTypeSymbol* _tmp161_;
				ValaStruct* _tmp162_;
				ValaCCodeFunction* _tmp163_;
				ValaCCodeFunction* _tmp164_;
				ValaCCodeFunction* _tmp165_;
				ValaCCodeFunction* _tmp166_;
				ValaStruct* _tmp167_;
				gchar* _tmp168_;
				gchar* _tmp169_;
				ValaCCodeVariableDeclarator* _tmp170_;
				ValaCCodeVariableDeclarator* _tmp171_;
				ValaCCodeExpression* _tmp172_;
				ValaCCodeFunctionCall* _tmp173_;
				ValaCCodeFunctionCall* _tmp174_;
				ValaCCodeExpression* _tmp175_;
				ValaCCodeUnaryExpression* boxed_addr = NULL;
				ValaCCodeIdentifier* _tmp176_;
				ValaCCodeIdentifier* _tmp177_;
				ValaCCodeUnaryExpression* _tmp178_;
				ValaCCodeUnaryExpression* _tmp179_;
				ValaCCodeFunctionCall* _tmp180_;
				ValaCCodeUnaryExpression* _tmp181_;
				ValaCCodeFunction* _tmp182_;
				ValaCCodeFunction* _tmp183_;
				ValaCCodeFunctionCall* _tmp184_;
				ValaCCodeFunctionCall* csetcall = NULL;
				ValaCCodeFunctionCall* _tmp185_;
				ValaCCodeFunctionCall* _tmp186_;
				ValaProperty* _tmp187_;
				ValaDataType* _tmp188_;
				ValaDataType* _tmp189_;
				ValaCCodeIdentifier* _tmp190_;
				ValaCCodeIdentifier* _tmp191_;
				ValaCCodeFunctionCall* _tmp192_;
				ValaCCodeIdentifier* _tmp193_;
				ValaCCodeIdentifier* _tmp194_;
				ValaCCodeFunctionCall* _tmp195_;
				ValaCCodeUnaryExpression* _tmp196_;
				ValaProperty* _tmp197_;
				ValaCCodeFunctionCall* _tmp198_;
				ValaProperty* _tmp199_;
				ValaPropertyAccessor* _tmp200_;
				ValaPropertyAccessor* _tmp201_;
				ValaDataType* _tmp202_;
				ValaDataType* _tmp203_;
				gboolean _tmp204_;
				ValaCCodeFunction* _tmp218_;
				ValaCCodeFunction* _tmp219_;
				_tmp157_ = prop;
				_tmp158_ = vala_property_get_property_type (_tmp157_);
				_tmp159_ = _tmp158_;
				_tmp160_ = vala_data_type_get_data_type (_tmp159_);
				_tmp161_ = _tmp160_;
				_tmp162_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp161_, VALA_TYPE_STRUCT) ? ((ValaStruct*) _tmp161_) : NULL);
				st = _tmp162_;
				_tmp163_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp164_ = _tmp163_;
				vala_ccode_function_open_block (_tmp164_);
				_tmp165_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp166_ = _tmp165_;
				_tmp167_ = st;
				_tmp168_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp167_);
				_tmp169_ = _tmp168_;
				_tmp170_ = vala_ccode_variable_declarator_new ("boxed", NULL, NULL);
				_tmp171_ = _tmp170_;
				vala_ccode_function_add_declaration (_tmp166_, _tmp169_, (ValaCCodeDeclarator*) _tmp171_, 0);
				_vala_ccode_node_unref0 (_tmp171_);
				_g_free0 (_tmp169_);
				_tmp172_ = cfunc;
				_tmp173_ = vala_ccode_function_call_new (_tmp172_);
				_vala_ccode_node_unref0 (ccall);
				ccall = _tmp173_;
				_tmp174_ = ccall;
				_tmp175_ = cself;
				vala_ccode_function_call_add_argument (_tmp174_, _tmp175_);
				_tmp176_ = vala_ccode_identifier_new ("boxed");
				_tmp177_ = _tmp176_;
				_tmp178_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp177_);
				_tmp179_ = _tmp178_;
				_vala_ccode_node_unref0 (_tmp177_);
				boxed_addr = _tmp179_;
				_tmp180_ = ccall;
				_tmp181_ = boxed_addr;
				vala_ccode_function_call_add_argument (_tmp180_, (ValaCCodeExpression*) _tmp181_);
				_tmp182_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp183_ = _tmp182_;
				_tmp184_ = ccall;
				vala_ccode_function_add_expression (_tmp183_, (ValaCCodeExpression*) _tmp184_);
				_tmp185_ = vala_ccode_function_call_new (NULL);
				csetcall = _tmp185_;
				_tmp186_ = csetcall;
				_tmp187_ = prop;
				_tmp188_ = vala_property_get_property_type (_tmp187_);
				_tmp189_ = _tmp188_;
				_tmp190_ = vala_ccode_base_module_get_value_setter_function ((ValaCCodeBaseModule*) self, _tmp189_);
				_tmp191_ = _tmp190_;
				vala_ccode_function_call_set_call (_tmp186_, (ValaCCodeExpression*) _tmp191_);
				_vala_ccode_node_unref0 (_tmp191_);
				_tmp192_ = csetcall;
				_tmp193_ = vala_ccode_identifier_new ("value");
				_tmp194_ = _tmp193_;
				vala_ccode_function_call_add_argument (_tmp192_, (ValaCCodeExpression*) _tmp194_);
				_vala_ccode_node_unref0 (_tmp194_);
				_tmp195_ = csetcall;
				_tmp196_ = boxed_addr;
				vala_ccode_function_call_add_argument (_tmp195_, (ValaCCodeExpression*) _tmp196_);
				_tmp197_ = prop;
				_tmp198_ = csetcall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp197_, (ValaCCodeExpression*) _tmp198_);
				_tmp199_ = prop;
				_tmp200_ = vala_property_get_get_accessor (_tmp199_);
				_tmp201_ = _tmp200_;
				_tmp202_ = vala_property_accessor_get_value_type (_tmp201_);
				_tmp203_ = _tmp202_;
				_tmp204_ = vala_ccode_base_module_requires_destroy ((ValaCCodeBaseModule*) self, _tmp203_);
				if (_tmp204_) {
					ValaCCodeFunction* _tmp205_;
					ValaCCodeFunction* _tmp206_;
					ValaProperty* _tmp207_;
					ValaPropertyAccessor* _tmp208_;
					ValaPropertyAccessor* _tmp209_;
					ValaDataType* _tmp210_;
					ValaDataType* _tmp211_;
					ValaCCodeIdentifier* _tmp212_;
					ValaCCodeIdentifier* _tmp213_;
					ValaGLibValue* _tmp214_;
					ValaGLibValue* _tmp215_;
					ValaCCodeExpression* _tmp216_;
					ValaCCodeExpression* _tmp217_;
					_tmp205_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp206_ = _tmp205_;
					_tmp207_ = prop;
					_tmp208_ = vala_property_get_get_accessor (_tmp207_);
					_tmp209_ = _tmp208_;
					_tmp210_ = vala_property_accessor_get_value_type (_tmp209_);
					_tmp211_ = _tmp210_;
					_tmp212_ = vala_ccode_identifier_new ("boxed");
					_tmp213_ = _tmp212_;
					_tmp214_ = vala_glib_value_new (_tmp211_, (ValaCCodeExpression*) _tmp213_, TRUE);
					_tmp215_ = _tmp214_;
					_tmp216_ = vala_ccode_base_module_destroy_value ((ValaCCodeBaseModule*) self, (ValaTargetValue*) _tmp215_, FALSE);
					_tmp217_ = _tmp216_;
					vala_ccode_function_add_expression (_tmp206_, _tmp217_);
					_vala_ccode_node_unref0 (_tmp217_);
					_vala_target_value_unref0 (_tmp215_);
					_vala_ccode_node_unref0 (_tmp213_);
				}
				_tmp218_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp219_ = _tmp218_;
				vala_ccode_function_close (_tmp219_);
				_vala_ccode_node_unref0 (csetcall);
				_vala_ccode_node_unref0 (boxed_addr);
				_vala_code_node_unref0 (st);
			} else {
				ValaCCodeExpression* _tmp220_;
				ValaCCodeFunctionCall* _tmp221_;
				ValaCCodeFunctionCall* _tmp222_;
				ValaCCodeExpression* _tmp223_;
				ValaArrayType* array_type = NULL;
				ValaProperty* _tmp224_;
				ValaDataType* _tmp225_;
				ValaDataType* _tmp226_;
				ValaArrayType* _tmp227_;
				gboolean _tmp228_ = FALSE;
				ValaArrayType* _tmp229_;
				ValaCCodeFunctionCall* csetcall = NULL;
				ValaCCodeFunctionCall* _tmp249_;
				ValaProperty* _tmp250_;
				ValaPropertyAccessor* _tmp251_;
				ValaPropertyAccessor* _tmp252_;
				ValaDataType* _tmp253_;
				ValaDataType* _tmp254_;
				gboolean _tmp255_;
				gboolean _tmp256_;
				ValaCCodeFunctionCall* _tmp269_;
				ValaCCodeIdentifier* _tmp270_;
				ValaCCodeIdentifier* _tmp271_;
				ValaCCodeFunctionCall* _tmp272_;
				ValaCCodeFunctionCall* _tmp273_;
				ValaProperty* _tmp274_;
				ValaCCodeFunctionCall* _tmp275_;
				gboolean _tmp276_ = FALSE;
				ValaArrayType* _tmp277_;
				_tmp220_ = cfunc;
				_tmp221_ = vala_ccode_function_call_new (_tmp220_);
				_vala_ccode_node_unref0 (ccall);
				ccall = _tmp221_;
				_tmp222_ = ccall;
				_tmp223_ = cself;
				vala_ccode_function_call_add_argument (_tmp222_, _tmp223_);
				_tmp224_ = prop;
				_tmp225_ = vala_property_get_property_type (_tmp224_);
				_tmp226_ = _tmp225_;
				_tmp227_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp226_, VALA_TYPE_ARRAY_TYPE) ? ((ValaArrayType*) _tmp226_) : NULL);
				array_type = _tmp227_;
				_tmp229_ = array_type;
				if (_tmp229_ != NULL) {
					ValaArrayType* _tmp230_;
					ValaDataType* _tmp231_;
					ValaDataType* _tmp232_;
					ValaTypeSymbol* _tmp233_;
					ValaTypeSymbol* _tmp234_;
					ValaDataType* _tmp235_;
					ValaTypeSymbol* _tmp236_;
					ValaTypeSymbol* _tmp237_;
					_tmp230_ = array_type;
					_tmp231_ = vala_array_type_get_element_type (_tmp230_);
					_tmp232_ = _tmp231_;
					_tmp233_ = vala_data_type_get_data_type (_tmp232_);
					_tmp234_ = _tmp233_;
					_tmp235_ = ((ValaCCodeBaseModule*) self)->string_type;
					_tmp236_ = vala_data_type_get_data_type (_tmp235_);
					_tmp237_ = _tmp236_;
					_tmp228_ = _tmp234_ == _tmp237_;
				} else {
					_tmp228_ = FALSE;
				}
				if (_tmp228_) {
					ValaCCodeFunction* _tmp238_;
					ValaCCodeFunction* _tmp239_;
					ValaCCodeFunction* _tmp240_;
					ValaCCodeFunction* _tmp241_;
					ValaCCodeVariableDeclarator* _tmp242_;
					ValaCCodeVariableDeclarator* _tmp243_;
					ValaCCodeFunctionCall* _tmp244_;
					ValaCCodeIdentifier* _tmp245_;
					ValaCCodeIdentifier* _tmp246_;
					ValaCCodeUnaryExpression* _tmp247_;
					ValaCCodeUnaryExpression* _tmp248_;
					_tmp238_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp239_ = _tmp238_;
					vala_ccode_function_open_block (_tmp239_);
					_tmp240_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp241_ = _tmp240_;
					_tmp242_ = vala_ccode_variable_declarator_new ("length", NULL, NULL);
					_tmp243_ = _tmp242_;
					vala_ccode_function_add_declaration (_tmp241_, "int", (ValaCCodeDeclarator*) _tmp243_, 0);
					_vala_ccode_node_unref0 (_tmp243_);
					_tmp244_ = ccall;
					_tmp245_ = vala_ccode_identifier_new ("length");
					_tmp246_ = _tmp245_;
					_tmp247_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp246_);
					_tmp248_ = _tmp247_;
					vala_ccode_function_call_add_argument (_tmp244_, (ValaCCodeExpression*) _tmp248_);
					_vala_ccode_node_unref0 (_tmp248_);
					_vala_ccode_node_unref0 (_tmp246_);
				}
				_tmp249_ = vala_ccode_function_call_new (NULL);
				csetcall = _tmp249_;
				_tmp250_ = prop;
				_tmp251_ = vala_property_get_get_accessor (_tmp250_);
				_tmp252_ = _tmp251_;
				_tmp253_ = vala_property_accessor_get_value_type (_tmp252_);
				_tmp254_ = _tmp253_;
				_tmp255_ = vala_data_type_get_value_owned (_tmp254_);
				_tmp256_ = _tmp255_;
				if (_tmp256_) {
					ValaCCodeFunctionCall* _tmp257_;
					ValaProperty* _tmp258_;
					ValaDataType* _tmp259_;
					ValaDataType* _tmp260_;
					ValaCCodeIdentifier* _tmp261_;
					ValaCCodeIdentifier* _tmp262_;
					_tmp257_ = csetcall;
					_tmp258_ = prop;
					_tmp259_ = vala_property_get_property_type (_tmp258_);
					_tmp260_ = _tmp259_;
					_tmp261_ = vala_ccode_base_module_get_value_taker_function ((ValaCCodeBaseModule*) self, _tmp260_);
					_tmp262_ = _tmp261_;
					vala_ccode_function_call_set_call (_tmp257_, (ValaCCodeExpression*) _tmp262_);
					_vala_ccode_node_unref0 (_tmp262_);
				} else {
					ValaCCodeFunctionCall* _tmp263_;
					ValaProperty* _tmp264_;
					ValaDataType* _tmp265_;
					ValaDataType* _tmp266_;
					ValaCCodeIdentifier* _tmp267_;
					ValaCCodeIdentifier* _tmp268_;
					_tmp263_ = csetcall;
					_tmp264_ = prop;
					_tmp265_ = vala_property_get_property_type (_tmp264_);
					_tmp266_ = _tmp265_;
					_tmp267_ = vala_ccode_base_module_get_value_setter_function ((ValaCCodeBaseModule*) self, _tmp266_);
					_tmp268_ = _tmp267_;
					vala_ccode_function_call_set_call (_tmp263_, (ValaCCodeExpression*) _tmp268_);
					_vala_ccode_node_unref0 (_tmp268_);
				}
				_tmp269_ = csetcall;
				_tmp270_ = vala_ccode_identifier_new ("value");
				_tmp271_ = _tmp270_;
				vala_ccode_function_call_add_argument (_tmp269_, (ValaCCodeExpression*) _tmp271_);
				_vala_ccode_node_unref0 (_tmp271_);
				_tmp272_ = csetcall;
				_tmp273_ = ccall;
				vala_ccode_function_call_add_argument (_tmp272_, (ValaCCodeExpression*) _tmp273_);
				_tmp274_ = prop;
				_tmp275_ = csetcall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp274_, (ValaCCodeExpression*) _tmp275_);
				_tmp277_ = array_type;
				if (_tmp277_ != NULL) {
					ValaArrayType* _tmp278_;
					ValaDataType* _tmp279_;
					ValaDataType* _tmp280_;
					ValaTypeSymbol* _tmp281_;
					ValaTypeSymbol* _tmp282_;
					ValaDataType* _tmp283_;
					ValaTypeSymbol* _tmp284_;
					ValaTypeSymbol* _tmp285_;
					_tmp278_ = array_type;
					_tmp279_ = vala_array_type_get_element_type (_tmp278_);
					_tmp280_ = _tmp279_;
					_tmp281_ = vala_data_type_get_data_type (_tmp280_);
					_tmp282_ = _tmp281_;
					_tmp283_ = ((ValaCCodeBaseModule*) self)->string_type;
					_tmp284_ = vala_data_type_get_data_type (_tmp283_);
					_tmp285_ = _tmp284_;
					_tmp276_ = _tmp282_ == _tmp285_;
				} else {
					_tmp276_ = FALSE;
				}
				if (_tmp276_) {
					ValaCCodeFunction* _tmp286_;
					ValaCCodeFunction* _tmp287_;
					_tmp286_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp287_ = _tmp286_;
					vala_ccode_function_close (_tmp287_);
				}
				_vala_ccode_node_unref0 (csetcall);
				_vala_code_node_unref0 (array_type);
			}
			_tmp288_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp289_ = _tmp288_;
			vala_ccode_function_add_break (_tmp289_);
			_vala_ccode_node_unref0 (cfunc);
			_vala_ccode_node_unref0 (cself);
			_vala_code_node_unref0 (base_prop);
			_vala_code_node_unref0 (prop);
		}
		_vala_iterable_unref0 (_prop_list);
	}
	_tmp290_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp291_ = _tmp290_;
	vala_ccode_function_add_default (_tmp291_);
	vala_gobject_module_emit_invalid_property_id_warn (self);
	_tmp292_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp293_ = _tmp292_;
	vala_ccode_function_add_break (_tmp293_);
	_tmp294_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp295_ = _tmp294_;
	vala_ccode_function_close (_tmp295_);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp296_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp297_ = get_prop;
	vala_ccode_file_add_function_declaration (_tmp296_, _tmp297_);
	_tmp298_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp299_ = get_prop;
	vala_ccode_file_add_function (_tmp298_, _tmp299_);
	_vala_iterable_unref0 (props);
	_vala_ccode_node_unref0 (ccall);
	_vala_ccode_node_unref0 (get_prop);
}


static void vala_gobject_module_add_set_property_function (ValaGObjectModule* self, ValaClass* cl) {
	ValaCCodeFunction* set_prop = NULL;
	ValaClass* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	ValaCCodeFunction* _tmp5_;
	ValaCCodeFunction* _tmp6_;
	ValaCCodeFunction* _tmp7_;
	ValaCCodeFunction* _tmp8_;
	ValaCCodeParameter* _tmp9_;
	ValaCCodeParameter* _tmp10_;
	ValaCCodeFunction* _tmp11_;
	ValaCCodeParameter* _tmp12_;
	ValaCCodeParameter* _tmp13_;
	ValaCCodeFunction* _tmp14_;
	ValaCCodeParameter* _tmp15_;
	ValaCCodeParameter* _tmp16_;
	ValaCCodeFunction* _tmp17_;
	ValaCCodeParameter* _tmp18_;
	ValaCCodeParameter* _tmp19_;
	ValaCCodeFunction* _tmp20_;
	ValaCCodeFunctionCall* ccall = NULL;
	ValaCCodeIdentifier* _tmp21_;
	ValaCCodeIdentifier* _tmp22_;
	ValaClass* _tmp23_;
	ValaCCodeFunctionCall* _tmp24_;
	ValaCCodeFunctionCall* _tmp25_;
	ValaCCodeFunction* _tmp26_;
	ValaCCodeFunction* _tmp27_;
	ValaClass* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	ValaCCodeFunctionCall* _tmp33_;
	ValaCCodeVariableDeclarator* _tmp34_;
	ValaCCodeVariableDeclarator* _tmp35_;
	ValaCCodeFunction* _tmp36_;
	ValaCCodeFunction* _tmp37_;
	ValaCCodeIdentifier* _tmp38_;
	ValaCCodeIdentifier* _tmp39_;
	ValaList* props = NULL;
	ValaClass* _tmp40_;
	ValaList* _tmp41_;
	ValaCCodeFunction* _tmp364_;
	ValaCCodeFunction* _tmp365_;
	ValaCCodeFunction* _tmp366_;
	ValaCCodeFunction* _tmp367_;
	ValaCCodeFunction* _tmp368_;
	ValaCCodeFunction* _tmp369_;
	ValaCCodeFile* _tmp370_;
	ValaCCodeFunction* _tmp371_;
	ValaCCodeFile* _tmp372_;
	ValaCCodeFunction* _tmp373_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (cl != NULL);
	_tmp0_ = cl;
	_tmp1_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp0_, NULL);
	_tmp2_ = _tmp1_;
	_tmp3_ = g_strdup_printf ("_vala_%s_set_property", _tmp2_);
	_tmp4_ = _tmp3_;
	_tmp5_ = vala_ccode_function_new (_tmp4_, "void");
	_tmp6_ = _tmp5_;
	_g_free0 (_tmp4_);
	_g_free0 (_tmp2_);
	set_prop = _tmp6_;
	_tmp7_ = set_prop;
	vala_ccode_node_set_modifiers ((ValaCCodeNode*) _tmp7_, VALA_CCODE_MODIFIERS_STATIC);
	_tmp8_ = set_prop;
	_tmp9_ = vala_ccode_parameter_new ("object", "GObject *");
	_tmp10_ = _tmp9_;
	vala_ccode_function_add_parameter (_tmp8_, _tmp10_);
	_vala_ccode_node_unref0 (_tmp10_);
	_tmp11_ = set_prop;
	_tmp12_ = vala_ccode_parameter_new ("property_id", "guint");
	_tmp13_ = _tmp12_;
	vala_ccode_function_add_parameter (_tmp11_, _tmp13_);
	_vala_ccode_node_unref0 (_tmp13_);
	_tmp14_ = set_prop;
	_tmp15_ = vala_ccode_parameter_new ("value", "const GValue *");
	_tmp16_ = _tmp15_;
	vala_ccode_function_add_parameter (_tmp14_, _tmp16_);
	_vala_ccode_node_unref0 (_tmp16_);
	_tmp17_ = set_prop;
	_tmp18_ = vala_ccode_parameter_new ("pspec", "GParamSpec *");
	_tmp19_ = _tmp18_;
	vala_ccode_function_add_parameter (_tmp17_, _tmp19_);
	_vala_ccode_node_unref0 (_tmp19_);
	_tmp20_ = set_prop;
	vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp20_);
	_tmp21_ = vala_ccode_identifier_new ("object");
	_tmp22_ = _tmp21_;
	_tmp23_ = cl;
	_tmp24_ = vala_ccode_base_module_generate_instance_cast ((ValaCCodeBaseModule*) self, (ValaCCodeExpression*) _tmp22_, (ValaTypeSymbol*) _tmp23_);
	_tmp25_ = _tmp24_;
	_vala_ccode_node_unref0 (_tmp22_);
	ccall = _tmp25_;
	_tmp26_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp27_ = _tmp26_;
	_tmp28_ = cl;
	_tmp29_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp28_);
	_tmp30_ = _tmp29_;
	_tmp31_ = g_strdup_printf ("%s *", _tmp30_);
	_tmp32_ = _tmp31_;
	_tmp33_ = ccall;
	_tmp34_ = vala_ccode_variable_declarator_new ("self", (ValaCCodeExpression*) _tmp33_, NULL);
	_tmp35_ = _tmp34_;
	vala_ccode_function_add_declaration (_tmp27_, _tmp32_, (ValaCCodeDeclarator*) _tmp35_, 0);
	_vala_ccode_node_unref0 (_tmp35_);
	_g_free0 (_tmp32_);
	_g_free0 (_tmp30_);
	_tmp36_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp37_ = _tmp36_;
	_tmp38_ = vala_ccode_identifier_new ("property_id");
	_tmp39_ = _tmp38_;
	vala_ccode_function_open_switch (_tmp37_, (ValaCCodeExpression*) _tmp39_);
	_vala_ccode_node_unref0 (_tmp39_);
	_tmp40_ = cl;
	_tmp41_ = vala_object_type_symbol_get_properties ((ValaObjectTypeSymbol*) _tmp40_);
	props = _tmp41_;
	{
		ValaList* _prop_list = NULL;
		ValaList* _tmp42_;
		ValaList* _tmp43_;
		gint _prop_size = 0;
		ValaList* _tmp44_;
		gint _tmp45_;
		gint _tmp46_;
		gint _prop_index = 0;
		_tmp42_ = props;
		_tmp43_ = _vala_iterable_ref0 (_tmp42_);
		_prop_list = _tmp43_;
		_tmp44_ = _prop_list;
		_tmp45_ = vala_collection_get_size ((ValaCollection*) _tmp44_);
		_tmp46_ = _tmp45_;
		_prop_size = _tmp46_;
		_prop_index = -1;
		while (TRUE) {
			gint _tmp47_;
			gint _tmp48_;
			gint _tmp49_;
			ValaProperty* prop = NULL;
			ValaList* _tmp50_;
			gint _tmp51_;
			gpointer _tmp52_;
			gboolean _tmp53_ = FALSE;
			ValaProperty* _tmp54_;
			ValaPropertyAccessor* _tmp55_;
			ValaPropertyAccessor* _tmp56_;
			ValaProperty* _tmp60_;
			gboolean _tmp61_;
			ValaProperty* base_prop = NULL;
			ValaProperty* _tmp62_;
			ValaProperty* _tmp63_;
			ValaCCodeExpression* cself = NULL;
			ValaCCodeIdentifier* _tmp64_;
			ValaProperty* _tmp65_;
			ValaProperty* _tmp66_;
			ValaProperty* _tmp67_;
			ValaCCodeExpression* cfunc = NULL;
			gboolean _tmp129_ = FALSE;
			ValaProperty* _tmp130_;
			gboolean _tmp131_;
			ValaCCodeFunction* _tmp146_;
			ValaCCodeFunction* _tmp147_;
			ValaProperty* _tmp148_;
			gchar* _tmp149_;
			gchar* _tmp150_;
			ValaCCodeIdentifier* _tmp151_;
			ValaCCodeIdentifier* _tmp152_;
			ValaCCodeExpression* _tmp153_;
			ValaCCodeFunctionCall* _tmp154_;
			ValaCCodeFunctionCall* _tmp155_;
			ValaCCodeExpression* _tmp156_;
			gboolean _tmp157_ = FALSE;
			ValaProperty* _tmp158_;
			ValaDataType* _tmp159_;
			ValaDataType* _tmp160_;
			ValaCCodeFunction* _tmp243_;
			ValaCCodeFunction* _tmp244_;
			_tmp47_ = _prop_index;
			_prop_index = _tmp47_ + 1;
			_tmp48_ = _prop_index;
			_tmp49_ = _prop_size;
			if (!(_tmp48_ < _tmp49_)) {
				break;
			}
			_tmp50_ = _prop_list;
			_tmp51_ = _prop_index;
			_tmp52_ = vala_list_get (_tmp50_, _tmp51_);
			prop = (ValaProperty*) _tmp52_;
			_tmp54_ = prop;
			_tmp55_ = vala_property_get_set_accessor (_tmp54_);
			_tmp56_ = _tmp55_;
			if (_tmp56_ == NULL) {
				_tmp53_ = TRUE;
			} else {
				ValaProperty* _tmp57_;
				gboolean _tmp58_;
				gboolean _tmp59_;
				_tmp57_ = prop;
				_tmp58_ = vala_property_get_is_abstract (_tmp57_);
				_tmp59_ = _tmp58_;
				_tmp53_ = _tmp59_;
			}
			if (_tmp53_) {
				_vala_code_node_unref0 (prop);
				continue;
			}
			_tmp60_ = prop;
			_tmp61_ = vala_ccode_base_module_is_gobject_property ((ValaCCodeBaseModule*) self, _tmp60_);
			if (!_tmp61_) {
				_vala_code_node_unref0 (prop);
				continue;
			}
			_tmp62_ = prop;
			_tmp63_ = _vala_code_node_ref0 (_tmp62_);
			base_prop = _tmp63_;
			_tmp64_ = vala_ccode_identifier_new ("self");
			cself = (ValaCCodeExpression*) _tmp64_;
			_tmp65_ = prop;
			_tmp66_ = vala_property_get_base_property (_tmp65_);
			_tmp67_ = _tmp66_;
			if (_tmp67_ != NULL) {
				ValaClass* base_type = NULL;
				ValaProperty* _tmp68_;
				ValaProperty* _tmp69_;
				ValaProperty* _tmp70_;
				ValaSymbol* _tmp71_;
				ValaSymbol* _tmp72_;
				ValaClass* _tmp73_;
				ValaProperty* _tmp74_;
				ValaProperty* _tmp75_;
				ValaProperty* _tmp76_;
				ValaProperty* _tmp77_;
				ValaClass* _tmp78_;
				ValaObjectType* _tmp79_;
				ValaObjectType* _tmp80_;
				ValaCCodeExpression* _tmp81_;
				ValaGLibValue* _tmp82_;
				ValaGLibValue* _tmp83_;
				ValaClass* _tmp84_;
				ValaObjectType* _tmp85_;
				ValaObjectType* _tmp86_;
				ValaProperty* _tmp87_;
				ValaTargetValue* _tmp88_;
				ValaTargetValue* _tmp89_;
				ValaCCodeExpression* _tmp90_;
				ValaProperty* _tmp91_;
				ValaProperty* _tmp92_;
				ValaProperty* _tmp93_;
				ValaPropertyAccessor* _tmp94_;
				ValaPropertyAccessor* _tmp95_;
				ValaCCodeFile* _tmp96_;
				_tmp68_ = prop;
				_tmp69_ = vala_property_get_base_property (_tmp68_);
				_tmp70_ = _tmp69_;
				_tmp71_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp70_);
				_tmp72_ = _tmp71_;
				_tmp73_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, VALA_TYPE_CLASS, ValaClass));
				base_type = _tmp73_;
				_tmp74_ = prop;
				_tmp75_ = vala_property_get_base_property (_tmp74_);
				_tmp76_ = _tmp75_;
				_tmp77_ = _vala_code_node_ref0 (_tmp76_);
				_vala_code_node_unref0 (base_prop);
				base_prop = _tmp77_;
				_tmp78_ = cl;
				_tmp79_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp78_);
				_tmp80_ = _tmp79_;
				_tmp81_ = cself;
				_tmp82_ = vala_glib_value_new ((ValaDataType*) _tmp80_, _tmp81_, TRUE);
				_tmp83_ = _tmp82_;
				_tmp84_ = base_type;
				_tmp85_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp84_);
				_tmp86_ = _tmp85_;
				_tmp87_ = prop;
				_tmp88_ = vala_ccode_base_module_transform_value ((ValaCCodeBaseModule*) self, (ValaTargetValue*) _tmp83_, (ValaDataType*) _tmp86_, (ValaCodeNode*) _tmp87_);
				_tmp89_ = _tmp88_;
				_tmp90_ = vala_ccode_base_module_get_cvalue_ ((ValaCCodeBaseModule*) self, _tmp89_);
				_vala_ccode_node_unref0 (cself);
				cself = _tmp90_;
				_vala_target_value_unref0 (_tmp89_);
				_vala_code_node_unref0 (_tmp86_);
				_vala_target_value_unref0 (_tmp83_);
				_vala_code_node_unref0 (_tmp80_);
				_tmp91_ = prop;
				_tmp92_ = vala_property_get_base_property (_tmp91_);
				_tmp93_ = _tmp92_;
				_tmp94_ = vala_property_get_set_accessor (_tmp93_);
				_tmp95_ = _tmp94_;
				_tmp96_ = ((ValaCCodeBaseModule*) self)->cfile;
				vala_ccode_base_module_generate_property_accessor_declaration ((ValaCCodeBaseModule*) self, _tmp95_, _tmp96_);
				_vala_code_node_unref0 (base_type);
			} else {
				ValaProperty* _tmp97_;
				ValaProperty* _tmp98_;
				ValaProperty* _tmp99_;
				_tmp97_ = prop;
				_tmp98_ = vala_property_get_base_interface_property (_tmp97_);
				_tmp99_ = _tmp98_;
				if (_tmp99_ != NULL) {
					ValaInterface* base_type = NULL;
					ValaProperty* _tmp100_;
					ValaProperty* _tmp101_;
					ValaProperty* _tmp102_;
					ValaSymbol* _tmp103_;
					ValaSymbol* _tmp104_;
					ValaInterface* _tmp105_;
					ValaProperty* _tmp106_;
					ValaProperty* _tmp107_;
					ValaProperty* _tmp108_;
					ValaProperty* _tmp109_;
					ValaClass* _tmp110_;
					ValaObjectType* _tmp111_;
					ValaObjectType* _tmp112_;
					ValaCCodeExpression* _tmp113_;
					ValaGLibValue* _tmp114_;
					ValaGLibValue* _tmp115_;
					ValaInterface* _tmp116_;
					ValaObjectType* _tmp117_;
					ValaObjectType* _tmp118_;
					ValaProperty* _tmp119_;
					ValaTargetValue* _tmp120_;
					ValaTargetValue* _tmp121_;
					ValaCCodeExpression* _tmp122_;
					ValaProperty* _tmp123_;
					ValaProperty* _tmp124_;
					ValaProperty* _tmp125_;
					ValaPropertyAccessor* _tmp126_;
					ValaPropertyAccessor* _tmp127_;
					ValaCCodeFile* _tmp128_;
					_tmp100_ = prop;
					_tmp101_ = vala_property_get_base_interface_property (_tmp100_);
					_tmp102_ = _tmp101_;
					_tmp103_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp102_);
					_tmp104_ = _tmp103_;
					_tmp105_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp104_, VALA_TYPE_INTERFACE, ValaInterface));
					base_type = _tmp105_;
					_tmp106_ = prop;
					_tmp107_ = vala_property_get_base_interface_property (_tmp106_);
					_tmp108_ = _tmp107_;
					_tmp109_ = _vala_code_node_ref0 (_tmp108_);
					_vala_code_node_unref0 (base_prop);
					base_prop = _tmp109_;
					_tmp110_ = cl;
					_tmp111_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp110_);
					_tmp112_ = _tmp111_;
					_tmp113_ = cself;
					_tmp114_ = vala_glib_value_new ((ValaDataType*) _tmp112_, _tmp113_, TRUE);
					_tmp115_ = _tmp114_;
					_tmp116_ = base_type;
					_tmp117_ = vala_object_type_new ((ValaObjectTypeSymbol*) _tmp116_);
					_tmp118_ = _tmp117_;
					_tmp119_ = prop;
					_tmp120_ = vala_ccode_base_module_transform_value ((ValaCCodeBaseModule*) self, (ValaTargetValue*) _tmp115_, (ValaDataType*) _tmp118_, (ValaCodeNode*) _tmp119_);
					_tmp121_ = _tmp120_;
					_tmp122_ = vala_ccode_base_module_get_cvalue_ ((ValaCCodeBaseModule*) self, _tmp121_);
					_vala_ccode_node_unref0 (cself);
					cself = _tmp122_;
					_vala_target_value_unref0 (_tmp121_);
					_vala_code_node_unref0 (_tmp118_);
					_vala_target_value_unref0 (_tmp115_);
					_vala_code_node_unref0 (_tmp112_);
					_tmp123_ = prop;
					_tmp124_ = vala_property_get_base_interface_property (_tmp123_);
					_tmp125_ = _tmp124_;
					_tmp126_ = vala_property_get_set_accessor (_tmp125_);
					_tmp127_ = _tmp126_;
					_tmp128_ = ((ValaCCodeBaseModule*) self)->cfile;
					vala_ccode_base_module_generate_property_accessor_declaration ((ValaCCodeBaseModule*) self, _tmp127_, _tmp128_);
					_vala_code_node_unref0 (base_type);
				}
			}
			_tmp130_ = base_prop;
			_tmp131_ = vala_ccode_base_module_get_ccode_no_accessor_method (_tmp130_);
			if (!_tmp131_) {
				ValaProperty* _tmp132_;
				gboolean _tmp133_;
				_tmp132_ = base_prop;
				_tmp133_ = vala_ccode_base_module_get_ccode_concrete_accessor (_tmp132_);
				_tmp129_ = !_tmp133_;
			} else {
				_tmp129_ = FALSE;
			}
			if (_tmp129_) {
				ValaProperty* _tmp134_;
				ValaPropertyAccessor* _tmp135_;
				ValaPropertyAccessor* _tmp136_;
				gchar* _tmp137_;
				gchar* _tmp138_;
				ValaCCodeIdentifier* _tmp139_;
				_tmp134_ = base_prop;
				_tmp135_ = vala_property_get_set_accessor (_tmp134_);
				_tmp136_ = _tmp135_;
				_tmp137_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp136_);
				_tmp138_ = _tmp137_;
				_tmp139_ = vala_ccode_identifier_new (_tmp138_);
				_vala_ccode_node_unref0 (cfunc);
				cfunc = (ValaCCodeExpression*) _tmp139_;
				_g_free0 (_tmp138_);
			} else {
				ValaProperty* _tmp140_;
				ValaPropertyAccessor* _tmp141_;
				ValaPropertyAccessor* _tmp142_;
				gchar* _tmp143_;
				gchar* _tmp144_;
				ValaCCodeIdentifier* _tmp145_;
				_tmp140_ = prop;
				_tmp141_ = vala_property_get_set_accessor (_tmp140_);
				_tmp142_ = _tmp141_;
				_tmp143_ = vala_ccode_base_module_get_ccode_real_name ((ValaSymbol*) _tmp142_);
				_tmp144_ = _tmp143_;
				_tmp145_ = vala_ccode_identifier_new (_tmp144_);
				_vala_ccode_node_unref0 (cfunc);
				cfunc = (ValaCCodeExpression*) _tmp145_;
				_g_free0 (_tmp144_);
			}
			_tmp146_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp147_ = _tmp146_;
			_tmp148_ = prop;
			_tmp149_ = vala_ccode_base_module_get_ccode_upper_case_name ((ValaSymbol*) _tmp148_, NULL);
			_tmp150_ = _tmp149_;
			_tmp151_ = vala_ccode_identifier_new (_tmp150_);
			_tmp152_ = _tmp151_;
			vala_ccode_function_add_case (_tmp147_, (ValaCCodeExpression*) _tmp152_);
			_vala_ccode_node_unref0 (_tmp152_);
			_g_free0 (_tmp150_);
			_tmp153_ = cfunc;
			_tmp154_ = vala_ccode_function_call_new (_tmp153_);
			_vala_ccode_node_unref0 (ccall);
			ccall = _tmp154_;
			_tmp155_ = ccall;
			_tmp156_ = cself;
			vala_ccode_function_call_add_argument (_tmp155_, _tmp156_);
			_tmp158_ = prop;
			_tmp159_ = vala_property_get_property_type (_tmp158_);
			_tmp160_ = _tmp159_;
			if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp160_, VALA_TYPE_ARRAY_TYPE)) {
				ValaProperty* _tmp161_;
				ValaDataType* _tmp162_;
				ValaDataType* _tmp163_;
				ValaDataType* _tmp164_;
				ValaDataType* _tmp165_;
				ValaTypeSymbol* _tmp166_;
				ValaTypeSymbol* _tmp167_;
				ValaDataType* _tmp168_;
				ValaTypeSymbol* _tmp169_;
				ValaTypeSymbol* _tmp170_;
				_tmp161_ = prop;
				_tmp162_ = vala_property_get_property_type (_tmp161_);
				_tmp163_ = _tmp162_;
				_tmp164_ = vala_array_type_get_element_type (G_TYPE_CHECK_INSTANCE_CAST (_tmp163_, VALA_TYPE_ARRAY_TYPE, ValaArrayType));
				_tmp165_ = _tmp164_;
				_tmp166_ = vala_data_type_get_data_type (_tmp165_);
				_tmp167_ = _tmp166_;
				_tmp168_ = ((ValaCCodeBaseModule*) self)->string_type;
				_tmp169_ = vala_data_type_get_data_type (_tmp168_);
				_tmp170_ = _tmp169_;
				_tmp157_ = _tmp167_ == _tmp170_;
			} else {
				_tmp157_ = FALSE;
			}
			if (_tmp157_) {
				ValaCCodeFunction* _tmp171_;
				ValaCCodeFunction* _tmp172_;
				ValaCCodeFunction* _tmp173_;
				ValaCCodeFunction* _tmp174_;
				ValaCCodeVariableDeclarator* _tmp175_;
				ValaCCodeVariableDeclarator* _tmp176_;
				ValaCCodeFunctionCall* cgetcall = NULL;
				ValaCCodeIdentifier* _tmp177_;
				ValaCCodeIdentifier* _tmp178_;
				ValaCCodeFunctionCall* _tmp179_;
				ValaCCodeFunctionCall* _tmp180_;
				ValaCCodeFunctionCall* _tmp181_;
				ValaCCodeIdentifier* _tmp182_;
				ValaCCodeIdentifier* _tmp183_;
				ValaCCodeFunction* _tmp184_;
				ValaCCodeFunction* _tmp185_;
				ValaCCodeIdentifier* _tmp186_;
				ValaCCodeIdentifier* _tmp187_;
				ValaCCodeFunctionCall* _tmp188_;
				ValaCCodeFunctionCall* _tmp189_;
				ValaCCodeIdentifier* _tmp190_;
				ValaCCodeIdentifier* _tmp191_;
				ValaCCodeBinaryExpression* cisnull = NULL;
				ValaCCodeIdentifier* _tmp192_;
				ValaCCodeIdentifier* _tmp193_;
				ValaCCodeConstant* _tmp194_;
				ValaCCodeConstant* _tmp195_;
				ValaCCodeBinaryExpression* _tmp196_;
				ValaCCodeBinaryExpression* _tmp197_;
				ValaCCodeFunctionCall* cstrvlen = NULL;
				ValaCCodeIdentifier* _tmp198_;
				ValaCCodeIdentifier* _tmp199_;
				ValaCCodeFunctionCall* _tmp200_;
				ValaCCodeFunctionCall* _tmp201_;
				ValaCCodeFunctionCall* _tmp202_;
				ValaCCodeIdentifier* _tmp203_;
				ValaCCodeIdentifier* _tmp204_;
				ValaCCodeConditionalExpression* ccond = NULL;
				ValaCCodeBinaryExpression* _tmp205_;
				ValaCCodeConstant* _tmp206_;
				ValaCCodeConstant* _tmp207_;
				ValaCCodeFunctionCall* _tmp208_;
				ValaCCodeConditionalExpression* _tmp209_;
				ValaCCodeConditionalExpression* _tmp210_;
				ValaCCodeFunctionCall* _tmp211_;
				ValaCCodeConditionalExpression* _tmp212_;
				ValaProperty* _tmp213_;
				ValaCCodeFunctionCall* _tmp214_;
				ValaCCodeFunction* _tmp215_;
				ValaCCodeFunction* _tmp216_;
				_tmp171_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp172_ = _tmp171_;
				vala_ccode_function_open_block (_tmp172_);
				_tmp173_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp174_ = _tmp173_;
				_tmp175_ = vala_ccode_variable_declarator_new ("boxed", NULL, NULL);
				_tmp176_ = _tmp175_;
				vala_ccode_function_add_declaration (_tmp174_, "gpointer", (ValaCCodeDeclarator*) _tmp176_, 0);
				_vala_ccode_node_unref0 (_tmp176_);
				_tmp177_ = vala_ccode_identifier_new ("g_value_get_boxed");
				_tmp178_ = _tmp177_;
				_tmp179_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp178_);
				_tmp180_ = _tmp179_;
				_vala_ccode_node_unref0 (_tmp178_);
				cgetcall = _tmp180_;
				_tmp181_ = cgetcall;
				_tmp182_ = vala_ccode_identifier_new ("value");
				_tmp183_ = _tmp182_;
				vala_ccode_function_call_add_argument (_tmp181_, (ValaCCodeExpression*) _tmp183_);
				_vala_ccode_node_unref0 (_tmp183_);
				_tmp184_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp185_ = _tmp184_;
				_tmp186_ = vala_ccode_identifier_new ("boxed");
				_tmp187_ = _tmp186_;
				_tmp188_ = cgetcall;
				vala_ccode_function_add_assignment (_tmp185_, (ValaCCodeExpression*) _tmp187_, (ValaCCodeExpression*) _tmp188_);
				_vala_ccode_node_unref0 (_tmp187_);
				_tmp189_ = ccall;
				_tmp190_ = vala_ccode_identifier_new ("boxed");
				_tmp191_ = _tmp190_;
				vala_ccode_function_call_add_argument (_tmp189_, (ValaCCodeExpression*) _tmp191_);
				_vala_ccode_node_unref0 (_tmp191_);
				_tmp192_ = vala_ccode_identifier_new ("boxed");
				_tmp193_ = _tmp192_;
				_tmp194_ = vala_ccode_constant_new ("NULL");
				_tmp195_ = _tmp194_;
				_tmp196_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_EQUALITY, (ValaCCodeExpression*) _tmp193_, (ValaCCodeExpression*) _tmp195_);
				_tmp197_ = _tmp196_;
				_vala_ccode_node_unref0 (_tmp195_);
				_vala_ccode_node_unref0 (_tmp193_);
				cisnull = _tmp197_;
				_tmp198_ = vala_ccode_identifier_new ("g_strv_length");
				_tmp199_ = _tmp198_;
				_tmp200_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp199_);
				_tmp201_ = _tmp200_;
				_vala_ccode_node_unref0 (_tmp199_);
				cstrvlen = _tmp201_;
				_tmp202_ = cstrvlen;
				_tmp203_ = vala_ccode_identifier_new ("boxed");
				_tmp204_ = _tmp203_;
				vala_ccode_function_call_add_argument (_tmp202_, (ValaCCodeExpression*) _tmp204_);
				_vala_ccode_node_unref0 (_tmp204_);
				_tmp205_ = cisnull;
				_tmp206_ = vala_ccode_constant_new ("0");
				_tmp207_ = _tmp206_;
				_tmp208_ = cstrvlen;
				_tmp209_ = vala_ccode_conditional_expression_new ((ValaCCodeExpression*) _tmp205_, (ValaCCodeExpression*) _tmp207_, (ValaCCodeExpression*) _tmp208_);
				_tmp210_ = _tmp209_;
				_vala_ccode_node_unref0 (_tmp207_);
				ccond = _tmp210_;
				_tmp211_ = ccall;
				_tmp212_ = ccond;
				vala_ccode_function_call_add_argument (_tmp211_, (ValaCCodeExpression*) _tmp212_);
				_tmp213_ = prop;
				_tmp214_ = ccall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp213_, (ValaCCodeExpression*) _tmp214_);
				_tmp215_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp216_ = _tmp215_;
				vala_ccode_function_close (_tmp216_);
				_vala_ccode_node_unref0 (ccond);
				_vala_ccode_node_unref0 (cstrvlen);
				_vala_ccode_node_unref0 (cisnull);
				_vala_ccode_node_unref0 (cgetcall);
			} else {
				ValaCCodeFunctionCall* cgetcall = NULL;
				ValaCCodeFunctionCall* _tmp217_;
				ValaProperty* _tmp218_;
				ValaDataType* _tmp219_;
				ValaDataType* _tmp220_;
				ValaTypeSymbol* _tmp221_;
				ValaTypeSymbol* _tmp222_;
				ValaCCodeFunctionCall* _tmp236_;
				ValaCCodeIdentifier* _tmp237_;
				ValaCCodeIdentifier* _tmp238_;
				ValaCCodeFunctionCall* _tmp239_;
				ValaCCodeFunctionCall* _tmp240_;
				ValaProperty* _tmp241_;
				ValaCCodeFunctionCall* _tmp242_;
				_tmp217_ = vala_ccode_function_call_new (NULL);
				cgetcall = _tmp217_;
				_tmp218_ = prop;
				_tmp219_ = vala_property_get_property_type (_tmp218_);
				_tmp220_ = _tmp219_;
				_tmp221_ = vala_data_type_get_data_type (_tmp220_);
				_tmp222_ = _tmp221_;
				if (_tmp222_ != NULL) {
					ValaCCodeFunctionCall* _tmp223_;
					ValaProperty* _tmp224_;
					ValaDataType* _tmp225_;
					ValaDataType* _tmp226_;
					ValaTypeSymbol* _tmp227_;
					ValaTypeSymbol* _tmp228_;
					gchar* _tmp229_;
					gchar* _tmp230_;
					ValaCCodeIdentifier* _tmp231_;
					ValaCCodeIdentifier* _tmp232_;
					_tmp223_ = cgetcall;
					_tmp224_ = prop;
					_tmp225_ = vala_property_get_property_type (_tmp224_);
					_tmp226_ = _tmp225_;
					_tmp227_ = vala_data_type_get_data_type (_tmp226_);
					_tmp228_ = _tmp227_;
					_tmp229_ = vala_ccode_base_module_get_ccode_get_value_function ((ValaCodeNode*) _tmp228_);
					_tmp230_ = _tmp229_;
					_tmp231_ = vala_ccode_identifier_new (_tmp230_);
					_tmp232_ = _tmp231_;
					vala_ccode_function_call_set_call (_tmp223_, (ValaCCodeExpression*) _tmp232_);
					_vala_ccode_node_unref0 (_tmp232_);
					_g_free0 (_tmp230_);
				} else {
					ValaCCodeFunctionCall* _tmp233_;
					ValaCCodeIdentifier* _tmp234_;
					ValaCCodeIdentifier* _tmp235_;
					_tmp233_ = cgetcall;
					_tmp234_ = vala_ccode_identifier_new ("g_value_get_pointer");
					_tmp235_ = _tmp234_;
					vala_ccode_function_call_set_call (_tmp233_, (ValaCCodeExpression*) _tmp235_);
					_vala_ccode_node_unref0 (_tmp235_);
				}
				_tmp236_ = cgetcall;
				_tmp237_ = vala_ccode_identifier_new ("value");
				_tmp238_ = _tmp237_;
				vala_ccode_function_call_add_argument (_tmp236_, (ValaCCodeExpression*) _tmp238_);
				_vala_ccode_node_unref0 (_tmp238_);
				_tmp239_ = ccall;
				_tmp240_ = cgetcall;
				vala_ccode_function_call_add_argument (_tmp239_, (ValaCCodeExpression*) _tmp240_);
				_tmp241_ = prop;
				_tmp242_ = ccall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp241_, (ValaCCodeExpression*) _tmp242_);
				_vala_ccode_node_unref0 (cgetcall);
			}
			_tmp243_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp244_ = _tmp243_;
			vala_ccode_function_add_break (_tmp244_);
			_vala_ccode_node_unref0 (cfunc);
			_vala_ccode_node_unref0 (cself);
			_vala_code_node_unref0 (base_prop);
			_vala_code_node_unref0 (prop);
		}
		_vala_iterable_unref0 (_prop_list);
	}
	{
		ValaList* _type_param_list = NULL;
		ValaClass* _tmp245_;
		ValaList* _tmp246_;
		gint _type_param_size = 0;
		ValaList* _tmp247_;
		gint _tmp248_;
		gint _tmp249_;
		gint _type_param_index = 0;
		_tmp245_ = cl;
		_tmp246_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp245_);
		_type_param_list = _tmp246_;
		_tmp247_ = _type_param_list;
		_tmp248_ = vala_collection_get_size ((ValaCollection*) _tmp247_);
		_tmp249_ = _tmp248_;
		_type_param_size = _tmp249_;
		_type_param_index = -1;
		while (TRUE) {
			gint _tmp250_;
			gint _tmp251_;
			gint _tmp252_;
			ValaTypeParameter* type_param = NULL;
			ValaList* _tmp253_;
			gint _tmp254_;
			gpointer _tmp255_;
			gchar* func_name = NULL;
			gchar* enum_value = NULL;
			ValaCCodeMemberAccess* cfield = NULL;
			ValaCCodeFunctionCall* cgetcall = NULL;
			ValaTypeParameter* _tmp256_;
			const gchar* _tmp257_;
			const gchar* _tmp258_;
			gchar* _tmp259_;
			gchar* _tmp260_;
			gchar* _tmp261_;
			ValaClass* _tmp262_;
			gchar* _tmp263_;
			gchar* _tmp264_;
			const gchar* _tmp265_;
			gchar* _tmp266_;
			gchar* _tmp267_;
			gchar* _tmp268_;
			ValaCCodeFunction* _tmp269_;
			ValaCCodeFunction* _tmp270_;
			const gchar* _tmp271_;
			ValaCCodeIdentifier* _tmp272_;
			ValaCCodeIdentifier* _tmp273_;
			ValaCCodeIdentifier* _tmp274_;
			ValaCCodeIdentifier* _tmp275_;
			ValaCCodeMemberAccess* _tmp276_;
			ValaCCodeMemberAccess* _tmp277_;
			const gchar* _tmp278_;
			ValaCCodeMemberAccess* _tmp279_;
			ValaCCodeIdentifier* _tmp280_;
			ValaCCodeIdentifier* _tmp281_;
			ValaCCodeFunctionCall* _tmp282_;
			ValaCCodeFunctionCall* _tmp283_;
			ValaCCodeIdentifier* _tmp284_;
			ValaCCodeIdentifier* _tmp285_;
			ValaCCodeFunction* _tmp286_;
			ValaCCodeFunction* _tmp287_;
			ValaCCodeMemberAccess* _tmp288_;
			ValaCCodeFunctionCall* _tmp289_;
			ValaCCodeFunction* _tmp290_;
			ValaCCodeFunction* _tmp291_;
			ValaTypeParameter* _tmp292_;
			const gchar* _tmp293_;
			const gchar* _tmp294_;
			gchar* _tmp295_;
			gchar* _tmp296_;
			gchar* _tmp297_;
			ValaClass* _tmp298_;
			gchar* _tmp299_;
			gchar* _tmp300_;
			const gchar* _tmp301_;
			gchar* _tmp302_;
			gchar* _tmp303_;
			gchar* _tmp304_;
			ValaCCodeFunction* _tmp305_;
			ValaCCodeFunction* _tmp306_;
			const gchar* _tmp307_;
			ValaCCodeIdentifier* _tmp308_;
			ValaCCodeIdentifier* _tmp309_;
			ValaCCodeIdentifier* _tmp310_;
			ValaCCodeIdentifier* _tmp311_;
			ValaCCodeMemberAccess* _tmp312_;
			ValaCCodeMemberAccess* _tmp313_;
			const gchar* _tmp314_;
			ValaCCodeMemberAccess* _tmp315_;
			ValaCCodeIdentifier* _tmp316_;
			ValaCCodeIdentifier* _tmp317_;
			ValaCCodeFunctionCall* _tmp318_;
			ValaCCodeFunctionCall* _tmp319_;
			ValaCCodeIdentifier* _tmp320_;
			ValaCCodeIdentifier* _tmp321_;
			ValaCCodeFunction* _tmp322_;
			ValaCCodeFunction* _tmp323_;
			ValaCCodeMemberAccess* _tmp324_;
			ValaCCodeFunctionCall* _tmp325_;
			ValaCCodeFunction* _tmp326_;
			ValaCCodeFunction* _tmp327_;
			ValaTypeParameter* _tmp328_;
			const gchar* _tmp329_;
			const gchar* _tmp330_;
			gchar* _tmp331_;
			gchar* _tmp332_;
			gchar* _tmp333_;
			ValaClass* _tmp334_;
			gchar* _tmp335_;
			gchar* _tmp336_;
			const gchar* _tmp337_;
			gchar* _tmp338_;
			gchar* _tmp339_;
			gchar* _tmp340_;
			ValaCCodeFunction* _tmp341_;
			ValaCCodeFunction* _tmp342_;
			const gchar* _tmp343_;
			ValaCCodeIdentifier* _tmp344_;
			ValaCCodeIdentifier* _tmp345_;
			ValaCCodeIdentifier* _tmp346_;
			ValaCCodeIdentifier* _tmp347_;
			ValaCCodeMemberAccess* _tmp348_;
			ValaCCodeMemberAccess* _tmp349_;
			const gchar* _tmp350_;
			ValaCCodeMemberAccess* _tmp351_;
			ValaCCodeIdentifier* _tmp352_;
			ValaCCodeIdentifier* _tmp353_;
			ValaCCodeFunctionCall* _tmp354_;
			ValaCCodeFunctionCall* _tmp355_;
			ValaCCodeIdentifier* _tmp356_;
			ValaCCodeIdentifier* _tmp357_;
			ValaCCodeFunction* _tmp358_;
			ValaCCodeFunction* _tmp359_;
			ValaCCodeMemberAccess* _tmp360_;
			ValaCCodeFunctionCall* _tmp361_;
			ValaCCodeFunction* _tmp362_;
			ValaCCodeFunction* _tmp363_;
			_tmp250_ = _type_param_index;
			_type_param_index = _tmp250_ + 1;
			_tmp251_ = _type_param_index;
			_tmp252_ = _type_param_size;
			if (!(_tmp251_ < _tmp252_)) {
				break;
			}
			_tmp253_ = _type_param_list;
			_tmp254_ = _type_param_index;
			_tmp255_ = vala_list_get (_tmp253_, _tmp254_);
			type_param = (ValaTypeParameter*) _tmp255_;
			_tmp256_ = type_param;
			_tmp257_ = vala_symbol_get_name ((ValaSymbol*) _tmp256_);
			_tmp258_ = _tmp257_;
			_tmp259_ = g_ascii_strdown (_tmp258_, (gssize) -1);
			_tmp260_ = _tmp259_;
			_tmp261_ = g_strdup_printf ("%s_type", _tmp260_);
			_g_free0 (func_name);
			func_name = _tmp261_;
			_g_free0 (_tmp260_);
			_tmp262_ = cl;
			_tmp263_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp262_, NULL);
			_tmp264_ = _tmp263_;
			_tmp265_ = func_name;
			_tmp266_ = g_strdup_printf ("%s_%s", _tmp264_, _tmp265_);
			_tmp267_ = _tmp266_;
			_tmp268_ = g_ascii_strup (_tmp267_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp268_;
			_g_free0 (_tmp267_);
			_g_free0 (_tmp264_);
			_tmp269_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp270_ = _tmp269_;
			_tmp271_ = enum_value;
			_tmp272_ = vala_ccode_identifier_new (_tmp271_);
			_tmp273_ = _tmp272_;
			vala_ccode_function_add_case (_tmp270_, (ValaCCodeExpression*) _tmp273_);
			_vala_ccode_node_unref0 (_tmp273_);
			_tmp274_ = vala_ccode_identifier_new ("self");
			_tmp275_ = _tmp274_;
			_tmp276_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp275_, "priv");
			_tmp277_ = _tmp276_;
			_tmp278_ = func_name;
			_tmp279_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp277_, _tmp278_);
			_vala_ccode_node_unref0 (cfield);
			cfield = _tmp279_;
			_vala_ccode_node_unref0 (_tmp277_);
			_vala_ccode_node_unref0 (_tmp275_);
			_tmp280_ = vala_ccode_identifier_new ("g_value_get_gtype");
			_tmp281_ = _tmp280_;
			_tmp282_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp281_);
			_vala_ccode_node_unref0 (cgetcall);
			cgetcall = _tmp282_;
			_vala_ccode_node_unref0 (_tmp281_);
			_tmp283_ = cgetcall;
			_tmp284_ = vala_ccode_identifier_new ("value");
			_tmp285_ = _tmp284_;
			vala_ccode_function_call_add_argument (_tmp283_, (ValaCCodeExpression*) _tmp285_);
			_vala_ccode_node_unref0 (_tmp285_);
			_tmp286_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp287_ = _tmp286_;
			_tmp288_ = cfield;
			_tmp289_ = cgetcall;
			vala_ccode_function_add_assignment (_tmp287_, (ValaCCodeExpression*) _tmp288_, (ValaCCodeExpression*) _tmp289_);
			_tmp290_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp291_ = _tmp290_;
			vala_ccode_function_add_break (_tmp291_);
			_tmp292_ = type_param;
			_tmp293_ = vala_symbol_get_name ((ValaSymbol*) _tmp292_);
			_tmp294_ = _tmp293_;
			_tmp295_ = g_ascii_strdown (_tmp294_, (gssize) -1);
			_tmp296_ = _tmp295_;
			_tmp297_ = g_strdup_printf ("%s_dup_func", _tmp296_);
			_g_free0 (func_name);
			func_name = _tmp297_;
			_g_free0 (_tmp296_);
			_tmp298_ = cl;
			_tmp299_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp298_, NULL);
			_tmp300_ = _tmp299_;
			_tmp301_ = func_name;
			_tmp302_ = g_strdup_printf ("%s_%s", _tmp300_, _tmp301_);
			_tmp303_ = _tmp302_;
			_tmp304_ = g_ascii_strup (_tmp303_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp304_;
			_g_free0 (_tmp303_);
			_g_free0 (_tmp300_);
			_tmp305_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp306_ = _tmp305_;
			_tmp307_ = enum_value;
			_tmp308_ = vala_ccode_identifier_new (_tmp307_);
			_tmp309_ = _tmp308_;
			vala_ccode_function_add_case (_tmp306_, (ValaCCodeExpression*) _tmp309_);
			_vala_ccode_node_unref0 (_tmp309_);
			_tmp310_ = vala_ccode_identifier_new ("self");
			_tmp311_ = _tmp310_;
			_tmp312_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp311_, "priv");
			_tmp313_ = _tmp312_;
			_tmp314_ = func_name;
			_tmp315_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp313_, _tmp314_);
			_vala_ccode_node_unref0 (cfield);
			cfield = _tmp315_;
			_vala_ccode_node_unref0 (_tmp313_);
			_vala_ccode_node_unref0 (_tmp311_);
			_tmp316_ = vala_ccode_identifier_new ("g_value_get_pointer");
			_tmp317_ = _tmp316_;
			_tmp318_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp317_);
			_vala_ccode_node_unref0 (cgetcall);
			cgetcall = _tmp318_;
			_vala_ccode_node_unref0 (_tmp317_);
			_tmp319_ = cgetcall;
			_tmp320_ = vala_ccode_identifier_new ("value");
			_tmp321_ = _tmp320_;
			vala_ccode_function_call_add_argument (_tmp319_, (ValaCCodeExpression*) _tmp321_);
			_vala_ccode_node_unref0 (_tmp321_);
			_tmp322_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp323_ = _tmp322_;
			_tmp324_ = cfield;
			_tmp325_ = cgetcall;
			vala_ccode_function_add_assignment (_tmp323_, (ValaCCodeExpression*) _tmp324_, (ValaCCodeExpression*) _tmp325_);
			_tmp326_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp327_ = _tmp326_;
			vala_ccode_function_add_break (_tmp327_);
			_tmp328_ = type_param;
			_tmp329_ = vala_symbol_get_name ((ValaSymbol*) _tmp328_);
			_tmp330_ = _tmp329_;
			_tmp331_ = g_ascii_strdown (_tmp330_, (gssize) -1);
			_tmp332_ = _tmp331_;
			_tmp333_ = g_strdup_printf ("%s_destroy_func", _tmp332_);
			_g_free0 (func_name);
			func_name = _tmp333_;
			_g_free0 (_tmp332_);
			_tmp334_ = cl;
			_tmp335_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp334_, NULL);
			_tmp336_ = _tmp335_;
			_tmp337_ = func_name;
			_tmp338_ = g_strdup_printf ("%s_%s", _tmp336_, _tmp337_);
			_tmp339_ = _tmp338_;
			_tmp340_ = g_ascii_strup (_tmp339_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp340_;
			_g_free0 (_tmp339_);
			_g_free0 (_tmp336_);
			_tmp341_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp342_ = _tmp341_;
			_tmp343_ = enum_value;
			_tmp344_ = vala_ccode_identifier_new (_tmp343_);
			_tmp345_ = _tmp344_;
			vala_ccode_function_add_case (_tmp342_, (ValaCCodeExpression*) _tmp345_);
			_vala_ccode_node_unref0 (_tmp345_);
			_tmp346_ = vala_ccode_identifier_new ("self");
			_tmp347_ = _tmp346_;
			_tmp348_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp347_, "priv");
			_tmp349_ = _tmp348_;
			_tmp350_ = func_name;
			_tmp351_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp349_, _tmp350_);
			_vala_ccode_node_unref0 (cfield);
			cfield = _tmp351_;
			_vala_ccode_node_unref0 (_tmp349_);
			_vala_ccode_node_unref0 (_tmp347_);
			_tmp352_ = vala_ccode_identifier_new ("g_value_get_pointer");
			_tmp353_ = _tmp352_;
			_tmp354_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp353_);
			_vala_ccode_node_unref0 (cgetcall);
			cgetcall = _tmp354_;
			_vala_ccode_node_unref0 (_tmp353_);
			_tmp355_ = cgetcall;
			_tmp356_ = vala_ccode_identifier_new ("value");
			_tmp357_ = _tmp356_;
			vala_ccode_function_call_add_argument (_tmp355_, (ValaCCodeExpression*) _tmp357_);
			_vala_ccode_node_unref0 (_tmp357_);
			_tmp358_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp359_ = _tmp358_;
			_tmp360_ = cfield;
			_tmp361_ = cgetcall;
			vala_ccode_function_add_assignment (_tmp359_, (ValaCCodeExpression*) _tmp360_, (ValaCCodeExpression*) _tmp361_);
			_tmp362_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp363_ = _tmp362_;
			vala_ccode_function_add_break (_tmp363_);
			_vala_ccode_node_unref0 (cgetcall);
			_vala_ccode_node_unref0 (cfield);
			_g_free0 (enum_value);
			_g_free0 (func_name);
			_vala_code_node_unref0 (type_param);
		}
		_vala_iterable_unref0 (_type_param_list);
	}
	_tmp364_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp365_ = _tmp364_;
	vala_ccode_function_add_default (_tmp365_);
	vala_gobject_module_emit_invalid_property_id_warn (self);
	_tmp366_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp367_ = _tmp366_;
	vala_ccode_function_add_break (_tmp367_);
	_tmp368_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp369_ = _tmp368_;
	vala_ccode_function_close (_tmp369_);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp370_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp371_ = set_prop;
	vala_ccode_file_add_function_declaration (_tmp370_, _tmp371_);
	_tmp372_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp373_ = set_prop;
	vala_ccode_file_add_function (_tmp372_, _tmp373_);
	_vala_iterable_unref0 (props);
	_vala_ccode_node_unref0 (ccall);
	_vala_ccode_node_unref0 (set_prop);
}


static void vala_gobject_module_emit_invalid_property_id_warn (ValaGObjectModule* self) {
	ValaCCodeFunctionCall* cwarn = NULL;
	ValaCCodeIdentifier* _tmp0_;
	ValaCCodeIdentifier* _tmp1_;
	ValaCCodeFunctionCall* _tmp2_;
	ValaCCodeFunctionCall* _tmp3_;
	ValaCCodeIdentifier* _tmp4_;
	ValaCCodeIdentifier* _tmp5_;
	ValaCCodeIdentifier* _tmp6_;
	ValaCCodeIdentifier* _tmp7_;
	ValaCCodeIdentifier* _tmp8_;
	ValaCCodeIdentifier* _tmp9_;
	ValaCCodeFunction* _tmp10_;
	ValaCCodeFunction* _tmp11_;
	g_return_if_fail (self != NULL);
	_tmp0_ = vala_ccode_identifier_new ("G_OBJECT_WARN_INVALID_PROPERTY_ID");
	_tmp1_ = _tmp0_;
	_tmp2_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp1_);
	_tmp3_ = _tmp2_;
	_vala_ccode_node_unref0 (_tmp1_);
	cwarn = _tmp3_;
	_tmp4_ = vala_ccode_identifier_new ("object");
	_tmp5_ = _tmp4_;
	vala_ccode_function_call_add_argument (cwarn, (ValaCCodeExpression*) _tmp5_);
	_vala_ccode_node_unref0 (_tmp5_);
	_tmp6_ = vala_ccode_identifier_new ("property_id");
	_tmp7_ = _tmp6_;
	vala_ccode_function_call_add_argument (cwarn, (ValaCCodeExpression*) _tmp7_);
	_vala_ccode_node_unref0 (_tmp7_);
	_tmp8_ = vala_ccode_identifier_new ("pspec");
	_tmp9_ = _tmp8_;
	vala_ccode_function_call_add_argument (cwarn, (ValaCCodeExpression*) _tmp9_);
	_vala_ccode_node_unref0 (_tmp9_);
	_tmp10_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp11_ = _tmp10_;
	vala_ccode_function_add_expression (_tmp11_, (ValaCCodeExpression*) cwarn);
	_vala_ccode_node_unref0 (cwarn);
}


static void vala_gobject_module_real_visit_constructor (ValaCodeVisitor* base, ValaConstructor* c) {
	ValaGObjectModule * self;
	ValaConstructor* _tmp0_;
	ValaSourceReference* _tmp1_;
	ValaSourceReference* _tmp2_;
	ValaClass* cl = NULL;
	ValaConstructor* _tmp3_;
	ValaSymbol* _tmp4_;
	ValaSymbol* _tmp5_;
	ValaClass* _tmp6_;
	ValaConstructor* _tmp7_;
	ValaMemberBinding _tmp8_;
	ValaMemberBinding _tmp9_;
	self = (ValaGObjectModule*) base;
	g_return_if_fail (c != NULL);
	_tmp0_ = c;
	_tmp1_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp0_);
	_tmp2_ = _tmp1_;
	vala_ccode_base_module_push_line ((ValaCCodeBaseModule*) self, _tmp2_);
	_tmp3_ = c;
	_tmp4_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp3_);
	_tmp5_ = _tmp4_;
	_tmp6_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, VALA_TYPE_CLASS, ValaClass));
	cl = _tmp6_;
	_tmp7_ = c;
	_tmp8_ = vala_constructor_get_binding (_tmp7_);
	_tmp9_ = _tmp8_;
	if (_tmp9_ == VALA_MEMBER_BINDING_INSTANCE) {
		ValaClass* _tmp10_;
		ValaTypeSymbol* _tmp11_;
		gboolean _tmp12_;
		ValaConstructor* _tmp17_;
		ValaCCodeBaseModuleEmitContext* _tmp18_;
		ValaCCodeBaseModuleEmitContext* _tmp19_;
		ValaCCodeFunction* function = NULL;
		ValaClass* _tmp20_;
		gchar* _tmp21_;
		gchar* _tmp22_;
		gchar* _tmp23_;
		gchar* _tmp24_;
		ValaCCodeFunction* _tmp25_;
		ValaCCodeFunction* _tmp26_;
		ValaCCodeFunction* _tmp27_;
		ValaCCodeFunction* _tmp28_;
		ValaCCodeParameter* _tmp29_;
		ValaCCodeParameter* _tmp30_;
		ValaCCodeFunction* _tmp31_;
		ValaCCodeParameter* _tmp32_;
		ValaCCodeParameter* _tmp33_;
		ValaCCodeFunction* _tmp34_;
		ValaCCodeParameter* _tmp35_;
		ValaCCodeParameter* _tmp36_;
		ValaCCodeFile* _tmp37_;
		ValaCCodeFunction* _tmp38_;
		ValaCCodeFunction* _tmp39_;
		ValaCCodeFunction* _tmp40_;
		ValaCCodeFunction* _tmp41_;
		ValaCCodeVariableDeclarator* _tmp42_;
		ValaCCodeVariableDeclarator* _tmp43_;
		ValaCCodeFunction* _tmp44_;
		ValaCCodeFunction* _tmp45_;
		ValaCCodeVariableDeclarator* _tmp46_;
		ValaCCodeVariableDeclarator* _tmp47_;
		ValaCCodeFunctionCall* ccast = NULL;
		ValaCCodeIdentifier* _tmp48_;
		ValaCCodeIdentifier* _tmp49_;
		ValaCCodeFunctionCall* _tmp50_;
		ValaCCodeFunctionCall* _tmp51_;
		ValaCCodeFunctionCall* _tmp52_;
		ValaClass* _tmp53_;
		gchar* _tmp54_;
		gchar* _tmp55_;
		gchar* _tmp56_;
		gchar* _tmp57_;
		ValaCCodeIdentifier* _tmp58_;
		ValaCCodeIdentifier* _tmp59_;
		ValaCCodeFunction* _tmp60_;
		ValaCCodeFunction* _tmp61_;
		ValaCCodeIdentifier* _tmp62_;
		ValaCCodeIdentifier* _tmp63_;
		ValaCCodeFunctionCall* _tmp64_;
		ValaCCodeFunctionCall* ccall = NULL;
		ValaCCodeIdentifier* _tmp65_;
		ValaCCodeIdentifier* _tmp66_;
		ValaCCodeMemberAccess* _tmp67_;
		ValaCCodeMemberAccess* _tmp68_;
		ValaCCodeFunctionCall* _tmp69_;
		ValaCCodeFunctionCall* _tmp70_;
		ValaCCodeFunctionCall* _tmp71_;
		ValaCCodeIdentifier* _tmp72_;
		ValaCCodeIdentifier* _tmp73_;
		ValaCCodeFunctionCall* _tmp74_;
		ValaCCodeIdentifier* _tmp75_;
		ValaCCodeIdentifier* _tmp76_;
		ValaCCodeFunctionCall* _tmp77_;
		ValaCCodeIdentifier* _tmp78_;
		ValaCCodeIdentifier* _tmp79_;
		ValaCCodeFunction* _tmp80_;
		ValaCCodeFunction* _tmp81_;
		ValaCCodeIdentifier* _tmp82_;
		ValaCCodeIdentifier* _tmp83_;
		ValaCCodeFunctionCall* _tmp84_;
		ValaCCodeIdentifier* _tmp85_;
		ValaCCodeIdentifier* _tmp86_;
		ValaClass* _tmp87_;
		ValaCCodeFunctionCall* _tmp88_;
		ValaCCodeFunction* _tmp89_;
		ValaCCodeFunction* _tmp90_;
		ValaClass* _tmp91_;
		gchar* _tmp92_;
		gchar* _tmp93_;
		gchar* _tmp94_;
		gchar* _tmp95_;
		ValaCCodeVariableDeclarator* _tmp96_;
		ValaCCodeVariableDeclarator* _tmp97_;
		ValaCCodeFunction* _tmp98_;
		ValaCCodeFunction* _tmp99_;
		ValaCCodeIdentifier* _tmp100_;
		ValaCCodeIdentifier* _tmp101_;
		ValaCCodeFunctionCall* _tmp102_;
		ValaConstructor* _tmp103_;
		ValaBlock* _tmp104_;
		ValaBlock* _tmp105_;
		gboolean _tmp106_;
		gboolean _tmp107_;
		ValaCCodeFunction* _tmp114_;
		ValaCCodeFunction* _tmp115_;
		ValaCCodeIdentifier* _tmp116_;
		ValaCCodeIdentifier* _tmp117_;
		ValaCCodeFile* _tmp118_;
		ValaCCodeFunction* _tmp119_;
		_tmp10_ = cl;
		_tmp11_ = ((ValaCCodeBaseModule*) self)->gobject_type;
		_tmp12_ = vala_typesymbol_is_subtype_of ((ValaTypeSymbol*) _tmp10_, _tmp11_);
		if (!_tmp12_) {
			ValaConstructor* _tmp13_;
			ValaSourceReference* _tmp14_;
			ValaSourceReference* _tmp15_;
			ValaConstructor* _tmp16_;
			_tmp13_ = c;
			_tmp14_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp13_);
			_tmp15_ = _tmp14_;
			vala_report_error (_tmp15_, "construct blocks require GLib.Object");
			_tmp16_ = c;
			vala_code_node_set_error ((ValaCodeNode*) _tmp16_, TRUE);
			_vala_code_node_unref0 (cl);
			return;
		}
		_tmp17_ = c;
		_tmp18_ = vala_ccode_base_module_emit_context_new ((ValaSymbol*) _tmp17_);
		_tmp19_ = _tmp18_;
		vala_ccode_base_module_push_context ((ValaCCodeBaseModule*) self, _tmp19_);
		_vala_ccode_base_module_emit_context_unref0 (_tmp19_);
		_tmp20_ = cl;
		_tmp21_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp20_, NULL);
		_tmp22_ = _tmp21_;
		_tmp23_ = g_strdup_printf ("%s_constructor", _tmp22_);
		_tmp24_ = _tmp23_;
		_tmp25_ = vala_ccode_function_new (_tmp24_, "GObject *");
		_tmp26_ = _tmp25_;
		_g_free0 (_tmp24_);
		_g_free0 (_tmp22_);
		function = _tmp26_;
		_tmp27_ = function;
		vala_ccode_node_set_modifiers ((ValaCCodeNode*) _tmp27_, VALA_CCODE_MODIFIERS_STATIC);
		_tmp28_ = function;
		_tmp29_ = vala_ccode_parameter_new ("type", "GType");
		_tmp30_ = _tmp29_;
		vala_ccode_function_add_parameter (_tmp28_, _tmp30_);
		_vala_ccode_node_unref0 (_tmp30_);
		_tmp31_ = function;
		_tmp32_ = vala_ccode_parameter_new ("n_construct_properties", "guint");
		_tmp33_ = _tmp32_;
		vala_ccode_function_add_parameter (_tmp31_, _tmp33_);
		_vala_ccode_node_unref0 (_tmp33_);
		_tmp34_ = function;
		_tmp35_ = vala_ccode_parameter_new ("construct_properties", "GObjectConstructParam *");
		_tmp36_ = _tmp35_;
		vala_ccode_function_add_parameter (_tmp34_, _tmp36_);
		_vala_ccode_node_unref0 (_tmp36_);
		_tmp37_ = ((ValaCCodeBaseModule*) self)->cfile;
		_tmp38_ = function;
		vala_ccode_file_add_function_declaration (_tmp37_, _tmp38_);
		_tmp39_ = function;
		vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp39_);
		_tmp40_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp41_ = _tmp40_;
		_tmp42_ = vala_ccode_variable_declarator_new ("obj", NULL, NULL);
		_tmp43_ = _tmp42_;
		vala_ccode_function_add_declaration (_tmp41_, "GObject *", (ValaCCodeDeclarator*) _tmp43_, 0);
		_vala_ccode_node_unref0 (_tmp43_);
		_tmp44_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp45_ = _tmp44_;
		_tmp46_ = vala_ccode_variable_declarator_new ("parent_class", NULL, NULL);
		_tmp47_ = _tmp46_;
		vala_ccode_function_add_declaration (_tmp45_, "GObjectClass *", (ValaCCodeDeclarator*) _tmp47_, 0);
		_vala_ccode_node_unref0 (_tmp47_);
		_tmp48_ = vala_ccode_identifier_new ("G_OBJECT_CLASS");
		_tmp49_ = _tmp48_;
		_tmp50_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp49_);
		_tmp51_ = _tmp50_;
		_vala_ccode_node_unref0 (_tmp49_);
		ccast = _tmp51_;
		_tmp52_ = ccast;
		_tmp53_ = cl;
		_tmp54_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp53_, NULL);
		_tmp55_ = _tmp54_;
		_tmp56_ = g_strdup_printf ("%s_parent_class", _tmp55_);
		_tmp57_ = _tmp56_;
		_tmp58_ = vala_ccode_identifier_new (_tmp57_);
		_tmp59_ = _tmp58_;
		vala_ccode_function_call_add_argument (_tmp52_, (ValaCCodeExpression*) _tmp59_);
		_vala_ccode_node_unref0 (_tmp59_);
		_g_free0 (_tmp57_);
		_g_free0 (_tmp55_);
		_tmp60_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp61_ = _tmp60_;
		_tmp62_ = vala_ccode_identifier_new ("parent_class");
		_tmp63_ = _tmp62_;
		_tmp64_ = ccast;
		vala_ccode_function_add_assignment (_tmp61_, (ValaCCodeExpression*) _tmp63_, (ValaCCodeExpression*) _tmp64_);
		_vala_ccode_node_unref0 (_tmp63_);
		_tmp65_ = vala_ccode_identifier_new ("parent_class");
		_tmp66_ = _tmp65_;
		_tmp67_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp66_, "constructor");
		_tmp68_ = _tmp67_;
		_tmp69_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp68_);
		_tmp70_ = _tmp69_;
		_vala_ccode_node_unref0 (_tmp68_);
		_vala_ccode_node_unref0 (_tmp66_);
		ccall = _tmp70_;
		_tmp71_ = ccall;
		_tmp72_ = vala_ccode_identifier_new ("type");
		_tmp73_ = _tmp72_;
		vala_ccode_function_call_add_argument (_tmp71_, (ValaCCodeExpression*) _tmp73_);
		_vala_ccode_node_unref0 (_tmp73_);
		_tmp74_ = ccall;
		_tmp75_ = vala_ccode_identifier_new ("n_construct_properties");
		_tmp76_ = _tmp75_;
		vala_ccode_function_call_add_argument (_tmp74_, (ValaCCodeExpression*) _tmp76_);
		_vala_ccode_node_unref0 (_tmp76_);
		_tmp77_ = ccall;
		_tmp78_ = vala_ccode_identifier_new ("construct_properties");
		_tmp79_ = _tmp78_;
		vala_ccode_function_call_add_argument (_tmp77_, (ValaCCodeExpression*) _tmp79_);
		_vala_ccode_node_unref0 (_tmp79_);
		_tmp80_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp81_ = _tmp80_;
		_tmp82_ = vala_ccode_identifier_new ("obj");
		_tmp83_ = _tmp82_;
		_tmp84_ = ccall;
		vala_ccode_function_add_assignment (_tmp81_, (ValaCCodeExpression*) _tmp83_, (ValaCCodeExpression*) _tmp84_);
		_vala_ccode_node_unref0 (_tmp83_);
		_tmp85_ = vala_ccode_identifier_new ("obj");
		_tmp86_ = _tmp85_;
		_tmp87_ = cl;
		_tmp88_ = vala_ccode_base_module_generate_instance_cast ((ValaCCodeBaseModule*) self, (ValaCCodeExpression*) _tmp86_, (ValaTypeSymbol*) _tmp87_);
		_vala_ccode_node_unref0 (ccall);
		ccall = _tmp88_;
		_vala_ccode_node_unref0 (_tmp86_);
		_tmp89_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp90_ = _tmp89_;
		_tmp91_ = cl;
		_tmp92_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp91_);
		_tmp93_ = _tmp92_;
		_tmp94_ = g_strdup_printf ("%s *", _tmp93_);
		_tmp95_ = _tmp94_;
		_tmp96_ = vala_ccode_variable_declarator_new ("self", NULL, NULL);
		_tmp97_ = _tmp96_;
		vala_ccode_function_add_declaration (_tmp90_, _tmp95_, (ValaCCodeDeclarator*) _tmp97_, 0);
		_vala_ccode_node_unref0 (_tmp97_);
		_g_free0 (_tmp95_);
		_g_free0 (_tmp93_);
		_tmp98_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp99_ = _tmp98_;
		_tmp100_ = vala_ccode_identifier_new ("self");
		_tmp101_ = _tmp100_;
		_tmp102_ = ccall;
		vala_ccode_function_add_assignment (_tmp99_, (ValaCCodeExpression*) _tmp101_, (ValaCCodeExpression*) _tmp102_);
		_vala_ccode_node_unref0 (_tmp101_);
		_tmp103_ = c;
		_tmp104_ = vala_subroutine_get_body ((ValaSubroutine*) _tmp103_);
		_tmp105_ = _tmp104_;
		vala_code_node_emit ((ValaCodeNode*) _tmp105_, (ValaCodeGenerator*) self);
		_tmp106_ = vala_ccode_base_module_get_current_method_inner_error ((ValaCCodeBaseModule*) self);
		_tmp107_ = _tmp106_;
		if (_tmp107_) {
			ValaCCodeFunction* _tmp108_;
			ValaCCodeFunction* _tmp109_;
			ValaCCodeConstant* _tmp110_;
			ValaCCodeConstant* _tmp111_;
			ValaCCodeVariableDeclarator* _tmp112_;
			ValaCCodeVariableDeclarator* _tmp113_;
			_tmp108_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp109_ = _tmp108_;
			_tmp110_ = vala_ccode_constant_new ("NULL");
			_tmp111_ = _tmp110_;
			_tmp112_ = vala_ccode_variable_declarator_new_zero ("_inner_error_", (ValaCCodeExpression*) _tmp111_, NULL);
			_tmp113_ = _tmp112_;
			vala_ccode_function_add_declaration (_tmp109_, "GError *", (ValaCCodeDeclarator*) _tmp113_, 0);
			_vala_ccode_node_unref0 (_tmp113_);
			_vala_ccode_node_unref0 (_tmp111_);
		}
		_tmp114_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
		_tmp115_ = _tmp114_;
		_tmp116_ = vala_ccode_identifier_new ("obj");
		_tmp117_ = _tmp116_;
		vala_ccode_function_add_return (_tmp115_, (ValaCCodeExpression*) _tmp117_);
		_vala_ccode_node_unref0 (_tmp117_);
		vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
		_tmp118_ = ((ValaCCodeBaseModule*) self)->cfile;
		_tmp119_ = function;
		vala_ccode_file_add_function (_tmp118_, _tmp119_);
		vala_ccode_base_module_pop_context ((ValaCCodeBaseModule*) self);
		_vala_ccode_node_unref0 (ccall);
		_vala_ccode_node_unref0 (ccast);
		_vala_ccode_node_unref0 (function);
	} else {
		ValaConstructor* _tmp120_;
		ValaMemberBinding _tmp121_;
		ValaMemberBinding _tmp122_;
		_tmp120_ = c;
		_tmp121_ = vala_constructor_get_binding (_tmp120_);
		_tmp122_ = _tmp121_;
		if (_tmp122_ == VALA_MEMBER_BINDING_CLASS) {
			ValaClass* _tmp123_;
			gboolean _tmp124_;
			gboolean _tmp125_;
			ValaCCodeBaseModuleEmitContext* _tmp130_;
			ValaConstructor* _tmp131_;
			ValaBlock* _tmp132_;
			ValaBlock* _tmp133_;
			gboolean _tmp134_;
			gboolean _tmp135_;
			_tmp123_ = cl;
			_tmp124_ = vala_class_get_is_compact (_tmp123_);
			_tmp125_ = _tmp124_;
			if (_tmp125_) {
				ValaConstructor* _tmp126_;
				ValaSourceReference* _tmp127_;
				ValaSourceReference* _tmp128_;
				ValaConstructor* _tmp129_;
				_tmp126_ = c;
				_tmp127_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp126_);
				_tmp128_ = _tmp127_;
				vala_report_error (_tmp128_, "class constructors are not supported in compact classes");
				_tmp129_ = c;
				vala_code_node_set_error ((ValaCodeNode*) _tmp129_, TRUE);
				_vala_code_node_unref0 (cl);
				return;
			}
			_tmp130_ = ((ValaCCodeBaseModule*) self)->base_init_context;
			vala_ccode_base_module_push_context ((ValaCCodeBaseModule*) self, _tmp130_);
			_tmp131_ = c;
			_tmp132_ = vala_subroutine_get_body ((ValaSubroutine*) _tmp131_);
			_tmp133_ = _tmp132_;
			vala_code_node_emit ((ValaCodeNode*) _tmp133_, (ValaCodeGenerator*) self);
			_tmp134_ = vala_ccode_base_module_get_current_method_inner_error ((ValaCCodeBaseModule*) self);
			_tmp135_ = _tmp134_;
			if (_tmp135_) {
				ValaCCodeFunction* _tmp136_;
				ValaCCodeFunction* _tmp137_;
				ValaCCodeConstant* _tmp138_;
				ValaCCodeConstant* _tmp139_;
				ValaCCodeVariableDeclarator* _tmp140_;
				ValaCCodeVariableDeclarator* _tmp141_;
				_tmp136_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp137_ = _tmp136_;
				_tmp138_ = vala_ccode_constant_new ("NULL");
				_tmp139_ = _tmp138_;
				_tmp140_ = vala_ccode_variable_declarator_new_zero ("_inner_error_", (ValaCCodeExpression*) _tmp139_, NULL);
				_tmp141_ = _tmp140_;
				vala_ccode_function_add_declaration (_tmp137_, "GError *", (ValaCCodeDeclarator*) _tmp141_, 0);
				_vala_ccode_node_unref0 (_tmp141_);
				_vala_ccode_node_unref0 (_tmp139_);
			}
			vala_ccode_base_module_pop_context ((ValaCCodeBaseModule*) self);
		} else {
			ValaConstructor* _tmp142_;
			ValaMemberBinding _tmp143_;
			ValaMemberBinding _tmp144_;
			_tmp142_ = c;
			_tmp143_ = vala_constructor_get_binding (_tmp142_);
			_tmp144_ = _tmp143_;
			if (_tmp144_ == VALA_MEMBER_BINDING_STATIC) {
				ValaClass* _tmp145_;
				gboolean _tmp146_;
				gboolean _tmp147_;
				ValaCCodeBaseModuleEmitContext* _tmp152_;
				ValaConstructor* _tmp153_;
				ValaBlock* _tmp154_;
				ValaBlock* _tmp155_;
				gboolean _tmp156_;
				gboolean _tmp157_;
				_tmp145_ = cl;
				_tmp146_ = vala_class_get_is_compact (_tmp145_);
				_tmp147_ = _tmp146_;
				if (_tmp147_) {
					ValaConstructor* _tmp148_;
					ValaSourceReference* _tmp149_;
					ValaSourceReference* _tmp150_;
					ValaConstructor* _tmp151_;
					_tmp148_ = c;
					_tmp149_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp148_);
					_tmp150_ = _tmp149_;
					vala_report_error (_tmp150_, "static constructors are not supported in compact classes");
					_tmp151_ = c;
					vala_code_node_set_error ((ValaCodeNode*) _tmp151_, TRUE);
					_vala_code_node_unref0 (cl);
					return;
				}
				_tmp152_ = ((ValaCCodeBaseModule*) self)->class_init_context;
				vala_ccode_base_module_push_context ((ValaCCodeBaseModule*) self, _tmp152_);
				_tmp153_ = c;
				_tmp154_ = vala_subroutine_get_body ((ValaSubroutine*) _tmp153_);
				_tmp155_ = _tmp154_;
				vala_code_node_emit ((ValaCodeNode*) _tmp155_, (ValaCodeGenerator*) self);
				_tmp156_ = vala_ccode_base_module_get_current_method_inner_error ((ValaCCodeBaseModule*) self);
				_tmp157_ = _tmp156_;
				if (_tmp157_) {
					ValaCCodeFunction* _tmp158_;
					ValaCCodeFunction* _tmp159_;
					ValaCCodeConstant* _tmp160_;
					ValaCCodeConstant* _tmp161_;
					ValaCCodeVariableDeclarator* _tmp162_;
					ValaCCodeVariableDeclarator* _tmp163_;
					_tmp158_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp159_ = _tmp158_;
					_tmp160_ = vala_ccode_constant_new ("NULL");
					_tmp161_ = _tmp160_;
					_tmp162_ = vala_ccode_variable_declarator_new_zero ("_inner_error_", (ValaCCodeExpression*) _tmp161_, NULL);
					_tmp163_ = _tmp162_;
					vala_ccode_function_add_declaration (_tmp159_, "GError *", (ValaCCodeDeclarator*) _tmp163_, 0);
					_vala_ccode_node_unref0 (_tmp163_);
					_vala_ccode_node_unref0 (_tmp161_);
				}
				vala_ccode_base_module_pop_context ((ValaCCodeBaseModule*) self);
			} else {
				ValaConstructor* _tmp164_;
				ValaSourceReference* _tmp165_;
				ValaSourceReference* _tmp166_;
				_tmp164_ = c;
				_tmp165_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp164_);
				_tmp166_ = _tmp165_;
				vala_report_error (_tmp166_, "internal error: constructors must have instance, class, or static bind" \
"ing");
			}
		}
	}
	vala_ccode_base_module_pop_line ((ValaCCodeBaseModule*) self);
	_vala_code_node_unref0 (cl);
}


static gchar* vala_gobject_module_real_get_dynamic_property_getter_cname (ValaCCodeBaseModule* base, ValaDynamicProperty* prop) {
	ValaGObjectModule * self;
	gchar* result = NULL;
	gboolean _tmp0_ = FALSE;
	ValaDynamicProperty* _tmp1_;
	ValaDataType* _tmp2_;
	ValaDataType* _tmp3_;
	ValaTypeSymbol* _tmp4_;
	ValaTypeSymbol* _tmp5_;
	gchar* getter_cname = NULL;
	ValaDynamicProperty* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	gint _tmp18_;
	gchar* _tmp19_;
	ValaCCodeFunction* func = NULL;
	const gchar* _tmp20_;
	ValaDynamicProperty* _tmp21_;
	ValaDataType* _tmp22_;
	ValaDataType* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	ValaCCodeFunction* _tmp26_;
	ValaCCodeFunction* _tmp27_;
	ValaCCodeFunction* _tmp28_;
	ValaCCodeFunction* _tmp29_;
	ValaCCodeModifiers _tmp30_;
	ValaCCodeModifiers _tmp31_;
	ValaCCodeFunction* _tmp32_;
	ValaDynamicProperty* _tmp33_;
	ValaDataType* _tmp34_;
	ValaDataType* _tmp35_;
	gchar* _tmp36_;
	gchar* _tmp37_;
	ValaCCodeParameter* _tmp38_;
	ValaCCodeParameter* _tmp39_;
	ValaCCodeFunction* _tmp40_;
	ValaCCodeFunction* _tmp41_;
	ValaCCodeFunction* _tmp42_;
	ValaDynamicProperty* _tmp43_;
	ValaDataType* _tmp44_;
	ValaDataType* _tmp45_;
	gchar* _tmp46_;
	gchar* _tmp47_;
	ValaCCodeVariableDeclarator* _tmp48_;
	ValaCCodeVariableDeclarator* _tmp49_;
	ValaCCodeFunctionCall* call = NULL;
	ValaCCodeIdentifier* _tmp50_;
	ValaCCodeIdentifier* _tmp51_;
	ValaCCodeFunctionCall* _tmp52_;
	ValaCCodeFunctionCall* _tmp53_;
	ValaCCodeFunctionCall* _tmp54_;
	ValaCCodeIdentifier* _tmp55_;
	ValaCCodeIdentifier* _tmp56_;
	ValaCCodeFunctionCall* _tmp57_;
	ValaDynamicProperty* _tmp58_;
	ValaCCodeConstant* _tmp59_;
	ValaCCodeConstant* _tmp60_;
	ValaCCodeFunctionCall* _tmp61_;
	ValaCCodeIdentifier* _tmp62_;
	ValaCCodeIdentifier* _tmp63_;
	ValaCCodeUnaryExpression* _tmp64_;
	ValaCCodeUnaryExpression* _tmp65_;
	ValaCCodeFunctionCall* _tmp66_;
	ValaCCodeConstant* _tmp67_;
	ValaCCodeConstant* _tmp68_;
	ValaCCodeFunction* _tmp69_;
	ValaCCodeFunction* _tmp70_;
	ValaCCodeFunctionCall* _tmp71_;
	ValaCCodeFunction* _tmp72_;
	ValaCCodeFunction* _tmp73_;
	ValaCCodeIdentifier* _tmp74_;
	ValaCCodeIdentifier* _tmp75_;
	ValaCCodeFile* _tmp76_;
	ValaCCodeFunction* _tmp77_;
	ValaCCodeFile* _tmp78_;
	ValaCCodeFunction* _tmp79_;
	self = (ValaGObjectModule*) base;
	g_return_val_if_fail (prop != NULL, NULL);
	_tmp1_ = prop;
	_tmp2_ = vala_dynamic_property_get_dynamic_type (_tmp1_);
	_tmp3_ = _tmp2_;
	_tmp4_ = vala_data_type_get_data_type (_tmp3_);
	_tmp5_ = _tmp4_;
	if (_tmp5_ == NULL) {
		_tmp0_ = TRUE;
	} else {
		ValaDynamicProperty* _tmp6_;
		ValaDataType* _tmp7_;
		ValaDataType* _tmp8_;
		ValaTypeSymbol* _tmp9_;
		ValaTypeSymbol* _tmp10_;
		ValaTypeSymbol* _tmp11_;
		gboolean _tmp12_;
		_tmp6_ = prop;
		_tmp7_ = vala_dynamic_property_get_dynamic_type (_tmp6_);
		_tmp8_ = _tmp7_;
		_tmp9_ = vala_data_type_get_data_type (_tmp8_);
		_tmp10_ = _tmp9_;
		_tmp11_ = ((ValaCCodeBaseModule*) self)->gobject_type;
		_tmp12_ = vala_typesymbol_is_subtype_of (_tmp10_, _tmp11_);
		_tmp0_ = !_tmp12_;
	}
	if (_tmp0_) {
		ValaDynamicProperty* _tmp13_;
		gchar* _tmp14_;
		_tmp13_ = prop;
		_tmp14_ = VALA_CCODE_BASE_MODULE_CLASS (vala_gobject_module_parent_class)->get_dynamic_property_getter_cname ((ValaCCodeBaseModule*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp13_);
		result = _tmp14_;
		return result;
	}
	_tmp15_ = prop;
	_tmp16_ = vala_symbol_get_name ((ValaSymbol*) _tmp15_);
	_tmp17_ = _tmp16_;
	_tmp18_ = self->priv->dynamic_property_id;
	self->priv->dynamic_property_id = _tmp18_ + 1;
	_tmp19_ = g_strdup_printf ("_dynamic_get_%s%d", _tmp17_, _tmp18_);
	getter_cname = _tmp19_;
	_tmp20_ = getter_cname;
	_tmp21_ = prop;
	_tmp22_ = vala_property_get_property_type ((ValaProperty*) _tmp21_);
	_tmp23_ = _tmp22_;
	_tmp24_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp23_);
	_tmp25_ = _tmp24_;
	_tmp26_ = vala_ccode_function_new (_tmp20_, _tmp25_);
	_tmp27_ = _tmp26_;
	_g_free0 (_tmp25_);
	func = _tmp27_;
	_tmp28_ = func;
	_tmp29_ = func;
	_tmp30_ = vala_ccode_node_get_modifiers ((ValaCCodeNode*) _tmp29_);
	_tmp31_ = _tmp30_;
	vala_ccode_node_set_modifiers ((ValaCCodeNode*) _tmp29_, _tmp31_ | (VALA_CCODE_MODIFIERS_STATIC | VALA_CCODE_MODIFIERS_INLINE));
	_tmp32_ = func;
	_tmp33_ = prop;
	_tmp34_ = vala_dynamic_property_get_dynamic_type (_tmp33_);
	_tmp35_ = _tmp34_;
	_tmp36_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp35_);
	_tmp37_ = _tmp36_;
	_tmp38_ = vala_ccode_parameter_new ("obj", _tmp37_);
	_tmp39_ = _tmp38_;
	vala_ccode_function_add_parameter (_tmp32_, _tmp39_);
	_vala_ccode_node_unref0 (_tmp39_);
	_g_free0 (_tmp37_);
	_tmp40_ = func;
	vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp40_);
	_tmp41_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp42_ = _tmp41_;
	_tmp43_ = prop;
	_tmp44_ = vala_property_get_property_type ((ValaProperty*) _tmp43_);
	_tmp45_ = _tmp44_;
	_tmp46_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp45_);
	_tmp47_ = _tmp46_;
	_tmp48_ = vala_ccode_variable_declarator_new ("result", NULL, NULL);
	_tmp49_ = _tmp48_;
	vala_ccode_function_add_declaration (_tmp42_, _tmp47_, (ValaCCodeDeclarator*) _tmp49_, 0);
	_vala_ccode_node_unref0 (_tmp49_);
	_g_free0 (_tmp47_);
	_tmp50_ = vala_ccode_identifier_new ("g_object_get");
	_tmp51_ = _tmp50_;
	_tmp52_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp51_);
	_tmp53_ = _tmp52_;
	_vala_ccode_node_unref0 (_tmp51_);
	call = _tmp53_;
	_tmp54_ = call;
	_tmp55_ = vala_ccode_identifier_new ("obj");
	_tmp56_ = _tmp55_;
	vala_ccode_function_call_add_argument (_tmp54_, (ValaCCodeExpression*) _tmp56_);
	_vala_ccode_node_unref0 (_tmp56_);
	_tmp57_ = call;
	_tmp58_ = prop;
	_tmp59_ = vala_ccode_base_module_get_property_canonical_cconstant ((ValaCCodeBaseModule*) self, (ValaProperty*) _tmp58_);
	_tmp60_ = _tmp59_;
	vala_ccode_function_call_add_argument (_tmp57_, (ValaCCodeExpression*) _tmp60_);
	_vala_ccode_node_unref0 (_tmp60_);
	_tmp61_ = call;
	_tmp62_ = vala_ccode_identifier_new ("result");
	_tmp63_ = _tmp62_;
	_tmp64_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp63_);
	_tmp65_ = _tmp64_;
	vala_ccode_function_call_add_argument (_tmp61_, (ValaCCodeExpression*) _tmp65_);
	_vala_ccode_node_unref0 (_tmp65_);
	_vala_ccode_node_unref0 (_tmp63_);
	_tmp66_ = call;
	_tmp67_ = vala_ccode_constant_new ("NULL");
	_tmp68_ = _tmp67_;
	vala_ccode_function_call_add_argument (_tmp66_, (ValaCCodeExpression*) _tmp68_);
	_vala_ccode_node_unref0 (_tmp68_);
	_tmp69_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp70_ = _tmp69_;
	_tmp71_ = call;
	vala_ccode_function_add_expression (_tmp70_, (ValaCCodeExpression*) _tmp71_);
	_tmp72_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp73_ = _tmp72_;
	_tmp74_ = vala_ccode_identifier_new ("result");
	_tmp75_ = _tmp74_;
	vala_ccode_function_add_return (_tmp73_, (ValaCCodeExpression*) _tmp75_);
	_vala_ccode_node_unref0 (_tmp75_);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp76_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp77_ = func;
	vala_ccode_file_add_function_declaration (_tmp76_, _tmp77_);
	_tmp78_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp79_ = func;
	vala_ccode_file_add_function (_tmp78_, _tmp79_);
	result = getter_cname;
	_vala_ccode_node_unref0 (call);
	_vala_ccode_node_unref0 (func);
	return result;
}


static gchar* vala_gobject_module_real_get_dynamic_property_setter_cname (ValaCCodeBaseModule* base, ValaDynamicProperty* prop) {
	ValaGObjectModule * self;
	gchar* result = NULL;
	gboolean _tmp0_ = FALSE;
	ValaDynamicProperty* _tmp1_;
	ValaDataType* _tmp2_;
	ValaDataType* _tmp3_;
	ValaTypeSymbol* _tmp4_;
	ValaTypeSymbol* _tmp5_;
	gchar* setter_cname = NULL;
	ValaDynamicProperty* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	gint _tmp18_;
	gchar* _tmp19_;
	ValaCCodeFunction* func = NULL;
	const gchar* _tmp20_;
	ValaCCodeFunction* _tmp21_;
	ValaCCodeFunction* _tmp22_;
	ValaCCodeFunction* _tmp23_;
	ValaCCodeModifiers _tmp24_;
	ValaCCodeModifiers _tmp25_;
	ValaCCodeFunction* _tmp26_;
	ValaDynamicProperty* _tmp27_;
	ValaDataType* _tmp28_;
	ValaDataType* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	ValaCCodeParameter* _tmp32_;
	ValaCCodeParameter* _tmp33_;
	ValaCCodeFunction* _tmp34_;
	ValaDynamicProperty* _tmp35_;
	ValaDataType* _tmp36_;
	ValaDataType* _tmp37_;
	gchar* _tmp38_;
	gchar* _tmp39_;
	ValaCCodeParameter* _tmp40_;
	ValaCCodeParameter* _tmp41_;
	ValaCCodeFunction* _tmp42_;
	ValaCCodeFunctionCall* call = NULL;
	ValaCCodeIdentifier* _tmp43_;
	ValaCCodeIdentifier* _tmp44_;
	ValaCCodeFunctionCall* _tmp45_;
	ValaCCodeFunctionCall* _tmp46_;
	ValaCCodeFunctionCall* _tmp47_;
	ValaCCodeIdentifier* _tmp48_;
	ValaCCodeIdentifier* _tmp49_;
	ValaCCodeFunctionCall* _tmp50_;
	ValaDynamicProperty* _tmp51_;
	ValaCCodeConstant* _tmp52_;
	ValaCCodeConstant* _tmp53_;
	ValaCCodeFunctionCall* _tmp54_;
	ValaCCodeIdentifier* _tmp55_;
	ValaCCodeIdentifier* _tmp56_;
	ValaCCodeFunctionCall* _tmp57_;
	ValaCCodeConstant* _tmp58_;
	ValaCCodeConstant* _tmp59_;
	ValaCCodeFunction* _tmp60_;
	ValaCCodeFunction* _tmp61_;
	ValaCCodeFunctionCall* _tmp62_;
	ValaCCodeFile* _tmp63_;
	ValaCCodeFunction* _tmp64_;
	ValaCCodeFile* _tmp65_;
	ValaCCodeFunction* _tmp66_;
	self = (ValaGObjectModule*) base;
	g_return_val_if_fail (prop != NULL, NULL);
	_tmp1_ = prop;
	_tmp2_ = vala_dynamic_property_get_dynamic_type (_tmp1_);
	_tmp3_ = _tmp2_;
	_tmp4_ = vala_data_type_get_data_type (_tmp3_);
	_tmp5_ = _tmp4_;
	if (_tmp5_ == NULL) {
		_tmp0_ = TRUE;
	} else {
		ValaDynamicProperty* _tmp6_;
		ValaDataType* _tmp7_;
		ValaDataType* _tmp8_;
		ValaTypeSymbol* _tmp9_;
		ValaTypeSymbol* _tmp10_;
		ValaTypeSymbol* _tmp11_;
		gboolean _tmp12_;
		_tmp6_ = prop;
		_tmp7_ = vala_dynamic_property_get_dynamic_type (_tmp6_);
		_tmp8_ = _tmp7_;
		_tmp9_ = vala_data_type_get_data_type (_tmp8_);
		_tmp10_ = _tmp9_;
		_tmp11_ = ((ValaCCodeBaseModule*) self)->gobject_type;
		_tmp12_ = vala_typesymbol_is_subtype_of (_tmp10_, _tmp11_);
		_tmp0_ = !_tmp12_;
	}
	if (_tmp0_) {
		ValaDynamicProperty* _tmp13_;
		gchar* _tmp14_;
		_tmp13_ = prop;
		_tmp14_ = VALA_CCODE_BASE_MODULE_CLASS (vala_gobject_module_parent_class)->get_dynamic_property_setter_cname ((ValaCCodeBaseModule*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp13_);
		result = _tmp14_;
		return result;
	}
	_tmp15_ = prop;
	_tmp16_ = vala_symbol_get_name ((ValaSymbol*) _tmp15_);
	_tmp17_ = _tmp16_;
	_tmp18_ = self->priv->dynamic_property_id;
	self->priv->dynamic_property_id = _tmp18_ + 1;
	_tmp19_ = g_strdup_printf ("_dynamic_set_%s%d", _tmp17_, _tmp18_);
	setter_cname = _tmp19_;
	_tmp20_ = setter_cname;
	_tmp21_ = vala_ccode_function_new (_tmp20_, "void");
	func = _tmp21_;
	_tmp22_ = func;
	_tmp23_ = func;
	_tmp24_ = vala_ccode_node_get_modifiers ((ValaCCodeNode*) _tmp23_);
	_tmp25_ = _tmp24_;
	vala_ccode_node_set_modifiers ((ValaCCodeNode*) _tmp23_, _tmp25_ | (VALA_CCODE_MODIFIERS_STATIC | VALA_CCODE_MODIFIERS_INLINE));
	_tmp26_ = func;
	_tmp27_ = prop;
	_tmp28_ = vala_dynamic_property_get_dynamic_type (_tmp27_);
	_tmp29_ = _tmp28_;
	_tmp30_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp29_);
	_tmp31_ = _tmp30_;
	_tmp32_ = vala_ccode_parameter_new ("obj", _tmp31_);
	_tmp33_ = _tmp32_;
	vala_ccode_function_add_parameter (_tmp26_, _tmp33_);
	_vala_ccode_node_unref0 (_tmp33_);
	_g_free0 (_tmp31_);
	_tmp34_ = func;
	_tmp35_ = prop;
	_tmp36_ = vala_property_get_property_type ((ValaProperty*) _tmp35_);
	_tmp37_ = _tmp36_;
	_tmp38_ = vala_ccode_base_module_get_ccode_name ((ValaCodeNode*) _tmp37_);
	_tmp39_ = _tmp38_;
	_tmp40_ = vala_ccode_parameter_new ("value", _tmp39_);
	_tmp41_ = _tmp40_;
	vala_ccode_function_add_parameter (_tmp34_, _tmp41_);
	_vala_ccode_node_unref0 (_tmp41_);
	_g_free0 (_tmp39_);
	_tmp42_ = func;
	vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp42_);
	_tmp43_ = vala_ccode_identifier_new ("g_object_set");
	_tmp44_ = _tmp43_;
	_tmp45_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp44_);
	_tmp46_ = _tmp45_;
	_vala_ccode_node_unref0 (_tmp44_);
	call = _tmp46_;
	_tmp47_ = call;
	_tmp48_ = vala_ccode_identifier_new ("obj");
	_tmp49_ = _tmp48_;
	vala_ccode_function_call_add_argument (_tmp47_, (ValaCCodeExpression*) _tmp49_);
	_vala_ccode_node_unref0 (_tmp49_);
	_tmp50_ = call;
	_tmp51_ = prop;
	_tmp52_ = vala_ccode_base_module_get_property_canonical_cconstant ((ValaCCodeBaseModule*) self, (ValaProperty*) _tmp51_);
	_tmp53_ = _tmp52_;
	vala_ccode_function_call_add_argument (_tmp50_, (ValaCCodeExpression*) _tmp53_);
	_vala_ccode_node_unref0 (_tmp53_);
	_tmp54_ = call;
	_tmp55_ = vala_ccode_identifier_new ("value");
	_tmp56_ = _tmp55_;
	vala_ccode_function_call_add_argument (_tmp54_, (ValaCCodeExpression*) _tmp56_);
	_vala_ccode_node_unref0 (_tmp56_);
	_tmp57_ = call;
	_tmp58_ = vala_ccode_constant_new ("NULL");
	_tmp59_ = _tmp58_;
	vala_ccode_function_call_add_argument (_tmp57_, (ValaCCodeExpression*) _tmp59_);
	_vala_ccode_node_unref0 (_tmp59_);
	_tmp60_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp61_ = _tmp60_;
	_tmp62_ = call;
	vala_ccode_function_add_expression (_tmp61_, (ValaCCodeExpression*) _tmp62_);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp63_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp64_ = func;
	vala_ccode_file_add_function_declaration (_tmp63_, _tmp64_);
	_tmp65_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp66_ = func;
	vala_ccode_file_add_function (_tmp65_, _tmp66_);
	result = setter_cname;
	_vala_ccode_node_unref0 (call);
	_vala_ccode_node_unref0 (func);
	return result;
}


static gchar* vala_gobject_module_real_get_dynamic_signal_cname (ValaCCodeBaseModule* base, ValaDynamicSignal* node) {
	ValaGObjectModule * self;
	gchar* result = NULL;
	ValaDynamicSignal* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	gchar* _tmp4_;
	self = (ValaGObjectModule*) base;
	g_return_val_if_fail (node != NULL, NULL);
	_tmp0_ = node;
	_tmp1_ = vala_symbol_get_name ((ValaSymbol*) _tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = self->priv->signal_wrapper_id;
	self->priv->signal_wrapper_id = _tmp3_ + 1;
	_tmp4_ = g_strdup_printf ("dynamic_%s%d_", _tmp2_, _tmp3_);
	result = _tmp4_;
	return result;
}


static gchar* vala_gobject_module_real_get_dynamic_signal_connect_wrapper_name (ValaCCodeBaseModule* base, ValaDynamicSignal* sig) {
	ValaGObjectModule * self;
	gchar* result = NULL;
	gboolean _tmp0_ = FALSE;
	ValaDynamicSignal* _tmp1_;
	ValaDataType* _tmp2_;
	ValaDataType* _tmp3_;
	ValaTypeSymbol* _tmp4_;
	ValaTypeSymbol* _tmp5_;
	gchar* connect_wrapper_name = NULL;
	ValaDynamicSignal* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	ValaCCodeFunction* func = NULL;
	const gchar* _tmp20_;
	ValaCCodeFunction* _tmp21_;
	ValaCCodeFunction* _tmp22_;
	ValaCCodeParameter* _tmp23_;
	ValaCCodeParameter* _tmp24_;
	ValaCCodeFunction* _tmp25_;
	ValaCCodeParameter* _tmp26_;
	ValaCCodeParameter* _tmp27_;
	ValaCCodeFunction* _tmp28_;
	ValaCCodeParameter* _tmp29_;
	ValaCCodeParameter* _tmp30_;
	ValaCCodeFunction* _tmp31_;
	ValaCCodeParameter* _tmp32_;
	ValaCCodeParameter* _tmp33_;
	ValaCCodeFunction* _tmp34_;
	ValaDynamicSignal* _tmp35_;
	ValaCCodeFile* _tmp36_;
	ValaCCodeFunction* _tmp37_;
	ValaCCodeFile* _tmp38_;
	ValaCCodeFunction* _tmp39_;
	self = (ValaGObjectModule*) base;
	g_return_val_if_fail (sig != NULL, NULL);
	_tmp1_ = sig;
	_tmp2_ = vala_dynamic_signal_get_dynamic_type (_tmp1_);
	_tmp3_ = _tmp2_;
	_tmp4_ = vala_data_type_get_data_type (_tmp3_);
	_tmp5_ = _tmp4_;
	if (_tmp5_ == NULL) {
		_tmp0_ = TRUE;
	} else {
		ValaDynamicSignal* _tmp6_;
		ValaDataType* _tmp7_;
		ValaDataType* _tmp8_;
		ValaTypeSymbol* _tmp9_;
		ValaTypeSymbol* _tmp10_;
		ValaTypeSymbol* _tmp11_;
		gboolean _tmp12_;
		_tmp6_ = sig;
		_tmp7_ = vala_dynamic_signal_get_dynamic_type (_tmp6_);
		_tmp8_ = _tmp7_;
		_tmp9_ = vala_data_type_get_data_type (_tmp8_);
		_tmp10_ = _tmp9_;
		_tmp11_ = ((ValaCCodeBaseModule*) self)->gobject_type;
		_tmp12_ = vala_typesymbol_is_subtype_of (_tmp10_, _tmp11_);
		_tmp0_ = !_tmp12_;
	}
	if (_tmp0_) {
		ValaDynamicSignal* _tmp13_;
		gchar* _tmp14_;
		_tmp13_ = sig;
		_tmp14_ = VALA_CCODE_BASE_MODULE_CLASS (vala_gobject_module_parent_class)->get_dynamic_signal_connect_wrapper_name ((ValaCCodeBaseModule*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp13_);
		result = _tmp14_;
		return result;
	}
	_tmp15_ = sig;
	_tmp16_ = vala_ccode_base_module_get_dynamic_signal_cname ((ValaCCodeBaseModule*) self, _tmp15_);
	_tmp17_ = _tmp16_;
	_tmp18_ = g_strdup_printf ("_%sconnect", _tmp17_);
	_tmp19_ = _tmp18_;
	_g_free0 (_tmp17_);
	connect_wrapper_name = _tmp19_;
	_tmp20_ = connect_wrapper_name;
	_tmp21_ = vala_ccode_function_new (_tmp20_, "gulong");
	func = _tmp21_;
	_tmp22_ = func;
	_tmp23_ = vala_ccode_parameter_new ("obj", "gpointer");
	_tmp24_ = _tmp23_;
	vala_ccode_function_add_parameter (_tmp22_, _tmp24_);
	_vala_ccode_node_unref0 (_tmp24_);
	_tmp25_ = func;
	_tmp26_ = vala_ccode_parameter_new ("signal_name", "const char *");
	_tmp27_ = _tmp26_;
	vala_ccode_function_add_parameter (_tmp25_, _tmp27_);
	_vala_ccode_node_unref0 (_tmp27_);
	_tmp28_ = func;
	_tmp29_ = vala_ccode_parameter_new ("handler", "GCallback");
	_tmp30_ = _tmp29_;
	vala_ccode_function_add_parameter (_tmp28_, _tmp30_);
	_vala_ccode_node_unref0 (_tmp30_);
	_tmp31_ = func;
	_tmp32_ = vala_ccode_parameter_new ("data", "gpointer");
	_tmp33_ = _tmp32_;
	vala_ccode_function_add_parameter (_tmp31_, _tmp33_);
	_vala_ccode_node_unref0 (_tmp33_);
	_tmp34_ = func;
	vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp34_);
	_tmp35_ = sig;
	vala_gobject_module_generate_gobject_connect_wrapper (self, _tmp35_, FALSE);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp36_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp37_ = func;
	vala_ccode_file_add_function_declaration (_tmp36_, _tmp37_);
	_tmp38_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp39_ = func;
	vala_ccode_file_add_function (_tmp38_, _tmp39_);
	result = connect_wrapper_name;
	_vala_ccode_node_unref0 (func);
	return result;
}


static gchar* vala_gobject_module_real_get_dynamic_signal_connect_after_wrapper_name (ValaCCodeBaseModule* base, ValaDynamicSignal* sig) {
	ValaGObjectModule * self;
	gchar* result = NULL;
	gboolean _tmp0_ = FALSE;
	ValaDynamicSignal* _tmp1_;
	ValaDataType* _tmp2_;
	ValaDataType* _tmp3_;
	ValaTypeSymbol* _tmp4_;
	ValaTypeSymbol* _tmp5_;
	gchar* connect_wrapper_name = NULL;
	ValaDynamicSignal* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	ValaCCodeFunction* func = NULL;
	const gchar* _tmp20_;
	ValaCCodeFunction* _tmp21_;
	ValaCCodeFunction* _tmp22_;
	ValaCCodeParameter* _tmp23_;
	ValaCCodeParameter* _tmp24_;
	ValaCCodeFunction* _tmp25_;
	ValaCCodeParameter* _tmp26_;
	ValaCCodeParameter* _tmp27_;
	ValaCCodeFunction* _tmp28_;
	ValaCCodeParameter* _tmp29_;
	ValaCCodeParameter* _tmp30_;
	ValaCCodeFunction* _tmp31_;
	ValaCCodeParameter* _tmp32_;
	ValaCCodeParameter* _tmp33_;
	ValaCCodeFunction* _tmp34_;
	ValaDynamicSignal* _tmp35_;
	ValaCCodeFile* _tmp36_;
	ValaCCodeFunction* _tmp37_;
	ValaCCodeFile* _tmp38_;
	ValaCCodeFunction* _tmp39_;
	self = (ValaGObjectModule*) base;
	g_return_val_if_fail (sig != NULL, NULL);
	_tmp1_ = sig;
	_tmp2_ = vala_dynamic_signal_get_dynamic_type (_tmp1_);
	_tmp3_ = _tmp2_;
	_tmp4_ = vala_data_type_get_data_type (_tmp3_);
	_tmp5_ = _tmp4_;
	if (_tmp5_ == NULL) {
		_tmp0_ = TRUE;
	} else {
		ValaDynamicSignal* _tmp6_;
		ValaDataType* _tmp7_;
		ValaDataType* _tmp8_;
		ValaTypeSymbol* _tmp9_;
		ValaTypeSymbol* _tmp10_;
		ValaTypeSymbol* _tmp11_;
		gboolean _tmp12_;
		_tmp6_ = sig;
		_tmp7_ = vala_dynamic_signal_get_dynamic_type (_tmp6_);
		_tmp8_ = _tmp7_;
		_tmp9_ = vala_data_type_get_data_type (_tmp8_);
		_tmp10_ = _tmp9_;
		_tmp11_ = ((ValaCCodeBaseModule*) self)->gobject_type;
		_tmp12_ = vala_typesymbol_is_subtype_of (_tmp10_, _tmp11_);
		_tmp0_ = !_tmp12_;
	}
	if (_tmp0_) {
		ValaDynamicSignal* _tmp13_;
		gchar* _tmp14_;
		_tmp13_ = sig;
		_tmp14_ = VALA_CCODE_BASE_MODULE_CLASS (vala_gobject_module_parent_class)->get_dynamic_signal_connect_wrapper_name ((ValaCCodeBaseModule*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp13_);
		result = _tmp14_;
		return result;
	}
	_tmp15_ = sig;
	_tmp16_ = vala_ccode_base_module_get_dynamic_signal_cname ((ValaCCodeBaseModule*) self, _tmp15_);
	_tmp17_ = _tmp16_;
	_tmp18_ = g_strdup_printf ("_%sconnect_after", _tmp17_);
	_tmp19_ = _tmp18_;
	_g_free0 (_tmp17_);
	connect_wrapper_name = _tmp19_;
	_tmp20_ = connect_wrapper_name;
	_tmp21_ = vala_ccode_function_new (_tmp20_, "gulong");
	func = _tmp21_;
	_tmp22_ = func;
	_tmp23_ = vala_ccode_parameter_new ("obj", "gpointer");
	_tmp24_ = _tmp23_;
	vala_ccode_function_add_parameter (_tmp22_, _tmp24_);
	_vala_ccode_node_unref0 (_tmp24_);
	_tmp25_ = func;
	_tmp26_ = vala_ccode_parameter_new ("signal_name", "const char *");
	_tmp27_ = _tmp26_;
	vala_ccode_function_add_parameter (_tmp25_, _tmp27_);
	_vala_ccode_node_unref0 (_tmp27_);
	_tmp28_ = func;
	_tmp29_ = vala_ccode_parameter_new ("handler", "GCallback");
	_tmp30_ = _tmp29_;
	vala_ccode_function_add_parameter (_tmp28_, _tmp30_);
	_vala_ccode_node_unref0 (_tmp30_);
	_tmp31_ = func;
	_tmp32_ = vala_ccode_parameter_new ("data", "gpointer");
	_tmp33_ = _tmp32_;
	vala_ccode_function_add_parameter (_tmp31_, _tmp33_);
	_vala_ccode_node_unref0 (_tmp33_);
	_tmp34_ = func;
	vala_ccode_base_module_push_function ((ValaCCodeBaseModule*) self, _tmp34_);
	_tmp35_ = sig;
	vala_gobject_module_generate_gobject_connect_wrapper (self, _tmp35_, TRUE);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp36_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp37_ = func;
	vala_ccode_file_add_function_declaration (_tmp36_, _tmp37_);
	_tmp38_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp39_ = func;
	vala_ccode_file_add_function (_tmp38_, _tmp39_);
	result = connect_wrapper_name;
	_vala_ccode_node_unref0 (func);
	return result;
}


static void vala_gobject_module_generate_gobject_connect_wrapper (ValaGObjectModule* self, ValaDynamicSignal* sig, gboolean after) {
	ValaMethod* m = NULL;
	ValaDynamicSignal* _tmp0_;
	ValaExpression* _tmp1_;
	ValaExpression* _tmp2_;
	ValaSymbol* _tmp3_;
	ValaSymbol* _tmp4_;
	ValaMethod* _tmp5_;
	ValaDynamicSignal* _tmp6_;
	gchar* connect_func = NULL;
	gchar* _tmp7_;
	ValaMethod* _tmp8_;
	ValaMemberBinding _tmp9_;
	ValaMemberBinding _tmp10_;
	ValaCCodeFunctionCall* call = NULL;
	const gchar* _tmp14_;
	ValaCCodeIdentifier* _tmp15_;
	ValaCCodeIdentifier* _tmp16_;
	ValaCCodeFunctionCall* _tmp17_;
	ValaCCodeFunctionCall* _tmp18_;
	ValaCCodeFunctionCall* _tmp19_;
	ValaCCodeIdentifier* _tmp20_;
	ValaCCodeIdentifier* _tmp21_;
	ValaCCodeFunctionCall* _tmp22_;
	ValaCCodeIdentifier* _tmp23_;
	ValaCCodeIdentifier* _tmp24_;
	ValaCCodeFunctionCall* _tmp25_;
	ValaCCodeIdentifier* _tmp26_;
	ValaCCodeIdentifier* _tmp27_;
	ValaCCodeFunctionCall* _tmp28_;
	ValaCCodeIdentifier* _tmp29_;
	ValaCCodeIdentifier* _tmp30_;
	ValaMethod* _tmp31_;
	ValaMemberBinding _tmp32_;
	ValaMemberBinding _tmp33_;
	ValaCCodeFunction* _tmp41_;
	ValaCCodeFunction* _tmp42_;
	ValaCCodeFunctionCall* _tmp43_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (sig != NULL);
	_tmp0_ = sig;
	_tmp1_ = vala_dynamic_signal_get_handler (_tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = vala_expression_get_symbol_reference (_tmp2_);
	_tmp4_ = _tmp3_;
	_tmp5_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, VALA_TYPE_METHOD, ValaMethod));
	m = _tmp5_;
	_tmp6_ = sig;
	vala_code_node_accept ((ValaCodeNode*) _tmp6_, (ValaCodeVisitor*) self);
	_tmp7_ = g_strdup ("g_signal_connect_object");
	connect_func = _tmp7_;
	_tmp8_ = m;
	_tmp9_ = vala_method_get_binding (_tmp8_);
	_tmp10_ = _tmp9_;
	if (_tmp10_ != VALA_MEMBER_BINDING_INSTANCE) {
		gboolean _tmp11_;
		_tmp11_ = after;
		if (!_tmp11_) {
			gchar* _tmp12_;
			_tmp12_ = g_strdup ("g_signal_connect");
			_g_free0 (connect_func);
			connect_func = _tmp12_;
		} else {
			gchar* _tmp13_;
			_tmp13_ = g_strdup ("g_signal_connect_after");
			_g_free0 (connect_func);
			connect_func = _tmp13_;
		}
	}
	_tmp14_ = connect_func;
	_tmp15_ = vala_ccode_identifier_new (_tmp14_);
	_tmp16_ = _tmp15_;
	_tmp17_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp16_);
	_tmp18_ = _tmp17_;
	_vala_ccode_node_unref0 (_tmp16_);
	call = _tmp18_;
	_tmp19_ = call;
	_tmp20_ = vala_ccode_identifier_new ("obj");
	_tmp21_ = _tmp20_;
	vala_ccode_function_call_add_argument (_tmp19_, (ValaCCodeExpression*) _tmp21_);
	_vala_ccode_node_unref0 (_tmp21_);
	_tmp22_ = call;
	_tmp23_ = vala_ccode_identifier_new ("signal_name");
	_tmp24_ = _tmp23_;
	vala_ccode_function_call_add_argument (_tmp22_, (ValaCCodeExpression*) _tmp24_);
	_vala_ccode_node_unref0 (_tmp24_);
	_tmp25_ = call;
	_tmp26_ = vala_ccode_identifier_new ("handler");
	_tmp27_ = _tmp26_;
	vala_ccode_function_call_add_argument (_tmp25_, (ValaCCodeExpression*) _tmp27_);
	_vala_ccode_node_unref0 (_tmp27_);
	_tmp28_ = call;
	_tmp29_ = vala_ccode_identifier_new ("data");
	_tmp30_ = _tmp29_;
	vala_ccode_function_call_add_argument (_tmp28_, (ValaCCodeExpression*) _tmp30_);
	_vala_ccode_node_unref0 (_tmp30_);
	_tmp31_ = m;
	_tmp32_ = vala_method_get_binding (_tmp31_);
	_tmp33_ = _tmp32_;
	if (_tmp33_ == VALA_MEMBER_BINDING_INSTANCE) {
		gboolean _tmp34_;
		_tmp34_ = after;
		if (!_tmp34_) {
			ValaCCodeFunctionCall* _tmp35_;
			ValaCCodeConstant* _tmp36_;
			ValaCCodeConstant* _tmp37_;
			_tmp35_ = call;
			_tmp36_ = vala_ccode_constant_new ("0");
			_tmp37_ = _tmp36_;
			vala_ccode_function_call_add_argument (_tmp35_, (ValaCCodeExpression*) _tmp37_);
			_vala_ccode_node_unref0 (_tmp37_);
		} else {
			ValaCCodeFunctionCall* _tmp38_;
			ValaCCodeConstant* _tmp39_;
			ValaCCodeConstant* _tmp40_;
			_tmp38_ = call;
			_tmp39_ = vala_ccode_constant_new ("G_CONNECT_AFTER");
			_tmp40_ = _tmp39_;
			vala_ccode_function_call_add_argument (_tmp38_, (ValaCCodeExpression*) _tmp40_);
			_vala_ccode_node_unref0 (_tmp40_);
		}
	}
	_tmp41_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp42_ = _tmp41_;
	_tmp43_ = call;
	vala_ccode_function_add_return (_tmp42_, (ValaCCodeExpression*) _tmp43_);
	_vala_ccode_node_unref0 (call);
	_g_free0 (connect_func);
	_vala_code_node_unref0 (m);
}


static void vala_gobject_module_real_visit_property (ValaCodeVisitor* base, ValaProperty* prop) {
	ValaGObjectModule * self;
	ValaProperty* _tmp0_;
	gboolean _tmp1_ = FALSE;
	ValaProperty* _tmp2_;
	gboolean _tmp3_;
	self = (ValaGObjectModule*) base;
	g_return_if_fail (prop != NULL);
	_tmp0_ = prop;
	VALA_CODE_VISITOR_CLASS (vala_gobject_module_parent_class)->visit_property ((ValaCodeVisitor*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp0_);
	_tmp2_ = prop;
	_tmp3_ = vala_ccode_base_module_is_gobject_property ((ValaCCodeBaseModule*) self, _tmp2_);
	if (_tmp3_) {
		ValaProperty* _tmp4_;
		ValaSymbol* _tmp5_;
		ValaSymbol* _tmp6_;
		_tmp4_ = prop;
		_tmp5_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp4_);
		_tmp6_ = _tmp5_;
		_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, VALA_TYPE_CLASS);
	} else {
		_tmp1_ = FALSE;
	}
	if (_tmp1_) {
		ValaCCodeEnum* _tmp7_;
		ValaProperty* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		ValaCCodeEnumValue* _tmp11_;
		ValaCCodeEnumValue* _tmp12_;
		gboolean _tmp13_ = FALSE;
		gboolean _tmp14_ = FALSE;
		ValaProperty* _tmp15_;
		ValaExpression* _tmp16_;
		ValaExpression* _tmp17_;
		_tmp7_ = ((ValaCCodeBaseModule*) self)->prop_enum;
		_tmp8_ = prop;
		_tmp9_ = vala_ccode_base_module_get_ccode_upper_case_name ((ValaSymbol*) _tmp8_, NULL);
		_tmp10_ = _tmp9_;
		_tmp11_ = vala_ccode_enum_value_new (_tmp10_, NULL);
		_tmp12_ = _tmp11_;
		vala_ccode_enum_add_value (_tmp7_, _tmp12_);
		_vala_ccode_node_unref0 (_tmp12_);
		_g_free0 (_tmp10_);
		_tmp15_ = prop;
		_tmp16_ = vala_property_get_initializer (_tmp15_);
		_tmp17_ = _tmp16_;
		if (_tmp17_ != NULL) {
			ValaProperty* _tmp18_;
			ValaPropertyAccessor* _tmp19_;
			ValaPropertyAccessor* _tmp20_;
			_tmp18_ = prop;
			_tmp19_ = vala_property_get_set_accessor (_tmp18_);
			_tmp20_ = _tmp19_;
			_tmp14_ = _tmp20_ != NULL;
		} else {
			_tmp14_ = FALSE;
		}
		if (_tmp14_) {
			ValaProperty* _tmp21_;
			ValaPropertyAccessor* _tmp22_;
			ValaPropertyAccessor* _tmp23_;
			gboolean _tmp24_;
			gboolean _tmp25_;
			_tmp21_ = prop;
			_tmp22_ = vala_property_get_set_accessor (_tmp21_);
			_tmp23_ = _tmp22_;
			_tmp24_ = vala_property_accessor_get_automatic_body (_tmp23_);
			_tmp25_ = _tmp24_;
			_tmp13_ = !_tmp25_;
		} else {
			_tmp13_ = FALSE;
		}
		if (_tmp13_) {
			gboolean has_spec_initializer = FALSE;
			ValaProperty* _tmp26_;
			ValaDataType* _tmp27_;
			ValaDataType* _tmp28_;
			ValaTypeSymbol* _tmp29_;
			ValaTypeSymbol* _tmp30_;
			gboolean _tmp31_ = FALSE;
			gboolean _tmp32_;
			gboolean _tmp45_;
			_tmp26_ = prop;
			_tmp27_ = vala_property_get_property_type (_tmp26_);
			_tmp28_ = _tmp27_;
			_tmp29_ = vala_data_type_get_data_type (_tmp28_);
			_tmp30_ = _tmp29_;
			has_spec_initializer = G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, VALA_TYPE_ENUM);
			_tmp32_ = has_spec_initializer;
			if (!_tmp32_) {
				ValaProperty* _tmp33_;
				ValaDataType* _tmp34_;
				ValaDataType* _tmp35_;
				ValaTypeSymbol* _tmp36_;
				ValaTypeSymbol* _tmp37_;
				_tmp33_ = prop;
				_tmp34_ = vala_property_get_property_type (_tmp33_);
				_tmp35_ = _tmp34_;
				_tmp36_ = vala_data_type_get_data_type (_tmp35_);
				_tmp37_ = _tmp36_;
				_tmp31_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, VALA_TYPE_STRUCT);
			} else {
				_tmp31_ = FALSE;
			}
			if (_tmp31_) {
				gchar* param_spec_func = NULL;
				ValaProperty* _tmp38_;
				ValaDataType* _tmp39_;
				ValaDataType* _tmp40_;
				ValaTypeSymbol* _tmp41_;
				ValaTypeSymbol* _tmp42_;
				gchar* _tmp43_;
				const gchar* _tmp44_;
				_tmp38_ = prop;
				_tmp39_ = vala_property_get_property_type (_tmp38_);
				_tmp40_ = _tmp39_;
				_tmp41_ = vala_data_type_get_data_type (_tmp40_);
				_tmp42_ = _tmp41_;
				_tmp43_ = vala_ccode_base_module_get_ccode_param_spec_function ((ValaCodeNode*) _tmp42_);
				param_spec_func = _tmp43_;
				_tmp44_ = param_spec_func;
				has_spec_initializer = g_strcmp0 (_tmp44_, "g_param_spec_boxed") != 0;
				_g_free0 (param_spec_func);
			}
			_tmp45_ = has_spec_initializer;
			if (!_tmp45_) {
				ValaCCodeBaseModuleEmitContext* _tmp46_;
				ValaProperty* _tmp47_;
				ValaExpression* _tmp48_;
				ValaExpression* _tmp49_;
				ValaMemberAccess* inst_ma = NULL;
				ValaMemberAccess* _tmp50_;
				ValaMemberAccess* _tmp51_;
				ValaProperty* _tmp52_;
				ValaSymbol* _tmp53_;
				ValaSymbol* _tmp54_;
				ValaDataType* _tmp55_;
				ValaDataType* _tmp56_;
				ValaCCodeIdentifier* _tmp57_;
				ValaCCodeIdentifier* _tmp58_;
				ValaGLibValue* _tmp59_;
				ValaGLibValue* _tmp60_;
				ValaProperty* _tmp61_;
				ValaMemberAccess* _tmp62_;
				ValaProperty* _tmp63_;
				ValaExpression* _tmp64_;
				ValaExpression* _tmp65_;
				ValaTargetValue* _tmp66_;
				ValaTargetValue* _tmp67_;
				ValaArrayList* _tmp68_;
				ValaArrayList* _tmp69_;
				_tmp46_ = ((ValaCCodeBaseModule*) self)->instance_init_context;
				vala_ccode_base_module_push_context ((ValaCCodeBaseModule*) self, _tmp46_);
				_tmp47_ = prop;
				_tmp48_ = vala_property_get_initializer (_tmp47_);
				_tmp49_ = _tmp48_;
				vala_code_node_emit ((ValaCodeNode*) _tmp49_, (ValaCodeGenerator*) self);
				_tmp50_ = vala_member_access_new_simple ("this", NULL);
				inst_ma = _tmp50_;
				_tmp51_ = inst_ma;
				_tmp52_ = prop;
				_tmp53_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp52_);
				_tmp54_ = _tmp53_;
				_tmp55_ = vala_ccode_base_module_get_data_type_for_symbol ((ValaTypeSymbol*) G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, VALA_TYPE_CLASS, ValaClass));
				_tmp56_ = _tmp55_;
				_tmp57_ = vala_ccode_identifier_new ("self");
				_tmp58_ = _tmp57_;
				_tmp59_ = vala_glib_value_new (_tmp56_, (ValaCCodeExpression*) _tmp58_, TRUE);
				_tmp60_ = _tmp59_;
				vala_expression_set_target_value ((ValaExpression*) _tmp51_, (ValaTargetValue*) _tmp60_);
				_vala_target_value_unref0 (_tmp60_);
				_vala_ccode_node_unref0 (_tmp58_);
				_vala_code_node_unref0 (_tmp56_);
				_tmp61_ = prop;
				_tmp62_ = inst_ma;
				_tmp63_ = prop;
				_tmp64_ = vala_property_get_initializer (_tmp63_);
				_tmp65_ = _tmp64_;
				_tmp66_ = vala_expression_get_target_value (_tmp65_);
				_tmp67_ = _tmp66_;
				vala_ccode_base_module_store_property ((ValaCCodeBaseModule*) self, _tmp61_, (ValaExpression*) _tmp62_, _tmp67_);
				_tmp68_ = vala_ccode_base_module_get_temp_ref_values ((ValaCCodeBaseModule*) self);
				_tmp69_ = _tmp68_;
				vala_collection_clear ((ValaCollection*) _tmp69_);
				vala_ccode_base_module_pop_context ((ValaCCodeBaseModule*) self);
				_vala_code_node_unref0 (inst_ma);
			}
		}
	}
}


static gchar string_get (const gchar* self, glong index) {
	gchar result = '\0';
	glong _tmp0_;
	gchar _tmp1_;
	g_return_val_if_fail (self != NULL, '\0');
	_tmp0_ = index;
	_tmp1_ = ((gchar*) self)[_tmp0_];
	result = _tmp1_;
	return result;
}


static gboolean vala_gobject_module_real_is_gobject_property (ValaCCodeBaseModule* base, ValaProperty* prop) {
	ValaGObjectModule * self;
	gboolean result = FALSE;
	ValaObjectTypeSymbol* type_sym = NULL;
	ValaProperty* _tmp0_;
	ValaSymbol* _tmp1_;
	ValaSymbol* _tmp2_;
	ValaObjectTypeSymbol* _tmp3_;
	gboolean _tmp4_ = FALSE;
	ValaObjectTypeSymbol* _tmp5_;
	ValaProperty* _tmp9_;
	ValaMemberBinding _tmp10_;
	ValaMemberBinding _tmp11_;
	ValaProperty* _tmp12_;
	ValaSymbolAccessibility _tmp13_;
	ValaSymbolAccessibility _tmp14_;
	ValaStruct* st = NULL;
	ValaProperty* _tmp15_;
	ValaDataType* _tmp16_;
	ValaDataType* _tmp17_;
	ValaTypeSymbol* _tmp18_;
	ValaTypeSymbol* _tmp19_;
	ValaStruct* _tmp20_;
	gboolean _tmp21_ = FALSE;
	ValaStruct* _tmp22_;
	gboolean _tmp31_ = FALSE;
	ValaProperty* _tmp32_;
	ValaDataType* _tmp33_;
	ValaDataType* _tmp34_;
	ValaDelegateType* d = NULL;
	ValaProperty* _tmp45_;
	ValaDataType* _tmp46_;
	ValaDataType* _tmp47_;
	ValaDelegateType* _tmp48_;
	gboolean _tmp49_ = FALSE;
	ValaDelegateType* _tmp50_;
	gboolean _tmp56_ = FALSE;
	gboolean _tmp57_ = FALSE;
	ValaObjectTypeSymbol* _tmp58_;
	ValaProperty* _tmp66_;
	const gchar* _tmp67_;
	const gchar* _tmp68_;
	gchar _tmp69_;
	gboolean _tmp70_;
	gboolean _tmp71_ = FALSE;
	gboolean _tmp72_ = FALSE;
	gboolean _tmp73_ = FALSE;
	ValaObjectTypeSymbol* _tmp74_;
	gboolean _tmp84_ = FALSE;
	ValaObjectTypeSymbol* _tmp85_;
	self = (ValaGObjectModule*) base;
	g_return_val_if_fail (prop != NULL, FALSE);
	_tmp0_ = prop;
	_tmp1_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, VALA_TYPE_OBJECT_TYPE_SYMBOL) ? ((ValaObjectTypeSymbol*) _tmp2_) : NULL);
	type_sym = _tmp3_;
	_tmp5_ = type_sym;
	if (_tmp5_ == NULL) {
		_tmp4_ = TRUE;
	} else {
		ValaObjectTypeSymbol* _tmp6_;
		ValaTypeSymbol* _tmp7_;
		gboolean _tmp8_;
		_tmp6_ = type_sym;
		_tmp7_ = ((ValaCCodeBaseModule*) self)->gobject_type;
		_tmp8_ = vala_typesymbol_is_subtype_of ((ValaTypeSymbol*) _tmp6_, _tmp7_);
		_tmp4_ = !_tmp8_;
	}
	if (_tmp4_) {
		result = FALSE;
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp9_ = prop;
	_tmp10_ = vala_property_get_binding (_tmp9_);
	_tmp11_ = _tmp10_;
	if (_tmp11_ != VALA_MEMBER_BINDING_INSTANCE) {
		result = FALSE;
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp12_ = prop;
	_tmp13_ = vala_symbol_get_access ((ValaSymbol*) _tmp12_);
	_tmp14_ = _tmp13_;
	if (_tmp14_ == VALA_SYMBOL_ACCESSIBILITY_PRIVATE) {
		result = FALSE;
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp15_ = prop;
	_tmp16_ = vala_property_get_property_type (_tmp15_);
	_tmp17_ = _tmp16_;
	_tmp18_ = vala_data_type_get_data_type (_tmp17_);
	_tmp19_ = _tmp18_;
	_tmp20_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, VALA_TYPE_STRUCT) ? ((ValaStruct*) _tmp19_) : NULL);
	st = _tmp20_;
	_tmp22_ = st;
	if (_tmp22_ != NULL) {
		gboolean _tmp23_ = FALSE;
		ValaStruct* _tmp24_;
		gboolean _tmp25_;
		_tmp24_ = st;
		_tmp25_ = vala_ccode_base_module_get_ccode_has_type_id ((ValaTypeSymbol*) _tmp24_);
		if (!_tmp25_) {
			_tmp23_ = TRUE;
		} else {
			ValaProperty* _tmp26_;
			ValaDataType* _tmp27_;
			ValaDataType* _tmp28_;
			gboolean _tmp29_;
			gboolean _tmp30_;
			_tmp26_ = prop;
			_tmp27_ = vala_property_get_property_type (_tmp26_);
			_tmp28_ = _tmp27_;
			_tmp29_ = vala_data_type_get_nullable (_tmp28_);
			_tmp30_ = _tmp29_;
			_tmp23_ = _tmp30_;
		}
		_tmp21_ = _tmp23_;
	} else {
		_tmp21_ = FALSE;
	}
	if (_tmp21_) {
		result = FALSE;
		_vala_code_node_unref0 (st);
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp32_ = prop;
	_tmp33_ = vala_property_get_property_type (_tmp32_);
	_tmp34_ = _tmp33_;
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp34_, VALA_TYPE_ARRAY_TYPE)) {
		ValaProperty* _tmp35_;
		ValaDataType* _tmp36_;
		ValaDataType* _tmp37_;
		ValaDataType* _tmp38_;
		ValaDataType* _tmp39_;
		ValaTypeSymbol* _tmp40_;
		ValaTypeSymbol* _tmp41_;
		ValaDataType* _tmp42_;
		ValaTypeSymbol* _tmp43_;
		ValaTypeSymbol* _tmp44_;
		_tmp35_ = prop;
		_tmp36_ = vala_property_get_property_type (_tmp35_);
		_tmp37_ = _tmp36_;
		_tmp38_ = vala_array_type_get_element_type (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, VALA_TYPE_ARRAY_TYPE, ValaArrayType));
		_tmp39_ = _tmp38_;
		_tmp40_ = vala_data_type_get_data_type (_tmp39_);
		_tmp41_ = _tmp40_;
		_tmp42_ = ((ValaCCodeBaseModule*) self)->string_type;
		_tmp43_ = vala_data_type_get_data_type (_tmp42_);
		_tmp44_ = _tmp43_;
		_tmp31_ = _tmp41_ != _tmp44_;
	} else {
		_tmp31_ = FALSE;
	}
	if (_tmp31_) {
		result = FALSE;
		_vala_code_node_unref0 (st);
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp45_ = prop;
	_tmp46_ = vala_property_get_property_type (_tmp45_);
	_tmp47_ = _tmp46_;
	_tmp48_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp47_, VALA_TYPE_DELEGATE_TYPE) ? ((ValaDelegateType*) _tmp47_) : NULL);
	d = _tmp48_;
	_tmp50_ = d;
	if (_tmp50_ != NULL) {
		ValaDelegateType* _tmp51_;
		ValaDelegate* _tmp52_;
		ValaDelegate* _tmp53_;
		gboolean _tmp54_;
		gboolean _tmp55_;
		_tmp51_ = d;
		_tmp52_ = vala_delegate_type_get_delegate_symbol (_tmp51_);
		_tmp53_ = _tmp52_;
		_tmp54_ = vala_delegate_get_has_target (_tmp53_);
		_tmp55_ = _tmp54_;
		_tmp49_ = _tmp55_;
	} else {
		_tmp49_ = FALSE;
	}
	if (_tmp49_) {
		result = FALSE;
		_vala_code_node_unref0 (d);
		_vala_code_node_unref0 (st);
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp58_ = type_sym;
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp58_, VALA_TYPE_CLASS)) {
		ValaProperty* _tmp59_;
		ValaProperty* _tmp60_;
		ValaProperty* _tmp61_;
		_tmp59_ = prop;
		_tmp60_ = vala_property_get_base_interface_property (_tmp59_);
		_tmp61_ = _tmp60_;
		_tmp57_ = _tmp61_ != NULL;
	} else {
		_tmp57_ = FALSE;
	}
	if (_tmp57_) {
		ValaProperty* _tmp62_;
		ValaProperty* _tmp63_;
		ValaProperty* _tmp64_;
		gboolean _tmp65_;
		_tmp62_ = prop;
		_tmp63_ = vala_property_get_base_interface_property (_tmp62_);
		_tmp64_ = _tmp63_;
		_tmp65_ = vala_ccode_base_module_is_gobject_property ((ValaCCodeBaseModule*) self, _tmp64_);
		_tmp56_ = !_tmp65_;
	} else {
		_tmp56_ = FALSE;
	}
	if (_tmp56_) {
		result = FALSE;
		_vala_code_node_unref0 (d);
		_vala_code_node_unref0 (st);
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp66_ = prop;
	_tmp67_ = vala_symbol_get_name ((ValaSymbol*) _tmp66_);
	_tmp68_ = _tmp67_;
	_tmp69_ = string_get (_tmp68_, (glong) 0);
	_tmp70_ = g_ascii_isalpha (_tmp69_);
	if (!_tmp70_) {
		result = FALSE;
		_vala_code_node_unref0 (d);
		_vala_code_node_unref0 (st);
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp74_ = type_sym;
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp74_, VALA_TYPE_INTERFACE)) {
		ValaProperty* _tmp75_;
		gboolean _tmp76_;
		gboolean _tmp77_;
		_tmp75_ = prop;
		_tmp76_ = vala_property_get_is_abstract (_tmp75_);
		_tmp77_ = _tmp76_;
		_tmp73_ = !_tmp77_;
	} else {
		_tmp73_ = FALSE;
	}
	if (_tmp73_) {
		ValaProperty* _tmp78_;
		gboolean _tmp79_;
		gboolean _tmp80_;
		_tmp78_ = prop;
		_tmp79_ = vala_symbol_get_external ((ValaSymbol*) _tmp78_);
		_tmp80_ = _tmp79_;
		_tmp72_ = !_tmp80_;
	} else {
		_tmp72_ = FALSE;
	}
	if (_tmp72_) {
		ValaProperty* _tmp81_;
		gboolean _tmp82_;
		gboolean _tmp83_;
		_tmp81_ = prop;
		_tmp82_ = vala_symbol_get_external_package ((ValaSymbol*) _tmp81_);
		_tmp83_ = _tmp82_;
		_tmp71_ = !_tmp83_;
	} else {
		_tmp71_ = FALSE;
	}
	if (_tmp71_) {
		result = FALSE;
		_vala_code_node_unref0 (d);
		_vala_code_node_unref0 (st);
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	_tmp85_ = type_sym;
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp85_, VALA_TYPE_INTERFACE)) {
		ValaObjectTypeSymbol* _tmp86_;
		ValaAttribute* _tmp87_;
		ValaAttribute* _tmp88_;
		_tmp86_ = type_sym;
		_tmp87_ = vala_code_node_get_attribute ((ValaCodeNode*) _tmp86_, "DBus");
		_tmp88_ = _tmp87_;
		_tmp84_ = _tmp88_ != NULL;
		_vala_code_node_unref0 (_tmp88_);
	} else {
		_tmp84_ = FALSE;
	}
	if (_tmp84_) {
		result = FALSE;
		_vala_code_node_unref0 (d);
		_vala_code_node_unref0 (st);
		_vala_code_node_unref0 (type_sym);
		return result;
	}
	result = TRUE;
	_vala_code_node_unref0 (d);
	_vala_code_node_unref0 (st);
	_vala_code_node_unref0 (type_sym);
	return result;
}


static void vala_gobject_module_real_visit_method_call (ValaCodeVisitor* base, ValaMethodCall* expr) {
	ValaGObjectModule * self;
	ValaMethodCall* _tmp0_;
	ValaExpression* _tmp1_;
	ValaExpression* _tmp2_;
	ValaMethodCall* _tmp135_;
	self = (ValaGObjectModule*) base;
	g_return_if_fail (expr != NULL);
	_tmp0_ = expr;
	_tmp1_ = vala_method_call_get_call (_tmp0_);
	_tmp2_ = _tmp1_;
	if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, VALA_TYPE_MEMBER_ACCESS)) {
		ValaMethodCall* _tmp3_;
		ValaSourceReference* _tmp4_;
		ValaSourceReference* _tmp5_;
		ValaMemberAccess* ma = NULL;
		ValaMethodCall* _tmp6_;
		ValaExpression* _tmp7_;
		ValaExpression* _tmp8_;
		ValaMemberAccess* _tmp9_;
		gboolean _tmp10_ = FALSE;
		gboolean _tmp11_ = FALSE;
		ValaMemberAccess* _tmp12_;
		ValaExpression* _tmp13_;
		ValaExpression* _tmp14_;
		_tmp3_ = expr;
		_tmp4_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp3_);
		_tmp5_ = _tmp4_;
		vala_ccode_base_module_push_line ((ValaCCodeBaseModule*) self, _tmp5_);
		_tmp6_ = expr;
		_tmp7_ = vala_method_call_get_call (_tmp6_);
		_tmp8_ = _tmp7_;
		_tmp9_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, VALA_TYPE_MEMBER_ACCESS) ? ((ValaMemberAccess*) _tmp8_) : NULL);
		ma = _tmp9_;
		_tmp12_ = ma;
		_tmp13_ = vala_member_access_get_inner (_tmp12_);
		_tmp14_ = _tmp13_;
		if (_tmp14_ != NULL) {
			ValaMemberAccess* _tmp15_;
			ValaExpression* _tmp16_;
			ValaExpression* _tmp17_;
			ValaSymbol* _tmp18_;
			ValaSymbol* _tmp19_;
			ValaTypeSymbol* _tmp20_;
			_tmp15_ = ma;
			_tmp16_ = vala_member_access_get_inner (_tmp15_);
			_tmp17_ = _tmp16_;
			_tmp18_ = vala_expression_get_symbol_reference (_tmp17_);
			_tmp19_ = _tmp18_;
			_tmp20_ = ((ValaCCodeBaseModule*) self)->gobject_type;
			_tmp11_ = _tmp19_ == G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, VALA_TYPE_SYMBOL, ValaSymbol);
		} else {
			_tmp11_ = FALSE;
		}
		if (_tmp11_) {
			gboolean _tmp21_ = FALSE;
			ValaMemberAccess* _tmp22_;
			const gchar* _tmp23_;
			const gchar* _tmp24_;
			_tmp22_ = ma;
			_tmp23_ = vala_member_access_get_member_name (_tmp22_);
			_tmp24_ = _tmp23_;
			if (g_strcmp0 (_tmp24_, "new") == 0) {
				_tmp21_ = TRUE;
			} else {
				ValaMemberAccess* _tmp25_;
				const gchar* _tmp26_;
				const gchar* _tmp27_;
				_tmp25_ = ma;
				_tmp26_ = vala_member_access_get_member_name (_tmp25_);
				_tmp27_ = _tmp26_;
				_tmp21_ = g_strcmp0 (_tmp27_, "newv") == 0;
			}
			_tmp10_ = _tmp21_;
		} else {
			_tmp10_ = FALSE;
		}
		if (_tmp10_) {
			ValaMethodCall* _tmp28_;
			ValaCCodeFunctionCall* initiallyunowned_ccall = NULL;
			ValaCCodeIdentifier* _tmp29_;
			ValaCCodeIdentifier* _tmp30_;
			ValaCCodeFunctionCall* _tmp31_;
			ValaCCodeFunctionCall* _tmp32_;
			ValaCCodeFunctionCall* _tmp33_;
			ValaMethodCall* _tmp34_;
			ValaCCodeExpression* _tmp35_;
			ValaCCodeExpression* _tmp36_;
			ValaCCodeFunctionCall* sink_ref_ccall = NULL;
			ValaCCodeIdentifier* _tmp37_;
			ValaCCodeIdentifier* _tmp38_;
			ValaCCodeFunctionCall* _tmp39_;
			ValaCCodeFunctionCall* _tmp40_;
			ValaCCodeFunctionCall* _tmp41_;
			ValaMethodCall* _tmp42_;
			ValaCCodeExpression* _tmp43_;
			ValaCCodeExpression* _tmp44_;
			ValaCCodeConditionalExpression* cexpr = NULL;
			ValaCCodeFunctionCall* _tmp45_;
			ValaCCodeFunctionCall* _tmp46_;
			ValaMethodCall* _tmp47_;
			ValaCCodeExpression* _tmp48_;
			ValaCCodeExpression* _tmp49_;
			ValaCCodeConditionalExpression* _tmp50_;
			ValaCCodeConditionalExpression* _tmp51_;
			ValaMethodCall* _tmp52_;
			ValaMethodCall* _tmp53_;
			ValaDataType* _tmp54_;
			ValaDataType* _tmp55_;
			ValaCCodeConditionalExpression* _tmp56_;
			ValaGLibValue* _tmp57_;
			ValaGLibValue* _tmp58_;
			ValaMethodCall* _tmp59_;
			ValaTargetValue* _tmp60_;
			ValaTargetValue* _tmp61_;
			_tmp28_ = expr;
			VALA_CODE_VISITOR_CLASS (vala_gobject_module_parent_class)->visit_method_call ((ValaCodeVisitor*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp28_);
			_tmp29_ = vala_ccode_identifier_new ("G_IS_INITIALLY_UNOWNED");
			_tmp30_ = _tmp29_;
			_tmp31_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp30_);
			_tmp32_ = _tmp31_;
			_vala_ccode_node_unref0 (_tmp30_);
			initiallyunowned_ccall = _tmp32_;
			_tmp33_ = initiallyunowned_ccall;
			_tmp34_ = expr;
			_tmp35_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, (ValaExpression*) _tmp34_);
			_tmp36_ = _tmp35_;
			vala_ccode_function_call_add_argument (_tmp33_, _tmp36_);
			_vala_ccode_node_unref0 (_tmp36_);
			_tmp37_ = vala_ccode_identifier_new ("g_object_ref_sink");
			_tmp38_ = _tmp37_;
			_tmp39_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp38_);
			_tmp40_ = _tmp39_;
			_vala_ccode_node_unref0 (_tmp38_);
			sink_ref_ccall = _tmp40_;
			_tmp41_ = sink_ref_ccall;
			_tmp42_ = expr;
			_tmp43_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, (ValaExpression*) _tmp42_);
			_tmp44_ = _tmp43_;
			vala_ccode_function_call_add_argument (_tmp41_, _tmp44_);
			_vala_ccode_node_unref0 (_tmp44_);
			_tmp45_ = initiallyunowned_ccall;
			_tmp46_ = sink_ref_ccall;
			_tmp47_ = expr;
			_tmp48_ = vala_ccode_base_module_get_cvalue ((ValaCCodeBaseModule*) self, (ValaExpression*) _tmp47_);
			_tmp49_ = _tmp48_;
			_tmp50_ = vala_ccode_conditional_expression_new ((ValaCCodeExpression*) _tmp45_, (ValaCCodeExpression*) _tmp46_, _tmp49_);
			_tmp51_ = _tmp50_;
			_vala_ccode_node_unref0 (_tmp49_);
			cexpr = _tmp51_;
			_tmp52_ = expr;
			_tmp53_ = expr;
			_tmp54_ = vala_expression_get_value_type ((ValaExpression*) _tmp53_);
			_tmp55_ = _tmp54_;
			_tmp56_ = cexpr;
			_tmp57_ = vala_glib_value_new (_tmp55_, (ValaCCodeExpression*) _tmp56_, FALSE);
			_tmp58_ = _tmp57_;
			_tmp59_ = expr;
			_tmp60_ = vala_ccode_base_module_store_temp_value ((ValaCCodeBaseModule*) self, (ValaTargetValue*) _tmp58_, (ValaCodeNode*) _tmp59_, NULL);
			_tmp61_ = _tmp60_;
			vala_expression_set_target_value ((ValaExpression*) _tmp52_, _tmp61_);
			_vala_target_value_unref0 (_tmp61_);
			_vala_target_value_unref0 (_tmp58_);
			_vala_ccode_node_unref0 (cexpr);
			_vala_ccode_node_unref0 (sink_ref_ccall);
			_vala_ccode_node_unref0 (initiallyunowned_ccall);
			_vala_code_node_unref0 (ma);
			return;
		} else {
			ValaMemberAccess* _tmp62_;
			ValaSymbol* _tmp63_;
			ValaSymbol* _tmp64_;
			ValaTypeSymbol* _tmp65_;
			_tmp62_ = ma;
			_tmp63_ = vala_expression_get_symbol_reference ((ValaExpression*) _tmp62_);
			_tmp64_ = _tmp63_;
			_tmp65_ = ((ValaCCodeBaseModule*) self)->gobject_type;
			if (_tmp64_ == G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, VALA_TYPE_SYMBOL, ValaSymbol)) {
				{
					ValaList* _arg_list = NULL;
					ValaMethodCall* _tmp66_;
					ValaList* _tmp67_;
					gint _arg_size = 0;
					ValaList* _tmp68_;
					gint _tmp69_;
					gint _tmp70_;
					gint _arg_index = 0;
					_tmp66_ = expr;
					_tmp67_ = vala_method_call_get_argument_list (_tmp66_);
					_arg_list = _tmp67_;
					_tmp68_ = _arg_list;
					_tmp69_ = vala_collection_get_size ((ValaCollection*) _tmp68_);
					_tmp70_ = _tmp69_;
					_arg_size = _tmp70_;
					_arg_index = -1;
					while (TRUE) {
						gint _tmp71_;
						gint _tmp72_;
						gint _tmp73_;
						ValaExpression* arg = NULL;
						ValaList* _tmp74_;
						gint _tmp75_;
						gpointer _tmp76_;
						ValaNamedArgument* named_argument = NULL;
						ValaExpression* _tmp77_;
						ValaNamedArgument* _tmp78_;
						ValaNamedArgument* _tmp79_;
						ValaProperty* prop = NULL;
						ValaClass* _tmp83_;
						ValaClass* _tmp84_;
						ValaNamedArgument* _tmp85_;
						const gchar* _tmp86_;
						const gchar* _tmp87_;
						ValaSymbol* _tmp88_;
						ValaProperty* _tmp89_;
						ValaProperty* _tmp90_;
						ValaProperty* _tmp103_;
						gboolean _tmp104_;
						ValaExpression* _tmp113_;
						ValaDataType* _tmp114_;
						ValaDataType* _tmp115_;
						ValaProperty* _tmp116_;
						ValaDataType* _tmp117_;
						ValaDataType* _tmp118_;
						gboolean _tmp119_;
						_tmp71_ = _arg_index;
						_arg_index = _tmp71_ + 1;
						_tmp72_ = _arg_index;
						_tmp73_ = _arg_size;
						if (!(_tmp72_ < _tmp73_)) {
							break;
						}
						_tmp74_ = _arg_list;
						_tmp75_ = _arg_index;
						_tmp76_ = vala_list_get (_tmp74_, _tmp75_);
						arg = (ValaExpression*) _tmp76_;
						_tmp77_ = arg;
						_tmp78_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp77_, VALA_TYPE_NAMED_ARGUMENT) ? ((ValaNamedArgument*) _tmp77_) : NULL);
						named_argument = _tmp78_;
						_tmp79_ = named_argument;
						if (_tmp79_ == NULL) {
							ValaExpression* _tmp80_;
							ValaSourceReference* _tmp81_;
							ValaSourceReference* _tmp82_;
							_tmp80_ = arg;
							_tmp81_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp80_);
							_tmp82_ = _tmp81_;
							vala_report_error (_tmp82_, "Named argument expected");
							_vala_code_node_unref0 (named_argument);
							_vala_code_node_unref0 (arg);
							break;
						}
						_tmp83_ = vala_ccode_base_module_get_current_class ((ValaCCodeBaseModule*) self);
						_tmp84_ = _tmp83_;
						_tmp85_ = named_argument;
						_tmp86_ = vala_named_argument_get_name (_tmp85_);
						_tmp87_ = _tmp86_;
						_tmp88_ = vala_semantic_analyzer_symbol_lookup_inherited ((ValaSymbol*) _tmp84_, _tmp87_);
						_tmp89_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp88_, VALA_TYPE_PROPERTY) ? ((ValaProperty*) _tmp88_) : NULL;
						if (_tmp89_ == NULL) {
							_vala_code_node_unref0 (_tmp88_);
						}
						prop = _tmp89_;
						_tmp90_ = prop;
						if (_tmp90_ == NULL) {
							ValaExpression* _tmp91_;
							ValaSourceReference* _tmp92_;
							ValaSourceReference* _tmp93_;
							ValaNamedArgument* _tmp94_;
							const gchar* _tmp95_;
							const gchar* _tmp96_;
							ValaClass* _tmp97_;
							ValaClass* _tmp98_;
							gchar* _tmp99_;
							gchar* _tmp100_;
							gchar* _tmp101_;
							gchar* _tmp102_;
							_tmp91_ = arg;
							_tmp92_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp91_);
							_tmp93_ = _tmp92_;
							_tmp94_ = named_argument;
							_tmp95_ = vala_named_argument_get_name (_tmp94_);
							_tmp96_ = _tmp95_;
							_tmp97_ = vala_ccode_base_module_get_current_class ((ValaCCodeBaseModule*) self);
							_tmp98_ = _tmp97_;
							_tmp99_ = vala_symbol_get_full_name ((ValaSymbol*) _tmp98_);
							_tmp100_ = _tmp99_;
							_tmp101_ = g_strdup_printf ("Property `%s' not found in `%s'", _tmp96_, _tmp100_);
							_tmp102_ = _tmp101_;
							vala_report_error (_tmp93_, _tmp102_);
							_g_free0 (_tmp102_);
							_g_free0 (_tmp100_);
							_vala_code_node_unref0 (prop);
							_vala_code_node_unref0 (named_argument);
							_vala_code_node_unref0 (arg);
							break;
						}
						_tmp103_ = prop;
						_tmp104_ = vala_ccode_base_module_is_gobject_property ((ValaCCodeBaseModule*) self, _tmp103_);
						if (!_tmp104_) {
							ValaExpression* _tmp105_;
							ValaSourceReference* _tmp106_;
							ValaSourceReference* _tmp107_;
							ValaNamedArgument* _tmp108_;
							const gchar* _tmp109_;
							const gchar* _tmp110_;
							gchar* _tmp111_;
							gchar* _tmp112_;
							_tmp105_ = arg;
							_tmp106_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp105_);
							_tmp107_ = _tmp106_;
							_tmp108_ = named_argument;
							_tmp109_ = vala_named_argument_get_name (_tmp108_);
							_tmp110_ = _tmp109_;
							_tmp111_ = g_strdup_printf ("Property `%s' not supported in Object (property: value) constructor ch" \
"ain up", _tmp110_);
							_tmp112_ = _tmp111_;
							vala_report_error (_tmp107_, _tmp112_);
							_g_free0 (_tmp112_);
							_vala_code_node_unref0 (prop);
							_vala_code_node_unref0 (named_argument);
							_vala_code_node_unref0 (arg);
							break;
						}
						_tmp113_ = arg;
						_tmp114_ = vala_expression_get_value_type (_tmp113_);
						_tmp115_ = _tmp114_;
						_tmp116_ = prop;
						_tmp117_ = vala_property_get_property_type (_tmp116_);
						_tmp118_ = _tmp117_;
						_tmp119_ = vala_data_type_compatible (_tmp115_, _tmp118_);
						if (!_tmp119_) {
							ValaExpression* _tmp120_;
							ValaSourceReference* _tmp121_;
							ValaSourceReference* _tmp122_;
							ValaExpression* _tmp123_;
							ValaDataType* _tmp124_;
							ValaDataType* _tmp125_;
							gchar* _tmp126_;
							gchar* _tmp127_;
							ValaProperty* _tmp128_;
							ValaDataType* _tmp129_;
							ValaDataType* _tmp130_;
							gchar* _tmp131_;
							gchar* _tmp132_;
							gchar* _tmp133_;
							gchar* _tmp134_;
							_tmp120_ = arg;
							_tmp121_ = vala_code_node_get_source_reference ((ValaCodeNode*) _tmp120_);
							_tmp122_ = _tmp121_;
							_tmp123_ = arg;
							_tmp124_ = vala_expression_get_value_type (_tmp123_);
							_tmp125_ = _tmp124_;
							_tmp126_ = vala_code_node_to_string ((ValaCodeNode*) _tmp125_);
							_tmp127_ = _tmp126_;
							_tmp128_ = prop;
							_tmp129_ = vala_property_get_property_type (_tmp128_);
							_tmp130_ = _tmp129_;
							_tmp131_ = vala_code_node_to_string ((ValaCodeNode*) _tmp130_);
							_tmp132_ = _tmp131_;
							_tmp133_ = g_strdup_printf ("Cannot convert from `%s' to `%s'", _tmp127_, _tmp132_);
							_tmp134_ = _tmp133_;
							vala_report_error (_tmp122_, _tmp134_);
							_g_free0 (_tmp134_);
							_g_free0 (_tmp132_);
							_g_free0 (_tmp127_);
							_vala_code_node_unref0 (prop);
							_vala_code_node_unref0 (named_argument);
							_vala_code_node_unref0 (arg);
							break;
						}
						_vala_code_node_unref0 (prop);
						_vala_code_node_unref0 (named_argument);
						_vala_code_node_unref0 (arg);
					}
					_vala_iterable_unref0 (_arg_list);
				}
			}
		}
		vala_ccode_base_module_pop_line ((ValaCCodeBaseModule*) self);
		_vala_code_node_unref0 (ma);
	}
	_tmp135_ = expr;
	VALA_CODE_VISITOR_CLASS (vala_gobject_module_parent_class)->visit_method_call ((ValaCodeVisitor*) G_TYPE_CHECK_INSTANCE_CAST (self, VALA_TYPE_GTYPE_MODULE, ValaGTypeModule), _tmp135_);
}


ValaGObjectModule* vala_gobject_module_construct (GType object_type) {
	ValaGObjectModule* self = NULL;
	self = (ValaGObjectModule*) vala_gtype_module_construct (object_type);
	return self;
}


ValaGObjectModule* vala_gobject_module_new (void) {
	return vala_gobject_module_construct (VALA_TYPE_GOBJECT_MODULE);
}


static void vala_gobject_module_class_init (ValaGObjectModuleClass * klass) {
	vala_gobject_module_parent_class = g_type_class_peek_parent (klass);
	((ValaCodeVisitorClass *) klass)->finalize = vala_gobject_module_finalize;
	g_type_class_add_private (klass, sizeof (ValaGObjectModulePrivate));
	((ValaCodeVisitorClass *) klass)->visit_class = (void (*) (ValaCodeVisitor *, ValaClass*)) vala_gobject_module_real_visit_class;
	((ValaGTypeModuleClass *) klass)->generate_class_init = (void (*) (ValaGTypeModule *, ValaClass*)) vala_gobject_module_real_generate_class_init;
	((ValaCodeVisitorClass *) klass)->visit_constructor = (void (*) (ValaCodeVisitor *, ValaConstructor*)) vala_gobject_module_real_visit_constructor;
	((ValaCCodeBaseModuleClass *) klass)->get_dynamic_property_getter_cname = (gchar* (*) (ValaCCodeBaseModule *, ValaDynamicProperty*)) vala_gobject_module_real_get_dynamic_property_getter_cname;
	((ValaCCodeBaseModuleClass *) klass)->get_dynamic_property_setter_cname = (gchar* (*) (ValaCCodeBaseModule *, ValaDynamicProperty*)) vala_gobject_module_real_get_dynamic_property_setter_cname;
	((ValaCCodeBaseModuleClass *) klass)->get_dynamic_signal_cname = (gchar* (*) (ValaCCodeBaseModule *, ValaDynamicSignal*)) vala_gobject_module_real_get_dynamic_signal_cname;
	((ValaCCodeBaseModuleClass *) klass)->get_dynamic_signal_connect_wrapper_name = (gchar* (*) (ValaCCodeBaseModule *, ValaDynamicSignal*)) vala_gobject_module_real_get_dynamic_signal_connect_wrapper_name;
	((ValaCCodeBaseModuleClass *) klass)->get_dynamic_signal_connect_after_wrapper_name = (gchar* (*) (ValaCCodeBaseModule *, ValaDynamicSignal*)) vala_gobject_module_real_get_dynamic_signal_connect_after_wrapper_name;
	((ValaCodeVisitorClass *) klass)->visit_property = (void (*) (ValaCodeVisitor *, ValaProperty*)) vala_gobject_module_real_visit_property;
	((ValaCCodeBaseModuleClass *) klass)->is_gobject_property = (gboolean (*) (ValaCCodeBaseModule *, ValaProperty*)) vala_gobject_module_real_is_gobject_property;
	((ValaCodeVisitorClass *) klass)->visit_method_call = (void (*) (ValaCodeVisitor *, ValaMethodCall*)) vala_gobject_module_real_visit_method_call;
}


static void vala_gobject_module_instance_init (ValaGObjectModule * self) {
	self->priv = VALA_GOBJECT_MODULE_GET_PRIVATE (self);
}


static void vala_gobject_module_finalize (ValaCodeVisitor * obj) {
	ValaGObjectModule * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, VALA_TYPE_GOBJECT_MODULE, ValaGObjectModule);
	VALA_CODE_VISITOR_CLASS (vala_gobject_module_parent_class)->finalize (obj);
}


GType vala_gobject_module_get_type (void) {
	static volatile gsize vala_gobject_module_type_id__volatile = 0;
	if (g_once_init_enter (&vala_gobject_module_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (ValaGObjectModuleClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) vala_gobject_module_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ValaGObjectModule), 0, (GInstanceInitFunc) vala_gobject_module_instance_init, NULL };
		GType vala_gobject_module_type_id;
		vala_gobject_module_type_id = g_type_register_static (VALA_TYPE_GTYPE_MODULE, "ValaGObjectModule", &g_define_type_info, 0);
		g_once_init_leave (&vala_gobject_module_type_id__volatile, vala_gobject_module_type_id);
	}
	return vala_gobject_module_type_id__volatile;
}



