// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_arrow_Block_cname
static STR* mw_mirth_arrow_Block_cname (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Block_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_arrow_Block_cname, in_Block_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 {
		struct mirth_mirth_zaMirth* v10;
		struct mirth_arrow_Home v11 = mw_mirth_arrow_Block_home(in_zaMirth_1, in_Block_2, &v10);
		uint64_t branch_Block_12;
		struct mirth_mirth_zaMirth* branch_zaMirth_13;
		STR* branch_Str_14;
		switch ((v11).tag) {
			case mirth_arrow_Home_Word: {
				uint64_t v15 = mtp_mirth_arrow_Home_Word(v11);
				struct mirth_mirth_zaMirth* v16;
				struct mirth_name_QName* v17 = mw_mirth_word_Word_qnamezehard(v10, v15, &v16);
				struct mirth_mirth_zaMirth* v18;
				STR* v19 = mw_mirth_name_QName_mangled(v16, v17, &v18);
				STR* v20;
				STRLIT(v20, "", 0);
				STR* v21;
				STRLIT(v21, "mb_", 3);
				STR* v22;
				mw_std_str_zaStr_pushzestrzx(v21, v20, &v22);
				STR* v23;
				mw_std_str_zaStr_pushzestrzx(v19, v22, &v23);
				STR* v24;
				STRLIT(v24, "_", 1);
				STR* v25;
				mw_std_str_zaStr_pushzestrzx(v24, v23, &v25);
				struct mirth_mirth_zaMirth* v26;
				INT v27 = mw_mirth_arrow_Block_homezeindex(v18, in_Block_2, &v26);
				STR* v28 = int_to_str(v27);
				STR* v29;
				mw_std_str_zaStr_pushzestrzx(v28, v25, &v29);
				branch_Str_14 = v29;
				branch_zaMirth_13 = v26;
				branch_Block_12 = in_Block_2;
			} break;
			case mirth_arrow_Home_Main: {
				uint64_t v30 = mtp_mirth_arrow_Home_Main(v11);
				STR* v31;
				STRLIT(v31, "", 0);
				STR* v32;
				STRLIT(v32, "mb_", 3);
				STR* v33;
				mw_std_str_zaStr_pushzestrzx(v32, v31, &v33);
				struct mirth_mirth_zaMirth* v34;
				INT v35 = mw_mirth_arrow_Block_homezeindex(v10, in_Block_2, &v34);
				STR* v36 = int_to_str(v35);
				STR* v37;
				mw_std_str_zaStr_pushzestrzx(v36, v33, &v37);
				branch_Str_14 = v37;
				branch_zaMirth_13 = v34;
				branch_Block_12 = in_Block_2;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		incref(MKSTR(branch_Str_14));
		mut_set(MKSTR(branch_Str_14), v5);
		branch_Str_8 = branch_Str_14;
		branch_zaMirth_7 = branch_zaMirth_13;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Str_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq 0x105de73(%rip), %rdi   # 0x1118178
callq 0x13c85
movq %rax, %r14
movq %rax, %rdi
callq 0x1505d
testb %al, %al
je 0xba334
movq %r14, %rdi
callq 0x13d82
movq %rax, %rdi
movq %rdx, %rsi
callq 0x9189
movq %rax, %r15
jmp 0xba5c5
movq %r14, -0x40(%rbp)
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
leaq 0x105b73f(%rip), %rdi   # 0x1115a88
movq %r15, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %rcx
shrq $0x30, %rcx
andq %r14, %rax
testq %rcx, %rcx
je 0xba4d1
cmpl $0x1, %ecx
jne 0xba5da
movq 0x8(%rax), %r13
decl (%rax)
jne 0xba385
movq %rax, %rdi
callq 0x5030
leaq 0x105a834(%rip), %rdi   # 0x1114bc0
movq %r13, %rsi
callq 0x13c85
leaq -0x30(%rbp), %r13
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x1a6db
movq (%r13), %rdi
leaq -0x30(%rbp), %rdx
movq %rax, %rsi
callq 0x93e52
movq %rax, %r12
movq 0x105ddc8(%rip), %r13   # 0x1118188
testq %r13, %r13
jne 0xba3de
xorl %edi, %edi
callq 0xf5e4
movq %rax, %r13
movq $0x0, 0x10(%rax)
movq %rax, 0x105ddaa(%rip)   # 0x1118188
movq %r13, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0xba3f4
incl (%rax)
movq 0x105dd95(%rip), %rsi   # 0x1118190
testq %rsi, %rsi
jne 0xba426
movl $0x3, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x3, 0x10(%rax)
movw $0x626d, 0x18(%rax)     # imm = 0x626D
movb $0x5f, 0x1a(%rax)
movq %rax, 0x105dd6a(%rip)   # 0x1118190
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xba43c
incl (%rax)
movq %r13, %rdi
callq 0xe069
movq %rax, %rdi
movq %r12, %rsi
callq 0xe069
movq %rax, %r12
movq 0x105dd3f(%rip), %rsi   # 0x1118198
testq %rsi, %rsi
jne 0xba47e
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x1, 0x10(%rax)
movb $0x5f, 0x18(%rax)
movq %rax, 0x105dd1a(%rip)   # 0x1118198
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xba494
incl (%rax)
movq %r12, %rdi
callq 0xe069
movq %rax, %r12
movq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %r13
movq %r15, %rsi
movq %r13, %rdx
callq 0xba60a
movq %rax, %rdi
callq 0xfea8
movq %r12, %rdi
movq %rax, %rsi
callq 0xe069
movq %rax, %r15
movq (%r13), %r12
jmp 0xba59e
decl (%rax)
jne 0xba4dd
movq %rax, %rdi
callq 0x5030
movq 0x105dcbc(%rip), %r13   # 0x11181a0
testq %r13, %r13
jne 0xba502
xorl %edi, %edi
callq 0xf5e4
movq %rax, %r13
movq $0x0, 0x10(%rax)
movq %rax, 0x105dc9e(%rip)   # 0x11181a0
movq %r13, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0xba518
incl (%rax)
movq 0x105dc89(%rip), %rsi   # 0x11181a8
testq %rsi, %rsi
jne 0xba54a
movl $0x3, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x3, 0x10(%rax)
movw $0x626d, 0x18(%rax)     # imm = 0x626D
movb $0x5f, 0x1a(%rax)
movq %rax, 0x105dc5e(%rip)   # 0x11181a8
movq %rbx, -0x38(%rbp)
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xba564
incl (%rax)
movq %r13, %rdi
callq 0xe069
movq %rax, %r13
leaq -0x30(%rbp), %rbx
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xba60a
movq %rax, %rdi
callq 0xfea8
movq %r13, %rdi
movq %rax, %rsi
callq 0xe069
movq %rax, %r15
movq (%rbx), %r12
movq -0x38(%rbp), %rbx
leaq 0x56bb4(%rip), %rsi     # 0x111159
andq %r15, %r14
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0xba5b9
incl (%r14)
movq %r15, %rdi
movq -0x40(%rbp), %rdx
callq 0x14766
movq %r12, (%rbx)
movq %r15, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x260da(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x260df(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302