// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_for_1_sp5
static struct std_list_List_1 mw_std_list_List_1_for_1_sp5 (struct std_list_List_1 in_List_1, struct std_list_List_1 in_List_2) {
	bool v4 = true;
	struct std_list_List_1 v5 = in_List_1;
	struct std_list_List_1 v6 = in_List_2;
	bool v7 = v4;
	bool v8 = v4;
	while (v8) {
		struct std_list_List_1 v9 = v5;
		struct std_list_List_1 v10 = v6;
		bool v11 = v7;
		struct std_list_List_1 branch_List_12;
		struct std_list_List_1 branch_List_13;
		bool branch_Bool_14;
		switch ((v10).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v15;
				VAL v16 = mtp_std_list_List_1_Cons(v10, &v15);
				struct std_list_List_1 v17 = mw_std_list_List_1_cons(v16, v9);
				bool v18 = true;
				branch_Bool_14 = v18;
				branch_List_13 = v15;
				branch_List_12 = v17;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v19 = { .tag=std_list_List_1_Nil };
				bool v20 = false;
				branch_Bool_14 = v20;
				branch_List_13 = v19;
				branch_List_12 = v9;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v8 = branch_Bool_14;
		v7 = branch_Bool_14;
		v6 = branch_List_13;
		v5 = branch_List_12;
	}
	decref(MK_std_list_List_1(v6));
	return v5;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x30(%rbp)
movq %rcx, -0x28(%rbp)
movb $0x1, -0x31(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
movb -0x31(%rbp), %al
andb $0x1, %al
movb %al, -0x49(%rbp)
movb -0x31(%rbp), %al
andb $0x1, %al
movb %al, -0x4a(%rbp)
testb $0x1, -0x4a(%rbp)
je 0x124cd
movups -0x10(%rbp), %xmm0
movaps %xmm0, -0x60(%rbp)
movups -0x48(%rbp), %xmm0
movaps %xmm0, -0x70(%rbp)
movb -0x49(%rbp), %al
andb $0x1, %al
movb %al, -0x71(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x144(%rbp)
testl %eax, %eax
je 0x12417
jmp 0x12372
movl -0x144(%rbp), %eax
subl $0x1, %eax
jne 0x12470
jmp 0x12383
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
callq 0x125e0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
movl -0x60(%rbp), %edx
movq -0x58(%rbp), %rcx
callq 0x12740
movl %eax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movb $0x1, -0xd1(%rbp)
movb -0xd1(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x12489
leaq -0xe8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0xe9(%rbp)
movb -0xe9(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x12489
leaq 0x341a0a(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x99(%rbp), %al
andb $0x1, %al
movb %al, -0x4a(%rbp)
movb -0x99(%rbp), %al
andb $0x1, %al
movb %al, -0x49(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1233d
jmp 0x124cf
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x125c4
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
cmpq $0x0, %rax
je 0x125c4
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x120(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x125c4
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x125c2
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x127c0
jmp 0x125c4
jmp 0x125c6
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopw %cs:(%rax,%rax)