// File: /workspace/github_c_makefile_star2_O2/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 $0x68, %rsp
movq %r8, -0x78(%rbp)
movq %rcx, -0x80(%rbp)
movq %rdx, %r15
movq %rsi, -0x70(%rbp)
movq %rdi, -0x68(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
movq %rdx, %r12
andq %rcx, %r12
setne %al
testb $0x3, %r15b
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
jne 0x9e9f4
incl (%r12)
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 0x9ea12
incl (%rax)
testb %r13b, %r13b
je 0x9ea2c
decl (%r12)
jne 0x9ea2c
movq %r15, %rdi
leaq 0x6b5da(%rip), %rsi     # 0x10a001
callq 0xce94
movl %ebx, %edi
movq %r14, %rsi
callq 0x10bca
movq %rax, %rbx
testb %r13b, %r13b
je 0x9ea42
incl (%r12)
movq %r12, -0x30(%rbp)
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 0x9ea6e
incl (%rax)
testb %r13b, %r13b
je 0x9ea8a
movq -0x30(%rbp), %rax
decl (%rax)
jne 0x9ea8a
movq %r15, %rdi
leaq 0x6b57c(%rip), %rsi     # 0x10a001
callq 0xce94
movl %r14d, %edi
movq %r12, %rsi
callq 0x10bca
movq %rbx, %rdi
movq %rax, %rsi
callq 0xdd03
movq %rax, %rbx
testb %r13b, %r13b
je 0x9eaae
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 0x9ead6
incl (%rax)
testb %r13b, %r13b
je 0x9eaf2
movq -0x30(%rbp), %rax
decl (%rax)
jne 0x9eaf2
movq %r15, %rdi
leaq 0x6b514(%rip), %rsi     # 0x10a001
callq 0xce94
movl %r14d, %edi
movq %r12, %rsi
callq 0x10bca
movq %rbx, %rdi
movq %rax, %rsi
callq 0xdd03
movq %rax, -0x38(%rbp)
testb %r13b, %r13b
je 0x9eb17
movq -0x30(%rbp), %rax
incl (%rax)
movl 0x38(%r15), %edi
movq 0x40(%r15), %rbx
movq %rbx, %r12
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r12
setne %al
testb $0x3, %bl
sete %r14b
andb %al, %r14b
cmpb $0x1, %r14b
jne 0x9eb46
incl (%r12)
testb %r13b, %r13b
je 0x9eb6a
movq -0x30(%rbp), %rax
decl (%rax)
jne 0x9eb6a
movq %rdi, -0x60(%rbp)
movq %r15, %rdi
leaq 0x6b4a0(%rip), %rsi     # 0x10a001
callq 0xce94
movq -0x60(%rbp), %rdi
testb %r14b, %r14b
je 0x9eb8e
decl (%r12)
jne 0x9eb8e
movq %rdi, %r14
shlq $0x30, %rdi
orq %rbx, %rdi
leaq 0x6973b(%rip), %rsi     # 0x1082c1
callq 0xce94
movq %r14, %rdi
callq 0xd86d
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0xd759
testb %al, %al
movq -0x70(%rbp), %r14
je 0x9ebb0
movq -0x30(%rbp), %r12
movq -0x38(%rbp), %rdi
jmp 0x9ebc3
pushq $0x3
popq %rsi
movq -0x38(%rbp), %rdi
callq 0xdd03
movq %rax, %rdi
movq -0x30(%rbp), %r12
pushq $0x3
popq %rsi
callq 0xdd03
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 0x9ec00
decl (%rax)
jne 0x9ec00
leaq 0x69516(%rip), %rsi     # 0x108111
callq 0xce94
movq %rbx, 0x10(%r14)
leaq -0x50(%rbp), %rax
movq %rax, (%rsp)
pushq $0x1
popq %rdx
leaq -0x58(%rbp), %r9
movq -0x68(%rbp), %rdi
movq %r14, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0xa4620
testb %r13b, %r13b
je 0x9ec2d
incl (%r12)
movl 0x18(%r15), %r14d
movq 0x20(%r15), %rbx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rdx
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x9ec51
incl (%rdx)
testb %r13b, %r13b
je 0x9ec9d
decl (%r12)
jne 0x9ec6b
movq %r15, %rdi
leaq 0x6b39b(%rip), %rsi     # 0x10a001
callq 0xce94
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x48(%rbp), %r8
leaq -0x40(%rbp), %r9
movl %r14d, %edx
movq %rbx, %rcx
callq 0xa4667
decl (%r12)
jne 0x9ecb8
movq %r15, %rdi
leaq 0x6b36b(%rip), %rsi     # 0x10a001
callq 0xce94
jmp 0x9ecb8
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x48(%rbp), %r8
leaq -0x40(%rbp), %r9
movl %r14d, %edx
movq %rbx, %rcx
callq 0xa4667
movq -0x40(%rbp), %rax
movq -0x78(%rbp), %rcx
movq %rax, (%rcx)
movq -0x48(%rbp), %rax
movq -0x80(%rbp), %rcx
movq %rax, (%rcx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq