// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_Prop_1_compute
static struct std_maybe_Maybe_1 mw_mirth_mirth_Prop_1_compute (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_mirth_Prop_1* in_Prop_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_mirth_Prop_1* *out_Prop_5) {
	incref(MK_mirth_mirth_Prop_1(in_Prop_2));
	struct mirth_mirth_PropState_1 v6 = in_Prop_2->mstate;
	incref(MK_mirth_mirth_PropState_1(v6));
	decref(MK_mirth_mirth_Prop_1(in_Prop_2));
	struct mirth_mirth_zaMirth* v7;
	struct mirth_mirth_PropState_1 v8;
	struct std_maybe_Maybe_1 v9 = mw_mirth_mirth_PropState_1_compute(in_zaMirth_1, v6, &v7, &v8);
	struct mirth_mirth_Prop_1* v10 = mirth_mirth_Prop_1_set_state(in_Prop_2, v8);
	*out_Prop_5 = v10;
	*out_zaMirth_3 = v7;
	return v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
movq %rsi, %r15
movq %rdi, -0x30(%rbp)
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq %r15, %rax
andq %rsi, %rax
setne %dl
testb $0x3, %r15b
sete %cl
andb %dl, %cl
cmpb $0x1, %cl
jne 0x2f7b6
incl (%rax)
movl 0x18(%r15), %ebx
movq 0x20(%r15), %r13
movq %r13, %r12
andq %rsi, %r12
setne %dl
testb $0x3, %r13b
sete %r14b
andb %dl, %r14b
cmpb $0x1, %r14b
jne 0x2f7dc
incl (%r12)
testb %cl, %cl
je 0x2f7f3
decl (%rax)
jne 0x2f7f3
leaq 0xd8fe6(%rip), %rsi     # 0x1087d1
movq %r15, %rdi
callq 0xce94
testb %r14b, %r14b
je 0x2f7fc
incl (%r12)
cmpl $0x2, %ebx
je 0x2f96f
cmpl $0x1, %ebx
je 0x2f82d
testl %ebx, %ebx
jne 0x2f9a9
movq %r13, %rdi
callq 0x146cb
movq %rax, %rdi
movq %rdx, %rsi
callq 0x8d0c
movq %rdx, %r14
jmp 0x2f967
leaq -0x60(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq %r13, %rdi
callq 0x14c2a
testb %r14b, %r14b
je 0x2f86e
decl (%r12)
jne 0x2f86e
movq %rax, %rbx
leaq 0xd8fc7(%rip), %rsi     # 0x108819
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
addq $0x4, %rax
orq %rax, %r13
movq %r13, %rdi
callq 0xce94
movq %rbx, %rax
movq -0x30(%rbp), %r14
movq 0x48(%r14), %rbx
leaq 0xd8fe4(%rip), %r13     # 0x108861
movq %rbx, %rsi
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rsi
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x2f8b0
cmpl $0x0, (%rsi)
jne 0x2f8b0
movq %rbx, %rdi
movq %rax, %r12
movq %r13, %rsi
callq 0xce94
movq %r12, %rax
movq %rax, 0x48(%r14)
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0xd08e
leaq 0xd9028(%rip), %rsi     # 0x1088f0
movq %r14, %rdi
callq 0x883c
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0xfad6
callq 0xd429
movq %rax, %r14
movq 0x48(%rax), %rdi
movq %rdi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x2f913
decl (%rax)
jne 0x2f913
movq %r13, %rsi
callq 0xce94
movq %r14, -0x30(%rbp)
movq %rbx, 0x48(%r14)
callq 0xd3d6
movq %rax, %rbx
movq %rdx, %r12
testb $0x1, %r12b
je 0x2f94b
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x2f94b
incl (%rax)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x8d0c
movq %rdx, %r14
movq %rbx, %rdi
movq %r12, %rsi
callq 0x14dd4
movq %rax, %r13
pushq $0x1
popq %r12
xorl %ebx, %ebx
jmp 0x2f975
xorl %r12d, %r12d
xorl %r14d, %r14d
movq %r15, %rdi
movl %ebx, %esi
movq %r13, %rdx
callq 0x14ce9
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq -0x40(%rbp), %rax
movq -0x30(%rbp), %rcx
movq %rcx, (%rax)
movl %r12d, %eax
movq %r14, %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa4e5d(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6