// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Data_c99zerepr
static struct mirth_c99_C99DataRepr mw_mirth_data_Data_c99zerepr (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Data_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_data_Data_c99zerepr, in_Data_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_c99_C99DataRepr branch_C99DataRepr_8;
	if (v6) {
		VAL v9 = mut_get(v5);
		branch_C99DataRepr_8 = V_mirth_c99_C99DataRepr(v9);
		branch_zaMirth_7 = in_zaMirth_1;
	} else {
		struct std_maybe_Maybe_1 v10 = { .tag=std_maybe_Maybe_1_None };
		uint64_t branch_Data_11;
		struct mirth_mirth_zaMirth* branch_zaMirth_12;
		struct std_maybe_Maybe_1 branch_Maybe_13;
		switch ((v10).tag) {
			case std_maybe_Maybe_1_None: {
				struct mirth_mirth_zaMirth* v14;
				struct std_maybe_Maybe_1 v15 = mw_mirth_c99_C99DataUnitRepr_Makezy(in_zaMirth_1, in_Data_2, &v14);
				struct std_maybe_Maybe_1 branch_Maybe_16;
				switch ((v15).tag) {
					case std_maybe_Maybe_1_Some: {
						VAL v17 = mtp_std_maybe_Maybe_1_Some(v15);
						struct mirth_c99_C99DataRepr v18 = mw_mirth_c99_C99DataUnitRepr_zgC99DataRepr(V_mirth_c99_C99DataUnitRepr(v17));
						struct std_maybe_Maybe_1 v19 = mtw_std_maybe_Maybe_1_Some(MK_mirth_c99_C99DataRepr(v18));
						branch_Maybe_16 = v19;
					} break;
					case std_maybe_Maybe_1_None: {
						struct std_maybe_Maybe_1 v20 = { .tag=std_maybe_Maybe_1_None };
						branch_Maybe_16 = v20;
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				branch_Maybe_13 = branch_Maybe_16;
				branch_zaMirth_12 = v14;
				branch_Data_11 = in_Data_2;
			} break;
			default: {
				branch_Maybe_13 = v10;
				branch_zaMirth_12 = in_zaMirth_1;
				branch_Data_11 = in_Data_2;
			} break;
		}
		uint64_t branch_Data_21;
		struct mirth_mirth_zaMirth* branch_zaMirth_22;
		struct std_maybe_Maybe_1 branch_Maybe_23;
		switch ((branch_Maybe_13).tag) {
			case std_maybe_Maybe_1_None: {
				struct mirth_mirth_zaMirth* v24;
				struct std_maybe_Maybe_1 v25 = mw_mirth_c99_C99DataEnumRepr_Makezy(branch_zaMirth_12, branch_Data_11, &v24);
				struct std_maybe_Maybe_1 branch_Maybe_26;
				switch ((v25).tag) {
					case std_maybe_Maybe_1_Some: {
						VAL v27 = mtp_std_maybe_Maybe_1_Some(v25);
						struct mirth_c99_C99DataRepr v28 = mw_mirth_c99_C99DataEnumRepr_zgC99DataRepr(V_mirth_data_Data(v27));
						struct std_maybe_Maybe_1 v29 = mtw_std_maybe_Maybe_1_Some(MK_mirth_c99_C99DataRepr(v28));
						branch_Maybe_26 = v29;
					} break;
					case std_maybe_Maybe_1_None: {
						struct std_maybe_Maybe_1 v30 = { .tag=std_maybe_Maybe_1_None };
						branch_Maybe_26 = v30;
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				branch_Maybe_23 = branch_Maybe_26;
				branch_zaMirth_22 = v24;
				branch_Data_21 = branch_Data_11;
			} break;
			default: {
				branch_Maybe_23 = branch_Maybe_13;
				branch_zaMirth_22 = branch_zaMirth_12;
				branch_Data_21 = branch_Data_11;
			} break;
		}
		uint64_t branch_Data_31;
		struct mirth_mirth_zaMirth* branch_zaMirth_32;
		struct std_maybe_Maybe_1 branch_Maybe_33;
		switch ((branch_Maybe_23).tag) {
			case std_maybe_Maybe_1_None: {
				struct mirth_mirth_zaMirth* v34;
				struct std_maybe_Maybe_1 v35 = mw_mirth_c99_C99DataTransRepr_Makezy(branch_zaMirth_22, branch_Data_21, &v34);
				struct std_maybe_Maybe_1 branch_Maybe_36;
				switch ((v35).tag) {
					case std_maybe_Maybe_1_Some: {
						VAL v37 = mtp_std_maybe_Maybe_1_Some(v35);
						struct mirth_c99_C99DataRepr v38 = mw_mirth_c99_C99DataTransRepr_zgC99DataRepr(V_mirth_c99_C99DataTransRepr(v37));
						struct std_maybe_Maybe_1 v39 = mtw_std_maybe_Maybe_1_Some(MK_mirth_c99_C99DataRepr(v38));
						branch_Maybe_36 = v39;
					} break;
					case std_maybe_Maybe_1_None: {
						struct std_maybe_Maybe_1 v40 = { .tag=std_maybe_Maybe_1_None };
						branch_Maybe_36 = v40;
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				branch_Maybe_33 = branch_Maybe_36;
				branch_zaMirth_32 = v34;
				branch_Data_31 = branch_Data_21;
			} break;
			default: {
				branch_Maybe_33 = branch_Maybe_23;
				branch_zaMirth_32 = branch_zaMirth_22;
				branch_Data_31 = branch_Data_21;
			} break;
		}
		uint64_t branch_Data_41;
		struct mirth_mirth_zaMirth* branch_zaMirth_42;
		struct std_maybe_Maybe_1 branch_Maybe_43;
		switch ((branch_Maybe_33).tag) {
			case std_maybe_Maybe_1_None: {
				struct mirth_mirth_zaMirth* v44;
				struct std_maybe_Maybe_1 v45 = mw_mirth_c99_C99DataStructRepr_Makezy(branch_zaMirth_32, branch_Data_31, &v44);
				struct std_maybe_Maybe_1 branch_Maybe_46;
				switch ((v45).tag) {
					case std_maybe_Maybe_1_Some: {
						VAL v47 = mtp_std_maybe_Maybe_1_Some(v45);
						struct mirth_c99_C99DataRepr v48 = mw_mirth_c99_C99DataStructRepr_zgC99DataRepr(V_mirth_c99_C99DataStructRepr(v47));
						struct std_maybe_Maybe_1 v49 = mtw_std_maybe_Maybe_1_Some(MK_mirth_c99_C99DataRepr(v48));
						branch_Maybe_46 = v49;
					} break;
					case std_maybe_Maybe_1_None: {
						struct std_maybe_Maybe_1 v50 = { .tag=std_maybe_Maybe_1_None };
						branch_Maybe_46 = v50;
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				branch_Maybe_43 = branch_Maybe_46;
				branch_zaMirth_42 = v44;
				branch_Data_41 = branch_Data_31;
			} break;
			default: {
				branch_Maybe_43 = branch_Maybe_33;
				branch_zaMirth_42 = branch_zaMirth_32;
				branch_Data_41 = branch_Data_31;
			} break;
		}
		struct mirth_mirth_zaMirth* branch_zaMirth_51;
		uint64_t branch_Data_52;
		struct mirth_c99_C99DataRepr branch_C99DataRepr_53;
		switch ((branch_Maybe_43).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v54 = mtp_std_maybe_Maybe_1_Some(branch_Maybe_43);
				branch_C99DataRepr_53 = V_mirth_c99_C99DataRepr(v54);
				branch_Data_52 = branch_Data_41;
				branch_zaMirth_51 = branch_zaMirth_42;
			} break;
			case std_maybe_Maybe_1_None: {
				struct mirth_mirth_zaMirth* v55;
				struct mirth_c99_C99DataSumRepr* v56 = mw_mirth_c99_C99DataSumRepr_Make(branch_zaMirth_42, branch_Data_41, &v55);
				struct mirth_c99_C99DataRepr v57 = mw_mirth_c99_C99DataSumRepr_zgC99DataRepr(v56);
				branch_C99DataRepr_53 = v57;
				branch_Data_52 = branch_Data_41;
				branch_zaMirth_51 = v55;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		incref(MK_mirth_c99_C99DataRepr(branch_C99DataRepr_53));
		mut_set(MK_mirth_c99_C99DataRepr(branch_C99DataRepr_53), v5);
		branch_C99DataRepr_8 = branch_C99DataRepr_53;
		branch_zaMirth_7 = branch_zaMirth_51;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_C99DataRepr_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
leaq 0x1080fcf(%rip), %rdi   # 0x110db98
callq 0x12f88
movq %rax, %r13
movq %rax, %rdi
callq 0x142de
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
testb %al, %al
je 0x8cc01
movq %r13, %rdi
callq 0x1307d
movq %rax, %r13
andq %rax, %r14
shrq $0x30, %r13
movq %r14, %r12
jmp 0x8d198
leaq -0x38(%rbp), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x66726
cmpl $0x1, %eax
movq %rbx, -0x78(%rbp)
movq %r13, -0x88(%rbp)
je 0x8cc2e
testl %eax, %eax
jne 0x8d1b0
movq -0x38(%rbp), %r15
jmp 0x8cc8a
movq %rdx, %rdi
callq 0xd491
movq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rax, %rsi
movq %rbx, %rdx
callq 0x93224
movq (%rbx), %r15
testl %eax, %eax
je 0x8cc8a
cmpl $0x1, %eax
jne 0x8d1b0
movq %rdx, %rdi
callq 0xd491
movq %rax, %rbx
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d1d0
movq %rax, %rdi
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
jmp 0x8d142
leaq -0x38(%rbp), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x6d6c4
testb %al, %al
je 0x8cce5
leaq 0x7bff4(%rip), %rsi     # 0x108c98
movq %r12, %rdi
callq 0x8d0c
movq %rdx, %rdi
movq -0x38(%rbp), %r15
callq 0xd491
movq %rax, %rbx
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d1c7
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
leaq 0x4(%r14), %rdi
orq %rax, %rdi
jmp 0x8d142
leaq -0x38(%rbp), %rdx
movq (%rdx), %rdi
movq %r12, %rsi
callq 0x71564
testl %eax, %eax
je 0x8cd68
cmpl $0x1, %eax
jne 0x8d1b0
movq %rdx, %rdi
callq 0xd491
movq 0x8(%rax), %r15
movl 0x10(%rax), %r12d
movq 0x18(%rax), %r13
movl 0x20(%rax), %ecx
movl %ecx, -0x50(%rbp)
movq 0x28(%rax), %rdi
decl (%rax)
movq %rdi, -0x60(%rbp)
je 0x8cfc9
movq %r13, %rax
andq %r14, %rax
sete %dl
movq %r13, %rcx
andq $0x3, %rcx
setne %sil
orb %dl, %sil
jne 0x8cd46
incl (%rax)
movq %rdi, %rdx
andq %r14, %rdx
sete %sil
testb $0x3, %dil
setne %dil
orb %sil, %dil
jne 0x8cfdd
incl (%rdx)
jmp 0x8cfdd
leaq -0x38(%rbp), %rdx
movq (%rdx), %rdi
movq %r12, %rsi
callq 0x66726
testl %eax, %eax
je 0x8cde9
cmpl $0x1, %eax
jne 0x8d1b0
movq %rdx, %rdi
callq 0xd491
movq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rax, %rsi
movq %rbx, %rdx
callq 0x94039
leaq 0x7d0f3(%rip), %rsi     # 0x109e99
movq %rax, %rdi
callq 0x8d0c
movq %rdx, %rdi
movq (%rbx), %r15
callq 0xd491
movq %rax, %rbx
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d1eb
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
movabsq $0x3000000000000, %rdi  # imm = 0x3000000000000
jmp 0x8ccdd
leaq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq -0x80(%rbp), %r15
movq %r12, %rsi
movq %r15, %rdx
callq 0x4ce67
movl %eax, %r13d
movq %rdx, %rbx
xorl %edi, %edi
xorl %esi, %esi
callq 0xcd32
movq (%r15), %r15
movb $0x1, %cl
movq %rbx, %rdi
testb $0x1, %cl
je 0x8cf27
xorl %ecx, %ecx
movl $0x0, %ebx
testl %r13d, %r13d
je 0x8ce13
movq %rdx, -0x60(%rbp)
movl %eax, -0x50(%rbp)
cmpl $0x1, %r13d
jne 0x8d1b0
leaq -0x38(%rbp), %rsi
callq 0xce01
movq %rax, %rbx
movq %r15, %rdi
movq %rax, %rsi
leaq -0x48(%rbp), %r13
movq %r13, %rdx
callq 0x93224
cmpl $0x1, %eax
jne 0x8cebf
movq %rdx, %rdi
callq 0xd491
movq %rax, %rbx
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d206
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
movq %rax, %rdi
leaq 0x7d127(%rip), %rbx     # 0x109fb9
movq %rbx, %rsi
callq 0x8d0c
movq %rdx, %rdi
movq -0x48(%rbp), %r15
callq 0xd491
movq %rax, %rdi
movabsq $-0x1000000000000, %rcx # imm = 0xFFFF000000000000
andq %rcx, %rdi
andq %r14, %rax
movq -0x60(%rbp), %rcx
jmp 0x8cf02
movq -0x48(%rbp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x94039
movq %rax, %rbx
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d20f
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
movq -0x48(%rbp), %r15
leaq 0x4(%r14), %rdi
movq -0x60(%rbp), %rcx
leaq 0x7d0b7(%rip), %rbx     # 0x109fb9
orq %rax, %rdi
movq %rbx, %rsi
movl -0x50(%rbp), %edx
movq %r13, %r8
callq 0x8e35
movl -0x38(%rbp), %r13d
movq -0x30(%rbp), %rbx
movl -0x48(%rbp), %eax
movq -0x40(%rbp), %rdx
jmp 0x8ce11
movq %rdi, %rsi
andq %r14, %rsi
sete %cl
testb $0x3, %dil
setne %r8b
orb %cl, %r8b
jne 0x8cf61
decl (%rsi)
jne 0x8cf61
shlq $0x30, %r13
orq %rdi, %r13
movl %eax, %ebx
leaq 0x7b328(%rip), %rsi     # 0x108279
movq %r13, %rdi
movq %rdx, %r13
callq 0xce94
movq %r13, %rdx
movl %ebx, %eax
movl %eax, %edi
movq %rdx, %rsi
callq 0xcd32
movl %eax, %r13d
movq %rdx, -0x50(%rbp)
pushq $0x1
popq %rdi
pushq $0x20
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d1f4
movq %rax, %rbx
movl $0x1, (%rax)
movl %r13d, 0x10(%rax)
movq -0x50(%rbp), %rax
movq %rax, 0x18(%rbx)
movq %r12, 0x8(%rbx)
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d1fd
movq %rax, %r12
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
pushq $0x4
popq %r13
jmp 0x8d163
movq %rax, %rdi
callq 0x5030
movq %r13, %rax
andq %r14, %rax
movl %r13d, %ecx
andl $0x3, %ecx
testq %rax, %rax
sete %dl
testq %rcx, %rcx
setne %cl
orb %dl, %cl
jne 0x8cfef
incl (%rax)
movl %r12d, %edi
movq %r13, %rsi
callq 0x719c6
cmpl $0x1, %eax
je 0x8d02e
testl %eax, %eax
jne 0x8d1b0
movq %rdx, %rdi
callq 0x1e79d
movq -0x38(%rbp), %rdi
movq %rax, %rsi
shrq $0x30, %rsi
andq %r14, %rax
leaq -0x48(%rbp), %rbx
movq %rax, %rdx
movq %rbx, %rcx
callq 0x93a82
jmp 0x8d053
movq %rdx, %rdi
callq 0x1e7e4
movq -0x38(%rbp), %rdi
movq %rax, %rsi
shrq $0x30, %rsi
andq %r14, %rax
leaq -0x48(%rbp), %rbx
movq %rax, %rdx
movq %rbx, %rcx
callq 0x93f7e
movl %eax, -0x54(%rbp)
movq %rdx, -0x70(%rbp)
movq (%rbx), %rdi
movl %r12d, -0x64(%rbp)
leaq -0x48(%rbp), %rdx
movq %r15, %rsi
callq 0x9330e
testb %al, %al
je 0x8d09e
movq -0x48(%rbp), %rdi
leaq -0x80(%rbp), %rbx
movq %r15, %r12
movq %r15, %rsi
movq %rbx, %rdx
callq 0x172b6
movq (%rbx), %rdi
leaq -0x90(%rbp), %r15
movq %rax, %rsi
movq %r15, %rdx
callq 0x9339f
jmp 0x8d0b4
movq -0x48(%rbp), %rdi
movq %r15, %rsi
leaq -0x80(%rbp), %r15
movq %rsi, %r12
movq %r15, %rdx
callq 0x93459
movq %rax, %rbx
movq (%r15), %r15
pushq $0x1
popq %rdi
pushq $0x48
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d1d9
movl $0x1, (%rax)
movq %rbx, 0x40(%rax)
movl -0x54(%rbp), %ecx
movl %ecx, 0x30(%rax)
movq -0x70(%rbp), %rcx
movq %rcx, 0x38(%rax)
movl -0x50(%rbp), %ecx
movl %ecx, 0x20(%rax)
movq -0x60(%rbp), %rcx
movq %rcx, 0x28(%rax)
movl -0x64(%rbp), %ecx
movl %ecx, 0x10(%rax)
movq %r13, 0x18(%rax)
movq %r12, 0x8(%rax)
leaq 0x7cd48(%rip), %rsi     # 0x109e51
movq %rax, %rdi
callq 0x8d0c
movq %rdx, %rdi
callq 0xd491
movq %rax, %rbx
pushq $0x1
popq %rdi
pushq $0x10
popq %rsi
callq 0x50c0
testq %rax, %rax
je 0x8d1e2
movq %rax, %rdi
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
btsq $0x31, %rdi
leaq 0x7ccc0(%rip), %rsi     # 0x109e09
callq 0x8d0c
movq %rdx, %rdi
callq 0xd491
movq %rax, %r12
movq %rax, %r13
shrq $0x30, %r13
andq %r14, %r12
movq -0x78(%rbp), %rbx
movq %r13, %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x7cc91(%rip), %rsi     # 0x109e09
andq %r12, %r14
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x8d18c
incl (%r14)
movq -0x88(%rbp), %rdx
callq 0x1393b
movq %r15, (%rbx)
movl %r13d, %eax
movq %r12, %rdx
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x47656(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6
leaq 0x60015(%rip), %rsi     # 0xed1e3
jmp 0x8d216
leaq 0x5fe2c(%rip), %rsi     # 0xed003
jmp 0x8d216
leaq 0x60099(%rip), %rsi     # 0xed279
jmp 0x8d216
leaq 0x600c2(%rip), %rsi     # 0xed2ab
jmp 0x8d216
leaq 0x601d4(%rip), %rsi     # 0xed3c6
jmp 0x8d216
leaq 0x60287(%rip), %rsi     # 0xed482
jmp 0x8d216
leaq 0x602b0(%rip), %rsi     # 0xed4b4
jmp 0x8d216
leaq 0x601eb(%rip), %rsi     # 0xed3f8
jmp 0x8d216
leaq 0x60214(%rip), %rsi     # 0xed42a
pushq $0x2
popq %rdi
pushq $0x31
popq %rdx
callq 0x5060
callq 0x52ae
pushq $0x1
popq %rdi
callq 0x5130