// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_Namespace_modulezy
static struct std_maybe_Maybe_1 mw_mirth_name_Namespace_modulezy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_name_Namespace in_Namespace_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_Namespace_2).tag) {
		case mirth_name_Namespace_Root: {
			struct std_maybe_Maybe_1 v7 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v7;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_name_Namespace_Package: {
			uint64_t v8 = mtp_mirth_name_Namespace_Package(in_Namespace_2);
			struct std_maybe_Maybe_1 v9 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v9;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_name_Namespace_Module: {
			uint64_t v10 = mtp_mirth_name_Namespace_Module(in_Namespace_2);
			struct std_maybe_Maybe_1 v11 = mtw_std_maybe_Maybe_1_Some(MK_mirth_module_Module(v10));
			branch_Maybe_6 = v11;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
		case mirth_name_Namespace_Tycon: {
			struct mirth_tycon_Tycon v12 = mtp_mirth_name_Namespace_Tycon(in_Namespace_2);
			struct mirth_mirth_zaMirth* v13;
			struct mirth_name_QName* v14 = mw_mirth_tycon_Tycon_qnamezehard(in_zaMirth_1, v12, &v13);
			struct mirth_name_Namespace v15 = v14->mnamespace;
			incref(MK_mirth_name_Namespace(v15));
			decref(MK_mirth_name_QName(v14));
			struct mirth_mirth_zaMirth* v16;
			struct std_maybe_Maybe_1 v17 = mw_mirth_name_Namespace_modulezy(v13, v15, &v16);
			branch_Maybe_6 = v17;
			branch_zaMirth_5 = v16;
		} break;
		case mirth_name_Namespace_Word: {
			uint64_t v18 = mtp_mirth_name_Namespace_Word(in_Namespace_2);
			struct std_maybe_Maybe_1 v19 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v19;
			branch_zaMirth_5 = in_zaMirth_1;
		} 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 $0x180, %rsp            # imm = 0x180
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0x180(%rbp)
subq $0x4, %rax
ja 0x1f2c57
movq -0x180(%rbp), %rax
leaq 0x1603dc(%rip), %rcx    # 0x352c88
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x48(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x48(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1f2c70
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x59cf0
movq %rax, -0x50(%rbp)
leaq -0x60(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x60(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1f2c70
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x59d40
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x19f747(%rip), %rax    # 0x392088
movq %rax, -0x80(%rbp)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0xca10
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1f2c70
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x59d90
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x28(%rbp), %rdi
movl -0x98(%rbp), %esi
movq -0x90(%rbp), %rdx
leaq -0xa0(%rbp), %rcx
callq 0x5b0b0
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq 0x8(%rax), %rcx
movq %rcx, -0xb8(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0xb0(%rbp)
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x59830
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f2aa8
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x59830
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
cmpq $0x0, %rax
je 0x1f2aa8
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x59830
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f2aa8
movl -0xb8(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x59830
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1f2aaa
jmp 0x1f2aac
movq -0xa8(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x19ed0f(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f2bbf
movq -0xa8(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x19ecda(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
cmpq $0x0, %rax
je 0x1f2bbf
movq -0xa8(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x19ec9f(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f2bbf
movq -0xa8(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x19ec6e(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1f2bbd
movq -0xa8(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq 0x19ec31(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0x127c0
jmp 0x1f2bbf
jmp 0x1f2bc1
movq -0xa0(%rbp), %rdi
movl -0xb8(%rbp), %esi
movq -0xb0(%rbp), %rdx
leaq -0x150(%rbp), %rcx
callq 0x1f2870
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 0x1f2c70
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x5a3f0
movq %rax, -0x168(%rbp)
leaq -0x178(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x178(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x1f2c70
leaq 0x161223(%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 $0x180, %rsp            # imm = 0x180
popq %rbp
retq
nopl (%rax,%rax)