// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_def_Def_qnamezehard
static struct mirth_name_QName* mw_mirth_def_Def_qnamezehard (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_def_Def in_Def_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct mirth_name_QName* branch_QName_6;
	switch ((in_Def_2).tag) {
		case mirth_def_Def_Alias: {
			uint64_t v7 = mtp_mirth_def_Def_Alias(in_Def_2);
			struct mirth_mirth_zaMirth* v8;
			struct mirth_name_QName* v9 = mw_mirth_alias_Alias_qnamezehard(in_zaMirth_1, v7, &v8);
			branch_QName_6 = v9;
			branch_zaMirth_5 = v8;
		} break;
		case mirth_def_Def_Package: {
			uint64_t v10 = mtp_mirth_def_Def_Package(in_Def_2);
			struct mirth_mirth_zaMirth* v11;
			struct mirth_name_QName* v12 = mw_mirth_package_Package_qname(in_zaMirth_1, v10, &v11);
			branch_QName_6 = v12;
			branch_zaMirth_5 = v11;
		} break;
		case mirth_def_Def_Module: {
			uint64_t v13 = mtp_mirth_def_Def_Module(in_Def_2);
			struct mirth_mirth_zaMirth* v14;
			struct mirth_name_QName* v15 = mw_mirth_module_Module_qname(in_zaMirth_1, v13, &v14);
			branch_QName_6 = v15;
			branch_zaMirth_5 = v14;
		} break;
		case mirth_def_Def_Buffer: {
			uint64_t v16 = mtp_mirth_def_Def_Buffer(in_Def_2);
			struct mirth_mirth_zaMirth* v17;
			struct mirth_name_QName* v18 = mw_mirth_buffer_Buffer_qnamezehard(in_zaMirth_1, v16, &v17);
			branch_QName_6 = v18;
			branch_zaMirth_5 = v17;
		} break;
		case mirth_def_Def_Prim: {
			enum mirth_prim_Prim v19 = mtp_mirth_def_Def_Prim(in_Def_2);
			struct mirth_mirth_zaMirth* v20;
			struct mirth_name_QName* v21 = mw_mirth_prim_Prim_qname(in_zaMirth_1, v19, &v20);
			branch_QName_6 = v21;
			branch_zaMirth_5 = v20;
		} break;
		case mirth_def_Def_Data: {
			uint64_t v22 = mtp_mirth_def_Def_Data(in_Def_2);
			struct mirth_mirth_zaMirth* v23;
			struct mirth_name_QName* v24 = mw_mirth_data_Data_qnamezehard(in_zaMirth_1, v22, &v23);
			branch_QName_6 = v24;
			branch_zaMirth_5 = v23;
		} break;
		case mirth_def_Def_Table: {
			uint64_t v25 = mtp_mirth_def_Def_Table(in_Def_2);
			struct mirth_mirth_zaMirth* v26;
			struct mirth_name_QName* v27 = mw_mirth_table_Table_qnamezehard(in_zaMirth_1, v25, &v26);
			branch_QName_6 = v27;
			branch_zaMirth_5 = v26;
		} break;
		case mirth_def_Def_Type: {
			uint64_t v28 = mtp_mirth_def_Def_Type(in_Def_2);
			struct mirth_mirth_zaMirth* v29;
			struct mirth_name_QName* v30 = mw_mirth_typedef_TypeDef_qnamezehard(in_zaMirth_1, v28, &v29);
			branch_QName_6 = v30;
			branch_zaMirth_5 = v29;
		} break;
		case mirth_def_Def_External: {
			uint64_t v31 = mtp_mirth_def_Def_External(in_Def_2);
			struct mirth_mirth_zaMirth* v32;
			struct mirth_name_QName* v33 = mw_mirth_external_External_qnamezehard(in_zaMirth_1, v31, &v32);
			branch_QName_6 = v33;
			branch_zaMirth_5 = v32;
		} break;
		case mirth_def_Def_Word: {
			uint64_t v34 = mtp_mirth_def_Def_Word(in_Def_2);
			struct mirth_mirth_zaMirth* v35;
			struct mirth_name_QName* v36 = mw_mirth_word_Word_qnamezehard(in_zaMirth_1, v34, &v35);
			branch_QName_6 = v36;
			branch_zaMirth_5 = v35;
		} break;
		case mirth_def_Def_Field: {
			uint64_t v37 = mtp_mirth_def_Def_Field(in_Def_2);
			struct mirth_mirth_zaMirth* v38;
			struct mirth_name_QName* v39 = mw_mirth_table_Field_qnamezehard(in_zaMirth_1, v37, &v38);
			branch_QName_6 = v39;
			branch_zaMirth_5 = v38;
		} break;
		case mirth_def_Def_Tag: {
			uint64_t v40 = mtp_mirth_def_Def_Tag(in_Def_2);
			struct mirth_mirth_zaMirth* v41;
			struct mirth_name_QName* v42 = mw_mirth_data_Tag_qname(in_zaMirth_1, v40, &v41);
			branch_QName_6 = v42;
			branch_zaMirth_5 = v41;
		} break;
		case mirth_def_Def_Macro: {
			uint64_t v43 = mtp_mirth_def_Def_Macro(in_Def_2);
			struct mirth_mirth_zaMirth* v44;
			struct mirth_name_QName* v45 = mw_mirth_macro_Macro_qnamezehard(in_zaMirth_1, v43, &v44);
			branch_QName_6 = v45;
			branch_zaMirth_5 = v44;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_QName_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
cmpl $0xc, %esi
ja 0x2e966
movq %rcx, %rbx
movq %rdi, %r14
movl %esi, %eax
leaq 0xb3f88(%rip), %rcx     # 0xe2730
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e7c1
movq %rdx, %rdi
callq 0x5030
leaq 0x10e9d48(%rip), %rdi   # 0x1118510
jmp 0x2e939
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e7dd
movq %rdx, %rdi
callq 0x5030
leaq 0x10ea3ec(%rip), %rdi   # 0x1118bd0
jmp 0x2e939
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e7f9
movq %rdx, %rdi
callq 0x5030
leaq 0x10ea390(%rip), %rdi   # 0x1118b90
jmp 0x2e939
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e815
movq %rdx, %rdi
callq 0x5030
leaq 0x10ea3e4(%rip), %rdi   # 0x1118c00
jmp 0x2e939
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e831
movq %rdx, %rdi
callq 0x5030
leaq 0x10e9d08(%rip), %rdi   # 0x1118540
jmp 0x2e939
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e84d
movq %rdx, %rdi
callq 0x5030
leaq -0x28(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1511d
jmp 0x2e903
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e874
movq %rdx, %rdi
callq 0x5030
leaq 0x10ea305(%rip), %rdi   # 0x1118b80
jmp 0x2e939
movl 0x4(%rdx), %r15d
decl (%rdx)
jne 0x2e890
movq %rdx, %rdi
callq 0x5030
leaq -0x28(%rbp), %r12
movq %r14, %rdi
movl %r15d, %esi
movq %r12, %rdx
callq 0x151c2
jmp 0x2e903
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e8b4
movq %rdx, %rdi
callq 0x5030
leaq -0x28(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x15157
jmp 0x2e903
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e8d8
movq %rdx, %rdi
callq 0x5030
leaq 0x10ea2c1(%rip), %rdi   # 0x1118ba0
jmp 0x2e939
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e8f1
movq %rdx, %rdi
callq 0x5030
leaq -0x28(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1523d
movq (%r12), %rcx
jmp 0x2e956
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e919
movq %rdx, %rdi
callq 0x5030
leaq 0x10ea290(%rip), %rdi   # 0x1118bb0
jmp 0x2e939
movq 0x8(%rdx), %r15
decl (%rdx)
jne 0x2e932
movq %rdx, %rdi
callq 0x5030
leaq 0x10ea287(%rip), %rdi   # 0x1118bc0
movq %r15, %rsi
callq 0x13ff0
leaq -0x28(%rbp), %r15
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x1a972
movq (%r15), %rcx
movq %rcx, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xb5dce(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xb5dd3(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5