// File: /workspace/github_c_makefile_star2_O3/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 $0x18, %rsp
movq %r9, %r14
movq %r8, %rbx
movq %rsi, %r15
movq %rdi, %r12
cmpl $0xb, %edx
ja 0x7ae6a
movl %edx, %eax
leaq 0x64717(%rip), %rsi     # 0xdf50c
movslq (%rsi,%rax,4), %rax
addq %rsi, %rax
jmpq *%rax
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7ae0e
movq %rcx, %rdi
callq 0x5030
leaq 0x109a603(%rip), %rdi   # 0x1115418
movq %r13, %rsi
callq 0x13c85
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x1a6db
movq (%r13), %rdi
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rcx
movq %rax, %rdx
shrq $0x30, %rdx
leaq -0x38(%rbp), %r12
leaq -0x40(%rbp), %r13
movq %r15, %rsi
movq %r12, %r8
movq %r13, %r9
callq 0x7adca
movq (%r13), %rax
movq (%r12), %rcx
jmp 0x7b0bf
movq %rbx, -0x30(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rax
andq %rbx, %rax
sete %sil
testb $0x3, %cl
setne %dil
orb %sil, %dil
jne 0x7aea8
decl (%rax)
jne 0x7aea8
shlq $0x30, %rdx
orq %rcx, %rdx
leaq 0x968e9(%rip), %rsi     # 0x111789
movq %rdx, %rdi
callq 0xd13d
movq 0x109b5b9(%rip), %r13   # 0x1116468
testq %r13, %r13
jne 0x7aecd
xorl %edi, %edi
callq 0xf5e4
movq %rax, %r13
movq $0x0, 0x10(%rax)
movq %rax, 0x109b59b(%rip)   # 0x1116468
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x7aee3
incl (%rax)
movq 0x109b586(%rip), %rsi   # 0x1116470
testq %rsi, %rsi
jne 0x7af21
movl $0x20, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x20, 0x10(%rax)
movups 0x6d4c2(%rip), %xmm0    # 0xe83cd
movups %xmm0, 0x18(%rax)
movups 0x6d4c7(%rip), %xmm0    # 0xe83dd
movups %xmm0, 0x28(%rax)
movq %rax, 0x109b54f(%rip)   # 0x1116470
andq %rsi, %rbx
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x7af34
incl (%rbx)
movq %r13, %rdi
callq 0xe069
leaq -0x38(%rbp), %r13
leaq -0x40(%rbp), %rbx
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
movq %r13, %rcx
movq %rbx, %r8
callq 0x7b0d4
jmp 0x7b0b4
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7af71
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x543a6
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x2, %r8d
jmp 0x7b0a5
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7afaa
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x54300
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x6, %r8d
jmp 0x7b0a5
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7afe3
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x543f9
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x4, %r8d
jmp 0x7b0a5
movq %rbx, -0x30(%rbp)
movl 0x4(%rcx), %r13d
decl (%rcx)
jne 0x7b01c
movq %rcx, %rdi
callq 0x5030
movl %r13d, %edi
callq 0x54fbd
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
jmp 0x7b0a5
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7b04f
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x54e1e
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
jmp 0x7b0a5
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7b085
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x54353
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x3, %r8d
movq %rax, %r9
pushq %rbx
pushq %r13
callq 0x43977
addq $0x10, %rsp
movq (%rbx), %rax
movq (%r13), %rcx
movq -0x30(%rbp), %rbx
movq %rax, (%r14)
movq %rcx, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq