// File: /workspace/github_c_makefile_star2_O1/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 0x7ce3a
movl %edx, %eax
leaq 0x666ff(%rip), %rsi     # 0xe34c4
movslq (%rsi,%rax,4), %rax
addq %rsi, %rax
jmpq *%rax
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7cdde
movq %rcx, %rdi
callq 0x5030
leaq 0x109c633(%rip), %rdi   # 0x1119418
movq %r13, %rsi
callq 0x13ff0
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x1a972
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 0x7cd9a
movq (%r13), %rax
movq (%r12), %rcx
jmp 0x7d093
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 0x7ce78
decl (%rax)
jne 0x7ce78
shlq $0x30, %rdx
orq %rcx, %rdx
leaq 0x98919(%rip), %rsi     # 0x115789
movq %rdx, %rdi
callq 0xd4e3
cmpq $0x0, 0x109d5e8(%rip)   # 0x111a468
jne 0x7ce98
xorl %edi, %edi
callq 0xf9f7
movq $0x0, 0x10(%rax)
movq %rax, 0x109d5d0(%rip)   # 0x111a468
movq 0x109d5c9(%rip), %r13   # 0x111a468
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x7ceb5
incl (%rax)
cmpq $0x0, 0x109d5b3(%rip)   # 0x111a470
jne 0x7ceee
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x6f626(%rip), %xmm0    # 0xec4fe
movups %xmm0, 0x18(%rax)
movups 0x6f62b(%rip), %xmm0    # 0xec50e
movups %xmm0, 0x28(%rax)
movq %rax, 0x109d582(%rip)   # 0x111a470
movq 0x109d57b(%rip), %rsi   # 0x111a470
andq %rsi, %rbx
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x7cf08
incl (%rbx)
movq %r13, %rdi
callq 0xe43c
leaq -0x38(%rbp), %r13
leaq -0x40(%rbp), %rbx
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
movq %r13, %rcx
movq %rbx, %r8
callq 0x7d0a8
jmp 0x7d088
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7cf45
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x55b9b
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x2, %r8d
jmp 0x7d079
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7cf7e
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x55af5
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x6, %r8d
jmp 0x7d079
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7cfb7
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x55bee
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x4, %r8d
jmp 0x7d079
movq %rbx, -0x30(%rbp)
movl 0x4(%rcx), %r13d
decl (%rcx)
jne 0x7cff0
movq %rcx, %rdi
callq 0x5030
movl %r13d, %edi
callq 0x567d6
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
jmp 0x7d079
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7d023
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x56637
leaq -0x40(%rbp), %rbx
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
jmp 0x7d079
movq %rbx, -0x30(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x7d059
movq %rcx, %rdi
callq 0x5030
movq %r13, %rdi
callq 0x55b48
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 0x44e2b
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