// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_datazegetzelabelzetype
static struct mirth_type_ArrowType* mw_mirth_data_datazegetzelabelzetype (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_data_TagField* in_TagField_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	uint64_t v5;
	uint64_t v6;
	struct std_either_Either_2 v7;
	mtp_mirth_data_TagField_TagField(in_TagField_2, &v5, &v6, &v7);
	uint64_t branch_Label_8;
	uint64_t branch_Tag_9;
	struct mirth_mirth_zaMirth* branch_zaMirth_10;
	struct mirth_type_ArrowType* branch_ArrowType_11;
	switch ((v7).tag) {
		case std_either_Either_2_Left: {
			VAL v12 = mtp_std_either_Either_2_Left(v7);
			struct mirth_type_StackType v13 = mw_mirth_type_T0();
			struct mirth_mirth_zaMirth* v14;
			struct std_either_Either_2 v15 = mw_mirth_data_Tag_outputzetype(in_zaMirth_1, v5, &v14);
			struct mirth_type_StackType v16 = mw_mirth_type_Tzmza(v13, v15);
			struct mirth_type_StackType v17 = mw_mirth_type_T1(V_mirth_type_Type(v12));
			struct mirth_mirth_zaMirth* v18;
			uint64_t v19 = mw_mirth_data_Tag_data(v14, v5, &v18);
			struct mirth_mirth_zaMirth* v20;
			bool v21 = mw_mirth_data_Data_iszeresourcezy(v18, v19, &v20);
			uint64_t branch_Tag_22;
			struct mirth_mirth_zaMirth* branch_zaMirth_23;
			struct mirth_type_StackType branch_StackType_24;
			if (v21) {
				struct mirth_mirth_zaMirth* v25;
				struct std_either_Either_2 v26 = mw_mirth_data_Tag_outputzetype(v20, v5, &v25);
				struct mirth_type_StackType v27 = mw_mirth_type_Tzmza(v17, v26);
				branch_StackType_24 = v27;
				branch_zaMirth_23 = v25;
				branch_Tag_22 = v5;
			} else {
				branch_StackType_24 = v17;
				branch_zaMirth_23 = v20;
				branch_Tag_22 = v5;
			}
			struct mirth_type_ArrowType* v28 = mw_mirth_type_Tzezg(v16, branch_StackType_24);
			branch_ArrowType_11 = v28;
			branch_zaMirth_10 = branch_zaMirth_23;
			branch_Tag_9 = branch_Tag_22;
			branch_Label_8 = v6;
		} break;
		case std_either_Either_2_Right: {
			VAL v29 = mtp_std_either_Either_2_Right(v7);
			struct mirth_type_StackType v30 = mw_mirth_type_T0();
			struct mirth_mirth_zaMirth* v31;
			struct std_either_Either_2 v32 = mw_mirth_data_Tag_outputzetype(in_zaMirth_1, v5, &v31);
			struct mirth_type_StackType v33 = mw_mirth_type_Tzmza(v30, v32);
			struct mirth_type_StackType v34 = mw_mirth_type_T0();
			struct mirth_type_StackType v35 = mw_mirth_type_Tza(v34, V_mirth_type_Type(v29));
			struct mirth_mirth_zaMirth* v36;
			struct std_either_Either_2 v37 = mw_mirth_data_Tag_outputzetypezeexceptzefield(v31, v6, v5, &v36);
			struct mirth_type_StackType v38 = mw_mirth_type_Tzmza(v35, v37);
			struct mirth_type_ArrowType* v39 = mw_mirth_type_Tzezg(v33, v38);
			branch_ArrowType_11 = v39;
			branch_zaMirth_10 = v36;
			branch_Tag_9 = v5;
			branch_Label_8 = v6;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_10;
	return branch_ArrowType_11;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x20(%rbp), %rsi
leaq -0x28(%rbp), %rdx
leaq -0x38(%rbp), %rcx
callq 0x14f920
movl -0x38(%rbp), %eax
movl %eax, -0x1dc(%rbp)
testl %eax, %eax
je 0x134b3f
jmp 0x134b2b
movl -0x1dc(%rbp), %eax
subl $0x1, %eax
je 0x134d36
jmp 0x134eaf
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x74840
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
callq 0x73060
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0x14fa40
movl %eax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
movl -0x90(%rbp), %edx
movq -0x88(%rbp), %rcx
callq 0x73490
movl %eax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0x6f100
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x14df80
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0x80(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
callq 0x57890
movq %rax, -0xd0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x74100
andb $0x1, %al
movb %al, -0xd9(%rbp)
testb $0x1, -0xd9(%rbp)
je 0x134cad
movq -0xd8(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x108(%rbp), %rdx
callq 0x14fa40
movl %eax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
movl -0x118(%rbp), %edx
movq -0x110(%rbp), %rcx
callq 0x73490
movl %eax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xe8(%rbp)
jmp 0x134ce2
movq -0xb0(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xe8(%rbp)
movl -0xa0(%rbp), %edi
movq -0x98(%rbp), %rsi
movl -0x100(%rbp), %edx
movq -0xf8(%rbp), %rcx
callq 0x735b0
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x134ec8
movl -0x38(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x748f0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
callq 0x73060
movl %eax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x158(%rbp), %rdx
callq 0x14fa40
movl %eax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movl -0x150(%rbp), %edi
movq -0x148(%rbp), %rsi
movl -0x168(%rbp), %edx
movq -0x160(%rbp), %rcx
callq 0x73490
movl %eax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
callq 0x73060
movl %eax, -0x188(%rbp)
movq %rdx, -0x180(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x6f100
movl %eax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movl -0x188(%rbp), %edi
movq -0x180(%rbp), %rsi
movl -0x1a8(%rbp), %edx
movq -0x1a0(%rbp), %rcx
callq 0x749a0
movl %eax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x158(%rbp), %rdi
movq -0x28(%rbp), %rsi
movq -0x20(%rbp), %rdx
leaq -0x1b0(%rbp), %rcx
callq 0x150750
movl %eax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movl -0x198(%rbp), %edi
movq -0x190(%rbp), %rsi
movl -0x1c0(%rbp), %edx
movq -0x1b8(%rbp), %rcx
callq 0x73490
movl %eax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movl -0x178(%rbp), %edi
movq -0x170(%rbp), %rsi
movl -0x1d0(%rbp), %edx
movq -0x1c8(%rbp), %rcx
callq 0x735b0
movq %rax, -0x1d8(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x134ec8
leaq 0x21efcb(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x50(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x58(%rbp), %rax
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq