// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_member_sp6
static bool mw_std_list_List_1_member_sp6 (struct mirth_mirth_zaMirth* in_zaMirth_1, VAL in_zux1_2, struct mirth_name_Namespace in_Namespace_3, struct std_list_List_1 in_List_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, VAL *out_zux1_6) {
	struct std_maybe_Maybe_1 v8 = { .tag=std_maybe_Maybe_1_None };
	bool v9 = true;
	struct mirth_mirth_zaMirth* r10 = in_zaMirth_1;
	VAL r11 = in_zux1_2;
	struct mirth_name_Namespace v12 = in_Namespace_3;
	struct std_maybe_Maybe_1 v13 = v8;
	struct std_list_List_1 v14 = in_List_4;
	bool v15 = v9;
	bool v16 = v9;
	while (v16) {
		struct mirth_mirth_zaMirth* r17 = r10;
		VAL r18 = r11;
		struct mirth_name_Namespace v19 = v12;
		struct std_maybe_Maybe_1 v20 = v13;
		struct std_list_List_1 v21 = v14;
		bool v22 = v15;
		struct std_list_List_1 v23;
		struct std_maybe_Maybe_1 v24 = mw_std_list_List_1_uncons(v21, &v23);
		struct mirth_mirth_zaMirth* branch_zaMirth_25;
		VAL branch_zux1_26;
		struct mirth_name_Namespace branch_Namespace_27;
		struct std_maybe_Maybe_1 branch_Maybe_28;
		struct std_list_List_1 branch_List_29;
		bool branch_Bool_30;
		switch ((v24).tag) {
			case std_maybe_Maybe_1_Some: {
				VAL v31 = mtp_std_maybe_Maybe_1_Some(v24);
				incref(v31);
				incref(MK_mirth_name_Namespace(v19));
				struct mirth_mirth_zaMirth* v32;
				bool v33 = mw_mirth_name_Namespace_zd(r17, v19, V_mirth_name_Namespace(v31), &v32);
				struct mirth_mirth_zaMirth* branch_zaMirth_34;
				VAL branch_zux1_35;
				struct mirth_name_Namespace branch_Namespace_36;
				struct std_maybe_Maybe_1 branch_Maybe_37;
				if (v33) {
					struct std_maybe_Maybe_1 v38 = mtw_std_maybe_Maybe_1_Some(v31);
					branch_Maybe_37 = v38;
					branch_Namespace_36 = v19;
					branch_zux1_35 = r18;
					branch_zaMirth_34 = v32;
				} else {
					decref(v31);
					struct std_maybe_Maybe_1 v39 = { .tag=std_maybe_Maybe_1_None };
					branch_Maybe_37 = v39;
					branch_Namespace_36 = v19;
					branch_zux1_35 = r18;
					branch_zaMirth_34 = v32;
				}
				struct mirth_mirth_zaMirth* branch_zaMirth_40;
				VAL branch_zux1_41;
				struct mirth_name_Namespace branch_Namespace_42;
				struct std_maybe_Maybe_1 branch_Maybe_43;
				struct std_list_List_1 branch_List_44;
				switch ((branch_Maybe_37).tag) {
					case std_maybe_Maybe_1_None: {
						branch_List_44 = v23;
						branch_Maybe_43 = v20;
						branch_Namespace_42 = branch_Namespace_36;
						branch_zux1_41 = branch_zux1_35;
						branch_zaMirth_40 = branch_zaMirth_34;
					} break;
					default: {
						decref(MK_std_list_List_1(v23));
						decref(MK_std_maybe_Maybe_1(v20));
						struct std_list_List_1 v45 = { .tag=std_list_List_1_Nil };
						branch_List_44 = v45;
						branch_Maybe_43 = branch_Maybe_37;
						branch_Namespace_42 = branch_Namespace_36;
						branch_zux1_41 = branch_zux1_35;
						branch_zaMirth_40 = branch_zaMirth_34;
					} break;
				}
				bool v46 = true;
				branch_Bool_30 = v46;
				branch_List_29 = branch_List_44;
				branch_Maybe_28 = branch_Maybe_43;
				branch_Namespace_27 = branch_Namespace_42;
				branch_zux1_26 = branch_zux1_41;
				branch_zaMirth_25 = branch_zaMirth_40;
			} break;
			case std_maybe_Maybe_1_None: {
				bool v47 = false;
				branch_Bool_30 = v47;
				branch_List_29 = v23;
				branch_Maybe_28 = v20;
				branch_Namespace_27 = v19;
				branch_zux1_26 = r18;
				branch_zaMirth_25 = r17;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v16 = branch_Bool_30;
		v15 = branch_Bool_30;
		v14 = branch_List_29;
		v13 = branch_Maybe_28;
		v12 = branch_Namespace_27;
		r11 = branch_zux1_26;
		r10 = branch_zaMirth_25;
	}
	decref(MK_std_list_List_1(v14));
	decref(MK_mirth_name_Namespace(v12));
	int64_t v48 = (v13).tag;
	decref(MK_std_maybe_Maybe_1(v13));
	INT v49 = WRAP_I63(0LL);
	INT v50 = v49;
	INT v51 = i64_to_int(v48);
	bool v52 = int_eq(v51, v50);
	bool v53 = !v52;
	*out_zux1_6 = r11;
	*out_zaMirth_5 = r10;
	return v53;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, -0x68(%rbp)
movq %rsi, -0x78(%rbp)
movq %rdi, %r13
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rax
andq %rbx, %rax
movq %rax, -0x58(%rbp)
setne %al
movq %rcx, -0x60(%rbp)
testb $0x3, %cl
sete %cl
andb %al, %cl
movb %cl, -0x29(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movl %r8d, %edi
movq %r9, %rsi
leaq -0x50(%rbp), %rdx
callq 0x111eb
cmpl $0x1, %eax
jne 0x2e7f4
movq %rdx, %rdi
callq 0xd745
movq %rax, %r15
movq %rdx, %r14
movq %rax, %r12
testb $0x1, %r14b
je 0x2e6f8
movq %r15, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x2e6f8
incl (%rax)
cmpb $0x0, -0x29(%rbp)
je 0x2e704
movq -0x58(%rbp), %rax
incl (%rax)
movq %r15, %rcx
shrq $0x30, %rcx
andq %rbx, %r15
movq %r13, %rdi
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %r15, %r8
leaq -0x70(%rbp), %r9
callq 0x19925
testb %al, %al
je 0x2e7bc
movq %r12, %rdi
movq %r14, %rsi
callq 0x9353
movq %rdx, %r14
movq -0x70(%rbp), %r13
movq -0x48(%rbp), %rax
movq %rax, %rcx
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x2e771
movl -0x50(%rbp), %edi
decl (%rcx)
jne 0x2e771
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xe2b0d(%rip), %rsi     # 0x111279
callq 0xd13d
movq -0x38(%rbp), %rsi
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x2e7a4
decl (%rax)
jne 0x2e7a4
movq -0x40(%rbp), %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xe2b22(%rip), %rsi     # 0x1112c1
callq 0xd13d
xorl %r8d, %r8d
movl $0x1, %eax
movq %rax, -0x40(%rbp)
movq %r14, -0x38(%rbp)
xorl %r9d, %r9d
jmp 0x2e6b3
testb $0x1, %r14b
je 0x2e7e3
testq %r15, %r15
sete %al
testb $0x3, %r12b
setne %cl
orb %al, %cl
jne 0x2e7e3
decl (%r15)
jne 0x2e7e3
movq %r12, %rdi
movq %r14, %rsi
callq 0xd13d
movq -0x70(%rbp), %r13
movl -0x50(%rbp), %r8d
movq -0x48(%rbp), %r9
jmp 0x2e6b3
testl %eax, %eax
jne 0x2e8d1
movq -0x48(%rbp), %rax
movq %rax, %rcx
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
movq -0x38(%rbp), %rdx
jne 0x2e836
movl -0x50(%rbp), %edi
decl (%rcx)
jne 0x2e836
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xe2a4c(%rip), %rsi     # 0x111279
callq 0xd13d
movq -0x38(%rbp), %rdx
cmpb $0x0, -0x29(%rbp)
je 0x2e860
movq -0x58(%rbp), %rax
decl (%rax)
jne 0x2e860
movq -0x68(%rbp), %rdi
shlq $0x30, %rdi
orq -0x60(%rbp), %rdi
leaq 0xe30e2(%rip), %rsi     # 0x111939
callq 0xd13d
movq -0x38(%rbp), %rdx
movl -0x40(%rbp), %r14d
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0x2e88e
decl (%rbx)
jne 0x2e88e
movq %r14, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0xe2a38(%rip), %rsi     # 0x1112c1
callq 0xd13d
leaq 0x1(,%r14,2), %rdi
movl $0x1, %esi
callq 0xe83a
testl %eax, %eax
setne %al
movq -0x78(%rbp), %rcx
movq 0x18(%rbp), %rdx
movq %rcx, (%rdx)
leaq 0xe36b1(%rip), %rcx     # 0x111f68
movq %rcx, 0x8(%rdx)
movq 0x10(%rbp), %rcx
movq %r13, (%rcx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xb1de3(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xb1de8(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302