// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackType_topzetypezy
static struct std_maybe_Maybe_1 mw_mirth_type_StackType_topzetypezy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackType in_StackType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct mirth_type_StackType v6 = mw_mirth_type_StackType_expand(in_zaMirth_1, in_StackType_2, &v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_maybe_Maybe_1 branch_Maybe_8;
	switch ((v6).tag) {
		case mirth_type_StackType_With: {
			struct mirth_type_Type v9;
			struct mirth_type_StackType v10 = mtp_mirth_type_StackType_With(v6, &v9);
			decref(MK_mirth_type_Type(v9));
			struct mirth_mirth_zaMirth* v11;
			struct std_maybe_Maybe_1 v12 = mw_mirth_type_StackType_topzetypezy(v5, v10, &v11);
			branch_Maybe_8 = v12;
			branch_zaMirth_7 = v11;
		} break;
		case mirth_type_StackType_Cons: {
			struct mirth_type_Type v13;
			struct mirth_type_StackType v14 = mtp_mirth_type_StackType_Cons(v6, &v13);
			decref(MK_mirth_type_StackType(v14));
			struct std_maybe_Maybe_1 v15 = mtw_std_maybe_Maybe_1_Some(MK_mirth_type_Type(v13));
			branch_Maybe_8 = v15;
			branch_zaMirth_7 = v5;
		} break;
		case mirth_type_StackType_ConsLabel: {
			struct mirth_type_Type v16;
			uint64_t v17;
			struct mirth_type_StackType v18 = mtp_mirth_type_StackType_ConsLabel(v6, &v16, &v17);
			decref(MK_mirth_type_Type(v16));
			struct mirth_mirth_zaMirth* v19;
			struct std_maybe_Maybe_1 v20 = mw_mirth_type_StackType_topzetypezy(v5, v18, &v19);
			branch_Maybe_8 = v20;
			branch_zaMirth_7 = v19;
		} break;
		case mirth_type_StackType_WithLabel: {
			struct mirth_type_Type v21;
			uint64_t v22;
			struct mirth_type_StackType v23 = mtp_mirth_type_StackType_WithLabel(v6, &v21, &v22);
			decref(MK_mirth_type_Type(v21));
			struct mirth_mirth_zaMirth* v24;
			struct std_maybe_Maybe_1 v25 = mw_mirth_type_StackType_topzetypezy(v5, v23, &v24);
			branch_Maybe_8 = v25;
			branch_zaMirth_7 = v24;
		} break;
		default: {
			decref(MK_mirth_type_StackType(v6));
			struct std_maybe_Maybe_1 v26 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_8 = v26;
			branch_zaMirth_7 = v5;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2f0, %rsp            # imm = 0x2F0
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%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, -0x2f0(%rbp)
subl $0x3, %eax
ja 0x1041c3
movq -0x2f0(%rbp), %rax
leaq 0x24e499(%rip), %rcx    # 0x352054
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0xba740
movl %eax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x6e780
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x103cc7
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x6e780
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x103cc7
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x6e780
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x103cc7
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x6e780
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x103cc5
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x6e780
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
callq 0x127c0
jmp 0x103cc7
jmp 0x103cc9
movq -0x38(%rbp), %rdi
movl -0x70(%rbp), %esi
movq -0x68(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
callq 0x103b60
movl %eax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x1042ed
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0xba570
movl %eax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x6f140
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x100(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x103e46
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x6f140
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
cmpq $0x0, %rax
je 0x103e46
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x6f140
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movq -0x128(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x103e46
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x6f140
movq %rax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x138(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x103e44
movl -0xf8(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x6f140
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0x127c0
jmp 0x103e46
jmp 0x103e48
movl -0xe8(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x6e780
movq %rax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movq -0x168(%rbp), %rdi
movq -0x160(%rbp), %rsi
callq 0xca10
movl %eax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x1042ed
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0x178(%rbp), %rdx
leaq -0x180(%rbp), %rcx
callq 0xba980
movl %eax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movl -0x178(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x198(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x103fe5
movl -0x178(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1b0(%rbp), %rax
cmpq $0x0, %rax
je 0x103fe5
movl -0x178(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x1c0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x103fe5
movl -0x178(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1d0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x103fe3
movl -0x178(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x6e780
movq %rax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rdi
movq -0x1d8(%rbp), %rsi
callq 0x127c0
jmp 0x103fe5
jmp 0x103fe7
movq -0x38(%rbp), %rdi
movl -0x190(%rbp), %esi
movq -0x188(%rbp), %rdx
leaq -0x1e8(%rbp), %rcx
callq 0x103b60
movl %eax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x1042ed
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
leaq -0x208(%rbp), %rdx
leaq -0x210(%rbp), %rcx
callq 0xbab70
movl %eax, -0x220(%rbp)
movq %rdx, -0x218(%rbp)
movl -0x208(%rbp), %edi
movq -0x200(%rbp), %rsi
callq 0x6e780
movq %rax, -0x230(%rbp)
movq %rdx, -0x228(%rbp)
movq -0x228(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x104171
movl -0x208(%rbp), %edi
movq -0x200(%rbp), %rsi
callq 0x6e780
movq %rax, -0x240(%rbp)
movq %rdx, -0x238(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x240(%rbp), %rax
cmpq $0x0, %rax
je 0x104171
movl -0x208(%rbp), %edi
movq -0x200(%rbp), %rsi
callq 0x6e780
movq %rax, -0x250(%rbp)
movq %rdx, -0x248(%rbp)
movq -0x250(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x104171
movl -0x208(%rbp), %edi
movq -0x200(%rbp), %rsi
callq 0x6e780
movq %rax, -0x260(%rbp)
movq %rdx, -0x258(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x260(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x10416f
movl -0x208(%rbp), %edi
movq -0x200(%rbp), %rsi
callq 0x6e780
movq %rax, -0x270(%rbp)
movq %rdx, -0x268(%rbp)
movq -0x270(%rbp), %rdi
movq -0x268(%rbp), %rsi
callq 0x127c0
jmp 0x104171
jmp 0x104173
movq -0x38(%rbp), %rdi
movl -0x220(%rbp), %esi
movq -0x218(%rbp), %rdx
leaq -0x278(%rbp), %rcx
callq 0x103b60
movl %eax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movq -0x288(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x280(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x278(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x1042ed
jmp 0x1041c5
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x298(%rbp)
movq %rdx, -0x290(%rbp)
movq -0x290(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1042ba
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x2a8(%rbp)
movq %rdx, -0x2a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2a8(%rbp), %rax
cmpq $0x0, %rax
je 0x1042ba
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x2b8(%rbp)
movq %rdx, -0x2b0(%rbp)
movq -0x2b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1042ba
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x2c8(%rbp)
movq %rdx, -0x2c0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x2c8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1042b8
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x6f140
movq %rax, -0x2d8(%rbp)
movq %rdx, -0x2d0(%rbp)
movq -0x2d8(%rbp), %rdi
movq -0x2d0(%rbp), %rsi
callq 0x127c0
jmp 0x1042ba
jmp 0x1042bc
leaq -0x2e8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x2e8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x2e0(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x2f0, %rsp            # imm = 0x2F0
popq %rbp
retq
nopl (%rax,%rax)