// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaAB_abzedefzx
static void mw_mirth_elab_zaAB_abzedefzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, struct std_list_List_1 in_List_3, struct mirth_def_Def in_Def_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_Def_4).tag) {
		case mirth_def_Def_Alias: {
			uint64_t v9 = mtp_mirth_def_Def_Alias(in_Def_4);
			struct mirth_mirth_zaMirth* v10;
			struct mirth_def_Def v11 = mw_mirth_alias_Alias_target(in_zaMirth_1, v9, &v10);
			struct mirth_mirth_zaMirth* v12;
			struct mirth_arrow_Arrow* v13;
			mw_mirth_elab_zaAB_abzedefzx(v10, in_zaAB_2, in_List_3, v11, &v12, &v13);
			branch_zaAB_8 = v13;
			branch_zaMirth_7 = v12;
		} break;
		case mirth_def_Def_Word: {
			uint64_t v14 = mtp_mirth_def_Def_Word(in_Def_4);
			struct mirth_arrow_Op v15 = mtw_mirth_arrow_Op_Word(v14);
			struct mirth_mirth_zaMirth* v16;
			struct mirth_arrow_Arrow* v17;
			mw_mirth_elab_zaAB_abzeopzx(in_zaMirth_1, in_zaAB_2, in_List_3, v15, &v16, &v17);
			branch_zaAB_8 = v17;
			branch_zaMirth_7 = v16;
		} break;
		case mirth_def_Def_Prim: {
			enum mirth_prim_Prim v18 = mtp_mirth_def_Def_Prim(in_Def_4);
			struct mirth_arrow_Op v19 = mtw_mirth_arrow_Op_Prim(v18);
			struct mirth_mirth_zaMirth* v20;
			struct mirth_arrow_Arrow* v21;
			mw_mirth_elab_zaAB_abzeopzx(in_zaMirth_1, in_zaAB_2, in_List_3, v19, &v20, &v21);
			branch_zaAB_8 = v21;
			branch_zaMirth_7 = v20;
		} break;
		case mirth_def_Def_External: {
			uint64_t v22 = mtp_mirth_def_Def_External(in_Def_4);
			struct mirth_arrow_Op v23 = mtw_mirth_arrow_Op_External(v22);
			struct mirth_mirth_zaMirth* v24;
			struct mirth_arrow_Arrow* v25;
			mw_mirth_elab_zaAB_abzeopzx(in_zaMirth_1, in_zaAB_2, in_List_3, v23, &v24, &v25);
			branch_zaAB_8 = v25;
			branch_zaMirth_7 = v24;
		} break;
		case mirth_def_Def_Field: {
			uint64_t v26 = mtp_mirth_def_Def_Field(in_Def_4);
			struct mirth_arrow_Op v27 = mtw_mirth_arrow_Op_Field(v26);
			struct mirth_mirth_zaMirth* v28;
			struct mirth_arrow_Arrow* v29;
			mw_mirth_elab_zaAB_abzeopzx(in_zaMirth_1, in_zaAB_2, in_List_3, v27, &v28, &v29);
			branch_zaAB_8 = v29;
			branch_zaMirth_7 = v28;
		} break;
		case mirth_def_Def_Tag: {
			uint64_t v30 = mtp_mirth_def_Def_Tag(in_Def_4);
			struct mirth_arrow_Op v31 = mtw_mirth_arrow_Op_Tag(v30);
			struct mirth_mirth_zaMirth* v32;
			struct mirth_arrow_Arrow* v33;
			mw_mirth_elab_zaAB_abzeopzx(in_zaMirth_1, in_zaAB_2, in_List_3, v31, &v32, &v33);
			branch_zaAB_8 = v33;
			branch_zaMirth_7 = v32;
		} break;
		case mirth_def_Def_Buffer: {
			uint64_t v34 = mtp_mirth_def_Def_Buffer(in_Def_4);
			struct mirth_arrow_Op v35 = mtw_mirth_arrow_Op_Buffer(v34);
			struct mirth_mirth_zaMirth* v36;
			struct mirth_arrow_Arrow* v37;
			mw_mirth_elab_zaAB_abzeopzx(in_zaMirth_1, in_zaAB_2, in_List_3, v35, &v36, &v37);
			branch_zaAB_8 = v37;
			branch_zaMirth_7 = v36;
		} break;
		default: {
			decref(MK_mirth_def_Def(in_Def_4));
			decref(MK_std_list_List_1(in_List_3));
			STR* v38;
			STRLIT(v38, "", 0);
			STR* v39;
			STRLIT(v39, "Unexpected definition in ab-def!", 32);
			STR* v40;
			mw_std_str_zaStr_pushzestrzx(v39, v38, &v40);
			struct mirth_mirth_zaMirth* v41;
			struct mirth_arrow_Arrow* v42;
			mw_mirth_elab_zaAB_abzeerrorzx(in_zaMirth_1, in_zaAB_2, v40, &v41, &v42);
			branch_zaAB_8 = v42;
			branch_zaMirth_7 = v41;
		} break;
	}
	*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 $0x28, %rsp
movq %r9, %r14
movq %r8, %rbx
movq %rsi, %r15
movq %rdi, %r12
cmpl $0xb, %edx
ja 0x74295
movl %edx, %eax
leaq 0x5f2c6(%rip), %rsi     # 0xd350c
movslq (%rsi,%rax,4), %rax
addq %rsi, %rax
jmpq *%rax
movq %rcx, %rdi
callq 0x13ef6
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x4f9e7
movq %rdx, %rcx
movq (%r13), %rdi
leaq -0x30(%rbp), %r12
leaq -0x48(%rbp), %r13
movq %r15, %rsi
movl %eax, %edx
movq %r12, %r8
movq %r13, %r9
callq 0x7421b
movq (%r13), %rax
movq (%r12), %rcx
jmp 0x74450
movq %rbx, -0x40(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rax
andq %rbx, %rax
sete %sil
testb $0x3, %cl
setne %dil
orb %sil, %dil
jne 0x742d3
decl (%rax)
jne 0x742d3
shlq $0x30, %rdx
orq %rcx, %rdx
leaq 0x944be(%rip), %rsi     # 0x108789
movq %rdx, %rdi
callq 0xce94
movq 0x109918e(%rip), %r13   # 0x110d468
testq %r13, %r13
jne 0x742f7
leaq 0x6840f(%rip), %rdi     # 0xdc6f5
xorl %esi, %esi
callq 0x8a21
movq %rax, %r13
movq %rax, 0x1099171(%rip)   # 0x110d468
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x7430d
incl (%rax)
movq 0x109915c(%rip), %rsi   # 0x110d470
testq %rsi, %rsi
jne 0x74332
leaq 0x682ab(%rip), %rdi     # 0xdc5cb
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rsi
movq %rax, 0x109913e(%rip)   # 0x110d470
andq %rsi, %rbx
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x74345
incl (%rbx)
movq %r13, %rdi
callq 0xd8b0
leaq -0x38(%rbp), %r13
leaq -0x30(%rbp), %rbx
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
movq %r13, %rcx
movq %rbx, %r8
callq 0x74465
movq (%rbx), %rax
movq (%r13), %rcx
movq -0x40(%rbp), %rbx
jmp 0x74450
movq %rcx, %rdi
callq 0x140e7
movq %rax, %rdi
callq 0x4fd5e
leaq -0x30(%rbp), %r10
leaq -0x38(%rbp), %r13
pushq $0x2
jmp 0x7442c
movq %rcx, %rdi
callq 0x1413e
movq %rax, %rdi
callq 0x4fccc
leaq -0x30(%rbp), %r10
leaq -0x38(%rbp), %r13
pushq $0x6
jmp 0x7442c
movq %rcx, %rdi
callq 0x14121
movq %rax, %rdi
callq 0x4fda7
leaq -0x30(%rbp), %r10
leaq -0x38(%rbp), %r13
pushq $0x4
jmp 0x7442c
movq %rcx, %rdi
callq 0x14004
movl %eax, %edi
callq 0x50895
leaq -0x30(%rbp), %r10
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
jmp 0x74438
movq %rcx, %rdi
callq 0x14104
movq %rax, %rdi
callq 0x50803
leaq -0x30(%rbp), %r10
leaq -0x38(%rbp), %r13
pushq $0x1
jmp 0x7442c
movq %rcx, %rdi
callq 0x13fe7
movq %rax, %rdi
callq 0x4fd15
leaq -0x30(%rbp), %r10
leaq -0x38(%rbp), %r13
pushq $0x3
popq %r8
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %rax, %r9
pushq %r10
movq %r10, %r15
pushq %r13
callq 0x3fc75
popq %rax
popq %rcx
movq (%r15), %rax
movq (%r13), %rcx
movq %rax, (%r14)
movq %rcx, (%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq