// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzeldipzx_1_sp1
static void mw_mirth_elab_zaAB_abzeldipzx_1_sp1 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, uint64_t in_Token_3, struct std_list_List_1 in_List_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_arrow_Arrow* *out_zaAB_6) {
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct mirth_arrow_Arrow* branch_zaAB_8;
	switch ((in_List_4).tag) {
		case std_list_List_1_Nil: {
			struct mirth_arrow_Arrow* v9;
			mw_mirth_elab_zaAB_abzetokenzx(in_zaAB_2, in_Token_3, &v9);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_arrow_Arrow* v11;
			mw_mirth_elab_zaAB_elabzeatomszx(in_zaMirth_1, v9, &v10, &v11);
			branch_zaAB_8 = v11;
			branch_zaMirth_7 = v10;
		} break;
		case std_list_List_1_Cons: {
			struct std_list_List_1 v12;
			VAL v13 = mtp_std_list_List_1_Cons(in_List_4, &v12);
			incref(v13);
			struct mirth_mirth_zaMirth* v14;
			bool v15 = mw_mirth_label_Label_iszeresourcezelabelzy(in_zaMirth_1, V_mirth_label_Label(v13), &v14);
			struct mirth_mirth_zaMirth* branch_zaMirth_16;
			struct mirth_arrow_Arrow* branch_zaAB_17;
			if (v15) {
				incref(v13);
				struct mirth_mirth_zaMirth* v18;
				struct mirth_arrow_Arrow* v19;
				mw_mirth_elab_zaAB_abzelabelzepopzerzx(v14, in_zaAB_2, V_mirth_label_Label(v13), &v18, &v19);
				struct mirth_arrow_Arrow* v20;
				struct mirth_type_StackType v21 = mw_mirth_elab_zaAB_abzetypezo(v19, &v20);
				struct mirth_mirth_zaMirth* v22;
				struct std_maybe_Maybe_1 v23 = mw_mirth_type_StackType_forcezewithzyzx(v18, v21, &v22);
				struct mirth_type_StackType v24 = mw_std_maybe_Maybe_1_ifzy_2_sp51(v23);
				struct mirth_mirth_zaMirth* v25;
				struct mirth_type_StackType v26 = mw_mirth_type_StackType_Freshzx(v22, &v25);
				struct mirth_type_ArrowType* v27 = mw_mirth_type_Tzezg(v24, v26);
				struct mirth_mirth_zaMirth* v28;
				struct mirth_arrow_Arrow* v29;
				uint64_t v30 = mw_mirth_elab_zaAB_abzeargzeblockzx_1_sp6(in_Token_3, v12, v25, v27, v20, &v28, &v29);
				struct std_list_List_1 v31 = { .tag=std_list_List_1_Nil };
				struct std_list_List_1 v32 = mw_std_list_List_1_cons(MK_mirth_arrow_Block(v30), v31);
				enum mirth_prim_Prim v33 = mirth_prim_Prim_RDip;
				struct mirth_mirth_zaMirth* v34;
				struct mirth_arrow_Arrow* v35;
				mw_mirth_elab_zaAB_abzeprimzx(v28, v29, v32, v33, &v34, &v35);
				struct mirth_mirth_zaMirth* v36;
				struct mirth_arrow_Arrow* v37;
				mw_mirth_elab_zaAB_abzelabelzepushzerzx(v34, v35, V_mirth_label_Label(v13), &v36, &v37);
				branch_zaAB_17 = v37;
				branch_zaMirth_16 = v36;
			} else {
				incref(v13);
				struct mirth_mirth_zaMirth* v38;
				struct mirth_arrow_Arrow* v39;
				mw_mirth_elab_zaAB_abzelabelzepopzx(v14, in_zaAB_2, V_mirth_label_Label(v13), &v38, &v39);
				struct mirth_arrow_Arrow* v40;
				struct mirth_type_StackType v41 = mw_mirth_elab_zaAB_abzetypezo(v39, &v40);
				struct mirth_mirth_zaMirth* v42;
				struct std_maybe_Maybe_1 v43 = mw_mirth_type_StackType_forcezeconszyzx(v38, v41, &v42);
				struct mirth_type_StackType v44 = mw_std_maybe_Maybe_1_ifzy_2_sp51(v43);
				struct mirth_mirth_zaMirth* v45;
				struct mirth_type_StackType v46 = mw_mirth_type_StackType_Freshzx(v42, &v45);
				struct mirth_type_ArrowType* v47 = mw_mirth_type_Tzezg(v44, v46);
				struct mirth_mirth_zaMirth* v48;
				struct mirth_arrow_Arrow* v49;
				uint64_t v50 = mw_mirth_elab_zaAB_abzeargzeblockzx_1_sp6(in_Token_3, v12, v45, v47, v40, &v48, &v49);
				struct std_list_List_1 v51 = { .tag=std_list_List_1_Nil };
				struct std_list_List_1 v52 = mw_std_list_List_1_cons(MK_mirth_arrow_Block(v50), v51);
				enum mirth_prim_Prim v53 = mirth_prim_Prim_Dip;
				struct mirth_mirth_zaMirth* v54;
				struct mirth_arrow_Arrow* v55;
				mw_mirth_elab_zaAB_abzeprimzx(v48, v49, v52, v53, &v54, &v55);
				struct mirth_mirth_zaMirth* v56;
				struct mirth_arrow_Arrow* v57;
				mw_mirth_elab_zaAB_abzelabelzepushzx(v54, v55, V_mirth_label_Label(v13), &v56, &v57);
				branch_zaAB_17 = v57;
				branch_zaMirth_16 = v56;
			}
			branch_zaAB_8 = branch_zaAB_17;
			branch_zaMirth_7 = branch_zaMirth_16;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaAB_6 = branch_zaAB_8;
	*out_zaMirth_5 = branch_zaMirth_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x270, %rsp            # imm = 0x270
movq 0x10(%rbp), %rax
movl %ecx, -0x10(%rbp)
movq %r8, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x25c(%rbp)
testl %eax, %eax
je 0x1bb515
jmp 0x1bb505
movl -0x25c(%rbp), %eax
subl $0x1, %eax
je 0x1bb550
jmp 0x1bba6c
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x10f6c0
movq -0x18(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x50(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0xf4380
movq -0x58(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1bba85
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x125e0
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1bb5ad
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x1bb5ad
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1bb5ad
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1bb5af
movq -0x18(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0xd2720
andb $0x1, %al
movb %al, -0x81(%rbp)
testb $0x1, -0x81(%rbp)
je 0x1bb817
jmp 0x1bb5d7
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1bb61c
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x1bb61c
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1bb61c
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1bb61e
movq -0x80(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0xa0(%rbp), %rcx
leaq -0xa8(%rbp), %r8
callq 0x110f40
movq -0xa8(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0xe0ff0
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xa0(%rbp), %rdi
movl -0xc0(%rbp), %esi
movq -0xb8(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
callq 0xc8ac0
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x120340
movl %eax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xc8(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0xcd420
movl %eax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
movl -0x100(%rbp), %edx
movq -0xf8(%rbp), %rcx
callq 0x735b0
movq %rax, -0x108(%rbp)
movq -0x28(%rbp), %rdi
movq -0xf0(%rbp), %rcx
movq -0x108(%rbp), %r8
movq -0xb0(%rbp), %r9
movl -0x68(%rbp), %esi
movq -0x60(%rbp), %rdx
leaq -0x110(%rbp), %r10
leaq -0x118(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x1bc490
movq %rax, -0x120(%rbp)
leaq -0x130(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x120(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0x1d7036(%rip), %rax    # 0x392790
movq %rax, -0x148(%rbp)
movq -0x150(%rbp), %rdi
movq -0x148(%rbp), %rsi
movl -0x130(%rbp), %edx
movq -0x128(%rbp), %rcx
callq 0x12740
movl %eax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movl $0x6, -0x154(%rbp)
movq -0x110(%rbp), %rdi
movq -0x118(%rbp), %rsi
movl -0x154(%rbp), %r8d
movl -0x140(%rbp), %edx
movq -0x138(%rbp), %rcx
leaq -0x160(%rbp), %r9
leaq -0x168(%rbp), %rax
movq %rax, (%rsp)
callq 0x10f930
movq -0x160(%rbp), %rdi
movq -0x168(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0x170(%rbp), %rcx
leaq -0x178(%rbp), %r8
callq 0x110e60
movq -0x178(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x1bba54
jmp 0x1bb819
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1bb85e
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x1bb85e
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1bb85e
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1bb860
movq -0x80(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0x180(%rbp), %rcx
leaq -0x188(%rbp), %r8
callq 0x10f8a0
movq -0x188(%rbp), %rdi
leaq -0x190(%rbp), %rsi
callq 0xe0ff0
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x180(%rbp), %rdi
movl -0x1a0(%rbp), %esi
movq -0x198(%rbp), %rdx
leaq -0x1a8(%rbp), %rcx
callq 0xc7790
movl %eax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movl -0x1b8(%rbp), %edi
movq -0x1b0(%rbp), %rsi
callq 0x120340
movl %eax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movq -0x1a8(%rbp), %rdi
leaq -0x1d0(%rbp), %rsi
callq 0xcd420
movl %eax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movl -0x1c8(%rbp), %edi
movq -0x1c0(%rbp), %rsi
movl -0x1e0(%rbp), %edx
movq -0x1d8(%rbp), %rcx
callq 0x735b0
movq %rax, -0x1e8(%rbp)
movq -0x28(%rbp), %rdi
movq -0x1d0(%rbp), %rcx
movq -0x1e8(%rbp), %r8
movq -0x190(%rbp), %r9
movl -0x68(%rbp), %esi
movq -0x60(%rbp), %rdx
leaq -0x1f0(%rbp), %r10
leaq -0x1f8(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x1bc490
movq %rax, -0x200(%rbp)
leaq -0x210(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x200(%rbp), %rax
movq %rax, -0x230(%rbp)
leaq 0x1d6df4(%rip), %rax    # 0x392790
movq %rax, -0x228(%rbp)
movq -0x230(%rbp), %rdi
movq -0x228(%rbp), %rsi
movl -0x210(%rbp), %edx
movq -0x208(%rbp), %rcx
callq 0x12740
movl %eax, -0x220(%rbp)
movq %rdx, -0x218(%rbp)
movl $0x5, -0x234(%rbp)
movq -0x1f0(%rbp), %rdi
movq -0x1f8(%rbp), %rsi
movl -0x234(%rbp), %r8d
movl -0x220(%rbp), %edx
movq -0x218(%rbp), %rcx
leaq -0x240(%rbp), %r9
leaq -0x248(%rbp), %rax
movq %rax, (%rsp)
callq 0x10f930
movq -0x240(%rbp), %rdi
movq -0x248(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0x250(%rbp), %rcx
leaq -0x258(%rbp), %r8
callq 0x110d30
movq -0x258(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x250(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1bba85
leaq 0x19840e(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
addq $0x270, %rsp            # imm = 0x270
popq %rbp
retq
nopw %cs:(%rax,%rax)