// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_Namespace_qnamezj
static void mw_mirth_name_Namespace_qnamezj (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_zaStr_2, struct mirth_name_Namespace in_Namespace_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, STR* *out_zaStr_5) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	STR* branch_zaStr_7;
	switch ((in_Namespace_3).tag) {
		case mirth_name_Namespace_Root: {
			STR* v8;
			STRLIT(v8, "<root>", 6);
			STR* v9;
			mw_std_str_zaStr_pushzestrzx(v8, in_zaStr_2, &v9);
			branch_zaStr_7 = v9;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		case mirth_name_Namespace_Package: {
			uint64_t v10 = mtp_mirth_name_Namespace_Package(in_Namespace_3);
			struct mirth_mirth_zaMirth* v11;
			STR* v12;
			mw_mirth_package_Package_namezj(in_zaMirth_1, in_zaStr_2, v10, &v11, &v12);
			branch_zaStr_7 = v12;
			branch_zaMirth_6 = v11;
		} break;
		case mirth_name_Namespace_Module: {
			uint64_t v13 = mtp_mirth_name_Namespace_Module(in_Namespace_3);
			struct mirth_mirth_zaMirth* v14;
			struct mirth_name_QName* v15 = mw_mirth_module_Module_qname(in_zaMirth_1, v13, &v14);
			struct mirth_mirth_zaMirth* v16;
			STR* v17;
			mw_mirth_name_QName_qnamezj(v14, in_zaStr_2, v15, &v16, &v17);
			branch_zaStr_7 = v17;
			branch_zaMirth_6 = v16;
		} break;
		case mirth_name_Namespace_Tycon: {
			struct mirth_tycon_Tycon v18 = mtp_mirth_name_Namespace_Tycon(in_Namespace_3);
			struct mirth_mirth_zaMirth* v19;
			struct mirth_name_QName* v20 = mw_mirth_tycon_Tycon_qnamezehard(in_zaMirth_1, v18, &v19);
			struct mirth_mirth_zaMirth* v21;
			STR* v22;
			mw_mirth_name_QName_qnamezj(v19, in_zaStr_2, v20, &v21, &v22);
			branch_zaStr_7 = v22;
			branch_zaMirth_6 = v21;
		} break;
		case mirth_name_Namespace_Word: {
			uint64_t v23 = mtp_mirth_name_Namespace_Word(in_Namespace_3);
			struct mirth_mirth_zaMirth* v24;
			struct mirth_name_QName* v25 = mw_mirth_word_Word_qnamezehard(in_zaMirth_1, v23, &v24);
			struct mirth_mirth_zaMirth* v26;
			STR* v27;
			mw_mirth_name_QName_qnamezj(v24, in_zaStr_2, v25, &v26, &v27);
			branch_zaStr_7 = v27;
			branch_zaMirth_6 = v26;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaStr_5 = branch_zaStr_7;
	*out_zaMirth_4 = branch_zaMirth_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x4, %edx
ja 0x1a20c
movq %r9, %r14
movq %r8, %r13
movq %rsi, %r15
movq %rdi, %r12
movl %edx, %eax
leaq 0xc8337(%rip), %rdx     # 0xe23bc
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
cmpq $0x0, 0x10feb82(%rip)   # 0x1118c18
jne 0x1a0be
movl $0x6, %edi
callq 0xf9f7
movq $0x6, 0x10(%rax)
movl $0x6f6f723c, 0x18(%rax) # imm = 0x6F6F723C
movw $0x3e74, 0x1c(%rax)     # imm = 0x3E74
movq %rax, 0x10feb5a(%rip)   # 0x1118c18
movq 0x10feb53(%rip), %rsi   # 0x1118c18
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x1a0e2
incl (%rax)
movq %r15, %rdi
callq 0xe43c
jmp 0x1a1f6
movq %r13, -0x38(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x1a103
movq %rcx, %rdi
callq 0x5030
leaq 0x10feab6(%rip), %rdi   # 0x1118bc0
movq %r13, %rsi
callq 0x13ff0
leaq -0x30(%rbp), %rbx
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1a972
movq (%rbx), %rdi
leaq -0x40(%rbp), %r12
jmp 0x1a15e
movq %r13, -0x38(%rbp)
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x1a141
movq %rcx, %rdi
callq 0x5030
leaq -0x30(%rbp), %rbx
movq %r12, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x15157
movq (%rbx), %rdi
leaq -0x40(%rbp), %rbx
leaq -0x48(%rbp), %r12
movq %r15, %rsi
movq %rax, %rdx
movq %rbx, %rcx
movq %r12, %r8
callq 0x14ddb
movq (%r12), %rax
movq (%rbx), %r12
movq -0x38(%rbp), %r13
jmp 0x1a1f6
movq %rcx, %rdi
callq 0x19ee8
leaq -0x30(%rbp), %rbx
movq %r12, %rdi
movl %eax, %esi
movq %rbx, %rcx
callq 0x1a2ad
movq (%rbx), %rdi
leaq -0x40(%rbp), %rbx
leaq -0x48(%rbp), %r12
movq %r15, %rsi
movq %rax, %rdx
movq %rbx, %rcx
movq %r12, %r8
callq 0x14ddb
movq (%r12), %rax
movq (%rbx), %r12
jmp 0x1a1f6
movq %r13, %rbx
movq 0x8(%rcx), %r13
decl (%rcx)
jne 0x1a1cd
movq %rcx, %rdi
callq 0x5030
leaq -0x30(%rbp), %rax
leaq -0x40(%rbp), %r8
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %rax, %r15
movq %rax, %rcx
movq %r8, %r12
callq 0x1a23c
movq (%r12), %rax
movq (%r15), %r12
movq %rbx, %r13
movq %rax, (%r14)
movq %r12, (%r13)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xca528(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xca52d(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5