// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataUnitRepr_unpackzeunitzx
static void mw_mirth_c99_C99DataUnitRepr_unpackzeunitzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_C99DataUnitRepr* in_C99DataUnitRepr_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	uint64_t v6 = in_C99DataUnitRepr_3->mtag;
	decref(MK_mirth_c99_C99DataUnitRepr(in_C99DataUnitRepr_3));
	struct mirth_mirth_zaMirth* v7;
	struct std_list_List_1 v8 = mw_mirth_data_Tag_inputs(in_zaMirth_1, v6, &v7);
	bool v9 = true;
	struct mirth_c99_zaC99Branch* r10 = in_zaC99Branch_2;
	struct mirth_mirth_zaMirth* r11 = v7;
	struct std_list_List_1 v12 = v8;
	bool v13 = v9;
	bool v14 = v9;
	while (v14) {
		struct mirth_c99_zaC99Branch* r15 = r10;
		struct mirth_mirth_zaMirth* r16 = r11;
		struct std_list_List_1 v17 = v12;
		bool v18 = v13;
		struct mirth_c99_zaC99Branch* branch_zaC99Branch_19;
		struct mirth_mirth_zaMirth* branch_zaMirth_20;
		struct std_list_List_1 branch_List_21;
		bool branch_Bool_22;
		switch ((v17).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v23;
				VAL v24 = mtp_std_list_List_1_Cons(v17, &v23);
				STR* v25;
				STRLIT(v25, "0", 1);
				struct mirth_mirth_zaMirth* v26;
				struct mirth_c99_zaC99Branch* v27;
				mw_mirth_c99_pushzestackzepartzenamezx(r16, r15, v25, V_mirth_type_StackTypePart(v24), &v26, &v27);
				bool v28 = true;
				branch_Bool_22 = v28;
				branch_List_21 = v23;
				branch_zaMirth_20 = v26;
				branch_zaC99Branch_19 = v27;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v29 = { .tag=std_list_List_1_Nil };
				bool v30 = false;
				branch_Bool_22 = v30;
				branch_List_21 = v29;
				branch_zaMirth_20 = r16;
				branch_zaC99Branch_19 = r15;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v14 = branch_Bool_22;
		v13 = branch_Bool_22;
		v12 = branch_List_21;
		r11 = branch_zaMirth_20;
		r10 = branch_zaC99Branch_19;
	}
	decref(MK_std_list_List_1(v12));
	*out_zaC99Branch_5 = r10;
	*out_zaMirth_4 = r11;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0xe6876(%rip), %rax     # 0x392ee0
orq $0x1, %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ac72b
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0xe684d(%rip), %rax     # 0x392ee0
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x50(%rbp), %rax
cmpq $0x0, %rax
je 0x2ac72b
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
leaq 0xe6822(%rip), %rax     # 0x392ee0
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ac72b
movq -0x18(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0xe67fd(%rip), %rax     # 0x392ee0
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2ac729
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq 0xe67cc(%rip), %rax     # 0x392ee0
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x127c0
jmp 0x2ac72b
jmp 0x2ac72d
movq -0x8(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x1add30
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movb $0x1, -0x99(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xb8(%rbp)
movb -0x99(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movb -0x99(%rbp), %al
andb $0x1, %al
movb %al, -0xc2(%rbp)
testb $0x1, -0xc2(%rbp)
je 0x2acaed
movq -0xa8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xd8(%rbp)
movups -0xc0(%rbp), %xmm0
movaps %xmm0, -0xf0(%rbp)
movb -0xc1(%rbp), %al
andb $0x1, %al
movb %al, -0xf1(%rbp)
movl -0xf0(%rbp), %eax
movl %eax, -0x21c(%rbp)
testl %eax, %eax
je 0x2aca19
jmp 0x2ac801
movl -0x21c(%rbp), %eax
subl $0x1, %eax
jne 0x2aca7b
jmp 0x2ac812
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x125e0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
cmpq $0x0, 0x10eb86f(%rip)   # 0x13980b0
jne 0x2ac85b
leaq 0xc16d2(%rip), %rdi     # 0x36df1c
movl $0x1, %esi
callq 0xb6c0
movq %rax, 0x10eb855(%rip)   # 0x13980b0
jmp 0x2ac85d
movq 0x10eb84c(%rip), %rax   # 0x13980b0
movq %rax, -0x158(%rbp)
leaq 0xe48e6(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2ac932
movq 0x10eb817(%rip), %rax   # 0x13980b0
movq %rax, -0x168(%rbp)
leaq 0xe48b1(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x168(%rbp), %rax
cmpq $0x0, %rax
je 0x2ac932
movq 0x10eb7e0(%rip), %rax   # 0x13980b0
movq %rax, -0x178(%rbp)
leaq 0xe487a(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x170(%rbp)
movq -0x178(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2ac932
movq 0x10eb7af(%rip), %rax   # 0x13980b0
movq %rax, -0x188(%rbp)
leaq 0xe4849(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x180(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x188(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2ac934
movq 0x10eb775(%rip), %rax   # 0x13980b0
movq %rax, -0x148(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x230(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x228(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x73d70
movq -0x238(%rbp), %rdi
movq -0x230(%rbp), %rsi
movl %eax, %ecx
movq %rdx, %rax
movq -0x228(%rbp), %rdx
movl %ecx, -0x1a8(%rbp)
movq %rax, -0x1a0(%rbp)
movl -0x1a8(%rbp), %ecx
movq -0x1a0(%rbp), %r8
leaq -0x190(%rbp), %r9
leaq -0x198(%rbp), %rax
movq %rax, (%rsp)
callq 0x2acc30
movb $0x1, -0x1a9(%rbp)
movb -0x1a9(%rbp), %al
andb $0x1, %al
movb %al, -0x119(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x2aca94
leaq -0x1c0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x1c1(%rbp)
movb -0x1c1(%rbp), %al
andb $0x1, %al
movb %al, -0x119(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x1b8(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x2aca94
leaq 0xa73ff(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x119(%rbp), %al
andb $0x1, %al
movb %al, -0xc2(%rbp)
movb -0x119(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xa8(%rbp)
jmp 0x2ac7a6
jmp 0x2acaef
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2acc02
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1e8(%rbp)
movq %rdx, -0x1e0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1e8(%rbp), %rax
cmpq $0x0, %rax
je 0x2acc02
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2acc02
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2acc00
movl -0xc0(%rbp), %edi
movq -0xb8(%rbp), %rsi
callq 0x12780
movq %rax, -0x218(%rbp)
movq %rdx, -0x210(%rbp)
movq -0x218(%rbp), %rdi
movq -0x210(%rbp), %rsi
callq 0x127c0
jmp 0x2acc02
jmp 0x2acc04
movq -0xa8(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0xb0(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
nopl (%rax)