// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_Namespace_namezj
static void mw_mirth_name_Namespace_namezj (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;
			uint64_t v15 = mw_mirth_module_Module_name(in_zaMirth_1, v13, &v14);
			struct mirth_mirth_zaMirth* v16;
			STR* v17;
			mw_mirth_name_Name_namezj(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;
			uint64_t v20 = mw_mirth_tycon_Tycon_name(in_zaMirth_1, v18, &v19);
			struct mirth_mirth_zaMirth* v21;
			STR* v22;
			mw_mirth_name_Name_namezj(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;
			uint64_t v25 = mw_mirth_word_Word_name(in_zaMirth_1, v23, &v24);
			struct mirth_mirth_zaMirth* v26;
			STR* v27;
			mw_mirth_name_Name_namezj(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 0x98fbf
movq -0x130(%rbp), %rax
leaq 0x2b8ce8(%rip), %rcx    # 0x3519dc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x98cff
cmpq $0x0, 0x12fc9a1(%rip)   # 0x13956a8
jne 0x98d21
leaq 0x2bdf93(%rip), %rdi    # 0x356ca3
movl $0x6, %esi
callq 0xb6c0
movq %rax, 0x12fc987(%rip)   # 0x13956a8
jmp 0x98d23
movq 0x12fc97e(%rip), %rax   # 0x13956a8
movq %rax, -0x58(%rbp)
leaq 0x2f8423(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x98dda
movq 0x12fc952(%rip), %rax   # 0x13956a8
movq %rax, -0x68(%rbp)
leaq 0x2f83f7(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
cmpq $0x0, %rax
je 0x98dda
movq 0x12fc924(%rip), %rax   # 0x13956a8
movq %rax, -0x78(%rbp)
leaq 0x2f83c9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x98dda
movq 0x12fc8fc(%rip), %rax   # 0x13956a8
movq %rax, -0x88(%rbp)
leaq 0x2f839e(%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 0x98ddc
movq 0x12fc8c5(%rip), %rax   # 0x13956a8
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 0x98fd8
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 0x98fd8
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 0x47270
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 0x5b230
movq -0xd0(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x98fd8
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 0x90010
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 0x5b230
movq -0x100(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x98fd8
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 0x645a0
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 0x5b230
movq -0x128(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x98fd8
leaq 0x2baebb(%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)