// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_filter_1_sp6
static struct std_list_List_1 mw_std_list_List_1_filter_1_sp6 (struct mirth_mirth_zaMirth* in_zaMirth_1, VAL in_zux1_2, struct std_list_List_1 in_List_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, VAL *out_zux1_5) {
	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 = in_zaMirth_1;
	VAL r11 = in_zux1_2;
	struct std_list_List_1 r12 = v8;
	struct std_list_List_1 v13 = in_List_3;
	bool v14 = v9;
	bool v15 = v9;
	while (v15) {
		struct mirth_mirth_zaMirth* r16 = r10;
		VAL r17 = r11;
		struct std_list_List_1 r18 = r12;
		struct std_list_List_1 v19 = v13;
		bool v20 = v14;
		struct mirth_mirth_zaMirth* branch_zaMirth_21;
		VAL branch_zux1_22;
		struct std_list_List_1 branch_zaLister_23;
		struct std_list_List_1 branch_List_24;
		bool branch_Bool_25;
		switch ((v19).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v26;
				VAL v27 = mtp_std_list_List_1_Cons(v19, &v26);
				incref(v27);
				struct mirth_mirth_zaMirth* v28;
				bool v29 = mw_mirth_c99_C99APIArg_iszephysicalzy(r16, V_mirth_c99_C99APIArg(v27), &v28);
				struct mirth_mirth_zaMirth* branch_zaMirth_30;
				VAL branch_zux1_31;
				struct std_list_List_1 branch_zaLister_32;
				if (v29) {
					struct std_list_List_1 v33;
					mw_std_list_zaLister_1_pushzx(v27, r18, &v33);
					branch_zaLister_32 = v33;
					branch_zux1_31 = r17;
					branch_zaMirth_30 = v28;
				} else {
					decref(v27);
					branch_zaLister_32 = r18;
					branch_zux1_31 = r17;
					branch_zaMirth_30 = v28;
				}
				bool v34 = true;
				branch_Bool_25 = v34;
				branch_List_24 = v26;
				branch_zaLister_23 = branch_zaLister_32;
				branch_zux1_22 = branch_zux1_31;
				branch_zaMirth_21 = branch_zaMirth_30;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v35 = { .tag=std_list_List_1_Nil };
				bool v36 = false;
				branch_Bool_25 = v36;
				branch_List_24 = v35;
				branch_zaLister_23 = r18;
				branch_zux1_22 = r17;
				branch_zaMirth_21 = r16;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v15 = branch_Bool_25;
		v14 = branch_Bool_25;
		v13 = branch_List_24;
		r12 = branch_zaLister_23;
		r11 = branch_zux1_22;
		r10 = branch_zaMirth_21;
	}
	decref(MK_std_list_List_1(v13));
	struct std_list_List_1 v37 = mw_std_list_zaLister_1_donezx(r12);
	*out_zux1_5 = r11;
	*out_zaMirth_4 = r10;
	return v37;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp            # imm = 0x210
movq 0x10(%rbp), %rax
movq %rsi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x30(%rbp)
movq %r8, -0x28(%rbp)
movq %rdi, -0x38(%rbp)
movq %r9, -0x40(%rbp)
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x61(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x98(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movb %al, -0xa1(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movb %al, -0xa2(%rbp)
testb $0x1, -0xa2(%rbp)
je 0x28b8cf
movq -0x70(%rbp), %rax
movq %rax, -0xb0(%rbp)
movups -0x80(%rbp), %xmm0
movaps %xmm0, -0xc0(%rbp)
movups -0x90(%rbp), %xmm0
movaps %xmm0, -0xd0(%rbp)
movups -0xa0(%rbp), %xmm0
movaps %xmm0, -0xe0(%rbp)
movb -0xa1(%rbp), %al
andb $0x1, %al
movb %al, -0xe1(%rbp)
movl -0xe0(%rbp), %eax
movl %eax, -0x204(%rbp)
testl %eax, %eax
je 0x28b7b0
jmp 0x28b557
movl -0x204(%rbp), %eax
subl $0x1, %eax
jne 0x28b83c
jmp 0x28b568
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
leaq -0x138(%rbp), %rdx
callq 0x125e0
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x140(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x28b5e0
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
cmpq $0x0, %rax
je 0x28b5e0
movq -0x148(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x28b5e0
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x28b5e2
movq -0xb0(%rbp), %rdi
movq -0x148(%rbp), %rsi
leaq -0x150(%rbp), %rdx
callq 0x286570
andb $0x1, %al
movb %al, -0x151(%rbp)
testb $0x1, -0x151(%rbp)
je 0x28b67f
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
movl -0xd0(%rbp), %edx
movq -0xc8(%rbp), %rcx
leaq -0x190(%rbp), %r8
callq 0xcc30
movq -0x190(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0x28b734
jmp 0x28b681
movq -0x140(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x28b6ec
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
cmpq $0x0, %rax
je 0x28b6ec
movq -0x148(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x28b6ec
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x28b6ea
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0x127c0
jmp 0x28b6ec
jmp 0x28b6ee
movq -0xd0(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x160(%rbp)
movb $0x1, -0x191(%rbp)
movb -0x191(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0xf0(%rbp)
jmp 0x28b855
leaq -0x1a8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x1a9(%rbp)
movb -0x1a9(%rbp), %al
andb $0x1, %al
movb %al, -0x121(%rbp)
movq -0x1a8(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xf0(%rbp)
jmp 0x28b855
leaq 0xc863e(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x121(%rbp), %al
andb $0x1, %al
movb %al, -0xa2(%rbp)
movb -0x121(%rbp), %al
andb $0x1, %al
movb %al, -0xa1(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x28b4f4
jmp 0x28b8d1
movl -0xa0(%rbp), %edi
movq -0x98(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x28b9e4
movl -0xa0(%rbp), %edi
movq -0x98(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d0(%rbp)
movq %rdx, -0x1c8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1d0(%rbp), %rax
cmpq $0x0, %rax
je 0x28b9e4
movl -0xa0(%rbp), %edi
movq -0x98(%rbp), %rsi
callq 0x12780
movq %rax, -0x1e0(%rbp)
movq %rdx, -0x1d8(%rbp)
movq -0x1e0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x28b9e4
movl -0xa0(%rbp), %edi
movq -0x98(%rbp), %rsi
callq 0x12780
movq %rax, -0x1f0(%rbp)
movq %rdx, -0x1e8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1f0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x28b9e2
movl -0xa0(%rbp), %edi
movq -0x98(%rbp), %rsi
callq 0x12780
movq %rax, -0x200(%rbp)
movq %rdx, -0x1f8(%rbp)
movq -0x200(%rbp), %rdi
movq -0x1f8(%rbp), %rsi
callq 0x127c0
jmp 0x28b9e4
jmp 0x28b9e6
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
callq 0xcea0
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq 0x10(%rbp), %rax
movups -0x80(%rbp), %xmm0
movups %xmm0, (%rax)
movq -0x70(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x210, %rsp            # imm = 0x210
popq %rbp
retq
nopw %cs:(%rax,%rax)