// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Branch_beginzebranchzesplitzx
static void mw_mirth_c99_zaC99Branch_beginzebranchzesplitzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackType in_StackType_2, struct mirth_c99_zaC99Branch* in_zaC99Branch_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99BranchSplit* *out_zaC99BranchSplit_5) {
	enum mirth_c99_C99APIArgMode v6 = mirth_c99_C99APIArgMode_Branch;
	struct mirth_c99_zaC99* r7 = in_zaC99Branch_3->mzac99;
	struct mirth_mirth_zaMirth* v8;
	struct mirth_c99_zaC99* v9;
	bool v10;
	struct std_list_List_1 v11 = mw_mirth_c99_zaC99_stackzetypezetozec99zeapizeparams(in_zaMirth_1, r7, in_StackType_2, v6, &v8, &v9, &v10);
	in_zaC99Branch_3->mzac99 = v9;
	incref(MK_std_list_List_1(v11));
	bool v12 = true;
	struct mirth_mirth_zaMirth* r13 = v8;
	struct mirth_c99_zaC99Branch* r14 = in_zaC99Branch_3;
	struct std_list_List_1 v15 = v11;
	bool v16 = v12;
	bool v17 = v12;
	while (v17) {
		struct mirth_mirth_zaMirth* r18 = r13;
		struct mirth_c99_zaC99Branch* r19 = r14;
		struct std_list_List_1 v20 = v15;
		bool v21 = v16;
		struct mirth_mirth_zaMirth* branch_zaMirth_22;
		struct mirth_c99_zaC99Branch* branch_zaC99Branch_23;
		struct std_list_List_1 branch_List_24;
		bool branch_Bool_25;
		switch ((v20).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v26;
				VAL v27 = mtp_std_list_List_1_Cons(v20, &v26);
				struct mirth_mirth_zaMirth* v28;
				struct mirth_c99_zaC99Branch* v29;
				mw_mirth_c99_C99APIArg_reservezeaszeiszx(r18, r19, V_mirth_c99_C99APIArg(v27), &v28, &v29);
				bool v30 = true;
				branch_Bool_25 = v30;
				branch_List_24 = v26;
				branch_zaC99Branch_23 = v29;
				branch_zaMirth_22 = v28;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v31 = { .tag=std_list_List_1_Nil };
				bool v32 = false;
				branch_Bool_25 = v32;
				branch_List_24 = v31;
				branch_zaC99Branch_23 = r19;
				branch_zaMirth_22 = r18;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v17 = branch_Bool_25;
		v16 = branch_Bool_25;
		v15 = branch_List_24;
		r14 = branch_zaC99Branch_23;
		r13 = branch_zaMirth_22;
	}
	decref(MK_std_list_List_1(v15));
	struct mirth_c99_zaC99* v33;
	struct mirth_c99_zaC99Stack v34;
	struct std_list_List_1 v35;
	bool v36;
	mtp_mirth_c99_zaC99Branch_zaC99Branch(r14, &v33, &v34, &v35, &v36);
	bool v37 = false;
	struct mirth_c99_zaC99BranchSplit* v38;
	mtw_mirth_c99_zaC99BranchSplit_zaC99BranchSplit(v33, v34, v35, v11, v36, v37, &v38);
	*out_zaC99BranchSplit_5 = v38;
	*out_zaMirth_4 = r13;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movl %esi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movl $0x3, -0x3c(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rdi
movq -0x48(%rbp), %rsi
movl -0x3c(%rbp), %r8d
movl -0x18(%rbp), %edx
movq -0x10(%rbp), %rcx
leaq -0x50(%rbp), %r9
leaq -0x58(%rbp), %r10
leaq -0x59(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x2803b0
movl %eax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movq -0x58(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x32b8c8
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x32b8c8
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x32b8c8
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0x12780
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x32b8ca
movb $0x1, -0xb1(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0xd0(%rbp)
movb -0xb1(%rbp), %al
andb $0x1, %al
movb %al, -0xd9(%rbp)
movb -0xb1(%rbp), %al
andb $0x1, %al
movb %al, -0xda(%rbp)
testb $0x1, -0xda(%rbp)
je 0x32baf7
movq -0xc0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movups -0xd8(%rbp), %xmm0
movaps %xmm0, -0x100(%rbp)
movb -0xd9(%rbp), %al
andb $0x1, %al
movb %al, -0x101(%rbp)
movl -0x100(%rbp), %eax
movl %eax, -0x20c(%rbp)
testl %eax, %eax
je 0x32ba23
jmp 0x32b974
movl -0x20c(%rbp), %eax
subl $0x1, %eax
jne 0x32ba85
jmp 0x32b985
movl -0x100(%rbp), %edi
movq -0xf8(%rbp), %rsi
leaq -0x140(%rbp), %rdx
callq 0x125e0
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0xe8(%rbp), %rdi
movq -0xf0(%rbp), %rsi
movq -0x150(%rbp), %rdx
leaq -0x158(%rbp), %rcx
leaq -0x160(%rbp), %r8
callq 0x331c30
movb $0x1, -0x161(%rbp)
movb -0x161(%rbp), %al
andb $0x1, %al
movb %al, -0x129(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x110(%rbp)
jmp 0x32ba9e
leaq -0x178(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x179(%rbp)
movb -0x179(%rbp), %al
andb $0x1, %al
movb %al, -0x129(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x110(%rbp)
jmp 0x32ba9e
leaq 0x283f5(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x129(%rbp), %al
andb $0x1, %al
movb %al, -0xda(%rbp)
movb -0x129(%rbp), %al
andb $0x1, %al
movb %al, -0xd9(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0x32b919
jmp 0x32baf9
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x12780
movq %rax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x188(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x32bc0c
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x12780
movq %rax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a0(%rbp), %rax
cmpq $0x0, %rax
je 0x32bc0c
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movq -0x1b0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x32bc0c
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1c0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x32bc0a
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
callq 0x127c0
jmp 0x32bc0c
jmp 0x32bc0e
movq -0xc8(%rbp), %rdi
leaq -0x1d8(%rbp), %rsi
leaq -0x1e8(%rbp), %rdx
leaq -0x1f8(%rbp), %rcx
leaq -0x1f9(%rbp), %r8
callq 0x2a9e60
movb $0x0, -0x1fa(%rbp)
movq -0x1d8(%rbp), %rdi
movb -0x1f9(%rbp), %r9b
movb -0x1fa(%rbp), %r10b
movl -0x1e8(%rbp), %esi
movq -0x1e0(%rbp), %rdx
movl -0x1f8(%rbp), %ecx
movq -0x1f0(%rbp), %r8
leaq -0x70(%rbp), %r11
leaq -0x208(%rbp), %rax
andb $0x1, %r9b
andb $0x1, %r10b
movq (%r11), %rbx
movq %rbx, (%rsp)
movq 0x8(%r11), %r11
movq %r11, 0x8(%rsp)
movzbl %r9b, %r9d
movzbl %r10b, %r10d
movl %r10d, 0x10(%rsp)
movq %rax, 0x18(%rsp)
callq 0x3327b0
movq -0x208(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movq -0xc0(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %rbp
retq
nopl (%rax)