// File: /workspace/github_c_makefile_star2_O1/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r9, -0x70(%rbp)
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
cmpl $0x1, %ecx
je 0x7c5cd
testl %ecx, %ecx
jne 0x7c8f6
leaq -0x60(%rbp), %rbx
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x52dd6
movq (%rbx), %rsi
leaq -0x38(%rbp), %rbx
leaq -0x30(%rbp), %r14
movq %r13, %rdi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x4c351
movq (%r14), %rax
movq (%rbx), %rcx
jmp 0x7c8d9
leaq -0x60(%rbp), %rsi
movq %r8, %rdi
callq 0xd450
movq %rax, %r14
movq %rdx, %rbx
testb $0x1, %bl
je 0x7c604
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x7c604
incl (%rax)
leaq -0x50(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x414a5
testb %al, %al
je 0x7c772
testb $0x1, %bl
je 0x7c640
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x7c640
incl (%rax)
movq -0x50(%rbp), %rdi
leaq -0x48(%rbp), %rbx
leaq -0x88(%rbp), %r13
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
movq %r13, %r8
callq 0x530ff
movq (%r13), %rdi
leaq -0x40(%rbp), %rsi
callq 0x447fe
movq (%rbx), %rdi
leaq -0x80(%rbp), %rbx
movl %eax, %esi
movq %rbx, %rcx
callq 0x3d686
movl %eax, %edi
movq %rdx, %rsi
callq 0x5708e
movl %eax, %r13d
movq %rdx, %r12
movq (%rbx), %rdi
leaq -0x78(%rbp), %rbx
movq %rbx, %rsi
callq 0x3eba9
movl %r13d, %edi
movq %r12, %rsi
movl $0x4, %edx
movq %rax, %rcx
callq 0x210ca
movq (%rbx), %rcx
leaq -0x40(%rbp), %rdx
movq (%rdx), %r9
movl -0x60(%rbp), %esi
movq -0x58(%rbp), %rdx
movq %r14, -0x68(%rbp)
leaq -0x90(%rbp), %r14
leaq -0x98(%rbp), %r12
movq %r15, %rdi
movq %rax, %r8
pushq %r14
pushq %r12
callq 0x7cc41
addq $0x10, %rsp
leaq 0x99fcb(%rip), %rsi     # 0x1166b8
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd592
movq %rdx, %rbx
movq (%r12), %r15
movq (%r14), %r12
movl $0x6, %edi
callq 0x567d6
leaq -0x30(%rbp), %r13
leaq -0x38(%rbp), %r14
movq %r15, %rdi
movq %r12, %rsi
movl $0x1, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
movq %rax, %r9
pushq %r13
pushq %r14
callq 0x44e2b
addq $0x10, %rsp
movq (%r13), %rbx
movq (%r14), %r15
movq -0x68(%rbp), %rdi
callq 0x56730
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0xe, %r8d
movq %rax, %r9
pushq %r13
pushq %r14
callq 0x44e2b
addq $0x10, %rsp
movq (%r13), %rax
movq (%r14), %rcx
jmp 0x7c8d9
testb $0x1, %bl
je 0x7c797
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x7c797
incl (%rax)
movq -0x50(%rbp), %rbx
movq %r14, %rdi
callq 0x56783
leaq -0x30(%rbp), %r13
leaq -0x38(%rbp), %r10
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0xd, %r8d
movq %rax, %r9
pushq %r13
pushq %r10
movq %r10, %rbx
callq 0x44e2b
addq $0x10, %rsp
movq (%r13), %rdi
movq (%rbx), %rbx
leaq -0x48(%rbp), %rsi
callq 0x447fe
leaq -0x88(%rbp), %r13
movq %rbx, %rdi
movl %eax, %esi
movq %r13, %rcx
callq 0x3d0f2
movl %eax, %edi
movq %rdx, %rsi
callq 0x5708e
movl %eax, %ebx
movq %rdx, %r12
movq (%r13), %rdi
leaq -0x40(%rbp), %r13
movq %r13, %rsi
callq 0x3eba9
movl %ebx, %edi
movq %r12, %rsi
movl $0x4, %edx
movq %rax, %rcx
callq 0x210ca
movq (%r13), %rcx
leaq -0x48(%rbp), %rdx
movq (%rdx), %r9
movl -0x60(%rbp), %esi
movq -0x58(%rbp), %rdx
movq %r14, %r13
leaq -0x78(%rbp), %r14
leaq -0x80(%rbp), %r12
movq %r15, %rdi
movq %rax, %r8
pushq %r14
pushq %r12
callq 0x7cc41
addq $0x10, %rsp
leaq 0x99e5e(%rip), %rsi     # 0x1166b8
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd592
movq %rdx, %rbx
movq (%r12), %r15
movq (%r14), %r12
movl $0x5, %edi
callq 0x567d6
movq %r15, %rdi
movq %r12, %rsi
movl $0x1, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
movq %rax, %r9
leaq -0x30(%rbp), %r14
pushq %r14
leaq -0x38(%rbp), %r12
pushq %r12
callq 0x44e2b
addq $0x10, %rsp
movq (%r14), %rbx
movq (%r12), %r15
movq %r13, %rdi
callq 0x566dd
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0xc, %r8d
movq %rax, %r9
pushq %r14
pushq %r12
callq 0x44e2b
addq $0x10, %rsp
movq (%r14), %rax
movq (%r12), %rcx
movq 0x10(%rbp), %rdx
movq %rax, (%rdx)
movq -0x70(%rbp), %rax
movq %rcx, (%rax)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x67e3e(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x67e43(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5