// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackType_topzetypeszearezefinezy
static bool mw_mirth_type_StackType_topzetypeszearezefinezy (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackType in_StackType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	incref(MK_mirth_type_StackType(in_StackType_2));
	struct mirth_mirth_zaMirth* v5;
	bool v6 = mw_mirth_type_StackType_topzevaluezeiszefinezy(in_zaMirth_1, in_StackType_2, &v5);
	struct mirth_type_StackType branch_StackType_7;
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	bool branch_Bool_9;
	if (v6) {
		incref(MK_mirth_type_StackType(in_StackType_2));
		struct mirth_mirth_zaMirth* v10;
		bool v11 = mw_mirth_type_StackType_topzeresourcezeiszefinezy(v5, in_StackType_2, &v10);
		branch_Bool_9 = v11;
		branch_zaMirth_8 = v10;
		branch_StackType_7 = in_StackType_2;
	} else {
		bool v12 = false;
		branch_Bool_9 = v12;
		branch_zaMirth_8 = v5;
		branch_StackType_7 = in_StackType_2;
	}
	decref(MK_mirth_type_StackType(branch_StackType_7));
	*out_zaMirth_3 = branch_zaMirth_8;
	return branch_Bool_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0x30(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x28(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xfea6f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rax
cmpq $0x0, %rax
je 0xfea6f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x50(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xfea6f
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xfea71
movq -0x18(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0x68(%rbp), %rcx
callq 0x1022f0
andb $0x1, %al
movb %al, -0x69(%rbp)
testb $0x1, -0x69(%rbp)
je 0xfeba2
jmp 0xfea96
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0x98(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xfeb53
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rax
cmpq $0x0, %rax
je 0xfeb53
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xfeb53
movl -0x10(%rbp), %edi
movq -0x8(%rbp), %rsi
callq 0x6f140
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xfeb55
movq -0x68(%rbp), %rdi
movl -0x10(%rbp), %esi
movq -0x8(%rbp), %rdx
leaq -0xd8(%rbp), %rcx
callq 0x1029f0
andb $0x1, %al
movb %al, -0xd9(%rbp)
movb -0xd9(%rbp), %al
andb $0x1, %al
movb %al, -0x89(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
jmp 0xfebd2
movb $0x0, -0xda(%rbp)
movb -0xda(%rbp), %al
andb $0x1, %al
movb %al, -0x89(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
jmp 0xfebd4
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xfecc9
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rax
cmpq $0x0, %rax
je 0xfecc9
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xfecc9
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xfecc7
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0x127c0
jmp 0xfecc9
jmp 0xfeccb
movq -0x88(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movb -0x89(%rbp), %al
andb $0x1, %al
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopw (%rax,%rax)