// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataTransRepr_Makezy
static struct std_maybe_Maybe_1 mw_mirth_c99_C99DataTransRepr_Makezy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Data_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_maybe_Maybe_1 v6 = mw_mirth_data_Data_semizetransparentzy(in_zaMirth_1, in_Data_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_maybe_Maybe_1 branch_Maybe_8;
	switch ((v6).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v9 = mtp_std_maybe_Maybe_1_Some(v6);
			uint64_t v10;
			struct mirth_type_StackTypePart v11;
			struct mirth_tycon_Tycon v12;
			mtp_mirth_data_SemiTransparentData_SemiTransparentData(V_mirth_data_SemiTransparentData(v9), &v10, &v11, &v12);
			incref(MK_mirth_type_StackTypePart(v11));
			struct std_either_Either_2 v13 = mw_mirth_type_StackTypePart_typezfresource(v11);
			struct mirth_mirth_zaMirth* branch_zaMirth_14;
			struct mirth_c99_C99ReprType branch_C99ReprType_15;
			switch ((v13).tag) {
				case std_either_Either_2_Left: {
					VAL v16 = mtp_std_either_Either_2_Left(v13);
					struct mirth_mirth_zaMirth* v17;
					struct mirth_c99_C99ReprType v18 = mw_mirth_type_Type_c99zerepr(v5, V_mirth_type_Type(v16), &v17);
					branch_C99ReprType_15 = v18;
					branch_zaMirth_14 = v17;
				} break;
				case std_either_Either_2_Right: {
					VAL v19 = mtp_std_either_Either_2_Right(v13);
					struct mirth_mirth_zaMirth* v20;
					struct mirth_c99_C99ReprType v21 = mw_mirth_type_Resource_c99zerepr(v5, V_mirth_type_Type(v19), &v20);
					branch_C99ReprType_15 = v21;
					branch_zaMirth_14 = v20;
				} break;
				default: {
					do_panic(str_make("unexpected fallthrough in match\n", 32));
				}
			}
			struct mirth_mirth_zaMirth* v22;
			bool v23 = mw_mirth_data_Tag_onlyzetagzy(branch_zaMirth_14, v10, &v22);
			struct mirth_tycon_Tycon branch_Tycon_24;
			struct mirth_type_StackTypePart branch_StackTypePart_25;
			struct mirth_c99_C99ReprType branch_C99ReprType_26;
			uint64_t branch_Tag_27;
			struct mirth_mirth_zaMirth* branch_zaMirth_28;
			STR* branch_Str_29;
			if (v23) {
				struct mirth_mirth_zaMirth* v30;
				uint64_t v31 = mw_mirth_data_Tag_data(v22, v10, &v30);
				struct mirth_mirth_zaMirth* v32;
				STR* v33 = mw_mirth_data_Data_cname(v30, v31, &v32);
				branch_Str_29 = v33;
				branch_zaMirth_28 = v32;
				branch_Tag_27 = v10;
				branch_C99ReprType_26 = branch_C99ReprType_15;
				branch_StackTypePart_25 = v11;
				branch_Tycon_24 = v12;
			} else {
				struct mirth_mirth_zaMirth* v34;
				STR* v35 = mw_mirth_data_Tag_cname(v22, v10, &v34);
				branch_Str_29 = v35;
				branch_zaMirth_28 = v34;
				branch_Tag_27 = v10;
				branch_C99ReprType_26 = branch_C99ReprType_15;
				branch_StackTypePart_25 = v11;
				branch_Tycon_24 = v12;
			}
			struct mirth_c99_C99DataTransRepr* v36 = mtw_mirth_c99_C99DataTransRepr_C99DataTransRepr(branch_Tag_27, branch_StackTypePart_25, branch_Tycon_24, branch_C99ReprType_26, branch_Str_29);
			struct std_maybe_Maybe_1 v37 = mtw_std_maybe_Maybe_1_Some(MK_mirth_c99_C99DataTransRepr(v36));
			branch_Maybe_8 = v37;
			branch_zaMirth_7 = branch_zaMirth_28;
		} break;
		case std_maybe_Maybe_1_None: {
			struct std_maybe_Maybe_1 v38 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_8 = v38;
			branch_zaMirth_7 = v5;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x1ad2e0
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0x21c(%rbp)
testl %eax, %eax
je 0x22f9c8
jmp 0x22f512
movl -0x21c(%rbp), %eax
subl $0x1, %eax
jne 0x22f9fb
jmp 0x22f523
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x174a0
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x58(%rbp), %rdi
leaq -0x60(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x80(%rbp), %rcx
callq 0x231dc0
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x22f609
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x72dd0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x22f609
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x72dd0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x22f609
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x72dd0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x22f60b
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x1ae230
movl %eax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movl -0xd0(%rbp), %eax
movl %eax, -0x220(%rbp)
testl %eax, %eax
je 0x22f64a
jmp 0x22f636
movl -0x220(%rbp), %eax
subl $0x1, %eax
je 0x22f6f1
jmp 0x22f795
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x74840
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x228(%rbp)
movq -0xf8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
callq 0x6f100
movq -0x228(%rbp), %rdi
movl %eax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movl -0x120(%rbp), %esi
movq -0x118(%rbp), %rdx
leaq -0x100(%rbp), %rcx
callq 0x231fb0
movl %eax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0x22f7ae
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
callq 0x748f0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x230(%rbp)
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0x6f100
movq -0x230(%rbp), %rdi
movl %eax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movl -0x158(%rbp), %esi
movq -0x150(%rbp), %rdx
leaq -0x138(%rbp), %rcx
callq 0x232f20
movl %eax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0x22f7ae
leaq 0x1246e5(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0xd8(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x2301d0
andb $0x1, %al
movb %al, -0x161(%rbp)
testb $0x1, -0x161(%rbp)
je 0x22f88d
movq -0x160(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x1b8(%rbp), %rdx
callq 0x57890
movq %rax, -0x1c0(%rbp)
movq -0x1b8(%rbp), %rdi
movq -0x1c0(%rbp), %rsi
leaq -0x1c8(%rbp), %rdx
callq 0x230390
movq %rax, -0x1d0(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x1c8(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x188(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x170(%rbp)
jmp 0x22f91a
movq -0x160(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x1d8(%rbp), %rdx
callq 0x230550
movq %rax, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x188(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x1a0(%rbp), %rdi
movq -0x1b0(%rbp), %r9
movl -0x188(%rbp), %esi
movq -0x180(%rbp), %rdx
movl -0x178(%rbp), %ecx
movq -0x170(%rbp), %r8
leaq -0x198(%rbp), %rax
movq (%rax), %r10
movq %r10, (%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x8(%rsp)
callq 0x232f80
movq %rax, -0x1e8(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x208(%rbp)
leaq 0x1635f6(%rip), %rax    # 0x392f70
orq $0x1, %rax
movq %rax, -0x200(%rbp)
movq -0x208(%rbp), %rdi
movq -0x200(%rbp), %rsi
callq 0xca10
movl %eax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x22fa14
leaq -0x218(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x218(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x210(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x22fa14
leaq 0x12447f(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x48(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
nop