// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_def_Def_qnamezesoft
static struct std_maybe_Maybe_1 mw_mirth_def_Def_qnamezesoft (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 std_maybe_Maybe_1 branch_Maybe_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 std_maybe_Maybe_1 v9 = mw_mirth_alias_Alias_qnamezesoft(in_zaMirth_1, v7, &v8);
			branch_Maybe_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);
			struct std_maybe_Maybe_1 v13 = mtw_std_maybe_Maybe_1_Some(MK_mirth_name_QName(v12));
			branch_Maybe_6 = v13;
			branch_zaMirth_5 = v11;
		} break;
		case mirth_def_Def_Module: {
			uint64_t v14 = mtp_mirth_def_Def_Module(in_Def_2);
			struct mirth_mirth_zaMirth* v15;
			struct mirth_name_QName* v16 = mw_mirth_module_Module_qname(in_zaMirth_1, v14, &v15);
			struct std_maybe_Maybe_1 v17 = mtw_std_maybe_Maybe_1_Some(MK_mirth_name_QName(v16));
			branch_Maybe_6 = v17;
			branch_zaMirth_5 = v15;
		} break;
		case mirth_def_Def_Buffer: {
			uint64_t v18 = mtp_mirth_def_Def_Buffer(in_Def_2);
			struct mirth_mirth_zaMirth* v19;
			struct std_maybe_Maybe_1 v20 = mw_mirth_buffer_Buffer_qnamezesoft(in_zaMirth_1, v18, &v19);
			branch_Maybe_6 = v20;
			branch_zaMirth_5 = v19;
		} break;
		case mirth_def_Def_Prim: {
			enum mirth_prim_Prim v21 = mtp_mirth_def_Def_Prim(in_Def_2);
			struct mirth_mirth_zaMirth* v22;
			struct mirth_name_QName* v23 = mw_mirth_prim_Prim_qname(in_zaMirth_1, v21, &v22);
			struct std_maybe_Maybe_1 v24 = mtw_std_maybe_Maybe_1_Some(MK_mirth_name_QName(v23));
			branch_Maybe_6 = v24;
			branch_zaMirth_5 = v22;
		} break;
		case mirth_def_Def_Data: {
			uint64_t v25 = mtp_mirth_def_Def_Data(in_Def_2);
			struct mirth_mirth_zaMirth* v26;
			struct std_maybe_Maybe_1 v27 = mw_mirth_data_Data_qnamezesoft(in_zaMirth_1, v25, &v26);
			branch_Maybe_6 = v27;
			branch_zaMirth_5 = v26;
		} break;
		case mirth_def_Def_Table: {
			uint64_t v28 = mtp_mirth_def_Def_Table(in_Def_2);
			struct mirth_mirth_zaMirth* v29;
			struct std_maybe_Maybe_1 v30 = mw_mirth_table_Table_qnamezesoft(in_zaMirth_1, v28, &v29);
			branch_Maybe_6 = v30;
			branch_zaMirth_5 = v29;
		} break;
		case mirth_def_Def_Type: {
			uint64_t v31 = mtp_mirth_def_Def_Type(in_Def_2);
			struct mirth_mirth_zaMirth* v32;
			struct std_maybe_Maybe_1 v33 = mw_mirth_typedef_TypeDef_qnamezesoft(in_zaMirth_1, v31, &v32);
			branch_Maybe_6 = v33;
			branch_zaMirth_5 = v32;
		} break;
		case mirth_def_Def_External: {
			uint64_t v34 = mtp_mirth_def_Def_External(in_Def_2);
			struct mirth_mirth_zaMirth* v35;
			struct std_maybe_Maybe_1 v36 = mw_mirth_external_External_qnamezesoft(in_zaMirth_1, v34, &v35);
			branch_Maybe_6 = v36;
			branch_zaMirth_5 = v35;
		} break;
		case mirth_def_Def_Word: {
			uint64_t v37 = mtp_mirth_def_Def_Word(in_Def_2);
			struct mirth_mirth_zaMirth* v38;
			struct std_maybe_Maybe_1 v39 = mw_mirth_word_Word_qnamezesoft(in_zaMirth_1, v37, &v38);
			branch_Maybe_6 = v39;
			branch_zaMirth_5 = v38;
		} break;
		case mirth_def_Def_Field: {
			uint64_t v40 = mtp_mirth_def_Def_Field(in_Def_2);
			struct mirth_mirth_zaMirth* v41;
			struct std_maybe_Maybe_1 v42 = mw_mirth_table_Field_qnamezesoft(in_zaMirth_1, v40, &v41);
			branch_Maybe_6 = v42;
			branch_zaMirth_5 = v41;
		} break;
		case mirth_def_Def_Tag: {
			uint64_t v43 = mtp_mirth_def_Def_Tag(in_Def_2);
			struct mirth_mirth_zaMirth* v44;
			struct mirth_name_QName* v45 = mw_mirth_data_Tag_qname(in_zaMirth_1, v43, &v44);
			struct std_maybe_Maybe_1 v46 = mtw_std_maybe_Maybe_1_Some(MK_mirth_name_QName(v45));
			branch_Maybe_6 = v46;
			branch_zaMirth_5 = v44;
		} break;
		case mirth_def_Def_Macro: {
			uint64_t v47 = mtp_mirth_def_Def_Macro(in_Def_2);
			struct mirth_mirth_zaMirth* v48;
			struct std_maybe_Maybe_1 v49 = mw_mirth_macro_Macro_qnamezesoft(in_zaMirth_1, v47, &v48);
			branch_Maybe_6 = v49;
			branch_zaMirth_5 = v48;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_Maybe_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0x240(%rbp)
subq $0xc, %rax
ja 0x444a8
movq -0x240(%rbp), %rax
leaq 0x30d27c(%rip), %rcx    # 0x3511b8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45300
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x45350
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x453c0
movq %rax, -0x60(%rbp)
movq -0x28(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x45410
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x34d80f(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0xca10
movl %eax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45490
movq %rax, -0x98(%rbp)
movq -0x28(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
callq 0x454e0
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x34d787(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0xca10
movl %eax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45570
movq %rax, -0xd0(%rbp)
movq -0x28(%rbp), %rdi
movq -0xd0(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x455c0
movl %eax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45620
movl %eax, -0xec(%rbp)
movq -0x28(%rbp), %rdi
movl -0xec(%rbp), %esi
leaq -0xf8(%rbp), %rdx
callq 0x45660
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x34d695(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
callq 0xca10
movl %eax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x456e0
movq %rax, -0x128(%rbp)
movq -0x28(%rbp), %rdi
movq -0x128(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x45730
movl %eax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x457a0
movq %rax, -0x148(%rbp)
movq -0x28(%rbp), %rdi
movq -0x148(%rbp), %rsi
leaq -0x150(%rbp), %rdx
callq 0x457f0
movl %eax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45860
movq %rax, -0x168(%rbp)
movq -0x28(%rbp), %rdi
movq -0x168(%rbp), %rsi
leaq -0x170(%rbp), %rdx
callq 0x458b0
movl %eax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45920
movq %rax, -0x188(%rbp)
movq -0x28(%rbp), %rdi
movq -0x188(%rbp), %rsi
leaq -0x190(%rbp), %rdx
callq 0x45970
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x459e0
movq %rax, -0x1a8(%rbp)
movq -0x28(%rbp), %rdi
movq -0x1a8(%rbp), %rsi
leaq -0x1b0(%rbp), %rdx
callq 0x45a30
movl %eax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1b8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45aa0
movq %rax, -0x1c8(%rbp)
movq -0x28(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
leaq -0x1d0(%rbp), %rdx
callq 0x45af0
movl %eax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1d8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1d0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45b60
movq %rax, -0x1e8(%rbp)
movq -0x28(%rbp), %rdi
movq -0x1e8(%rbp), %rsi
leaq -0x1f0(%rbp), %rdx
callq 0x45bb0
movq %rax, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x218(%rbp)
leaq 0x34d3d0(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x210(%rbp)
movq -0x218(%rbp), %rdi
movq -0x210(%rbp), %rsi
callq 0xca10
movl %eax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movq -0x208(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x200(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x45c40
movq %rax, -0x220(%rbp)
movq -0x28(%rbp), %rdi
movq -0x220(%rbp), %rsi
leaq -0x228(%rbp), %rdx
callq 0x45c90
movl %eax, -0x238(%rbp)
movq %rdx, -0x230(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x230(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x228(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x444c1
leaq 0x30f9d2(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
nopl (%rax)