// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_defzeiszeimportedzeatzetokenzy
static bool mw_mirth_elab_defzeiszeimportedzeatzetokenzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_def_Def in_Def_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	incref(MK_mirth_def_Def(in_Def_3));
	struct mirth_mirth_zaMirth* v6;
	struct mirth_name_QName* v7 = mw_mirth_def_Def_qnamezehard(in_zaMirth_1, in_Def_3, &v6);
	struct mirth_name_Namespace v8 = v7->mnamespace;
	incref(MK_mirth_name_Namespace(v8));
	decref(MK_mirth_name_QName(v7));
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	bool branch_Bool_10;
	switch ((v8).tag) {
		case mirth_name_Namespace_Root: {
			decref(MK_mirth_def_Def(in_Def_3));
			bool v11 = true;
			branch_Bool_10 = v11;
			branch_zaMirth_9 = v6;
		} break;
		case mirth_name_Namespace_Package: {
			uint64_t v12 = mtp_mirth_name_Namespace_Package(v8);
			decref(MK_mirth_def_Def(in_Def_3));
			bool v13 = true;
			branch_Bool_10 = v13;
			branch_zaMirth_9 = v6;
		} break;
		case mirth_name_Namespace_Module: {
			uint64_t v14 = mtp_mirth_name_Namespace_Module(v8);
			decref(MK_mirth_def_Def(in_Def_3));
			struct mirth_mirth_zaMirth* v15;
			bool v16 = mw_mirth_elab_modulezevisiblezefromzetokenzy(v6, in_Token_2, v14, &v15);
			branch_Bool_10 = v16;
			branch_zaMirth_9 = v15;
		} break;
		case mirth_name_Namespace_Tycon: {
			struct mirth_tycon_Tycon v17 = mtp_mirth_name_Namespace_Tycon(v8);
			struct mirth_mirth_zaMirth* v18;
			bool v19 = mw_mirth_elab_tyconzeiszevisiblezeatzetokenzy(v6, in_Token_2, v17, &v18);
			struct mirth_mirth_zaMirth* branch_zaMirth_20;
			bool branch_Bool_21;
			if (v19) {
				struct mirth_mirth_zaMirth* v22;
				bool v23 = mw_mirth_def_Def_punningzy(v18, in_Def_3, &v22);
				branch_Bool_21 = v23;
				branch_zaMirth_20 = v22;
			} else {
				decref(MK_mirth_def_Def(in_Def_3));
				bool v24 = false;
				branch_Bool_21 = v24;
				branch_zaMirth_20 = v18;
			}
			branch_Bool_10 = branch_Bool_21;
			branch_zaMirth_9 = branch_zaMirth_20;
		} break;
		case mirth_name_Namespace_Word: {
			uint64_t v25 = mtp_mirth_name_Namespace_Word(v8);
			decref(MK_mirth_def_Def(in_Def_3));
			bool v26 = false;
			branch_Bool_10 = v26;
			branch_zaMirth_9 = v6;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_4 = branch_zaMirth_9;
	return branch_Bool_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x350, %rsp            # imm = 0x350
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8d973
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0x8d973
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8d973
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x8d975
movq -0x18(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x70(%rbp), %rcx
callq 0x89230
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq 0x8(%rax), %rcx
movq %rcx, -0x88(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x80(%rbp)
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x59830
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x90(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8da6d
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x59830
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
cmpq $0x0, %rax
je 0x8da6d
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x59830
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8da6d
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x59830
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x8da6f
jmp 0x8da71
movq -0x78(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x303d4d(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movq -0xd0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8db75
movq -0x78(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x303d1b(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe8(%rbp), %rax
cmpq $0x0, %rax
je 0x8db75
movq -0x78(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x303ce3(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movq -0xf8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8db75
movq -0x78(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x303cb5(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x108(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x8db73
movq -0x78(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x303c7b(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movq -0x118(%rbp), %rdi
movq -0x110(%rbp), %rsi
callq 0x127c0
jmp 0x8db75
jmp 0x8db77
movl -0x88(%rbp), %eax
movq %rax, -0x348(%rbp)
subq $0x4, %rax
ja 0x8e243
movq -0x348(%rbp), %rax
leaq 0x2c3dd8(%rip), %rcx    # 0x351974
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x8dba7
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x130(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8dc9c
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
cmpq $0x0, %rax
je 0x8dc9c
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movq -0x158(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8dc9c
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x168(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x8dc9a
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movq -0x178(%rbp), %rdi
movq -0x170(%rbp), %rsi
callq 0x127c0
jmp 0x8dc9c
jmp 0x8dc9e
movb $0x1, -0x179(%rbp)
movb -0x179(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x8e25c
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x59cf0
movq %rax, -0x188(%rbp)
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8ddce
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a8(%rbp), %rax
cmpq $0x0, %rax
je 0x8ddce
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8ddce
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x8ddcc
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d8(%rbp), %rdi
movq -0x1d0(%rbp), %rsi
callq 0x127c0
jmp 0x8ddce
jmp 0x8ddd0
movb $0x1, -0x1d9(%rbp)
movb -0x1d9(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x8e25c
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x59d40
movq %rax, -0x1e8(%rbp)
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8df00
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x208(%rbp)
movq %rdx, -0x200(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x208(%rbp), %rax
cmpq $0x0, %rax
je 0x8df00
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x218(%rbp)
movq %rdx, -0x210(%rbp)
movq -0x218(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8df00
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x228(%rbp)
movq %rdx, -0x220(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x228(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x8defe
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x238(%rbp)
movq %rdx, -0x230(%rbp)
movq -0x238(%rbp), %rdi
movq -0x230(%rbp), %rsi
callq 0x127c0
jmp 0x8df00
jmp 0x8df02
movq -0x70(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x1e8(%rbp), %rdx
leaq -0x240(%rbp), %rcx
callq 0x8eb40
andb $0x1, %al
movb %al, -0x241(%rbp)
movb -0x241(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x240(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x8e25c
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x59d90
movl %eax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movq -0x70(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x258(%rbp), %edx
movq -0x250(%rbp), %rcx
leaq -0x260(%rbp), %r8
callq 0x8eba0
andb $0x1, %al
movb %al, -0x261(%rbp)
testb $0x1, -0x261(%rbp)
je 0x8dfd7
movq -0x260(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x280(%rbp), %rcx
callq 0x8ede0
andb $0x1, %al
movb %al, -0x281(%rbp)
movb -0x281(%rbp), %al
andb $0x1, %al
movb %al, -0x271(%rbp)
movq -0x280(%rbp), %rax
movq %rax, -0x270(%rbp)
jmp 0x8e0f3
jmp 0x8dfd9
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x298(%rbp)
movq %rdx, -0x290(%rbp)
movq -0x290(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8e0ce
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x2a8(%rbp)
movq %rdx, -0x2a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2a8(%rbp), %rax
cmpq $0x0, %rax
je 0x8e0ce
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x2b8(%rbp)
movq %rdx, -0x2b0(%rbp)
movq -0x2b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8e0ce
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x2c8(%rbp)
movq %rdx, -0x2c0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x2c8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x8e0cc
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x2d8(%rbp)
movq %rdx, -0x2d0(%rbp)
movq -0x2d8(%rbp), %rdi
movq -0x2d0(%rbp), %rsi
callq 0x127c0
jmp 0x8e0ce
jmp 0x8e0d0
movb $0x0, -0x2d9(%rbp)
movb -0x2d9(%rbp), %al
andb $0x1, %al
movb %al, -0x271(%rbp)
movq -0x260(%rbp), %rax
movq %rax, -0x270(%rbp)
movb -0x271(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x270(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x8e25c
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x5a3f0
movq %rax, -0x2e8(%rbp)
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x2f8(%rbp)
movq %rdx, -0x2f0(%rbp)
movq -0x2f0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x8e21f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x308(%rbp)
movq %rdx, -0x300(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x308(%rbp), %rax
cmpq $0x0, %rax
je 0x8e21f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x318(%rbp)
movq %rdx, -0x310(%rbp)
movq -0x318(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x8e21f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x328(%rbp)
movq %rdx, -0x320(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x328(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x8e21d
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x43ec0
movq %rax, -0x338(%rbp)
movq %rdx, -0x330(%rbp)
movq -0x338(%rbp), %rdi
movq -0x330(%rbp), %rsi
callq 0x127c0
jmp 0x8e21f
jmp 0x8e221
movb $0x0, -0x339(%rbp)
movb -0x339(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x8e25c
leaq 0x2c5c37(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x120(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movb -0x121(%rbp), %al
andb $0x1, %al
addq $0x350, %rsp            # imm = 0x350
popq %rbp
retq
nopl (%rax,%rax)