// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_c99zeapizeenterzx
static void mw_mirth_c99_c99zeapizeenterzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99* in_zaC99_2, struct mirth_c99_C99API* in_C99API_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	incref(MK_mirth_c99_C99API(in_C99API_3));
	struct std_list_List_1 v6 = in_C99API_3->minzeparams;
	incref(MK_std_list_List_1(v6));
	decref(MK_mirth_c99_C99API(in_C99API_3));
	INT v7 = mw_std_list_List_1_len(v6);
	incref(MK_mirth_c99_C99API(in_C99API_3));
	struct std_list_List_1 v8 = in_C99API_3->moutzeparamsze1;
	incref(MK_std_list_List_1(v8));
	decref(MK_mirth_c99_C99API(in_C99API_3));
	INT v9 = mw_std_list_List_1_len(v8);
	INT v10 = v7;
	INT v11 = v9;
	INT v12 = int_add(v10, v11);
	INT v13 = v12;
	incref(MK_mirth_c99_C99API(in_C99API_3));
	struct std_list_List_1 v14 = in_C99API_3->moutzeparamsze2;
	incref(MK_std_list_List_1(v14));
	decref(MK_mirth_c99_C99API(in_C99API_3));
	INT v15 = mw_std_list_List_1_len(v14);
	INT v16 = v13;
	INT v17 = v15;
	INT v18 = int_add(v16, v17);
	INT v19 = v18;
	incref(MK_mirth_c99_C99API(in_C99API_3));
	struct std_maybe_Maybe_1 v20 = in_C99API_3->mreturnzeparam;
	incref(MK_std_maybe_Maybe_1(v20));
	decref(MK_mirth_c99_C99API(in_C99API_3));
	int64_t v21 = (v20).tag;
	decref(MK_std_maybe_Maybe_1(v20));
	INT v22 = WRAP_I63(0LL);
	INT v23 = v22;
	INT v24 = i64_to_int(v21);
	bool v25 = int_eq(v24, v23);
	bool v26 = !v25;
	INT branch_Nat_27;
	if (v26) {
		INT v28 = WRAP_I63(1LL);
		INT v29 = v19;
		INT v30 = v28;
		INT v31 = int_add(v29, v30);
		INT v32 = v31;
		branch_Nat_27 = v32;
	} else {
		branch_Nat_27 = v19;
	}
	INT v33 = WRAP_I63(1LL);
	INT v34 = branch_Nat_27;
	INT v35 = v33;
	INT v36 = int_add(v34, v35);
	INT v37 = v36;
	INT v38 = in_zaC99_2->mfreshzecounter;
	decref(MKNAT(v38));
	in_zaC99_2->mfreshzecounter = v37;
	bool v39 = true;
	struct std_list_List_1 v40 = { .tag=std_list_List_1_Nil };
	struct mirth_mirth_zaMirth* v41;
	struct mirth_c99_zaC99Branch* v42;
	mw_mirth_c99_zaC99_startzebranchzx(in_zaMirth_1, in_zaC99_2, v39, v40, &v41, &v42);
	incref(MK_mirth_c99_C99API(in_C99API_3));
	struct std_list_List_1 v43 = in_C99API_3->minzeparams;
	incref(MK_std_list_List_1(v43));
	decref(MK_mirth_c99_C99API(in_C99API_3));
	struct mirth_mirth_zaMirth* v44;
	struct mirth_c99_zaC99Branch* v45;
	mw_std_list_List_1_for_1_sp23(v41, v42, v43, &v44, &v45);
	decref(MK_mirth_c99_C99API(in_C99API_3));
	*out_zaC99Branch_5 = v45;
	*out_zaMirth_4 = v44;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, -0x58(%rbp)
movq %rcx, -0x60(%rbp)
movq %rdx, %r15
movq %rsi, -0x40(%rbp)
movq %rdi, -0x48(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rdx, %rax
andq %rcx, %rax
movq %rax, -0x30(%rbp)
setne %al
testb $0x3, %r15b
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
jne 0xaaea9
movq -0x30(%rbp), %rax
incl (%rax)
movl 0x18(%r15), %ebx
movq 0x20(%r15), %r14
movq %r14, %rax
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xaaec7
incl (%rax)
testb %r13b, %r13b
je 0xaaee3
movq -0x30(%rbp), %rax
decl (%rax)
jne 0xaaee3
movq %r15, %rdi
leaq 0x6c123(%rip), %rsi     # 0x117001
callq 0xd4e3
movl %ebx, %edi
movq %r14, %rsi
callq 0x11a85
movq %rax, %rbx
testb %r13b, %r13b
je 0xaaefb
movq -0x30(%rbp), %rax
incl (%rax)
movl 0x28(%r15), %r14d
movq 0x30(%r15), %r12
movq %r12, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xaaf23
incl (%rax)
testb %r13b, %r13b
je 0xaaf3f
movq -0x30(%rbp), %rax
decl (%rax)
jne 0xaaf3f
movq %r15, %rdi
leaq 0x6c0c7(%rip), %rsi     # 0x117001
callq 0xd4e3
movl %r14d, %edi
movq %r12, %rsi
callq 0x11a85
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe8e2
movq %rax, %rbx
testb %r13b, %r13b
je 0xaaf63
movq -0x30(%rbp), %rax
incl (%rax)
movl 0x48(%r15), %r14d
movq 0x50(%r15), %r12
movq %r12, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xaaf8b
incl (%rax)
testb %r13b, %r13b
je 0xaafa7
movq -0x30(%rbp), %rax
decl (%rax)
jne 0xaafa7
movq %r15, %rdi
leaq 0x6c05f(%rip), %rsi     # 0x117001
callq 0xd4e3
movl %r14d, %edi
movq %r12, %rsi
callq 0x11a85
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe8e2
movq %rax, %rbx
testb %r13b, %r13b
je 0xaafcb
movq -0x30(%rbp), %rax
incl (%rax)
movl 0x38(%r15), %r14d
movq 0x40(%r15), %r12
movq %r12, %rax
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xaaff3
incl (%rax)
testb %r13b, %r13b
je 0xab019
movq -0x30(%rbp), %rax
decl (%rax)
jne 0xab019
movq %r15, %rdi
leaq 0x6bff7(%rip), %rsi     # 0x117001
callq 0xd4e3
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq %r12, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xab047
decl (%rax)
jne 0xab047
movq %r14, %rdi
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0x6a27f(%rip), %rsi     # 0x1152c1
callq 0xd4e3
leaq 0x1(,%r14,2), %rdi
movl $0x1, %esi
callq 0xec04
testl %eax, %eax
je 0xab06d
movl $0x3, %esi
movq %rbx, %rdi
callq 0xe8e2
movq %rax, %rbx
movq -0x40(%rbp), %r14
movl $0x3, %esi
movq %rbx, %rdi
callq 0xe8e2
movq %rax, %rbx
movq 0x10(%r14), %rdi
movq %rdi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0xab0b3
decl (%rax)
jne 0xab0b3
leaq 0x6a063(%rip), %rsi     # 0x115111
callq 0xd4e3
movq %rbx, 0x10(%r14)
leaq -0x38(%rbp), %rax
movq %rax, (%rsp)
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0xb1133
testb %r13b, %r13b
je 0xab0e1
movq -0x30(%rbp), %rax
incl (%rax)
movl 0x18(%r15), %r12d
movq 0x20(%r15), %rbx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rdx
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0xab105
incl (%rdx)
movq -0x38(%rbp), %r14
testb %r13b, %r13b
je 0xab15d
movq -0x30(%rbp), %rax
decl (%rax)
jne 0xab125
movq %r15, %rdi
leaq 0x6bee1(%rip), %rsi     # 0x117001
callq 0xd4e3
leaq -0x38(%rbp), %r8
leaq -0x50(%rbp), %r9
movq -0x48(%rbp), %rdi
movq %r14, %rsi
movl %r12d, %edx
movq %rbx, %rcx
callq 0xb103d
testb %r13b, %r13b
je 0xab177
movq -0x30(%rbp), %rax
decl (%rax)
jne 0xab177
movq %r15, %rdi
leaq 0x6beab(%rip), %rsi     # 0x117001
callq 0xd4e3
jmp 0xab177
leaq -0x38(%rbp), %r8
leaq -0x50(%rbp), %r9
movq -0x48(%rbp), %rdi
movq %r14, %rsi
movl %r12d, %edx
movq %rbx, %rcx
callq 0xb103d
movq -0x50(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rax, (%rcx)
movq -0x38(%rbp), %rax
movq -0x60(%rbp), %rcx
movq %rax, (%rcx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq