// File: /workspace/github_c_makefile_star2_O1/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 $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq 0x105eb3c(%rip), %rdi   # 0x111c178
callq 0x13ff0
movq %rax, %r14
movq %rax, %rdi
callq 0x153b0
testb %al, %al
je 0xbd66b
movq %r14, %rdi
callq 0x140f0
movq %rax, %rdi
movq %rdx, %rsi
callq 0x942c
movq %rax, %r15
jmp 0xbd901
movq %rbx, -0x38(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
leaq 0x105c408(%rip), %rdi   # 0x1119a88
movq %r15, %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
movq %rax, %rcx
shrq $0x30, %rcx
andq %rbx, %rax
testq %rcx, %rcx
je 0xbd80e
cmpl $0x1, %ecx
jne 0xbd916
movq 0x8(%rax), %r13
decl (%rax)
jne 0xbd6bc
movq %rax, %rdi
callq 0x5030
leaq 0x105b4fd(%rip), %rdi   # 0x1118bc0
movq %r13, %rsi
callq 0x13ff0
leaq -0x30(%rbp), %r13
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x1a972
movq (%r13), %rdi
leaq -0x30(%rbp), %rdx
movq %rax, %rsi
callq 0x96562
movq %rax, %r12
cmpq $0x0, 0x105ea90(%rip)   # 0x111c188
jne 0xbd710
xorl %edi, %edi
callq 0xf9f7
movq $0x0, 0x10(%rax)
movq %rax, 0x105ea78(%rip)   # 0x111c188
movq 0x105ea71(%rip), %r13   # 0x111c188
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0xbd72d
incl (%rax)
cmpq $0x0, 0x105ea5b(%rip)   # 0x111c190
jne 0xbd75a
movl $0x3, %edi
callq 0xf9f7
movq $0x3, 0x10(%rax)
movw $0x626d, 0x18(%rax)     # imm = 0x626D
movb $0x5f, 0x1a(%rax)
movq %rax, 0x105ea36(%rip)   # 0x111c190
movq 0x105ea2f(%rip), %rsi   # 0x111c190
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xbd777
incl (%rax)
movq %r13, %rdi
callq 0xe43c
movq %rax, %rdi
movq %r12, %rsi
callq 0xe43c
movq %rax, %r12
cmpq $0x0, 0x105ea03(%rip)   # 0x111c198
jne 0xbd7b4
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x5f, 0x18(%rax)
movq %rax, 0x105e9e4(%rip)   # 0x111c198
movq 0x105e9dd(%rip), %rsi   # 0x111c198
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xbd7d1
incl (%rax)
movq %r12, %rdi
callq 0xe43c
movq %rax, %r12
movq -0x30(%rbp), %rdi
leaq -0x40(%rbp), %r13
movq %r15, %rsi
movq %r13, %rdx
callq 0xbd946
movq %rax, %rdi
callq 0x102c9
movq %r12, %rdi
movq %rax, %rsi
callq 0xe43c
movq %rax, %r15
movq (%r13), %r12
jmp 0xbd8d8
decl (%rax)
jne 0xbd81a
movq %rax, %rdi
callq 0x5030
cmpq $0x0, 0x105e97e(%rip)   # 0x111c1a0
jne 0xbd83a
xorl %edi, %edi
callq 0xf9f7
movq $0x0, 0x10(%rax)
movq %rax, 0x105e966(%rip)   # 0x111c1a0
movq 0x105e95f(%rip), %r13   # 0x111c1a0
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0xbd857
incl (%rax)
cmpq $0x0, 0x105e949(%rip)   # 0x111c1a8
jne 0xbd884
movl $0x3, %edi
callq 0xf9f7
movq $0x3, 0x10(%rax)
movw $0x626d, 0x18(%rax)     # imm = 0x626D
movb $0x5f, 0x1a(%rax)
movq %rax, 0x105e924(%rip)   # 0x111c1a8
movq 0x105e91d(%rip), %rsi   # 0x111c1a8
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xbd8a1
incl (%rax)
movq %r13, %rdi
callq 0xe43c
movq %rax, %r13
leaq -0x30(%rbp), %rdx
movq %r12, %rdi
movq %r15, %rsi
movq %rdx, %r12
callq 0xbd946
movq %rax, %rdi
callq 0x102c9
movq %r13, %rdi
movq %rax, %rsi
callq 0xe43c
movq %rax, %r15
movq (%r12), %r12
leaq 0x5787a(%rip), %rsi     # 0x115159
andq %r15, %rbx
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0xbd8f2
incl (%rbx)
movq %r15, %rdi
movq %r14, %rdx
callq 0x14ab5
movq -0x38(%rbp), %rbx
movq %r12, (%rbx)
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x26e1e(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x26e23(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5