// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_elabzeldipzx
static void mw_mirth_elab_zaAB_elabzeldipzx (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_mirth_zaMirth* v5;
	struct mirth_arrow_Arrow* v6;
	struct std_maybe_Maybe_1 v7;
	uint64_t v8;
	mw_mirth_elab_zaAB_elabzeparsezeldipzx(in_zaMirth_1, in_zaAB_2, &v5, &v6, &v7, &v8);
	struct mirth_arrow_Arrow* v9;
	uint64_t v10 = mw_mirth_elab_zaAB_abzetokenzo(v6, &v9);
	struct mirth_mirth_zaMirth* branch_zaMirth_11;
	struct mirth_arrow_Arrow* branch_zaAB_12;
	struct std_list_List_1 branch_List_13;
	switch ((v7).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v14 = mtp_std_maybe_Maybe_1_Some(v7);
			branch_List_13 = V_std_list_List_1(v14);
			branch_zaAB_12 = v9;
			branch_zaMirth_11 = v5;
		} break;
		case std_maybe_Maybe_1_None: {
			struct mirth_arrow_Arrow* v15;
			struct mirth_type_StackType v16 = mw_mirth_elab_zaAB_abzetypezo(v9, &v15);
			struct mirth_mirth_zaMirth* v17;
			struct std_list_List_1 v18 = mw_mirth_type_StackType_labelzenames(v5, v16, &v17);
			struct std_list_List_1 v19 = mw_std_list_List_1_unique_sp1(v18);
			branch_List_13 = v19;
			branch_zaAB_12 = v15;
			branch_zaMirth_11 = v17;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct mirth_mirth_zaMirth* v20;
	struct mirth_arrow_Arrow* v21;
	mw_mirth_elab_zaAB_abzeldipzx_1_sp1(branch_zaMirth_11, branch_zaAB_12, v8, branch_List_13, &v20, &v21);
	struct mirth_arrow_Arrow* v22;
	mw_mirth_elab_zaAB_abzetokenzx(v21, v10, &v22);
	*out_zaAB_4 = v22;
	*out_zaMirth_3 = v20;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x28(%rbp), %rdx
leaq -0x30(%rbp), %rcx
leaq -0x40(%rbp), %r8
leaq -0x48(%rbp), %r9
callq 0x1b8730
movq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xe0b80
movq %rax, -0x58(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0xf4(%rbp)
testl %eax, %eax
je 0x1b8618
jmp 0x1b85a8
movl -0xf4(%rbp), %eax
subl $0x1, %eax
jne 0x1b86ac
jmp 0x1b85b9
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x174a0
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0x12c80
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0x1b86c5
movq -0x50(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0xe0ff0
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0x28(%rbp), %rdi
movl -0xb0(%rbp), %esi
movq -0xa8(%rbp), %rdx
leaq -0xb8(%rbp), %rcx
callq 0x1b9230
movl %eax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movl -0xc8(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x1ba320
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0x1b86c5
leaq 0x19b7ce(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x60(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq -0x48(%rbp), %rdx
movl -0x78(%rbp), %ecx
movq -0x70(%rbp), %r8
leaq -0xe0(%rbp), %r9
leaq -0xe8(%rbp), %rax
movq %rax, (%rsp)
callq 0x1bb4d0
movq -0xe8(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0xf0(%rbp), %rdx
callq 0x10f6c0
movq -0xf0(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0xe0(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopl (%rax,%rax)