// File: /workspace/github_c_makefile_star2_O3/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 0xd6c30
movq %r8, %r13
movq %rsi, %r15
movq %rdi, %rbx
movl %edx, %eax
leaq 0x9ed7(%rip), %rdx      # 0xe04dc
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
movq %r9, -0xb8(%rbp)
jmpq *%rax
leaq -0xb0(%rbp), %r14
leaq -0x60(%rbp), %r12
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xd5221
movq (%r12), %r12
movq (%r14), %r15
jmp 0xd6c10
movq %r13, -0x48(%rbp)
movl (%rcx), %eax
movl %eax, -0x40(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x68(%rbp)
movq 0x10(%rcx), %r14
movq 0x18(%rcx), %r12
movq %rcx, %rdi
callq 0x5030
movl (%r14), %edx
movq %r14, -0x30(%rbp)
movq 0x8(%r14), %r13
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xd668c
addl $0x2, (%rax)
leaq -0x70(%rbp), %r14
movq %r14, 0x8(%rsp)
leaq -0x58(%rbp), %rax
movq %rax, (%rsp)
leaq -0x60(%rbp), %r9
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rcx
movq %r12, -0x38(%rbp)
movl %edx, -0x9c(%rbp)
movq %r12, %r8
callq 0xafaf2
movq (%r14), %rdi
movl (%rdi), %ebx
movq 0x8(%rdi), %r15
movq 0x10(%rdi), %r14
callq 0x5030
leaq -0xb0(%rbp), %r12
movl %ebx, %edi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xae5e3
movq (%r12), %rcx
leaq -0x60(%rbp), %rax
movq (%rax), %rdi
leaq -0x50(%rbp), %r8
movl -0x9c(%rbp), %esi
movq %r13, %rdx
callq 0xb32da
movq %rax, %rbx
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r14
movq %r14, %rax
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
andq %rdi, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xd672d
incl (%rax)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x8(%rax), %rdx
andq %rdx, %rdi
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x48(%rbp), %r13
jne 0xd674d
incl (%rdi)
movq -0x50(%rbp), %rdi
leaq -0x98(%rbp), %r15
movq %r15, %rcx
callq 0xa717f
movq (%r15), %rdx
movq -0x58(%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 0xd99ad
movq (%r15), %rdi
movq (%r12), %rsi
leaq -0x80(%rbp), %rbx
leaq -0x78(%rbp), %r14
movl -0x40(%rbp), %edx
movq -0x68(%rbp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xd65d6
movq (%rbx), %r15
movq (%r14), %r12
movl 0x8(%r12), %edi
movq 0x10(%r12), %rsi
leaq -0xb0(%rbp), %rbx
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq %rbx, %r8
callq 0xae80b
jmp 0xd6c07
movq %r13, -0x48(%rbp)
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movl (%rcx), %eax
movl %eax, -0x38(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x40(%rbp)
movq 0x10(%rcx), %r14
movq %rcx, %rdi
callq 0x5030
movl (%r14), %edx
movq %r14, -0x30(%rbp)
movq 0x8(%r14), %r13
movq %r13, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r13b
setne %sil
orb %cl, %sil
jne 0xd6822
addl $0x2, (%rax)
leaq -0x70(%rbp), %r14
movq %r14, (%rsp)
leaq -0x60(%rbp), %r8
leaq -0x58(%rbp), %r9
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rcx
movl %edx, -0x68(%rbp)
callq 0xb0549
movq (%r14), %rdi
movl (%rdi), %ebx
movq 0x8(%rdi), %r15
movq 0x10(%rdi), %r14
callq 0x5030
leaq -0xb0(%rbp), %r12
movl %ebx, %edi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xae5e3
movq (%r12), %rcx
leaq -0x60(%rbp), %rax
movq (%rax), %rdi
leaq -0x50(%rbp), %r8
movl -0x68(%rbp), %esi
movq %r13, %rdx
callq 0xb32da
movq %rax, %rbx
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r14
movq %r14, %rax
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
andq %rdi, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xd68b1
incl (%rax)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x8(%rax), %rdx
andq %rdx, %rdi
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x48(%rbp), %r13
jne 0xd68d1
incl (%rdi)
movq -0x50(%rbp), %rdi
leaq -0x98(%rbp), %r15
movq %r15, %rcx
callq 0xa717f
movq (%r15), %rdx
movq -0x58(%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 0xd99ad
movq (%r15), %rdi
movq (%r12), %rsi
leaq -0x80(%rbp), %rbx
leaq -0x78(%rbp), %r14
movl -0x38(%rbp), %edx
movq -0x40(%rbp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xd65d6
movq (%rbx), %r15
movq (%r14), %r12
movl 0x8(%r12), %edi
movq 0x10(%r12), %rsi
leaq -0xb0(%rbp), %rbx
movq -0x30(%rbp), %rdx
movq %rbx, %rcx
callq 0xae79d
jmp 0xd6c07
movq %r13, -0x48(%rbp)
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movl (%rcx), %eax
movl %eax, -0x40(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x68(%rbp)
movq 0x10(%rcx), %r13
movq 0x18(%rcx), %rax
movq %rax, -0x38(%rbp)
movq %rcx, %rdi
callq 0x5030
movl (%r13), %r14d
movq %r13, -0x30(%rbp)
movq 0x8(%r13), %r13
movq %r13, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0xd69a9
addl $0x2, (%rax)
leaq -0x70(%rbp), %rax
movq %rax, 0x8(%rsp)
leaq -0x58(%rbp), %rax
movq %rax, (%rsp)
leaq -0x60(%rbp), %r9
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
movq %r13, %rcx
movq -0x38(%rbp), %r8
movq %r9, %rbx
callq 0xaf68d
movq (%rbx), %rdi
leaq -0x70(%rbp), %rax
movq (%rax), %rcx
leaq -0x50(%rbp), %r8
movl %r14d, %esi
movq %r13, %rdx
callq 0xb32da
movq %rax, %rbx
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r14
movq %r14, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xd6a10
incl (%rax)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x8(%rax), %rdx
andq %rdx, %r12
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x48(%rbp), %r13
jne 0xd6a32
incl (%r12)
movq -0x50(%rbp), %rdi
leaq -0x98(%rbp), %r15
movq %r15, %rcx
callq 0xa717f
movq (%r15), %rdx
movq -0x58(%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 0xd99ad
movq (%r15), %rdi
movq (%r12), %rsi
leaq -0x80(%rbp), %rbx
leaq -0x78(%rbp), %r14
movl -0x40(%rbp), %edx
movq -0x68(%rbp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xd65d6
movq (%rbx), %r15
movq (%r14), %r12
movl 0x8(%r12), %edi
movq 0x10(%r12), %rsi
leaq -0xb0(%rbp), %rbx
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq %rbx, %r8
callq 0xae6b8
jmp 0xd6c07
movq %r13, -0x48(%rbp)
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movl (%rcx), %eax
movl %eax, -0x38(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x40(%rbp)
movq 0x10(%rcx), %r13
movq %rcx, %rdi
callq 0x5030
movl (%r13), %r14d
movq %r13, -0x30(%rbp)
movq 0x8(%r13), %r13
movq %r13, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0xd6b06
addl $0x2, (%rax)
leaq -0x70(%rbp), %rax
movq %rax, (%rsp)
leaq -0x60(%rbp), %r8
leaq -0x58(%rbp), %r9
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
movq %r13, %rcx
movq %r8, %rbx
callq 0xaff57
movq (%rbx), %rdi
leaq -0x70(%rbp), %rax
movq (%rax), %rcx
leaq -0x50(%rbp), %r8
movl %r14d, %esi
movq %r13, %rdx
callq 0xb32da
movq %rax, %rbx
movq -0x30(%rbp), %rax
movq 0x10(%rax), %r14
movq %r14, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xd6b64
incl (%rax)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movq 0x8(%rax), %rdx
andq %rdx, %r12
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x48(%rbp), %r13
jne 0xd6b86
incl (%r12)
movq -0x50(%rbp), %rdi
leaq -0x98(%rbp), %r15
movq %r15, %rcx
callq 0xa717f
movq (%r15), %rdx
movq -0x58(%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 0xd99ad
movq (%r15), %rdi
movq (%r12), %rsi
leaq -0x80(%rbp), %rbx
leaq -0x78(%rbp), %r14
movl -0x38(%rbp), %edx
movq -0x40(%rbp), %rcx
movq %rbx, %r8
movq %r14, %r9
callq 0xd65d6
movq (%rbx), %r15
movq (%r14), %r12
movl 0x8(%r12), %edi
movq 0x10(%r12), %rsi
leaq -0xb0(%rbp), %rbx
movq -0x30(%rbp), %rdx
movq %rbx, %rcx
callq 0xae64a
movups (%rbx), %xmm0
movups %xmm0, 0x8(%r12)
movq -0xb8(%rbp), %rax
movq %r12, (%rax)
movq %r15, (%r13)
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x9a84(%rip), %xmm0     # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x9a89(%rip), %xmm0     # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302