// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_exposezestackzetypezx
static void mw_mirth_c99_exposezestackzetypezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_type_StackType in_StackType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	struct mirth_mirth_zaMirth* v6;
	struct mirth_type_StackType v7 = mw_mirth_type_StackType_expand(in_zaMirth_1, in_StackType_3, &v6);
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_9;
	switch ((v7).tag) {
		case mirth_type_StackType_Cons: {
			struct mirth_type_Type v10;
			struct mirth_type_StackType v11 = mtp_mirth_type_StackType_Cons(v7, &v10);
			struct mirth_mirth_zaMirth* v12;
			struct mirth_c99_zaC99Branch* v13;
			struct mirth_c99_C99ReprType v14 = mw_mirth_c99_zaC99Branch_typezetozec99zerepr(v6, in_zaC99Branch_2, v10, &v12, &v13);
			struct mirth_mirth_zaMirth* v15;
			struct mirth_c99_zaC99Branch* v16;
			struct mirth_c99_zaC99Value* v17;
			mw_mirth_c99_zaC99Branch_popzevaluezx(v12, v13, v14, &v15, &v16, &v17);
			struct mirth_mirth_zaMirth* v18;
			struct mirth_c99_zaC99Branch* v19;
			mw_mirth_c99_exposezestackzetypezx(v15, v16, v11, &v18, &v19);
			struct mirth_mirth_zaMirth* v20;
			struct mirth_c99_zaC99Branch* v21;
			mw_mirth_c99_zaC99Value_pushzevaluezx(v18, v19, v17, &v20, &v21);
			branch_zaC99Branch_9 = v21;
			branch_zaMirth_8 = v20;
		} break;
		case mirth_type_StackType_With: {
			struct mirth_type_Type v22;
			struct mirth_type_StackType v23 = mtp_mirth_type_StackType_With(v7, &v22);
			struct mirth_mirth_zaMirth* v24;
			struct mirth_c99_zaC99Branch* v25;
			struct mirth_c99_C99ReprType v26 = mw_mirth_c99_zaC99Branch_resourcezetozec99zerepr(v6, in_zaC99Branch_2, v22, &v24, &v25);
			struct mirth_mirth_zaMirth* v27;
			struct mirth_c99_zaC99Branch* v28;
			struct mirth_c99_zaC99Resource* v29;
			mw_mirth_c99_zaC99Branch_popzeresourcezx(v24, v25, v26, &v27, &v28, &v29);
			struct mirth_mirth_zaMirth* v30;
			struct mirth_c99_zaC99Branch* v31;
			mw_mirth_c99_exposezestackzetypezx(v27, v28, v23, &v30, &v31);
			struct mirth_mirth_zaMirth* v32;
			struct mirth_c99_zaC99Branch* v33;
			mw_mirth_c99_zaC99Resource_pushzeresourcezx(v30, v31, v29, &v32, &v33);
			branch_zaC99Branch_9 = v33;
			branch_zaMirth_8 = v32;
		} break;
		case mirth_type_StackType_ConsLabel: {
			struct mirth_type_Type v34;
			uint64_t v35;
			struct mirth_type_StackType v36 = mtp_mirth_type_StackType_ConsLabel(v7, &v34, &v35);
			struct mirth_mirth_zaMirth* v37;
			struct mirth_c99_zaC99Branch* v38;
			struct mirth_c99_C99ReprType v39 = mw_mirth_c99_zaC99Branch_typezetozec99zerepr(v6, in_zaC99Branch_2, v34, &v37, &v38);
			struct mirth_mirth_zaMirth* v40;
			struct mirth_c99_zaC99Branch* v41;
			struct mirth_c99_zaC99Value* v42;
			mw_mirth_c99_zaC99Branch_popzevaluezelabelzx(v37, v38, v39, v35, &v40, &v41, &v42);
			struct mirth_mirth_zaMirth* v43;
			struct mirth_c99_zaC99Branch* v44;
			mw_mirth_c99_exposezestackzetypezx(v40, v41, v36, &v43, &v44);
			struct mirth_mirth_zaMirth* v45;
			struct mirth_c99_zaC99Branch* v46;
			mw_mirth_c99_pushzevaluezelabelzx(v43, v44, v35, v42, &v45, &v46);
			branch_zaC99Branch_9 = v46;
			branch_zaMirth_8 = v45;
		} break;
		case mirth_type_StackType_WithLabel: {
			struct mirth_type_Type v47;
			uint64_t v48;
			struct mirth_type_StackType v49 = mtp_mirth_type_StackType_WithLabel(v7, &v47, &v48);
			struct mirth_mirth_zaMirth* v50;
			struct mirth_c99_zaC99Branch* v51;
			struct mirth_c99_C99ReprType v52 = mw_mirth_c99_zaC99Branch_resourcezetozec99zerepr(v6, in_zaC99Branch_2, v47, &v50, &v51);
			struct mirth_mirth_zaMirth* v53;
			struct mirth_c99_zaC99Branch* v54;
			struct mirth_c99_zaC99Resource* v55;
			mw_mirth_c99_zaC99Branch_popzeresourcezelabelzx(v50, v51, v52, v48, &v53, &v54, &v55);
			struct mirth_mirth_zaMirth* v56;
			struct mirth_c99_zaC99Branch* v57;
			mw_mirth_c99_exposezestackzetypezx(v53, v54, v49, &v56, &v57);
			struct mirth_mirth_zaMirth* v58;
			struct mirth_c99_zaC99Branch* v59;
			mw_mirth_c99_pushzeresourcezelabelzx(v56, v57, v48, v55, &v58, &v59);
			branch_zaC99Branch_9 = v59;
			branch_zaMirth_8 = v58;
		} break;
		default: {
			decref(MK_mirth_type_StackType(v7));
			branch_zaC99Branch_9 = in_zaC99Branch_2;
			branch_zaMirth_8 = v6;
		} break;
	}
	*out_zaC99Branch_5 = branch_zaC99Branch_9;
	*out_zaMirth_4 = branch_zaMirth_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2b0, %rsp            # imm = 0x2B0
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x18(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x38(%rbp), %rcx
callq 0xba1d0
movl %eax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movl -0x48(%rbp), %eax
addl $-0x5, %eax
movl %eax, %ecx
movq %rcx, -0x2a0(%rbp)
subl $0x3, %eax
ja 0x34ee01
movq -0x2a0(%rbp), %rax
leaq 0x5391(%rip), %rcx      # 0x353d74
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0xba570
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x68(%rbp), %edx
movq -0x60(%rbp), %rcx
leaq -0x80(%rbp), %r8
leaq -0x88(%rbp), %r9
callq 0x294250
movl %eax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x80(%rbp), %rdi
movq -0x88(%rbp), %rsi
movl -0x98(%rbp), %edx
movq -0x90(%rbp), %rcx
leaq -0xa0(%rbp), %r8
leaq -0xa8(%rbp), %r9
leaq -0xb0(%rbp), %rax
movq %rax, (%rsp)
callq 0x294820
movq -0xa0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
movl -0x78(%rbp), %edx
movq -0x70(%rbp), %rcx
leaq -0xb8(%rbp), %r8
leaq -0xc0(%rbp), %r9
callq 0x34e980
movq -0xb8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
movq -0xb0(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
leaq -0xd0(%rbp), %r8
callq 0x28cb50
movq -0xd0(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x34ef0a
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
callq 0xba740
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0xe0(%rbp), %edx
movq -0xd8(%rbp), %rcx
leaq -0xf8(%rbp), %r8
leaq -0x100(%rbp), %r9
callq 0x294510
movl %eax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0xf8(%rbp), %rdi
movq -0x100(%rbp), %rsi
movl -0x110(%rbp), %edx
movq -0x108(%rbp), %rcx
leaq -0x118(%rbp), %r8
leaq -0x120(%rbp), %r9
leaq -0x128(%rbp), %rax
movq %rax, (%rsp)
callq 0x294a50
movq -0x118(%rbp), %rdi
movq -0x120(%rbp), %rsi
movl -0xf0(%rbp), %edx
movq -0xe8(%rbp), %rcx
leaq -0x130(%rbp), %r8
leaq -0x138(%rbp), %r9
callq 0x34e980
movq -0x130(%rbp), %rdi
movq -0x138(%rbp), %rsi
movq -0x128(%rbp), %rdx
leaq -0x140(%rbp), %rcx
leaq -0x148(%rbp), %r8
callq 0x28cca0
movq -0x148(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x34ef0a
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0x158(%rbp), %rdx
leaq -0x160(%rbp), %rcx
callq 0xba980
movl %eax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x158(%rbp), %edx
movq -0x150(%rbp), %rcx
leaq -0x178(%rbp), %r8
leaq -0x180(%rbp), %r9
callq 0x294250
movl %eax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x178(%rbp), %rdi
movq -0x180(%rbp), %rsi
movq -0x160(%rbp), %r8
movl -0x190(%rbp), %edx
movq -0x188(%rbp), %rcx
leaq -0x198(%rbp), %r9
leaq -0x1a0(%rbp), %r10
leaq -0x1a8(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x2942b0
movq -0x198(%rbp), %rdi
movq -0x1a0(%rbp), %rsi
movl -0x170(%rbp), %edx
movq -0x168(%rbp), %rcx
leaq -0x1b0(%rbp), %r8
leaq -0x1b8(%rbp), %r9
callq 0x34e980
movq -0x1b0(%rbp), %rdi
movq -0x1b8(%rbp), %rsi
movq -0x160(%rbp), %rdx
movq -0x1a8(%rbp), %rcx
leaq -0x1c0(%rbp), %r8
leaq -0x1c8(%rbp), %r9
callq 0x28cbd0
movq -0x1c8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x1c0(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x34ef0a
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0x1d8(%rbp), %rdx
leaq -0x1e0(%rbp), %rcx
callq 0xbab70
movl %eax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x1d8(%rbp), %edx
movq -0x1d0(%rbp), %rcx
leaq -0x1f8(%rbp), %r8
leaq -0x200(%rbp), %r9
callq 0x294510
movl %eax, -0x210(%rbp)
movq %rdx, -0x208(%rbp)
movq -0x1f8(%rbp), %rdi
movq -0x200(%rbp), %rsi
movq -0x1e0(%rbp), %r8
movl -0x210(%rbp), %edx
movq -0x208(%rbp), %rcx
leaq -0x218(%rbp), %r9
leaq -0x220(%rbp), %r10
leaq -0x228(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x294570
movq -0x218(%rbp), %rdi
movq -0x220(%rbp), %rsi
movl -0x1f0(%rbp), %edx
movq -0x1e8(%rbp), %rcx
leaq -0x230(%rbp), %r8
leaq -0x238(%rbp), %r9
callq 0x34e980
movq -0x230(%rbp), %rdi
movq -0x238(%rbp), %rsi
movq -0x1e0(%rbp), %rdx
movq -0x228(%rbp), %rcx
leaq -0x240(%rbp), %r8
leaq -0x248(%rbp), %r9
callq 0x28cd70
movq -0x248(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x240(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x34ef0a
jmp 0x34ee03
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movq -0x250(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x34eef8
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x268(%rbp), %rax
cmpq $0x0, %rax
je 0x34eef8
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x278(%rbp)
movq %rdx, -0x270(%rbp)
movq -0x278(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x34eef8
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x288(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x34eef6
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x298(%rbp)
movq %rdx, -0x290(%rbp)
movq -0x298(%rbp), %rdi
movq -0x290(%rbp), %rsi
callq 0x127c0
jmp 0x34eef8
jmp 0x34eefa
movq -0x20(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x58(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x50(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
addq $0x2b0, %rsp            # imm = 0x2B0
popq %rbp
retq
nopl (%rax)