// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_table_parsezefield
static uint64_t mw_mirth_table_parsezefield (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 std_maybe_Maybe_1 *out_Maybe_6, uint64_t *out_Token_7, uint64_t *out_Token_8, uint64_t *out_Token_9, struct std_maybe_Maybe_1 *out_Maybe_10) {
	struct mirth_mirth_zaMirth* v11;
	struct std_maybe_Maybe_1 v12 = mw_mirth_token_Token_doc(in_zaMirth_1, in_Token_2, &v11);
	struct mirth_mirth_zaMirth* v13;
	uint64_t v14 = mw_mirth_token_Token_next(v11, in_Token_2, &v13);
	struct mirth_mirth_zaMirth* v15;
	INT v16 = mw_mirth_token_Token_numzeargs(v13, in_Token_2, &v15);
	INT v17 = WRAP_I63(4LL);
	INT v18 = v17;
	INT v19 = v16;
	bool v20 = int_eq(v19, v18);
	struct std_maybe_Maybe_1 branch_Maybe_21;
	uint64_t branch_Token_22;
	struct mirth_mirth_zaMirth* branch_zaMirth_23;
	uint64_t branch_Token_24;
	uint64_t branch_Token_25;
	uint64_t branch_Token_26;
	struct std_maybe_Maybe_1 branch_Maybe_27;
	if (v20) {
		struct mirth_mirth_zaMirth* v28;
		uint64_t v29;
		uint64_t v30;
		uint64_t v31;
		uint64_t v32 = mw_mirth_token_Token_argsze4(v15, in_Token_2, &v28, &v29, &v30, &v31);
		struct std_maybe_Maybe_1 v33 = mtw_std_maybe_Maybe_1_Some(MK_mirth_token_Token(v31));
		branch_Maybe_27 = v33;
		branch_Token_26 = v30;
		branch_Token_25 = v29;
		branch_Token_24 = v32;
		branch_zaMirth_23 = v28;
		branch_Token_22 = v14;
		branch_Maybe_21 = v12;
	} else {
		struct mirth_mirth_zaMirth* v34;
		uint64_t v35;
		uint64_t v36;
		uint64_t v37 = mw_mirth_token_Token_argsze3(v15, in_Token_2, &v34, &v35, &v36);
		struct std_maybe_Maybe_1 v38 = { .tag=std_maybe_Maybe_1_None };
		branch_Maybe_27 = v38;
		branch_Token_26 = v36;
		branch_Token_25 = v35;
		branch_Token_24 = v37;
		branch_zaMirth_23 = v34;
		branch_Token_22 = v14;
		branch_Maybe_21 = v12;
	}
	struct mirth_mirth_zaMirth* v39;
	struct std_maybe_Maybe_1 v40;
	uint64_t v41 = mw_mirth_mirth_zaMirth_parsezeowner(branch_zaMirth_23, branch_Token_24, &v39, &v40);
	struct mirth_mirth_zaMirth* v42;
	struct std_maybe_Maybe_1 v43 = mw_mirth_token_Token_namezfdnamezy(v39, v41, &v42);
	int64_t v44 = (v43).tag;
	decref(MK_std_maybe_Maybe_1(v43));
	INT v45 = WRAP_I63(0LL);
	INT v46 = v45;
	INT v47 = i64_to_int(v44);
	bool v48 = int_eq(v47, v46);
	bool v49 = !v48;
	struct mirth_mirth_zaMirth* branch_zaMirth_50;
	uint64_t branch_Token_51;
	if (v49) {
		branch_Token_51 = v41;
		branch_zaMirth_50 = v42;
	} else {
		STR* v52;
		STRLIT(v52, "Expected field name.", 20);
		mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v42, v41, v52);
	}
	struct mirth_mirth_zaMirth* v54;
	struct std_maybe_Maybe_1 v55 = mw_mirth_token_Token_lastzenamezy(branch_zaMirth_50, branch_Token_51, &v54);
	struct mirth_mirth_zaMirth* branch_zaMirth_56;
	bool branch_Bool_57;
	switch ((v55).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v58 = mtp_std_maybe_Maybe_1_Some(v55);
			struct mirth_mirth_zaMirth* v59;
			bool v60 = mw_mirth_name_Name_couldzebezefieldzenamezy(v54, V_mirth_name_Name(v58), &v59);
			branch_Bool_57 = v60;
			branch_zaMirth_56 = v59;
		} break;
		case std_maybe_Maybe_1_None: {
			bool v61 = false;
			branch_Bool_57 = v61;
			branch_zaMirth_56 = v54;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct mirth_mirth_zaMirth* branch_zaMirth_62;
	uint64_t branch_Token_63;
	if (branch_Bool_57) {
		branch_Token_63 = branch_Token_51;
		branch_zaMirth_62 = branch_zaMirth_56;
	} else {
		STR* v64;
		STRLIT(v64, "Invalid field name, must start with lowercase letter or tilde.", 62);
		mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(branch_zaMirth_56, branch_Token_51, v64);
	}
	struct mirth_mirth_zaMirth* v66;
	mw_mirth_token_Token_argsze0(branch_zaMirth_62, branch_Token_63, &v66);
	*out_Maybe_10 = branch_Maybe_27;
	*out_Token_9 = branch_Token_26;
	*out_Token_8 = branch_Token_25;
	*out_Token_7 = branch_Token_63;
	*out_Maybe_6 = v40;
	*out_Maybe_5 = branch_Maybe_21;
	*out_zaMirth_3 = v66;
	return branch_Token_22;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp            # imm = 0x300
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0xa3eb0
movl %eax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x7b380
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0x78f50
movq %rax, -0x68(%rbp)
movq 0x1d9ac0(%rip), %rax    # 0x36ea88
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0x81(%rbp)
testb $0x1, -0x81(%rbp)
je 0x1950e4
movq -0x60(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
leaq -0xe0(%rbp), %rcx
leaq -0xe8(%rbp), %r8
leaq -0xf0(%rbp), %r9
callq 0x195d30
movq %rax, -0xf8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x1fce05(%rip), %rax    # 0x391e48
movq %rax, -0x110(%rbp)
movq -0x118(%rbp), %rdi
movq -0x110(%rbp), %rsi
callq 0xca10
movl %eax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x195195
movq -0x60(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x120(%rbp), %rdx
leaq -0x128(%rbp), %rcx
leaq -0x130(%rbp), %r8
callq 0x1961e0
movq %rax, -0x138(%rbp)
leaq -0x148(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x148(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xa8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0x150(%rbp), %rdx
leaq -0x160(%rbp), %rcx
callq 0x179340
movq %rax, -0x168(%rbp)
movq -0x150(%rbp), %rdi
movq -0x168(%rbp), %rsi
leaq -0x170(%rbp), %rdx
callq 0x78530
movl %eax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movl -0x180(%rbp), %eax
movq %rax, -0x188(%rbp)
movl -0x180(%rbp), %edi
movq -0x178(%rbp), %rsi
callq 0x133a0
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x195304
movl -0x180(%rbp), %edi
movq -0x178(%rbp), %rsi
callq 0x133a0
movq %rax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a8(%rbp), %rax
cmpq $0x0, %rax
je 0x195304
movl -0x180(%rbp), %edi
movq -0x178(%rbp), %rsi
callq 0x133a0
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x195304
movl -0x180(%rbp), %edi
movq -0x178(%rbp), %rsi
callq 0x133a0
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x195302
movl -0x180(%rbp), %edi
movq -0x178(%rbp), %rsi
callq 0x133a0
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d8(%rbp), %rdi
movq -0x1d0(%rbp), %rsi
callq 0x127c0
jmp 0x195304
jmp 0x195306
movq 0x1d9743(%rip), %rax    # 0x36ea50
movq %rax, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x188(%rbp), %rdi
callq 0x1a290
movq %rax, -0x1f0(%rbp)
movq -0x1f0(%rbp), %rdi
movq -0x1e8(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0x1f1(%rbp)
movb -0x1f1(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x1f2(%rbp)
testb $0x1, -0x1f2(%rbp)
je 0x19538a
movq -0x168(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x200(%rbp)
jmp 0x1954af
jmp 0x19538c
cmpq $0x0, 0x1200f54(%rip)   # 0x13962e8
jne 0x1953ae
leaq 0x1c58ab(%rip), %rdi    # 0x35ac48
movl $0x14, %esi
callq 0xb6c0
movq %rax, 0x1200f3a(%rip)   # 0x13962e8
jmp 0x1953b0
movq 0x1200f31(%rip), %rax   # 0x13962e8
movq %rax, -0x220(%rbp)
leaq 0x1fbd93(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movq -0x218(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x195485
movq 0x1200efc(%rip), %rax   # 0x13962e8
movq %rax, -0x230(%rbp)
leaq 0x1fbd5e(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x228(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x230(%rbp), %rax
cmpq $0x0, %rax
je 0x195485
movq 0x1200ec5(%rip), %rax   # 0x13962e8
movq %rax, -0x240(%rbp)
leaq 0x1fbd27(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x238(%rbp)
movq -0x240(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x195485
movq 0x1200e94(%rip), %rax   # 0x13962e8
movq %rax, -0x250(%rbp)
leaq 0x1fbcf6(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x248(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x250(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x195487
movq 0x1200e5a(%rip), %rax   # 0x13962e8
movq %rax, -0x210(%rbp)
movq -0x170(%rbp), %rdi
movq -0x168(%rbp), %rsi
movq -0x210(%rbp), %rdx
callq 0x76b70
movq -0x200(%rbp), %rdi
movq -0x208(%rbp), %rsi
leaq -0x258(%rbp), %rdx
callq 0x196620
movl %eax, -0x268(%rbp)
movq %rdx, -0x260(%rbp)
movl -0x268(%rbp), %eax
movl %eax, -0x2fc(%rbp)
testl %eax, %eax
je 0x195559
jmp 0x1954e8
movl -0x2fc(%rbp), %eax
subl $0x1, %eax
jne 0x19557e
jmp 0x1954f9
movl -0x268(%rbp), %edi
movq -0x260(%rbp), %rsi
callq 0x174a0
movq %rax, -0x288(%rbp)
movq %rdx, -0x280(%rbp)
movq -0x258(%rbp), %rdi
movq -0x288(%rbp), %rsi
leaq -0x290(%rbp), %rdx
callq 0x17a270
andb $0x1, %al
movb %al, -0x291(%rbp)
movb -0x291(%rbp), %al
andb $0x1, %al
movb %al, -0x271(%rbp)
movq -0x290(%rbp), %rax
movq %rax, -0x270(%rbp)
jmp 0x195597
movb $0x0, -0x292(%rbp)
movb -0x292(%rbp), %al
andb $0x1, %al
movb %al, -0x271(%rbp)
movq -0x258(%rbp), %rax
movq %rax, -0x270(%rbp)
jmp 0x195597
leaq 0x1be8fc(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
testb $0x1, -0x271(%rbp)
je 0x1955c1
movq -0x208(%rbp), %rax
movq %rax, -0x2a8(%rbp)
movq -0x270(%rbp), %rax
movq %rax, -0x2a0(%rbp)
jmp 0x1956e6
jmp 0x1955c3
cmpq $0x0, 0x1200d25(%rip)   # 0x13962f0
jne 0x1955e5
leaq 0x1c5689(%rip), %rdi    # 0x35ac5d
movl $0x3e, %esi
callq 0xb6c0
movq %rax, 0x1200d0b(%rip)   # 0x13962f0
jmp 0x1955e7
movq 0x1200d02(%rip), %rax   # 0x13962f0
movq %rax, -0x2c0(%rbp)
leaq 0x1fbb5c(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2b8(%rbp)
movq -0x2b8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1956bc
movq 0x1200ccd(%rip), %rax   # 0x13962f0
movq %rax, -0x2d0(%rbp)
leaq 0x1fbb27(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2c8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2d0(%rbp), %rax
cmpq $0x0, %rax
je 0x1956bc
movq 0x1200c96(%rip), %rax   # 0x13962f0
movq %rax, -0x2e0(%rbp)
leaq 0x1fbaf0(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2d8(%rbp)
movq -0x2e0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1956bc
movq 0x1200c65(%rip), %rax   # 0x13962f0
movq %rax, -0x2f0(%rbp)
leaq 0x1fbabf(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x2e8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x2f0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1956be
movq 0x1200c2b(%rip), %rax   # 0x13962f0
movq %rax, -0x2b0(%rbp)
movq -0x270(%rbp), %rdi
movq -0x208(%rbp), %rsi
movq -0x2b0(%rbp), %rdx
callq 0x76b70
movq -0x2a0(%rbp), %rdi
movq -0x2a8(%rbp), %rsi
leaq -0x2f8(%rbp), %rdx
callq 0x78300
movq 0x20(%rbp), %rax
movq -0xd0(%rbp), %rcx
movq %rcx, (%rax)
movq -0xc8(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0xc0(%rbp), %rcx
movq 0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0xb8(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x2a8(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
movq -0x160(%rbp), %rcx
movq %rcx, (%rax)
movq -0x158(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rax
movq -0x98(%rbp), %rcx
movq %rcx, (%rax)
movq -0x90(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x2f8(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0xa0(%rbp), %rax
addq $0x300, %rsp            # imm = 0x300
popq %rbp
retq
nopw %cs:(%rax,%rax)