// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_elabzeargszx
static struct std_list_List_1 mw_mirth_elab_zaAB_elabzeargszx (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* v6;
	uint64_t v7 = mw_mirth_elab_zaAB_abzetokenzo(in_zaAB_2, &v6);
	struct mirth_mirth_zaMirth* v8;
	struct std_list_List_1 v9 = mw_mirth_token_Token_args(in_zaMirth_1, v7, &v8);
	struct std_list_List_1 v10 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v11;
	mw_std_list_List_1_buildzx(v10, &v11);
	bool v12 = true;
	struct mirth_mirth_zaMirth* r13 = v8;
	struct mirth_arrow_Arrow* r14 = v6;
	struct std_list_List_1 r15 = v11;
	struct std_list_List_1 v16 = v9;
	bool v17 = v12;
	bool v18 = v12;
	while (v18) {
		struct mirth_mirth_zaMirth* r19 = r13;
		struct mirth_arrow_Arrow* r20 = r14;
		struct std_list_List_1 r21 = r15;
		struct std_list_List_1 v22 = v16;
		bool v23 = v17;
		struct mirth_mirth_zaMirth* branch_zaMirth_24;
		struct mirth_arrow_Arrow* branch_zaAB_25;
		struct std_list_List_1 branch_zaLister_26;
		struct std_list_List_1 branch_List_27;
		bool branch_Bool_28;
		switch ((v22).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v29;
				VAL v30 = mtp_std_list_List_1_Cons(v22, &v29);
				struct mirth_mirth_zaMirth* v31;
				struct mirth_arrow_Arrow* v32;
				uint64_t v33 = mw_mirth_elab_zaAB_elabzeblockzeatzx(r19, r20, V_mirth_token_Token(v30), &v31, &v32);
				struct std_list_List_1 v34;
				mw_std_list_zaLister_1_pushzx(MK_mirth_arrow_Block(v33), r21, &v34);
				bool v35 = true;
				branch_Bool_28 = v35;
				branch_List_27 = v29;
				branch_zaLister_26 = v34;
				branch_zaAB_25 = v32;
				branch_zaMirth_24 = v31;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v36 = { .tag=std_list_List_1_Nil };
				bool v37 = false;
				branch_Bool_28 = v37;
				branch_List_27 = v36;
				branch_zaLister_26 = r21;
				branch_zaAB_25 = r20;
				branch_zaMirth_24 = r19;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v18 = branch_Bool_28;
		v17 = branch_Bool_28;
		v16 = branch_List_27;
		r15 = branch_zaLister_26;
		r14 = branch_zaAB_25;
		r13 = branch_zaMirth_24;
	}
	decref(MK_std_list_List_1(v16));
	struct std_list_List_1 v38 = mw_std_list_zaLister_1_donezx(r15);
	*out_zaAB_4 = r14;
	*out_zaMirth_3 = r13;
	return v38;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq %rdi, %rbx
leaq -0x78(%rbp), %r13
movq %rsi, %rdi
movq %r13, %rsi
callq 0x432bd
leaq -0x70(%rbp), %r14
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x3204c
movl %eax, %ebx
movq %rdx, %r15
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd01b
movl %eax, %r12d
movq %rdx, %rcx
movq (%r14), %r14
movq (%r13), %r13
cmpl $0x1, %ebx
jne 0x542a3
movq %r15, %rdi
leaq -0x68(%rbp), %rsi
movq %rcx, %rbx
callq 0xd0aa
movq %r14, %rdi
movq %r13, %rsi
movq %rax, %rdx
leaq -0x48(%rbp), %rcx
leaq -0x40(%rbp), %r8
callq 0x5444c
movq %rax, %rdi
leaq 0xbe43d(%rip), %rsi     # 0x1126b8
movl %r12d, %edx
movq %rbx, %rcx
leaq -0x58(%rbp), %r8
callq 0x949e
movl -0x68(%rbp), %ebx
movq -0x60(%rbp), %r15
movl -0x58(%rbp), %r12d
movq -0x50(%rbp), %rcx
movq -0x40(%rbp), %r13
movq -0x48(%rbp), %r14
jmp 0x54247
testl %ebx, %ebx
jne 0x542d0
xorl %edi, %edi
xorl %esi, %esi
movl %r12d, %edx
callq 0xd01b
movq -0x30(%rbp), %rcx
movq %r13, (%rcx)
movq -0x38(%rbp), %rcx
movq %r14, (%rcx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x8c3e4(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x8c3e9(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302