// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_name_QName_mangledzj
static void mw_mirth_name_QName_mangledzj (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_zaStr_2, struct mirth_name_QName* in_QName_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, STR* *out_zaStr_5) {
	struct mirth_name_Namespace v6;
	uint64_t v7;
	INT v8;
	mtp_mirth_name_QName_QName(in_QName_3, &v6, &v7, &v8);
	struct mirth_mirth_zaMirth* v9;
	STR* v10;
	mw_mirth_name_Namespace_mangledzj(in_zaMirth_1, in_zaStr_2, v6, &v9, &v10);
	STR* v11;
	STRLIT(v11, "_", 1);
	STR* v12;
	mw_std_str_zaStr_pushzestrzx(v11, v10, &v12);
	struct mirth_mirth_zaMirth* v13;
	STR* v14;
	mw_mirth_name_Name_mangledzj(v9, v12, v7, &v13, &v14);
	incref(MKINT(v8));
	INT v15 = WRAP_I63(0LL);
	INT v16 = v15;
	bool v17 = int_lt(v16, v8);
	struct mirth_mirth_zaMirth* branch_zaMirth_18;
	STR* branch_zaStr_19;
	if (v17) {
		STR* v20;
		STRLIT(v20, "_", 1);
		STR* v21;
		mw_std_str_zaStr_pushzestrzx(v20, v14, &v21);
		STR* v22 = int_to_str(v8);
		STR* v23;
		mw_std_str_zaStr_pushzestrzx(v22, v21, &v23);
		branch_zaStr_19 = v23;
		branch_zaMirth_18 = v13;
	} else {
		decref(MKINT(v8));
		branch_zaStr_19 = v14;
		branch_zaMirth_18 = v13;
	}
	*out_zaStr_5 = branch_zaStr_19;
	*out_zaMirth_4 = branch_zaMirth_18;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, -0x48(%rbp)
movq %rcx, %rbx
movq %rdx, %rax
movq %rsi, %r12
movq %rdi, %r15
leaq -0x70(%rbp), %r13
leaq -0x58(%rbp), %rdx
leaq -0x50(%rbp), %rcx
movq %rax, %rdi
movq %r13, %rsi
callq 0x1987a
movl (%r13), %eax
cmpq $0x4, %rax
ja 0x941c4
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movq -0x68(%rbp), %rdi
leaq 0x4ba60(%rip), %rcx     # 0xdf99c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %rbx, -0x38(%rbp)
jmpq *%rax
movq 0x1082bb8(%rip), %rsi   # 0x1116b08
testq %rsi, %rsi
jne 0x93f7f
movl $0x8, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x8, 0x10(%rax)
movabsq $0x5f5f746f6f725f5f, %rax # imm = 0x5F5F746F6F725F5F
movq %rax, 0x18(%rsi)
movq %rsi, 0x1082b89(%rip)   # 0x1116b08
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x93f95
incl (%rax)
movq %r12, %rdi
callq 0xe069
movq %rax, %r12
jmp 0x9407f
movq 0x8(%rdi), %r13
decl (%rdi)
jne 0x93fb2
callq 0x5030
leaq 0x1080c07(%rip), %rdi   # 0x1114bc0
movq %r13, %rsi
callq 0x13c85
leaq -0x30(%rbp), %rbx
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1a6db
movq (%rbx), %rdi
leaq -0x40(%rbp), %r15
jmp 0x9401e
movq 0x8(%rdi), %r13
decl (%rdi)
jne 0x93fe9
callq 0x5030
leaq -0x30(%rbp), %rbx
movq %r15, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x14e04
jmp 0x94013
callq 0x19c36
leaq -0x30(%rbp), %rbx
movq %r15, %rdi
movl %eax, %esi
movq %rbx, %rcx
callq 0x19ff6
movq (%rbx), %rdi
leaq -0x40(%rbp), %rbx
leaq -0x60(%rbp), %r15
movq %r12, %rsi
movq %rax, %rdx
movq %rbx, %rcx
movq %r15, %r8
callq 0x93ee1
movq (%r15), %r12
movq (%rbx), %r15
jmp 0x9407f
movq 0x8(%rdi), %r13
decl (%rdi)
jne 0x94044
callq 0x5030
leaq 0x1080495(%rip), %rdi   # 0x11144e0
movq %r13, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
leaq -0x30(%rbp), %r13
movq %r15, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x92b17
movq %r12, %rdi
movq %rax, %rsi
callq 0xe069
movq %rax, %r12
movq (%r13), %r15
movq 0x1082a72(%rip), %rsi   # 0x1116af8
testq %rsi, %rsi
jne 0x940ab
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x1, 0x10(%rax)
movb $0x5f, 0x18(%rax)
movq %rax, 0x1082a4d(%rip)   # 0x1116af8
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x940c1
incl (%rax)
movq %r12, %rdi
callq 0xe069
movq %rax, %rbx
movq -0x58(%rbp), %rsi
leaq -0x30(%rbp), %r12
movq %r15, %rdi
movq %r12, %rdx
callq 0x92b17
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe069
movq %rax, %r15
movq (%r12), %r13
movq -0x50(%rbp), %r12
movq %r12, %rbx
andq %r14, %rbx
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x94135
incl (%rbx)
movl $0x1, %edi
movq %r12, %rsi
callq 0xe83a
testl %eax, %eax
js 0x94146
decl (%rbx)
jne 0x941a7
leaq 0x7d2fe(%rip), %rsi     # 0x111429
movq %r12, %rdi
callq 0xd13d
jmp 0x941a7
movl $0x1, %edi
movq %r12, %rsi
callq 0xe83a
testl %eax, %eax
jns 0x941a7
movq 0x10829b3(%rip), %rsi   # 0x1116b00
testq %rsi, %rsi
jne 0x94172
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x1, 0x10(%rax)
movb $0x5f, 0x18(%rax)
movq %rax, 0x108298e(%rip)   # 0x1116b00
andq %rsi, %r14
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
jne 0x94186
incl (%r14)
movq %r15, %rdi
callq 0xe069
movq %rax, %rbx
movq %r12, %rdi
callq 0xfea8
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe069
movq %rax, %r15
movq -0x38(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %r15, (%rcx)
movq %r13, (%rax)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x4c4f0(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x4c4f5(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302