// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_for_1_sp91
static void mw_std_list_List_1_for_1_sp91 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct std_list_List_1 in_zaSPCheck_2, struct std_list_List_1 in_List_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct std_list_List_1 *out_zaSPCheck_5) {
	bool v6 = true;
	struct mirth_mirth_zaMirth* r7 = in_zaMirth_1;
	struct std_list_List_1 r8 = in_zaSPCheck_2;
	struct std_list_List_1 v9 = in_List_3;
	bool v10 = v6;
	bool v11 = v6;
	while (v11) {
		struct mirth_mirth_zaMirth* r12 = r7;
		struct std_list_List_1 r13 = r8;
		struct std_list_List_1 v14 = v9;
		bool v15 = v10;
		struct mirth_mirth_zaMirth* branch_zaMirth_16;
		struct std_list_List_1 branch_zaSPCheck_17;
		struct std_list_List_1 branch_List_18;
		bool branch_Bool_19;
		switch ((v14).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v20;
				VAL v21 = mtp_std_list_List_1_Cons(v14, &v20);
				struct mirth_mirth_zaMirth* v22;
				struct std_list_List_1 v23;
				mw_mirth_specializzer_zaSPCheck_checkzeargzx(r12, r13, V_mirth_arrow_Block(v21), &v22, &v23);
				bool v24 = true;
				branch_Bool_19 = v24;
				branch_List_18 = v20;
				branch_zaSPCheck_17 = v23;
				branch_zaMirth_16 = v22;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v25 = { .tag=std_list_List_1_Nil };
				bool v26 = false;
				branch_Bool_19 = v26;
				branch_List_18 = v25;
				branch_zaSPCheck_17 = r13;
				branch_zaMirth_16 = r12;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v11 = branch_Bool_19;
		v10 = branch_Bool_19;
		v9 = branch_List_18;
		r8 = branch_zaSPCheck_17;
		r7 = branch_zaMirth_16;
	}
	decref(MK_std_list_List_1(v9));
	*out_zaSPCheck_5 = r8;
	*out_zaMirth_4 = r7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp            # imm = 0x180
movq 0x10(%rbp), %rax
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movb $0x1, -0x31(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movb -0x31(%rbp), %al
andb $0x1, %al
movb %al, -0x61(%rbp)
movb -0x31(%rbp), %al
andb $0x1, %al
movb %al, -0x62(%rbp)
testb $0x1, -0x62(%rbp)
je 0x1f82c6
movq -0x40(%rbp), %rax
movq %rax, -0x70(%rbp)
movups -0x50(%rbp), %xmm0
movaps %xmm0, -0x80(%rbp)
movups -0x60(%rbp), %xmm0
movaps %xmm0, -0x90(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movb %al, -0x91(%rbp)
movl -0x90(%rbp), %eax
movl %eax, -0x174(%rbp)
testl %eax, %eax
je 0x1f81f4
jmp 0x1f8137
movl -0x174(%rbp), %eax
subl $0x1, %eax
jne 0x1f825b
jmp 0x1f8148
movl -0x90(%rbp), %edi
movq -0x88(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x125e0
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq -0x70(%rbp), %rdi
movq -0xe8(%rbp), %rcx
movl -0x80(%rbp), %esi
movq -0x78(%rbp), %rdx
leaq -0xf0(%rbp), %r8
leaq -0x100(%rbp), %r9
callq 0x1f83f0
movb $0x1, -0x101(%rbp)
movb -0x101(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0xa0(%rbp)
jmp 0x1f8274
leaq -0x118(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x119(%rbp)
movb -0x119(%rbp), %al
andb $0x1, %al
movb %al, -0xc1(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0xa0(%rbp)
jmp 0x1f8274
leaq 0x15bc1f(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0xc1(%rbp), %al
andb $0x1, %al
movb %al, -0x62(%rbp)
movb -0xc1(%rbp), %al
andb $0x1, %al
movb %al, -0x61(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1f80f1
jmp 0x1f82c8
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x12780
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0x128(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1f83bd
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x12780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x140(%rbp), %rax
cmpq $0x0, %rax
je 0x1f83bd
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x12780
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movq -0x150(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1f83bd
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x12780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x160(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1f83bb
movl -0x60(%rbp), %edi
movq -0x58(%rbp), %rsi
callq 0x12780
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x170(%rbp), %rdi
movq -0x168(%rbp), %rsi
callq 0x127c0
jmp 0x1f83bd
jmp 0x1f83bf
movq 0x10(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, (%rax)
movq -0x48(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
addq $0x180, %rsp            # imm = 0x180
popq %rbp
retq
nopw %cs:(%rax,%rax)