// File: /workspace/github_c_makefile_star2_O1/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 0x140f0
movq %rbx, %rdi
movq %rax, %r13
movq %rax, %rbx
testb $0x1, %dl
je 0x15903
movq %r13, %rax
andq %rdi, %rax
sete %cl
testb $0x3, %bl
setne %sil
orb %cl, %sil
jne 0x15903
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 0x15927
incl (%rax)
leaq 0xffea3(%rip), %rsi     # 0x1157d1
andq %rdi, %r13
sete %al
testb $0x3, %bl
setne %r14b
orb %al, %r14b
jne 0x15960
decl (%r13)
jne 0x15960
movq %rbx, %rdi
movq %rdx, -0x30(%rbp)
callq 0xd4e3
movq -0x30(%rbp), %rdx
movabsq $0xfffffffffffc, %rdi   # imm = 0xFFFFFFFFFFFC
cmpl $0x2, %r12d
je 0x15c4a
cmpl $0x1, %r12d
je 0x159c1
testl %r12d, %r12d
jne 0x15c8e
movq %rdx, -0x30(%rbp)
testb $0x1, %dl
sete %r12b
movq %r15, %rdi
callq 0x157a7
movq %rax, %r15
orb %r14b, %r12b
jne 0x159ac
decl (%r13)
jne 0x159ac
movq %rbx, %rdi
movq -0x30(%rbp), %rsi
movq %rdx, %rbx
callq 0xd4e3
movq %rbx, %rdx
movq %r15, %rdi
movq %rdx, %rsi
callq 0x95f6
movl $0x1, %eax
jmp 0x15c59
movq %rdi, %r12
leaq -0x68(%rbp), %rsi
leaq -0x58(%rbp), %rdx
movq %r15, %rdi
callq 0x15cbe
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 0x159fa
incl (%rcx)
orq %rax, %r15
leaq 0xffea5(%rip), %r12     # 0x1158a9
testb %r14b, %r14b
jne 0x15a1e
decl (%r13)
jne 0x15a1e
movq %rbx, %rdi
leaq 0xffdb8(%rip), %rsi     # 0x1157d1
callq 0xd4e3
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 0x9741
movups (%rbx), %xmm0
movups %xmm0, 0x68(%r14)
movq 0x48(%r14), %r13
leaq 0xffe0f(%rip), %rsi     # 0x115861
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x15a7d
cmpl $0x0, (%rax)
jne 0x15a7d
movq %r13, %rdi
callq 0xd4e3
movq -0x30(%rbp), %rax
movq %rax, 0x48(%r14)
movq -0x40(%rbp), %r12
movq %r12, %rdi
callq 0x140f0
movq %rax, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x15d7d
movq %rax, %rdi
leaq 0xffd27(%rip), %rsi     # 0x1157d1
movq %r12, %rdx
callq 0x14ab5
leaq 0xffe37(%rip), %rsi     # 0x1158f0
movq %r14, %rdi
callq 0x9116
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xd6f1
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x108e5
callq 0xda3f
movq %rax, %rbx
movq %rdx, %r14
testb $0x1, %r14b
je 0x15b0b
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x15b0b
incl (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15e68
movq %rax, %r15
movq %r12, %rdi
callq 0x140f0
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x15d7d
movq %rax, %rdi
leaq 0xffc99(%rip), %rsi     # 0x1157d1
movq %r12, %rdx
callq 0x14ab5
movq %rbx, %rdi
movq %r14, %rsi
callq 0x95f6
movq %rdx, -0x40(%rbp)
callq 0xda98
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 0x15b93
decl (%rax)
jne 0x15b93
leaq 0xffcdd(%rip), %rsi     # 0x115861
callq 0xd4e3
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 0x15bbb
incl (%rbx)
movq %r14, -0x38(%rbp)
addq $0x68, %r14
leaq -0x78(%rbp), %rdx
movq %rdi, -0x30(%rbp)
movq %r15, %rsi
callq 0x115ef
movq %rdx, %r13
testb %r12b, %r12b
je 0x15bfc
decl (%rbx)
jne 0x15bfc
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %r15, %rdi
leaq 0xff688(%rip), %rsi     # 0x115279
movq %rax, %rbx
callq 0xd4e3
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 0x15c3b
decl (%rdx)
jne 0x15c3b
shlq $0x30, %rax
orq %r13, %rax
leaq 0xff68e(%rip), %rsi     # 0x1152c1
movq %rax, %rdi
callq 0xd4e3
movl $0x1, %eax
movq -0x38(%rbp), %r14
movq -0x40(%rbp), %rdx
jmp 0x15c78
testb $0x1, %dl
sete %al
orb %r14b, %al
je 0x15c5f
xorl %eax, %eax
xorl %edx, %edx
movq -0x38(%rbp), %r14
jmp 0x15c78
decl (%r13)
movq -0x38(%rbp), %r14
jne 0x15c74
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xd4e3
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
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xceaa6(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xceaab(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5