#include "il2cpp-config.h"
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#include "t338.h"
#include <cstring>
#include <string.h>
#include <stdio.h>
#ifndef _MSC_VER
#include <alloca.h>
#else
#include <malloc.h>
#endif
#include <cmath>
#include <limits>
#include <assert.h>
#include "t338MD.h"


#include "t96.h"

#include "t339.h"
#ifndef _MSC_VER
#else
#endif
#include "t339MD.h"



#include "t340.h"
#ifndef _MSC_VER
#else
#endif
#include "t340MD.h"



#include "t341.h"
#ifndef _MSC_VER
#else
#endif
#include "t341MD.h"

#include "t97.h"
#include "t91.h"
#include "t101.h"
#include "t98.h"
#include "t342.h"
#include "t347.h"
#include "t346.h"
#include "t283.h"
#include "t246.h"
#include "t303.h"
#include "t100.h"
#include "t452.h"
#include "t342MD.h"
#include "t104MD.h"
#include "t91MD.h"
#include "t347MD.h"
#include "t346MD.h"
#include "t246MD.h"
#include "t283MD.h"
#include "t303MD.h"
struct t342;
extern "C" void m2113_gshared (t342 * __this, int32_t* p0, int32_t p1, const MethodInfo* method);
#define m2113(__this, p0, p1, method) (( void (*) (t342 *, int32_t*, int32_t, const MethodInfo*))m2113_gshared)(__this, p0, p1, method)
struct t342;
extern "C" void m2114_gshared (t342 * __this, int32_t* p0, int32_t p1, const MethodInfo* method);
#define m2114(__this, p0, p1, method) (( void (*) (t342 *, int32_t*, int32_t, const MethodInfo*))m2114_gshared)(__this, p0, p1, method)
struct t342;
extern "C" void m2115_gshared (t342 * __this, t91 * p0, t91  p1, const MethodInfo* method);
#define m2115(__this, p0, p1, method) (( void (*) (t342 *, t91 *, t91 , const MethodInfo*))m2115_gshared)(__this, p0, p1, method)
struct t342;
extern "C" void m2116_gshared (t342 * __this, int32_t* p0, int32_t p1, const MethodInfo* method);
#define m2116(__this, p0, p1, method) (( void (*) (t342 *, int32_t*, int32_t, const MethodInfo*))m2116_gshared)(__this, p0, p1, method)
struct t342;
extern "C" void m2117_gshared (t342 * __this, int32_t* p0, int32_t p1, const MethodInfo* method);
#define m2117(__this, p0, p1, method) (( void (*) (t342 *, int32_t*, int32_t, const MethodInfo*))m2117_gshared)(__this, p0, p1, method)


extern "C" void m1494 (t341 * __this, const MethodInfo* method)
{
	{
		t91  L_0 = {0};
		m250(&L_0, (100.0f), (100.0f), NULL);
		__this->f12 = L_0;
		t91  L_1 = m1708(NULL, NULL);
		__this->f13 = L_1;
		__this->f15 = 2;
		m1550(__this, NULL);
		return;
	}
}
extern "C" int32_t m1495 (t341 * __this, const MethodInfo* method)
{
	{
		int32_t L_0 = (__this->f10);
		return L_0;
	}
}
extern const MethodInfo* m2113_MI_var;
extern "C" void m1496 (t341 * __this, int32_t p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2113_MI_var = il2cpp_codegen_method_info_from_index(2147483856);
		s_Il2CppMethodIntialized = true;
	}
	{
		int32_t* L_0 = &(__this->f10);
		int32_t L_1 = p0;
		m2113(__this, L_0, L_1, m2113_MI_var);
		return;
	}
}
extern "C" int32_t m1497 (t341 * __this, const MethodInfo* method)
{
	{
		int32_t L_0 = (__this->f11);
		return L_0;
	}
}
extern const MethodInfo* m2114_MI_var;
extern "C" void m1498 (t341 * __this, int32_t p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2114_MI_var = il2cpp_codegen_method_info_from_index(2147483857);
		s_Il2CppMethodIntialized = true;
	}
	{
		int32_t* L_0 = &(__this->f11);
		int32_t L_1 = p0;
		m2114(__this, L_0, L_1, m2114_MI_var);
		return;
	}
}
extern "C" t91  m1499 (t341 * __this, const MethodInfo* method)
{
	{
		t91  L_0 = (__this->f12);
		return L_0;
	}
}
extern const MethodInfo* m2115_MI_var;
extern "C" void m1500 (t341 * __this, t91  p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2115_MI_var = il2cpp_codegen_method_info_from_index(2147483858);
		s_Il2CppMethodIntialized = true;
	}
	{
		t91 * L_0 = &(__this->f12);
		t91  L_1 = p0;
		m2115(__this, L_0, L_1, m2115_MI_var);
		return;
	}
}
extern "C" t91  m1501 (t341 * __this, const MethodInfo* method)
{
	{
		t91  L_0 = (__this->f13);
		return L_0;
	}
}
extern const MethodInfo* m2115_MI_var;
extern "C" void m1502 (t341 * __this, t91  p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2115_MI_var = il2cpp_codegen_method_info_from_index(2147483858);
		s_Il2CppMethodIntialized = true;
	}
	{
		t91 * L_0 = &(__this->f13);
		t91  L_1 = p0;
		m2115(__this, L_0, L_1, m2115_MI_var);
		return;
	}
}
extern "C" int32_t m1503 (t341 * __this, const MethodInfo* method)
{
	{
		int32_t L_0 = (__this->f14);
		return L_0;
	}
}
extern const MethodInfo* m2116_MI_var;
extern "C" void m1504 (t341 * __this, int32_t p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2116_MI_var = il2cpp_codegen_method_info_from_index(2147483859);
		s_Il2CppMethodIntialized = true;
	}
	{
		int32_t* L_0 = &(__this->f14);
		int32_t L_1 = p0;
		m2116(__this, L_0, L_1, m2116_MI_var);
		return;
	}
}
extern "C" int32_t m1505 (t341 * __this, const MethodInfo* method)
{
	{
		int32_t L_0 = (__this->f15);
		return L_0;
	}
}
extern TypeInfo* t104_TI_var;
extern const MethodInfo* m2117_MI_var;
extern "C" void m1506 (t341 * __this, int32_t p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		m2117_MI_var = il2cpp_codegen_method_info_from_index(2147483860);
		s_Il2CppMethodIntialized = true;
	}
	{
		int32_t* L_0 = &(__this->f15);
		int32_t L_1 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_2 = m1974(NULL, 1, L_1, NULL);
		m2117(__this, L_0, L_2, m2117_MI_var);
		return;
	}
}
extern TypeInfo* t104_TI_var;
extern "C" void m1507 (t341 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		s_Il2CppMethodIntialized = true;
	}
	int32_t V_0 = 0;
	int32_t V_1 = 0;
	t91  V_2 = {0};
	t91  V_3 = {0};
	t91  V_4 = {0};
	t91  V_5 = {0};
	t91  V_6 = {0};
	t91  V_7 = {0};
	{
		m1557(__this, NULL);
		V_0 = 0;
		V_1 = 0;
		int32_t L_0 = (__this->f14);
		if ((!(((uint32_t)L_0) == ((uint32_t)1))))
		{
			goto IL_0024;
		}
	}
	{
		int32_t L_1 = (__this->f15);
		int32_t L_2 = L_1;
		V_1 = L_2;
		V_0 = L_2;
		goto IL_0070;
	}

IL_0024:
	{
		int32_t L_3 = (__this->f14);
		if ((!(((uint32_t)L_3) == ((uint32_t)2))))
		{
			goto IL_0057;
		}
	}
	{
		t347 * L_4 = m1556(__this, NULL);
		int32_t L_5 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_4);
		int32_t L_6 = (__this->f15);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_7 = m382(NULL, ((float)((float)((float)((float)(((float)L_5))/(float)(((float)L_6))))-(float)(0.001f))), NULL);
		int32_t L_8 = L_7;
		V_1 = L_8;
		V_0 = L_8;
		goto IL_0070;
	}

IL_0057:
	{
		V_0 = 1;
		t347 * L_9 = m1556(__this, NULL);
		int32_t L_10 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_9);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_11 = sqrtf((((float)L_10)));
		int32_t L_12 = m382(NULL, L_11, NULL);
		V_1 = L_12;
	}

IL_0070:
	{
		t346 * L_13 = m1551(__this, NULL);
		int32_t L_14 = m2118(L_13, NULL);
		t91  L_15 = m1499(__this, NULL);
		V_2 = L_15;
		float L_16 = ((&V_2)->f1);
		t91  L_17 = m1501(__this, NULL);
		V_3 = L_17;
		float L_18 = ((&V_3)->f1);
		int32_t L_19 = V_0;
		t91  L_20 = m1501(__this, NULL);
		V_4 = L_20;
		float L_21 = ((&V_4)->f1);
		t346 * L_22 = m1551(__this, NULL);
		int32_t L_23 = m2118(L_22, NULL);
		t91  L_24 = m1499(__this, NULL);
		V_5 = L_24;
		float L_25 = ((&V_5)->f1);
		t91  L_26 = m1501(__this, NULL);
		V_6 = L_26;
		float L_27 = ((&V_6)->f1);
		int32_t L_28 = V_1;
		t91  L_29 = m1501(__this, NULL);
		V_7 = L_29;
		float L_30 = ((&V_7)->f1);
		m1572(__this, ((float)((float)((float)((float)(((float)L_14))+(float)((float)((float)((float)((float)L_16+(float)L_18))*(float)(((float)L_19))))))-(float)L_21)), ((float)((float)((float)((float)(((float)L_23))+(float)((float)((float)((float)((float)L_25+(float)L_27))*(float)(((float)L_28))))))-(float)L_30)), (-1.0f), 0, NULL);
		return;
	}
}
extern TypeInfo* t104_TI_var;
extern "C" void m1508 (t341 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		s_Il2CppMethodIntialized = true;
	}
	int32_t V_0 = 0;
	float V_1 = 0.0f;
	int32_t V_2 = 0;
	float V_3 = 0.0f;
	t283  V_4 = {0};
	t91  V_5 = {0};
	t91  V_6 = {0};
	t91  V_7 = {0};
	t91  V_8 = {0};
	t91  V_9 = {0};
	t91  V_10 = {0};
	t91  V_11 = {0};
	{
		V_0 = 0;
		int32_t L_0 = (__this->f14);
		if ((!(((uint32_t)L_0) == ((uint32_t)1))))
		{
			goto IL_0033;
		}
	}
	{
		t347 * L_1 = m1556(__this, NULL);
		int32_t L_2 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_1);
		int32_t L_3 = (__this->f15);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_4 = m382(NULL, ((float)((float)((float)((float)(((float)L_2))/(float)(((float)L_3))))-(float)(0.001f))), NULL);
		V_0 = L_4;
		goto IL_00ce;
	}

IL_0033:
	{
		int32_t L_5 = (__this->f14);
		if ((!(((uint32_t)L_5) == ((uint32_t)2))))
		{
			goto IL_004b;
		}
	}
	{
		int32_t L_6 = (__this->f15);
		V_0 = L_6;
		goto IL_00ce;
	}

IL_004b:
	{
		t246 * L_7 = m1555(__this, NULL);
		t283  L_8 = m1829(L_7, NULL);
		V_4 = L_8;
		t91  L_9 = m1896((&V_4), NULL);
		V_5 = L_9;
		float L_10 = ((&V_5)->f1);
		V_1 = L_10;
		float L_11 = V_1;
		t346 * L_12 = m1551(__this, NULL);
		int32_t L_13 = m2118(L_12, NULL);
		t91  L_14 = m1501(__this, NULL);
		V_6 = L_14;
		float L_15 = ((&V_6)->f1);
		t91  L_16 = m1499(__this, NULL);
		V_7 = L_16;
		float L_17 = ((&V_7)->f1);
		t91  L_18 = m1501(__this, NULL);
		V_8 = L_18;
		float L_19 = ((&V_8)->f1);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_20 = m322(NULL, ((float)((float)((float)((float)((float)((float)((float)((float)L_11-(float)(((float)L_13))))+(float)L_15))+(float)(0.001f)))/(float)((float)((float)L_17+(float)L_19)))), NULL);
		int32_t L_21 = m1974(NULL, 1, L_20, NULL);
		V_2 = L_21;
		t347 * L_22 = m1556(__this, NULL);
		int32_t L_23 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_22);
		int32_t L_24 = V_2;
		int32_t L_25 = m382(NULL, ((float)((float)(((float)L_23))/(float)(((float)L_24)))), NULL);
		V_0 = L_25;
	}

IL_00ce:
	{
		t346 * L_26 = m1551(__this, NULL);
		int32_t L_27 = m2119(L_26, NULL);
		t91  L_28 = m1499(__this, NULL);
		V_9 = L_28;
		float L_29 = ((&V_9)->f2);
		t91  L_30 = m1501(__this, NULL);
		V_10 = L_30;
		float L_31 = ((&V_10)->f2);
		int32_t L_32 = V_0;
		t91  L_33 = m1501(__this, NULL);
		V_11 = L_33;
		float L_34 = ((&V_11)->f2);
		V_3 = ((float)((float)((float)((float)(((float)L_27))+(float)((float)((float)((float)((float)L_29+(float)L_31))*(float)(((float)L_32))))))-(float)L_34));
		float L_35 = V_3;
		float L_36 = V_3;
		m1572(__this, L_35, L_36, (-1.0f), 1, NULL);
		return;
	}
}
extern "C" void m1509 (t341 * __this, const MethodInfo* method)
{
	{
		m1511(__this, 0, NULL);
		return;
	}
}
extern "C" void m1510 (t341 * __this, const MethodInfo* method)
{
	{
		m1511(__this, 1, NULL);
		return;
	}
}
extern TypeInfo* t104_TI_var;
extern "C" void m1511 (t341 * __this, int32_t p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		s_Il2CppMethodIntialized = true;
	}
	int32_t V_0 = 0;
	t246 * V_1 = {0};
	float V_2 = 0.0f;
	float V_3 = 0.0f;
	int32_t V_4 = 0;
	int32_t V_5 = 0;
	int32_t V_6 = 0;
	int32_t V_7 = 0;
	int32_t V_8 = 0;
	int32_t V_9 = 0;
	int32_t V_10 = 0;
	t91  V_11 = {0};
	t91  V_12 = {0};
	int32_t V_13 = 0;
	int32_t V_14 = 0;
	int32_t V_15 = 0;
	t283  V_16 = {0};
	t91  V_17 = {0};
	t283  V_18 = {0};
	t91  V_19 = {0};
	t91  V_20 = {0};
	t91  V_21 = {0};
	t91  V_22 = {0};
	t91  V_23 = {0};
	t91  V_24 = {0};
	t91  V_25 = {0};
	t91  V_26 = {0};
	t91  V_27 = {0};
	t91  V_28 = {0};
	t91  V_29 = {0};
	t91  V_30 = {0};
	t91  V_31 = {0};
	t91  V_32 = {0};
	t91  V_33 = {0};
	t91  V_34 = {0};
	t91  V_35 = {0};
	t91  V_36 = {0};
	t91  V_37 = {0};
	t91  V_38 = {0};
	t91  V_39 = {0};
	{
		int32_t L_0 = p0;
		if (L_0)
		{
			goto IL_0064;
		}
	}
	{
		V_0 = 0;
		goto IL_0052;
	}

IL_000d:
	{
		t347 * L_1 = m1556(__this, NULL);
		int32_t L_2 = V_0;
		t246 * L_3 = (t246 *)VirtFuncInvoker1< t246 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_1, L_2);
		V_1 = L_3;
		t303 * L_4 = &(((t342 *)__this)->f5);
		t246 * L_5 = V_1;
		m2031(L_4, __this, L_5, ((int32_t)16134), NULL);
		t246 * L_6 = V_1;
		t91  L_7 = m2120(NULL, NULL);
		m2001(L_6, L_7, NULL);
		t246 * L_8 = V_1;
		t91  L_9 = m2120(NULL, NULL);
		m1891(L_8, L_9, NULL);
		t246 * L_10 = V_1;
		t91  L_11 = m1499(__this, NULL);
		m1892(L_10, L_11, NULL);
		int32_t L_12 = V_0;
		V_0 = ((int32_t)((int32_t)L_12+(int32_t)1));
	}

IL_0052:
	{
		int32_t L_13 = V_0;
		t347 * L_14 = m1556(__this, NULL);
		int32_t L_15 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_14);
		if ((((int32_t)L_13) < ((int32_t)L_15)))
		{
			goto IL_000d;
		}
	}
	{
		return;
	}

IL_0064:
	{
		t246 * L_16 = m1555(__this, NULL);
		t283  L_17 = m1829(L_16, NULL);
		V_16 = L_17;
		t91  L_18 = m1896((&V_16), NULL);
		V_17 = L_18;
		float L_19 = ((&V_17)->f1);
		V_2 = L_19;
		t246 * L_20 = m1555(__this, NULL);
		t283  L_21 = m1829(L_20, NULL);
		V_18 = L_21;
		t91  L_22 = m1896((&V_18), NULL);
		V_19 = L_22;
		float L_23 = ((&V_19)->f2);
		V_3 = L_23;
		V_4 = 1;
		V_5 = 1;
		int32_t L_24 = (__this->f14);
		if ((!(((uint32_t)L_24) == ((uint32_t)1))))
		{
			goto IL_00dc;
		}
	}
	{
		int32_t L_25 = (__this->f15);
		V_4 = L_25;
		t347 * L_26 = m1556(__this, NULL);
		int32_t L_27 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_26);
		int32_t L_28 = V_4;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_29 = m382(NULL, ((float)((float)((float)((float)(((float)L_27))/(float)(((float)L_28))))-(float)(0.001f))), NULL);
		V_5 = L_29;
		goto IL_021e;
	}

IL_00dc:
	{
		int32_t L_30 = (__this->f14);
		if ((!(((uint32_t)L_30) == ((uint32_t)2))))
		{
			goto IL_0112;
		}
	}
	{
		int32_t L_31 = (__this->f15);
		V_5 = L_31;
		t347 * L_32 = m1556(__this, NULL);
		int32_t L_33 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_32);
		int32_t L_34 = V_5;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_35 = m382(NULL, ((float)((float)((float)((float)(((float)L_33))/(float)(((float)L_34))))-(float)(0.001f))), NULL);
		V_4 = L_35;
		goto IL_021e;
	}

IL_0112:
	{
		t91  L_36 = m1499(__this, NULL);
		V_20 = L_36;
		float L_37 = ((&V_20)->f1);
		t91  L_38 = m1501(__this, NULL);
		V_21 = L_38;
		float L_39 = ((&V_21)->f1);
		if ((!(((float)((float)((float)L_37+(float)L_39))) <= ((float)(0.0f)))))
		{
			goto IL_0147;
		}
	}
	{
		V_4 = ((int32_t)2147483647);
		goto IL_0198;
	}

IL_0147:
	{
		float L_40 = V_2;
		t346 * L_41 = m1551(__this, NULL);
		int32_t L_42 = m2118(L_41, NULL);
		t91  L_43 = m1501(__this, NULL);
		V_22 = L_43;
		float L_44 = ((&V_22)->f1);
		t91  L_45 = m1499(__this, NULL);
		V_23 = L_45;
		float L_46 = ((&V_23)->f1);
		t91  L_47 = m1501(__this, NULL);
		V_24 = L_47;
		float L_48 = ((&V_24)->f1);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_49 = m322(NULL, ((float)((float)((float)((float)((float)((float)((float)((float)L_40-(float)(((float)L_42))))+(float)L_44))+(float)(0.001f)))/(float)((float)((float)L_46+(float)L_48)))), NULL);
		int32_t L_50 = m1974(NULL, 1, L_49, NULL);
		V_4 = L_50;
	}

IL_0198:
	{
		t91  L_51 = m1499(__this, NULL);
		V_25 = L_51;
		float L_52 = ((&V_25)->f2);
		t91  L_53 = m1501(__this, NULL);
		V_26 = L_53;
		float L_54 = ((&V_26)->f2);
		if ((!(((float)((float)((float)L_52+(float)L_54))) <= ((float)(0.0f)))))
		{
			goto IL_01cd;
		}
	}
	{
		V_5 = ((int32_t)2147483647);
		goto IL_021e;
	}

IL_01cd:
	{
		float L_55 = V_3;
		t346 * L_56 = m1551(__this, NULL);
		int32_t L_57 = m2119(L_56, NULL);
		t91  L_58 = m1501(__this, NULL);
		V_27 = L_58;
		float L_59 = ((&V_27)->f2);
		t91  L_60 = m1499(__this, NULL);
		V_28 = L_60;
		float L_61 = ((&V_28)->f2);
		t91  L_62 = m1501(__this, NULL);
		V_29 = L_62;
		float L_63 = ((&V_29)->f2);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_64 = m322(NULL, ((float)((float)((float)((float)((float)((float)((float)((float)L_55-(float)(((float)L_57))))+(float)L_59))+(float)(0.001f)))/(float)((float)((float)L_61+(float)L_63)))), NULL);
		int32_t L_65 = m1974(NULL, 1, L_64, NULL);
		V_5 = L_65;
	}

IL_021e:
	{
		int32_t L_66 = m1495(__this, NULL);
		V_6 = ((int32_t)((int32_t)L_66%(int32_t)2));
		int32_t L_67 = m1495(__this, NULL);
		V_7 = ((int32_t)((int32_t)L_67/(int32_t)2));
		int32_t L_68 = m1497(__this, NULL);
		if (L_68)
		{
			goto IL_027a;
		}
	}
	{
		int32_t L_69 = V_4;
		V_8 = L_69;
		int32_t L_70 = V_4;
		t347 * L_71 = m1556(__this, NULL);
		int32_t L_72 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_71);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_73 = m383(NULL, L_70, 1, L_72, NULL);
		V_9 = L_73;
		int32_t L_74 = V_5;
		t347 * L_75 = m1556(__this, NULL);
		int32_t L_76 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_75);
		int32_t L_77 = V_8;
		int32_t L_78 = m382(NULL, ((float)((float)(((float)L_76))/(float)(((float)L_77)))), NULL);
		int32_t L_79 = m383(NULL, L_74, 1, L_78, NULL);
		V_10 = L_79;
		goto IL_02b2;
	}

IL_027a:
	{
		int32_t L_80 = V_5;
		V_8 = L_80;
		int32_t L_81 = V_5;
		t347 * L_82 = m1556(__this, NULL);
		int32_t L_83 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_82);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		int32_t L_84 = m383(NULL, L_81, 1, L_83, NULL);
		V_10 = L_84;
		int32_t L_85 = V_4;
		t347 * L_86 = m1556(__this, NULL);
		int32_t L_87 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_86);
		int32_t L_88 = V_8;
		int32_t L_89 = m382(NULL, ((float)((float)(((float)L_87))/(float)(((float)L_88)))), NULL);
		int32_t L_90 = m383(NULL, L_85, 1, L_89, NULL);
		V_9 = L_90;
	}

IL_02b2:
	{
		int32_t L_91 = V_9;
		t91  L_92 = m1499(__this, NULL);
		V_30 = L_92;
		float L_93 = ((&V_30)->f1);
		int32_t L_94 = V_9;
		t91  L_95 = m1501(__this, NULL);
		V_31 = L_95;
		float L_96 = ((&V_31)->f1);
		int32_t L_97 = V_10;
		t91  L_98 = m1499(__this, NULL);
		V_32 = L_98;
		float L_99 = ((&V_32)->f2);
		int32_t L_100 = V_10;
		t91  L_101 = m1501(__this, NULL);
		V_33 = L_101;
		float L_102 = ((&V_33)->f2);
		m250((&V_11), ((float)((float)((float)((float)(((float)L_91))*(float)L_93))+(float)((float)((float)(((float)((int32_t)((int32_t)L_94-(int32_t)1))))*(float)L_96)))), ((float)((float)((float)((float)(((float)L_97))*(float)L_99))+(float)((float)((float)(((float)((int32_t)((int32_t)L_100-(int32_t)1))))*(float)L_102)))), NULL);
		float L_103 = ((&V_11)->f1);
		float L_104 = m1571(__this, 0, L_103, NULL);
		float L_105 = ((&V_11)->f2);
		float L_106 = m1571(__this, 1, L_105, NULL);
		m250((&V_12), L_104, L_106, NULL);
		V_13 = 0;
		goto IL_042c;
	}

IL_0336:
	{
		int32_t L_107 = m1497(__this, NULL);
		if (L_107)
		{
			goto IL_0354;
		}
	}
	{
		int32_t L_108 = V_13;
		int32_t L_109 = V_8;
		V_14 = ((int32_t)((int32_t)L_108%(int32_t)L_109));
		int32_t L_110 = V_13;
		int32_t L_111 = V_8;
		V_15 = ((int32_t)((int32_t)L_110/(int32_t)L_111));
		goto IL_0362;
	}

IL_0354:
	{
		int32_t L_112 = V_13;
		int32_t L_113 = V_8;
		V_14 = ((int32_t)((int32_t)L_112/(int32_t)L_113));
		int32_t L_114 = V_13;
		int32_t L_115 = V_8;
		V_15 = ((int32_t)((int32_t)L_114%(int32_t)L_115));
	}

IL_0362:
	{
		int32_t L_116 = V_6;
		if ((!(((uint32_t)L_116) == ((uint32_t)1))))
		{
			goto IL_0373;
		}
	}
	{
		int32_t L_117 = V_9;
		int32_t L_118 = V_14;
		V_14 = ((int32_t)((int32_t)((int32_t)((int32_t)L_117-(int32_t)1))-(int32_t)L_118));
	}

IL_0373:
	{
		int32_t L_119 = V_7;
		if ((!(((uint32_t)L_119) == ((uint32_t)1))))
		{
			goto IL_0384;
		}
	}
	{
		int32_t L_120 = V_10;
		int32_t L_121 = V_15;
		V_15 = ((int32_t)((int32_t)((int32_t)((int32_t)L_120-(int32_t)1))-(int32_t)L_121));
	}

IL_0384:
	{
		t347 * L_122 = m1556(__this, NULL);
		int32_t L_123 = V_13;
		t246 * L_124 = (t246 *)VirtFuncInvoker1< t246 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_122, L_123);
		float L_125 = ((&V_12)->f1);
		t91  L_126 = m1499(__this, NULL);
		V_34 = L_126;
		float L_127 = m1902((&V_34), 0, NULL);
		t91  L_128 = m1501(__this, NULL);
		V_35 = L_128;
		float L_129 = m1902((&V_35), 0, NULL);
		int32_t L_130 = V_14;
		t91  L_131 = m1499(__this, NULL);
		V_36 = L_131;
		float L_132 = m1902((&V_36), 0, NULL);
		m1573(__this, L_124, 0, ((float)((float)L_125+(float)((float)((float)((float)((float)L_127+(float)L_129))*(float)(((float)L_130)))))), L_132, NULL);
		t347 * L_133 = m1556(__this, NULL);
		int32_t L_134 = V_13;
		t246 * L_135 = (t246 *)VirtFuncInvoker1< t246 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_133, L_134);
		float L_136 = ((&V_12)->f2);
		t91  L_137 = m1499(__this, NULL);
		V_37 = L_137;
		float L_138 = m1902((&V_37), 1, NULL);
		t91  L_139 = m1501(__this, NULL);
		V_38 = L_139;
		float L_140 = m1902((&V_38), 1, NULL);
		int32_t L_141 = V_15;
		t91  L_142 = m1499(__this, NULL);
		V_39 = L_142;
		float L_143 = m1902((&V_39), 1, NULL);
		m1573(__this, L_135, 1, ((float)((float)L_136+(float)((float)((float)((float)((float)L_138+(float)L_140))*(float)(((float)L_141)))))), L_143, NULL);
		int32_t L_144 = V_13;
		V_13 = ((int32_t)((int32_t)L_144+(int32_t)1));
	}

IL_042c:
	{
		int32_t L_145 = V_13;
		t347 * L_146 = m1556(__this, NULL);
		int32_t L_147 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_146);
		if ((((int32_t)L_145) < ((int32_t)L_147)))
		{
			goto IL_0336;
		}
	}
	{
		return;
	}
}
#include "t343.h"
#ifndef _MSC_VER
#else
#endif
#include "t343MD.h"

#include "t99.h"
#include "t344MD.h"


extern "C" void m1512 (t343 * __this, const MethodInfo* method)
{
	{
		m1517(__this, NULL);
		return;
	}
}
extern "C" void m1513 (t343 * __this, const MethodInfo* method)
{
	{
		m1557(__this, NULL);
		m1524(__this, 0, 0, NULL);
		return;
	}
}
extern "C" void m1514 (t343 * __this, const MethodInfo* method)
{
	{
		m1524(__this, 1, 0, NULL);
		return;
	}
}
extern "C" void m1515 (t343 * __this, const MethodInfo* method)
{
	{
		m1525(__this, 0, 0, NULL);
		return;
	}
}
extern "C" void m1516 (t343 * __this, const MethodInfo* method)
{
	{
		m1525(__this, 1, 0, NULL);
		return;
	}
}
#include "t344.h"
#ifndef _MSC_VER
#else
#endif

#include "t351MD.h"
struct t342;
extern "C" void m2121_gshared (t342 * __this, float* p0, float p1, const MethodInfo* method);
#define m2121(__this, p0, p1, method) (( void (*) (t342 *, float*, float, const MethodInfo*))m2121_gshared)(__this, p0, p1, method)
struct t342;
extern "C" void m2122_gshared (t342 * __this, bool* p0, bool p1, const MethodInfo* method);
#define m2122(__this, p0, p1, method) (( void (*) (t342 *, bool*, bool, const MethodInfo*))m2122_gshared)(__this, p0, p1, method)


extern "C" void m1517 (t344 * __this, const MethodInfo* method)
{
	{
		__this->f11 = 1;
		__this->f12 = 1;
		m1550(__this, NULL);
		return;
	}
}
extern "C" float m1518 (t344 * __this, const MethodInfo* method)
{
	{
		float L_0 = (__this->f10);
		return L_0;
	}
}
extern const MethodInfo* m2121_MI_var;
extern "C" void m1519 (t344 * __this, float p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2121_MI_var = il2cpp_codegen_method_info_from_index(2147483861);
		s_Il2CppMethodIntialized = true;
	}
	{
		float* L_0 = &(__this->f10);
		float L_1 = p0;
		m2121(__this, L_0, L_1, m2121_MI_var);
		return;
	}
}
extern "C" bool m1520 (t344 * __this, const MethodInfo* method)
{
	{
		bool L_0 = (__this->f11);
		return L_0;
	}
}
extern const MethodInfo* m2122_MI_var;
extern "C" void m1521 (t344 * __this, bool p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2122_MI_var = il2cpp_codegen_method_info_from_index(2147483862);
		s_Il2CppMethodIntialized = true;
	}
	{
		bool* L_0 = &(__this->f11);
		bool L_1 = p0;
		m2122(__this, L_0, L_1, m2122_MI_var);
		return;
	}
}
extern "C" bool m1522 (t344 * __this, const MethodInfo* method)
{
	{
		bool L_0 = (__this->f12);
		return L_0;
	}
}
extern const MethodInfo* m2122_MI_var;
extern "C" void m1523 (t344 * __this, bool p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2122_MI_var = il2cpp_codegen_method_info_from_index(2147483862);
		s_Il2CppMethodIntialized = true;
	}
	{
		bool* L_0 = &(__this->f12);
		bool L_1 = p0;
		m2122(__this, L_0, L_1, m2122_MI_var);
		return;
	}
}
extern TypeInfo* t104_TI_var;
extern "C" void m1524 (t344 * __this, int32_t p0, bool p1, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		s_Il2CppMethodIntialized = true;
	}
	float V_0 = 0.0f;
	float V_1 = 0.0f;
	float V_2 = 0.0f;
	float V_3 = 0.0f;
	bool V_4 = false;
	int32_t V_5 = 0;
	t246 * V_6 = {0};
	float V_7 = 0.0f;
	float V_8 = 0.0f;
	float V_9 = 0.0f;
	int32_t G_B3_0 = 0;
	bool G_B7_0 = false;
	{
		int32_t L_0 = p0;
		if (L_0)
		{
			goto IL_0016;
		}
	}
	{
		t346 * L_1 = m1551(__this, NULL);
		int32_t L_2 = m2118(L_1, NULL);
		G_B3_0 = L_2;
		goto IL_0021;
	}

IL_0016:
	{
		t346 * L_3 = m1551(__this, NULL);
		int32_t L_4 = m2119(L_3, NULL);
		G_B3_0 = L_4;
	}

IL_0021:
	{
		V_0 = (((float)G_B3_0));
		float L_5 = V_0;
		V_1 = L_5;
		float L_6 = V_0;
		V_2 = L_6;
		V_3 = (0.0f);
		bool L_7 = p1;
		int32_t L_8 = p0;
		V_4 = ((int32_t)((int32_t)L_7^(int32_t)((((int32_t)L_8) == ((int32_t)1))? 1 : 0)));
		V_5 = 0;
		goto IL_00e2;
	}

IL_003d:
	{
		t347 * L_9 = m1556(__this, NULL);
		int32_t L_10 = V_5;
		t246 * L_11 = (t246 *)VirtFuncInvoker1< t246 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_9, L_10);
		V_6 = L_11;
		t246 * L_12 = V_6;
		int32_t L_13 = p0;
		float L_14 = m1599(NULL, L_12, L_13, NULL);
		V_7 = L_14;
		t246 * L_15 = V_6;
		int32_t L_16 = p0;
		float L_17 = m1600(NULL, L_15, L_16, NULL);
		V_8 = L_17;
		t246 * L_18 = V_6;
		int32_t L_19 = p0;
		float L_20 = m1601(NULL, L_18, L_19, NULL);
		V_9 = L_20;
		int32_t L_21 = p0;
		if (L_21)
		{
			goto IL_007b;
		}
	}
	{
		bool L_22 = m1520(__this, NULL);
		G_B7_0 = L_22;
		goto IL_0081;
	}

IL_007b:
	{
		bool L_23 = m1522(__this, NULL);
		G_B7_0 = L_23;
	}

IL_0081:
	{
		if (!G_B7_0)
		{
			goto IL_0094;
		}
	}
	{
		float L_24 = V_9;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_25 = m269(NULL, L_24, (1.0f), NULL);
		V_9 = L_25;
	}

IL_0094:
	{
		bool L_26 = V_4;
		if (!L_26)
		{
			goto IL_00bf;
		}
	}
	{
		float L_27 = V_7;
		float L_28 = V_0;
		float L_29 = V_1;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_30 = m269(NULL, ((float)((float)L_27+(float)L_28)), L_29, NULL);
		V_1 = L_30;
		float L_31 = V_8;
		float L_32 = V_0;
		float L_33 = V_2;
		float L_34 = m269(NULL, ((float)((float)L_31+(float)L_32)), L_33, NULL);
		V_2 = L_34;
		float L_35 = V_9;
		float L_36 = V_3;
		float L_37 = m269(NULL, L_35, L_36, NULL);
		V_3 = L_37;
		goto IL_00dc;
	}

IL_00bf:
	{
		float L_38 = V_1;
		float L_39 = V_7;
		float L_40 = m1518(__this, NULL);
		V_1 = ((float)((float)L_38+(float)((float)((float)L_39+(float)L_40))));
		float L_41 = V_2;
		float L_42 = V_8;
		float L_43 = m1518(__this, NULL);
		V_2 = ((float)((float)L_41+(float)((float)((float)L_42+(float)L_43))));
		float L_44 = V_3;
		float L_45 = V_9;
		V_3 = ((float)((float)L_44+(float)L_45));
	}

IL_00dc:
	{
		int32_t L_46 = V_5;
		V_5 = ((int32_t)((int32_t)L_46+(int32_t)1));
	}

IL_00e2:
	{
		int32_t L_47 = V_5;
		t347 * L_48 = m1556(__this, NULL);
		int32_t L_49 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_48);
		if ((((int32_t)L_47) < ((int32_t)L_49)))
		{
			goto IL_003d;
		}
	}
	{
		bool L_50 = V_4;
		if (L_50)
		{
			goto IL_011e;
		}
	}
	{
		t347 * L_51 = m1556(__this, NULL);
		int32_t L_52 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_51);
		if ((((int32_t)L_52) <= ((int32_t)0)))
		{
			goto IL_011e;
		}
	}
	{
		float L_53 = V_1;
		float L_54 = m1518(__this, NULL);
		V_1 = ((float)((float)L_53-(float)L_54));
		float L_55 = V_2;
		float L_56 = m1518(__this, NULL);
		V_2 = ((float)((float)L_55-(float)L_56));
	}

IL_011e:
	{
		float L_57 = V_1;
		float L_58 = V_2;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_59 = m269(NULL, L_57, L_58, NULL);
		V_2 = L_59;
		float L_60 = V_1;
		float L_61 = V_2;
		float L_62 = V_3;
		int32_t L_63 = p0;
		m1572(__this, L_60, L_61, L_62, L_63, NULL);
		return;
	}
}
extern TypeInfo* t104_TI_var;
extern "C" void m1525 (t344 * __this, int32_t p0, bool p1, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		s_Il2CppMethodIntialized = true;
	}
	float V_0 = 0.0f;
	bool V_1 = false;
	float V_2 = 0.0f;
	int32_t V_3 = 0;
	t246 * V_4 = {0};
	float V_5 = 0.0f;
	float V_6 = 0.0f;
	float V_7 = 0.0f;
	float V_8 = 0.0f;
	float V_9 = 0.0f;
	float V_10 = 0.0f;
	float V_11 = 0.0f;
	float V_12 = 0.0f;
	int32_t V_13 = 0;
	t246 * V_14 = {0};
	float V_15 = 0.0f;
	float V_16 = 0.0f;
	float V_17 = 0.0f;
	float V_18 = 0.0f;
	t283  V_19 = {0};
	t91  V_20 = {0};
	float G_B3_0 = 0.0f;
	float G_B2_0 = 0.0f;
	int32_t G_B4_0 = 0;
	float G_B4_1 = 0.0f;
	bool G_B8_0 = false;
	float G_B12_0 = 0.0f;
	float G_B12_1 = 0.0f;
	float G_B11_0 = 0.0f;
	float G_B11_1 = 0.0f;
	float G_B13_0 = 0.0f;
	float G_B13_1 = 0.0f;
	float G_B13_2 = 0.0f;
	int32_t G_B19_0 = 0;
	float G_B23_0 = 0.0f;
	int32_t G_B23_1 = 0;
	t344 * G_B23_2 = {0};
	float G_B22_0 = 0.0f;
	int32_t G_B22_1 = 0;
	t344 * G_B22_2 = {0};
	int32_t G_B24_0 = 0;
	float G_B24_1 = 0.0f;
	int32_t G_B24_2 = 0;
	t344 * G_B24_3 = {0};
	bool G_B34_0 = false;
	{
		t246 * L_0 = m1555(__this, NULL);
		t283  L_1 = m1829(L_0, NULL);
		V_19 = L_1;
		t91  L_2 = m1896((&V_19), NULL);
		V_20 = L_2;
		int32_t L_3 = p0;
		float L_4 = m1902((&V_20), L_3, NULL);
		V_0 = L_4;
		bool L_5 = p1;
		int32_t L_6 = p0;
		V_1 = ((int32_t)((int32_t)L_5^(int32_t)((((int32_t)L_6) == ((int32_t)1))? 1 : 0)));
		bool L_7 = V_1;
		if (!L_7)
		{
			goto IL_00fe;
		}
	}
	{
		float L_8 = V_0;
		int32_t L_9 = p0;
		G_B2_0 = L_8;
		if (L_9)
		{
			G_B3_0 = L_8;
			goto IL_0043;
		}
	}
	{
		t346 * L_10 = m1551(__this, NULL);
		int32_t L_11 = m2118(L_10, NULL);
		G_B4_0 = L_11;
		G_B4_1 = G_B2_0;
		goto IL_004e;
	}

IL_0043:
	{
		t346 * L_12 = m1551(__this, NULL);
		int32_t L_13 = m2119(L_12, NULL);
		G_B4_0 = L_13;
		G_B4_1 = G_B3_0;
	}

IL_004e:
	{
		V_2 = ((float)((float)G_B4_1-(float)(((float)G_B4_0))));
		V_3 = 0;
		goto IL_00e8;
	}

IL_0058:
	{
		t347 * L_14 = m1556(__this, NULL);
		int32_t L_15 = V_3;
		t246 * L_16 = (t246 *)VirtFuncInvoker1< t246 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_14, L_15);
		V_4 = L_16;
		t246 * L_17 = V_4;
		int32_t L_18 = p0;
		float L_19 = m1599(NULL, L_17, L_18, NULL);
		V_5 = L_19;
		t246 * L_20 = V_4;
		int32_t L_21 = p0;
		float L_22 = m1600(NULL, L_20, L_21, NULL);
		V_6 = L_22;
		t246 * L_23 = V_4;
		int32_t L_24 = p0;
		float L_25 = m1601(NULL, L_23, L_24, NULL);
		V_7 = L_25;
		int32_t L_26 = p0;
		if (L_26)
		{
			goto IL_0095;
		}
	}
	{
		bool L_27 = m1520(__this, NULL);
		G_B8_0 = L_27;
		goto IL_009b;
	}

IL_0095:
	{
		bool L_28 = m1522(__this, NULL);
		G_B8_0 = L_28;
	}

IL_009b:
	{
		if (!G_B8_0)
		{
			goto IL_00ae;
		}
	}
	{
		float L_29 = V_7;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_30 = m269(NULL, L_29, (1.0f), NULL);
		V_7 = L_30;
	}

IL_00ae:
	{
		float L_31 = V_2;
		float L_32 = V_5;
		float L_33 = V_7;
		G_B11_0 = L_32;
		G_B11_1 = L_31;
		if ((!(((float)L_33) > ((float)(0.0f)))))
		{
			G_B12_0 = L_32;
			G_B12_1 = L_31;
			goto IL_00c3;
		}
	}
	{
		float L_34 = V_0;
		G_B13_0 = L_34;
		G_B13_1 = G_B11_0;
		G_B13_2 = G_B11_1;
		goto IL_00c5;
	}

IL_00c3:
	{
		float L_35 = V_6;
		G_B13_0 = L_35;
		G_B13_1 = G_B12_0;
		G_B13_2 = G_B12_1;
	}

IL_00c5:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_36 = m313(NULL, G_B13_2, G_B13_1, G_B13_0, NULL);
		V_8 = L_36;
		int32_t L_37 = p0;
		float L_38 = V_8;
		float L_39 = m1571(__this, L_37, L_38, NULL);
		V_9 = L_39;
		t246 * L_40 = V_4;
		int32_t L_41 = p0;
		float L_42 = V_9;
		float L_43 = V_8;
		m1573(__this, L_40, L_41, L_42, L_43, NULL);
		int32_t L_44 = V_3;
		V_3 = ((int32_t)((int32_t)L_44+(int32_t)1));
	}

IL_00e8:
	{
		int32_t L_45 = V_3;
		t347 * L_46 = m1556(__this, NULL);
		int32_t L_47 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_46);
		if ((((int32_t)L_45) < ((int32_t)L_47)))
		{
			goto IL_0058;
		}
	}
	{
		goto IL_028e;
	}

IL_00fe:
	{
		int32_t L_48 = p0;
		if (L_48)
		{
			goto IL_0114;
		}
	}
	{
		t346 * L_49 = m1551(__this, NULL);
		int32_t L_50 = m2123(L_49, NULL);
		G_B19_0 = L_50;
		goto IL_011f;
	}

IL_0114:
	{
		t346 * L_51 = m1551(__this, NULL);
		int32_t L_52 = m2124(L_51, NULL);
		G_B19_0 = L_52;
	}

IL_011f:
	{
		V_10 = (((float)G_B19_0));
		int32_t L_53 = p0;
		float L_54 = m1570(__this, L_53, NULL);
		if ((!(((float)L_54) == ((float)(0.0f)))))
		{
			goto IL_0173;
		}
	}
	{
		int32_t L_55 = p0;
		float L_56 = m1569(__this, L_55, NULL);
		float L_57 = V_0;
		if ((!(((float)L_56) < ((float)L_57))))
		{
			goto IL_0173;
		}
	}
	{
		int32_t L_58 = p0;
		int32_t L_59 = p0;
		float L_60 = m1569(__this, L_59, NULL);
		int32_t L_61 = p0;
		G_B22_0 = L_60;
		G_B22_1 = L_58;
		G_B22_2 = __this;
		if (L_61)
		{
			G_B23_0 = L_60;
			G_B23_1 = L_58;
			G_B23_2 = __this;
			goto IL_015f;
		}
	}
	{
		t346 * L_62 = m1551(__this, NULL);
		int32_t L_63 = m2118(L_62, NULL);
		G_B24_0 = L_63;
		G_B24_1 = G_B22_0;
		G_B24_2 = G_B22_1;
		G_B24_3 = G_B22_2;
		goto IL_016a;
	}

IL_015f:
	{
		t346 * L_64 = m1551(__this, NULL);
		int32_t L_65 = m2119(L_64, NULL);
		G_B24_0 = L_65;
		G_B24_1 = G_B23_0;
		G_B24_2 = G_B23_1;
		G_B24_3 = G_B23_2;
	}

IL_016a:
	{
		float L_66 = m1571(G_B24_3, G_B24_2, ((float)((float)G_B24_1-(float)(((float)G_B24_0)))), NULL);
		V_10 = L_66;
	}

IL_0173:
	{
		V_11 = (0.0f);
		int32_t L_67 = p0;
		float L_68 = m1568(__this, L_67, NULL);
		int32_t L_69 = p0;
		float L_70 = m1569(__this, L_69, NULL);
		if ((((float)L_68) == ((float)L_70)))
		{
			goto IL_01ad;
		}
	}
	{
		float L_71 = V_0;
		int32_t L_72 = p0;
		float L_73 = m1568(__this, L_72, NULL);
		int32_t L_74 = p0;
		float L_75 = m1569(__this, L_74, NULL);
		int32_t L_76 = p0;
		float L_77 = m1568(__this, L_76, NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_78 = m1876(NULL, ((float)((float)((float)((float)L_71-(float)L_73))/(float)((float)((float)L_75-(float)L_77)))), NULL);
		V_11 = L_78;
	}

IL_01ad:
	{
		V_12 = (0.0f);
		float L_79 = V_0;
		int32_t L_80 = p0;
		float L_81 = m1569(__this, L_80, NULL);
		if ((!(((float)L_79) > ((float)L_81))))
		{
			goto IL_01e5;
		}
	}
	{
		int32_t L_82 = p0;
		float L_83 = m1570(__this, L_82, NULL);
		if ((!(((float)L_83) > ((float)(0.0f)))))
		{
			goto IL_01e5;
		}
	}
	{
		float L_84 = V_0;
		int32_t L_85 = p0;
		float L_86 = m1569(__this, L_85, NULL);
		int32_t L_87 = p0;
		float L_88 = m1570(__this, L_87, NULL);
		V_12 = ((float)((float)((float)((float)L_84-(float)L_86))/(float)L_88));
	}

IL_01e5:
	{
		V_13 = 0;
		goto IL_027c;
	}

IL_01ed:
	{
		t347 * L_89 = m1556(__this, NULL);
		int32_t L_90 = V_13;
		t246 * L_91 = (t246 *)VirtFuncInvoker1< t246 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_89, L_90);
		V_14 = L_91;
		t246 * L_92 = V_14;
		int32_t L_93 = p0;
		float L_94 = m1599(NULL, L_92, L_93, NULL);
		V_15 = L_94;
		t246 * L_95 = V_14;
		int32_t L_96 = p0;
		float L_97 = m1600(NULL, L_95, L_96, NULL);
		V_16 = L_97;
		t246 * L_98 = V_14;
		int32_t L_99 = p0;
		float L_100 = m1601(NULL, L_98, L_99, NULL);
		V_17 = L_100;
		int32_t L_101 = p0;
		if (L_101)
		{
			goto IL_022b;
		}
	}
	{
		bool L_102 = m1520(__this, NULL);
		G_B34_0 = L_102;
		goto IL_0231;
	}

IL_022b:
	{
		bool L_103 = m1522(__this, NULL);
		G_B34_0 = L_103;
	}

IL_0231:
	{
		if (!G_B34_0)
		{
			goto IL_0244;
		}
	}
	{
		float L_104 = V_17;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_105 = m269(NULL, L_104, (1.0f), NULL);
		V_17 = L_105;
	}

IL_0244:
	{
		float L_106 = V_15;
		float L_107 = V_16;
		float L_108 = V_11;
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_109 = m1904(NULL, L_106, L_107, L_108, NULL);
		V_18 = L_109;
		float L_110 = V_18;
		float L_111 = V_17;
		float L_112 = V_12;
		V_18 = ((float)((float)L_110+(float)((float)((float)L_111*(float)L_112))));
		t246 * L_113 = V_14;
		int32_t L_114 = p0;
		float L_115 = V_10;
		float L_116 = V_18;
		m1573(__this, L_113, L_114, L_115, L_116, NULL);
		float L_117 = V_10;
		float L_118 = V_18;
		float L_119 = m1518(__this, NULL);
		V_10 = ((float)((float)L_117+(float)((float)((float)L_118+(float)L_119))));
		int32_t L_120 = V_13;
		V_13 = ((int32_t)((int32_t)L_120+(int32_t)1));
	}

IL_027c:
	{
		int32_t L_121 = V_13;
		t347 * L_122 = m1556(__this, NULL);
		int32_t L_123 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_122);
		if ((((int32_t)L_121) < ((int32_t)L_123)))
		{
			goto IL_01ed;
		}
	}

IL_028e:
	{
		return;
	}
}
#include "t345.h"
#ifndef _MSC_VER
#else
#endif
#include "t345MD.h"

#include "t171.h"
#include "t51.h"
#include "t314MD.h"
#include "t171MD.h"
#include "t105MD.h"
#include "t348MD.h"
struct t314;
#include "t314.h"
extern "C" bool m1872_gshared (t65 * __this , bool* p0, bool p1, const MethodInfo* method);
#define m1872(__this , p0, p1, method) (( bool (*) (t65 * , bool*, bool, const MethodInfo*))m1872_gshared)(__this , p0, p1, method)
struct t314;
extern "C" bool m1874_gshared (t65 * __this , float* p0, float p1, const MethodInfo* method);
#define m1874(__this , p0, p1, method) (( bool (*) (t65 * , float*, float, const MethodInfo*))m1874_gshared)(__this , p0, p1, method)


extern "C" void m1526 (t345 * __this, const MethodInfo* method)
{
	{
		__this->f3 = (-1.0f);
		__this->f4 = (-1.0f);
		__this->f5 = (-1.0f);
		__this->f6 = (-1.0f);
		__this->f7 = (-1.0f);
		__this->f8 = (-1.0f);
		m571(__this, NULL);
		return;
	}
}
extern "C" bool m1527 (t345 * __this, const MethodInfo* method)
{
	{
		bool L_0 = (__this->f2);
		return L_0;
	}
}
extern const MethodInfo* m1872_MI_var;
extern "C" void m1528 (t345 * __this, bool p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1872_MI_var = il2cpp_codegen_method_info_from_index(2147483797);
		s_Il2CppMethodIntialized = true;
	}
	{
		bool* L_0 = &(__this->f2);
		bool L_1 = p0;
		bool L_2 = m1872(NULL, L_0, L_1, m1872_MI_var);
		if (!L_2)
		{
			goto IL_0017;
		}
	}
	{
		m1549(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" void m1529 (t345 * __this, const MethodInfo* method)
{
	{
		return;
	}
}
extern "C" void m1530 (t345 * __this, const MethodInfo* method)
{
	{
		return;
	}
}
extern "C" float m1531 (t345 * __this, const MethodInfo* method)
{
	{
		float L_0 = (__this->f3);
		return L_0;
	}
}
extern const MethodInfo* m1874_MI_var;
extern "C" void m1532 (t345 * __this, float p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1874_MI_var = il2cpp_codegen_method_info_from_index(2147483799);
		s_Il2CppMethodIntialized = true;
	}
	{
		float* L_0 = &(__this->f3);
		float L_1 = p0;
		bool L_2 = m1874(NULL, L_0, L_1, m1874_MI_var);
		if (!L_2)
		{
			goto IL_0017;
		}
	}
	{
		m1549(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" float m1533 (t345 * __this, const MethodInfo* method)
{
	{
		float L_0 = (__this->f4);
		return L_0;
	}
}
extern const MethodInfo* m1874_MI_var;
extern "C" void m1534 (t345 * __this, float p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1874_MI_var = il2cpp_codegen_method_info_from_index(2147483799);
		s_Il2CppMethodIntialized = true;
	}
	{
		float* L_0 = &(__this->f4);
		float L_1 = p0;
		bool L_2 = m1874(NULL, L_0, L_1, m1874_MI_var);
		if (!L_2)
		{
			goto IL_0017;
		}
	}
	{
		m1549(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" float m1535 (t345 * __this, const MethodInfo* method)
{
	{
		float L_0 = (__this->f5);
		return L_0;
	}
}
extern const MethodInfo* m1874_MI_var;
extern "C" void m1536 (t345 * __this, float p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1874_MI_var = il2cpp_codegen_method_info_from_index(2147483799);
		s_Il2CppMethodIntialized = true;
	}
	{
		float* L_0 = &(__this->f5);
		float L_1 = p0;
		bool L_2 = m1874(NULL, L_0, L_1, m1874_MI_var);
		if (!L_2)
		{
			goto IL_0017;
		}
	}
	{
		m1549(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" float m1537 (t345 * __this, const MethodInfo* method)
{
	{
		float L_0 = (__this->f6);
		return L_0;
	}
}
extern const MethodInfo* m1874_MI_var;
extern "C" void m1538 (t345 * __this, float p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1874_MI_var = il2cpp_codegen_method_info_from_index(2147483799);
		s_Il2CppMethodIntialized = true;
	}
	{
		float* L_0 = &(__this->f6);
		float L_1 = p0;
		bool L_2 = m1874(NULL, L_0, L_1, m1874_MI_var);
		if (!L_2)
		{
			goto IL_0017;
		}
	}
	{
		m1549(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" float m1539 (t345 * __this, const MethodInfo* method)
{
	{
		float L_0 = (__this->f7);
		return L_0;
	}
}
extern const MethodInfo* m1874_MI_var;
extern "C" void m1540 (t345 * __this, float p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1874_MI_var = il2cpp_codegen_method_info_from_index(2147483799);
		s_Il2CppMethodIntialized = true;
	}
	{
		float* L_0 = &(__this->f7);
		float L_1 = p0;
		bool L_2 = m1874(NULL, L_0, L_1, m1874_MI_var);
		if (!L_2)
		{
			goto IL_0017;
		}
	}
	{
		m1549(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" float m1541 (t345 * __this, const MethodInfo* method)
{
	{
		float L_0 = (__this->f8);
		return L_0;
	}
}
extern const MethodInfo* m1874_MI_var;
extern "C" void m1542 (t345 * __this, float p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1874_MI_var = il2cpp_codegen_method_info_from_index(2147483799);
		s_Il2CppMethodIntialized = true;
	}
	{
		float* L_0 = &(__this->f8);
		float L_1 = p0;
		bool L_2 = m1874(NULL, L_0, L_1, m1874_MI_var);
		if (!L_2)
		{
			goto IL_0017;
		}
	}
	{
		m1549(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" int32_t m1543 (t345 * __this, const MethodInfo* method)
{
	{
		return 1;
	}
}
extern "C" void m1544 (t345 * __this, const MethodInfo* method)
{
	{
		m573(__this, NULL);
		m1549(__this, NULL);
		return;
	}
}
extern "C" void m1545 (t345 * __this, const MethodInfo* method)
{
	{
		m1549(__this, NULL);
		return;
	}
}
extern "C" void m1546 (t345 * __this, const MethodInfo* method)
{
	{
		m1549(__this, NULL);
		m575(__this, NULL);
		return;
	}
}
extern "C" void m1547 (t345 * __this, const MethodInfo* method)
{
	{
		m1549(__this, NULL);
		return;
	}
}
extern "C" void m1548 (t345 * __this, const MethodInfo* method)
{
	{
		m1549(__this, NULL);
		return;
	}
}
extern TypeInfo* t246_TI_var;
extern TypeInfo* t348_TI_var;
extern "C" void m1549 (t345 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t246_TI_var = il2cpp_codegen_type_info_from_index(153);
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		s_Il2CppMethodIntialized = true;
	}
	{
		bool L_0 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		if (L_0)
		{
			goto IL_000c;
		}
	}
	{
		return;
	}

IL_000c:
	{
		t51 * L_1 = m279(__this, NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1587(NULL, ((t246 *)IsInst(L_1, t246_TI_var)), NULL);
		return;
	}
}
#ifndef _MSC_VER
#else
#endif

#include "t239.h"
#include "t114.h"
#include "t115.h"
#include "t105.h"
#include "t29.h"
#include "t462.h"
#include "t100MD.h"
#include "t51MD.h"
#include "t114MD.h"
#include "t29MD.h"
struct t342;
struct t346;
struct t342;
struct t65;
extern "C" void m2126_gshared (t342 * __this, t65 ** p0, t65 * p1, const MethodInfo* method);
#define m2126(__this, p0, p1, method) (( void (*) (t342 *, t65 **, t65 *, const MethodInfo*))m2126_gshared)(__this, p0, p1, method)
#define m2125(__this, p0, p1, method) (( void (*) (t342 *, t346 **, t346 *, const MethodInfo*))m2126_gshared)(__this, p0, p1, method)
struct t342;
extern "C" void m2127_gshared (t342 * __this, int32_t* p0, int32_t p1, const MethodInfo* method);
#define m2127(__this, p0, p1, method) (( void (*) (t342 *, int32_t*, int32_t, const MethodInfo*))m2127_gshared)(__this, p0, p1, method)
struct t105;
struct t246;
struct t105;
struct t65;
extern "C" t65 * m223_gshared (t105 * __this, const MethodInfo* method);
#define m223(__this, method) (( t65 * (*) (t105 *, const MethodInfo*))m223_gshared)(__this, method)
#define m1813(__this, method) (( t246 * (*) (t105 *, const MethodInfo*))m223_gshared)(__this, method)


extern TypeInfo* t346_TI_var;
extern TypeInfo* t347_TI_var;
extern const MethodInfo* m2129_MI_var;
extern "C" void m1550 (t342 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t346_TI_var = il2cpp_codegen_type_info_from_index(240);
		t347_TI_var = il2cpp_codegen_type_info_from_index(241);
		m2129_MI_var = il2cpp_codegen_method_info_from_index(2147483863);
		s_Il2CppMethodIntialized = true;
	}
	{
		t346 * L_0 = (t346 *)il2cpp_codegen_object_new (t346_TI_var);
		m2128(L_0, NULL);
		__this->f2 = L_0;
		t91  L_1 = m1708(NULL, NULL);
		__this->f6 = L_1;
		t91  L_2 = m1708(NULL, NULL);
		__this->f7 = L_2;
		t91  L_3 = m1708(NULL, NULL);
		__this->f8 = L_3;
		t347 * L_4 = (t347 *)il2cpp_codegen_object_new (t347_TI_var);
		m2129(L_4, m2129_MI_var);
		__this->f9 = L_4;
		m571(__this, NULL);
		t346 * L_5 = (__this->f2);
		if (L_5)
		{
			goto IL_0053;
		}
	}
	{
		t346 * L_6 = (t346 *)il2cpp_codegen_object_new (t346_TI_var);
		m2128(L_6, NULL);
		__this->f2 = L_6;
	}

IL_0053:
	{
		return;
	}
}
extern "C" t346 * m1551 (t342 * __this, const MethodInfo* method)
{
	{
		t346 * L_0 = (__this->f2);
		return L_0;
	}
}
extern const MethodInfo* m2125_MI_var;
extern "C" void m1552 (t342 * __this, t346 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2125_MI_var = il2cpp_codegen_method_info_from_index(2147483864);
		s_Il2CppMethodIntialized = true;
	}
	{
		t346 ** L_0 = &(__this->f2);
		t346 * L_1 = p0;
		m2125(__this, L_0, L_1, m2125_MI_var);
		return;
	}
}
extern "C" int32_t m1553 (t342 * __this, const MethodInfo* method)
{
	{
		int32_t L_0 = (__this->f3);
		return L_0;
	}
}
extern const MethodInfo* m2127_MI_var;
extern "C" void m1554 (t342 * __this, int32_t p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2127_MI_var = il2cpp_codegen_method_info_from_index(2147483865);
		s_Il2CppMethodIntialized = true;
	}
	{
		int32_t* L_0 = &(__this->f3);
		int32_t L_1 = p0;
		m2127(__this, L_0, L_1, m2127_MI_var);
		return;
	}
}
extern const MethodInfo* m1813_MI_var;
extern "C" t246 * m1555 (t342 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1813_MI_var = il2cpp_codegen_method_info_from_index(2147483777);
		s_Il2CppMethodIntialized = true;
	}
	{
		t246 * L_0 = (__this->f4);
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_001d;
		}
	}
	{
		t246 * L_2 = m1813(__this, m1813_MI_var);
		__this->f4 = L_2;
	}

IL_001d:
	{
		t246 * L_3 = (__this->f4);
		return L_3;
	}
}
extern "C" t347 * m1556 (t342 * __this, const MethodInfo* method)
{
	{
		t347 * L_0 = (__this->f9);
		return L_0;
	}
}
extern const Il2CppType* t463_0_0_0_var;
extern TypeInfo* t246_TI_var;
extern TypeInfo* t114_TI_var;
extern TypeInfo* t463_TI_var;
extern "C" void m1557 (t342 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t463_0_0_0_var = il2cpp_codegen_type_from_index(243);
		t246_TI_var = il2cpp_codegen_type_info_from_index(153);
		t114_TI_var = il2cpp_codegen_type_info_from_index(10);
		t463_TI_var = il2cpp_codegen_type_info_from_index(243);
		s_Il2CppMethodIntialized = true;
	}
	int32_t V_0 = 0;
	t246 * V_1 = {0};
	t65 * V_2 = {0};
	{
		t347 * L_0 = (__this->f9);
		VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.RectTransform>::Clear() */, L_0);
		V_0 = 0;
		goto IL_007c;
	}

IL_0012:
	{
		t246 * L_1 = m1555(__this, NULL);
		int32_t L_2 = V_0;
		t51 * L_3 = m2130(L_1, L_2, NULL);
		V_1 = ((t246 *)IsInst(L_3, t246_TI_var));
		t246 * L_4 = V_1;
		bool L_5 = m241(NULL, L_4, (t100 *)NULL, NULL);
		if (!L_5)
		{
			goto IL_0035;
		}
	}
	{
		goto IL_0078;
	}

IL_0035:
	{
		t246 * L_6 = V_1;
		IL2CPP_RUNTIME_CLASS_INIT(t114_TI_var);
		t114 * L_7 = m298(NULL, LoadTypeToken(t463_0_0_0_var), NULL);
		t105 * L_8 = m2131(L_6, L_7, NULL);
		V_2 = ((t65 *)IsInst(L_8, t463_TI_var));
		t246 * L_9 = V_1;
		t29 * L_10 = m264(L_9, NULL);
		bool L_11 = m265(L_10, NULL);
		if (!L_11)
		{
			goto IL_0078;
		}
	}
	{
		t65 * L_12 = V_2;
		if (!L_12)
		{
			goto IL_006c;
		}
	}
	{
		t65 * L_13 = V_2;
		bool L_14 = (bool)InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean UnityEngine.UI.ILayoutIgnorer::get_ignoreLayout() */, t463_TI_var, L_13);
		if (L_14)
		{
			goto IL_0078;
		}
	}

IL_006c:
	{
		t347 * L_15 = (__this->f9);
		t246 * L_16 = V_1;
		VirtActionInvoker1< t246 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.RectTransform>::Add(!0) */, L_15, L_16);
	}

IL_0078:
	{
		int32_t L_17 = V_0;
		V_0 = ((int32_t)((int32_t)L_17+(int32_t)1));
	}

IL_007c:
	{
		int32_t L_18 = V_0;
		t246 * L_19 = m1555(__this, NULL);
		int32_t L_20 = m2132(L_19, NULL);
		if ((((int32_t)L_18) < ((int32_t)L_20)))
		{
			goto IL_0012;
		}
	}
	{
		t303 * L_21 = &(__this->f5);
		m2029(L_21, NULL);
		return;
	}
}
extern "C" float m1558 (t342 * __this, const MethodInfo* method)
{
	{
		float L_0 = m1568(__this, 0, NULL);
		return L_0;
	}
}
extern "C" float m1559 (t342 * __this, const MethodInfo* method)
{
	{
		float L_0 = m1569(__this, 0, NULL);
		return L_0;
	}
}
extern "C" float m1560 (t342 * __this, const MethodInfo* method)
{
	{
		float L_0 = m1570(__this, 0, NULL);
		return L_0;
	}
}
extern "C" float m1561 (t342 * __this, const MethodInfo* method)
{
	{
		float L_0 = m1568(__this, 1, NULL);
		return L_0;
	}
}
extern "C" float m1562 (t342 * __this, const MethodInfo* method)
{
	{
		float L_0 = m1569(__this, 1, NULL);
		return L_0;
	}
}
extern "C" float m1563 (t342 * __this, const MethodInfo* method)
{
	{
		float L_0 = m1570(__this, 1, NULL);
		return L_0;
	}
}
extern "C" int32_t m1564 (t342 * __this, const MethodInfo* method)
{
	{
		return 0;
	}
}
extern "C" void m1565 (t342 * __this, const MethodInfo* method)
{
	{
		m573(__this, NULL);
		m1577(__this, NULL);
		return;
	}
}
extern TypeInfo* t348_TI_var;
extern "C" void m1566 (t342 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		s_Il2CppMethodIntialized = true;
	}
	{
		t303 * L_0 = &(__this->f5);
		m2029(L_0, NULL);
		t246 * L_1 = m1555(__this, NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1587(NULL, L_1, NULL);
		m575(__this, NULL);
		return;
	}
}
extern "C" void m1567 (t342 * __this, const MethodInfo* method)
{
	{
		m1577(__this, NULL);
		return;
	}
}
extern "C" float m1568 (t342 * __this, int32_t p0, const MethodInfo* method)
{
	{
		t91 * L_0 = &(__this->f6);
		int32_t L_1 = p0;
		float L_2 = m1902(L_0, L_1, NULL);
		return L_2;
	}
}
extern "C" float m1569 (t342 * __this, int32_t p0, const MethodInfo* method)
{
	{
		t91 * L_0 = &(__this->f7);
		int32_t L_1 = p0;
		float L_2 = m1902(L_0, L_1, NULL);
		return L_2;
	}
}
extern "C" float m1570 (t342 * __this, int32_t p0, const MethodInfo* method)
{
	{
		t91 * L_0 = &(__this->f8);
		int32_t L_1 = p0;
		float L_2 = m1902(L_0, L_1, NULL);
		return L_2;
	}
}
extern "C" float m1571 (t342 * __this, int32_t p0, float p1, const MethodInfo* method)
{
	float V_0 = 0.0f;
	float V_1 = 0.0f;
	float V_2 = 0.0f;
	float V_3 = 0.0f;
	t283  V_4 = {0};
	t91  V_5 = {0};
	float G_B2_0 = 0.0f;
	float G_B1_0 = 0.0f;
	int32_t G_B3_0 = 0;
	float G_B3_1 = 0.0f;
	int32_t G_B9_0 = 0;
	{
		float L_0 = p1;
		int32_t L_1 = p0;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0017;
		}
	}
	{
		t346 * L_2 = m1551(__this, NULL);
		int32_t L_3 = m2118(L_2, NULL);
		G_B3_0 = L_3;
		G_B3_1 = G_B1_0;
		goto IL_0022;
	}

IL_0017:
	{
		t346 * L_4 = m1551(__this, NULL);
		int32_t L_5 = m2119(L_4, NULL);
		G_B3_0 = L_5;
		G_B3_1 = G_B2_0;
	}

IL_0022:
	{
		V_0 = ((float)((float)G_B3_1+(float)(((float)G_B3_0))));
		t246 * L_6 = m1555(__this, NULL);
		t283  L_7 = m1829(L_6, NULL);
		V_4 = L_7;
		t91  L_8 = m1896((&V_4), NULL);
		V_5 = L_8;
		int32_t L_9 = p0;
		float L_10 = m1902((&V_5), L_9, NULL);
		V_1 = L_10;
		float L_11 = V_1;
		float L_12 = V_0;
		V_2 = ((float)((float)L_11-(float)L_12));
		V_3 = (0.0f);
		int32_t L_13 = p0;
		if (L_13)
		{
			goto IL_0069;
		}
	}
	{
		int32_t L_14 = m1553(__this, NULL);
		V_3 = ((float)((float)(((float)((int32_t)((int32_t)L_14%(int32_t)3))))*(float)(0.5f)));
		goto IL_0079;
	}

IL_0069:
	{
		int32_t L_15 = m1553(__this, NULL);
		V_3 = ((float)((float)(((float)((int32_t)((int32_t)L_15/(int32_t)3))))*(float)(0.5f)));
	}

IL_0079:
	{
		int32_t L_16 = p0;
		if (L_16)
		{
			goto IL_008f;
		}
	}
	{
		t346 * L_17 = m1551(__this, NULL);
		int32_t L_18 = m2123(L_17, NULL);
		G_B9_0 = L_18;
		goto IL_009a;
	}

IL_008f:
	{
		t346 * L_19 = m1551(__this, NULL);
		int32_t L_20 = m2124(L_19, NULL);
		G_B9_0 = L_20;
	}

IL_009a:
	{
		float L_21 = V_2;
		float L_22 = V_3;
		return ((float)((float)(((float)G_B9_0))+(float)((float)((float)L_21*(float)L_22))));
	}
}
extern "C" void m1572 (t342 * __this, float p0, float p1, float p2, int32_t p3, const MethodInfo* method)
{
	{
		t91 * L_0 = &(__this->f6);
		int32_t L_1 = p3;
		float L_2 = p0;
		m1912(L_0, L_1, L_2, NULL);
		t91 * L_3 = &(__this->f7);
		int32_t L_4 = p3;
		float L_5 = p1;
		m1912(L_3, L_4, L_5, NULL);
		t91 * L_6 = &(__this->f8);
		int32_t L_7 = p3;
		float L_8 = p2;
		m1912(L_6, L_7, L_8, NULL);
		return;
	}
}
extern "C" void m1573 (t342 * __this, t246 * p0, int32_t p1, float p2, float p3, const MethodInfo* method)
{
	t246 * G_B4_0 = {0};
	t246 * G_B3_0 = {0};
	int32_t G_B5_0 = 0;
	t246 * G_B5_1 = {0};
	{
		t246 * L_0 = p0;
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_000d;
		}
	}
	{
		return;
	}

IL_000d:
	{
		t303 * L_2 = &(__this->f5);
		t246 * L_3 = p0;
		m2031(L_2, __this, L_3, ((int32_t)16134), NULL);
		t246 * L_4 = p0;
		int32_t L_5 = p1;
		G_B3_0 = L_4;
		if (L_5)
		{
			G_B4_0 = L_4;
			goto IL_002c;
		}
	}
	{
		G_B5_0 = 0;
		G_B5_1 = G_B3_0;
		goto IL_002d;
	}

IL_002c:
	{
		G_B5_0 = 2;
		G_B5_1 = G_B4_0;
	}

IL_002d:
	{
		float L_6 = p2;
		float L_7 = p3;
		m2133(G_B5_1, G_B5_0, L_6, L_7, NULL);
		return;
	}
}
extern const Il2CppType* t464_0_0_0_var;
extern TypeInfo* t114_TI_var;
extern "C" bool m1574 (t342 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t464_0_0_0_var = il2cpp_codegen_type_from_index(244);
		t114_TI_var = il2cpp_codegen_type_info_from_index(10);
		s_Il2CppMethodIntialized = true;
	}
	t51 * V_0 = {0};
	{
		t51 * L_0 = m279(__this, NULL);
		t51 * L_1 = m1703(L_0, NULL);
		V_0 = L_1;
		t51 * L_2 = V_0;
		bool L_3 = m241(NULL, L_2, (t100 *)NULL, NULL);
		if (!L_3)
		{
			goto IL_001a;
		}
	}
	{
		return 1;
	}

IL_001a:
	{
		t51 * L_4 = m279(__this, NULL);
		t51 * L_5 = m1703(L_4, NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t114_TI_var);
		t114 * L_6 = m298(NULL, LoadTypeToken(t464_0_0_0_var), NULL);
		t105 * L_7 = m2131(L_5, L_6, NULL);
		bool L_8 = m241(NULL, L_7, (t100 *)NULL, NULL);
		return L_8;
	}
}
extern "C" void m1575 (t342 * __this, const MethodInfo* method)
{
	{
		m578(__this, NULL);
		bool L_0 = m1574(__this, NULL);
		if (!L_0)
		{
			goto IL_0017;
		}
	}
	{
		m1577(__this, NULL);
	}

IL_0017:
	{
		return;
	}
}
extern "C" void m1576 (t342 * __this, const MethodInfo* method)
{
	{
		m1577(__this, NULL);
		return;
	}
}
extern TypeInfo* t348_TI_var;
extern "C" void m1577 (t342 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		s_Il2CppMethodIntialized = true;
	}
	{
		bool L_0 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		if (L_0)
		{
			goto IL_000c;
		}
	}
	{
		return;
	}

IL_000c:
	{
		t246 * L_1 = m1555(__this, NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1587(NULL, L_1, NULL);
		return;
	}
}
#include "t348.h"
#ifndef _MSC_VER
#else
#endif

#include "t465.h"
#include "t65.h"
#include "t37.h"
#include "t230.h"
#include "t349.h"
#include "t394.h"
#include "t350.h"
#include "t40.h"
#include "t109.h"
#include "t465MD.h"
#include "t349MD.h"
#include "t350MD.h"
#include "t394MD.h"
#include "t358MD.h"
#include "t231MD.h"
#include "t40MD.h"
#include "t109MD.h"


extern "C" void m1578 (t348 * __this, t246 * p0, const MethodInfo* method)
{
	{
		t246 * L_0 = p0;
		__this->f0 = L_0;
		t246 * L_1 = (__this->f0);
		int32_t L_2 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 UnityEngine.Object::GetHashCode() */, L_1);
		__this->f1 = L_2;
		return;
	}
}
extern TypeInfo* t465_TI_var;
extern const MethodInfo* m1581_MI_var;
extern "C" void m1579 (t65 * __this , const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t465_TI_var = il2cpp_codegen_type_info_from_index(245);
		m1581_MI_var = il2cpp_codegen_method_info_from_index(218);
		s_Il2CppMethodIntialized = true;
	}
	{
		t37 L_0 = { (void*)m1581_MI_var };
		t465 * L_1 = (t465 *)il2cpp_codegen_object_new (t465_TI_var);
		m2134(L_1, NULL, L_0, NULL);
		m2135(NULL, L_1, NULL);
		return;
	}
}
extern TypeInfo* t348_TI_var;
extern TypeInfo* t349_TI_var;
extern const MethodInfo* m1594_MI_var;
extern const MethodInfo* m2136_MI_var;
extern const MethodInfo* m1595_MI_var;
extern const MethodInfo* m1596_MI_var;
extern const MethodInfo* m1597_MI_var;
extern "C" void m1580 (t348 * __this, int32_t p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		t349_TI_var = il2cpp_codegen_type_info_from_index(246);
		m1594_MI_var = il2cpp_codegen_method_info_from_index(219);
		m2136_MI_var = il2cpp_codegen_method_info_from_index(2147483868);
		m1595_MI_var = il2cpp_codegen_method_info_from_index(221);
		m1596_MI_var = il2cpp_codegen_method_info_from_index(222);
		m1597_MI_var = il2cpp_codegen_method_info_from_index(223);
		s_Il2CppMethodIntialized = true;
	}
	int32_t V_0 = {0};
	t246 * G_B4_0 = {0};
	t348 * G_B4_1 = {0};
	t246 * G_B3_0 = {0};
	t348 * G_B3_1 = {0};
	t246 * G_B6_0 = {0};
	t348 * G_B6_1 = {0};
	t246 * G_B5_0 = {0};
	t348 * G_B5_1 = {0};
	t246 * G_B8_0 = {0};
	t348 * G_B8_1 = {0};
	t246 * G_B7_0 = {0};
	t348 * G_B7_1 = {0};
	t246 * G_B10_0 = {0};
	t348 * G_B10_1 = {0};
	t246 * G_B9_0 = {0};
	t348 * G_B9_1 = {0};
	{
		int32_t L_0 = p0;
		V_0 = L_0;
		int32_t L_1 = V_0;
		if ((((int32_t)L_1) == ((int32_t)1)))
		{
			goto IL_000e;
		}
	}
	{
		goto IL_00b7;
	}

IL_000e:
	{
		t246 * L_2 = (__this->f0);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		t349 * L_3 = ((t348_SFs*)t348_TI_var->static_fields)->f2;
		G_B3_0 = L_2;
		G_B3_1 = __this;
		if (L_3)
		{
			G_B4_0 = L_2;
			G_B4_1 = __this;
			goto IL_002d;
		}
	}
	{
		t37 L_4 = { (void*)m1594_MI_var };
		t349 * L_5 = (t349 *)il2cpp_codegen_object_new (t349_TI_var);
		m2136(L_5, NULL, L_4, m2136_MI_var);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		((t348_SFs*)t348_TI_var->static_fields)->f2 = L_5;
		G_B4_0 = G_B3_0;
		G_B4_1 = G_B3_1;
	}

IL_002d:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		t349 * L_6 = ((t348_SFs*)t348_TI_var->static_fields)->f2;
		m1586(G_B4_1, G_B4_0, L_6, NULL);
		t246 * L_7 = (__this->f0);
		t349 * L_8 = ((t348_SFs*)t348_TI_var->static_fields)->f3;
		G_B5_0 = L_7;
		G_B5_1 = __this;
		if (L_8)
		{
			G_B6_0 = L_7;
			G_B6_1 = __this;
			goto IL_0056;
		}
	}
	{
		t37 L_9 = { (void*)m1595_MI_var };
		t349 * L_10 = (t349 *)il2cpp_codegen_object_new (t349_TI_var);
		m2136(L_10, NULL, L_9, m2136_MI_var);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		((t348_SFs*)t348_TI_var->static_fields)->f3 = L_10;
		G_B6_0 = G_B5_0;
		G_B6_1 = G_B5_1;
	}

IL_0056:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		t349 * L_11 = ((t348_SFs*)t348_TI_var->static_fields)->f3;
		m1585(G_B6_1, G_B6_0, L_11, NULL);
		t246 * L_12 = (__this->f0);
		t349 * L_13 = ((t348_SFs*)t348_TI_var->static_fields)->f4;
		G_B7_0 = L_12;
		G_B7_1 = __this;
		if (L_13)
		{
			G_B8_0 = L_12;
			G_B8_1 = __this;
			goto IL_007f;
		}
	}
	{
		t37 L_14 = { (void*)m1596_MI_var };
		t349 * L_15 = (t349 *)il2cpp_codegen_object_new (t349_TI_var);
		m2136(L_15, NULL, L_14, m2136_MI_var);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		((t348_SFs*)t348_TI_var->static_fields)->f4 = L_15;
		G_B8_0 = G_B7_0;
		G_B8_1 = G_B7_1;
	}

IL_007f:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		t349 * L_16 = ((t348_SFs*)t348_TI_var->static_fields)->f4;
		m1586(G_B8_1, G_B8_0, L_16, NULL);
		t246 * L_17 = (__this->f0);
		t349 * L_18 = ((t348_SFs*)t348_TI_var->static_fields)->f5;
		G_B9_0 = L_17;
		G_B9_1 = __this;
		if (L_18)
		{
			G_B10_0 = L_17;
			G_B10_1 = __this;
			goto IL_00a8;
		}
	}
	{
		t37 L_19 = { (void*)m1597_MI_var };
		t349 * L_20 = (t349 *)il2cpp_codegen_object_new (t349_TI_var);
		m2136(L_20, NULL, L_19, m2136_MI_var);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		((t348_SFs*)t348_TI_var->static_fields)->f5 = L_20;
		G_B10_0 = G_B9_0;
		G_B10_1 = G_B9_1;
	}

IL_00a8:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		t349 * L_21 = ((t348_SFs*)t348_TI_var->static_fields)->f5;
		m1585(G_B10_1, G_B10_0, L_21, NULL);
		goto IL_00b7;
	}

IL_00b7:
	{
		return;
	}
}
extern TypeInfo* t348_TI_var;
extern "C" void m1581 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		s_Il2CppMethodIntialized = true;
	}
	{
		t246 * L_0 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1587(NULL, L_0, NULL);
		return;
	}
}
extern "C" t51 * m1582 (t348 * __this, const MethodInfo* method)
{
	{
		t246 * L_0 = (__this->f0);
		return L_0;
	}
}
extern "C" bool m1583 (t348 * __this, const MethodInfo* method)
{
	{
		t246 * L_0 = (__this->f0);
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		return L_1;
	}
}
extern TypeInfo* t348_TI_var;
extern TypeInfo* t350_TI_var;
extern const MethodInfo* m1598_MI_var;
extern const MethodInfo* m2137_MI_var;
extern const MethodInfo* m2138_MI_var;
extern "C" void m1584 (t65 * __this , t394 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		t350_TI_var = il2cpp_codegen_type_info_from_index(247);
		m1598_MI_var = il2cpp_codegen_method_info_from_index(224);
		m2137_MI_var = il2cpp_codegen_method_info_from_index(2147483873);
		m2138_MI_var = il2cpp_codegen_method_info_from_index(2147483874);
		s_Il2CppMethodIntialized = true;
	}
	t394 * G_B2_0 = {0};
	t394 * G_B1_0 = {0};
	{
		t394 * L_0 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		t350 * L_1 = ((t348_SFs*)t348_TI_var->static_fields)->f6;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0019;
		}
	}
	{
		t37 L_2 = { (void*)m1598_MI_var };
		t350 * L_3 = (t350 *)il2cpp_codegen_object_new (t350_TI_var);
		m2137(L_3, NULL, L_2, m2137_MI_var);
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		((t348_SFs*)t348_TI_var->static_fields)->f6 = L_3;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		t350 * L_4 = ((t348_SFs*)t348_TI_var->static_fields)->f6;
		m2138(G_B2_0, L_4, m2138_MI_var);
		return;
	}
}
extern const Il2CppType* t466_0_0_0_var;
extern TypeInfo* t358_TI_var;
extern TypeInfo* t114_TI_var;
extern TypeInfo* t348_TI_var;
extern TypeInfo* t467_TI_var;
extern TypeInfo* t246_TI_var;
extern const MethodInfo* m2139_MI_var;
extern "C" void m1585 (t348 * __this, t246 * p0, t349 * p1, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t466_0_0_0_var = il2cpp_codegen_type_from_index(248);
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		t114_TI_var = il2cpp_codegen_type_info_from_index(10);
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		t467_TI_var = il2cpp_codegen_type_info_from_index(249);
		t246_TI_var = il2cpp_codegen_type_info_from_index(153);
		m2139_MI_var = il2cpp_codegen_method_info_from_index(2147483875);
		s_Il2CppMethodIntialized = true;
	}
	t394 * V_0 = {0};
	int32_t V_1 = 0;
	int32_t V_2 = 0;
	int32_t V_3 = 0;
	{
		t246 * L_0 = p0;
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_000d;
		}
	}
	{
		return;
	}

IL_000d:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t394 * L_2 = m1641(NULL, NULL);
		V_0 = L_2;
		t246 * L_3 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t114_TI_var);
		t114 * L_4 = m298(NULL, LoadTypeToken(t466_0_0_0_var), NULL);
		t394 * L_5 = V_0;
		m1825(L_3, L_4, L_5, NULL);
		t394 * L_6 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1584(NULL, L_6, NULL);
		t394 * L_7 = V_0;
		int32_t L_8 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_7);
		if ((((int32_t)L_8) <= ((int32_t)0)))
		{
			goto IL_00ca;
		}
	}
	{
		V_1 = 0;
		goto IL_005f;
	}

IL_003d:
	{
		t394 * L_9 = V_0;
		int32_t L_10 = V_1;
		t105 * L_11 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_9, L_10);
		if (!((t65 *)IsInst(L_11, t467_TI_var)))
		{
			goto IL_005b;
		}
	}
	{
		t349 * L_12 = p1;
		t394 * L_13 = V_0;
		int32_t L_14 = V_1;
		t105 * L_15 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_13, L_14);
		m2139(L_12, L_15, m2139_MI_var);
	}

IL_005b:
	{
		int32_t L_16 = V_1;
		V_1 = ((int32_t)((int32_t)L_16+(int32_t)1));
	}

IL_005f:
	{
		int32_t L_17 = V_1;
		t394 * L_18 = V_0;
		int32_t L_19 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_18);
		if ((((int32_t)L_17) < ((int32_t)L_19)))
		{
			goto IL_003d;
		}
	}
	{
		V_2 = 0;
		goto IL_0094;
	}

IL_0072:
	{
		t394 * L_20 = V_0;
		int32_t L_21 = V_2;
		t105 * L_22 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_20, L_21);
		if (((t65 *)IsInst(L_22, t467_TI_var)))
		{
			goto IL_0090;
		}
	}
	{
		t349 * L_23 = p1;
		t394 * L_24 = V_0;
		int32_t L_25 = V_2;
		t105 * L_26 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_24, L_25);
		m2139(L_23, L_26, m2139_MI_var);
	}

IL_0090:
	{
		int32_t L_27 = V_2;
		V_2 = ((int32_t)((int32_t)L_27+(int32_t)1));
	}

IL_0094:
	{
		int32_t L_28 = V_2;
		t394 * L_29 = V_0;
		int32_t L_30 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_29);
		if ((((int32_t)L_28) < ((int32_t)L_30)))
		{
			goto IL_0072;
		}
	}
	{
		V_3 = 0;
		goto IL_00be;
	}

IL_00a7:
	{
		t246 * L_31 = p0;
		int32_t L_32 = V_3;
		t51 * L_33 = m2130(L_31, L_32, NULL);
		t349 * L_34 = p1;
		m1585(__this, ((t246 *)IsInst(L_33, t246_TI_var)), L_34, NULL);
		int32_t L_35 = V_3;
		V_3 = ((int32_t)((int32_t)L_35+(int32_t)1));
	}

IL_00be:
	{
		int32_t L_36 = V_3;
		t246 * L_37 = p0;
		int32_t L_38 = m2132(L_37, NULL);
		if ((((int32_t)L_36) < ((int32_t)L_38)))
		{
			goto IL_00a7;
		}
	}

IL_00ca:
	{
		t394 * L_39 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		m1642(NULL, L_39, NULL);
		return;
	}
}
extern const Il2CppType* t395_0_0_0_var;
extern TypeInfo* t358_TI_var;
extern TypeInfo* t114_TI_var;
extern TypeInfo* t348_TI_var;
extern TypeInfo* t246_TI_var;
extern const MethodInfo* m2139_MI_var;
extern "C" void m1586 (t348 * __this, t246 * p0, t349 * p1, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_0_0_0_var = il2cpp_codegen_type_from_index(250);
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		t114_TI_var = il2cpp_codegen_type_info_from_index(10);
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		t246_TI_var = il2cpp_codegen_type_info_from_index(153);
		m2139_MI_var = il2cpp_codegen_method_info_from_index(2147483875);
		s_Il2CppMethodIntialized = true;
	}
	t394 * V_0 = {0};
	int32_t V_1 = 0;
	int32_t V_2 = 0;
	{
		t246 * L_0 = p0;
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_000d;
		}
	}
	{
		return;
	}

IL_000d:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t394 * L_2 = m1641(NULL, NULL);
		V_0 = L_2;
		t246 * L_3 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t114_TI_var);
		t114 * L_4 = m298(NULL, LoadTypeToken(t395_0_0_0_var), NULL);
		t394 * L_5 = V_0;
		m1825(L_3, L_4, L_5, NULL);
		t394 * L_6 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1584(NULL, L_6, NULL);
		t394 * L_7 = V_0;
		int32_t L_8 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_7);
		if ((((int32_t)L_8) <= ((int32_t)0)))
		{
			goto IL_0084;
		}
	}
	{
		V_1 = 0;
		goto IL_0054;
	}

IL_003d:
	{
		t246 * L_9 = p0;
		int32_t L_10 = V_1;
		t51 * L_11 = m2130(L_9, L_10, NULL);
		t349 * L_12 = p1;
		m1586(__this, ((t246 *)IsInst(L_11, t246_TI_var)), L_12, NULL);
		int32_t L_13 = V_1;
		V_1 = ((int32_t)((int32_t)L_13+(int32_t)1));
	}

IL_0054:
	{
		int32_t L_14 = V_1;
		t246 * L_15 = p0;
		int32_t L_16 = m2132(L_15, NULL);
		if ((((int32_t)L_14) < ((int32_t)L_16)))
		{
			goto IL_003d;
		}
	}
	{
		V_2 = 0;
		goto IL_0078;
	}

IL_0067:
	{
		t349 * L_17 = p1;
		t394 * L_18 = V_0;
		int32_t L_19 = V_2;
		t105 * L_20 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_18, L_19);
		m2139(L_17, L_20, m2139_MI_var);
		int32_t L_21 = V_2;
		V_2 = ((int32_t)((int32_t)L_21+(int32_t)1));
	}

IL_0078:
	{
		int32_t L_22 = V_2;
		t394 * L_23 = V_0;
		int32_t L_24 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_23);
		if ((((int32_t)L_22) < ((int32_t)L_24)))
		{
			goto IL_0067;
		}
	}

IL_0084:
	{
		t394 * L_25 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		m1642(NULL, L_25, NULL);
		return;
	}
}
extern TypeInfo* t246_TI_var;
extern TypeInfo* t348_TI_var;
extern "C" void m1587 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t246_TI_var = il2cpp_codegen_type_info_from_index(153);
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		s_Il2CppMethodIntialized = true;
	}
	t246 * V_0 = {0};
	t246 * V_1 = {0};
	{
		t246 * L_0 = p0;
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_000d;
		}
	}
	{
		return;
	}

IL_000d:
	{
		t246 * L_2 = p0;
		V_0 = L_2;
	}

IL_000f:
	{
		t246 * L_3 = V_0;
		t51 * L_4 = m1703(L_3, NULL);
		V_1 = ((t246 *)IsInst(L_4, t246_TI_var));
		t246 * L_5 = V_1;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		bool L_6 = m1588(NULL, L_5, NULL);
		if (L_6)
		{
			goto IL_002b;
		}
	}
	{
		goto IL_0032;
	}

IL_002b:
	{
		t246 * L_7 = V_1;
		V_0 = L_7;
		goto IL_000f;
	}

IL_0032:
	{
		t246 * L_8 = V_0;
		t246 * L_9 = p0;
		bool L_10 = m241(NULL, L_8, L_9, NULL);
		if (!L_10)
		{
			goto IL_004a;
		}
	}
	{
		t246 * L_11 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		bool L_12 = m1589(NULL, L_11, NULL);
		if (L_12)
		{
			goto IL_004a;
		}
	}
	{
		return;
	}

IL_004a:
	{
		t246 * L_13 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1590(NULL, L_13, NULL);
		return;
	}
}
extern const Il2CppType* t464_0_0_0_var;
extern TypeInfo* t358_TI_var;
extern TypeInfo* t114_TI_var;
extern TypeInfo* t348_TI_var;
extern "C" bool m1588 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t464_0_0_0_var = il2cpp_codegen_type_from_index(244);
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		t114_TI_var = il2cpp_codegen_type_info_from_index(10);
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		s_Il2CppMethodIntialized = true;
	}
	t394 * V_0 = {0};
	bool V_1 = false;
	{
		t246 * L_0 = p0;
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_000e;
		}
	}
	{
		return 0;
	}

IL_000e:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t394 * L_2 = m1641(NULL, NULL);
		V_0 = L_2;
		t246 * L_3 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t114_TI_var);
		t114 * L_4 = m298(NULL, LoadTypeToken(t464_0_0_0_var), NULL);
		t394 * L_5 = V_0;
		m1825(L_3, L_4, L_5, NULL);
		t394 * L_6 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1584(NULL, L_6, NULL);
		t394 * L_7 = V_0;
		int32_t L_8 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_7);
		V_1 = ((((int32_t)L_8) > ((int32_t)0))? 1 : 0);
		t394 * L_9 = V_0;
		m1642(NULL, L_9, NULL);
		bool L_10 = V_1;
		return L_10;
	}
}
extern const Il2CppType* t466_0_0_0_var;
extern TypeInfo* t358_TI_var;
extern TypeInfo* t114_TI_var;
extern TypeInfo* t348_TI_var;
extern "C" bool m1589 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t466_0_0_0_var = il2cpp_codegen_type_from_index(248);
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		t114_TI_var = il2cpp_codegen_type_info_from_index(10);
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		s_Il2CppMethodIntialized = true;
	}
	t394 * V_0 = {0};
	bool V_1 = false;
	{
		t246 * L_0 = p0;
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_000e;
		}
	}
	{
		return 0;
	}

IL_000e:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t394 * L_2 = m1641(NULL, NULL);
		V_0 = L_2;
		t246 * L_3 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t114_TI_var);
		t114 * L_4 = m298(NULL, LoadTypeToken(t466_0_0_0_var), NULL);
		t394 * L_5 = V_0;
		m1825(L_3, L_4, L_5, NULL);
		t394 * L_6 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t348_TI_var);
		m1584(NULL, L_6, NULL);
		t394 * L_7 = V_0;
		int32_t L_8 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_7);
		V_1 = ((((int32_t)L_8) > ((int32_t)0))? 1 : 0);
		t394 * L_9 = V_0;
		m1642(NULL, L_9, NULL);
		bool L_10 = V_1;
		return L_10;
	}
}
extern TypeInfo* t348_TI_var;
extern TypeInfo* t231_TI_var;
extern "C" void m1590 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t348_TI_var = il2cpp_codegen_type_info_from_index(151);
		t231_TI_var = il2cpp_codegen_type_info_from_index(133);
		s_Il2CppMethodIntialized = true;
	}
	{
		t246 * L_0 = p0;
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_000d;
		}
	}
	{
		return;
	}

IL_000d:
	{
		t246 * L_2 = p0;
		t348  L_3 = {0};
		m1578(&L_3, L_2, NULL);
		t348  L_4 = L_3;
		t65 * L_5 = Box(t348_TI_var, &L_4);
		IL2CPP_RUNTIME_CLASS_INIT(t231_TI_var);
		m790(NULL, (t65 *)L_5, NULL);
		return;
	}
}
extern "C" bool m1591 (t348 * __this, t348  p0, const MethodInfo* method)
{
	{
		t246 * L_0 = (__this->f0);
		t246 * L_1 = ((&p0)->f0);
		bool L_2 = m241(NULL, L_0, L_1, NULL);
		return L_2;
	}
}
extern "C" int32_t m1592 (t348 * __this, const MethodInfo* method)
{
	{
		int32_t L_0 = (__this->f1);
		return L_0;
	}
}
extern TypeInfo* t40_TI_var;
extern Il2CppCodeGenString* _stringLiteral239;
extern "C" t40* m1593 (t348 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t40_TI_var = il2cpp_codegen_type_info_from_index(8);
		_stringLiteral239 = il2cpp_codegen_string_literal_from_index(239);
		s_Il2CppMethodIntialized = true;
	}
	{
		t246 * L_0 = (__this->f0);
		IL2CPP_RUNTIME_CLASS_INIT(t40_TI_var);
		t40* L_1 = m437(NULL, _stringLiteral239, L_0, NULL);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" void m1594 (t65 * __this , t105 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t105 * L_0 = p0;
		InterfaceActionInvoker0::Invoke(0 /* System.Void UnityEngine.UI.ILayoutElement::CalculateLayoutInputHorizontal() */, t395_TI_var, ((t65 *)IsInst(L_0, t395_TI_var)));
		return;
	}
}
extern TypeInfo* t466_TI_var;
extern "C" void m1595 (t65 * __this , t105 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t466_TI_var = il2cpp_codegen_type_info_from_index(248);
		s_Il2CppMethodIntialized = true;
	}
	{
		t105 * L_0 = p0;
		InterfaceActionInvoker0::Invoke(0 /* System.Void UnityEngine.UI.ILayoutController::SetLayoutHorizontal() */, t466_TI_var, ((t65 *)IsInst(L_0, t466_TI_var)));
		return;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" void m1596 (t65 * __this , t105 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t105 * L_0 = p0;
		InterfaceActionInvoker0::Invoke(1 /* System.Void UnityEngine.UI.ILayoutElement::CalculateLayoutInputVertical() */, t395_TI_var, ((t65 *)IsInst(L_0, t395_TI_var)));
		return;
	}
}
extern TypeInfo* t466_TI_var;
extern "C" void m1597 (t65 * __this , t105 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t466_TI_var = il2cpp_codegen_type_info_from_index(248);
		s_Il2CppMethodIntialized = true;
	}
	{
		t105 * L_0 = p0;
		InterfaceActionInvoker0::Invoke(1 /* System.Void UnityEngine.UI.ILayoutController::SetLayoutVertical() */, t466_TI_var, ((t65 *)IsInst(L_0, t466_TI_var)));
		return;
	}
}
extern TypeInfo* t109_TI_var;
extern "C" bool m1598 (t65 * __this , t105 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t109_TI_var = il2cpp_codegen_type_info_from_index(251);
		s_Il2CppMethodIntialized = true;
	}
	int32_t G_B4_0 = 0;
	int32_t G_B6_0 = 0;
	{
		t105 * L_0 = p0;
		if (!((t109 *)IsInst(L_0, t109_TI_var)))
		{
			goto IL_002e;
		}
	}
	{
		t105 * L_1 = p0;
		bool L_2 = m1706(((t109 *)IsInst(L_1, t109_TI_var)), NULL);
		if (!L_2)
		{
			goto IL_002b;
		}
	}
	{
		t105 * L_3 = p0;
		bool L_4 = m1707(((t109 *)IsInst(L_3, t109_TI_var)), NULL);
		G_B4_0 = ((((int32_t)L_4) == ((int32_t)0))? 1 : 0);
		goto IL_002c;
	}

IL_002b:
	{
		G_B4_0 = 1;
	}

IL_002c:
	{
		G_B6_0 = G_B4_0;
		goto IL_002f;
	}

IL_002e:
	{
		G_B6_0 = 0;
	}

IL_002f:
	{
		return G_B6_0;
	}
}
#include "t351.h"
#ifndef _MSC_VER
#else
#endif

#include "t352.h"
#include "t352MD.h"


extern "C" float m1599 (t65 * __this , t246 * p0, int32_t p1, const MethodInfo* method)
{
	{
		int32_t L_0 = p1;
		if (L_0)
		{
			goto IL_000d;
		}
	}
	{
		t246 * L_1 = p0;
		float L_2 = m1602(NULL, L_1, NULL);
		return L_2;
	}

IL_000d:
	{
		t246 * L_3 = p0;
		float L_4 = m1605(NULL, L_3, NULL);
		return L_4;
	}
}
extern "C" float m1600 (t65 * __this , t246 * p0, int32_t p1, const MethodInfo* method)
{
	{
		int32_t L_0 = p1;
		if (L_0)
		{
			goto IL_000d;
		}
	}
	{
		t246 * L_1 = p0;
		float L_2 = m1603(NULL, L_1, NULL);
		return L_2;
	}

IL_000d:
	{
		t246 * L_3 = p0;
		float L_4 = m1606(NULL, L_3, NULL);
		return L_4;
	}
}
extern "C" float m1601 (t65 * __this , t246 * p0, int32_t p1, const MethodInfo* method)
{
	{
		int32_t L_0 = p1;
		if (L_0)
		{
			goto IL_000d;
		}
	}
	{
		t246 * L_1 = p0;
		float L_2 = m1604(NULL, L_1, NULL);
		return L_2;
	}

IL_000d:
	{
		t246 * L_3 = p0;
		float L_4 = m1607(NULL, L_3, NULL);
		return L_4;
	}
}
extern TypeInfo* t351_TI_var;
extern TypeInfo* t352_TI_var;
extern const MethodInfo* m1610_MI_var;
extern const MethodInfo* m2140_MI_var;
extern "C" float m1602 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t351_TI_var = il2cpp_codegen_type_info_from_index(252);
		t352_TI_var = il2cpp_codegen_type_info_from_index(253);
		m1610_MI_var = il2cpp_codegen_method_info_from_index(228);
		m2140_MI_var = il2cpp_codegen_method_info_from_index(2147483877);
		s_Il2CppMethodIntialized = true;
	}
	t246 * G_B2_0 = {0};
	t246 * G_B1_0 = {0};
	{
		t246 * L_0 = p0;
		t352 * L_1 = ((t351_SFs*)t351_TI_var->static_fields)->f0;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0019;
		}
	}
	{
		t37 L_2 = { (void*)m1610_MI_var };
		t352 * L_3 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_3, NULL, L_2, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f0 = L_3;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t352 * L_4 = ((t351_SFs*)t351_TI_var->static_fields)->f0;
		float L_5 = m1608(NULL, G_B2_0, L_4, (0.0f), NULL);
		return L_5;
	}
}
extern TypeInfo* t351_TI_var;
extern TypeInfo* t352_TI_var;
extern TypeInfo* t104_TI_var;
extern const MethodInfo* m1611_MI_var;
extern const MethodInfo* m2140_MI_var;
extern const MethodInfo* m1612_MI_var;
extern "C" float m1603 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t351_TI_var = il2cpp_codegen_type_info_from_index(252);
		t352_TI_var = il2cpp_codegen_type_info_from_index(253);
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		m1611_MI_var = il2cpp_codegen_method_info_from_index(230);
		m2140_MI_var = il2cpp_codegen_method_info_from_index(2147483877);
		m1612_MI_var = il2cpp_codegen_method_info_from_index(231);
		s_Il2CppMethodIntialized = true;
	}
	t246 * G_B2_0 = {0};
	t246 * G_B1_0 = {0};
	t246 * G_B4_0 = {0};
	float G_B4_1 = 0.0f;
	t246 * G_B3_0 = {0};
	float G_B3_1 = 0.0f;
	{
		t246 * L_0 = p0;
		t352 * L_1 = ((t351_SFs*)t351_TI_var->static_fields)->f1;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0019;
		}
	}
	{
		t37 L_2 = { (void*)m1611_MI_var };
		t352 * L_3 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_3, NULL, L_2, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f1 = L_3;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t352 * L_4 = ((t351_SFs*)t351_TI_var->static_fields)->f1;
		float L_5 = m1608(NULL, G_B2_0, L_4, (0.0f), NULL);
		t246 * L_6 = p0;
		t352 * L_7 = ((t351_SFs*)t351_TI_var->static_fields)->f2;
		G_B3_0 = L_6;
		G_B3_1 = L_5;
		if (L_7)
		{
			G_B4_0 = L_6;
			G_B4_1 = L_5;
			goto IL_0041;
		}
	}
	{
		t37 L_8 = { (void*)m1612_MI_var };
		t352 * L_9 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_9, NULL, L_8, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f2 = L_9;
		G_B4_0 = G_B3_0;
		G_B4_1 = G_B3_1;
	}

IL_0041:
	{
		t352 * L_10 = ((t351_SFs*)t351_TI_var->static_fields)->f2;
		float L_11 = m1608(NULL, G_B4_0, L_10, (0.0f), NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_12 = m269(NULL, G_B4_1, L_11, NULL);
		return L_12;
	}
}
extern TypeInfo* t351_TI_var;
extern TypeInfo* t352_TI_var;
extern const MethodInfo* m1613_MI_var;
extern const MethodInfo* m2140_MI_var;
extern "C" float m1604 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t351_TI_var = il2cpp_codegen_type_info_from_index(252);
		t352_TI_var = il2cpp_codegen_type_info_from_index(253);
		m1613_MI_var = il2cpp_codegen_method_info_from_index(232);
		m2140_MI_var = il2cpp_codegen_method_info_from_index(2147483877);
		s_Il2CppMethodIntialized = true;
	}
	t246 * G_B2_0 = {0};
	t246 * G_B1_0 = {0};
	{
		t246 * L_0 = p0;
		t352 * L_1 = ((t351_SFs*)t351_TI_var->static_fields)->f3;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0019;
		}
	}
	{
		t37 L_2 = { (void*)m1613_MI_var };
		t352 * L_3 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_3, NULL, L_2, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f3 = L_3;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t352 * L_4 = ((t351_SFs*)t351_TI_var->static_fields)->f3;
		float L_5 = m1608(NULL, G_B2_0, L_4, (0.0f), NULL);
		return L_5;
	}
}
extern TypeInfo* t351_TI_var;
extern TypeInfo* t352_TI_var;
extern const MethodInfo* m1614_MI_var;
extern const MethodInfo* m2140_MI_var;
extern "C" float m1605 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t351_TI_var = il2cpp_codegen_type_info_from_index(252);
		t352_TI_var = il2cpp_codegen_type_info_from_index(253);
		m1614_MI_var = il2cpp_codegen_method_info_from_index(233);
		m2140_MI_var = il2cpp_codegen_method_info_from_index(2147483877);
		s_Il2CppMethodIntialized = true;
	}
	t246 * G_B2_0 = {0};
	t246 * G_B1_0 = {0};
	{
		t246 * L_0 = p0;
		t352 * L_1 = ((t351_SFs*)t351_TI_var->static_fields)->f4;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0019;
		}
	}
	{
		t37 L_2 = { (void*)m1614_MI_var };
		t352 * L_3 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_3, NULL, L_2, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f4 = L_3;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t352 * L_4 = ((t351_SFs*)t351_TI_var->static_fields)->f4;
		float L_5 = m1608(NULL, G_B2_0, L_4, (0.0f), NULL);
		return L_5;
	}
}
extern TypeInfo* t351_TI_var;
extern TypeInfo* t352_TI_var;
extern TypeInfo* t104_TI_var;
extern const MethodInfo* m1615_MI_var;
extern const MethodInfo* m2140_MI_var;
extern const MethodInfo* m1616_MI_var;
extern "C" float m1606 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t351_TI_var = il2cpp_codegen_type_info_from_index(252);
		t352_TI_var = il2cpp_codegen_type_info_from_index(253);
		t104_TI_var = il2cpp_codegen_type_info_from_index(2);
		m1615_MI_var = il2cpp_codegen_method_info_from_index(234);
		m2140_MI_var = il2cpp_codegen_method_info_from_index(2147483877);
		m1616_MI_var = il2cpp_codegen_method_info_from_index(235);
		s_Il2CppMethodIntialized = true;
	}
	t246 * G_B2_0 = {0};
	t246 * G_B1_0 = {0};
	t246 * G_B4_0 = {0};
	float G_B4_1 = 0.0f;
	t246 * G_B3_0 = {0};
	float G_B3_1 = 0.0f;
	{
		t246 * L_0 = p0;
		t352 * L_1 = ((t351_SFs*)t351_TI_var->static_fields)->f5;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0019;
		}
	}
	{
		t37 L_2 = { (void*)m1615_MI_var };
		t352 * L_3 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_3, NULL, L_2, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f5 = L_3;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t352 * L_4 = ((t351_SFs*)t351_TI_var->static_fields)->f5;
		float L_5 = m1608(NULL, G_B2_0, L_4, (0.0f), NULL);
		t246 * L_6 = p0;
		t352 * L_7 = ((t351_SFs*)t351_TI_var->static_fields)->f6;
		G_B3_0 = L_6;
		G_B3_1 = L_5;
		if (L_7)
		{
			G_B4_0 = L_6;
			G_B4_1 = L_5;
			goto IL_0041;
		}
	}
	{
		t37 L_8 = { (void*)m1616_MI_var };
		t352 * L_9 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_9, NULL, L_8, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f6 = L_9;
		G_B4_0 = G_B3_0;
		G_B4_1 = G_B3_1;
	}

IL_0041:
	{
		t352 * L_10 = ((t351_SFs*)t351_TI_var->static_fields)->f6;
		float L_11 = m1608(NULL, G_B4_0, L_10, (0.0f), NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t104_TI_var);
		float L_12 = m269(NULL, G_B4_1, L_11, NULL);
		return L_12;
	}
}
extern TypeInfo* t351_TI_var;
extern TypeInfo* t352_TI_var;
extern const MethodInfo* m1617_MI_var;
extern const MethodInfo* m2140_MI_var;
extern "C" float m1607 (t65 * __this , t246 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t351_TI_var = il2cpp_codegen_type_info_from_index(252);
		t352_TI_var = il2cpp_codegen_type_info_from_index(253);
		m1617_MI_var = il2cpp_codegen_method_info_from_index(236);
		m2140_MI_var = il2cpp_codegen_method_info_from_index(2147483877);
		s_Il2CppMethodIntialized = true;
	}
	t246 * G_B2_0 = {0};
	t246 * G_B1_0 = {0};
	{
		t246 * L_0 = p0;
		t352 * L_1 = ((t351_SFs*)t351_TI_var->static_fields)->f7;
		G_B1_0 = L_0;
		if (L_1)
		{
			G_B2_0 = L_0;
			goto IL_0019;
		}
	}
	{
		t37 L_2 = { (void*)m1617_MI_var };
		t352 * L_3 = (t352 *)il2cpp_codegen_object_new (t352_TI_var);
		m2140(L_3, NULL, L_2, m2140_MI_var);
		((t351_SFs*)t351_TI_var->static_fields)->f7 = L_3;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t352 * L_4 = ((t351_SFs*)t351_TI_var->static_fields)->f7;
		float L_5 = m1608(NULL, G_B2_0, L_4, (0.0f), NULL);
		return L_5;
	}
}
extern "C" float m1608 (t65 * __this , t246 * p0, t352 * p1, float p2, const MethodInfo* method)
{
	t65 * V_0 = {0};
	{
		t246 * L_0 = p0;
		t352 * L_1 = p1;
		float L_2 = p2;
		float L_3 = m1609(NULL, L_0, L_1, L_2, (&V_0), NULL);
		return L_3;
	}
}
extern const Il2CppType* t395_0_0_0_var;
extern TypeInfo* t358_TI_var;
extern TypeInfo* t114_TI_var;
extern TypeInfo* t395_TI_var;
extern TypeInfo* t109_TI_var;
extern const MethodInfo* m2141_MI_var;
extern "C" float m1609 (t65 * __this , t246 * p0, t352 * p1, float p2, t65 ** p3, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_0_0_0_var = il2cpp_codegen_type_from_index(250);
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		t114_TI_var = il2cpp_codegen_type_info_from_index(10);
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		t109_TI_var = il2cpp_codegen_type_info_from_index(251);
		m2141_MI_var = il2cpp_codegen_method_info_from_index(2147483885);
		s_Il2CppMethodIntialized = true;
	}
	float V_0 = 0.0f;
	int32_t V_1 = 0;
	t394 * V_2 = {0};
	int32_t V_3 = 0;
	t65 * V_4 = {0};
	int32_t V_5 = 0;
	float V_6 = 0.0f;
	{
		t65 ** L_0 = p3;
		*((t65 **)(L_0)) = (t65 *)NULL;
		t246 * L_1 = p0;
		bool L_2 = m241(NULL, L_1, (t100 *)NULL, NULL);
		if (!L_2)
		{
			goto IL_0015;
		}
	}
	{
		return (0.0f);
	}

IL_0015:
	{
		float L_3 = p2;
		V_0 = L_3;
		V_1 = ((int32_t)-2147483648);
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t394 * L_4 = m1641(NULL, NULL);
		V_2 = L_4;
		t246 * L_5 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t114_TI_var);
		t114 * L_6 = m298(NULL, LoadTypeToken(t395_0_0_0_var), NULL);
		t394 * L_7 = V_2;
		m1825(L_5, L_6, L_7, NULL);
		V_3 = 0;
		goto IL_00d7;
	}

IL_003b:
	{
		t394 * L_8 = V_2;
		int32_t L_9 = V_3;
		t105 * L_10 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_8, L_9);
		V_4 = ((t65 *)IsInst(L_10, t395_TI_var));
		t65 * L_11 = V_4;
		if (!((t109 *)IsInst(L_11, t109_TI_var)))
		{
			goto IL_007c;
		}
	}
	{
		t65 * L_12 = V_4;
		bool L_13 = m1706(((t109 *)IsInst(L_12, t109_TI_var)), NULL);
		if (!L_13)
		{
			goto IL_0077;
		}
	}
	{
		t65 * L_14 = V_4;
		bool L_15 = m1707(((t109 *)IsInst(L_14, t109_TI_var)), NULL);
		if (L_15)
		{
			goto IL_007c;
		}
	}

IL_0077:
	{
		goto IL_00d3;
	}

IL_007c:
	{
		t65 * L_16 = V_4;
		int32_t L_17 = (int32_t)InterfaceFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 UnityEngine.UI.ILayoutElement::get_layoutPriority() */, t395_TI_var, L_16);
		V_5 = L_17;
		int32_t L_18 = V_5;
		int32_t L_19 = V_1;
		if ((((int32_t)L_18) >= ((int32_t)L_19)))
		{
			goto IL_0092;
		}
	}
	{
		goto IL_00d3;
	}

IL_0092:
	{
		t352 * L_20 = p1;
		t65 * L_21 = V_4;
		float L_22 = m2141(L_20, L_21, m2141_MI_var);
		V_6 = L_22;
		float L_23 = V_6;
		if ((!(((float)L_23) < ((float)(0.0f)))))
		{
			goto IL_00ad;
		}
	}
	{
		goto IL_00d3;
	}

IL_00ad:
	{
		int32_t L_24 = V_5;
		int32_t L_25 = V_1;
		if ((((int32_t)L_24) <= ((int32_t)L_25)))
		{
			goto IL_00c4;
		}
	}
	{
		float L_26 = V_6;
		V_0 = L_26;
		int32_t L_27 = V_5;
		V_1 = L_27;
		t65 ** L_28 = p3;
		t65 * L_29 = V_4;
		*((t65 **)(L_28)) = (t65 *)L_29;
		goto IL_00d3;
	}

IL_00c4:
	{
		float L_30 = V_6;
		float L_31 = V_0;
		if ((!(((float)L_30) > ((float)L_31))))
		{
			goto IL_00d3;
		}
	}
	{
		float L_32 = V_6;
		V_0 = L_32;
		t65 ** L_33 = p3;
		t65 * L_34 = V_4;
		*((t65 **)(L_33)) = (t65 *)L_34;
	}

IL_00d3:
	{
		int32_t L_35 = V_3;
		V_3 = ((int32_t)((int32_t)L_35+(int32_t)1));
	}

IL_00d7:
	{
		int32_t L_36 = V_3;
		t394 * L_37 = V_2;
		int32_t L_38 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_37);
		if ((((int32_t)L_36) < ((int32_t)L_38)))
		{
			goto IL_003b;
		}
	}
	{
		t394 * L_39 = V_2;
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		m1642(NULL, L_39, NULL);
		float L_40 = V_0;
		return L_40;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1610 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(2 /* System.Single UnityEngine.UI.ILayoutElement::get_minWidth() */, t395_TI_var, L_0);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1611 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(2 /* System.Single UnityEngine.UI.ILayoutElement::get_minWidth() */, t395_TI_var, L_0);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1612 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(3 /* System.Single UnityEngine.UI.ILayoutElement::get_preferredWidth() */, t395_TI_var, L_0);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1613 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(4 /* System.Single UnityEngine.UI.ILayoutElement::get_flexibleWidth() */, t395_TI_var, L_0);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1614 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single UnityEngine.UI.ILayoutElement::get_minHeight() */, t395_TI_var, L_0);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1615 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single UnityEngine.UI.ILayoutElement::get_minHeight() */, t395_TI_var, L_0);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1616 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(6 /* System.Single UnityEngine.UI.ILayoutElement::get_preferredHeight() */, t395_TI_var, L_0);
		return L_1;
	}
}
extern TypeInfo* t395_TI_var;
extern "C" float m1617 (t65 * __this , t65 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t395_TI_var = il2cpp_codegen_type_info_from_index(250);
		s_Il2CppMethodIntialized = true;
	}
	{
		t65 * L_0 = p0;
		float L_1 = (float)InterfaceFuncInvoker0< float >::Invoke(7 /* System.Single UnityEngine.UI.ILayoutElement::get_flexibleHeight() */, t395_TI_var, L_0);
		return L_1;
	}
}
#include "t353.h"
#ifndef _MSC_VER
#else
#endif
#include "t353MD.h"



extern "C" void m1618 (t353 * __this, const MethodInfo* method)
{
	{
		m1517(__this, NULL);
		return;
	}
}
extern "C" void m1619 (t353 * __this, const MethodInfo* method)
{
	{
		m1557(__this, NULL);
		m1524(__this, 0, 1, NULL);
		return;
	}
}
extern "C" void m1620 (t353 * __this, const MethodInfo* method)
{
	{
		m1524(__this, 1, 1, NULL);
		return;
	}
}
extern "C" void m1621 (t353 * __this, const MethodInfo* method)
{
	{
		m1525(__this, 0, 1, NULL);
		return;
	}
}
extern "C" void m1622 (t353 * __this, const MethodInfo* method)
{
	{
		m1525(__this, 1, 1, NULL);
		return;
	}
}
#include "t354.h"
#ifndef _MSC_VER
#else
#endif
#include "t354MD.h"

#include "t244.h"
#include "t247.h"
#include "t5.h"
#include "t30.h"
#include "t107.h"
#include "t244MD.h"
#include "t247MD.h"
#include "t293MD.h"
#include "t425MD.h"
#include "t5MD.h"
#include "t123MD.h"
struct t105;
struct t244;
#define m2066(__this, method) (( t244 * (*) (t105 *, const MethodInfo*))m223_gshared)(__this, method)
struct t105;
struct t394;
struct t105;
struct t399;
extern "C" void m2143_gshared (t105 * __this, t399 * p0, const MethodInfo* method);
#define m2143(__this, p0, method) (( void (*) (t105 *, t399 *, const MethodInfo*))m2143_gshared)(__this, p0, method)
#define m2142(__this, p0, method) (( void (*) (t105 *, t394 *, const MethodInfo*))m2143_gshared)(__this, p0, method)


extern "C" void m1623 (t354 * __this, const MethodInfo* method)
{
	{
		__this->f2 = 1;
		m571(__this, NULL);
		return;
	}
}
extern const MethodInfo* m2066_MI_var;
extern "C" t244 * m1624 (t354 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2066_MI_var = il2cpp_codegen_method_info_from_index(2147483840);
		s_Il2CppMethodIntialized = true;
	}
	{
		t244 * L_0 = (__this->f4);
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_001d;
		}
	}
	{
		t244 * L_2 = m2066(__this, m2066_MI_var);
		__this->f4 = L_2;
	}

IL_001d:
	{
		t244 * L_3 = (__this->f4);
		return L_3;
	}
}
extern "C" bool m1625 (t354 * __this, const MethodInfo* method)
{
	{
		bool L_0 = (__this->f2);
		return L_0;
	}
}
extern "C" void m1626 (t354 * __this, bool p0, const MethodInfo* method)
{
	{
		bool L_0 = (__this->f2);
		bool L_1 = p0;
		if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
		{
			goto IL_000d;
		}
	}
	{
		return;
	}

IL_000d:
	{
		bool L_2 = p0;
		__this->f2 = L_2;
		t244 * L_3 = m1624(__this, NULL);
		bool L_4 = m213(NULL, L_3, (t100 *)NULL, NULL);
		if (!L_4)
		{
			goto IL_0030;
		}
	}
	{
		t244 * L_5 = m1624(__this, NULL);
		VirtActionInvoker0::Invoke(22 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_5);
	}

IL_0030:
	{
		return;
	}
}
extern const MethodInfo* m1813_MI_var;
extern "C" t246 * m1627 (t354 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1813_MI_var = il2cpp_codegen_method_info_from_index(2147483777);
		s_Il2CppMethodIntialized = true;
	}
	t246 * V_0 = {0};
	t246 * G_B2_0 = {0};
	t246 * G_B1_0 = {0};
	{
		t246 * L_0 = (__this->f5);
		t246 * L_1 = L_0;
		G_B1_0 = L_1;
		if (L_1)
		{
			G_B2_0 = L_1;
			goto IL_001c;
		}
	}
	{
		t246 * L_2 = m1813(__this, m1813_MI_var);
		t246 * L_3 = L_2;
		V_0 = L_3;
		__this->f5 = L_3;
		t246 * L_4 = V_0;
		G_B2_0 = L_4;
	}

IL_001c:
	{
		return G_B2_0;
	}
}
extern "C" bool m1628 (t354 * __this, const MethodInfo* method)
{
	int32_t G_B3_0 = 0;
	{
		bool L_0 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		if (!L_0)
		{
			goto IL_0019;
		}
	}
	{
		t244 * L_1 = m1624(__this, NULL);
		bool L_2 = m213(NULL, L_1, (t100 *)NULL, NULL);
		G_B3_0 = ((int32_t)(L_2));
		goto IL_001a;
	}

IL_0019:
	{
		G_B3_0 = 0;
	}

IL_001a:
	{
		return G_B3_0;
	}
}
extern "C" void m1629 (t354 * __this, const MethodInfo* method)
{
	{
		m1630(__this, NULL);
		return;
	}
}
extern TypeInfo* t358_TI_var;
extern TypeInfo* t468_TI_var;
extern const MethodInfo* m2142_MI_var;
extern "C" void m1630 (t354 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		t468_TI_var = il2cpp_codegen_type_info_from_index(254);
		m2142_MI_var = il2cpp_codegen_method_info_from_index(2147483886);
		s_Il2CppMethodIntialized = true;
	}
	t394 * V_0 = {0};
	int32_t V_1 = 0;
	t65 * V_2 = {0};
	{
		t244 * L_0 = m1624(__this, NULL);
		bool L_1 = m213(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_0032;
		}
	}
	{
		t244 * L_2 = m1624(__this, NULL);
		t247 * L_3 = m860(L_2, NULL);
		bool L_4 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		m2144(L_3, L_4, NULL);
		t244 * L_5 = m1624(__this, NULL);
		VirtActionInvoker0::Invoke(22 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_5);
	}

IL_0032:
	{
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t394 * L_6 = m1641(NULL, NULL);
		V_0 = L_6;
		t394 * L_7 = V_0;
		m2142(__this, L_7, m2142_MI_var);
		V_1 = 0;
		goto IL_0096;
	}

IL_0046:
	{
		t394 * L_8 = V_0;
		int32_t L_9 = V_1;
		t105 * L_10 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_8, L_9);
		bool L_11 = m241(NULL, L_10, (t100 *)NULL, NULL);
		if (L_11)
		{
			goto IL_0074;
		}
	}
	{
		t394 * L_12 = V_0;
		int32_t L_13 = V_1;
		t105 * L_14 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_12, L_13);
		t29 * L_15 = m264(L_14, NULL);
		t29 * L_16 = m264(__this, NULL);
		bool L_17 = m241(NULL, L_15, L_16, NULL);
		if (!L_17)
		{
			goto IL_0079;
		}
	}

IL_0074:
	{
		goto IL_0092;
	}

IL_0079:
	{
		t394 * L_18 = V_0;
		int32_t L_19 = V_1;
		t105 * L_20 = (t105 *)VirtFuncInvoker1< t105 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_18, L_19);
		V_2 = ((t65 *)IsInst(L_20, t468_TI_var));
		t65 * L_21 = V_2;
		if (!L_21)
		{
			goto IL_0092;
		}
	}
	{
		t65 * L_22 = V_2;
		InterfaceActionInvoker0::Invoke(0 /* System.Void UnityEngine.UI.IMaskable::ParentMaskStateChanged() */, t468_TI_var, L_22);
	}

IL_0092:
	{
		int32_t L_23 = V_1;
		V_1 = ((int32_t)((int32_t)L_23+(int32_t)1));
	}

IL_0096:
	{
		int32_t L_24 = V_1;
		t394 * L_25 = V_0;
		int32_t L_26 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_25);
		if ((((int32_t)L_24) < ((int32_t)L_26)))
		{
			goto IL_0046;
		}
	}
	{
		t394 * L_27 = V_0;
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		m1642(NULL, L_27, NULL);
		return;
	}
}
extern "C" void m1631 (t354 * __this, const MethodInfo* method)
{
	{
		t5 * L_0 = (__this->f3);
		bool L_1 = m213(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_001c;
		}
	}
	{
		t5 * L_2 = (__this->f3);
		m1118(NULL, L_2, NULL);
	}

IL_001c:
	{
		__this->f3 = (t5 *)NULL;
		return;
	}
}
extern "C" void m1632 (t354 * __this, const MethodInfo* method)
{
	{
		m573(__this, NULL);
		m1630(__this, NULL);
		return;
	}
}
extern "C" void m1633 (t354 * __this, const MethodInfo* method)
{
	{
		m575(__this, NULL);
		m1631(__this, NULL);
		m1630(__this, NULL);
		return;
	}
}
extern TypeInfo* t425_TI_var;
extern "C" bool m1634 (t354 * __this, t91  p0, t30 * p1, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t425_TI_var = il2cpp_codegen_type_info_from_index(164);
		s_Il2CppMethodIntialized = true;
	}
	{
		t246 * L_0 = m1627(__this, NULL);
		t91  L_1 = p0;
		t30 * L_2 = p1;
		IL2CPP_RUNTIME_CLASS_INIT(t425_TI_var);
		bool L_3 = m1864(NULL, L_0, L_1, L_2, NULL);
		return L_3;
	}
}
extern TypeInfo* t5_TI_var;
extern TypeInfo* t40_TI_var;
extern Il2CppCodeGenString* _stringLiteral240;
extern Il2CppCodeGenString* _stringLiteral236;
extern Il2CppCodeGenString* _stringLiteral241;
extern Il2CppCodeGenString* _stringLiteral232;
extern Il2CppCodeGenString* _stringLiteral242;
extern "C" t5 * m1635 (t354 * __this, t5 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t5_TI_var = il2cpp_codegen_type_info_from_index(4);
		t40_TI_var = il2cpp_codegen_type_info_from_index(8);
		_stringLiteral240 = il2cpp_codegen_string_literal_from_index(240);
		_stringLiteral236 = il2cpp_codegen_string_literal_from_index(236);
		_stringLiteral241 = il2cpp_codegen_string_literal_from_index(241);
		_stringLiteral232 = il2cpp_codegen_string_literal_from_index(232);
		_stringLiteral242 = il2cpp_codegen_string_literal_from_index(242);
		s_Il2CppMethodIntialized = true;
	}
	t5 * V_0 = {0};
	t40* G_B5_0 = {0};
	t5 * G_B5_1 = {0};
	t40* G_B4_0 = {0};
	t5 * G_B4_1 = {0};
	int32_t G_B6_0 = 0;
	t40* G_B6_1 = {0};
	t5 * G_B6_2 = {0};
	{
		m1631(__this, NULL);
		bool L_0 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		if (L_0)
		{
			goto IL_0013;
		}
	}
	{
		t5 * L_1 = p0;
		return L_1;
	}

IL_0013:
	{
		t5 * L_2 = p0;
		t5 * L_3 = (t5 *)il2cpp_codegen_object_new (t5_TI_var);
		m2083(L_3, L_2, NULL);
		V_0 = L_3;
		t5 * L_4 = V_0;
		t5 * L_5 = p0;
		t40* L_6 = m295(L_5, NULL);
		IL2CPP_RUNTIME_CLASS_INIT(t40_TI_var);
		t40* L_7 = m296(NULL, _stringLiteral240, L_6, _stringLiteral236, NULL);
		m450(L_4, L_7, NULL);
		t5 * L_8 = V_0;
		m246(L_8, ((int32_t)61), NULL);
		t5 * L_9 = V_0;
		__this->f3 = L_9;
		t5 * L_10 = (__this->f3);
		bool L_11 = m2082(L_10, _stringLiteral241, NULL);
		if (!L_11)
		{
			goto IL_0081;
		}
	}
	{
		t5 * L_12 = (__this->f3);
		bool L_13 = (__this->f2);
		G_B4_0 = _stringLiteral241;
		G_B4_1 = L_12;
		if (!L_13)
		{
			G_B5_0 = _stringLiteral241;
			G_B5_1 = L_12;
			goto IL_0076;
		}
	}
	{
		G_B6_0 = ((int32_t)15);
		G_B6_1 = G_B4_0;
		G_B6_2 = G_B4_1;
		goto IL_0077;
	}

IL_0076:
	{
		G_B6_0 = 0;
		G_B6_1 = G_B5_0;
		G_B6_2 = G_B5_1;
	}

IL_0077:
	{
		m2084(G_B6_2, G_B6_1, G_B6_0, NULL);
		goto IL_0097;
	}

IL_0081:
	{
		t5 * L_14 = p0;
		IL2CPP_RUNTIME_CLASS_INIT(t40_TI_var);
		t40* L_15 = m1668(NULL, _stringLiteral232, L_14, _stringLiteral242, NULL);
		t5 * L_16 = p0;
		m369(NULL, L_15, L_16, NULL);
	}

IL_0097:
	{
		t5 * L_17 = (__this->f3);
		return L_17;
	}
}
#include "t355.h"
#ifndef _MSC_VER
#else
#endif
#include "t355MD.h"

#include "t357.h"
#include "t396.h"
#include "t356.h"
#include "t357MD.h"
#include "t356MD.h"
#include "t396MD.h"


extern TypeInfo* t355_TI_var;
extern TypeInfo* t357_TI_var;
extern TypeInfo* t356_TI_var;
extern const MethodInfo* m1639_MI_var;
extern const MethodInfo* m2145_MI_var;
extern const MethodInfo* m2146_MI_var;
extern "C" void m1636 (t65 * __this , const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t355_TI_var = il2cpp_codegen_type_info_from_index(155);
		t357_TI_var = il2cpp_codegen_type_info_from_index(256);
		t356_TI_var = il2cpp_codegen_type_info_from_index(257);
		m1639_MI_var = il2cpp_codegen_method_info_from_index(239);
		m2145_MI_var = il2cpp_codegen_method_info_from_index(2147483888);
		m2146_MI_var = il2cpp_codegen_method_info_from_index(2147483889);
		s_Il2CppMethodIntialized = true;
	}
	t65 * G_B2_0 = {0};
	t65 * G_B1_0 = {0};
	{
		t357 * L_0 = ((t355_SFs*)t355_TI_var->static_fields)->f1;
		G_B1_0 = NULL;
		if (L_0)
		{
			G_B2_0 = NULL;
			goto IL_0019;
		}
	}
	{
		t37 L_1 = { (void*)m1639_MI_var };
		t357 * L_2 = (t357 *)il2cpp_codegen_object_new (t357_TI_var);
		m2145(L_2, NULL, L_1, m2145_MI_var);
		((t355_SFs*)t355_TI_var->static_fields)->f1 = L_2;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t357 * L_3 = ((t355_SFs*)t355_TI_var->static_fields)->f1;
		t356 * L_4 = (t356 *)il2cpp_codegen_object_new (t356_TI_var);
		m2146(L_4, (t357 *)G_B2_0, L_3, m2146_MI_var);
		((t355_SFs*)t355_TI_var->static_fields)->f0 = L_4;
		return;
	}
}
extern TypeInfo* t355_TI_var;
extern const MethodInfo* m2147_MI_var;
extern "C" t396 * m1637 (t65 * __this , const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t355_TI_var = il2cpp_codegen_type_info_from_index(155);
		m2147_MI_var = il2cpp_codegen_method_info_from_index(2147483890);
		s_Il2CppMethodIntialized = true;
	}
	{
		IL2CPP_RUNTIME_CLASS_INIT(t355_TI_var);
		t356 * L_0 = ((t355_SFs*)t355_TI_var->static_fields)->f0;
		t396 * L_1 = m2147(L_0, m2147_MI_var);
		return L_1;
	}
}
extern TypeInfo* t355_TI_var;
extern const MethodInfo* m2148_MI_var;
extern "C" void m1638 (t65 * __this , t396 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t355_TI_var = il2cpp_codegen_type_info_from_index(155);
		m2148_MI_var = il2cpp_codegen_method_info_from_index(2147483891);
		s_Il2CppMethodIntialized = true;
	}
	{
		IL2CPP_RUNTIME_CLASS_INIT(t355_TI_var);
		t356 * L_0 = ((t355_SFs*)t355_TI_var->static_fields)->f0;
		t396 * L_1 = p0;
		m2148(L_0, L_1, m2148_MI_var);
		return;
	}
}
extern "C" void m1639 (t65 * __this , t396 * p0, const MethodInfo* method)
{
	{
		t396 * L_0 = p0;
		VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.Canvas>::Clear() */, L_0);
		return;
	}
}
#include "t358.h"
#ifndef _MSC_VER
#else
#endif

#include "t360.h"
#include "t359.h"
#include "t360MD.h"
#include "t359MD.h"


extern TypeInfo* t358_TI_var;
extern TypeInfo* t360_TI_var;
extern TypeInfo* t359_TI_var;
extern const MethodInfo* m1643_MI_var;
extern const MethodInfo* m2149_MI_var;
extern const MethodInfo* m2150_MI_var;
extern "C" void m1640 (t65 * __this , const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		t360_TI_var = il2cpp_codegen_type_info_from_index(259);
		t359_TI_var = il2cpp_codegen_type_info_from_index(260);
		m1643_MI_var = il2cpp_codegen_method_info_from_index(244);
		m2149_MI_var = il2cpp_codegen_method_info_from_index(2147483893);
		m2150_MI_var = il2cpp_codegen_method_info_from_index(2147483894);
		s_Il2CppMethodIntialized = true;
	}
	t65 * G_B2_0 = {0};
	t65 * G_B1_0 = {0};
	{
		t360 * L_0 = ((t358_SFs*)t358_TI_var->static_fields)->f1;
		G_B1_0 = NULL;
		if (L_0)
		{
			G_B2_0 = NULL;
			goto IL_0019;
		}
	}
	{
		t37 L_1 = { (void*)m1643_MI_var };
		t360 * L_2 = (t360 *)il2cpp_codegen_object_new (t360_TI_var);
		m2149(L_2, NULL, L_1, m2149_MI_var);
		((t358_SFs*)t358_TI_var->static_fields)->f1 = L_2;
		G_B2_0 = G_B1_0;
	}

IL_0019:
	{
		t360 * L_3 = ((t358_SFs*)t358_TI_var->static_fields)->f1;
		t359 * L_4 = (t359 *)il2cpp_codegen_object_new (t359_TI_var);
		m2150(L_4, (t360 *)G_B2_0, L_3, m2150_MI_var);
		((t358_SFs*)t358_TI_var->static_fields)->f0 = L_4;
		return;
	}
}
extern TypeInfo* t358_TI_var;
extern const MethodInfo* m2151_MI_var;
extern "C" t394 * m1641 (t65 * __this , const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		m2151_MI_var = il2cpp_codegen_method_info_from_index(2147483895);
		s_Il2CppMethodIntialized = true;
	}
	{
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t359 * L_0 = ((t358_SFs*)t358_TI_var->static_fields)->f0;
		t394 * L_1 = m2151(L_0, m2151_MI_var);
		return L_1;
	}
}
extern TypeInfo* t358_TI_var;
extern const MethodInfo* m2152_MI_var;
extern "C" void m1642 (t65 * __this , t394 * p0, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		t358_TI_var = il2cpp_codegen_type_info_from_index(158);
		m2152_MI_var = il2cpp_codegen_method_info_from_index(2147483896);
		s_Il2CppMethodIntialized = true;
	}
	{
		IL2CPP_RUNTIME_CLASS_INIT(t358_TI_var);
		t359 * L_0 = ((t358_SFs*)t358_TI_var->static_fields)->f0;
		t394 * L_1 = p0;
		m2152(L_0, L_1, m2152_MI_var);
		return;
	}
}
extern "C" void m1643 (t65 * __this , t394 * p0, const MethodInfo* method)
{
	{
		t394 * L_0 = p0;
		VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.Component>::Clear() */, L_0);
		return;
	}
}
#include "t361.h"
#ifndef _MSC_VER
#else
#endif
#include "t361MD.h"

#include "t289.h"


extern "C" void m1644 (t361 * __this, const MethodInfo* method)
{
	{
		m571(__this, NULL);
		return;
	}
}
extern const MethodInfo* m2066_MI_var;
extern "C" t244 * m1645 (t361 * __this, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m2066_MI_var = il2cpp_codegen_method_info_from_index(2147483840);
		s_Il2CppMethodIntialized = true;
	}
	{
		t244 * L_0 = (__this->f2);
		bool L_1 = m241(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_001d;
		}
	}
	{
		t244 * L_2 = m2066(__this, m2066_MI_var);
		__this->f2 = L_2;
	}

IL_001d:
	{
		t244 * L_3 = (__this->f2);
		return L_3;
	}
}
extern "C" void m1646 (t361 * __this, const MethodInfo* method)
{
	{
		m573(__this, NULL);
		t244 * L_0 = m1645(__this, NULL);
		bool L_1 = m213(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_0022;
		}
	}
	{
		t244 * L_2 = m1645(__this, NULL);
		VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_2);
	}

IL_0022:
	{
		return;
	}
}
extern "C" void m1647 (t361 * __this, const MethodInfo* method)
{
	{
		t244 * L_0 = m1645(__this, NULL);
		bool L_1 = m213(NULL, L_0, (t100 *)NULL, NULL);
		if (!L_1)
		{
			goto IL_001c;
		}
	}
	{
		t244 * L_2 = m1645(__this, NULL);
		VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_2);
	}

IL_001c:
	{
		m575(__this, NULL);
		return;
	}
}
#include "t362.h"
#ifndef _MSC_VER
#else
#endif
#include "t362MD.h"

#include "t14.h"
#include "t397.h"
#include "t363MD.h"
#include "t289MD.h"
#include "t397MD.h"


extern "C" void m1648 (t362 * __this, const MethodInfo* method)
{
	{
		m1652(__this, NULL);
		return;
	}
}
extern "C" void m1649 (t362 * __this, t289 * p0, const MethodInfo* method)
{
	int32_t V_0 = 0;
	int32_t V_1 = 0;
	t91  V_2 = {0};
	t91  V_3 = {0};
	t91  V_4 = {0};
	t91  V_5 = {0};
	t91  V_6 = {0};
	t91  V_7 = {0};
	t91  V_8 = {0};
	t91  V_9 = {0};
	{
		bool L_0 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		if (L_0)
		{
			goto IL_000c;
		}
	}
	{
		return;
	}

IL_000c:
	{
		V_0 = 0;
		t289 * L_1 = p0;
		int32_t L_2 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_1);
		V_1 = L_2;
		t289 * L_3 = p0;
		t14  L_4 = m1653(__this, NULL);
		t397  L_5 = m1837(NULL, L_4, NULL);
		int32_t L_6 = V_0;
		t289 * L_7 = p0;
		int32_t L_8 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_7);
		t91  L_9 = m1655(__this, NULL);
		V_2 = L_9;
		float L_10 = ((&V_2)->f1);
		t91  L_11 = m1655(__this, NULL);
		V_3 = L_11;
		float L_12 = ((&V_3)->f2);
		m1659(__this, L_3, L_5, L_6, L_8, L_10, L_12, NULL);
		int32_t L_13 = V_1;
		V_0 = L_13;
		t289 * L_14 = p0;
		int32_t L_15 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_14);
		V_1 = L_15;
		t289 * L_16 = p0;
		t14  L_17 = m1653(__this, NULL);
		t397  L_18 = m1837(NULL, L_17, NULL);
		int32_t L_19 = V_0;
		t289 * L_20 = p0;
		int32_t L_21 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_20);
		t91  L_22 = m1655(__this, NULL);
		V_4 = L_22;
		float L_23 = ((&V_4)->f1);
		t91  L_24 = m1655(__this, NULL);
		V_5 = L_24;
		float L_25 = ((&V_5)->f2);
		m1659(__this, L_16, L_18, L_19, L_21, L_23, ((-L_25)), NULL);
		int32_t L_26 = V_1;
		V_0 = L_26;
		t289 * L_27 = p0;
		int32_t L_28 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_27);
		V_1 = L_28;
		t289 * L_29 = p0;
		t14  L_30 = m1653(__this, NULL);
		t397  L_31 = m1837(NULL, L_30, NULL);
		int32_t L_32 = V_0;
		t289 * L_33 = p0;
		int32_t L_34 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_33);
		t91  L_35 = m1655(__this, NULL);
		V_6 = L_35;
		float L_36 = ((&V_6)->f1);
		t91  L_37 = m1655(__this, NULL);
		V_7 = L_37;
		float L_38 = ((&V_7)->f2);
		m1659(__this, L_29, L_31, L_32, L_34, ((-L_36)), L_38, NULL);
		int32_t L_39 = V_1;
		V_0 = L_39;
		t289 * L_40 = p0;
		int32_t L_41 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_40);
		V_1 = L_41;
		t289 * L_42 = p0;
		t14  L_43 = m1653(__this, NULL);
		t397  L_44 = m1837(NULL, L_43, NULL);
		int32_t L_45 = V_0;
		t289 * L_46 = p0;
		int32_t L_47 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_46);
		t91  L_48 = m1655(__this, NULL);
		V_8 = L_48;
		float L_49 = ((&V_8)->f1);
		t91  L_50 = m1655(__this, NULL);
		V_9 = L_50;
		float L_51 = ((&V_9)->f2);
		m1659(__this, L_42, L_44, L_45, L_47, ((-L_49)), ((-L_51)), NULL);
		return;
	}
}
#include "t364.h"
#ifndef _MSC_VER
#else
#endif
#include "t364MD.h"

#include "t287.h"
#include "t31.h"


extern "C" void m1650 (t364 * __this, const MethodInfo* method)
{
	{
		m1644(__this, NULL);
		return;
	}
}
extern "C" void m1651 (t364 * __this, t289 * p0, const MethodInfo* method)
{
	int32_t V_0 = 0;
	t287  V_1 = {0};
	t287  V_2 = {0};
	t287  V_3 = {0};
	{
		bool L_0 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		if (L_0)
		{
			goto IL_000c;
		}
	}
	{
		return;
	}

IL_000c:
	{
		V_0 = 0;
		goto IL_005b;
	}

IL_0013:
	{
		t289 * L_1 = p0;
		int32_t L_2 = V_0;
		t287  L_3 = (t287 )VirtFuncInvoker1< t287 , int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, L_1, L_2);
		V_1 = L_3;
		t289 * L_4 = p0;
		int32_t L_5 = V_0;
		t287  L_6 = (t287 )VirtFuncInvoker1< t287 , int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, L_4, L_5);
		V_2 = L_6;
		t31 * L_7 = &((&V_2)->f0);
		float L_8 = (L_7->f1);
		t289 * L_9 = p0;
		int32_t L_10 = V_0;
		t287  L_11 = (t287 )VirtFuncInvoker1< t287 , int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, L_9, L_10);
		V_3 = L_11;
		t31 * L_12 = &((&V_3)->f0);
		float L_13 = (L_12->f2);
		t91  L_14 = {0};
		m250(&L_14, L_8, L_13, NULL);
		(&V_1)->f4 = L_14;
		t289 * L_15 = p0;
		int32_t L_16 = V_0;
		t287  L_17 = V_1;
		VirtActionInvoker2< int32_t, t287  >::Invoke(32 /* System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::set_Item(System.Int32,!0) */, L_15, L_16, L_17);
		int32_t L_18 = V_0;
		V_0 = ((int32_t)((int32_t)L_18+(int32_t)1));
	}

IL_005b:
	{
		int32_t L_19 = V_0;
		t289 * L_20 = p0;
		int32_t L_21 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_20);
		if ((((int32_t)L_19) < ((int32_t)L_21)))
		{
			goto IL_0013;
		}
	}
	{
		return;
	}
}
#include "t363.h"
#ifndef _MSC_VER
#else
#endif

#include "t420.h"
#include "t14MD.h"


extern "C" void m1652 (t363 * __this, const MethodInfo* method)
{
	{
		t14  L_0 = {0};
		m225(&L_0, (0.0f), (0.0f), (0.0f), (0.5f), NULL);
		__this->f3 = L_0;
		t91  L_1 = {0};
		m250(&L_1, (1.0f), (-1.0f), NULL);
		__this->f4 = L_1;
		__this->f5 = 1;
		m1644(__this, NULL);
		return;
	}
}
extern "C" t14  m1653 (t363 * __this, const MethodInfo* method)
{
	{
		t14  L_0 = (__this->f3);
		return L_0;
	}
}
extern "C" void m1654 (t363 * __this, t14  p0, const MethodInfo* method)
{
	{
		t14  L_0 = p0;
		__this->f3 = L_0;
		t244 * L_1 = m1645(__this, NULL);
		bool L_2 = m213(NULL, L_1, (t100 *)NULL, NULL);
		if (!L_2)
		{
			goto IL_0023;
		}
	}
	{
		t244 * L_3 = m1645(__this, NULL);
		VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_3);
	}

IL_0023:
	{
		return;
	}
}
extern "C" t91  m1655 (t363 * __this, const MethodInfo* method)
{
	{
		t91  L_0 = (__this->f4);
		return L_0;
	}
}
extern "C" void m1656 (t363 * __this, t91  p0, const MethodInfo* method)
{
	{
		float L_0 = ((&p0)->f1);
		if ((!(((float)L_0) > ((float)(600.0f)))))
		{
			goto IL_001d;
		}
	}
	{
		(&p0)->f1 = (600.0f);
	}

IL_001d:
	{
		float L_1 = ((&p0)->f1);
		if ((!(((float)L_1) < ((float)(-600.0f)))))
		{
			goto IL_003a;
		}
	}
	{
		(&p0)->f1 = (-600.0f);
	}

IL_003a:
	{
		float L_2 = ((&p0)->f2);
		if ((!(((float)L_2) > ((float)(600.0f)))))
		{
			goto IL_0057;
		}
	}
	{
		(&p0)->f2 = (600.0f);
	}

IL_0057:
	{
		float L_3 = ((&p0)->f2);
		if ((!(((float)L_3) < ((float)(-600.0f)))))
		{
			goto IL_0074;
		}
	}
	{
		(&p0)->f2 = (-600.0f);
	}

IL_0074:
	{
		t91  L_4 = (__this->f4);
		t91  L_5 = p0;
		bool L_6 = m2153(NULL, L_4, L_5, NULL);
		if (!L_6)
		{
			goto IL_0086;
		}
	}
	{
		return;
	}

IL_0086:
	{
		t91  L_7 = p0;
		__this->f4 = L_7;
		t244 * L_8 = m1645(__this, NULL);
		bool L_9 = m213(NULL, L_8, (t100 *)NULL, NULL);
		if (!L_9)
		{
			goto IL_00a9;
		}
	}
	{
		t244 * L_10 = m1645(__this, NULL);
		VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_10);
	}

IL_00a9:
	{
		return;
	}
}
extern "C" bool m1657 (t363 * __this, const MethodInfo* method)
{
	{
		bool L_0 = (__this->f5);
		return L_0;
	}
}
extern "C" void m1658 (t363 * __this, bool p0, const MethodInfo* method)
{
	{
		bool L_0 = p0;
		__this->f5 = L_0;
		t244 * L_1 = m1645(__this, NULL);
		bool L_2 = m213(NULL, L_1, (t100 *)NULL, NULL);
		if (!L_2)
		{
			goto IL_0023;
		}
	}
	{
		t244 * L_3 = m1645(__this, NULL);
		VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_3);
	}

IL_0023:
	{
		return;
	}
}
extern const MethodInfo* m1850_MI_var;
extern const MethodInfo* m1851_MI_var;
extern "C" void m1659 (t363 * __this, t289 * p0, t397  p1, int32_t p2, int32_t p3, float p4, float p5, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		m1850_MI_var = il2cpp_codegen_method_info_from_index(2147483786);
		m1851_MI_var = il2cpp_codegen_method_info_from_index(2147483787);
		s_Il2CppMethodIntialized = true;
	}
	t287  V_0 = {0};
	int32_t V_1 = 0;
	int32_t V_2 = 0;
	t31  V_3 = {0};
	t397  V_4 = {0};
	t287  V_5 = {0};
	{
		t289 * L_0 = p0;
		int32_t L_1 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_0);
		V_1 = ((int32_t)((int32_t)L_1*(int32_t)2));
		t289 * L_2 = p0;
		int32_t L_3 = m1850(L_2, m1850_MI_var);
		int32_t L_4 = V_1;
		if ((((int32_t)L_3) >= ((int32_t)L_4)))
		{
			goto IL_001c;
		}
	}
	{
		t289 * L_5 = p0;
		int32_t L_6 = V_1;
		m1851(L_5, L_6, m1851_MI_var);
	}

IL_001c:
	{
		int32_t L_7 = p2;
		V_2 = L_7;
		goto IL_00b0;
	}

IL_0023:
	{
		t289 * L_8 = p0;
		int32_t L_9 = V_2;
		t287  L_10 = (t287 )VirtFuncInvoker1< t287 , int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, L_8, L_9);
		V_0 = L_10;
		t289 * L_11 = p0;
		t287  L_12 = V_0;
		VirtActionInvoker1< t287  >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::Add(!0) */, L_11, L_12);
		t31  L_13 = ((&V_0)->f0);
		V_3 = L_13;
		t31 * L_14 = (&V_3);
		float L_15 = (L_14->f1);
		float L_16 = p4;
		L_14->f1 = ((float)((float)L_15+(float)L_16));
		t31 * L_17 = (&V_3);
		float L_18 = (L_17->f2);
		float L_19 = p5;
		L_17->f2 = ((float)((float)L_18+(float)L_19));
		t31  L_20 = V_3;
		(&V_0)->f0 = L_20;
		t397  L_21 = p1;
		V_4 = L_21;
		bool L_22 = (__this->f5);
		if (!L_22)
		{
			goto IL_009b;
		}
	}
	{
		uint8_t L_23 = ((&V_4)->f3);
		t289 * L_24 = p0;
		int32_t L_25 = V_2;
		t287  L_26 = (t287 )VirtFuncInvoker1< t287 , int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, L_24, L_25);
		V_5 = L_26;
		t397 * L_27 = &((&V_5)->f2);
		uint8_t L_28 = (L_27->f3);
		(&V_4)->f3 = (((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_23*(int32_t)L_28))/(int32_t)((int32_t)255)))));
	}

IL_009b:
	{
		t397  L_29 = V_4;
		(&V_0)->f2 = L_29;
		t289 * L_30 = p0;
		int32_t L_31 = V_2;
		t287  L_32 = V_0;
		VirtActionInvoker2< int32_t, t287  >::Invoke(32 /* System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::set_Item(System.Int32,!0) */, L_30, L_31, L_32);
		int32_t L_33 = V_2;
		V_2 = ((int32_t)((int32_t)L_33+(int32_t)1));
	}

IL_00b0:
	{
		int32_t L_34 = V_2;
		int32_t L_35 = p3;
		if ((((int32_t)L_34) < ((int32_t)L_35)))
		{
			goto IL_0023;
		}
	}
	{
		return;
	}
}
extern "C" void m1660 (t363 * __this, t289 * p0, const MethodInfo* method)
{
	t91  V_0 = {0};
	t91  V_1 = {0};
	{
		bool L_0 = (bool)VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
		if (L_0)
		{
			goto IL_000c;
		}
	}
	{
		return;
	}

IL_000c:
	{
		t289 * L_1 = p0;
		t14  L_2 = m1653(__this, NULL);
		t397  L_3 = m1837(NULL, L_2, NULL);
		t289 * L_4 = p0;
		int32_t L_5 = (int32_t)VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count() */, L_4);
		t91  L_6 = m1655(__this, NULL);
		V_0 = L_6;
		float L_7 = ((&V_0)->f1);
		t91  L_8 = m1655(__this, NULL);
		V_1 = L_8;
		float L_9 = ((&V_1)->f2);
		m1659(__this, L_1, L_3, 0, L_5, L_7, L_9, NULL);
		return;
	}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
