// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Stack_tiezeknotzx
static void mw_mirth_c99_zaC99Stack_tiezeknotzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_zaC99Stack in_zaC99Stack_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_7;
	switch ((in_zaC99Stack_3).tag) {
		case mirth_c99_zaC99Stack_zaNil: {
			struct mirth_mirth_zaMirth* v8;
			struct mirth_c99_zaC99Branch* v9;
			mw_mirth_c99_zaC99Branch_flushzecachezx(in_zaMirth_1, in_zaC99Branch_2, &v8, &v9);
			branch_zaC99Branch_7 = v9;
			branch_zaMirth_6 = v8;
		} break;
		case mirth_c99_zaC99Stack_zaCons: {
			struct mirth_c99_zaC99Stack v10;
			struct mirth_c99_zaC99Value* v11;
			mtp_mirth_c99_zaC99Stack_zaCons(in_zaC99Stack_3, &v10, &v11);
			struct mirth_c99_C99ReprType v12 = v11->mvaluezerepr;
			incref(MK_mirth_c99_C99ReprType(v12));
			incref(MK_mirth_c99_C99ReprType(v12));
			struct mirth_mirth_zaMirth* v13;
			struct mirth_c99_zaC99Branch* v14;
			struct mirth_c99_zaC99Value* v15;
			mw_mirth_c99_zaC99Branch_popzevaluezx(in_zaMirth_1, in_zaC99Branch_2, v12, &v13, &v14, &v15);
			struct mirth_mirth_zaMirth* v16;
			STR* v17 = mw_mirth_c99_zaC99Value_consumezeas(v13, v12, v15, &v16);
			STR* v18 = v11->mvaluezename;
			incref(MKSTR(v18));
			struct mirth_c99_C99ReprType v19 = v11->mvaluezerepr;
			incref(MK_mirth_c99_C99ReprType(v19));
			struct mirth_mirth_zaMirth* v20;
			bool v21 = mw_mirth_c99_C99ReprType_iszephysicalzy(v16, v19, &v20);
			struct mirth_mirth_zaMirth* v22;
			struct mirth_c99_zaC99Branch* v23;
			mw_mirth_c99_zaC99Branch_c99zelinezeif_1_sp24(v17, v18, v20, v21, v14, &v22, &v23);
			struct mirth_mirth_zaMirth* v24;
			struct mirth_c99_zaC99Branch* v25;
			mw_mirth_c99_zaC99Stack_tiezeknotzx(v22, v23, v10, &v24, &v25);
			struct mirth_mirth_zaMirth* v26;
			struct mirth_c99_zaC99Branch* v27;
			mw_mirth_c99_zaC99Value_pushzevaluezx(v24, v25, v11, &v26, &v27);
			branch_zaC99Branch_7 = v27;
			branch_zaMirth_6 = v26;
		} break;
		case mirth_c99_zaC99Stack_zaWith: {
			struct mirth_c99_zaC99Stack v28;
			struct mirth_c99_zaC99Resource* v29;
			mtp_mirth_c99_zaC99Stack_zaWith(in_zaC99Stack_3, &v28, &v29);
			struct mirth_c99_C99ReprType v30 = v29->mresourcezerepr;
			incref(MK_mirth_c99_C99ReprType(v30));
			incref(MK_mirth_c99_C99ReprType(v30));
			struct mirth_mirth_zaMirth* v31;
			struct mirth_c99_zaC99Branch* v32;
			struct mirth_c99_zaC99Resource* v33;
			mw_mirth_c99_zaC99Branch_popzeresourcezx(in_zaMirth_1, in_zaC99Branch_2, v30, &v31, &v32, &v33);
			struct mirth_c99_zaC99Value* v34;
			mw_mirth_c99_zaC99Resource_turnzeintozevaluezx(v33, &v34);
			struct mirth_mirth_zaMirth* v35;
			STR* v36 = mw_mirth_c99_zaC99Value_consumezeas(v31, v30, v34, &v35);
			STR* v37 = v29->mresourcezename;
			incref(MKSTR(v37));
			struct mirth_c99_C99ReprType v38 = v29->mresourcezerepr;
			incref(MK_mirth_c99_C99ReprType(v38));
			struct mirth_mirth_zaMirth* v39;
			bool v40 = mw_mirth_c99_C99ReprType_iszephysicalzy(v35, v38, &v39);
			struct mirth_mirth_zaMirth* v41;
			struct mirth_c99_zaC99Branch* v42;
			mw_mirth_c99_zaC99Branch_c99zelinezeif_1_sp24(v36, v37, v39, v40, v32, &v41, &v42);
			struct mirth_mirth_zaMirth* v43;
			struct mirth_c99_zaC99Branch* v44;
			mw_mirth_c99_zaC99Stack_tiezeknotzx(v41, v42, v28, &v43, &v44);
			struct mirth_mirth_zaMirth* v45;
			struct mirth_c99_zaC99Branch* v46;
			mw_mirth_c99_zaC99Resource_pushzeresourcezx(v43, v44, v29, &v45, &v46);
			branch_zaC99Branch_7 = v46;
			branch_zaMirth_6 = v45;
		} break;
		case mirth_c99_zaC99Stack_zaConsLabel: {
			struct mirth_c99_zaC99Stack v47;
			struct mirth_c99_zaC99Value* v48;
			uint64_t v49 = mtp_mirth_c99_zaC99Stack_zaConsLabel(in_zaC99Stack_3, &v47, &v48);
			struct mirth_c99_C99ReprType v50 = v48->mvaluezerepr;
			incref(MK_mirth_c99_C99ReprType(v50));
			incref(MK_mirth_c99_C99ReprType(v50));
			struct mirth_mirth_zaMirth* v51;
			struct mirth_c99_zaC99Branch* v52;
			struct mirth_c99_zaC99Value* v53;
			mw_mirth_c99_zaC99Branch_popzevaluezelabelzx(in_zaMirth_1, in_zaC99Branch_2, v50, v49, &v51, &v52, &v53);
			struct mirth_mirth_zaMirth* v54;
			STR* v55 = mw_mirth_c99_zaC99Value_consumezeas(v51, v50, v53, &v54);
			STR* v56 = v48->mvaluezename;
			incref(MKSTR(v56));
			struct mirth_c99_C99ReprType v57 = v48->mvaluezerepr;
			incref(MK_mirth_c99_C99ReprType(v57));
			struct mirth_mirth_zaMirth* v58;
			bool v59 = mw_mirth_c99_C99ReprType_iszephysicalzy(v54, v57, &v58);
			struct mirth_mirth_zaMirth* v60;
			struct mirth_c99_zaC99Branch* v61;
			mw_mirth_c99_zaC99Branch_c99zelinezeif_1_sp24(v55, v56, v58, v59, v52, &v60, &v61);
			struct mirth_mirth_zaMirth* v62;
			struct mirth_c99_zaC99Branch* v63;
			mw_mirth_c99_zaC99Stack_tiezeknotzx(v60, v61, v47, &v62, &v63);
			struct mirth_mirth_zaMirth* v64;
			struct mirth_c99_zaC99Branch* v65;
			mw_mirth_c99_pushzevaluezelabelzx(v62, v63, v49, v48, &v64, &v65);
			branch_zaC99Branch_7 = v65;
			branch_zaMirth_6 = v64;
		} break;
		case mirth_c99_zaC99Stack_zaWithLabel: {
			struct mirth_c99_zaC99Stack v66;
			struct mirth_c99_zaC99Resource* v67;
			uint64_t v68 = mtp_mirth_c99_zaC99Stack_zaWithLabel(in_zaC99Stack_3, &v66, &v67);
			struct mirth_c99_C99ReprType v69 = v67->mresourcezerepr;
			incref(MK_mirth_c99_C99ReprType(v69));
			incref(MK_mirth_c99_C99ReprType(v69));
			struct mirth_mirth_zaMirth* v70;
			struct mirth_c99_zaC99Branch* v71;
			struct mirth_c99_zaC99Resource* v72;
			mw_mirth_c99_zaC99Branch_popzeresourcezelabelzx(in_zaMirth_1, in_zaC99Branch_2, v69, v68, &v70, &v71, &v72);
			struct mirth_c99_zaC99Value* v73;
			mw_mirth_c99_zaC99Resource_turnzeintozevaluezx(v72, &v73);
			struct mirth_mirth_zaMirth* v74;
			STR* v75 = mw_mirth_c99_zaC99Value_consumezeas(v70, v69, v73, &v74);
			STR* v76 = v67->mresourcezename;
			incref(MKSTR(v76));
			struct mirth_c99_C99ReprType v77 = v67->mresourcezerepr;
			incref(MK_mirth_c99_C99ReprType(v77));
			struct mirth_mirth_zaMirth* v78;
			bool v79 = mw_mirth_c99_C99ReprType_iszephysicalzy(v74, v77, &v78);
			struct mirth_mirth_zaMirth* v80;
			struct mirth_c99_zaC99Branch* v81;
			mw_mirth_c99_zaC99Branch_c99zelinezeif_1_sp24(v75, v76, v78, v79, v71, &v80, &v81);
			struct mirth_mirth_zaMirth* v82;
			struct mirth_c99_zaC99Branch* v83;
			mw_mirth_c99_zaC99Stack_tiezeknotzx(v80, v81, v66, &v82, &v83);
			struct mirth_mirth_zaMirth* v84;
			struct mirth_c99_zaC99Branch* v85;
			mw_mirth_c99_pushzeresourcezelabelzx(v82, v83, v68, v67, &v84, &v85);
			branch_zaC99Branch_7 = v85;
			branch_zaMirth_6 = v84;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaC99Branch_5 = branch_zaC99Branch_7;
	*out_zaMirth_4 = branch_zaMirth_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
cmpl $0x4, %edx
ja 0xdb2a5
movq %r8, %r13
movq %rsi, %r15
movq %rdi, %r12
movl %edx, %eax
leaq 0x985c(%rip), %rdx      # 0xe4494
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
movq %r9, -0xb8(%rbp)
jmpq *%rax
leaq -0xb0(%rbp), %rbx
leaq -0x58(%rbp), %r14
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0xd97d8
movq (%r14), %r15
movq (%rbx), %r12
jmp 0xdb285
movq %r13, -0x40(%rbp)
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movl (%rcx), %eax
movl %eax, -0x68(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x60(%rbp)
movq 0x10(%rcx), %rbx
movq 0x18(%rcx), %rax
movq %rax, -0x38(%rbp)
movq %rcx, %rdi
callq 0x5030
movl (%rbx), %edx
movq %rbx, -0x30(%rbp)
movq 0x8(%rbx), %rbx
movq %rbx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %sil
orb %cl, %sil
jne 0xdacbf
incl (%rax)
movq %rbx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %sil
orb %cl, %sil
jne 0xdacd6
incl (%rax)
leaq -0x70(%rbp), %r14
movq %r14, 0x8(%rsp)
leaq -0x50(%rbp), %rax
movq %rax, (%rsp)
leaq -0x58(%rbp), %r9
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rcx
movl %edx, -0x9c(%rbp)
movq -0x38(%rbp), %r8
callq 0xb292a
movq (%r14), %rdi
movl (%rdi), %r15d
movq 0x8(%rdi), %r12
movq 0x10(%rdi), %r14
callq 0x5030
leaq -0xb0(%rbp), %rcx
movl %r15d, %edi
movq %r12, %rsi
movq %r14, %rdx
movq %rcx, %r14
callq 0xb13d2
movq (%r14), %rcx
leaq -0x58(%rbp), %rax
movq (%rax), %rdi
leaq -0x48(%rbp), %r8
movl -0x9c(%rbp), %esi
movq %rbx, %rdx
callq 0xb6146
movq %rax, %rbx
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r14
movq %r14, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xdad6b
incl (%rax)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x8(%rax), %rdx
andq %rdx, %r13
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xdad89
incl (%r13)
movq -0x48(%rbp), %rdi
leaq -0x98(%rbp), %r15
movq %r15, %rcx
callq 0xa9de0
movq (%r15), %rdx
movq -0x50(%rbp), %r8
leaq -0x88(%rbp), %r12
movq %r12, (%rsp)
movzbl %al, %ecx
leaq -0x90(%rbp), %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %r9
callq 0xde106
movq (%r15), %rdi
movq (%r12), %rsi
leaq -0x80(%rbp), %rbx
leaq -0x78(%rbp), %r14
movl -0x68(%rbp), %edx
movq -0x60(%rbp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xdac09
movq (%rbx), %r12
movq (%r14), %r15
movl 0x8(%r15), %edi
movq 0x10(%r15), %rsi
leaq -0xb0(%rbp), %rbx
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq %rbx, %r8
callq 0xb15fa
movups (%rbx), %xmm0
jmp 0xdb27c
movq %r13, -0x40(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movl (%rcx), %eax
movl %eax, -0x38(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x68(%rbp)
movq 0x10(%rcx), %r13
movq %rcx, %rdi
callq 0x5030
movl (%r13), %edx
movq %r13, -0x30(%rbp)
movq 0x8(%r13), %r13
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xdae5f
incl (%rax)
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xdae77
incl (%rax)
leaq -0x70(%rbp), %r14
movq %r14, (%rsp)
leaq -0x58(%rbp), %r8
leaq -0x50(%rbp), %r9
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rcx
movl %edx, -0x60(%rbp)
callq 0xb33a1
movq (%r14), %rdi
movl (%rdi), %r15d
movq 0x8(%rdi), %r12
movq 0x10(%rdi), %r14
callq 0x5030
leaq -0xb0(%rbp), %rcx
movl %r15d, %edi
movq %r12, %rsi
movq %r14, %rdx
movq %rcx, %r14
callq 0xb13d2
movq (%r14), %rcx
leaq -0x58(%rbp), %rax
movq (%rax), %rdi
leaq -0x48(%rbp), %r8
movl -0x60(%rbp), %esi
movq %r13, %rdx
callq 0xb6146
movq %rax, %r14
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r15
movq %r15, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0xdaefd
incl (%rax)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x8(%rax), %rdx
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x40(%rbp), %r13
jne 0xdaf1d
incl (%rbx)
movq -0x48(%rbp), %rdi
leaq -0x98(%rbp), %rbx
movq %rbx, %rcx
callq 0xa9de0
movq (%rbx), %rdx
movq -0x50(%rbp), %r8
leaq -0x88(%rbp), %r12
movq %r12, (%rsp)
movzbl %al, %ecx
leaq -0x90(%rbp), %rbx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %r9
callq 0xde106
movq (%rbx), %rdi
movq (%r12), %rsi
leaq -0x80(%rbp), %rbx
leaq -0x78(%rbp), %r14
movl -0x38(%rbp), %edx
movq -0x68(%rbp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xdac09
movq (%rbx), %r12
movq (%r14), %r15
movl 0x8(%r15), %edi
movq 0x10(%r15), %rsi
leaq -0xb0(%rbp), %rbx
movq -0x30(%rbp), %rdx
movq %rbx, %rcx
callq 0xb158c
movups (%rbx), %xmm0
jmp 0xdb11e
movq %r13, -0x40(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movl (%rcx), %eax
movl %eax, -0x68(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x60(%rbp)
movq 0x10(%rcx), %r13
movq 0x18(%rcx), %rax
movq %rax, -0x38(%rbp)
movq %rcx, %rdi
callq 0x5030
movl (%r13), %edx
movq %r13, -0x30(%rbp)
movq 0x8(%r13), %r13
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xdaff7
incl (%rax)
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xdb00f
incl (%rax)
leaq -0x70(%rbp), %rax
movq %rax, 0x8(%rsp)
leaq -0x50(%rbp), %rax
movq %rax, (%rsp)
leaq -0x58(%rbp), %r14
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rcx
movl %edx, %r15d
movq -0x38(%rbp), %r8
movq %r14, %r9
callq 0xb24b7
movq (%r14), %rdi
leaq -0x70(%rbp), %rax
movq (%rax), %rcx
leaq -0x48(%rbp), %r8
movl %r15d, %esi
movq %r13, %rdx
callq 0xb6146
movq %rax, %r14
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r15
movq %r15, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0xdb076
incl (%rax)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x8(%rax), %rdx
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x40(%rbp), %r13
jne 0xdb096
incl (%rbx)
movq -0x48(%rbp), %rdi
leaq -0x98(%rbp), %r12
movq %r12, %rcx
callq 0xa9de0
movq (%r12), %rdx
movq -0x50(%rbp), %r8
leaq -0x88(%rbp), %rbx
movq %rbx, (%rsp)
movzbl %al, %ecx
leaq -0x90(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %r9
callq 0xde106
movq (%r12), %rdi
movq (%rbx), %rsi
leaq -0x80(%rbp), %r14
leaq -0x78(%rbp), %r15
movl -0x68(%rbp), %edx
movq -0x60(%rbp), %rcx
movq %r14, %r8
movq %r15, %r9
callq 0xdac09
movq (%r14), %r12
movq (%r15), %r15
movl 0x8(%r15), %edi
movq 0x10(%r15), %rsi
leaq -0xb0(%rbp), %r14
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq %r14, %r8
callq 0xb14a7
movups (%r14), %xmm0
movups %xmm0, 0x8(%r15)
jmp 0xdb285
movq %r13, -0x40(%rbp)
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movl (%rcx), %eax
movl %eax, -0x30(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x38(%rbp)
movq 0x10(%rcx), %rbx
movq %rcx, %rdi
callq 0x5030
movl (%rbx), %edx
movq 0x8(%rbx), %r13
movq %r13, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xdb16d
incl (%rax)
movq %r13, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xdb185
incl (%rax)
leaq -0x70(%rbp), %rax
movq %rax, (%rsp)
leaq -0x58(%rbp), %r8
leaq -0x50(%rbp), %r9
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rcx
movl %edx, %r15d
movq %r8, %r12
callq 0xb2d9d
movq (%r12), %rdi
leaq -0x70(%rbp), %rax
movq (%rax), %rcx
leaq -0x48(%rbp), %r8
movl %r15d, %esi
movq %r13, %rdx
callq 0xb6146
movq %rax, %r13
movq 0x10(%rbx), %r15
movq %r15, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0xdb1e0
incl (%rax)
movl (%rbx), %esi
movq 0x8(%rbx), %rdx
andq %rdx, %r14
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xdb1f9
incl (%r14)
movq -0x48(%rbp), %rdi
leaq -0x98(%rbp), %r12
movq %r12, %rcx
callq 0xa9de0
movq (%r12), %rdx
movq -0x50(%rbp), %r8
leaq -0x88(%rbp), %r14
movq %r14, (%rsp)
movzbl %al, %ecx
leaq -0x90(%rbp), %r12
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %r9
callq 0xde106
movq (%r12), %rdi
movq (%r14), %rsi
leaq -0x80(%rbp), %r14
leaq -0x78(%rbp), %r15
movl -0x30(%rbp), %edx
movq -0x38(%rbp), %rcx
movq %r14, %r8
movq %r15, %r9
callq 0xdac09
movq (%r14), %r12
movq (%r15), %r15
movl 0x8(%r15), %edi
movq 0x10(%r15), %rsi
leaq -0xb0(%rbp), %r14
movq %rbx, %rdx
movq %r14, %rcx
callq 0xb1439
movups (%r14), %xmm0
movups %xmm0, 0x8(%r15)
movq -0x40(%rbp), %r13
movq -0xb8(%rbp), %rax
movq %r15, (%rax)
movq %r12, (%r13)
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x948f(%rip), %xmm0     # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x9494(%rip), %xmm0     # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5