// File: /workspace/github_c_makefile_star2_O0/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
subq $0x200, %rsp            # imm = 0x200
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq -0x20(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xe0b80
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0xa5a80
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
leaq -0x78(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x79(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0xa8(%rbp)
movb -0x79(%rbp), %al
andb $0x1, %al
movb %al, -0xb1(%rbp)
movb -0x79(%rbp), %al
andb $0x1, %al
movb %al, -0xb2(%rbp)
testb $0x1, -0xb2(%rbp)
je 0x1152ad
movq -0x88(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xc8(%rbp)
movups -0xa0(%rbp), %xmm0
movaps %xmm0, -0xe0(%rbp)
movups -0xb0(%rbp), %xmm0
movaps %xmm0, -0xf0(%rbp)
movb -0xb1(%rbp), %al
andb $0x1, %al
movb %al, -0xf1(%rbp)
movl -0xf0(%rbp), %eax
movl %eax, -0x1fc(%rbp)
testl %eax, %eax
je 0x1151a1
jmp 0x115089
movl -0x1fc(%rbp), %eax
subl $0x1, %eax
jne 0x11521f
jmp 0x11509a
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
leaq -0x140(%rbp), %rdx
callq 0x125e0
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
movq -0x150(%rbp), %rdx
leaq -0x158(%rbp), %rcx
leaq -0x160(%rbp), %r8
callq 0x11c500
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq 0x27d68b(%rip), %rax    # 0x392790
movq %rax, -0x180(%rbp)
movq -0x188(%rbp), %rdi
movq -0x180(%rbp), %rsi
movl -0xe0(%rbp), %edx
movq -0xd8(%rbp), %rcx
leaq -0x178(%rbp), %r8
callq 0xcc30
movb $0x1, -0x189(%rbp)
movb -0x189(%rbp), %al
andb $0x1, %al
movb %al, -0x129(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x115238
leaq -0x1a0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x1a1(%rbp)
movb -0x1a1(%rbp), %al
andb $0x1, %al
movb %al, -0x129(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x100(%rbp)
jmp 0x115238
leaq 0x23ec5b(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x129(%rbp), %al
andb $0x1, %al
movb %al, -0xb2(%rbp)
movb -0x129(%rbp), %al
andb $0x1, %al
movb %al, -0xb1(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x115020
jmp 0x1152af
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1153c2
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rax
cmpq $0x0, %rax
je 0x1153c2
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1153c2
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1e8(%rbp)
movq %rdx, -0x1e0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1e8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1153c0
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
callq 0x12780
movq %rax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f8(%rbp), %rdi
movq -0x1f0(%rbp), %rsi
callq 0x127c0
jmp 0x1153c2
jmp 0x1153c4
movl -0xa0(%rbp), %edi
movq -0x98(%rbp), %rsi
callq 0xcea0
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq -0x90(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x88(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
nopl (%rax)