// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_maybe_Maybe_1_if_2_sp5
static void mw_std_maybe_Maybe_1_if_2_sp5 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_need_zaNeeds* in_zaNeeds_2, struct std_list_List_1 in_List_3, struct std_maybe_Maybe_1 in_Maybe_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_need_zaNeeds* *out_zaNeeds_6) {
	int64_t v7 = (in_Maybe_4).tag;
	decref(MK_std_maybe_Maybe_1(in_Maybe_4));
	INT v8 = WRAP_I63(0LL);
	INT v9 = v8;
	INT v10 = i64_to_int(v7);
	bool v11 = int_eq(v10, v9);
	bool v12 = !v11;
	struct mirth_mirth_zaMirth* branch_zaMirth_13;
	struct mirth_need_zaNeeds* branch_zaNeeds_14;
	if (v12) {
		struct mirth_mirth_zaMirth* v15;
		struct mirth_need_zaNeeds* v16;
		mw_mirth_need_zaNeeds_runzeargszx(in_zaMirth_1, in_zaNeeds_2, in_List_3, &v15, &v16);
		branch_zaNeeds_14 = v16;
		branch_zaMirth_13 = v15;
	} else {
		struct mirth_mirth_zaMirth* v17;
		struct mirth_need_zaNeeds* v18;
		mw_mirth_need_zaNeeds_pushzeargszx(in_zaMirth_1, in_zaNeeds_2, in_List_3, &v17, &v18);
		branch_zaNeeds_14 = v18;
		branch_zaMirth_13 = v17;
	}
	*out_zaNeeds_6 = branch_zaNeeds_14;
	*out_zaMirth_5 = branch_zaMirth_13;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movl %r8d, -0x20(%rbp)
movq %r9, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movl -0x20(%rbp), %eax
movq %rax, -0x38(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x133a0
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21d9e8
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x133a0
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0x21d9e8
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x133a0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21d9e8
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x133a0
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21d9e6
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x133a0
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0x127c0
jmp 0x21d9e8
jmp 0x21d9ea
movq 0x15105f(%rip), %rax    # 0x36ea50
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x38(%rbp), %rdi
callq 0x1a290
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0xa1(%rbp)
movb -0xa1(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xa2(%rbp)
testb $0x1, -0xa2(%rbp)
je 0x21da8a
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq -0xc0(%rbp), %r8
leaq -0xc8(%rbp), %r9
callq 0x21df70
movq -0xc8(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xb0(%rbp)
jmp 0x21dac8
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x10(%rbp), %edx
movq -0x8(%rbp), %rcx
leaq -0xd0(%rbp), %r8
leaq -0xd8(%rbp), %r9
callq 0x21b2e0
movq -0xd8(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xb8(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0xb0(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax)