// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_elabzeqnamezefromzenonrelativezedname
static struct mirth_name_QName* mw_mirth_elab_elabzeqnamezefromzenonrelativezedname (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_name_DName* in_DName_3, INT in_Int_4, struct mirth_mirth_zaMirth* *out_zaMirth_5) {
	incref(MK_mirth_name_DName(in_DName_3));
	struct std_either_Either_2 v7 = mtw_std_either_Either_2_Right(MK_mirth_name_DName(in_DName_3));
	incref(MK_mirth_name_DName(in_DName_3));
	struct std_maybe_Maybe_1 v8 = mw_mirth_name_DName_rootzy(in_DName_3);
	int64_t v9 = (v8).tag;
	decref(MK_std_maybe_Maybe_1(v8));
	INT v10 = WRAP_I63(0LL);
	INT v11 = v10;
	INT v12 = i64_to_int(v9);
	bool v13 = int_eq(v12, v11);
	bool v14 = !v13;
	struct mirth_mirth_zaMirth* branch_zaMirth_15;
	uint64_t branch_Token_16;
	VAL branch_zux1_17;
	if (v14) {
		branch_zux1_17 = MK_mirth_name_DName(in_DName_3);
		branch_Token_16 = in_Token_2;
		branch_zaMirth_15 = in_zaMirth_1;
	} else {
		decref(MK_mirth_name_DName(in_DName_3));
		STR* v18;
		STRLIT(v18, "relative name not allowed", 25);
		mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(in_zaMirth_1, in_Token_2, v18);
	}
	uint64_t v22 = mw_mirth_name_DName_lastzename(V_mirth_name_DName(branch_zux1_17));
	bool v23 = true;
	struct mirth_mirth_zaMirth* v24;
	struct std_maybe_Maybe_1 v25 = mw_mirth_elab_resolvezedefzenamespace(branch_zaMirth_15, branch_Token_16, v7, v23, &v24);
	struct mirth_mirth_zaMirth* v26;
	VAL v27 = mw_std_maybe_Maybe_1_unwrap_1_sp45(v24, v25, &v26);
	struct mirth_name_QName* v28 = mtw_mirth_name_QName_QName(V_mirth_name_Namespace(v27), v22, in_Int_4);
	*out_zaMirth_5 = v26;
	return v28;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x270, %rsp            # imm = 0x270
movq %rcx, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x2eb4ea(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa6a80
movq -0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x2eb4c5(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0xa6a80
movq -0x20(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x2eb49a(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa6a80
movq -0x20(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x2eb475(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xa6a82
movq -0x20(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x2eb444(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0x73fe0
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x2eb413(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa6b7c
movq -0x20(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x2eb3e1(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
cmpq $0x0, %rax
je 0xa6b7c
movq -0x20(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x2eb3ad(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa6b7c
movq -0x20(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x2eb37f(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xa6b7e
movq -0x20(%rbp), %rdi
callq 0x8aae0
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movl -0xd8(%rbp), %eax
movq %rax, -0xe0(%rbp)
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x133a0
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa6cb4
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rax
cmpq $0x0, %rax
je 0xa6cb4
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa6cb4
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xa6cb2
movl -0xd8(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x133a0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0x127c0
jmp 0xa6cb4
jmp 0xa6cb6
movq 0x2c7d93(%rip), %rax    # 0x36ea50
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0xe0(%rbp), %rdi
callq 0x1a290
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0x149(%rbp)
movb -0x149(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x14a(%rbp)
testb $0x1, -0x14a(%rbp)
je 0xa6d6d
movq -0x20(%rbp), %rax
movq %rax, -0x180(%rbp)
leaq 0x2eb1ad(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x178(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x158(%rbp)
jmp 0xa6f94
jmp 0xa6d6f
movq -0x20(%rbp), %rax
movq %rax, -0x190(%rbp)
leaq 0x2eb157(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x188(%rbp)
movq -0x188(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa6e73
movq -0x20(%rbp), %rax
movq %rax, -0x1a0(%rbp)
leaq 0x2eb125(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x198(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a0(%rbp), %rax
cmpq $0x0, %rax
je 0xa6e73
movq -0x20(%rbp), %rax
movq %rax, -0x1b0(%rbp)
leaq 0x2eb0ed(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x1a8(%rbp)
movq -0x1b0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa6e73
movq -0x20(%rbp), %rax
movq %rax, -0x1c0(%rbp)
leaq 0x2eb0bf(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x1b8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1c0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xa6e71
movq -0x20(%rbp), %rax
movq %rax, -0x1d0(%rbp)
leaq 0x2eb085(%rip), %rax    # 0x391ed8
orq $0x1, %rax
movq %rax, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rdi
movq -0x1c8(%rbp), %rsi
callq 0x127c0
jmp 0xa6e73
jmp 0xa6e75
jmp 0xa6e77
cmpq $0x0, 0x12ee901(%rip)   # 0x1395780
jne 0xa6e99
leaq 0x2b1485(%rip), %rdi    # 0x35830d
movl $0x19, %esi
callq 0xb6c0
movq %rax, 0x12ee8e7(%rip)   # 0x1395780
jmp 0xa6e9b
movq 0x12ee8de(%rip), %rax   # 0x1395780
movq %rax, -0x1e8(%rbp)
leaq 0x2ea2a8(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa6f70
movq 0x12ee8a9(%rip), %rax   # 0x1395780
movq %rax, -0x1f8(%rbp)
leaq 0x2ea273(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x1f0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1f8(%rbp), %rax
cmpq $0x0, %rax
je 0xa6f70
movq 0x12ee872(%rip), %rax   # 0x1395780
movq %rax, -0x208(%rbp)
leaq 0x2ea23c(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x200(%rbp)
movq -0x208(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa6f70
movq 0x12ee841(%rip), %rax   # 0x1395780
movq %rax, -0x218(%rbp)
leaq 0x2ea20b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x210(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x218(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xa6f72
movq 0x12ee807(%rip), %rax   # 0x1395780
movq %rax, -0x1d8(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x1d8(%rbp), %rdx
callq 0x76b70
movq -0x170(%rbp), %rdi
callq 0x85900
movq %rax, -0x220(%rbp)
movb $0x1, -0x221(%rbp)
movq -0x158(%rbp), %rdi
movq -0x160(%rbp), %rsi
movb -0x221(%rbp), %al
movl -0x78(%rbp), %edx
movq -0x70(%rbp), %rcx
leaq -0x230(%rbp), %r9
andb $0x1, %al
movzbl %al, %r8d
callq 0x7bd90
movl %eax, -0x240(%rbp)
movq %rdx, -0x238(%rbp)
movq -0x230(%rbp), %rdi
movl -0x240(%rbp), %esi
movq -0x238(%rbp), %rdx
leaq -0x248(%rbp), %rcx
callq 0xa7b40
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movq -0x258(%rbp), %rdi
movq -0x250(%rbp), %rsi
callq 0x59ad0
movl %eax, -0x270(%rbp)
movq %rdx, -0x268(%rbp)
movq -0x220(%rbp), %rdx
movl -0x270(%rbp), %edi
movq -0x268(%rbp), %rsi
movq -0x8(%rbp), %rcx
callq 0x470f0
movq %rax, -0x260(%rbp)
movq -0x248(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x260(%rbp), %rax
addq $0x270, %rsp            # imm = 0x270
popq %rbp
retq
nopl (%rax,%rax)