// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_elabzedefzebodyzx
static struct mirth_type_StackType mw_mirth_elab_elabzedefzebodyzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, struct mirth_type_StackType in_StackType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_arrow_Arrow* *out_zaAB_5) {
	struct mirth_arrow_Arrow* v7;
	uint64_t v8 = mw_mirth_elab_zaAB_abzetokenzo(in_zaAB_2, &v7);
	struct mirth_mirth_zaMirth* v9;
	struct std_maybe_Maybe_1 v10 = mw_mirth_token_Token_runzearrowzy(in_zaMirth_1, v8, &v9);
	int64_t v11 = (v10).tag;
	decref(MK_std_maybe_Maybe_1(v10));
	INT v12 = WRAP_I63(0LL);
	INT v13 = v12;
	INT v14 = i64_to_int(v11);
	bool v15 = int_eq(v14, v13);
	bool v16 = !v15;
	struct mirth_mirth_zaMirth* branch_zaMirth_17;
	struct mirth_arrow_Arrow* branch_zaAB_18;
	bool branch_Bool_19;
	if (v16) {
		bool v20 = true;
		branch_Bool_19 = v20;
		branch_zaAB_18 = v7;
		branch_zaMirth_17 = v9;
	} else {
		struct mirth_arrow_Arrow* v21;
		uint64_t v22 = mw_mirth_elab_zaAB_abzetokenzo(v7, &v21);
		struct mirth_mirth_zaMirth* v23;
		struct std_maybe_Maybe_1 v24 = mw_mirth_token_Token_lcurlyzy(v9, v22, &v23);
		int64_t v25 = (v24).tag;
		decref(MK_std_maybe_Maybe_1(v24));
		INT v26 = WRAP_I63(0LL);
		INT v27 = v26;
		INT v28 = i64_to_int(v25);
		bool v29 = int_eq(v28, v27);
		bool v30 = !v29;
		branch_Bool_19 = v30;
		branch_zaAB_18 = v21;
		branch_zaMirth_17 = v23;
	}
	struct mirth_type_StackType branch_StackType_31;
	struct mirth_mirth_zaMirth* branch_zaMirth_32;
	struct mirth_arrow_Arrow* branch_zaAB_33;
	if (branch_Bool_19) {
		incref(MK_mirth_type_StackType(in_StackType_3));
		struct mirth_arrow_Arrow* v34;
		uint64_t v35 = mw_mirth_elab_zaAB_abzetokenzo(branch_zaAB_18, &v34);
		struct mirth_mirth_zaMirth* v36;
		struct mirth_arrow_Arrow* v37;
		mw_mirth_elab_zaAB_elabzematchzeatzx(branch_zaMirth_17, v34, in_StackType_3, v35, &v36, &v37);
		branch_zaAB_33 = v37;
		branch_zaMirth_32 = v36;
		branch_StackType_31 = in_StackType_3;
	} else {
		struct mirth_mirth_zaMirth* v38;
		struct mirth_arrow_Arrow* v39;
		mw_mirth_elab_zaAB_elabzeatomszx(branch_zaMirth_17, branch_zaAB_18, &v38, &v39);
		branch_zaAB_33 = v39;
		branch_zaMirth_32 = v38;
		branch_StackType_31 = in_StackType_3;
	}
	*out_zaAB_5 = branch_zaAB_33;
	*out_zaMirth_4 = branch_zaMirth_32;
	return branch_StackType_31;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %r12
movq %r8, %r15
movq %rcx, -0x30(%rbp)
movl %edx, %ebx
movq %rsi, %rax
movq %rdi, %r13
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
leaq -0x58(%rbp), %rsi
movq %rax, %rdi
callq 0x432bd
leaq -0x50(%rbp), %rdx
movq %r13, %rdi
movq %rax, %rsi
callq 0x33f33
movl %eax, %r13d
movq %rdx, %rax
andq %r14, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x4309d
decl (%rax)
jne 0x4309d
movq %r13, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0xce229(%rip), %rsi     # 0x1112c1
callq 0xd13d
leaq 0x1(,%r13,2), %rdi
movl $0x1, %esi
callq 0xe83a
testl %eax, %eax
je 0x430c1
movq %r12, -0x48(%rbp)
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %r13
jmp 0x43132
movq -0x58(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x432bd
movq -0x50(%rbp), %rdi
leaq -0x38(%rbp), %rdx
movq %rax, %rsi
callq 0x301af
movl %eax, %r13d
movq %rdx, %rax
andq %r14, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x43110
decl (%rax)
jne 0x43110
movq %r13, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0xce1b6(%rip), %rsi     # 0x1112c1
callq 0xd13d
leaq 0x1(,%r13,2), %rdi
movl $0x1, %esi
callq 0xe83a
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %r13
testl %eax, %eax
je 0x431a9
movq %r12, -0x48(%rbp)
movq %r15, %r12
movq -0x30(%rbp), %rcx
andq %rcx, %r14
sete %al
testb $0x3, %cl
setne %cl
orb %al, %cl
jne 0x4314c
incl (%r14)
leaq -0x40(%rbp), %r14
movq %rsi, %rdi
movq %r14, %rsi
callq 0x432bd
movq (%r14), %rsi
leaq -0x60(%rbp), %r15
movq %r15, (%rsp)
leaq -0x38(%rbp), %r14
movq %r13, %rdi
movl %ebx, %edx
movq -0x30(%rbp), %r13
movq %r13, %rcx
movq %rax, %r8
movq %r14, %r9
callq 0x4a616
movq (%r15), %rax
movq (%r14), %rcx
movq %r12, %r15
movq -0x48(%rbp), %r12
movq %rax, (%r12)
movq %rcx, (%r15)
movl %ebx, %eax
movq %r13, %rdx
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x40(%rbp), %rdx
leaq -0x38(%rbp), %r14
movq %r13, %rdi
movq %rdx, %r13
movq %r14, %rcx
callq 0x4ae04
movq (%r14), %rax
movq (%r13), %rcx
movq -0x30(%rbp), %r13
jmp 0x4318e