// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_filterzesome_1_sp6
static struct std_list_List_1 mw_std_list_List_1_filterzesome_1_sp6 (struct std_list_List_1 in_List_1) {
	struct std_list_List_1 v3 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v4;
	mw_std_list_List_1_buildzx(v3, &v4);
	bool v5 = true;
	struct std_list_List_1 r6 = v4;
	struct std_list_List_1 v7 = in_List_1;
	bool v8 = v5;
	bool v9 = v5;
	while (v9) {
		struct std_list_List_1 r10 = r6;
		struct std_list_List_1 v11 = v7;
		bool v12 = v8;
		struct std_list_List_1 branch_zaLister_13;
		struct std_list_List_1 branch_List_14;
		bool branch_Bool_15;
		switch ((v11).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v16;
				VAL v17 = mtp_std_list_List_1_Cons(v11, &v16);
				struct std_maybe_Maybe_1 v18 = mw_mirth_type_CTypeStackPart_labelzy(V_mirth_type_CTypeStackPart(v17));
				struct std_list_List_1 v19;
				mw_std_maybe_Maybe_1_for_1_sp2(r10, v18, &v19);
				bool v20 = true;
				branch_Bool_15 = v20;
				branch_List_14 = v16;
				branch_zaLister_13 = v19;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v21 = { .tag=std_list_List_1_Nil };
				bool v22 = false;
				branch_Bool_15 = v22;
				branch_List_14 = v21;
				branch_zaLister_13 = r10;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v9 = branch_Bool_15;
		v8 = branch_Bool_15;
		v7 = branch_List_14;
		r6 = branch_zaLister_13;
	}
	decref(MK_std_list_List_1(v7));
	struct std_list_List_1 v23 = mw_std_list_zaLister_1_donezx(r6);
	return v23;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp            # imm = 0x190
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x30(%rbp), %edi
movq -0x28(%rbp), %rsi
leaq -0x40(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x41(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
movb -0x41(%rbp), %al
andb $0x1, %al
movb %al, -0x69(%rbp)
movb -0x41(%rbp), %al
andb $0x1, %al
movb %al, -0x6a(%rbp)
testb $0x1, -0x6a(%rbp)
je 0x168166
movups -0x58(%rbp), %xmm0
movaps %xmm0, -0x80(%rbp)
movups -0x68(%rbp), %xmm0
movaps %xmm0, -0x90(%rbp)
movb -0x69(%rbp), %al
andb $0x1, %al
movb %al, -0x91(%rbp)
movl -0x90(%rbp), %eax
movl %eax, -0x184(%rbp)
testl %eax, %eax
je 0x1680aa
jmp 0x167fc4
movl -0x184(%rbp), %eax
subl $0x1, %eax
jne 0x168106
jmp 0x167fd5
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x125e0
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xe0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x167bb0
movl %eax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movl -0x100(%rbp), %edi
movq -0xf8(%rbp), %rsi
callq 0x1675d0
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
movl -0xf0(%rbp), %edx
movq -0xe8(%rbp), %rcx
leaq -0x110(%rbp), %r8
callq 0x989f0
movb $0x1, -0x111(%rbp)
movb -0x111(%rbp), %al
andb $0x1, %al
movb %al, -0xb9(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0xa0(%rbp)
jmp 0x16811f
leaq -0x128(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x129(%rbp)
movb -0x129(%rbp), %al
andb $0x1, %al
movb %al, -0xb9(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0xa0(%rbp)
jmp 0x16811f
leaq 0x1ebd74(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0xb9(%rbp), %al
andb $0x1, %al
movb %al, -0x6a(%rbp)
movb -0xb9(%rbp), %al
andb $0x1, %al
movb %al, -0x69(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x167f86
jmp 0x168168
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x16825d
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rax
cmpq $0x0, %rax
je 0x16825d
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x16825d
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x16825b
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x12780
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x127c0
jmp 0x16825d
jmp 0x16825f
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0xcea0
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x190, %rsp            # imm = 0x190
popq %rbp
retq
nopw %cs:(%rax,%rax)