// File: /workspace/github_c_makefile_star2_O1/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 $0x68, %rsp
movq %r9, -0x70(%rbp)
movq %r8, -0x78(%rbp)
movq %rdx, -0x50(%rbp)
movq %rsi, -0x68(%rbp)
movq %rdi, %r13
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
movl 0x10(%rbp), %edi
movq 0x18(%rbp), %rsi
movq %rcx, %rax
andq %rdx, %rax
movq %rax, -0x80(%rbp)
setne %al
movq %rcx, -0x48(%rbp)
testb $0x3, %cl
sete %cl
andb %al, %cl
movb %cl, -0x29(%rbp)
movq $0x0, -0x40(%rbp)
leaq -0x60(%rbp), %rbx
movq $0x0, -0x38(%rbp)
movq %rbx, %rdx
callq 0x115ef
testl %eax, %eax
je 0x2f578
cmpl $0x1, %eax
jne 0x2f751
movq %rdx, %rdi
callq 0xdaeb
movq %rax, %r15
movq %rdx, %r12
movq %rax, %r14
testb $0x1, %r12b
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
je 0x2f531
movq %r15, %rax
andq %rsi, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x2f531
incl (%rax)
cmpb $0x0, -0x29(%rbp)
je 0x2f53d
movq -0x80(%rbp), %rax
incl (%rax)
movq %r15, %rcx
shrq $0x30, %rcx
andq %rsi, %r15
movq %r13, %rdi
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %r15, %r8
leaq -0x88(%rbp), %r9
callq 0x19bdd
movl %eax, %r13d
testb %al, %al
je 0x2f586
movq %r14, %rdi
movq %r12, %rsi
callq 0x95f6
movq %rdx, %r12
jmp 0x2f5b0
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
xorl %eax, %eax
jmp 0x2f658
testb $0x1, %r12b
je 0x2f5ad
testq %r15, %r15
sete %al
testb $0x3, %r14b
setne %cl
orb %al, %cl
jne 0x2f5ad
decl (%r15)
jne 0x2f5ad
movq %r14, %rdi
movq %r12, %rsi
callq 0xd4e3
xorl %r12d, %r12d
movq -0x88(%rbp), %r14
movl -0x60(%rbp), %edi
testb %r13b, %r13b
je 0x2f64f
movq -0x58(%rbp), %rax
movq %rax, %rcx
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x2f5fc
decl (%rcx)
jne 0x2f5fc
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xe5c82(%rip), %rsi     # 0x115279
callq 0xd4e3
movq -0x40(%rbp), %rsi
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
movq %r14, %r13
jne 0x2f63c
decl (%rax)
jne 0x2f63c
movq -0x38(%rbp), %rdi
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xe5c8a(%rip), %rsi     # 0x1152c1
callq 0xd4e3
xorl %edi, %edi
movl $0x1, %eax
movq %rax, -0x38(%rbp)
movq %r12, -0x40(%rbp)
xorl %esi, %esi
jmp 0x2f656
movq -0x58(%rbp), %rsi
movq %r14, %r13
movb $0x1, %al
testb %al, %al
jne 0x2f4e1
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x2f695
decl (%rax)
jne 0x2f695
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xe5be9(%rip), %rsi     # 0x115279
callq 0xd4e3
movq -0x48(%rbp), %rdx
movq %rdx, %rax
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
andq %rsi, %rax
sete %cl
testb $0x3, %dl
setne %dl
orb %cl, %dl
jne 0x2f6dc
decl (%rax)
jne 0x2f6dc
movq -0x50(%rbp), %rdi
shlq $0x30, %rdi
orq -0x48(%rbp), %rdi
leaq 0xe626c(%rip), %rsi     # 0x115939
callq 0xd4e3
movabsq $0xfffffffffffc, %rsi   # imm = 0xFFFFFFFFFFFC
movl -0x38(%rbp), %r14d
movq -0x40(%rbp), %rdx
andq %rdx, %rsi
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0x2f70e
decl (%rsi)
jne 0x2f70e
movq %r14, %rdi
shlq $0x30, %rdi
orq %rdx, %rdi
leaq 0xe5bb8(%rip), %rsi     # 0x1152c1
callq 0xd4e3
leaq 0x1(,%r14,2), %rdi
movl $0x1, %esi
callq 0xec04
testl %eax, %eax
setne %al
movq -0x70(%rbp), %rdx
movq -0x68(%rbp), %rcx
movq %rcx, (%rdx)
leaq 0xe6831(%rip), %rcx     # 0x115f68
movq %rcx, 0x8(%rdx)
movq -0x78(%rbp), %rcx
movq %r13, (%rcx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xb4fe3(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xb4fe8(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5