// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_buffer_Buffer_cname
static STR* mw_mirth_buffer_Buffer_cname (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Buffer_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_buffer_Buffer_cname, in_Buffer_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	STR* branch_Str_8;
	if (v6) {
		VAL v9 = mut_get(v5);
		branch_Str_8 = value_str(v9);
		branch_zaMirth_7 = in_zaMirth_1;
	} else {
		STR* v10;
		STRLIT(v10, "", 0);
		STR* v11;
		STRLIT(v11, "mbuf_", 5);
		STR* v12;
		mw_std_str_zaStr_pushzestrzx(v11, v10, &v12);
		struct mirth_mirth_zaMirth* v13;
		struct mirth_name_QName* v14 = mw_mirth_buffer_Buffer_qnamezehard(in_zaMirth_1, in_Buffer_2, &v13);
		struct mirth_mirth_zaMirth* v15;
		STR* v16;
		mw_mirth_name_QName_mangledzj(v13, v12, v14, &v15, &v16);
		incref(MKSTR(v16));
		mut_set(MKSTR(v16), v5);
		branch_Str_8 = v16;
		branch_zaMirth_7 = v15;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Str_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rsi
leaq 0x10e467e(%rip), %rdi   # 0x1398180
callq 0x40d30
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
callq 0x45e40
andb $0x1, %al
movb %al, -0x21(%rbp)
testb $0x1, -0x21(%rbp)
je 0x2b3b4e
movq -0x20(%rbp), %rdi
callq 0x40f30
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0xb980
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x2b3ec3
jmp 0x2b3b50
cmpq $0x0, 0x10e4638(%rip)   # 0x1398190
jne 0x2b3b71
leaq 0xa8457(%rip), %rdi     # 0x35bfb8
xorl %eax, %eax
movl %eax, %esi
callq 0xb6c0
movq %rax, 0x10e461f(%rip)   # 0x1398190
jmp 0x2b3b73
movq 0x10e4616(%rip), %rax   # 0x1398190
movq %rax, -0x60(%rbp)
leaq 0xdd5d3(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2b3c2d
movq 0x10e45ea(%rip), %rax   # 0x1398190
movq %rax, -0x70(%rbp)
leaq 0xdd5a7(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x70(%rbp), %rax
cmpq $0x0, %rax
je 0x2b3c2d
movq 0x10e45bc(%rip), %rax   # 0x1398190
movq %rax, -0x80(%rbp)
leaq 0xdd579(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x80(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2b3c2d
movq 0x10e4594(%rip), %rax   # 0x1398190
movq %rax, -0x90(%rbp)
leaq 0xdd54e(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2b3c2f
movq 0x10e455a(%rip), %rax   # 0x1398190
movq %rax, -0x50(%rbp)
jmp 0x2b3c3c
cmpq $0x0, 0x10e4554(%rip)   # 0x1398198
jne 0x2b3c5e
leaq 0xb9fac(%rip), %rdi     # 0x36dbf9
movl $0x5, %esi
callq 0xb6c0
movq %rax, 0x10e453a(%rip)   # 0x1398198
jmp 0x2b3c60
movq 0x10e4531(%rip), %rax   # 0x1398198
movq %rax, -0xa8(%rbp)
leaq 0xdd4e3(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2b3d35
movq 0x10e44fc(%rip), %rax   # 0x1398198
movq %rax, -0xb8(%rbp)
leaq 0xdd4ae(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0x2b3d35
movq 0x10e44c5(%rip), %rax   # 0x1398198
movq %rax, -0xc8(%rbp)
leaq 0xdd477(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2b3d35
movq 0x10e4494(%rip), %rax   # 0x1398198
movq %rax, -0xd8(%rbp)
leaq 0xdd446(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2b3d37
movq 0x10e445a(%rip), %rax   # 0x1398198
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
callq 0xb940
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0x8a900
movq %rax, -0xf0(%rbp)
movq -0xe8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq -0xf0(%rbp), %rdx
leaq -0xf8(%rbp), %rcx
leaq -0x100(%rbp), %r8
callq 0x22c170
movq -0x100(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0xdd3a4(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2b3e74
movq -0x100(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0xdd36f(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rax
cmpq $0x0, %rax
je 0x2b3e74
movq -0x100(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0xdd338(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x128(%rbp)
movq -0x130(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2b3e74
movq -0x100(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0xdd307(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x140(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2b3e76
movq -0x100(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0xdd2cd(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x148(%rbp)
movq -0x20(%rbp), %rdx
movq -0x150(%rbp), %rdi
movq -0x148(%rbp), %rsi
callq 0x431a0
movq -0x100(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rax
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopl (%rax,%rax)