// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataSumTagRepr_unpackzestructzx
static void mw_mirth_c99_C99DataSumTagRepr_unpackzestructzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, STR* in_Str_3, struct mirth_c99_C99DataSumTagRepr in_C99DataSumTagRepr_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_c99_zaC99Branch* *out_zaC99Branch_6) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_8;
	switch ((in_C99DataSumTagRepr_4).tag) {
		case mirth_c99_C99DataSumTagRepr_Unit: {
			struct mirth_c99_C99DataUnitRepr* v9 = mtp_mirth_c99_C99DataSumTagRepr_Unit(in_C99DataSumTagRepr_4);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_c99_zaC99Branch* v11;
			mw_mirth_c99_C99DataUnitRepr_unpackzeunitzx(in_zaMirth_1, in_zaC99Branch_2, v9, &v10, &v11);
			decref(MKSTR(in_Str_3));
			branch_zaC99Branch_8 = v11;
			branch_zaMirth_7 = v10;
		} break;
		case mirth_c99_C99DataSumTagRepr_Struct: {
			struct mirth_c99_C99DataStructRepr* v12 = mtp_mirth_c99_C99DataSumTagRepr_Struct(in_C99DataSumTagRepr_4);
			struct mirth_mirth_zaMirth* v13;
			struct mirth_c99_zaC99Branch* v14;
			mw_mirth_c99_C99DataStructRepr_unpackzestructzx(in_zaMirth_1, in_zaC99Branch_2, in_Str_3, v12, &v13, &v14);
			branch_zaC99Branch_8 = v14;
			branch_zaMirth_7 = v13;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99Branch_6 = branch_zaC99Branch_8;
	*out_zaMirth_5 = branch_zaMirth_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq 0x10(%rbp), %rax
movl %ecx, -0x10(%rbp)
movq %r8, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0xc4(%rbp)
testl %eax, %eax
je 0x2b34c9
jmp 0x2b34b5
movl -0xc4(%rbp), %eax
subl $0x1, %eax
je 0x2b35f5
jmp 0x2b3646
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x2796e0
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq -0x50(%rbp), %rcx
leaq -0x58(%rbp), %r8
callq 0x2ac630
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0xddc57(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2b35e1
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0xddc2e(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x2b35e1
movq -0x28(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0xddbfc(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x88(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2b35e1
movq -0x28(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0xddbd1(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2b35df
movq -0x28(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0xddb97(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
callq 0x127c0
jmp 0x2b35e1
jmp 0x2b35e3
movq -0x58(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2b365f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x2797e0
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq -0xb0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
leaq -0xc0(%rbp), %r9
callq 0x2ae160
movq -0xc0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x2b365f
leaq 0xa0834(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
addq $0xd0, %rsp
popq %rbp
retq
nop