// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_PropState_1_compute
static struct std_maybe_Maybe_1 mw_mirth_mirth_PropState_1_compute (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_mirth_PropState_1 in_PropState_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_mirth_PropState_1 *out_PropState_5) {
	incref(MK_mirth_mirth_PropState_1(in_PropState_2));
	struct mirth_mirth_zaMirth* branch_zaMirth_6;
	struct std_maybe_Maybe_1 branch_Maybe_7;
	struct mirth_mirth_PropState_1 branch_PropState_8;
	switch ((in_PropState_2).tag) {
		case mirth_mirth_PropState_1_Ready: {
			VAL v9 = mtp_mirth_mirth_PropState_1_Ready(in_PropState_2);
			struct std_maybe_Maybe_1 v10 = mtw_std_maybe_Maybe_1_Some(v9);
			branch_PropState_8 = in_PropState_2;
			branch_Maybe_7 = v10;
			branch_zaMirth_6 = 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(in_PropState_2, &v11, &v12);
			decref(MK_mirth_mirth_PropState_1(in_PropState_2));
			struct mirth_mirth_LexicalState* v14 = in_zaMirth_1->mlexicalzestate;
			incref(MK_mirth_mirth_LexicalState(v14));
			struct mirth_mirth_LexicalState* v15 = in_zaMirth_1->mlexicalzestate;
			decref(MK_mirth_mirth_LexicalState(v15));
			in_zaMirth_1->mlexicalzestate = v13;
			push_value(v11);
			push_resource(MK_mirth_mirth_zaMirth(in_zaMirth_1));
			run_value(v12);
			struct mirth_mirth_zaMirth* r16 = V_mirth_mirth_zaMirth(pop_resource());
			struct mirth_mirth_LexicalState* v17 = r16->mlexicalzestate;
			decref(MK_mirth_mirth_LexicalState(v17));
			r16->mlexicalzestate = v14;
			VAL v18 = pop_value();
			incref(v18);
			struct std_maybe_Maybe_1 v19 = mtw_std_maybe_Maybe_1_Some(v18);
			struct mirth_mirth_PropState_1 v20 = mtw_mirth_mirth_PropState_1_Ready(v18);
			branch_PropState_8 = v20;
			branch_Maybe_7 = v19;
			branch_zaMirth_6 = r16;
		} break;
		case mirth_mirth_PropState_1_Computing: {
			struct std_maybe_Maybe_1 v21 = { .tag=std_maybe_Maybe_1_None };
			branch_PropState_8 = in_PropState_2;
			branch_Maybe_7 = v21;
			branch_zaMirth_6 = in_zaMirth_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	*out_PropState_5 = branch_PropState_8;
	*out_zaMirth_3 = branch_zaMirth_6;
	return branch_Maybe_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x290, %rsp            # imm = 0x290
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa7443
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0xa7443
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa7443
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xa7445
movl -0x20(%rbp), %eax
movl %eax, -0x28c(%rbp)
testl %eax, %eax
je 0xa7479
jmp 0xa7454
movl -0x28c(%rbp), %eax
subl $0x1, %eax
je 0xa74ec
jmp 0xa7465
movl -0x28c(%rbp), %eax
subl $0x2, %eax
je 0xa7aae
jmp 0xa7af7
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46fb0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
callq 0xca10
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0xa7b10
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
leaq -0xd0(%rbp), %rcx
callq 0x48040
movq %rax, -0xd8(%rbp)
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa7602
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0xa7602
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x108(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa7602
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xa7600
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x46090
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
callq 0x127c0
jmp 0xa7602
jmp 0xa7604
movq -0x28(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x2ea2c8(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa76e8
movq -0x130(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0x2ea293(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x148(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rax
cmpq $0x0, %rax
je 0xa76e8
movq -0x130(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq 0x2ea25c(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x158(%rbp)
movq -0x160(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa76e8
movq -0x130(%rbp), %rax
movq %rax, -0x170(%rbp)
leaq 0x2ea22b(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x168(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xa76ea
movq -0x28(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x178(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq 0x2ea1e2(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x180(%rbp)
movq -0x180(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa780c
movq -0x178(%rbp), %rax
movq %rax, -0x198(%rbp)
leaq 0x2ea1ad(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x190(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
cmpq $0x0, %rax
je 0xa780c
movq -0x178(%rbp), %rax
movq %rax, -0x1a8(%rbp)
leaq 0x2ea172(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa780c
movq -0x178(%rbp), %rax
movq %rax, -0x1b8(%rbp)
leaq 0x2ea141(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1b0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1b8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xa780a
movq -0x178(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq 0x2ea104(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rdi
movq -0x1c0(%rbp), %rsi
callq 0x127c0
jmp 0xa780c
jmp 0xa780e
movq -0xd8(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
callq 0x12cc0
movq -0x28(%rbp), %rax
movq %rax, -0x1d8(%rbp)
leaq 0x2ea13e(%rip), %rax    # 0x391980
movq %rax, -0x1d0(%rbp)
movq -0x1d8(%rbp), %rdi
movq -0x1d0(%rbp), %rsi
callq 0x5b40
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0x276b0
callq 0x13920
movq %rax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rax
movq %rax, -0x208(%rbp)
leaq 0x2ea039(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x200(%rbp)
movq -0x200(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa79b5
movq -0x1f8(%rbp), %rax
movq %rax, -0x218(%rbp)
leaq 0x2ea004(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x210(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x218(%rbp), %rax
cmpq $0x0, %rax
je 0xa79b5
movq -0x1f8(%rbp), %rax
movq %rax, -0x228(%rbp)
leaq 0x2e9fc9(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x220(%rbp)
movq -0x228(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa79b5
movq -0x1f8(%rbp), %rax
movq %rax, -0x238(%rbp)
leaq 0x2e9f98(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x230(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x238(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xa79b3
movq -0x1f8(%rbp), %rax
movq %rax, -0x248(%rbp)
leaq 0x2e9f5b(%rip), %rax    # 0x3918f0
orq $0x1, %rax
movq %rax, -0x240(%rbp)
movq -0x248(%rbp), %rdi
movq -0x240(%rbp), %rsi
callq 0x127c0
jmp 0xa79b5
jmp 0xa79b7
movq -0x130(%rbp), %rcx
movq -0x1e0(%rbp), %rax
movq %rcx, 0x48(%rax)
callq 0x138a0
movq %rax, -0x258(%rbp)
movq %rdx, -0x250(%rbp)
movq -0x250(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xa7a2d
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x258(%rbp), %rax
cmpq $0x0, %rax
je 0xa7a2d
movq -0x258(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xa7a2d
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x258(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xa7a2f
movq -0x258(%rbp), %rdi
movq -0x250(%rbp), %rsi
callq 0xca10
movl %eax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movq -0x258(%rbp), %rdi
movq -0x250(%rbp), %rsi
callq 0x48490
movl %eax, -0x278(%rbp)
movq %rdx, -0x270(%rbp)
movq -0x278(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x270(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x268(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x260(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0xa7b10
leaq -0x288(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x20(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x288(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x280(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0xa7b10
leaq 0x2ac383(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movq -0x38(%rbp), %rax
movups -0x90(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x80(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x290, %rsp            # imm = 0x290
popq %rbp
retq
nopl (%rax)