// File: /workspace/github_c_makefile_star2_O1/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, %r14
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 0x19b32
movl (%r13), %eax
cmpq $0x4, %rax
ja 0x96920
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq -0x68(%rbp), %rdi
leaq 0x4d307(%rip), %rcx     # 0xe3954
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %rbx, -0x38(%rbp)
jmpq *%rax
cmpq $0x0, 0x10844a6(%rip)   # 0x111ab08
jne 0x9668b
movl $0x8, %edi
callq 0xf9f7
movq $0x8, 0x10(%rax)
movabsq $0x5f5f746f6f725f5f, %rcx # imm = 0x5F5F746F6F725F5F
movq %rcx, 0x18(%rax)
movq %rax, 0x108447d(%rip)   # 0x111ab08
movq 0x1084476(%rip), %rsi   # 0x111ab08
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x966a8
incl (%rax)
movq %r12, %rdi
callq 0xe43c
movq %rax, %r12
jmp 0x967c1
movq 0x8(%rdi), %r13
decl (%rdi)
jne 0x966c5
callq 0x5030
leaq 0x10824f4(%rip), %rdi   # 0x1118bc0
movq %r13, %rsi
callq 0x13ff0
leaq -0x30(%rbp), %rbx
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1a972
movq (%rbx), %rdi
leaq -0x48(%rbp), %r15
jmp 0x96719
movq 0x8(%rdi), %r13
decl (%rdi)
jne 0x966fc
callq 0x5030
leaq -0x30(%rbp), %rbx
movq %r15, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x15157
movq (%rbx), %rdi
leaq -0x48(%rbp), %rbx
leaq -0x60(%rbp), %r15
movq %r12, %rsi
movq %rax, %rdx
movq %rbx, %rcx
movq %r15, %r8
callq 0x965f3
movq (%r15), %r12
movq (%rbx), %r15
jmp 0x967b7
callq 0x19ee8
leaq -0x30(%rbp), %rbx
movq %r15, %rdi
movl %eax, %esi
movq %rbx, %rcx
callq 0x1a2ad
movq (%rbx), %rdi
leaq -0x48(%rbp), %rbx
leaq -0x60(%rbp), %r15
movq %r12, %rsi
movq %rax, %rdx
movq %rbx, %rcx
movq %r15, %r8
callq 0x965f3
movq (%r15), %r12
movq (%rbx), %r15
jmp 0x967c1
movq 0x8(%rdi), %r13
decl (%rdi)
jne 0x9677c
callq 0x5030
leaq 0x1081d5d(%rip), %rdi   # 0x11184e0
movq %r13, %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
leaq -0x30(%rbp), %r13
movq %r15, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x95264
movq %r12, %rdi
movq %rax, %rsi
callq 0xe43c
movq %rax, %r12
movq (%r13), %r15
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
cmpq $0x0, 0x108432f(%rip)   # 0x111aaf8
jne 0x967e8
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x5f, 0x18(%rax)
movq %rax, 0x1084310(%rip)   # 0x111aaf8
movq %r14, -0x40(%rbp)
movq 0x1084305(%rip), %rsi   # 0x111aaf8
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x96809
incl (%rax)
movq %r12, %rdi
callq 0xe43c
movq %rax, %rbx
movq -0x58(%rbp), %rsi
leaq -0x30(%rbp), %rdx
movq %r15, %rdi
callq 0x95264
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe43c
movq %rax, %r15
movq -0x50(%rbp), %r12
movq %r12, %rbx
andq %r13, %rbx
setne %al
testb $0x3, %r12b
sete %r14b
andb %al, %r14b
cmpb $0x1, %r14b
jne 0x96852
incl (%rbx)
movq -0x30(%rbp), %r13
movl $0x1, %edi
movq %r12, %rsi
callq 0xec04
testl %eax, %eax
js 0x9688d
testb %r14b, %r14b
je 0x96903
decl (%rbx)
movq -0x40(%rbp), %r14
jne 0x968fd
leaq 0x7eba6(%rip), %rsi     # 0x115429
movq %r12, %rdi
callq 0xd4e3
jmp 0x968fd
cmpq $0x0, 0x108426b(%rip)   # 0x111ab00
jne 0x968b4
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x5f, 0x18(%rax)
movq %rax, 0x108424c(%rip)   # 0x111ab00
movq 0x1084245(%rip), %rsi   # 0x111ab00
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rdx
sete %al
testb $0x3, %sil
setne %cl
orb %al, %cl
movq -0x40(%rbp), %r14
jne 0x968dc
incl (%rdx)
movq %r15, %rdi
callq 0xe43c
movq %rax, %rbx
movq %r12, %rdi
callq 0x102c9
movq %rbx, %rdi
movq %rax, %rsi
callq 0xe43c
movq %rax, %r15
movq -0x38(%rbp), %rax
jmp 0x9690b
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %r14
movq %r15, (%r14)
movq %r13, (%rax)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x4de14(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x4de19(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5