// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_table_Table_constructorzefields
static struct std_list_List_1 mw_mirth_table_Table_constructorzefields (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Table_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_list_List_1 v6 = mw_mirth_table_Table_inlinezefields(in_zaMirth_1, in_Table_2, &v5);
	struct std_list_List_1 v7 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v8;
	mw_std_list_List_1_buildzx(v7, &v8);
	bool v9 = true;
	struct mirth_mirth_zaMirth* r10 = v5;
	struct std_list_List_1 r11 = v8;
	struct std_list_List_1 v12 = v6;
	bool v13 = v9;
	bool v14 = v9;
	while (v14) {
		struct mirth_mirth_zaMirth* r15 = r10;
		struct std_list_List_1 r16 = r11;
		struct std_list_List_1 v17 = v12;
		bool v18 = v13;
		struct mirth_mirth_zaMirth* branch_zaMirth_19;
		struct std_list_List_1 branch_zaLister_20;
		struct std_list_List_1 branch_List_21;
		bool branch_Bool_22;
		switch ((v17).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v23;
				VAL v24 = mtp_std_list_List_1_Cons(v17, &v23);
				incref(v24);
				incref(v24);
				struct mirth_mirth_zaMirth* v25;
				bool v26 = mw_mirth_table_Field_iszerawzy(r15, V_mirth_table_Field(v24), &v25);
				bool v27 = !v26;
				struct mirth_mirth_zaMirth* branch_zaMirth_28;
				bool branch_Bool_29;
				if (v27) {
					struct mirth_mirth_zaMirth* v30;
					struct std_maybe_Maybe_1 v31 = mw_mirth_table_Field_default(v25, V_mirth_table_Field(v24), &v30);
					int64_t v32 = (v31).tag;
					decref(MK_std_maybe_Maybe_1(v31));
					INT v33 = WRAP_I63(0LL);
					INT v34 = v33;
					INT v35 = i64_to_int(v32);
					bool v36 = int_eq(v35, v34);
					branch_Bool_29 = v36;
					branch_zaMirth_28 = v30;
				} else {
					decref(v24);
					bool v37 = false;
					branch_Bool_29 = v37;
					branch_zaMirth_28 = v25;
				}
				struct mirth_mirth_zaMirth* branch_zaMirth_38;
				struct std_list_List_1 branch_zaLister_39;
				if (branch_Bool_29) {
					struct std_list_List_1 v40;
					mw_std_list_zaLister_1_pushzx(v24, r16, &v40);
					branch_zaLister_39 = v40;
					branch_zaMirth_38 = branch_zaMirth_28;
				} else {
					decref(v24);
					branch_zaLister_39 = r16;
					branch_zaMirth_38 = branch_zaMirth_28;
				}
				bool v41 = true;
				branch_Bool_22 = v41;
				branch_List_21 = v23;
				branch_zaLister_20 = branch_zaLister_39;
				branch_zaMirth_19 = branch_zaMirth_38;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v42 = { .tag=std_list_List_1_Nil };
				bool v43 = false;
				branch_Bool_22 = v43;
				branch_List_21 = v42;
				branch_zaLister_20 = r16;
				branch_zaMirth_19 = r15;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v14 = branch_Bool_22;
		v13 = branch_Bool_22;
		v12 = branch_List_21;
		r11 = branch_zaLister_20;
		r10 = branch_zaMirth_19;
	}
	decref(MK_std_list_List_1(v12));
	struct std_list_List_1 v44 = mw_std_list_zaLister_1_donezx(r11);
	*out_zaMirth_3 = r10;
	return v44;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, -0x48(%rbp)
movabsq $0xfffffffffffc, %r15   # imm = 0xFFFFFFFFFFFC
leaq -0x78(%rbp), %r14
movq %r14, %rdx
callq 0x6e9ce
movl %eax, %ebx
movq %rdx, %r13
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd37c
movl %eax, -0x2c(%rbp)
movq %rdx, -0x38(%rbp)
movq (%r14), %r12
leaq -0x60(%rbp), %r14
testl %ebx, %ebx
je 0x6e879
cmpl $0x1, %ebx
jne 0x6e99e
movq %r13, %rdi
movq %r14, %rsi
callq 0xd450
movq %rax, %rbx
movq %rdx, %r13
testb $0x1, %r13b
je 0x6e836
movq %rbx, %rax
andq %r15, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x6e836
addl $0x2, (%rax)
movq %r12, %rdi
movq %rbx, %rsi
leaq -0x40(%rbp), %rdx
callq 0x6ea3d
testb %al, %al
je 0x6e883
testb $0x1, %r13b
je 0x6e871
movq %rbx, %rax
andq %r15, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x6e871
decl (%rax)
jne 0x6e871
movq %rbx, %rdi
movq %r13, %rsi
callq 0xd4e3
movq -0x40(%rbp), %r12
xorl %eax, %eax
jmp 0x6e8e9
xorl %eax, %eax
xorl %r13d, %r13d
jmp 0x6e944
movq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq 0x10ab8a6(%rip), %rdi   # 0x111a138
movq %rbx, %rsi
callq 0x13ff0
movq %rax, %rdi
callq 0x140f0
movq %rax, %r14
movq %r15, %r12
andq %r15, %rax
je 0x6e8c4
decl (%rax)
jne 0x6e8c4
movq %r14, %rdi
andq $-0x4, %rdi
leaq 0xa6a02(%rip), %rsi     # 0x1152c1
callq 0xd4e3
shrq $0x2f, %r14
orq $0x1, %r14
movl $0x1, %esi
movq %r14, %rdi
callq 0xec04
testl %eax, %eax
sete %al
leaq -0x60(%rbp), %r14
movq %r12, %r15
movq -0x50(%rbp), %r12
testb %al, %al
je 0x6e913
movq %rbx, %rdi
movq %r13, %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rcx
leaq -0x70(%rbp), %r8
callq 0x9741
movl -0x70(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x6e93b
testb $0x1, %r13b
je 0x6e93b
movq %rbx, %rax
andq %r15, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x6e93b
decl (%rax)
jne 0x6e93b
movq %rbx, %rdi
movq %r13, %rsi
callq 0xd4e3
movl -0x60(%rbp), %ebx
movq -0x58(%rbp), %r13
movb $0x1, %al
testb %al, %al
jne 0x6e7fc
andq %r13, %r15
sete %al
testb $0x3, %r13b
setne %cl
orb %al, %cl
jne 0x6e978
decl (%r15)
jne 0x6e978
shlq $0x30, %rbx
orq %r13, %rbx
leaq 0xa6909(%rip), %rsi     # 0x115279
movq %rbx, %rdi
callq 0xd4e3
xorl %edi, %edi
xorl %esi, %esi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rcx
callq 0xd37c
movq -0x48(%rbp), %rcx
movq %r12, (%rcx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x75d96(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x75d9b(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5