// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_Prop_1_tryzeforcezx
static struct std_maybe_Maybe_1 mw_mirth_mirth_Prop_1_tryzeforcezx (struct mirth_mirth_zaMirth* in_zaMirth_1, void* in_MutProp_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	VAL v5 = mut_get(in_MutProp_2);
	incref(v5);
	struct mirth_mirth_PropState_1 v6 = V_mirth_mirth_Prop_1(v5)->mstate;
	incref(MK_mirth_mirth_PropState_1(v6));
	decref(MK_mirth_mirth_Prop_1(V_mirth_mirth_Prop_1(v5)));
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_maybe_Maybe_1 branch_Maybe_8;
	switch ((v6).tag) {
		case mirth_mirth_PropState_1_Ready: {
			VAL v9 = mtp_mirth_mirth_PropState_1_Ready(v6);
			decref(v5);
			struct std_maybe_Maybe_1 v10 = mtw_std_maybe_Maybe_1_Some(v9);
			branch_Maybe_8 = v10;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		case mirth_mirth_PropState_1_Delay: {
			VAL v11;
			VAL v12;
			struct mirth_mirth_LexicalState* v13 = mtp_mirth_mirth_PropState_1_Delay(v6, &v11, &v12);
			struct mirth_mirth_PropLabel v14 = V_mirth_mirth_Prop_1(v5)->mlabel;
			incref(MK_mirth_mirth_PropLabel(v14));
			decref(MK_mirth_mirth_Prop_1(V_mirth_mirth_Prop_1(v5)));
			struct std_list_List_1 r15 = in_zaMirth_1->mzapropstack;
			struct std_list_List_1 v16;
			mw_std_list_zaLister_1_pushzx(MK_mirth_mirth_PropLabel(v14), r15, &v16);
			in_zaMirth_1->mzapropstack = v16;
			struct mirth_mirth_LexicalState* v17 = in_zaMirth_1->mlexicalzestate;
			incref(MK_mirth_mirth_LexicalState(v17));
			struct mirth_mirth_LexicalState* v18 = in_zaMirth_1->mlexicalzestate;
			decref(MK_mirth_mirth_LexicalState(v18));
			in_zaMirth_1->mlexicalzestate = v13;
			struct mirth_mirth_PropState_1 v19 = { .tag=mirth_mirth_PropState_1_Computing };
			VAL v20 = mut_get(in_MutProp_2);
			struct mirth_mirth_Prop_1* v21 = mirth_mirth_Prop_1_set_state(V_mirth_mirth_Prop_1(v20), v19);
			mut_set(MK_mirth_mirth_Prop_1(v21), in_MutProp_2);
			push_resource(MK_mirth_mirth_zaMirth(in_zaMirth_1));
			push_value(v11);
			run_value(v12);
			VAL v22 = pop_value();
			incref(v22);
			struct mirth_mirth_PropState_1 v23 = mtw_mirth_mirth_PropState_1_Ready(v22);
			VAL v24 = mut_get(in_MutProp_2);
			struct mirth_mirth_Prop_1* v25 = mirth_mirth_Prop_1_set_state(V_mirth_mirth_Prop_1(v24), v23);
			mut_set(MK_mirth_mirth_Prop_1(v25), in_MutProp_2);
			struct std_maybe_Maybe_1 v26 = mtw_std_maybe_Maybe_1_Some(v22);
			struct mirth_mirth_zaMirth* r27 = V_mirth_mirth_zaMirth(pop_resource());
			struct mirth_mirth_LexicalState* v28 = r27->mlexicalzestate;
			decref(MK_mirth_mirth_LexicalState(v28));
			r27->mlexicalzestate = v17;
			struct std_list_List_1 r29 = r27->mzapropstack;
			struct std_list_List_1 v30;
			struct std_maybe_Maybe_1 v31 = mw_std_list_zaLister_1_popzx(r29, &v30);
			r27->mzapropstack = v30;
			decref(MK_std_maybe_Maybe_1(v31));
			branch_Maybe_8 = v26;
			branch_zaMirth_7 = r27;
		} break;
		case mirth_mirth_PropState_1_Computing: {
			decref(v5);
			struct std_maybe_Maybe_1 v32 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_8 = v32;
			branch_zaMirth_7 = in_zaMirth_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, -0x48(%rbp)
movq %rdi, %r14
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq %rsi, -0x40(%rbp)
movq %rsi, %rdi
callq 0x1307d
movq %rbx, %rdi
movq %rax, %r13
movq %rax, %rbx
testb $0x1, %dl
je 0x1488e
movq %r13, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %bl
setne %sil
orb %cl, %sil
jne 0x1488e
incl (%rax)
movq %r14, -0x38(%rbp)
movl 0x18(%rbx), %r12d
movq 0x20(%rbx), %r15
movq %r15, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %r15b
setne %sil
orb %cl, %sil
jne 0x148b2
incl (%rax)
leaq 0xf3f18(%rip), %rsi     # 0x1087d1
andq %rdi, %r13
sete %al
testb $0x3, %bl
setne %r14b
orb %al, %r14b
jne 0x148eb
decl (%r13)
jne 0x148eb
movq %rbx, %rdi
movq %rdx, -0x30(%rbp)
callq 0xce94
movq -0x30(%rbp), %rdx
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
cmpl $0x2, %r12d
je 0x14bcf
cmpl $0x1, %r12d
je 0x1494a
testl %r12d, %r12d
jne 0x14c13
movq %rdx, -0x30(%rbp)
testb $0x1, %dl
sete %r12b
movq %r15, %rdi
callq 0x146cb
movq %rax, %r15
orb %r14b, %r12b
jne 0x14937
decl (%r13)
jne 0x14937
movq %rbx, %rdi
movq -0x30(%rbp), %rsi
movq %rdx, %rbx
callq 0xce94
movq %rbx, %rdx
movq %r15, %rdi
movq %rdx, %rsi
callq 0x8d0c
pushq $0x1
popq %rax
jmp 0x14bde
movq %rdi, %r12
leaq -0x68(%rbp), %rsi
leaq -0x58(%rbp), %rdx
movq %r15, %rdi
callq 0x14c2a
movq %rax, -0x30(%rbp)
movq 0x10(%rbx), %rax
movl 0x8(%rbx), %r15d
shlq $0x30, %r15
movq %rax, %rcx
andq %r12, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x14983
incl (%rcx)
orq %rax, %r15
leaq 0xf3f1c(%rip), %r12     # 0x1088a9
testb %r14b, %r14b
jne 0x149a7
decl (%r13)
jne 0x149a7
movq %rbx, %rdi
leaq 0xf3e2f(%rip), %rsi     # 0x1087d1
callq 0xce94
movq -0x38(%rbp), %r14
movl 0x68(%r14), %edx
movq 0x70(%r14), %rcx
leaq -0x88(%rbp), %rbx
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %r8
callq 0x8e35
movups (%rbx), %xmm0
movups %xmm0, 0x68(%r14)
movq 0x48(%r14), %r13
leaq 0xf3e86(%rip), %rsi     # 0x108861
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x14a06
cmpl $0x0, (%rax)
jne 0x14a06
movq %r13, %rdi
callq 0xce94
movq -0x30(%rbp), %rax
movq %rax, 0x48(%r14)
movq -0x40(%rbp), %r12
movq %r12, %rdi
callq 0x1307d
pushq $0x2
popq %rsi
movq %rax, %rdi
xorl %edx, %edx
callq 0x14ce9
movq %rax, %rdi
leaq 0xf3da0(%rip), %rsi     # 0x1087d1
movq %r12, %rdx
callq 0x1393b
leaq 0xf3eb0(%rip), %rsi     # 0x1088f0
movq %r14, %rdi
callq 0x883c
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xd08e
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0xfad6
callq 0xd3d6
movq %rax, %rbx
movq %rdx, %r14
testb $0x1, %r14b
je 0x14a92
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x14a92
incl (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14dd4
movq %rax, %r15
movq %r12, %rdi
callq 0x1307d
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x14ce9
movq %rax, %rdi
leaq 0xf3d12(%rip), %rsi     # 0x1087d1
movq %r12, %rdx
callq 0x1393b
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8d0c
movq %rdx, -0x40(%rbp)
callq 0xd429
movq %rax, %r14
movq 0x48(%rax), %rdi
movq %rdi, %rax
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x14b1a
decl (%rax)
jne 0x14b1a
leaq 0xf3d56(%rip), %rsi     # 0x108861
callq 0xce94
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq %r13, 0x48(%r14)
movl 0x68(%r14), %edi
movq 0x70(%r14), %r15
movq %r15, %rbx
andq %rsi, %rbx
setne %al
testb $0x3, %r15b
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0x14b42
incl (%rbx)
movq %r14, -0x38(%rbp)
addq $0x68, %r14
leaq -0x78(%rbp), %rdx
movq %rdi, -0x30(%rbp)
movq %r15, %rsi
callq 0x1075d
movq %rdx, %r13
testb %r12b, %r12b
je 0x14b83
decl (%rbx)
jne 0x14b83
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %r15, %rdi
leaq 0xf3701(%rip), %rsi     # 0x108279
movq %rax, %rbx
callq 0xce94
movq %rbx, %rax
movups -0x78(%rbp), %xmm0
movups %xmm0, (%r14)
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %r13, %rdx
sete %sil
testb $0x3, %r13b
setne %cl
orb %sil, %cl
jne 0x14bc2
decl (%rdx)
jne 0x14bc2
shlq $0x30, %rax
orq %r13, %rax
leaq 0xf3707(%rip), %rsi     # 0x1082c1
movq %rax, %rdi
callq 0xce94
pushq $0x1
popq %rax
movq -0x38(%rbp), %r14
movq -0x40(%rbp), %rdx
jmp 0x14bfd
testb $0x1, %dl
sete %al
orb %r14b, %al
je 0x14be4
xorl %eax, %eax
xorl %edx, %edx
movq -0x38(%rbp), %r14
jmp 0x14bfd
decl (%r13)
movq -0x38(%rbp), %r14
jne 0x14bf9
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xce94
xorl %eax, %eax
xorl %edx, %edx
movq -0x48(%rbp), %rcx
movq %r14, (%rcx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xbfbf3(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6