// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzewhilezx_2_sp1
static void mw_mirth_elab_zaAB_abzewhilezx_2_sp1 (uint64_t in_Var_1, uint64_t in_Table_2, struct mirth_mirth_zaMirth* in_zaMirth_3, struct mirth_arrow_Arrow* in_zaAB_4, uint64_t *out_Table_5, struct mirth_mirth_zaMirth* *out_zaMirth_6, struct mirth_arrow_Arrow* *out_zaAB_7) {
	struct mirth_arrow_Arrow* v8;
	struct mirth_type_StackType v9 = mw_mirth_elab_zaAB_abzetypezo(in_zaAB_4, &v8);
	incref(MK_mirth_type_StackType(v9));
	incref(MK_mirth_type_StackType(v9));
	struct mirth_type_Type v10 = mw_mirth_type_Type_Bool();
	struct mirth_type_StackType v11 = mw_mirth_type_Tzm(v9, v10);
	struct mirth_type_ArrowType* v12 = mw_mirth_type_Tzezg(v9, v11);
	struct mirth_arrow_Arrow* v13;
	struct std_list_List_1 v14 = mw_mirth_elab_zaAB_abzectxzo(v8, &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);
	struct std_list_List_1 v23 = { .tag=std_list_List_1_Nil };
	enum mirth_prim_Prim v24 = mirth_prim_Prim_Dup;
	struct mirth_mirth_zaMirth* v25;
	struct mirth_arrow_Arrow* v26;
	mw_mirth_elab_zaAB_abzeprimzx(in_zaMirth_3, v22, v23, v24, &v25, &v26);
	struct mirth_mirth_zaMirth* v27;
	uint64_t v28 = mw_mirth_table_Table_numzebuffer(v25, in_Table_2, &v27);
	struct mirth_mirth_zaMirth* v29;
	struct mirth_arrow_Arrow* v30;
	mw_mirth_elab_zaAB_abzebufferzx(v27, v26, v28, &v29, &v30);
	struct std_list_List_1 v31 = { .tag=std_list_List_1_Nil };
	enum mirth_prim_Prim v32 = mirth_prim_Prim_U64Get;
	struct mirth_mirth_zaMirth* v33;
	struct mirth_arrow_Arrow* v34;
	mw_mirth_elab_zaAB_abzeprimzx(v29, v30, v31, v32, &v33, &v34);
	struct std_list_List_1 v35 = { .tag=std_list_List_1_Nil };
	enum mirth_prim_Prim v36 = mirth_prim_Prim_U64Le;
	struct mirth_mirth_zaMirth* v37;
	struct mirth_arrow_Arrow* v38;
	mw_mirth_elab_zaAB_abzeprimzx(v33, v34, v35, v36, &v37, &v38);
	struct mirth_mirth_zaMirth* v39;
	struct mirth_arrow_Arrow* v40;
	mw_mirth_elab_zaAB_abzeunifyzetypezx(v37, v38, v20, &v39, &v40);
	struct mirth_mirth_zaMirth* v41;
	uint64_t v42 = mw_mirth_arrow_Block_Newzx(v39, v40, &v41);
	incref(MK_mirth_type_StackType(v9));
	struct mirth_type_ArrowType* v43 = mw_mirth_type_Tzezg(v9, v9);
	struct mirth_arrow_Arrow* v44;
	struct std_list_List_1 v45 = mw_mirth_elab_zaAB_abzectxzo(v17, &v44);
	struct mirth_arrow_Arrow* v46;
	uint64_t v47 = mw_mirth_elab_zaAB_abzetokenzo(v44, &v46);
	struct mirth_arrow_Arrow* v48;
	struct mirth_arrow_Home v49 = mw_mirth_elab_zaAB_abzehomezo(v46, &v48);
	struct mirth_type_StackType v50;
	struct mirth_type_StackType v51;
	mtp_mirth_type_ArrowType_ArrowType(v43, &v50, &v51);
	incref(MK_mirth_type_StackType(v50));
	struct std_list_List_1 v52 = { .tag=std_list_List_1_Nil };
	struct mirth_arrow_Arrow* v53 = mtw_mirth_arrow_Arrow_Arrow(v49, v47, v47, v45, v50, v50, v52);
	struct std_list_List_1 v54 = { .tag=std_list_List_1_Nil };
	enum mirth_prim_Prim v55 = mirth_prim_Prim_Dup;
	struct mirth_mirth_zaMirth* v56;
	struct mirth_arrow_Arrow* v57;
	mw_mirth_elab_zaAB_abzeprimzx(v41, v53, v54, v55, &v56, &v57);
	struct mirth_arrow_Arrow* v58;
	struct mirth_type_StackType v59 = mw_mirth_elab_zaAB_abzetypezo(v57, &v58);
	struct mirth_mirth_zaMirth* v60;
	struct std_maybe_Maybe_1 v61 = mw_mirth_type_StackType_forcezeconszyzx(v56, v59, &v60);
	struct mirth_type_StackType v62 = mw_std_maybe_Maybe_1_ifzy_2_sp51(v61);
	struct mirth_mirth_zaMirth* v63;
	struct mirth_type_StackType v64 = mw_mirth_type_StackType_Freshzx(v60, &v63);
	struct mirth_type_ArrowType* v65 = mw_mirth_type_Tzezg(v62, v64);
	struct mirth_arrow_Arrow* v66;
	struct std_list_List_1 v67 = mw_mirth_elab_zaAB_abzectxzo(v58, &v66);
	struct mirth_arrow_Arrow* v68;
	uint64_t v69 = mw_mirth_elab_zaAB_abzetokenzo(v66, &v68);
	struct mirth_arrow_Arrow* v70;
	struct mirth_arrow_Home v71 = mw_mirth_elab_zaAB_abzehomezo(v68, &v70);
	struct mirth_type_StackType v72;
	struct mirth_type_StackType v73;
	mtp_mirth_type_ArrowType_ArrowType(v65, &v72, &v73);
	incref(MK_mirth_type_StackType(v72));
	struct std_list_List_1 v74 = { .tag=std_list_List_1_Nil };
	struct mirth_arrow_Arrow* v75 = mtw_mirth_arrow_Arrow_Arrow(v71, v69, v69, v67, v72, v72, v74);
	struct std_list_List_1 v76 = { .tag=std_list_List_1_Nil };
	struct mirth_arrow_Op v77 = mtw_mirth_arrow_Op_TableFromIndex(in_Table_2);
	struct mirth_mirth_zaMirth* v78;
	struct mirth_arrow_Arrow* v79;
	mw_mirth_elab_zaAB_abzeopzx(v63, v75, v76, v77, &v78, &v79);
	struct mirth_mirth_zaMirth* v80;
	struct mirth_arrow_Arrow* v81;
	mw_mirth_elab_zaAB_abzevarzx(v78, v79, in_Var_1, &v80, &v81);
	struct mirth_mirth_zaMirth* v82;
	struct mirth_arrow_Arrow* v83;
	mw_mirth_elab_zaAB_abzeunifyzetypezx(v80, v81, v73, &v82, &v83);
	struct mirth_mirth_zaMirth* v84;
	uint64_t v85 = mw_mirth_arrow_Block_Newzx(v82, v83, &v84);
	struct std_list_List_1 v86 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v87 = mw_std_list_List_1_cons(MK_mirth_arrow_Block(v85), v86);
	enum mirth_prim_Prim v88 = mirth_prim_Prim_Dip;
	struct mirth_mirth_zaMirth* v89;
	struct mirth_arrow_Arrow* v90;
	mw_mirth_elab_zaAB_abzeprimzx(v84, v70, v87, v88, &v89, &v90);
	uint64_t v91 = 1ULL;
	struct mirth_arrow_PushValue v92 = mtw_mirth_arrow_PushValue_U64(v91);
	struct mirth_mirth_zaMirth* v93;
	struct mirth_arrow_Arrow* v94;
	mw_mirth_elab_zaAB_abzepushzevaluezx(v89, v90, v92, &v93, &v94);
	struct std_list_List_1 v95 = { .tag=std_list_List_1_Nil };
	enum mirth_prim_Prim v96 = mirth_prim_Prim_U64Add;
	struct mirth_mirth_zaMirth* v97;
	struct mirth_arrow_Arrow* v98;
	mw_mirth_elab_zaAB_abzeprimzx(v93, v94, v95, v96, &v97, &v98);
	struct mirth_mirth_zaMirth* v99;
	struct mirth_arrow_Arrow* v100;
	mw_mirth_elab_zaAB_abzeunifyzetypezx(v97, v98, v51, &v99, &v100);
	struct mirth_mirth_zaMirth* v101;
	uint64_t v102 = mw_mirth_arrow_Block_Newzx(v99, v100, &v101);
	struct std_list_List_1 v103 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v104 = mw_std_list_List_1_cons(MK_mirth_arrow_Block(v102), v103);
	struct std_list_List_1 v105 = mw_std_list_List_1_cons(MK_mirth_arrow_Block(v42), v104);
	enum mirth_prim_Prim v106 = mirth_prim_Prim_While;
	struct mirth_mirth_zaMirth* v107;
	struct mirth_arrow_Arrow* v108;
	mw_mirth_elab_zaAB_abzeprimzx(v101, v48, v105, v106, &v107, &v108);
	*out_zaAB_7 = v108;
	*out_zaMirth_6 = v107;
	*out_Table_5 = in_Table_2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %r9, -0x70(%rbp)
movq %r8, -0x78(%rbp)
movq %rdx, -0x40(%rbp)
movq %rsi, -0x48(%rbp)
movq %rdi, -0x68(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
leaq -0xc8(%rbp), %rsi
movq %rcx, %rdi
callq 0x43394
movl %eax, %r14d
movq %rdx, %r15
movq %rdx, %rcx
andq %rbx, %rcx
setne %al
testb $0x3, %r15b
sete %dl
andb %al, %dl
movb %dl, -0x29(%rbp)
cmpb $0x1, %dl
jne 0x6dd4e
addl $0x2, (%rcx)
movq %rcx, -0x58(%rbp)
movl $0x4, %edi
callq 0x1eb4d
movq %rdx, %rcx
movl %r14d, %edi
movq %r15, %rsi
movl $0x2, %edx
callq 0x205af
movq %rdx, %rcx
movl %r14d, -0x30(%rbp)
movl %r14d, %edi
movq %r15, -0x38(%rbp)
movq %r15, %rsi
movl $0x5, %edx
callq 0x20b5f
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
leaq -0x1c0(%rbp), %r15
movq %r15, %rsi
callq 0x43317
movl %eax, -0x4c(%rbp)
movq %rdx, -0x60(%rbp)
movq (%r15), %rdi
leaq -0x1b8(%rbp), %r15
movq %r15, %rsi
callq 0x432bd
movq %rax, %r13
movq (%r15), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x4371e
movl %eax, %r15d
movq %rdx, %r12
leaq -0x1b0(%rbp), %r14
leaq -0x100(%rbp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3a145
movq 0x8(%r14), %rcx
movq %rcx, %rax
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x6de10
incl (%rax)
xorps %xmm0, %xmm0
movaps %xmm0, -0x200(%rbp)
subq $0x30, %rsp
movups %xmm0, 0x20(%rsp)
movups -0x1b0(%rbp), %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r15d, %edi
movq %r12, %rsi
movq %r13, %rdx
movq %r13, %rcx
movl -0x4c(%rbp), %r8d
movq -0x60(%rbp), %r9
callq 0x42f0b
addq $0x30, %rsp
movq %rax, %rbx
movl $0x1, %edi
callq 0x54fbd
leaq -0xa8(%rbp), %r15
leaq -0xf0(%rbp), %r12
movq -0x40(%rbp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
pushq %r15
pushq %r12
callq 0x43977
addq $0x10, %rsp
movq (%r15), %rbx
movq (%r12), %r14
leaq 0x10a8259(%rip), %rdi   # 0x11160f0
movq -0x48(%rbp), %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %rdi
callq 0x54353
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x3, %r8d
movq %rax, %r9
pushq %r15
pushq %r12
callq 0x43977
addq $0x10, %rsp
movq (%r15), %rbx
movq (%r12), %r14
movl $0x2c, %edi
callq 0x54fbd
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
pushq %r15
pushq %r12
callq 0x43977
addq $0x10, %rsp
movq (%r15), %rbx
movq (%r12), %r14
movl $0x30, %edi
callq 0x54fbd
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
pushq %r15
pushq %r12
callq 0x43977
addq $0x10, %rsp
movq (%r15), %rsi
movq (%r12), %rdi
movl -0x100(%rbp), %edx
movq -0xf8(%rbp), %rcx
leaq -0x1a0(%rbp), %rbx
leaq -0x198(%rbp), %r14
movq %rbx, %r8
movq %r14, %r9
callq 0x4379b
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x55941
movq %rax, -0x40(%rbp)
cmpb $0x0, -0x29(%rbp)
je 0x6df7b
movq -0x58(%rbp), %rax
incl (%rax)
movl -0x30(%rbp), %edi
movq -0x38(%rbp), %rcx
movq %rcx, %rsi
movl %edi, %edx
callq 0x20b5f
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
leaq -0x190(%rbp), %r15
movq %r15, %rsi
callq 0x43317
movl %eax, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq (%r15), %rdi
leaq -0x188(%rbp), %r12
movq %r12, %rsi
callq 0x432bd
movq %rax, %r15
movq (%r12), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x4371e
movl %eax, %r12d
movq %rdx, %r13
leaq -0xf0(%rbp), %r14
leaq -0xa8(%rbp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3a145
movq 0x8(%r14), %rcx
movq %rcx, %rax
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rax
sete %dl
testb $0x3, %cl
setne %cl
orb %dl, %cl
jne 0x6e013
incl (%rax)
xorps %xmm0, %xmm0
movaps %xmm0, -0x1f0(%rbp)
subq $0x30, %rsp
movups %xmm0, 0x20(%rsp)
movups -0xf0(%rbp), %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r12d, %edi
movq %r13, %rsi
movq %r15, %rdx
movq %r15, %rcx
movl -0x30(%rbp), %r8d
movq -0x38(%rbp), %r9
callq 0x42f0b
addq $0x30, %rsp
movq %rax, %rbx
movq -0xb8(%rbp), %r14
movl $0x1, %edi
callq 0x54fbd
leaq -0x88(%rbp), %r15
leaq -0xe0(%rbp), %r12
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
pushq %r15
pushq %r12
callq 0x43977
addq $0x10, %rsp
movq (%r15), %rdi
movq (%r12), %r14
leaq -0x180(%rbp), %rbx
movq %rbx, %rsi
callq 0x43394
leaq -0x178(%rbp), %r15
movq %r14, %rdi
movl %eax, %esi
movq %r15, %rcx
callq 0x3bdab
movl %eax, %edi
movq %rdx, %rsi
callq 0x5584c
movl %eax, %r14d
movq %rdx, %r12
movq (%r15), %rdi
leaq -0x98(%rbp), %rsi
callq 0x3d862
movl %r14d, %edi
movq %r12, %rsi
movl $0x4, %edx
movq %rax, %rcx
callq 0x20b5f
movq %rax, %r12
movq (%rbx), %rdi
leaq -0x170(%rbp), %rbx
movq %rbx, %rsi
callq 0x43317
movl %eax, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq (%rbx), %rdi
leaq -0x168(%rbp), %rbx
movq %rbx, %rsi
callq 0x432bd
movq %rax, %r15
movq (%rbx), %rdi
leaq -0x90(%rbp), %rsi
callq 0x4371e
movl %eax, %r13d
movq %rdx, %rbx
leaq -0xe0(%rbp), %r14
leaq -0x88(%rbp), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x3a145
movq 0x8(%r14), %rax
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdx
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x6e16c
incl (%rdx)
xorps %xmm0, %xmm0
movaps %xmm0, -0x1e0(%rbp)
subq $0x30, %rsp
movups %xmm0, 0x20(%rsp)
movups -0xe0(%rbp), %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r13d, %edi
movq %rbx, %rsi
movq %r15, %rdx
movq %r15, %rcx
movl -0x30(%rbp), %r8d
movq -0x38(%rbp), %r9
callq 0x42f0b
addq $0x30, %rsp
movq %rax, %rbx
movq -0x48(%rbp), %rdi
callq 0x6cab3
movq -0x98(%rbp), %rdi
leaq -0x158(%rbp), %r14
leaq -0x160(%rbp), %r15
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x15, %r8d
movq %rax, %r9
pushq %r14
pushq %r15
callq 0x43977
addq $0x10, %rsp
movq (%r15), %rdi
movq (%r14), %rsi
leaq -0x150(%rbp), %rbx
leaq -0x148(%rbp), %r14
movq -0x68(%rbp), %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x51994
movq (%rbx), %rdi
movq (%r14), %rsi
movl -0x88(%rbp), %edx
movq -0x80(%rbp), %rcx
leaq -0x140(%rbp), %rbx
leaq -0x138(%rbp), %r14
movq %rbx, %r8
movq %r14, %r9
callq 0x4379b
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x130(%rbp), %r14
movq %r14, %rdx
callq 0x55941
leaq 0xa4466(%rip), %rsi     # 0x1126b8
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd1ec
movq %rdx, %r15
movq (%r14), %r14
movq -0x90(%rbp), %r12
movl $0x5, %edi
callq 0x54fbd
leaq -0x1c8(%rbp), %rbx
leaq -0xd0(%rbp), %r10
movq %r14, %rdi
movq %r12, %rsi
movl $0x1, %edx
movq %r15, %rcx
xorl %r8d, %r8d
movq %rax, %r9
pushq %rbx
pushq %r10
movq %r10, %r15
callq 0x43977
addq $0x10, %rsp
movq (%rbx), %r14
movq (%r15), %r15
movl $0x1, %edi
callq 0x51896
leaq -0x128(%rbp), %r12
leaq -0x120(%rbp), %r13
movq %r15, %rdi
movq %r14, %rsi
movl $0x6, %edx
movq %rax, %rcx
movq %r12, %r8
movq %r13, %r9
callq 0x517ab
movq (%r12), %r14
movq (%r13), %r15
movl $0x34, %edi
callq 0x54fbd
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
pushq %rbx
leaq -0xd0(%rbp), %r13
pushq %r13
callq 0x43977
addq $0x10, %rsp
movq (%rbx), %rsi
movq %rbx, %r12
movq (%r13), %rdi
movl -0xa8(%rbp), %edx
movq -0xa0(%rbp), %rcx
leaq -0x118(%rbp), %r14
leaq -0x110(%rbp), %r15
movq %r14, %r8
movq %r15, %r9
callq 0x4379b
movq (%r14), %rdi
movq (%r15), %rsi
leaq -0x108(%rbp), %r14
movq %r14, %rdx
callq 0x55941
movq %rax, %rdi
leaq 0xa4357(%rip), %rbx     # 0x1126b8
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd1ec
movq %rdx, %rcx
movq -0x40(%rbp), %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0xd1ec
movq %rdx, %rbx
movq (%r14), %r14
movq -0xb0(%rbp), %r15
movl $0x8, %edi
callq 0x54fbd
movq %r14, %rdi
movq %r15, %rsi
movl $0x1, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
movq %rax, %r9
pushq %r12
pushq %r13
callq 0x43977
addq $0x10, %rsp
movq (%r12), %rax
movq (%r13), %rcx
movq 0x10(%rbp), %rdx
movq %rax, (%rdx)
movq -0x70(%rbp), %rax
movq %rcx, (%rax)
movq -0x78(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, (%rax)
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq