// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzeifzx_2_sp3
static void mw_mirth_elab_zaAB_abzeifzx_2_sp3 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_arrow_Arrow* *out_zaAB_4) {
	struct mirth_arrow_Arrow* v5;
	struct mirth_type_StackType v6 = mw_mirth_elab_zaAB_abzetypezo(in_zaAB_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	struct std_maybe_Maybe_1 v8 = mw_mirth_type_StackType_forcezeconszyzx(in_zaMirth_1, v6, &v7);
	struct mirth_type_StackType v9 = mw_std_maybe_Maybe_1_ifzy_2_sp51(v8);
	struct mirth_mirth_zaMirth* v10;
	struct mirth_type_StackType v11 = mw_mirth_type_StackType_Freshzx(v7, &v10);
	struct mirth_type_ArrowType* v12 = mw_mirth_type_Tzezg(v9, v11);
	incref(MK_mirth_type_ArrowType(v12));
	struct mirth_arrow_Arrow* v13;
	struct std_list_List_1 v14 = mw_mirth_elab_zaAB_abzectxzo(v5, &v13);
	struct mirth_arrow_Arrow* v15;
	uint64_t v16 = mw_mirth_elab_zaAB_abzetokenzo(v13, &v15);
	struct mirth_arrow_Arrow* v17;
	struct mirth_arrow_Home v18 = mw_mirth_elab_zaAB_abzehomezo(v15, &v17);
	struct mirth_type_StackType v19;
	struct mirth_type_StackType v20;
	mtp_mirth_type_ArrowType_ArrowType(v12, &v19, &v20);
	incref(MK_mirth_type_StackType(v19));
	struct std_list_List_1 v21 = { .tag=std_list_List_1_Nil };
	struct mirth_arrow_Arrow* v22 = mtw_mirth_arrow_Arrow_Arrow(v18, v16, v16, v14, v19, v19, v21);
	uint64_t v23 = 1ULL;
	struct mirth_arrow_PushValue v24 = mtw_mirth_arrow_PushValue_U64(v23);
	struct mirth_mirth_zaMirth* v25;
	struct mirth_arrow_Arrow* v26;
	mw_mirth_elab_zaAB_abzepushzevaluezx(v10, v22, v24, &v25, &v26);
	struct std_list_List_1 v27 = { .tag=std_list_List_1_Nil };
	enum mirth_prim_Prim v28 = mirth_prim_Prim_U64Add;
	struct mirth_mirth_zaMirth* v29;
	struct mirth_arrow_Arrow* v30;
	mw_mirth_elab_zaAB_abzeprimzx(v25, v26, v27, v28, &v29, &v30);
	struct mirth_mirth_zaMirth* v31;
	struct mirth_arrow_Arrow* v32;
	mw_mirth_elab_zaAB_abzeunifyzetypezx(v29, v30, v20, &v31, &v32);
	struct mirth_mirth_zaMirth* v33;
	uint64_t v34 = mw_mirth_arrow_Block_Newzx(v31, v32, &v33);
	struct mirth_arrow_Arrow* v35;
	struct std_list_List_1 v36 = mw_mirth_elab_zaAB_abzectxzo(v17, &v35);
	struct mirth_arrow_Arrow* v37;
	uint64_t v38 = mw_mirth_elab_zaAB_abzetokenzo(v35, &v37);
	struct mirth_arrow_Arrow* v39;
	struct mirth_arrow_Home v40 = mw_mirth_elab_zaAB_abzehomezo(v37, &v39);
	struct mirth_type_StackType v41;
	struct mirth_type_StackType v42;
	mtp_mirth_type_ArrowType_ArrowType(v12, &v41, &v42);
	incref(MK_mirth_type_StackType(v41));
	struct std_list_List_1 v43 = { .tag=std_list_List_1_Nil };
	struct mirth_arrow_Arrow* v44 = mtw_mirth_arrow_Arrow_Arrow(v40, v38, v38, v36, v41, v41, v43);
	struct std_list_List_1 v45 = { .tag=std_list_List_1_Nil };
	enum mirth_prim_Prim v46 = mirth_prim_Prim_Drop;
	struct mirth_mirth_zaMirth* v47;
	struct mirth_arrow_Arrow* v48;
	mw_mirth_elab_zaAB_abzeprimzx(v33, v44, v45, v46, &v47, &v48);
	uint64_t v49 = 0ULL;
	struct mirth_arrow_PushValue v50 = mtw_mirth_arrow_PushValue_U64(v49);
	struct mirth_mirth_zaMirth* v51;
	struct mirth_arrow_Arrow* v52;
	mw_mirth_elab_zaAB_abzepushzevaluezx(v47, v48, v50, &v51, &v52);
	struct mirth_mirth_zaMirth* v53;
	struct mirth_arrow_Arrow* v54;
	mw_mirth_elab_zaAB_abzeunifyzetypezx(v51, v52, v42, &v53, &v54);
	struct mirth_mirth_zaMirth* v55;
	uint64_t v56 = mw_mirth_arrow_Block_Newzx(v53, v54, &v55);
	struct std_list_List_1 v57 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v58 = mw_std_list_List_1_cons(MK_mirth_arrow_Block(v56), v57);
	struct std_list_List_1 v59 = mw_std_list_List_1_cons(MK_mirth_arrow_Block(v34), v58);
	enum mirth_prim_Prim v60 = mirth_prim_Prim_If;
	struct mirth_mirth_zaMirth* v61;
	struct mirth_arrow_Arrow* v62;
	mw_mirth_elab_zaAB_abzeprimzx(v55, v39, v59, v60, &v61, &v62);
	*out_zaAB_4 = v62;
	*out_zaMirth_3 = v61;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rcx, -0x48(%rbp)
movq %rdx, -0x50(%rbp)
movq %rsi, %rax
movq %rdi, %rbx
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
leaq -0x88(%rbp), %rsi
movq %rax, %rdi
callq 0x447fe
leaq -0x130(%rbp), %r14
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rcx
callq 0x3d0f2
movl %eax, %edi
movq %rdx, %rsi
callq 0x5708e
movl %eax, %ebx
movq %rdx, %r15
movq (%r14), %rdi
leaq -0x80(%rbp), %rsi
callq 0x3eba9
movl %ebx, %edi
movq %r15, %rsi
movl $0x4, %edx
movq %rax, %rcx
callq 0x210ca
movq %rax, %rsi
andq %r12, %rsi
sete %cl
movq %rax, -0x38(%rbp)
testb $0x3, %al
setne %dl
orb %cl, %dl
jne 0x6f2db
incl (%rsi)
movq -0x88(%rbp), %rdi
leaq -0x128(%rbp), %rbx
movq %rbx, %rsi
callq 0x44781
movl %eax, -0x30(%rbp)
movq %rdx, %r13
movq (%rbx), %rdi
leaq -0x120(%rbp), %r14
movq %r14, %rsi
callq 0x44725
movq %rax, %rbx
movq (%r14), %rdi
leaq -0x78(%rbp), %rsi
callq 0x44bd2
movl %eax, %r14d
movq %rdx, %r15
leaq -0x118(%rbp), %r12
leaq -0xb0(%rbp), %rdx
movq -0x38(%rbp), %rdi
movq %r12, %rsi
callq 0x3b486
movq 0x8(%r12), %rcx
movq %rcx, %rax
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x6f35c
incl (%rax)
xorps %xmm0, %xmm0
movaps %xmm0, -0x160(%rbp)
movups %xmm0, 0x20(%rsp)
movups -0x118(%rbp), %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r14d, %edi
movq %r15, %rsi
movq %rbx, %rdx
movq %rbx, %rcx
movl -0x30(%rbp), %r8d
movq %r13, %r9
callq 0x4434e
movq %rax, %rbx
movl $0x1, %edi
callq 0x530ac
movq -0x80(%rbp), %rdi
leaq -0x108(%rbp), %r14
leaq -0x100(%rbp), %r15
movq %rbx, %rsi
movl $0x6, %edx
movq %rax, %rcx
movq %r14, %r8
movq %r15, %r9
callq 0x52fc1
movq (%r14), %rbx
movq (%r15), %r14
movl $0x34, %edi
callq 0x567d6
leaq -0x60(%rbp), %r15
movq %r15, 0x8(%rsp)
leaq -0xa0(%rbp), %r12
movq %r12, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
callq 0x44e2b
movq (%r15), %rsi
movq (%r12), %rdi
movl -0xb0(%rbp), %edx
movq -0xa8(%rbp), %rcx
leaq -0xf8(%rbp), %rbx
leaq -0xf0(%rbp), %r14
movq %rbx, %r8
movq %r14, %r9
callq 0x44c4f
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x70(%rbp), %rdx
callq 0x57183
movq %rax, -0x30(%rbp)
movq -0x78(%rbp), %rdi
leaq -0xe8(%rbp), %r14
movq %r14, %rsi
callq 0x44781
movl %eax, %r13d
movq %rdx, -0x40(%rbp)
movq (%r14), %rdi
leaq -0xe0(%rbp), %r15
movq %r15, %rsi
callq 0x44725
movq %rax, %r14
movq (%r15), %rdi
leaq -0x68(%rbp), %rsi
callq 0x44bd2
movl %eax, %r15d
movq %rdx, %r12
leaq -0xa0(%rbp), %rbx
leaq -0x60(%rbp), %rdx
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x3b486
movq 0x8(%rbx), %rax
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdx
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x6f4b8
incl (%rdx)
xorps %xmm0, %xmm0
movaps %xmm0, -0x150(%rbp)
movups %xmm0, 0x20(%rsp)
movups -0xa0(%rbp), %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r15d, %edi
movq %r12, %rsi
movq %r14, %rdx
movq %r14, %rcx
movl %r13d, %r8d
movq -0x40(%rbp), %r9
callq 0x4434e
movq %rax, %rbx
movq -0x70(%rbp), %r14
movl $0x2, %edi
callq 0x567d6
leaq -0x90(%rbp), %rcx
movq %rcx, 0x8(%rsp)
movq %rcx, %r15
leaq -0x138(%rbp), %r13
movq %r13, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
callq 0x44e2b
movq (%r15), %rbx
movq (%r13), %r14
xorl %edi, %edi
callq 0x530ac
leaq -0xd8(%rbp), %r15
leaq -0xd0(%rbp), %r12
movq %r14, %rdi
movq %rbx, %rsi
movl $0x6, %edx
movq %rax, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x52fc1
movq (%r15), %rdi
movq (%r12), %rsi
movl -0x60(%rbp), %edx
movq -0x58(%rbp), %rcx
leaq -0xc8(%rbp), %rbx
leaq -0xc0(%rbp), %r14
movq %rbx, %r8
movq %r14, %r9
callq 0x44c4f
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0xb8(%rbp), %rbx
movq %rbx, %rdx
callq 0x57183
leaq 0xa7111(%rip), %r14     # 0x1166b8
movq %rax, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd592
movq %rdx, %rcx
movq -0x30(%rbp), %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0xd592
movq %rdx, %r14
movq (%rbx), %rbx
movq -0x68(%rbp), %r15
movl $0x7, %edi
callq 0x567d6
leaq -0x90(%rbp), %r12
movq %r12, 0x8(%rsp)
movq %r13, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %edx
movq %r14, %rcx
xorl %r8d, %r8d
movq %rax, %r9
callq 0x44e2b
movq (%r12), %rax
movq (%r13), %rcx
movq -0x48(%rbp), %rdx
movq %rax, (%rdx)
movq -0x50(%rbp), %rax
movq %rcx, (%rax)
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq