// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_CTypeStackPart_c99zeargzename
static STR* mw_mirth_type_CTypeStackPart_c99zeargzename (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99* in_zaC99_2, INT in_Nat_3, struct mirth_type_CTypeStackPart in_CTypeStackPart_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_c99_zaC99* *out_zaC99_6, INT *out_Nat_7) {
	struct std_maybe_Maybe_1 v9 = mw_mirth_type_CTypeStackPart_labelzy(in_CTypeStackPart_4);
	INT branch_Nat_10;
	VAL branch_zux1_11;
	struct mirth_mirth_zaMirth* branch_zaMirth_12;
	STR* branch_Str_13;
	switch ((v9).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v14 = mtp_std_maybe_Maybe_1_Some(v9);
			struct mirth_mirth_zaMirth* v15;
			uint64_t v16 = mw_mirth_label_Label_name(in_zaMirth_1, V_mirth_label_Label(v14), &v15);
			struct mirth_mirth_zaMirth* v17;
			STR* v18 = mw_mirth_name_Name_mangled(v15, v16, &v17);
			branch_Str_13 = v18;
			branch_zaMirth_12 = v17;
			branch_zux1_11 = MK_mirth_c99_zaC99(in_zaC99_2);
			branch_Nat_10 = in_Nat_3;
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v19;
			STRLIT(v19, "", 0);
			STR* v20;
			STRLIT(v20, "X", 1);
			STR* v21;
			mw_std_str_zaStr_pushzestrzx(v20, v19, &v21);
			incref(MKNAT(in_Nat_3));
			INT v22 = in_Nat_3;
			STR* v23 = int_to_str(v22);
			STR* v24;
			mw_std_str_zaStr_pushzestrzx(v23, v21, &v24);
			branch_Str_13 = v24;
			branch_zaMirth_12 = in_zaMirth_1;
			branch_zux1_11 = MK_mirth_c99_zaC99(in_zaC99_2);
			branch_Nat_10 = in_Nat_3;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_Nat_7 = branch_Nat_10;
	*out_zaC99_6 = V_mirth_c99_zaC99(branch_zux1_11);
	*out_zaMirth_5 = branch_zaMirth_12;
	return branch_Str_13;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdx, -0x8(%rbp)
movl %ecx, -0x18(%rbp)
movq %r8, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x18(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x1675d0
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0x1ac(%rbp)
testl %eax, %eax
je 0x2bcbad
jmp 0x2bcb00
movl -0x1ac(%rbp), %eax
subl $0x1, %eax
jne 0x2bcf2b
jmp 0x2bcb11
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x174a0
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x20(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0xc1dc0
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rdi
movq -0x88(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0x223090
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0xd65e5(%rip), %rax     # 0x393168
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x2bcf44
jmp 0x2bcbaf
cmpq $0x0, 0x10db6a9(%rip)   # 0x1398260
jne 0x2bcbd0
leaq 0x9f3f8(%rip), %rdi     # 0x35bfb8
xorl %eax, %eax
movl %eax, %esi
callq 0xb6c0
movq %rax, 0x10db690(%rip)   # 0x1398260
jmp 0x2bcbd2
movq 0x10db687(%rip), %rax   # 0x1398260
movq %rax, -0xc0(%rbp)
leaq 0xd4571(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2bcca7
movq 0x10db652(%rip), %rax   # 0x1398260
movq %rax, -0xd0(%rbp)
leaq 0xd453c(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rax
cmpq $0x0, %rax
je 0x2bcca7
movq 0x10db61b(%rip), %rax   # 0x1398260
movq %rax, -0xe0(%rbp)
leaq 0xd4505(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2bcca7
movq 0x10db5ea(%rip), %rax   # 0x1398260
movq %rax, -0xf0(%rbp)
leaq 0xd44d4(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2bcca9
movq 0x10db5b0(%rip), %rax   # 0x1398260
movq %rax, -0xb0(%rbp)
jmp 0x2bccb9
cmpq $0x0, 0x10db5a7(%rip)   # 0x1398268
jne 0x2bccdb
leaq 0xb0f80(%rip), %rdi     # 0x36dc4a
movl $0x1, %esi
callq 0xb6c0
movq %rax, 0x10db58d(%rip)   # 0x1398268
jmp 0x2bccdd
movq 0x10db584(%rip), %rax   # 0x1398268
movq %rax, -0x108(%rbp)
leaq 0xd4466(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2bcdb2
movq 0x10db54f(%rip), %rax   # 0x1398268
movq %rax, -0x118(%rbp)
leaq 0xd4431(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
cmpq $0x0, %rax
je 0x2bcdb2
movq 0x10db518(%rip), %rax   # 0x1398268
movq %rax, -0x128(%rbp)
leaq 0xd43fa(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2bcdb2
movq 0x10db4e7(%rip), %rax   # 0x1398268
movq %rax, -0x138(%rbp)
leaq 0xd43c9(%rip), %rax     # 0x391158
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2bcdb4
movq 0x10db4ad(%rip), %rax   # 0x1398268
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0x140(%rbp), %rdx
callq 0xb940
movq -0x8(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0xd4322(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2bcea5
movq -0x8(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq 0xd42f0(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x158(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x160(%rbp), %rax
cmpq $0x0, %rax
je 0x2bcea5
movq -0x8(%rbp), %rax
movq %rax, -0x170(%rbp)
leaq 0xd42bc(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x168(%rbp)
movq -0x170(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2bcea5
movq -0x8(%rbp), %rax
movq %rax, -0x180(%rbp)
leaq 0xd428e(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x178(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x180(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2bcea7
movq -0x8(%rbp), %rax
movq %rax, -0x188(%rbp)
movq -0x188(%rbp), %rdi
callq 0x211e0
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rdi
movq -0x140(%rbp), %rsi
leaq -0x198(%rbp), %rdx
callq 0xb940
movq -0x198(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x1a8(%rbp)
leaq 0xd6264(%rip), %rax     # 0x393168
movq %rax, -0x1a0(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x2bcf44
leaq 0x96f4f(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq 0x18(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, (%rax)
movq -0x58(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x60(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x68(%rbp), %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
nopw %cs:(%rax,%rax)