// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_arrow_Op_tozerunzevar
static struct std_maybe_Maybe_1 mw_mirth_arrow_Op_tozerunzevar (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Op in_Op_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct std_maybe_Maybe_1 branch_Maybe_6;
	switch ((in_Op_2).tag) {
		case mirth_arrow_Op_Var: {
			uint64_t v7 = mtp_mirth_arrow_Op_Var(in_Op_2);
			struct mirth_mirth_zaMirth* v8;
			struct std_maybe_Maybe_1 v9 = mw_mirth_var_Var_autozerunzy(in_zaMirth_1, v7, &v8);
			int64_t v10 = (v9).tag;
			decref(MK_std_maybe_Maybe_1(v9));
			INT v11 = WRAP_I63(0LL);
			INT v12 = v11;
			INT v13 = i64_to_int(v10);
			bool v14 = int_eq(v13, v12);
			bool v15 = !v14;
			struct std_maybe_Maybe_1 branch_Maybe_16;
			if (v15) {
				struct std_maybe_Maybe_1 v17 = mtw_std_maybe_Maybe_1_Some(MK_mirth_var_Var(v7));
				branch_Maybe_16 = v17;
			} else {
				struct std_maybe_Maybe_1 v18 = { .tag=std_maybe_Maybe_1_None };
				branch_Maybe_16 = v18;
			}
			branch_Maybe_6 = branch_Maybe_16;
			branch_zaMirth_5 = v8;
		} break;
		default: {
			decref(MK_mirth_arrow_Op(in_Op_2));
			struct std_maybe_Maybe_1 v19 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_6 = v19;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_Maybe_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movl -0x20(%rbp), %eax
subl $0x9, %eax
jne 0x21f8b5
jmp 0x21f698
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x133050
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x14f510
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movl -0x58(%rbp), %eax
movq %rax, -0x60(%rbp)
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x133a0
movq %rax, -0x70(%rbp)
movq %rdx, -0x68(%rbp)
movq -0x68(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21f7aa
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x133a0
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x80(%rbp), %rax
cmpq $0x0, %rax
je 0x21f7aa
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x133a0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x90(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21f7aa
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x133a0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21f7a8
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x133a0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x127c0
jmp 0x21f7aa
jmp 0x21f7ac
movq 0x14f29d(%rip), %rax    # 0x36ea50
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x60(%rbp), %rdi
callq 0x1a290
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0xc9(%rbp)
movb -0xc9(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xca(%rbp)
testb $0x1, -0xca(%rbp)
je 0x21f863
movq -0x40(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x172312(%rip), %rax    # 0x391b30
movq %rax, -0xf8(%rbp)
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
callq 0xca10
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0x21f892
leaq -0x110(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x110(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x21f9df
jmp 0x21f8b7
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x122ee0
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x118(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x21f9ac
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x122ee0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rax
cmpq $0x0, %rax
je 0x21f9ac
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x122ee0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x21f9ac
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x122ee0
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x21f9aa
movl -0x20(%rbp), %edi
movq -0x18(%rbp), %rsi
callq 0x122ee0
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rdi
movq -0x158(%rbp), %rsi
callq 0x127c0
jmp 0x21f9ac
jmp 0x21f9ae
leaq -0x170(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x170(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
nopw (%rax,%rax)