// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_elabzeatomszx
static void mw_mirth_elab_zaAB_elabzeatomszx (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 std_list_List_1 v5 = { .tag=std_list_List_1_Nil };
	struct mirth_arrow_Arrow* v6;
	uint64_t v7 = mw_mirth_elab_zaAB_abzetokenzo(in_zaAB_2, &v6);
	struct mirth_mirth_zaMirth* v8;
	bool v9 = mw_mirth_token_Token_runzeendzy(in_zaMirth_1, v7, &v8);
	bool v10 = !v9;
	struct std_list_List_1 v11 = v5;
	struct mirth_mirth_zaMirth* r12 = v8;
	struct mirth_arrow_Arrow* r13 = v6;
	bool v14 = v10;
	while (v14) {
		struct std_list_List_1 v15 = v11;
		struct mirth_mirth_zaMirth* r16 = r12;
		struct mirth_arrow_Arrow* r17 = r13;
		struct mirth_mirth_zaMirth* v18;
		struct mirth_arrow_Arrow* v19;
		struct std_list_List_1 v20;
		mw_mirth_elab_zaAB_elabzeatomzx(r16, r17, v15, &v18, &v19, &v20);
		struct mirth_arrow_Arrow* v21;
		uint64_t v22 = mw_mirth_elab_zaAB_abzetokenzo(v19, &v21);
		struct mirth_mirth_zaMirth* v23;
		uint64_t v24 = mw_mirth_token_Token_next(v18, v22, &v23);
		struct mirth_arrow_Arrow* v25;
		mw_mirth_elab_zaAB_abzetokenzx(v21, v24, &v25);
		struct mirth_arrow_Arrow* v26;
		uint64_t v27 = mw_mirth_elab_zaAB_abzetokenzo(v25, &v26);
		struct mirth_mirth_zaMirth* v28;
		bool v29 = mw_mirth_token_Token_runzeendzy(v23, v27, &v28);
		bool v30 = !v29;
		v14 = v30;
		r13 = v26;
		r12 = v28;
		v11 = v20;
	}
	bool v31 = true;
	struct mirth_mirth_zaMirth* r32 = r12;
	struct mirth_arrow_Arrow* r33 = r13;
	struct std_list_List_1 v34 = v11;
	bool v35 = v31;
	bool v36 = v31;
	while (v36) {
		struct mirth_mirth_zaMirth* r37 = r32;
		struct mirth_arrow_Arrow* r38 = r33;
		struct std_list_List_1 v39 = v34;
		bool v40 = v35;
		struct mirth_mirth_zaMirth* branch_zaMirth_41;
		struct mirth_arrow_Arrow* branch_zaAB_42;
		struct std_list_List_1 branch_List_43;
		bool branch_Bool_44;
		switch ((v39).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v45;
				VAL v46 = mtp_std_list_List_1_Cons(v39, &v45);
				struct mirth_mirth_zaMirth* v47;
				struct mirth_arrow_Arrow* v48;
				mw_mirth_elab_zaAB_abzelabelzepopzx(r37, r38, V_mirth_label_Label(v46), &v47, &v48);
				struct std_list_List_1 v49 = { .tag=std_list_List_1_Nil };
				enum mirth_prim_Prim v50 = mirth_prim_Prim_Drop;
				struct mirth_mirth_zaMirth* v51;
				struct mirth_arrow_Arrow* v52;
				mw_mirth_elab_zaAB_abzeprimzx(v47, v48, v49, v50, &v51, &v52);
				bool v53 = true;
				branch_Bool_44 = v53;
				branch_List_43 = v45;
				branch_zaAB_42 = v52;
				branch_zaMirth_41 = v51;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v54 = { .tag=std_list_List_1_Nil };
				bool v55 = false;
				branch_Bool_44 = v55;
				branch_List_43 = v54;
				branch_zaAB_42 = r38;
				branch_zaMirth_41 = r37;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v36 = branch_Bool_44;
		v35 = branch_Bool_44;
		v34 = branch_List_43;
		r33 = branch_zaAB_42;
		r32 = branch_zaMirth_41;
	}
	decref(MK_std_list_List_1(v34));
	*out_zaAB_4 = r33;
	*out_zaMirth_3 = r32;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x10(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xe0b80
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0xacc30
andb $0x1, %al
movb %al, -0x49(%rbp)
movb -0x49(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x4a(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x70(%rbp)
movb -0x4a(%rbp), %al
andb $0x1, %al
movb %al, -0x71(%rbp)
testb $0x1, -0x71(%rbp)
je 0xf454a
movq -0x60(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x90(%rbp), %rdi
movq -0x98(%rbp), %rsi
movl -0x88(%rbp), %edx
movq -0x80(%rbp), %rcx
leaq -0xa0(%rbp), %r8
leaq -0xa8(%rbp), %r9
leaq -0xb8(%rbp), %rax
movq %rax, (%rsp)
callq 0x10e960
movq -0xa8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0xe0b80
movq %rax, -0xc8(%rbp)
movq -0xa0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x7b380
movq %rax, -0xd8(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
callq 0x10f6c0
movq -0xe0(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0xe0b80
movq %rax, -0xf0(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xf0(%rbp), %rsi
leaq -0xf8(%rbp), %rdx
callq 0xacc30
andb $0x1, %al
movb %al, -0xf9(%rbp)
movb -0xf9(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xfa(%rbp)
movb -0xfa(%rbp), %al
andb $0x1, %al
movb %al, -0x71(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0xf4404
movb $0x1, -0xfb(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x118(%rbp)
movb -0xfb(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movb -0xfb(%rbp), %al
andb $0x1, %al
movb %al, -0x122(%rbp)
testb $0x1, -0x122(%rbp)
je 0xf47cd
movq -0x108(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x138(%rbp)
movups -0x120(%rbp), %xmm0
movaps %xmm0, -0x150(%rbp)
movb -0x121(%rbp), %al
andb $0x1, %al
movb %al, -0x151(%rbp)
movl -0x150(%rbp), %eax
movl %eax, -0x24c(%rbp)
testl %eax, %eax
je 0xf46f9
jmp 0xf45f4
movl -0x24c(%rbp), %eax
subl $0x1, %eax
jne 0xf475b
jmp 0xf4605
movl -0x150(%rbp), %edi
movq -0x148(%rbp), %rsi
leaq -0x190(%rbp), %rdx
callq 0x125e0
movq %rax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x130(%rbp), %rdi
movq -0x138(%rbp), %rsi
movq -0x1a0(%rbp), %rdx
leaq -0x1a8(%rbp), %rcx
leaq -0x1b0(%rbp), %r8
callq 0x10f8a0
leaq -0x1c0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl $0x2, -0x1c4(%rbp)
movq -0x1a8(%rbp), %rdi
movq -0x1b0(%rbp), %rsi
movl -0x1c4(%rbp), %r8d
movl -0x1c0(%rbp), %edx
movq -0x1b8(%rbp), %rcx
leaq -0x1d0(%rbp), %r9
leaq -0x1d8(%rbp), %rax
movq %rax, (%rsp)
callq 0x10f930
movb $0x1, -0x1d9(%rbp)
movb -0x1d9(%rbp), %al
andb $0x1, %al
movb %al, -0x179(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0xf4774
leaq -0x1f0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x1f1(%rbp)
movb -0x1f1(%rbp), %al
andb $0x1, %al
movb %al, -0x179(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0xf4774
leaq 0x25f71f(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x179(%rbp), %al
andb $0x1, %al
movb %al, -0x122(%rbp)
movb -0x179(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x108(%rbp)
jmp 0xf4599
jmp 0xf47cf
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x12780
movq %rax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movq -0x200(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf48e2
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x12780
movq %rax, -0x218(%rbp)
movq %rdx, -0x210(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x218(%rbp), %rax
cmpq $0x0, %rax
je 0xf48e2
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x12780
movq %rax, -0x228(%rbp)
movq %rdx, -0x220(%rbp)
movq -0x228(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf48e2
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x12780
movq %rax, -0x238(%rbp)
movq %rdx, -0x230(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x238(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf48e0
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x12780
movq %rax, -0x248(%rbp)
movq %rdx, -0x240(%rbp)
movq -0x248(%rbp), %rdi
movq -0x240(%rbp), %rsi
callq 0x127c0
jmp 0xf48e2
jmp 0xf48e4
movq -0x110(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x108(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
nopl (%rax)