// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_parsezeowner
static uint64_t mw_mirth_mirth_zaMirth_parsezeowner (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct std_maybe_Maybe_1 *out_Maybe_5) {
	struct mirth_mirth_zaMirth* v6;
	struct std_maybe_Maybe_1 v7 = mw_mirth_token_Token_namezfdnamezy(in_zaMirth_1, in_Token_2, &v6);
	int64_t v8 = (v7).tag;
	decref(MK_std_maybe_Maybe_1(v7));
	INT v9 = WRAP_I63(0LL);
	INT v10 = v9;
	INT v11 = i64_to_int(v8);
	bool v12 = int_eq(v11, v10);
	bool v13 = !v12;
	uint64_t branch_Token_14;
	struct mirth_mirth_zaMirth* branch_zaMirth_15;
	bool branch_Bool_16;
	if (v13) {
		struct mirth_mirth_zaMirth* v17;
		uint64_t v18 = mw_mirth_token_Token_next(v6, in_Token_2, &v17);
		struct mirth_mirth_zaMirth* v19;
		bool v20 = mw_mirth_token_Token_vdashzy(v17, v18, &v19);
		branch_Bool_16 = v20;
		branch_zaMirth_15 = v19;
		branch_Token_14 = in_Token_2;
	} else {
		bool v21 = false;
		branch_Bool_16 = v21;
		branch_zaMirth_15 = v6;
		branch_Token_14 = in_Token_2;
	}
	struct mirth_mirth_zaMirth* branch_zaMirth_22;
	uint64_t branch_Token_23;
	struct std_maybe_Maybe_1 branch_Maybe_24;
	if (branch_Bool_16) {
		struct mirth_mirth_zaMirth* v25;
		uint64_t v26 = mw_mirth_token_Token_next(branch_zaMirth_15, branch_Token_14, &v25);
		struct mirth_mirth_zaMirth* v27;
		uint64_t v28 = mw_mirth_token_Token_succ(v25, v26, &v27);
		struct std_maybe_Maybe_1 v29 = mtw_std_maybe_Maybe_1_Some(MK_mirth_token_Token(branch_Token_14));
		branch_Maybe_24 = v29;
		branch_Token_23 = v28;
		branch_zaMirth_22 = v27;
	} else {
		struct std_maybe_Maybe_1 v30 = { .tag=std_maybe_Maybe_1_None };
		branch_Maybe_24 = v30;
		branch_Token_23 = branch_Token_14;
		branch_zaMirth_22 = branch_zaMirth_15;
	}
	*out_Maybe_5 = branch_Maybe_24;
	*out_zaMirth_3 = branch_zaMirth_22;
	return branch_Token_23;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movq %rdx, %rbx
movq %rsi, %r15
leaq -0x30(%rbp), %rdx
callq 0x27bd7
movl %eax, %r12d
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x67dcd
decl (%rax)
jne 0x67dcd
movq %r12, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0xad4f9(%rip), %rsi     # 0x1152c1
callq 0xd4e3
leaq 0x1(,%r12,2), %rdi
movl $0x1, %esi
callq 0xec04
testl %eax, %eax
je 0x67e0f
movq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %r12
movq %r15, %rsi
movq %r12, %rdx
callq 0x28928
movq (%r12), %rdi
leaq -0x40(%rbp), %r12
movq %rax, %rsi
movq %r12, %rdx
callq 0x35fc2
movq (%r12), %r12
jmp 0x67e15
movq -0x30(%rbp), %r12
xorl %eax, %eax
testb %al, %al
je 0x67e5a
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x28928
movq (%r13), %r12
xorl %r13d, %r13d
cmpq %rax, 0x10b15bf(%rip)   # 0x11193f8
leaq 0x1(%rax), %rax
cmovaq %rax, %r13
leaq 0xadf70(%rip), %rsi     # 0x115db8
movq %r15, %rdi
callq 0x95f6
movl $0x1, %eax
movq %r13, %r15
jmp 0x67e5e
xorl %eax, %eax
xorl %edx, %edx
movl %eax, (%r14)
movl $0x0, 0x4(%r14)
movq %rdx, 0x8(%r14)
movq %r12, (%rbx)
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq