// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_for_1_sp77
static void mw_std_list_List_1_for_1_sp77 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_arrow_Arrow* in_zaAB_2, struct std_list_List_1 in_List_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_arrow_Arrow* *out_zaAB_5) {
	bool v6 = true;
	struct mirth_mirth_zaMirth* r7 = in_zaMirth_1;
	struct mirth_arrow_Arrow* r8 = in_zaAB_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 mirth_arrow_Arrow* r13 = r8;
		struct std_list_List_1 v14 = v9;
		bool v15 = v10;
		struct mirth_mirth_zaMirth* branch_zaMirth_16;
		struct mirth_arrow_Arrow* branch_zaAB_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);
				VAL v22 = ((TUP*)PTRPTR(value_tup(v21)))->cells[0];
				VAL v23 = ((TUP*)PTRPTR(value_tup(v21)))->cells[1];
				tup_decref_outer(value_tup(v21));
				struct mirth_mirth_zaMirth* v24;
				struct mirth_arrow_Arrow* v25;
				mw_mirth_elab_zaAB_abzeargzeunifyzetypezx(r12, r13, V_mirth_type_Type(v22), V_mirth_arrow_Block(v23), &v24, &v25);
				bool v26 = true;
				branch_Bool_19 = v26;
				branch_List_18 = v20;
				branch_zaAB_17 = v25;
				branch_zaMirth_16 = v24;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v27 = { .tag=std_list_List_1_Nil };
				bool v28 = false;
				branch_Bool_19 = v28;
				branch_List_18 = v27;
				branch_zaAB_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_zaAB_17;
		r7 = branch_zaMirth_16;
	}
	decref(MK_std_list_List_1(v9));
	*out_zaAB_5 = r8;
	*out_zaMirth_4 = r7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movl %edx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movb $0x1, -0x31(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
movb -0x31(%rbp), %al
andb $0x1, %al
movb %al, -0x59(%rbp)
movb -0x31(%rbp), %al
andb $0x1, %al
movb %al, -0x5a(%rbp)
testb $0x1, -0x5a(%rbp)
je 0x130b29
movq -0x40(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x70(%rbp)
movups -0x58(%rbp), %xmm0
movaps %xmm0, -0x80(%rbp)
movb -0x59(%rbp), %al
andb $0x1, %al
movb %al, -0x81(%rbp)
movl -0x80(%rbp), %eax
movl %eax, -0x184(%rbp)
testl %eax, %eax
je 0x130a6d
jmp 0x1308f6
movl -0x184(%rbp), %eax
subl $0x1, %eax
jne 0x130ac9
jmp 0x130907
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
leaq -0xc0(%rbp), %rdx
callq 0x125e0
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0xb770
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
movq 0x8(%rax), %rcx
movq %rcx, -0xe0(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0xd8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0xb770
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
movq 0x18(%rax), %rcx
movq %rcx, -0xf0(%rbp)
movq 0x20(%rax), %rax
movq %rax, -0xe8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0xb770
movq %rax, %rdi
callq 0xb7e0
movq -0x68(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0xe0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x6f100
movq -0x198(%rbp), %rdi
movq -0x190(%rbp), %rsi
movl %eax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0xf0(%rbp), %r8
movl -0x110(%rbp), %edx
movq -0x108(%rbp), %rcx
leaq -0xf8(%rbp), %r9
leaq -0x100(%rbp), %rax
movq %rax, (%rsp)
callq 0x156e70
movb $0x1, -0x111(%rbp)
movb -0x111(%rbp), %al
andb $0x1, %al
movb %al, -0xa9(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x130ae2
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, -0xa9(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x130ae2
leaq 0x2233b1(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0xa9(%rbp), %al
andb $0x1, %al
movb %al, -0x5a(%rbp)
movb -0xa9(%rbp), %al
andb $0x1, %al
movb %al, -0x59(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1308b6
jmp 0x130b2b
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x12780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x130c20
movl -0x58(%rbp), %edi
movq -0x50(%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 0x130c20
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x12780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x130c20
movl -0x58(%rbp), %edi
movq -0x50(%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 0x130c1e
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x12780
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movq -0x180(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x127c0
jmp 0x130c20
jmp 0x130c22
movq -0x48(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x40(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
nopw %cs:(%rax,%rax)