// File: /workspace/github_c_makefile_star2_O3/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, -0x30(%rbp)
movq %rdi, %r14
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq %rsi, -0x48(%rbp)
movq %rsi, %rdi
callq 0x13d82
movq %rbx, %rdi
movq %rax, %r13
movq %rax, %rbx
testb $0x1, %dl
je 0x155b0
movq %r13, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %bl
setne %sil
orb %cl, %sil
jne 0x155b0
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 0x155d4
incl (%rax)
leaq 0xfc1f6(%rip), %rsi     # 0x1117d1
andq %rdi, %r13
sete %al
testb $0x3, %bl
setne %r14b
orb %al, %r14b
jne 0x1560d
decl (%r13)
jne 0x1560d
movq %rbx, %rdi
movq %rdx, -0x40(%rbp)
callq 0xd13d
movq -0x40(%rbp), %rdx
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
cmpl $0x2, %r12d
je 0x158a3
cmpl $0x1, %r12d
je 0x1566e
testl %r12d, %r12d
jne 0x1594c
movq %rdx, -0x40(%rbp)
testb $0x1, %dl
sete %r12b
movq %r15, %rdi
callq 0x15454
movq %rax, %r15
orb %r14b, %r12b
jne 0x15659
decl (%r13)
jne 0x15659
movq %rbx, %rdi
movq -0x40(%rbp), %rsi
movq %rdx, %rbx
callq 0xd13d
movq %rbx, %rdx
movq %r15, %rdi
movq %rdx, %rsi
callq 0x9353
movl $0x1, %eax
jmp 0x158b2
movq %rdi, %r12
leaq -0x68(%rbp), %rsi
leaq -0x58(%rbp), %rdx
movq %r15, %rdi
callq 0x1597c
movq %rax, -0x40(%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 0x156a7
incl (%rcx)
orq %rax, %r15
leaq 0xfc1f8(%rip), %r12     # 0x1118a9
testb %r14b, %r14b
jne 0x156cb
decl (%r13)
jne 0x156cb
movq %rbx, %rdi
leaq 0xfc10b(%rip), %rsi     # 0x1117d1
callq 0xd13d
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 0x949e
movups (%rbx), %xmm0
movups %xmm0, 0x68(%r14)
movq 0x48(%r14), %r13
leaq 0xfc162(%rip), %rsi     # 0x111861
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x1572a
cmpl $0x0, (%rax)
jne 0x1572a
movq %r13, %rdi
callq 0xd13d
movq -0x40(%rbp), %rax
movq %rax, 0x48(%r14)
movq -0x48(%rbp), %r12
movq %r12, %rdi
callq 0x13d82
movq %rax, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x15a3b
movq %rax, %rdi
leaq 0xfc07a(%rip), %rsi     # 0x1117d1
movq %r12, %rdx
callq 0x14766
leaq 0xfc18a(%rip), %rsi     # 0x1118f0
movq %r14, %rdi
callq 0x8e6d
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xd34b
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x104c4
callq 0xd699
movq %rax, %rbx
movq %rdx, %r14
testb $0x1, %r14b
je 0x157b8
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x157b8
incl (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15b30
movq %rax, %r15
movq %r12, %rdi
callq 0x13d82
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x15a3b
movq %rax, %rdi
leaq 0xfbfec(%rip), %rsi     # 0x1117d1
movq %r12, %rdx
callq 0x14766
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9353
movq %rdx, -0x48(%rbp)
callq 0xd6f2
movq %rax, %rbx
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 0x15840
decl (%rax)
jne 0x15840
leaq 0xfc030(%rip), %rsi     # 0x111861
callq 0xd13d
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movq %r13, 0x48(%rbx)
movq %rbx, %r14
addq $0x68, %r14
movl 0x68(%rbx), %r13d
movq %rbx, -0x38(%rbp)
movq 0x70(%rbx), %r15
movq %r15, %rbx
andq %rsi, %rbx
setne %al
testb $0x3, %r15b
sete %cl
testb %cl, %al
je 0x158bc
incl (%rbx)
leaq -0x78(%rbp), %rdx
movl %r13d, %edi
movq %r15, %rsi
callq 0x111eb
movl %eax, %edi
movq %rdx, %r12
decl (%rbx)
jne 0x158d0
shlq $0x30, %r13
orq %r15, %r13
leaq 0xfb9e6(%rip), %rsi     # 0x111279
movq %rdi, %rbx
movq %r13, %rdi
callq 0xd13d
movq %rbx, %rdi
jmp 0x158d0
testb $0x1, %dl
sete %al
orb %r14b, %al
je 0x1591d
xorl %eax, %eax
xorl %edx, %edx
movq -0x30(%rbp), %rbx
movq -0x38(%rbp), %r14
jmp 0x1593a
leaq -0x78(%rbp), %rdx
movl %r13d, %edi
movq %r15, %rsi
callq 0x111eb
movl %eax, %edi
movq %rdx, %r12
movq -0x30(%rbp), %rbx
movups -0x78(%rbp), %xmm0
movups %xmm0, (%r14)
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %r12, %rdx
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x1590e
decl (%rdx)
jne 0x1590e
shlq $0x30, %rdi
orq %r12, %rdi
leaq 0xfb9b8(%rip), %rsi     # 0x1112c1
callq 0xd13d
movl $0x1, %eax
movq -0x38(%rbp), %r14
movq -0x48(%rbp), %rdx
jmp 0x1593a
decl (%r13)
movq -0x38(%rbp), %r14
jne 0x15932
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xd13d
xorl %eax, %eax
xorl %edx, %edx
movq -0x30(%rbp), %rbx
movq %r14, (%rbx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xcad68(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xcad6d(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302