// File: /workspace/github_c_makefile_star2_O2/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 $0x278, %rsp            # imm = 0x278
movq %r9, -0x70(%rbp)
movq %r8, -0x78(%rbp)
movq %rdx, -0x40(%rbp)
movq %rsi, -0x50(%rbp)
movq %rdi, -0x68(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
leaq -0xa8(%rbp), %rsi
movq %rcx, %rdi
callq 0x3f687
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 0x67f38
addl $0x2, (%rcx)
movq %rcx, -0x58(%rbp)
callq 0x57cd2
pushq $0x2
popq %rdx
movl %r14d, %edi
movq %r15, %rsi
movq %rax, %rcx
callq 0x1e310
movq %rdx, %rcx
pushq $0x5
popq %rdx
movl %r14d, -0x30(%rbp)
movl %r14d, %edi
movq %r15, -0x38(%rbp)
movq %r15, %rsi
callq 0x1e896
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
leaq -0x240(%rbp), %r15
movq %r15, %rsi
callq 0x3f60a
movl %eax, -0x44(%rbp)
movq %rdx, -0x60(%rbp)
movq (%r15), %rdi
leaq -0x238(%rbp), %r15
movq %r15, %rsi
callq 0x3f5b0
movq %rax, %r13
movq (%r15), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x3fa30
movl %eax, %r15d
movq %rdx, %r12
leaq -0x230(%rbp), %r14
leaq -0xd8(%rbp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x36e55
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 0x67ff1
incl (%rax)
xorps %xmm0, %xmm0
movaps %xmm0, -0x270(%rbp)
movups %xmm0, 0x20(%rsp)
movups -0x230(%rbp), %xmm0
movups %xmm0, 0x10(%rsp)
movups %xmm0, (%rsp)
movl %r15d, %edi
movq %r12, %rsi
movq %r13, %rdx
movq %r13, %rcx
movl -0x44(%rbp), %r8d
movq -0x60(%rbp), %r9
callq 0x3f209
leaq -0x218(%rbp), %r14
movq %r14, (%rsp)
pushq $0x1
popq %r8
leaq -0x220(%rbp), %rbx
movq -0x40(%rbp), %rdi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %rbx, %r9
callq 0x4d0c4
movq (%rbx), %rdi
leaq -0x210(%rbp), %rbx
movq -0x50(%rbp), %rsi
movq %rbx, %rdx
callq 0x60fc4
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x208(%rbp), %rbx
leaq -0x200(%rbp), %r14
movq %rax, %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x4fa37
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x1f0(%rbp), %r14
movq %r14, (%rsp)
pushq $0x2c
popq %r8
leaq -0x1f8(%rbp), %rbx
xorl %edx, %edx
xorl %ecx, %ecx
movq %rbx, %r9
callq 0x4d0c4
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x1e0(%rbp), %r14
movq %r14, (%rsp)
pushq $0x30
popq %r8
leaq -0x1e8(%rbp), %rbx
xorl %edx, %edx
xorl %ecx, %ecx
movq %rbx, %r9
callq 0x4d0c4
movq (%rbx), %rdi
movq (%r14), %rsi
movl -0xd8(%rbp), %edx
movq -0xd0(%rbp), %rcx
leaq -0x1d8(%rbp), %rbx
leaq -0x1d0(%rbp), %r14
movq %rbx, %r8
movq %r14, %r9
callq 0x3faad
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x98(%rbp), %rdx
callq 0x5114e
movq %rax, -0x40(%rbp)
cmpb $0x0, -0x29(%rbp)
je 0x68128
movq -0x58(%rbp), %rax
incl (%rax)
movl -0x30(%rbp), %edi
movq -0x38(%rbp), %rcx
movq %rcx, %rsi
movl %edi, %edx
callq 0x1e896
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
leaq -0x1c8(%rbp), %r15
movq %r15, %rsi
callq 0x3f60a
movl %eax, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq (%r15), %rdi
leaq -0x1c0(%rbp), %r12
movq %r12, %rsi
callq 0x3f5b0
movq %rax, %r15
movq (%r12), %rdi
leaq -0x90(%rbp), %rsi
callq 0x3fa30
movl %eax, %r12d
movq %rdx, %r13
leaq -0x1b8(%rbp), %r14
leaq -0xc8(%rbp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x36e55
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 0x681c0
incl (%rax)
xorps %xmm0, %xmm0
movaps %xmm0, -0x260(%rbp)
movups %xmm0, 0x20(%rsp)
movups -0x1b8(%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 0x3f209
movq -0x98(%rbp), %rdi
leaq -0x1a0(%rbp), %rbx
movq %rbx, (%rsp)
pushq $0x1
popq %r8
leaq -0x1a8(%rbp), %r14
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r9
callq 0x4d0c4
movq (%rbx), %rdi
leaq -0x198(%rbp), %rbx
movq %rbx, %rsi
callq 0x3f687
movq (%r14), %rdi
leaq -0x190(%rbp), %r14
movl %eax, %esi
movq %r14, %rcx
callq 0x3896d
movl %eax, %edi
movq %rdx, %rsi
callq 0x51072
movl %eax, %r15d
movq %rdx, %r12
movq (%r14), %rdi
leaq -0x88(%rbp), %rsi
callq 0x3a29b
pushq $0x4
popq %rdx
movl %r15d, %edi
movq %r12, %rsi
movq %rax, %rcx
callq 0x1e896
movq %rax, %r12
movq (%rbx), %rdi
leaq -0x188(%rbp), %rbx
movq %rbx, %rsi
callq 0x3f60a
movl %eax, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq (%rbx), %rdi
leaq -0x180(%rbp), %rbx
movq %rbx, %rsi
callq 0x3f5b0
movq %rax, %r15
movq (%rbx), %rdi
leaq -0x80(%rbp), %rsi
callq 0x3fa30
movl %eax, %r13d
movq %rdx, %rbx
leaq -0x178(%rbp), %r14
leaq -0xb8(%rbp), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x36e55
movq 0x8(%r14), %rax
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdx
sete %cl
testb $0x3, %al
setne %al
orb %cl, %al
jne 0x682f5
incl (%rdx)
xorps %xmm0, %xmm0
movaps %xmm0, -0x250(%rbp)
movups %xmm0, 0x20(%rsp)
movups -0x178(%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 0x3f209
movq %rax, %rbx
movq -0x50(%rbp), %r13
movq %r13, %rdi
callq 0x66d30
movq -0x88(%rbp), %rdi
leaq -0x160(%rbp), %r14
movq %r14, 0x8(%rsp)
leaq -0x168(%rbp), %r15
movq %r15, (%rsp)
pushq $0x15
popq %r8
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %rax, %r9
callq 0x3fc75
movq (%r15), %rdi
movq (%r14), %rsi
leaq -0x158(%rbp), %rbx
leaq -0x150(%rbp), %r14
movq -0x68(%rbp), %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x4d510
movq (%rbx), %rdi
movq (%r14), %rsi
movl -0xb8(%rbp), %edx
movq -0xb0(%rbp), %rcx
leaq -0x148(%rbp), %rbx
leaq -0x140(%rbp), %r14
movq %rbx, %r8
movq %r14, %r9
callq 0x3faad
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x138(%rbp), %rbx
movq %rbx, %rdx
callq 0x5114e
leaq 0xa12e0(%rip), %r14     # 0x1096b8
movq %rax, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xcf39
movq %rdx, %rcx
movq (%rbx), %rdi
movq -0x80(%rbp), %rsi
leaq -0x128(%rbp), %r12
movq %r12, (%rsp)
pushq $0x1
popq %rbx
pushq $0x5
popq %r8
leaq -0x130(%rbp), %r15
movl %ebx, %edx
movq %r15, %r9
callq 0x4d0c4
pushq $0x1
popq %rdi
callq 0x4d298
movq (%r15), %rdi
movq (%r12), %rsi
pushq $0x6
popq %rdx
leaq -0x120(%rbp), %r15
leaq -0x118(%rbp), %r12
movq %rax, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x4d1bb
movq (%r15), %rdi
movq (%r12), %rsi
leaq -0x108(%rbp), %r12
movq %r12, (%rsp)
pushq $0x34
popq %r8
leaq -0x110(%rbp), %r15
xorl %edx, %edx
xorl %ecx, %ecx
movq %r15, %r9
callq 0x4d0c4
movq (%r15), %rdi
movq (%r12), %rsi
movl -0xc8(%rbp), %edx
movq -0xc0(%rbp), %rcx
leaq -0x100(%rbp), %r15
leaq -0xf8(%rbp), %r12
movq %r15, %r8
movq %r12, %r9
callq 0x3faad
movq (%r15), %rdi
movq (%r12), %rsi
leaq -0xf0(%rbp), %r15
movq %r15, %rdx
callq 0x5114e
movq %rax, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xcf39
movq %rdx, %rcx
movq -0x40(%rbp), %rdi
movq %r14, %rsi
movl %ebx, %edx
callq 0xcf39
movq %rdx, %rcx
movq (%r15), %rdi
movq -0x90(%rbp), %rsi
leaq -0xe0(%rbp), %r15
movq %r15, (%rsp)
pushq $0x8
popq %r8
leaq -0xe8(%rbp), %r14
movl %ebx, %edx
movq %r14, %r9
callq 0x4d0c4
movq (%r15), %rax
movq 0x10(%rbp), %rcx
movq %rax, (%rcx)
movq (%r14), %rax
movq -0x70(%rbp), %rcx
movq %rax, (%rcx)
movq -0x78(%rbp), %rax
movq %r13, (%rax)
addq $0x278, %rsp            # imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq