/* 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 "valacodegen.h"
#include <vala.h>
#include <stdlib.h>
#include <string.h>
#include <valagee.h>
#include <valaccode.h>

#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 _ValaGObjectModulePrivate {
	gint dynamic_property_id;
	gint signal_wrapper_id;
};


static gpointer vala_gobject_module_parent_class = NULL;

#define VALA_GOBJECT_MODULE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), VALA_TYPE_GOBJECT_MODULE, ValaGObjectModulePrivate))
static void vala_gobject_module_real_visit_class (ValaCodeVisitor* base, ValaClass* cl);
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);
static void vala_gobject_module_real_generate_class_init (ValaGTypeModule* base, ValaClass* cl);
static void vala_gobject_module_add_guarded_expression (ValaGObjectModule* self, ValaSymbol* sym, ValaCCodeExpression* expression);
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;
static void vala_gobject_module_emit_invalid_property_id_warn (ValaGObjectModule* self);
static void vala_gobject_module_real_visit_constructor (ValaCodeVisitor* base, ValaConstructor* c);
static gchar* vala_gobject_module_real_get_dynamic_property_getter_cname (ValaCCodeBaseModule* base, ValaDynamicProperty* prop);
static gchar* vala_gobject_module_real_get_dynamic_property_setter_cname (ValaCCodeBaseModule* base, ValaDynamicProperty* prop);
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);
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);
static gboolean vala_gobject_module_real_is_gobject_property (ValaCCodeBaseModule* base, ValaProperty* prop);
static void vala_gobject_module_real_visit_method_call (ValaCodeVisitor* base, ValaMethodCall* expr);
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 __catch9_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 __catch9_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 __finally9;
	__catch9_g_regex_error:
	{
		GError* e = NULL;
		e = _inner_error_;
		_inner_error_ = NULL;
		g_assert_not_reached ();
		_g_error_free0 (e);
	}
	__finally9:
	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_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_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_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_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_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_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_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_;
			gchar* _tmp293_;
			gchar* _tmp294_;
			ValaCCodeConstant* _tmp295_;
			ValaCCodeConstant* _tmp296_;
			ValaCCodeFunctionCall* _tmp297_;
			ValaProperty* _tmp298_;
			ValaCCodeExpression* _tmp299_;
			ValaCCodeExpression* _tmp300_;
			ValaCCodeFunction* _tmp301_;
			ValaCCodeFunction* _tmp302_;
			ValaCCodeFunctionCall* _tmp303_;
			_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_get_ccode_upper_case_name ((ValaSymbol*) _tmp290_, NULL);
			_tmp292_ = _tmp291_;
			_tmp293_ = g_strdup_printf ("%s_PROPERTY", _tmp292_);
			_tmp294_ = _tmp293_;
			_tmp295_ = vala_ccode_constant_new (_tmp294_);
			_tmp296_ = _tmp295_;
			vala_ccode_function_call_add_argument (_tmp289_, (ValaCCodeExpression*) _tmp296_);
			_vala_ccode_node_unref0 (_tmp296_);
			_g_free0 (_tmp294_);
			_g_free0 (_tmp292_);
			_tmp297_ = cinst;
			_tmp298_ = prop;
			_tmp299_ = vala_ccode_base_module_get_param_spec ((ValaCCodeBaseModule*) self, _tmp298_);
			_tmp300_ = _tmp299_;
			vala_ccode_function_call_add_argument (_tmp297_, _tmp300_);
			_vala_ccode_node_unref0 (_tmp300_);
			_tmp301_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp302_ = _tmp301_;
			_tmp303_ = cinst;
			vala_ccode_function_add_expression (_tmp302_, (ValaCCodeExpression*) _tmp303_);
			_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* _tmp292_;
	ValaCCodeFunction* _tmp293_;
	ValaCCodeFunction* _tmp294_;
	ValaCCodeFunction* _tmp295_;
	ValaCCodeFunction* _tmp296_;
	ValaCCodeFunction* _tmp297_;
	ValaCCodeFile* _tmp298_;
	ValaCCodeFunction* _tmp299_;
	ValaCCodeFile* _tmp300_;
	ValaCCodeFunction* _tmp301_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (cl != NULL);
	_tmp0_ = cl;
	_tmp1_ = vala_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_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_;
			gchar* _tmp151_;
			gchar* _tmp152_;
			ValaCCodeIdentifier* _tmp153_;
			ValaCCodeIdentifier* _tmp154_;
			ValaProperty* _tmp155_;
			ValaDataType* _tmp156_;
			ValaDataType* _tmp157_;
			gboolean _tmp158_;
			ValaCCodeFunction* _tmp290_;
			ValaCCodeFunction* _tmp291_;
			_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_get_ccode_no_accessor_method (_tmp130_);
			if (!_tmp131_) {
				ValaProperty* _tmp132_;
				gboolean _tmp133_;
				_tmp132_ = base_prop;
				_tmp133_ = vala_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_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_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_get_ccode_upper_case_name ((ValaSymbol*) _tmp148_, NULL);
			_tmp150_ = _tmp149_;
			_tmp151_ = g_strdup_printf ("%s_PROPERTY", _tmp150_);
			_tmp152_ = _tmp151_;
			_tmp153_ = vala_ccode_identifier_new (_tmp152_);
			_tmp154_ = _tmp153_;
			vala_ccode_function_add_case (_tmp147_, (ValaCCodeExpression*) _tmp154_);
			_vala_ccode_node_unref0 (_tmp154_);
			_g_free0 (_tmp152_);
			_g_free0 (_tmp150_);
			_tmp155_ = prop;
			_tmp156_ = vala_property_get_property_type (_tmp155_);
			_tmp157_ = _tmp156_;
			_tmp158_ = vala_data_type_is_real_struct_type (_tmp157_);
			if (_tmp158_) {
				ValaStruct* st = NULL;
				ValaProperty* _tmp159_;
				ValaDataType* _tmp160_;
				ValaDataType* _tmp161_;
				ValaTypeSymbol* _tmp162_;
				ValaTypeSymbol* _tmp163_;
				ValaStruct* _tmp164_;
				ValaCCodeFunction* _tmp165_;
				ValaCCodeFunction* _tmp166_;
				ValaCCodeFunction* _tmp167_;
				ValaCCodeFunction* _tmp168_;
				ValaStruct* _tmp169_;
				gchar* _tmp170_;
				gchar* _tmp171_;
				ValaCCodeVariableDeclarator* _tmp172_;
				ValaCCodeVariableDeclarator* _tmp173_;
				ValaCCodeExpression* _tmp174_;
				ValaCCodeFunctionCall* _tmp175_;
				ValaCCodeFunctionCall* _tmp176_;
				ValaCCodeExpression* _tmp177_;
				ValaCCodeUnaryExpression* boxed_addr = NULL;
				ValaCCodeIdentifier* _tmp178_;
				ValaCCodeIdentifier* _tmp179_;
				ValaCCodeUnaryExpression* _tmp180_;
				ValaCCodeUnaryExpression* _tmp181_;
				ValaCCodeFunctionCall* _tmp182_;
				ValaCCodeUnaryExpression* _tmp183_;
				ValaCCodeFunction* _tmp184_;
				ValaCCodeFunction* _tmp185_;
				ValaCCodeFunctionCall* _tmp186_;
				ValaCCodeFunctionCall* csetcall = NULL;
				ValaCCodeFunctionCall* _tmp187_;
				ValaCCodeFunctionCall* _tmp188_;
				ValaProperty* _tmp189_;
				ValaDataType* _tmp190_;
				ValaDataType* _tmp191_;
				ValaCCodeIdentifier* _tmp192_;
				ValaCCodeIdentifier* _tmp193_;
				ValaCCodeFunctionCall* _tmp194_;
				ValaCCodeIdentifier* _tmp195_;
				ValaCCodeIdentifier* _tmp196_;
				ValaCCodeFunctionCall* _tmp197_;
				ValaCCodeUnaryExpression* _tmp198_;
				ValaProperty* _tmp199_;
				ValaCCodeFunctionCall* _tmp200_;
				ValaProperty* _tmp201_;
				ValaPropertyAccessor* _tmp202_;
				ValaPropertyAccessor* _tmp203_;
				ValaDataType* _tmp204_;
				ValaDataType* _tmp205_;
				gboolean _tmp206_;
				ValaCCodeFunction* _tmp220_;
				ValaCCodeFunction* _tmp221_;
				_tmp159_ = prop;
				_tmp160_ = vala_property_get_property_type (_tmp159_);
				_tmp161_ = _tmp160_;
				_tmp162_ = vala_data_type_get_data_type (_tmp161_);
				_tmp163_ = _tmp162_;
				_tmp164_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp163_, VALA_TYPE_STRUCT) ? ((ValaStruct*) _tmp163_) : NULL);
				st = _tmp164_;
				_tmp165_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp166_ = _tmp165_;
				vala_ccode_function_open_block (_tmp166_);
				_tmp167_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp168_ = _tmp167_;
				_tmp169_ = st;
				_tmp170_ = vala_get_ccode_name ((ValaCodeNode*) _tmp169_);
				_tmp171_ = _tmp170_;
				_tmp172_ = vala_ccode_variable_declarator_new ("boxed", NULL, NULL);
				_tmp173_ = _tmp172_;
				vala_ccode_function_add_declaration (_tmp168_, _tmp171_, (ValaCCodeDeclarator*) _tmp173_, 0);
				_vala_ccode_node_unref0 (_tmp173_);
				_g_free0 (_tmp171_);
				_tmp174_ = cfunc;
				_tmp175_ = vala_ccode_function_call_new (_tmp174_);
				_vala_ccode_node_unref0 (ccall);
				ccall = _tmp175_;
				_tmp176_ = ccall;
				_tmp177_ = cself;
				vala_ccode_function_call_add_argument (_tmp176_, _tmp177_);
				_tmp178_ = vala_ccode_identifier_new ("boxed");
				_tmp179_ = _tmp178_;
				_tmp180_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp179_);
				_tmp181_ = _tmp180_;
				_vala_ccode_node_unref0 (_tmp179_);
				boxed_addr = _tmp181_;
				_tmp182_ = ccall;
				_tmp183_ = boxed_addr;
				vala_ccode_function_call_add_argument (_tmp182_, (ValaCCodeExpression*) _tmp183_);
				_tmp184_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp185_ = _tmp184_;
				_tmp186_ = ccall;
				vala_ccode_function_add_expression (_tmp185_, (ValaCCodeExpression*) _tmp186_);
				_tmp187_ = vala_ccode_function_call_new (NULL);
				csetcall = _tmp187_;
				_tmp188_ = csetcall;
				_tmp189_ = prop;
				_tmp190_ = vala_property_get_property_type (_tmp189_);
				_tmp191_ = _tmp190_;
				_tmp192_ = vala_ccode_base_module_get_value_setter_function ((ValaCCodeBaseModule*) self, _tmp191_);
				_tmp193_ = _tmp192_;
				vala_ccode_function_call_set_call (_tmp188_, (ValaCCodeExpression*) _tmp193_);
				_vala_ccode_node_unref0 (_tmp193_);
				_tmp194_ = csetcall;
				_tmp195_ = vala_ccode_identifier_new ("value");
				_tmp196_ = _tmp195_;
				vala_ccode_function_call_add_argument (_tmp194_, (ValaCCodeExpression*) _tmp196_);
				_vala_ccode_node_unref0 (_tmp196_);
				_tmp197_ = csetcall;
				_tmp198_ = boxed_addr;
				vala_ccode_function_call_add_argument (_tmp197_, (ValaCCodeExpression*) _tmp198_);
				_tmp199_ = prop;
				_tmp200_ = csetcall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp199_, (ValaCCodeExpression*) _tmp200_);
				_tmp201_ = prop;
				_tmp202_ = vala_property_get_get_accessor (_tmp201_);
				_tmp203_ = _tmp202_;
				_tmp204_ = vala_property_accessor_get_value_type (_tmp203_);
				_tmp205_ = _tmp204_;
				_tmp206_ = vala_ccode_base_module_requires_destroy ((ValaCCodeBaseModule*) self, _tmp205_);
				if (_tmp206_) {
					ValaCCodeFunction* _tmp207_;
					ValaCCodeFunction* _tmp208_;
					ValaProperty* _tmp209_;
					ValaPropertyAccessor* _tmp210_;
					ValaPropertyAccessor* _tmp211_;
					ValaDataType* _tmp212_;
					ValaDataType* _tmp213_;
					ValaCCodeIdentifier* _tmp214_;
					ValaCCodeIdentifier* _tmp215_;
					ValaGLibValue* _tmp216_;
					ValaGLibValue* _tmp217_;
					ValaCCodeExpression* _tmp218_;
					ValaCCodeExpression* _tmp219_;
					_tmp207_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp208_ = _tmp207_;
					_tmp209_ = prop;
					_tmp210_ = vala_property_get_get_accessor (_tmp209_);
					_tmp211_ = _tmp210_;
					_tmp212_ = vala_property_accessor_get_value_type (_tmp211_);
					_tmp213_ = _tmp212_;
					_tmp214_ = vala_ccode_identifier_new ("boxed");
					_tmp215_ = _tmp214_;
					_tmp216_ = vala_glib_value_new (_tmp213_, (ValaCCodeExpression*) _tmp215_, TRUE);
					_tmp217_ = _tmp216_;
					_tmp218_ = vala_ccode_base_module_destroy_value ((ValaCCodeBaseModule*) self, (ValaTargetValue*) _tmp217_, FALSE);
					_tmp219_ = _tmp218_;
					vala_ccode_function_add_expression (_tmp208_, _tmp219_);
					_vala_ccode_node_unref0 (_tmp219_);
					_vala_target_value_unref0 (_tmp217_);
					_vala_ccode_node_unref0 (_tmp215_);
				}
				_tmp220_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp221_ = _tmp220_;
				vala_ccode_function_close (_tmp221_);
				_vala_ccode_node_unref0 (csetcall);
				_vala_ccode_node_unref0 (boxed_addr);
				_vala_code_node_unref0 (st);
			} else {
				ValaCCodeExpression* _tmp222_;
				ValaCCodeFunctionCall* _tmp223_;
				ValaCCodeFunctionCall* _tmp224_;
				ValaCCodeExpression* _tmp225_;
				ValaArrayType* array_type = NULL;
				ValaProperty* _tmp226_;
				ValaDataType* _tmp227_;
				ValaDataType* _tmp228_;
				ValaArrayType* _tmp229_;
				gboolean _tmp230_ = FALSE;
				ValaArrayType* _tmp231_;
				ValaCCodeFunctionCall* csetcall = NULL;
				ValaCCodeFunctionCall* _tmp251_;
				ValaProperty* _tmp252_;
				ValaPropertyAccessor* _tmp253_;
				ValaPropertyAccessor* _tmp254_;
				ValaDataType* _tmp255_;
				ValaDataType* _tmp256_;
				gboolean _tmp257_;
				gboolean _tmp258_;
				ValaCCodeFunctionCall* _tmp271_;
				ValaCCodeIdentifier* _tmp272_;
				ValaCCodeIdentifier* _tmp273_;
				ValaCCodeFunctionCall* _tmp274_;
				ValaCCodeFunctionCall* _tmp275_;
				ValaProperty* _tmp276_;
				ValaCCodeFunctionCall* _tmp277_;
				gboolean _tmp278_ = FALSE;
				ValaArrayType* _tmp279_;
				_tmp222_ = cfunc;
				_tmp223_ = vala_ccode_function_call_new (_tmp222_);
				_vala_ccode_node_unref0 (ccall);
				ccall = _tmp223_;
				_tmp224_ = ccall;
				_tmp225_ = cself;
				vala_ccode_function_call_add_argument (_tmp224_, _tmp225_);
				_tmp226_ = prop;
				_tmp227_ = vala_property_get_property_type (_tmp226_);
				_tmp228_ = _tmp227_;
				_tmp229_ = _vala_code_node_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp228_, VALA_TYPE_ARRAY_TYPE) ? ((ValaArrayType*) _tmp228_) : NULL);
				array_type = _tmp229_;
				_tmp231_ = array_type;
				if (_tmp231_ != NULL) {
					ValaArrayType* _tmp232_;
					ValaDataType* _tmp233_;
					ValaDataType* _tmp234_;
					ValaTypeSymbol* _tmp235_;
					ValaTypeSymbol* _tmp236_;
					ValaDataType* _tmp237_;
					ValaTypeSymbol* _tmp238_;
					ValaTypeSymbol* _tmp239_;
					_tmp232_ = array_type;
					_tmp233_ = vala_array_type_get_element_type (_tmp232_);
					_tmp234_ = _tmp233_;
					_tmp235_ = vala_data_type_get_data_type (_tmp234_);
					_tmp236_ = _tmp235_;
					_tmp237_ = ((ValaCCodeBaseModule*) self)->string_type;
					_tmp238_ = vala_data_type_get_data_type (_tmp237_);
					_tmp239_ = _tmp238_;
					_tmp230_ = _tmp236_ == _tmp239_;
				} else {
					_tmp230_ = FALSE;
				}
				if (_tmp230_) {
					ValaCCodeFunction* _tmp240_;
					ValaCCodeFunction* _tmp241_;
					ValaCCodeFunction* _tmp242_;
					ValaCCodeFunction* _tmp243_;
					ValaCCodeVariableDeclarator* _tmp244_;
					ValaCCodeVariableDeclarator* _tmp245_;
					ValaCCodeFunctionCall* _tmp246_;
					ValaCCodeIdentifier* _tmp247_;
					ValaCCodeIdentifier* _tmp248_;
					ValaCCodeUnaryExpression* _tmp249_;
					ValaCCodeUnaryExpression* _tmp250_;
					_tmp240_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp241_ = _tmp240_;
					vala_ccode_function_open_block (_tmp241_);
					_tmp242_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp243_ = _tmp242_;
					_tmp244_ = vala_ccode_variable_declarator_new ("length", NULL, NULL);
					_tmp245_ = _tmp244_;
					vala_ccode_function_add_declaration (_tmp243_, "int", (ValaCCodeDeclarator*) _tmp245_, 0);
					_vala_ccode_node_unref0 (_tmp245_);
					_tmp246_ = ccall;
					_tmp247_ = vala_ccode_identifier_new ("length");
					_tmp248_ = _tmp247_;
					_tmp249_ = vala_ccode_unary_expression_new (VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, (ValaCCodeExpression*) _tmp248_);
					_tmp250_ = _tmp249_;
					vala_ccode_function_call_add_argument (_tmp246_, (ValaCCodeExpression*) _tmp250_);
					_vala_ccode_node_unref0 (_tmp250_);
					_vala_ccode_node_unref0 (_tmp248_);
				}
				_tmp251_ = vala_ccode_function_call_new (NULL);
				csetcall = _tmp251_;
				_tmp252_ = prop;
				_tmp253_ = vala_property_get_get_accessor (_tmp252_);
				_tmp254_ = _tmp253_;
				_tmp255_ = vala_property_accessor_get_value_type (_tmp254_);
				_tmp256_ = _tmp255_;
				_tmp257_ = vala_data_type_get_value_owned (_tmp256_);
				_tmp258_ = _tmp257_;
				if (_tmp258_) {
					ValaCCodeFunctionCall* _tmp259_;
					ValaProperty* _tmp260_;
					ValaDataType* _tmp261_;
					ValaDataType* _tmp262_;
					ValaCCodeIdentifier* _tmp263_;
					ValaCCodeIdentifier* _tmp264_;
					_tmp259_ = csetcall;
					_tmp260_ = prop;
					_tmp261_ = vala_property_get_property_type (_tmp260_);
					_tmp262_ = _tmp261_;
					_tmp263_ = vala_ccode_base_module_get_value_taker_function ((ValaCCodeBaseModule*) self, _tmp262_);
					_tmp264_ = _tmp263_;
					vala_ccode_function_call_set_call (_tmp259_, (ValaCCodeExpression*) _tmp264_);
					_vala_ccode_node_unref0 (_tmp264_);
				} else {
					ValaCCodeFunctionCall* _tmp265_;
					ValaProperty* _tmp266_;
					ValaDataType* _tmp267_;
					ValaDataType* _tmp268_;
					ValaCCodeIdentifier* _tmp269_;
					ValaCCodeIdentifier* _tmp270_;
					_tmp265_ = csetcall;
					_tmp266_ = prop;
					_tmp267_ = vala_property_get_property_type (_tmp266_);
					_tmp268_ = _tmp267_;
					_tmp269_ = vala_ccode_base_module_get_value_setter_function ((ValaCCodeBaseModule*) self, _tmp268_);
					_tmp270_ = _tmp269_;
					vala_ccode_function_call_set_call (_tmp265_, (ValaCCodeExpression*) _tmp270_);
					_vala_ccode_node_unref0 (_tmp270_);
				}
				_tmp271_ = csetcall;
				_tmp272_ = vala_ccode_identifier_new ("value");
				_tmp273_ = _tmp272_;
				vala_ccode_function_call_add_argument (_tmp271_, (ValaCCodeExpression*) _tmp273_);
				_vala_ccode_node_unref0 (_tmp273_);
				_tmp274_ = csetcall;
				_tmp275_ = ccall;
				vala_ccode_function_call_add_argument (_tmp274_, (ValaCCodeExpression*) _tmp275_);
				_tmp276_ = prop;
				_tmp277_ = csetcall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp276_, (ValaCCodeExpression*) _tmp277_);
				_tmp279_ = array_type;
				if (_tmp279_ != NULL) {
					ValaArrayType* _tmp280_;
					ValaDataType* _tmp281_;
					ValaDataType* _tmp282_;
					ValaTypeSymbol* _tmp283_;
					ValaTypeSymbol* _tmp284_;
					ValaDataType* _tmp285_;
					ValaTypeSymbol* _tmp286_;
					ValaTypeSymbol* _tmp287_;
					_tmp280_ = array_type;
					_tmp281_ = vala_array_type_get_element_type (_tmp280_);
					_tmp282_ = _tmp281_;
					_tmp283_ = vala_data_type_get_data_type (_tmp282_);
					_tmp284_ = _tmp283_;
					_tmp285_ = ((ValaCCodeBaseModule*) self)->string_type;
					_tmp286_ = vala_data_type_get_data_type (_tmp285_);
					_tmp287_ = _tmp286_;
					_tmp278_ = _tmp284_ == _tmp287_;
				} else {
					_tmp278_ = FALSE;
				}
				if (_tmp278_) {
					ValaCCodeFunction* _tmp288_;
					ValaCCodeFunction* _tmp289_;
					_tmp288_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
					_tmp289_ = _tmp288_;
					vala_ccode_function_close (_tmp289_);
				}
				_vala_ccode_node_unref0 (csetcall);
				_vala_code_node_unref0 (array_type);
			}
			_tmp290_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp291_ = _tmp290_;
			vala_ccode_function_add_break (_tmp291_);
			_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);
	}
	_tmp292_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp293_ = _tmp292_;
	vala_ccode_function_add_default (_tmp293_);
	vala_gobject_module_emit_invalid_property_id_warn (self);
	_tmp294_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp295_ = _tmp294_;
	vala_ccode_function_add_break (_tmp295_);
	_tmp296_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp297_ = _tmp296_;
	vala_ccode_function_close (_tmp297_);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp298_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp299_ = get_prop;
	vala_ccode_file_add_function_declaration (_tmp298_, _tmp299_);
	_tmp300_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp301_ = get_prop;
	vala_ccode_file_add_function (_tmp300_, _tmp301_);
	_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* _tmp366_;
	ValaCCodeFunction* _tmp367_;
	ValaCCodeFunction* _tmp368_;
	ValaCCodeFunction* _tmp369_;
	ValaCCodeFunction* _tmp370_;
	ValaCCodeFunction* _tmp371_;
	ValaCCodeFile* _tmp372_;
	ValaCCodeFunction* _tmp373_;
	ValaCCodeFile* _tmp374_;
	ValaCCodeFunction* _tmp375_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (cl != NULL);
	_tmp0_ = cl;
	_tmp1_ = vala_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_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_;
			gchar* _tmp151_;
			gchar* _tmp152_;
			ValaCCodeIdentifier* _tmp153_;
			ValaCCodeIdentifier* _tmp154_;
			ValaCCodeExpression* _tmp155_;
			ValaCCodeFunctionCall* _tmp156_;
			ValaCCodeFunctionCall* _tmp157_;
			ValaCCodeExpression* _tmp158_;
			gboolean _tmp159_ = FALSE;
			ValaProperty* _tmp160_;
			ValaDataType* _tmp161_;
			ValaDataType* _tmp162_;
			ValaCCodeFunction* _tmp245_;
			ValaCCodeFunction* _tmp246_;
			_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_get_ccode_no_accessor_method (_tmp130_);
			if (!_tmp131_) {
				ValaProperty* _tmp132_;
				gboolean _tmp133_;
				_tmp132_ = base_prop;
				_tmp133_ = vala_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_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_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_get_ccode_upper_case_name ((ValaSymbol*) _tmp148_, NULL);
			_tmp150_ = _tmp149_;
			_tmp151_ = g_strdup_printf ("%s_PROPERTY", _tmp150_);
			_tmp152_ = _tmp151_;
			_tmp153_ = vala_ccode_identifier_new (_tmp152_);
			_tmp154_ = _tmp153_;
			vala_ccode_function_add_case (_tmp147_, (ValaCCodeExpression*) _tmp154_);
			_vala_ccode_node_unref0 (_tmp154_);
			_g_free0 (_tmp152_);
			_g_free0 (_tmp150_);
			_tmp155_ = cfunc;
			_tmp156_ = vala_ccode_function_call_new (_tmp155_);
			_vala_ccode_node_unref0 (ccall);
			ccall = _tmp156_;
			_tmp157_ = ccall;
			_tmp158_ = cself;
			vala_ccode_function_call_add_argument (_tmp157_, _tmp158_);
			_tmp160_ = prop;
			_tmp161_ = vala_property_get_property_type (_tmp160_);
			_tmp162_ = _tmp161_;
			if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp162_, VALA_TYPE_ARRAY_TYPE)) {
				ValaProperty* _tmp163_;
				ValaDataType* _tmp164_;
				ValaDataType* _tmp165_;
				ValaDataType* _tmp166_;
				ValaDataType* _tmp167_;
				ValaTypeSymbol* _tmp168_;
				ValaTypeSymbol* _tmp169_;
				ValaDataType* _tmp170_;
				ValaTypeSymbol* _tmp171_;
				ValaTypeSymbol* _tmp172_;
				_tmp163_ = prop;
				_tmp164_ = vala_property_get_property_type (_tmp163_);
				_tmp165_ = _tmp164_;
				_tmp166_ = vala_array_type_get_element_type (G_TYPE_CHECK_INSTANCE_CAST (_tmp165_, VALA_TYPE_ARRAY_TYPE, ValaArrayType));
				_tmp167_ = _tmp166_;
				_tmp168_ = vala_data_type_get_data_type (_tmp167_);
				_tmp169_ = _tmp168_;
				_tmp170_ = ((ValaCCodeBaseModule*) self)->string_type;
				_tmp171_ = vala_data_type_get_data_type (_tmp170_);
				_tmp172_ = _tmp171_;
				_tmp159_ = _tmp169_ == _tmp172_;
			} else {
				_tmp159_ = FALSE;
			}
			if (_tmp159_) {
				ValaCCodeFunction* _tmp173_;
				ValaCCodeFunction* _tmp174_;
				ValaCCodeFunction* _tmp175_;
				ValaCCodeFunction* _tmp176_;
				ValaCCodeVariableDeclarator* _tmp177_;
				ValaCCodeVariableDeclarator* _tmp178_;
				ValaCCodeFunctionCall* cgetcall = NULL;
				ValaCCodeIdentifier* _tmp179_;
				ValaCCodeIdentifier* _tmp180_;
				ValaCCodeFunctionCall* _tmp181_;
				ValaCCodeFunctionCall* _tmp182_;
				ValaCCodeFunctionCall* _tmp183_;
				ValaCCodeIdentifier* _tmp184_;
				ValaCCodeIdentifier* _tmp185_;
				ValaCCodeFunction* _tmp186_;
				ValaCCodeFunction* _tmp187_;
				ValaCCodeIdentifier* _tmp188_;
				ValaCCodeIdentifier* _tmp189_;
				ValaCCodeFunctionCall* _tmp190_;
				ValaCCodeFunctionCall* _tmp191_;
				ValaCCodeIdentifier* _tmp192_;
				ValaCCodeIdentifier* _tmp193_;
				ValaCCodeBinaryExpression* cisnull = NULL;
				ValaCCodeIdentifier* _tmp194_;
				ValaCCodeIdentifier* _tmp195_;
				ValaCCodeConstant* _tmp196_;
				ValaCCodeConstant* _tmp197_;
				ValaCCodeBinaryExpression* _tmp198_;
				ValaCCodeBinaryExpression* _tmp199_;
				ValaCCodeFunctionCall* cstrvlen = NULL;
				ValaCCodeIdentifier* _tmp200_;
				ValaCCodeIdentifier* _tmp201_;
				ValaCCodeFunctionCall* _tmp202_;
				ValaCCodeFunctionCall* _tmp203_;
				ValaCCodeFunctionCall* _tmp204_;
				ValaCCodeIdentifier* _tmp205_;
				ValaCCodeIdentifier* _tmp206_;
				ValaCCodeConditionalExpression* ccond = NULL;
				ValaCCodeBinaryExpression* _tmp207_;
				ValaCCodeConstant* _tmp208_;
				ValaCCodeConstant* _tmp209_;
				ValaCCodeFunctionCall* _tmp210_;
				ValaCCodeConditionalExpression* _tmp211_;
				ValaCCodeConditionalExpression* _tmp212_;
				ValaCCodeFunctionCall* _tmp213_;
				ValaCCodeConditionalExpression* _tmp214_;
				ValaProperty* _tmp215_;
				ValaCCodeFunctionCall* _tmp216_;
				ValaCCodeFunction* _tmp217_;
				ValaCCodeFunction* _tmp218_;
				_tmp173_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp174_ = _tmp173_;
				vala_ccode_function_open_block (_tmp174_);
				_tmp175_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp176_ = _tmp175_;
				_tmp177_ = vala_ccode_variable_declarator_new ("boxed", NULL, NULL);
				_tmp178_ = _tmp177_;
				vala_ccode_function_add_declaration (_tmp176_, "gpointer", (ValaCCodeDeclarator*) _tmp178_, 0);
				_vala_ccode_node_unref0 (_tmp178_);
				_tmp179_ = vala_ccode_identifier_new ("g_value_get_boxed");
				_tmp180_ = _tmp179_;
				_tmp181_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp180_);
				_tmp182_ = _tmp181_;
				_vala_ccode_node_unref0 (_tmp180_);
				cgetcall = _tmp182_;
				_tmp183_ = cgetcall;
				_tmp184_ = vala_ccode_identifier_new ("value");
				_tmp185_ = _tmp184_;
				vala_ccode_function_call_add_argument (_tmp183_, (ValaCCodeExpression*) _tmp185_);
				_vala_ccode_node_unref0 (_tmp185_);
				_tmp186_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp187_ = _tmp186_;
				_tmp188_ = vala_ccode_identifier_new ("boxed");
				_tmp189_ = _tmp188_;
				_tmp190_ = cgetcall;
				vala_ccode_function_add_assignment (_tmp187_, (ValaCCodeExpression*) _tmp189_, (ValaCCodeExpression*) _tmp190_);
				_vala_ccode_node_unref0 (_tmp189_);
				_tmp191_ = ccall;
				_tmp192_ = vala_ccode_identifier_new ("boxed");
				_tmp193_ = _tmp192_;
				vala_ccode_function_call_add_argument (_tmp191_, (ValaCCodeExpression*) _tmp193_);
				_vala_ccode_node_unref0 (_tmp193_);
				_tmp194_ = vala_ccode_identifier_new ("boxed");
				_tmp195_ = _tmp194_;
				_tmp196_ = vala_ccode_constant_new ("NULL");
				_tmp197_ = _tmp196_;
				_tmp198_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_EQUALITY, (ValaCCodeExpression*) _tmp195_, (ValaCCodeExpression*) _tmp197_);
				_tmp199_ = _tmp198_;
				_vala_ccode_node_unref0 (_tmp197_);
				_vala_ccode_node_unref0 (_tmp195_);
				cisnull = _tmp199_;
				_tmp200_ = vala_ccode_identifier_new ("g_strv_length");
				_tmp201_ = _tmp200_;
				_tmp202_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp201_);
				_tmp203_ = _tmp202_;
				_vala_ccode_node_unref0 (_tmp201_);
				cstrvlen = _tmp203_;
				_tmp204_ = cstrvlen;
				_tmp205_ = vala_ccode_identifier_new ("boxed");
				_tmp206_ = _tmp205_;
				vala_ccode_function_call_add_argument (_tmp204_, (ValaCCodeExpression*) _tmp206_);
				_vala_ccode_node_unref0 (_tmp206_);
				_tmp207_ = cisnull;
				_tmp208_ = vala_ccode_constant_new ("0");
				_tmp209_ = _tmp208_;
				_tmp210_ = cstrvlen;
				_tmp211_ = vala_ccode_conditional_expression_new ((ValaCCodeExpression*) _tmp207_, (ValaCCodeExpression*) _tmp209_, (ValaCCodeExpression*) _tmp210_);
				_tmp212_ = _tmp211_;
				_vala_ccode_node_unref0 (_tmp209_);
				ccond = _tmp212_;
				_tmp213_ = ccall;
				_tmp214_ = ccond;
				vala_ccode_function_call_add_argument (_tmp213_, (ValaCCodeExpression*) _tmp214_);
				_tmp215_ = prop;
				_tmp216_ = ccall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp215_, (ValaCCodeExpression*) _tmp216_);
				_tmp217_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
				_tmp218_ = _tmp217_;
				vala_ccode_function_close (_tmp218_);
				_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* _tmp219_;
				ValaProperty* _tmp220_;
				ValaDataType* _tmp221_;
				ValaDataType* _tmp222_;
				ValaTypeSymbol* _tmp223_;
				ValaTypeSymbol* _tmp224_;
				ValaCCodeFunctionCall* _tmp238_;
				ValaCCodeIdentifier* _tmp239_;
				ValaCCodeIdentifier* _tmp240_;
				ValaCCodeFunctionCall* _tmp241_;
				ValaCCodeFunctionCall* _tmp242_;
				ValaProperty* _tmp243_;
				ValaCCodeFunctionCall* _tmp244_;
				_tmp219_ = vala_ccode_function_call_new (NULL);
				cgetcall = _tmp219_;
				_tmp220_ = prop;
				_tmp221_ = vala_property_get_property_type (_tmp220_);
				_tmp222_ = _tmp221_;
				_tmp223_ = vala_data_type_get_data_type (_tmp222_);
				_tmp224_ = _tmp223_;
				if (_tmp224_ != NULL) {
					ValaCCodeFunctionCall* _tmp225_;
					ValaProperty* _tmp226_;
					ValaDataType* _tmp227_;
					ValaDataType* _tmp228_;
					ValaTypeSymbol* _tmp229_;
					ValaTypeSymbol* _tmp230_;
					gchar* _tmp231_;
					gchar* _tmp232_;
					ValaCCodeIdentifier* _tmp233_;
					ValaCCodeIdentifier* _tmp234_;
					_tmp225_ = cgetcall;
					_tmp226_ = prop;
					_tmp227_ = vala_property_get_property_type (_tmp226_);
					_tmp228_ = _tmp227_;
					_tmp229_ = vala_data_type_get_data_type (_tmp228_);
					_tmp230_ = _tmp229_;
					_tmp231_ = vala_get_ccode_get_value_function ((ValaCodeNode*) _tmp230_);
					_tmp232_ = _tmp231_;
					_tmp233_ = vala_ccode_identifier_new (_tmp232_);
					_tmp234_ = _tmp233_;
					vala_ccode_function_call_set_call (_tmp225_, (ValaCCodeExpression*) _tmp234_);
					_vala_ccode_node_unref0 (_tmp234_);
					_g_free0 (_tmp232_);
				} else {
					ValaCCodeFunctionCall* _tmp235_;
					ValaCCodeIdentifier* _tmp236_;
					ValaCCodeIdentifier* _tmp237_;
					_tmp235_ = cgetcall;
					_tmp236_ = vala_ccode_identifier_new ("g_value_get_pointer");
					_tmp237_ = _tmp236_;
					vala_ccode_function_call_set_call (_tmp235_, (ValaCCodeExpression*) _tmp237_);
					_vala_ccode_node_unref0 (_tmp237_);
				}
				_tmp238_ = cgetcall;
				_tmp239_ = vala_ccode_identifier_new ("value");
				_tmp240_ = _tmp239_;
				vala_ccode_function_call_add_argument (_tmp238_, (ValaCCodeExpression*) _tmp240_);
				_vala_ccode_node_unref0 (_tmp240_);
				_tmp241_ = ccall;
				_tmp242_ = cgetcall;
				vala_ccode_function_call_add_argument (_tmp241_, (ValaCCodeExpression*) _tmp242_);
				_tmp243_ = prop;
				_tmp244_ = ccall;
				vala_gobject_module_add_guarded_expression (self, (ValaSymbol*) _tmp243_, (ValaCCodeExpression*) _tmp244_);
				_vala_ccode_node_unref0 (cgetcall);
			}
			_tmp245_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp246_ = _tmp245_;
			vala_ccode_function_add_break (_tmp246_);
			_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* _tmp247_;
		ValaList* _tmp248_;
		gint _type_param_size = 0;
		ValaList* _tmp249_;
		gint _tmp250_;
		gint _tmp251_;
		gint _type_param_index = 0;
		_tmp247_ = cl;
		_tmp248_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp247_);
		_type_param_list = _tmp248_;
		_tmp249_ = _type_param_list;
		_tmp250_ = vala_collection_get_size ((ValaCollection*) _tmp249_);
		_tmp251_ = _tmp250_;
		_type_param_size = _tmp251_;
		_type_param_index = -1;
		while (TRUE) {
			gint _tmp252_;
			gint _tmp253_;
			gint _tmp254_;
			ValaTypeParameter* type_param = NULL;
			ValaList* _tmp255_;
			gint _tmp256_;
			gpointer _tmp257_;
			gchar* func_name = NULL;
			gchar* enum_value = NULL;
			ValaCCodeMemberAccess* cfield = NULL;
			ValaCCodeFunctionCall* cgetcall = NULL;
			ValaTypeParameter* _tmp258_;
			const gchar* _tmp259_;
			const gchar* _tmp260_;
			gchar* _tmp261_;
			gchar* _tmp262_;
			gchar* _tmp263_;
			ValaClass* _tmp264_;
			gchar* _tmp265_;
			gchar* _tmp266_;
			const gchar* _tmp267_;
			gchar* _tmp268_;
			gchar* _tmp269_;
			gchar* _tmp270_;
			ValaCCodeFunction* _tmp271_;
			ValaCCodeFunction* _tmp272_;
			const gchar* _tmp273_;
			ValaCCodeIdentifier* _tmp274_;
			ValaCCodeIdentifier* _tmp275_;
			ValaCCodeIdentifier* _tmp276_;
			ValaCCodeIdentifier* _tmp277_;
			ValaCCodeMemberAccess* _tmp278_;
			ValaCCodeMemberAccess* _tmp279_;
			const gchar* _tmp280_;
			ValaCCodeMemberAccess* _tmp281_;
			ValaCCodeIdentifier* _tmp282_;
			ValaCCodeIdentifier* _tmp283_;
			ValaCCodeFunctionCall* _tmp284_;
			ValaCCodeFunctionCall* _tmp285_;
			ValaCCodeIdentifier* _tmp286_;
			ValaCCodeIdentifier* _tmp287_;
			ValaCCodeFunction* _tmp288_;
			ValaCCodeFunction* _tmp289_;
			ValaCCodeMemberAccess* _tmp290_;
			ValaCCodeFunctionCall* _tmp291_;
			ValaCCodeFunction* _tmp292_;
			ValaCCodeFunction* _tmp293_;
			ValaTypeParameter* _tmp294_;
			const gchar* _tmp295_;
			const gchar* _tmp296_;
			gchar* _tmp297_;
			gchar* _tmp298_;
			gchar* _tmp299_;
			ValaClass* _tmp300_;
			gchar* _tmp301_;
			gchar* _tmp302_;
			const gchar* _tmp303_;
			gchar* _tmp304_;
			gchar* _tmp305_;
			gchar* _tmp306_;
			ValaCCodeFunction* _tmp307_;
			ValaCCodeFunction* _tmp308_;
			const gchar* _tmp309_;
			ValaCCodeIdentifier* _tmp310_;
			ValaCCodeIdentifier* _tmp311_;
			ValaCCodeIdentifier* _tmp312_;
			ValaCCodeIdentifier* _tmp313_;
			ValaCCodeMemberAccess* _tmp314_;
			ValaCCodeMemberAccess* _tmp315_;
			const gchar* _tmp316_;
			ValaCCodeMemberAccess* _tmp317_;
			ValaCCodeIdentifier* _tmp318_;
			ValaCCodeIdentifier* _tmp319_;
			ValaCCodeFunctionCall* _tmp320_;
			ValaCCodeFunctionCall* _tmp321_;
			ValaCCodeIdentifier* _tmp322_;
			ValaCCodeIdentifier* _tmp323_;
			ValaCCodeFunction* _tmp324_;
			ValaCCodeFunction* _tmp325_;
			ValaCCodeMemberAccess* _tmp326_;
			ValaCCodeFunctionCall* _tmp327_;
			ValaCCodeFunction* _tmp328_;
			ValaCCodeFunction* _tmp329_;
			ValaTypeParameter* _tmp330_;
			const gchar* _tmp331_;
			const gchar* _tmp332_;
			gchar* _tmp333_;
			gchar* _tmp334_;
			gchar* _tmp335_;
			ValaClass* _tmp336_;
			gchar* _tmp337_;
			gchar* _tmp338_;
			const gchar* _tmp339_;
			gchar* _tmp340_;
			gchar* _tmp341_;
			gchar* _tmp342_;
			ValaCCodeFunction* _tmp343_;
			ValaCCodeFunction* _tmp344_;
			const gchar* _tmp345_;
			ValaCCodeIdentifier* _tmp346_;
			ValaCCodeIdentifier* _tmp347_;
			ValaCCodeIdentifier* _tmp348_;
			ValaCCodeIdentifier* _tmp349_;
			ValaCCodeMemberAccess* _tmp350_;
			ValaCCodeMemberAccess* _tmp351_;
			const gchar* _tmp352_;
			ValaCCodeMemberAccess* _tmp353_;
			ValaCCodeIdentifier* _tmp354_;
			ValaCCodeIdentifier* _tmp355_;
			ValaCCodeFunctionCall* _tmp356_;
			ValaCCodeFunctionCall* _tmp357_;
			ValaCCodeIdentifier* _tmp358_;
			ValaCCodeIdentifier* _tmp359_;
			ValaCCodeFunction* _tmp360_;
			ValaCCodeFunction* _tmp361_;
			ValaCCodeMemberAccess* _tmp362_;
			ValaCCodeFunctionCall* _tmp363_;
			ValaCCodeFunction* _tmp364_;
			ValaCCodeFunction* _tmp365_;
			_tmp252_ = _type_param_index;
			_type_param_index = _tmp252_ + 1;
			_tmp253_ = _type_param_index;
			_tmp254_ = _type_param_size;
			if (!(_tmp253_ < _tmp254_)) {
				break;
			}
			_tmp255_ = _type_param_list;
			_tmp256_ = _type_param_index;
			_tmp257_ = vala_list_get (_tmp255_, _tmp256_);
			type_param = (ValaTypeParameter*) _tmp257_;
			_tmp258_ = type_param;
			_tmp259_ = vala_symbol_get_name ((ValaSymbol*) _tmp258_);
			_tmp260_ = _tmp259_;
			_tmp261_ = g_ascii_strdown (_tmp260_, (gssize) -1);
			_tmp262_ = _tmp261_;
			_tmp263_ = g_strdup_printf ("%s_type", _tmp262_);
			_g_free0 (func_name);
			func_name = _tmp263_;
			_g_free0 (_tmp262_);
			_tmp264_ = cl;
			_tmp265_ = vala_get_ccode_lower_case_name ((ValaCodeNode*) _tmp264_, NULL);
			_tmp266_ = _tmp265_;
			_tmp267_ = func_name;
			_tmp268_ = g_strdup_printf ("%s_%s", _tmp266_, _tmp267_);
			_tmp269_ = _tmp268_;
			_tmp270_ = g_ascii_strup (_tmp269_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp270_;
			_g_free0 (_tmp269_);
			_g_free0 (_tmp266_);
			_tmp271_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp272_ = _tmp271_;
			_tmp273_ = enum_value;
			_tmp274_ = vala_ccode_identifier_new (_tmp273_);
			_tmp275_ = _tmp274_;
			vala_ccode_function_add_case (_tmp272_, (ValaCCodeExpression*) _tmp275_);
			_vala_ccode_node_unref0 (_tmp275_);
			_tmp276_ = vala_ccode_identifier_new ("self");
			_tmp277_ = _tmp276_;
			_tmp278_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp277_, "priv");
			_tmp279_ = _tmp278_;
			_tmp280_ = func_name;
			_tmp281_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp279_, _tmp280_);
			_vala_ccode_node_unref0 (cfield);
			cfield = _tmp281_;
			_vala_ccode_node_unref0 (_tmp279_);
			_vala_ccode_node_unref0 (_tmp277_);
			_tmp282_ = vala_ccode_identifier_new ("g_value_get_gtype");
			_tmp283_ = _tmp282_;
			_tmp284_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp283_);
			_vala_ccode_node_unref0 (cgetcall);
			cgetcall = _tmp284_;
			_vala_ccode_node_unref0 (_tmp283_);
			_tmp285_ = cgetcall;
			_tmp286_ = vala_ccode_identifier_new ("value");
			_tmp287_ = _tmp286_;
			vala_ccode_function_call_add_argument (_tmp285_, (ValaCCodeExpression*) _tmp287_);
			_vala_ccode_node_unref0 (_tmp287_);
			_tmp288_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp289_ = _tmp288_;
			_tmp290_ = cfield;
			_tmp291_ = cgetcall;
			vala_ccode_function_add_assignment (_tmp289_, (ValaCCodeExpression*) _tmp290_, (ValaCCodeExpression*) _tmp291_);
			_tmp292_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp293_ = _tmp292_;
			vala_ccode_function_add_break (_tmp293_);
			_tmp294_ = type_param;
			_tmp295_ = vala_symbol_get_name ((ValaSymbol*) _tmp294_);
			_tmp296_ = _tmp295_;
			_tmp297_ = g_ascii_strdown (_tmp296_, (gssize) -1);
			_tmp298_ = _tmp297_;
			_tmp299_ = g_strdup_printf ("%s_dup_func", _tmp298_);
			_g_free0 (func_name);
			func_name = _tmp299_;
			_g_free0 (_tmp298_);
			_tmp300_ = cl;
			_tmp301_ = vala_get_ccode_lower_case_name ((ValaCodeNode*) _tmp300_, NULL);
			_tmp302_ = _tmp301_;
			_tmp303_ = func_name;
			_tmp304_ = g_strdup_printf ("%s_%s", _tmp302_, _tmp303_);
			_tmp305_ = _tmp304_;
			_tmp306_ = g_ascii_strup (_tmp305_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp306_;
			_g_free0 (_tmp305_);
			_g_free0 (_tmp302_);
			_tmp307_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp308_ = _tmp307_;
			_tmp309_ = enum_value;
			_tmp310_ = vala_ccode_identifier_new (_tmp309_);
			_tmp311_ = _tmp310_;
			vala_ccode_function_add_case (_tmp308_, (ValaCCodeExpression*) _tmp311_);
			_vala_ccode_node_unref0 (_tmp311_);
			_tmp312_ = vala_ccode_identifier_new ("self");
			_tmp313_ = _tmp312_;
			_tmp314_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp313_, "priv");
			_tmp315_ = _tmp314_;
			_tmp316_ = func_name;
			_tmp317_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp315_, _tmp316_);
			_vala_ccode_node_unref0 (cfield);
			cfield = _tmp317_;
			_vala_ccode_node_unref0 (_tmp315_);
			_vala_ccode_node_unref0 (_tmp313_);
			_tmp318_ = vala_ccode_identifier_new ("g_value_get_pointer");
			_tmp319_ = _tmp318_;
			_tmp320_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp319_);
			_vala_ccode_node_unref0 (cgetcall);
			cgetcall = _tmp320_;
			_vala_ccode_node_unref0 (_tmp319_);
			_tmp321_ = cgetcall;
			_tmp322_ = vala_ccode_identifier_new ("value");
			_tmp323_ = _tmp322_;
			vala_ccode_function_call_add_argument (_tmp321_, (ValaCCodeExpression*) _tmp323_);
			_vala_ccode_node_unref0 (_tmp323_);
			_tmp324_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp325_ = _tmp324_;
			_tmp326_ = cfield;
			_tmp327_ = cgetcall;
			vala_ccode_function_add_assignment (_tmp325_, (ValaCCodeExpression*) _tmp326_, (ValaCCodeExpression*) _tmp327_);
			_tmp328_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp329_ = _tmp328_;
			vala_ccode_function_add_break (_tmp329_);
			_tmp330_ = type_param;
			_tmp331_ = vala_symbol_get_name ((ValaSymbol*) _tmp330_);
			_tmp332_ = _tmp331_;
			_tmp333_ = g_ascii_strdown (_tmp332_, (gssize) -1);
			_tmp334_ = _tmp333_;
			_tmp335_ = g_strdup_printf ("%s_destroy_func", _tmp334_);
			_g_free0 (func_name);
			func_name = _tmp335_;
			_g_free0 (_tmp334_);
			_tmp336_ = cl;
			_tmp337_ = vala_get_ccode_lower_case_name ((ValaCodeNode*) _tmp336_, NULL);
			_tmp338_ = _tmp337_;
			_tmp339_ = func_name;
			_tmp340_ = g_strdup_printf ("%s_%s", _tmp338_, _tmp339_);
			_tmp341_ = _tmp340_;
			_tmp342_ = g_ascii_strup (_tmp341_, (gssize) -1);
			_g_free0 (enum_value);
			enum_value = _tmp342_;
			_g_free0 (_tmp341_);
			_g_free0 (_tmp338_);
			_tmp343_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp344_ = _tmp343_;
			_tmp345_ = enum_value;
			_tmp346_ = vala_ccode_identifier_new (_tmp345_);
			_tmp347_ = _tmp346_;
			vala_ccode_function_add_case (_tmp344_, (ValaCCodeExpression*) _tmp347_);
			_vala_ccode_node_unref0 (_tmp347_);
			_tmp348_ = vala_ccode_identifier_new ("self");
			_tmp349_ = _tmp348_;
			_tmp350_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp349_, "priv");
			_tmp351_ = _tmp350_;
			_tmp352_ = func_name;
			_tmp353_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp351_, _tmp352_);
			_vala_ccode_node_unref0 (cfield);
			cfield = _tmp353_;
			_vala_ccode_node_unref0 (_tmp351_);
			_vala_ccode_node_unref0 (_tmp349_);
			_tmp354_ = vala_ccode_identifier_new ("g_value_get_pointer");
			_tmp355_ = _tmp354_;
			_tmp356_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp355_);
			_vala_ccode_node_unref0 (cgetcall);
			cgetcall = _tmp356_;
			_vala_ccode_node_unref0 (_tmp355_);
			_tmp357_ = cgetcall;
			_tmp358_ = vala_ccode_identifier_new ("value");
			_tmp359_ = _tmp358_;
			vala_ccode_function_call_add_argument (_tmp357_, (ValaCCodeExpression*) _tmp359_);
			_vala_ccode_node_unref0 (_tmp359_);
			_tmp360_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp361_ = _tmp360_;
			_tmp362_ = cfield;
			_tmp363_ = cgetcall;
			vala_ccode_function_add_assignment (_tmp361_, (ValaCCodeExpression*) _tmp362_, (ValaCCodeExpression*) _tmp363_);
			_tmp364_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
			_tmp365_ = _tmp364_;
			vala_ccode_function_add_break (_tmp365_);
			_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);
	}
	_tmp366_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp367_ = _tmp366_;
	vala_ccode_function_add_default (_tmp367_);
	vala_gobject_module_emit_invalid_property_id_warn (self);
	_tmp368_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp369_ = _tmp368_;
	vala_ccode_function_add_break (_tmp369_);
	_tmp370_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
	_tmp371_ = _tmp370_;
	vala_ccode_function_close (_tmp371_);
	vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self);
	_tmp372_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp373_ = set_prop;
	vala_ccode_file_add_function_declaration (_tmp372_, _tmp373_);
	_tmp374_ = ((ValaCCodeBaseModule*) self)->cfile;
	_tmp375_ = set_prop;
	vala_ccode_file_add_function (_tmp374_, _tmp375_);
	_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_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_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_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_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_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_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_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_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_;
		gchar* _tmp11_;
		gchar* _tmp12_;
		ValaCCodeEnumValue* _tmp13_;
		ValaCCodeEnumValue* _tmp14_;
		gboolean _tmp15_ = FALSE;
		gboolean _tmp16_ = FALSE;
		ValaProperty* _tmp17_;
		ValaExpression* _tmp18_;
		ValaExpression* _tmp19_;
		_tmp7_ = ((ValaCCodeBaseModule*) self)->prop_enum;
		_tmp8_ = prop;
		_tmp9_ = vala_get_ccode_upper_case_name ((ValaSymbol*) _tmp8_, NULL);
		_tmp10_ = _tmp9_;
		_tmp11_ = g_strdup_printf ("%s_PROPERTY", _tmp10_);
		_tmp12_ = _tmp11_;
		_tmp13_ = vala_ccode_enum_value_new (_tmp12_, NULL);
		_tmp14_ = _tmp13_;
		vala_ccode_enum_add_value (_tmp7_, _tmp14_);
		_vala_ccode_node_unref0 (_tmp14_);
		_g_free0 (_tmp12_);
		_g_free0 (_tmp10_);
		_tmp17_ = prop;
		_tmp18_ = vala_property_get_initializer (_tmp17_);
		_tmp19_ = _tmp18_;
		if (_tmp19_ != NULL) {
			ValaProperty* _tmp20_;
			ValaPropertyAccessor* _tmp21_;
			ValaPropertyAccessor* _tmp22_;
			_tmp20_ = prop;
			_tmp21_ = vala_property_get_set_accessor (_tmp20_);
			_tmp22_ = _tmp21_;
			_tmp16_ = _tmp22_ != NULL;
		} else {
			_tmp16_ = FALSE;
		}
		if (_tmp16_) {
			ValaProperty* _tmp23_;
			ValaPropertyAccessor* _tmp24_;
			ValaPropertyAccessor* _tmp25_;
			gboolean _tmp26_;
			gboolean _tmp27_;
			_tmp23_ = prop;
			_tmp24_ = vala_property_get_set_accessor (_tmp23_);
			_tmp25_ = _tmp24_;
			_tmp26_ = vala_property_accessor_get_automatic_body (_tmp25_);
			_tmp27_ = _tmp26_;
			_tmp15_ = !_tmp27_;
		} else {
			_tmp15_ = FALSE;
		}
		if (_tmp15_) {
			gboolean has_spec_initializer = FALSE;
			ValaProperty* _tmp28_;
			ValaDataType* _tmp29_;
			ValaDataType* _tmp30_;
			ValaTypeSymbol* _tmp31_;
			ValaTypeSymbol* _tmp32_;
			gboolean _tmp33_ = FALSE;
			gboolean _tmp34_;
			gboolean _tmp47_;
			_tmp28_ = prop;
			_tmp29_ = vala_property_get_property_type (_tmp28_);
			_tmp30_ = _tmp29_;
			_tmp31_ = vala_data_type_get_data_type (_tmp30_);
			_tmp32_ = _tmp31_;
			has_spec_initializer = G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, VALA_TYPE_ENUM);
			_tmp34_ = has_spec_initializer;
			if (!_tmp34_) {
				ValaProperty* _tmp35_;
				ValaDataType* _tmp36_;
				ValaDataType* _tmp37_;
				ValaTypeSymbol* _tmp38_;
				ValaTypeSymbol* _tmp39_;
				_tmp35_ = prop;
				_tmp36_ = vala_property_get_property_type (_tmp35_);
				_tmp37_ = _tmp36_;
				_tmp38_ = vala_data_type_get_data_type (_tmp37_);
				_tmp39_ = _tmp38_;
				_tmp33_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp39_, VALA_TYPE_STRUCT);
			} else {
				_tmp33_ = FALSE;
			}
			if (_tmp33_) {
				gchar* param_spec_func = NULL;
				ValaProperty* _tmp40_;
				ValaDataType* _tmp41_;
				ValaDataType* _tmp42_;
				ValaTypeSymbol* _tmp43_;
				ValaTypeSymbol* _tmp44_;
				gchar* _tmp45_;
				const gchar* _tmp46_;
				_tmp40_ = prop;
				_tmp41_ = vala_property_get_property_type (_tmp40_);
				_tmp42_ = _tmp41_;
				_tmp43_ = vala_data_type_get_data_type (_tmp42_);
				_tmp44_ = _tmp43_;
				_tmp45_ = vala_get_ccode_param_spec_function ((ValaCodeNode*) _tmp44_);
				param_spec_func = _tmp45_;
				_tmp46_ = param_spec_func;
				has_spec_initializer = g_strcmp0 (_tmp46_, "g_param_spec_boxed") != 0;
				_g_free0 (param_spec_func);
			}
			_tmp47_ = has_spec_initializer;
			if (!_tmp47_) {
				ValaCCodeBaseModuleEmitContext* _tmp48_;
				ValaProperty* _tmp49_;
				ValaExpression* _tmp50_;
				ValaExpression* _tmp51_;
				ValaMemberAccess* inst_ma = NULL;
				ValaMemberAccess* _tmp52_;
				ValaMemberAccess* _tmp53_;
				ValaProperty* _tmp54_;
				ValaSymbol* _tmp55_;
				ValaSymbol* _tmp56_;
				ValaDataType* _tmp57_;
				ValaDataType* _tmp58_;
				ValaCCodeIdentifier* _tmp59_;
				ValaCCodeIdentifier* _tmp60_;
				ValaGLibValue* _tmp61_;
				ValaGLibValue* _tmp62_;
				ValaProperty* _tmp63_;
				ValaMemberAccess* _tmp64_;
				ValaProperty* _tmp65_;
				ValaExpression* _tmp66_;
				ValaExpression* _tmp67_;
				ValaTargetValue* _tmp68_;
				ValaTargetValue* _tmp69_;
				ValaArrayList* _tmp70_;
				ValaArrayList* _tmp71_;
				_tmp48_ = ((ValaCCodeBaseModule*) self)->instance_init_context;
				vala_ccode_base_module_push_context ((ValaCCodeBaseModule*) self, _tmp48_);
				_tmp49_ = prop;
				_tmp50_ = vala_property_get_initializer (_tmp49_);
				_tmp51_ = _tmp50_;
				vala_code_node_emit ((ValaCodeNode*) _tmp51_, (ValaCodeGenerator*) self);
				_tmp52_ = vala_member_access_new_simple ("this", NULL);
				inst_ma = _tmp52_;
				_tmp53_ = inst_ma;
				_tmp54_ = prop;
				_tmp55_ = vala_symbol_get_parent_symbol ((ValaSymbol*) _tmp54_);
				_tmp56_ = _tmp55_;
				_tmp57_ = vala_ccode_base_module_get_data_type_for_symbol ((ValaTypeSymbol*) G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, VALA_TYPE_CLASS, ValaClass));
				_tmp58_ = _tmp57_;
				_tmp59_ = vala_ccode_identifier_new ("self");
				_tmp60_ = _tmp59_;
				_tmp61_ = vala_glib_value_new (_tmp58_, (ValaCCodeExpression*) _tmp60_, TRUE);
				_tmp62_ = _tmp61_;
				vala_expression_set_target_value ((ValaExpression*) _tmp53_, (ValaTargetValue*) _tmp62_);
				_vala_target_value_unref0 (_tmp62_);
				_vala_ccode_node_unref0 (_tmp60_);
				_vala_code_node_unref0 (_tmp58_);
				_tmp63_ = prop;
				_tmp64_ = inst_ma;
				_tmp65_ = prop;
				_tmp66_ = vala_property_get_initializer (_tmp65_);
				_tmp67_ = _tmp66_;
				_tmp68_ = vala_expression_get_target_value (_tmp67_);
				_tmp69_ = _tmp68_;
				vala_ccode_base_module_store_property ((ValaCCodeBaseModule*) self, _tmp63_, (ValaExpression*) _tmp64_, _tmp69_);
				_tmp70_ = vala_ccode_base_module_get_temp_ref_values ((ValaCCodeBaseModule*) self);
				_tmp71_ = _tmp70_;
				vala_collection_clear ((ValaCollection*) _tmp71_);
				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_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;
}



