// File: /workspace/github_c_makefile_star2_O0/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
subq $0x130, %rsp            # imm = 0x130
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x10(%rbp), %eax
movq %rax, -0x130(%rbp)
subq $0x4, %rax
ja 0x5a8af
movq -0x130(%rbp), %rax
leaq 0x2f7018(%rip), %rcx    # 0x3515fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x5a5ef
cmpq $0x0, 0x133a761(%rip)   # 0x1394d58
jne 0x5a611
leaq 0x2fc6a3(%rip), %rdi    # 0x356ca3
movl $0x6, %esi
callq 0xb6c0
movq %rax, 0x133a747(%rip)   # 0x1394d58
jmp 0x5a613
movq 0x133a73e(%rip), %rax   # 0x1394d58
movq %rax, -0x58(%rbp)
leaq 0x336b33(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x5a6ca
movq 0x133a712(%rip), %rax   # 0x1394d58
movq %rax, -0x68(%rbp)
leaq 0x336b07(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
cmpq $0x0, %rax
je 0x5a6ca
movq 0x133a6e4(%rip), %rax   # 0x1394d58
movq %rax, -0x78(%rbp)
leaq 0x336ad9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x5a6ca
movq 0x133a6bc(%rip), %rax   # 0x1394d58
movq %rax, -0x88(%rbp)
leaq 0x336aae(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x5a6cc
movq 0x133a685(%rip), %rax   # 0x1394d58
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0xb940
movq -0x90(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a8c8
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59cf0
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x98(%rbp), %rdx
leaq -0xa0(%rbp), %rcx
leaq -0xa8(%rbp), %r8
callq 0x5b040
movq -0xa8(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a8c8
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59d40
movq %rax, -0xb0(%rbp)
movq -0x18(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x454e0
movq %rax, -0xc0(%rbp)
movq -0xb8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0xc0(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
leaq -0xd0(%rbp), %r8
callq 0x44650
movq -0xd0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a8c8
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x59d90
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0x18(%rbp), %rdi
movl -0xe0(%rbp), %esi
movq -0xd8(%rbp), %rdx
leaq -0xe8(%rbp), %rcx
callq 0x5b0b0
movq %rax, -0xf0(%rbp)
movq -0xe8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0xf0(%rbp), %rdx
leaq -0xf8(%rbp), %rcx
leaq -0x100(%rbp), %r8
callq 0x44650
movq -0x100(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a8c8
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x5a3f0
movq %rax, -0x108(%rbp)
movq -0x18(%rbp), %rdi
movq -0x108(%rbp), %rsi
leaq -0x110(%rbp), %rdx
callq 0x5b1d0
movq %rax, -0x118(%rbp)
movq -0x110(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x118(%rbp), %rdx
leaq -0x120(%rbp), %rcx
leaq -0x128(%rbp), %r8
callq 0x44650
movq -0x128(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x5a8c8
leaq 0x2f95cb(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopw (%rax,%rax)