// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Data_iszeenumzy
static bool mw_mirth_data_Data_iszeenumzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Data_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_data_Data_iszeenumzy, in_Data_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	bool branch_Bool_8;
	if (v6) {
		VAL v9 = mut_get(v5);
		branch_Bool_8 = value_bool(v9);
		branch_zaMirth_7 = in_zaMirth_1;
	} else {
		struct mirth_mirth_zaMirth* v10;
		bool v11 = mw_mirth_data_Data_iszeunitzy(in_zaMirth_1, in_Data_2, &v10);
		bool v12 = !v11;
		struct mirth_mirth_zaMirth* branch_zaMirth_13;
		bool branch_Bool_14;
		if (v12) {
			struct mirth_mirth_zaMirth* v15;
			struct std_list_List_1 v16 = mw_mirth_data_Data_tags(v10, in_Data_2, &v15);
			struct std_maybe_Maybe_1 v17 = { .tag=std_maybe_Maybe_1_None };
			bool v18 = true;
			struct mirth_mirth_zaMirth* r19 = v15;
			struct std_maybe_Maybe_1 v20 = v17;
			struct std_list_List_1 v21 = v16;
			bool v22 = v18;
			bool v23 = v18;
			while (v23) {
				struct mirth_mirth_zaMirth* r24 = r19;
				struct std_maybe_Maybe_1 v25 = v20;
				struct std_list_List_1 v26 = v21;
				bool v27 = v22;
				struct std_list_List_1 v28;
				struct std_maybe_Maybe_1 v29 = mw_std_list_List_1_uncons(v26, &v28);
				struct mirth_mirth_zaMirth* branch_zaMirth_30;
				struct std_maybe_Maybe_1 branch_Maybe_31;
				struct std_list_List_1 branch_List_32;
				bool branch_Bool_33;
				switch ((v29).tag) {
					case std_maybe_Maybe_1_Some: {
						VAL v34 = mtp_std_maybe_Maybe_1_Some(v29);
						incref(v34);
						struct mirth_mirth_zaMirth* v35;
						INT v36 = mw_mirth_data_Tag_numzetotalzeinputs(r24, V_mirth_data_Tag(v34), &v35);
						INT v37 = WRAP_I63(0LL);
						INT v38 = v37;
						INT v39 = v36;
						bool v40 = int_eq(v39, v38);
						bool v41 = !v40;
						struct mirth_mirth_zaMirth* branch_zaMirth_42;
						struct std_maybe_Maybe_1 branch_Maybe_43;
						if (v41) {
							struct std_maybe_Maybe_1 v44 = mtw_std_maybe_Maybe_1_Some(v34);
							branch_Maybe_43 = v44;
							branch_zaMirth_42 = v35;
						} else {
							decref(v34);
							struct std_maybe_Maybe_1 v45 = { .tag=std_maybe_Maybe_1_None };
							branch_Maybe_43 = v45;
							branch_zaMirth_42 = v35;
						}
						struct mirth_mirth_zaMirth* branch_zaMirth_46;
						struct std_maybe_Maybe_1 branch_Maybe_47;
						struct std_list_List_1 branch_List_48;
						switch ((branch_Maybe_43).tag) {
							case std_maybe_Maybe_1_None: {
								branch_List_48 = v28;
								branch_Maybe_47 = v25;
								branch_zaMirth_46 = branch_zaMirth_42;
							} break;
							default: {
								decref(MK_std_list_List_1(v28));
								decref(MK_std_maybe_Maybe_1(v25));
								struct std_list_List_1 v49 = { .tag=std_list_List_1_Nil };
								branch_List_48 = v49;
								branch_Maybe_47 = branch_Maybe_43;
								branch_zaMirth_46 = branch_zaMirth_42;
							} break;
						}
						bool v50 = true;
						branch_Bool_33 = v50;
						branch_List_32 = branch_List_48;
						branch_Maybe_31 = branch_Maybe_47;
						branch_zaMirth_30 = branch_zaMirth_46;
					} break;
					case std_maybe_Maybe_1_None: {
						bool v51 = false;
						branch_Bool_33 = v51;
						branch_List_32 = v28;
						branch_Maybe_31 = v25;
						branch_zaMirth_30 = r24;
					} break;
					default: {
						do_panic(str_make("unexpected fallthrough in match\n", 32));
					}
				}
				v23 = branch_Bool_33;
				v22 = branch_Bool_33;
				v21 = branch_List_32;
				v20 = branch_Maybe_31;
				r19 = branch_zaMirth_30;
			}
			decref(MK_std_list_List_1(v21));
			int64_t v52 = (v20).tag;
			decref(MK_std_maybe_Maybe_1(v20));
			INT v53 = WRAP_I63(0LL);
			INT v54 = v53;
			INT v55 = i64_to_int(v52);
			bool v56 = int_eq(v55, v54);
			branch_Bool_14 = v56;
			branch_zaMirth_13 = r19;
		} else {
			bool v57 = false;
			branch_Bool_14 = v57;
			branch_zaMirth_13 = v10;
		}
		mut_set(MKBOOL(branch_Bool_14), v5);
		branch_Bool_8 = branch_Bool_14;
		branch_zaMirth_7 = branch_zaMirth_13;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_Bool_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x10a466d(%rip), %rdi   # 0x111a290
callq 0x13ff0
movq %rax, %r12
movq %rax, %rdi
callq 0x153b0
testb %al, %al
je 0x75c51
movq %r12, %rdi
callq 0x140f0
movq %rax, %rdi
movq %rdx, %rsi
callq 0x20dbc
movl %eax, %ebx
jmp 0x75e85
leaq -0x58(%rbp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x77232
testb %al, %al
je 0x75c6f
movq -0x58(%rbp), %r15
xorl %ebx, %ebx
jmp 0x75e73
movq %r12, -0x60(%rbp)
movq %r14, -0x68(%rbp)
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x52d67
movl %eax, %edi
movq %rdx, %rsi
movq (%r14), %rax
movq %rax, -0x40(%rbp)
movq $0x0, -0x38(%rbp)
leaq -0x50(%rbp), %r15
movq $0x0, -0x30(%rbp)
movq %r15, %rdx
callq 0x115ef
testl %eax, %eax
je 0x75d26
cmpl $0x1, %eax
jne 0x75e99
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %rbx
movq %rdx, %r14
testb $0x1, %r14b
je 0x75cf2
movq %rbx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x75cf2
incl (%rax)
movq -0x40(%rbp), %rdi
movq %rbx, %rsi
leaq -0x70(%rbp), %rdx
callq 0x77411
movl $0x1, %esi
movq %rax, %rdi
callq 0xec04
movl %eax, %r13d
testl %eax, %eax
je 0x75d34
movq %rbx, %rdi
movq %r14, %rsi
callq 0x95f6
movq %rdx, %r14
jmp 0x75d5f
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
xorl %eax, %eax
jmp 0x75dea
testb $0x1, %r14b
je 0x75d5c
movq %rbx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x75d5c
decl (%rax)
jne 0x75d5c
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd4e3
xorl %r14d, %r14d
movq -0x70(%rbp), %rax
movq %rax, -0x40(%rbp)
movl -0x50(%rbp), %edi
testl %r13d, %r13d
je 0x75de4
movq -0x48(%rbp), %rax
movq %rax, %rcx
andq %r12, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x75d9e
decl (%rcx)
jne 0x75d9e
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0x9f4e0(%rip), %rsi     # 0x115279
callq 0xd4e3
movq -0x38(%rbp), %rsi
movq %rsi, %rax
andq %r12, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x75dd1
decl (%rax)
jne 0x75dd1
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0x9f4f5(%rip), %rsi     # 0x1152c1
callq 0xd4e3
xorl %edi, %edi
movl $0x1, %eax
movq %rax, -0x30(%rbp)
movq %r14, -0x38(%rbp)
xorl %esi, %esi
jmp 0x75de8
movq -0x48(%rbp), %rsi
movb $0x1, %al
testb %al, %al
jne 0x75cb4
movq %rsi, %rax
andq %r12, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x75e1d
decl (%rax)
jne 0x75e1d
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0x9f461(%rip), %rsi     # 0x115279
callq 0xd4e3
movl -0x30(%rbp), %ebx
movq -0x38(%rbp), %rdx
andq %rdx, %r12
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x68(%rbp), %r14
jne 0x75e54
decl (%r12)
jne 0x75e54
movq %rbx, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0x9f472(%rip), %rsi     # 0x1152c1
callq 0xd4e3
leaq 0x1(,%rbx,2), %rdi
movl $0x1, %esi
callq 0xec04
testl %eax, %eax
sete %bl
movq -0x60(%rbp), %r12
movq -0x40(%rbp), %r15
movzbl %bl, %edi
leaq 0x9feab(%rip), %rsi     # 0x115d28
movq %r12, %rdx
callq 0x14ab5
movq %r15, (%r14)
movl %ebx, %eax
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 0x6e89b(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x6e8a0(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5