// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackType_labelzenames
static struct std_list_List_1 mw_mirth_type_StackType_labelzenames (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackType in_StackType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct std_list_List_1 v5 = { .tag=std_list_List_1_Nil };
	struct std_either_Either_2 v6 = mtw_std_either_Either_2_Right(MK_mirth_type_StackType(in_StackType_2));
	bool v7 = true;
	struct std_list_List_1 v8 = v5;
	struct mirth_mirth_zaMirth* r9 = in_zaMirth_1;
	struct std_either_Either_2 v10 = v6;
	bool v11 = v7;
	bool v12 = v7;
	while (v12) {
		struct std_list_List_1 v13 = v8;
		struct mirth_mirth_zaMirth* r14 = r9;
		struct std_either_Either_2 v15 = v10;
		bool v16 = v11;
		incref(MK_std_either_Either_2(v15));
		struct std_maybe_Maybe_1 v17 = mw_std_either_Either_2_rightzy(v15);
		struct std_list_List_1 branch_List_18;
		struct mirth_mirth_zaMirth* branch_zaMirth_19;
		struct std_either_Either_2 branch_Either_20;
		bool branch_Bool_21;
		switch ((v17).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v22 = mtp_std_maybe_Maybe_1_Some(v17);
				decref(MK_std_either_Either_2(v15));
				struct mirth_mirth_zaMirth* v23;
				struct mirth_type_StackType v24 = mw_mirth_type_StackType_expand(r14, V_mirth_type_StackType(v22), &v23);
				struct std_list_List_1 branch_List_25;
				struct mirth_mirth_zaMirth* branch_zaMirth_26;
				struct std_either_Either_2 branch_Either_27;
				switch ((v24).tag) {
					case mirth_type_StackType_Error: {
						struct mirth_type_StackTypeBase v28 = { .tag=mirth_type_StackTypeBase_Error };
						struct std_either_Either_2 v29 = mtw_std_either_Either_2_Left(MK_mirth_type_StackTypeBase(v28));
						branch_Either_27 = v29;
						branch_zaMirth_26 = v23;
						branch_List_25 = v13;
					} break;
					case mirth_type_StackType_Ignore: {
						struct mirth_type_StackTypeBase v30 = { .tag=mirth_type_StackTypeBase_Ignore };
						struct std_either_Either_2 v31 = mtw_std_either_Either_2_Left(MK_mirth_type_StackTypeBase(v30));
						branch_Either_27 = v31;
						branch_zaMirth_26 = v23;
						branch_List_25 = v13;
					} break;
					case mirth_type_StackType_Var: {
						uint64_t v32 = mtp_mirth_type_StackType_Var(v24);
						struct mirth_type_StackTypeBase v33 = mtw_mirth_type_StackTypeBase_Var(v32);
						struct std_either_Either_2 v34 = mtw_std_either_Either_2_Left(MK_mirth_type_StackTypeBase(v33));
						branch_Either_27 = v34;
						branch_zaMirth_26 = v23;
						branch_List_25 = v13;
					} break;
					case mirth_type_StackType_Meta: {
						uint64_t v35 = mtp_mirth_type_StackType_Meta(v24);
						struct mirth_type_StackTypeBase v36 = mtw_mirth_type_StackTypeBase_Meta(v35);
						struct std_either_Either_2 v37 = mtw_std_either_Either_2_Left(MK_mirth_type_StackTypeBase(v36));
						branch_Either_27 = v37;
						branch_zaMirth_26 = v23;
						branch_List_25 = v13;
					} break;
					case mirth_type_StackType_Unit: {
						struct mirth_type_StackTypeBase v38 = { .tag=mirth_type_StackTypeBase_Unit };
						struct std_either_Either_2 v39 = mtw_std_either_Either_2_Left(MK_mirth_type_StackTypeBase(v38));
						branch_Either_27 = v39;
						branch_zaMirth_26 = v23;
						branch_List_25 = v13;
					} break;
					case mirth_type_StackType_Cons: {
						struct mirth_type_Type v40;
						struct mirth_type_StackType v41 = mtp_mirth_type_StackType_Cons(v24, &v40);
						decref(MK_mirth_type_Type(v40));
						struct std_either_Either_2 v42 = mtw_std_either_Either_2_Right(MK_mirth_type_StackType(v41));
						branch_Either_27 = v42;
						branch_zaMirth_26 = v23;
						branch_List_25 = v13;
					} break;
					case mirth_type_StackType_With: {
						struct mirth_type_Type v43;
						struct mirth_type_StackType v44 = mtp_mirth_type_StackType_With(v24, &v43);
						decref(MK_mirth_type_Type(v43));
						struct std_either_Either_2 v45 = mtw_std_either_Either_2_Right(MK_mirth_type_StackType(v44));
						branch_Either_27 = v45;
						branch_zaMirth_26 = v23;
						branch_List_25 = v13;
					} break;
					case mirth_type_StackType_ConsLabel: {
						struct mirth_type_Type v46;
						uint64_t v47;
						struct mirth_type_StackType v48 = mtp_mirth_type_StackType_ConsLabel(v24, &v46, &v47);
						decref(MK_mirth_type_Type(v46));
						struct std_list_List_1 v49 = mw_std_list_List_1_cons(MK_mirth_label_Label(v47), v13);
						struct std_either_Either_2 v50 = mtw_std_either_Either_2_Right(MK_mirth_type_StackType(v48));
						branch_Either_27 = v50;
						branch_zaMirth_26 = v23;
						branch_List_25 = v49;
					} break;
					case mirth_type_StackType_WithLabel: {
						struct mirth_type_Type v51;
						uint64_t v52;
						struct mirth_type_StackType v53 = mtp_mirth_type_StackType_WithLabel(v24, &v51, &v52);
						decref(MK_mirth_type_Type(v51));
						struct std_list_List_1 v54 = mw_std_list_List_1_cons(MK_mirth_label_Label(v52), v13);
						struct std_either_Either_2 v55 = mtw_std_either_Either_2_Right(MK_mirth_type_StackType(v53));
						branch_Either_27 = v55;
						branch_zaMirth_26 = v23;
						branch_List_25 = v54;
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				bool v56 = true;
				branch_Bool_21 = v56;
				branch_Either_20 = branch_Either_27;
				branch_zaMirth_19 = branch_zaMirth_26;
				branch_List_18 = branch_List_25;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v57 = false;
				branch_Bool_21 = v57;
				branch_Either_20 = v15;
				branch_zaMirth_19 = r14;
				branch_List_18 = v13;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v12 = branch_Bool_21;
		v11 = branch_Bool_21;
		v10 = branch_Either_20;
		r9 = branch_zaMirth_19;
		v8 = branch_List_18;
	}
	struct std_maybe_Maybe_1 v58 = mw_std_either_Either_2_leftzy(v10);
	VAL v59 = mw_std_maybe_Maybe_1_unwrap_1_sp3(v58);
	decref(v59);
	*out_zaMirth_3 = r9;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, -0x68(%rbp)
movl %esi, %ecx
movq %rdi, %rbx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq %rax, -0x60(%rbp)
shlq $0x30, %rcx
orq %rdx, %rcx
leaq 0x97c36(%rip), %rsi     # 0x111bc1
movq %rcx, %rdi
callq 0x206fc
movq %rdx, %r12
movl $0x1, %r14d
movq $0x0, -0x40(%rbp)
movl $0x0, -0x2c(%rbp)
movq %r12, %r13
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
setne %al
testb $0x3, %r12b
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0x79fd3
incl (%r13)
movl %r14d, %edi
movq %r12, %rsi
callq 0x39e35
cmpl $0x1, %eax
jne 0x7a229
movq %r12, -0x70(%rbp)
movq %r14, %r12
movq %rbx, %r14
movq %rdx, %rdi
callq 0xd745
movq %rax, %rbx
testb %r15b, %r15b
je 0x7a01e
decl (%r13)
jne 0x7a01e
shlq $0x30, %r12
orq -0x70(%rbp), %r12
movq %r12, %rdi
leaq 0x97f08(%rip), %rsi     # 0x111f21
callq 0xd13d
movq %rbx, %rsi
shrq $0x30, %rsi
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %rbx
movq %r14, %rdi
movq %rbx, %rdx
leaq -0x38(%rbp), %rcx
callq 0x37fe3
cmpl $0x8, %eax
ja 0x7a289
movl %eax, %eax
leaq 0x65495(%rip), %rcx     # 0xdf4e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %r14d, %r14d
xorl %edi, %edi
leaq 0x982a9(%rip), %rsi     # 0x112311
callq 0x2069e
movq %rdx, %r12
movq -0x38(%rbp), %rbx
jmp 0x79fab
movq 0x8(%rdx), %rbx
decl (%rdx)
jne 0x7a089
movq %rdx, %rdi
callq 0x5030
movq %rbx, %rdi
callq 0x39f21
btsq $0x32, %rax
jmp 0x7a0c9
movabsq $0x2000000000000, %rdi  # imm = 0x2000000000000
jmp 0x7a0ea
movq 0x8(%rdx), %rbx
decl (%rdx)
jne 0x7a0b4
movq %rdx, %rdi
callq 0x5030
movq %rbx, %rdi
callq 0x39ece
movabsq $0x3000000000000, %rcx  # imm = 0x3000000000000
orq %rcx, %rax
movq %rax, %rdi
jmp 0x7a0ea
movq %rdx, %rdi
leaq -0x50(%rbp), %rsi
callq 0x381ac
jmp 0x7a111
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
leaq 0x4(%rax), %rdi
leaq 0x98220(%rip), %rsi     # 0x112311
callq 0x2069e
movq %rdx, %r12
xorl %r14d, %r14d
movq -0x38(%rbp), %rbx
jmp 0x79fab
movq %rdx, %rdi
leaq -0x50(%rbp), %rsi
callq 0x38125
movl %eax, %r14d
movq %rdx, %r15
movq -0x48(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x7a153
movl -0x50(%rbp), %edi
decl (%rcx)
jne 0x7a153
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0x9799b(%rip), %rsi     # 0x111ae9
callq 0xd13d
shlq $0x30, %r14
orq %r15, %r14
movq %r14, %rdi
leaq 0x97a5d(%rip), %rsi     # 0x111bc1
callq 0x206fc
movq %rdx, %r12
movq -0x38(%rbp), %rbx
movl $0x1, %r14d
jmp 0x79fab
movq %rdx, %rdi
leaq -0x50(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x38233
jmp 0x7a19d
movq %rdx, %rdi
leaq -0x50(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x382d7
movl %eax, %r14d
movq %rdx, %r15
movq -0x48(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x7a1df
movl -0x50(%rbp), %edi
decl (%rcx)
jne 0x7a1df
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0x9790f(%rip), %rsi     # 0x111ae9
callq 0xd13d
movq -0x58(%rbp), %rdi
leaq 0x980de(%rip), %rsi     # 0x1122c8
movl -0x2c(%rbp), %edx
movq -0x40(%rbp), %rcx
callq 0xd1ec
movq %rdx, -0x40(%rbp)
shlq $0x30, %r14
orq %r15, %r14
movq %r14, %rdi
leaq 0x979b6(%rip), %rsi     # 0x111bc1
callq 0x206fc
movq %rdx, %r12
movq -0x38(%rbp), %rbx
movl $0x1, -0x2c(%rbp)
movl $0x1, %r14d
jmp 0x79fab
testl %eax, %eax
jne 0x7a289
movl %r14d, %edi
movq %r12, %rsi
callq 0x39f74
movl %eax, %edi
movq %rdx, %rsi
callq 0x33ee8
testb $0x1, %dl
je 0x7a26c
andq %rax, -0x60(%rbp)
sete %cl
testb $0x3, %al
setne %sil
orb %cl, %sil
jne 0x7a26c
movq -0x60(%rbp), %rcx
decl (%rcx)
jne 0x7a26c
movq %rax, %rdi
movq %rdx, %rsi
callq 0xd13d
movq -0x68(%rbp), %rax
movq %rbx, (%rax)
movl -0x2c(%rbp), %eax
movq -0x40(%rbp), %rdx
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x6642b(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x66430(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302