// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_def_Def_name
static uint64_t mw_mirth_def_Def_name (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;
	uint64_t branch_Name_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;
			uint64_t v9 = mw_mirth_alias_Alias_name(in_zaMirth_1, v7, &v8);
			branch_Name_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;
			uint64_t v12 = mw_mirth_package_Package_name(in_zaMirth_1, v10, &v11);
			branch_Name_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;
			uint64_t v15 = mw_mirth_module_Module_name(in_zaMirth_1, v13, &v14);
			branch_Name_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;
			uint64_t v18 = mw_mirth_buffer_Buffer_name(in_zaMirth_1, v16, &v17);
			branch_Name_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;
			uint64_t v21 = mw_mirth_prim_Prim_name(in_zaMirth_1, v19, &v20);
			branch_Name_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;
			uint64_t v24 = mw_mirth_data_Data_name(in_zaMirth_1, v22, &v23);
			branch_Name_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;
			uint64_t v27 = mw_mirth_table_Table_name(in_zaMirth_1, v25, &v26);
			branch_Name_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;
			uint64_t v30 = mw_mirth_typedef_TypeDef_name(in_zaMirth_1, v28, &v29);
			branch_Name_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;
			uint64_t v33 = mw_mirth_external_External_name(in_zaMirth_1, v31, &v32);
			branch_Name_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;
			uint64_t v36 = mw_mirth_word_Word_name(in_zaMirth_1, v34, &v35);
			branch_Name_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;
			uint64_t v39 = mw_mirth_table_Field_name(in_zaMirth_1, v37, &v38);
			branch_Name_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;
			uint64_t v42 = mw_mirth_data_Tag_name(in_zaMirth_1, v40, &v41);
			branch_Name_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;
			uint64_t v45 = mw_mirth_macro_Macro_name(in_zaMirth_1, v43, &v44);
			branch_Name_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_Name_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl -0x10(%rbp), %eax
movq %rax, -0x170(%rbp)
subq $0xc, %rax
ja 0x44e9d
movq -0x170(%rbp), %rax
leaq 0x30c6f0(%rip), %rcx    # 0x3511ec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45300
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rdi
movq -0x38(%rbp), %rsi
leaq -0x40(%rbp), %rdx
callq 0x64370
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x453c0
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x47060
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45490
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0x70(%rbp), %rdx
callq 0x47270
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45570
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rdi
movq -0x80(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x643c0
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45620
movl %eax, -0x94(%rbp)
movq -0x18(%rbp), %rdi
movl -0x94(%rbp), %esi
leaq -0xa0(%rbp), %rdx
callq 0x64410
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x456e0
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x64460
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x457a0
movq %rax, -0xc8(%rbp)
movq -0x18(%rbp), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x644b0
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45860
movq %rax, -0xe0(%rbp)
movq -0x18(%rbp), %rdi
movq -0xe0(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0x64500
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45920
movq %rax, -0xf8(%rbp)
movq -0x18(%rbp), %rdi
movq -0xf8(%rbp), %rsi
leaq -0x100(%rbp), %rdx
callq 0x64550
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x459e0
movq %rax, -0x110(%rbp)
movq -0x18(%rbp), %rdi
movq -0x110(%rbp), %rsi
leaq -0x118(%rbp), %rdx
callq 0x645a0
movq %rax, -0x120(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45aa0
movq %rax, -0x128(%rbp)
movq -0x18(%rbp), %rdi
movq -0x128(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x645f0
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45b60
movq %rax, -0x140(%rbp)
movq -0x18(%rbp), %rdi
movq -0x140(%rbp), %rsi
leaq -0x148(%rbp), %rdx
callq 0x57920
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x45c40
movq %rax, -0x158(%rbp)
movq -0x18(%rbp), %rdi
movq -0x158(%rbp), %rsi
leaq -0x160(%rbp), %rdx
callq 0x64640
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x28(%rbp)
jmp 0x44eb6
leaq 0x30efdd(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x28(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
nop