// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_map_1_sp4
static struct std_list_List_1 mw_std_list_List_1_map_1_sp4 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct std_list_List_1 in_List_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_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;
	struct mirth_c99_zaC99Branch* r11 = in_zaC99Branch_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;
		struct mirth_c99_zaC99Branch* 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;
		struct mirth_c99_zaC99Branch* branch_zaC99Branch_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);
				struct mirth_mirth_zaMirth* v28;
				struct mirth_c99_zaC99Branch* v29;
				struct mirth_c99_C99APIArg* v30 = mw_mirth_c99_C99APIArg_reservezeaszenewzevaluezx(r16, r17, V_mirth_c99_C99APIArg(v27), &v28, &v29);
				struct std_list_List_1 v31;
				mw_std_list_zaLister_1_pushzx(MK_mirth_c99_C99APIArg(v30), r18, &v31);
				bool v32 = true;
				branch_Bool_25 = v32;
				branch_List_24 = v26;
				branch_zaLister_23 = v31;
				branch_zaC99Branch_22 = v29;
				branch_zaMirth_21 = v28;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v33 = { .tag=std_list_List_1_Nil };
				bool v34 = false;
				branch_Bool_25 = v34;
				branch_List_24 = v33;
				branch_zaLister_23 = r18;
				branch_zaC99Branch_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_zaC99Branch_22;
		r10 = branch_zaMirth_21;
	}
	decref(MK_std_list_List_1(v13));
	struct std_list_List_1 v35 = mw_std_list_zaLister_1_donezx(r12);
	*out_zaC99Branch_5 = r11;
	*out_zaMirth_4 = r10;
	return v35;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r9, -0x50(%rbp)
movq %r8, -0x58(%rbp)
movq %rcx, %rbx
movl %edx, %r13d
movq %rsi, -0x30(%rbp)
movq %rdi, %r14
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xd01b
movq %rdx, %rcx
cmpl $0x1, %r13d
jne 0xd5481
movl %eax, -0x34(%rbp)
movq %rcx, -0x60(%rbp)
movq %rbx, %rdi
leaq -0x90(%rbp), %rsi
callq 0xd0aa
movq %rax, %r15
movq %rax, %rbx
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %rbx
setne %al
testb $0x3, %r15b
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0xd5333
incl (%rbx)
movq %r14, %rdi
movq %r15, %rsi
leaq -0x48(%rbp), %rdx
callq 0xacba1
testb %al, %al
je 0xd53f5
incl (%rbx)
jmp 0xd534a
movq %r14, %rdi
movq %r15, %rsi
leaq -0x48(%rbp), %rdx
callq 0xacba1
testb %al, %al
je 0xd53f5
movl 0x18(%r15), %edx
movq 0x20(%r15), %rcx
movq %rcx, %r13
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
setne %al
testb $0x3, %cl
sete %r14b
andb %al, %r14b
cmpb $0x1, %r14b
jne 0xd5379
incl (%r13)
testb %r12b, %r12b
je 0xd539b
decl (%rbx)
jne 0xd539b
movq %r15, %rdi
leaq 0x3dd05(%rip), %rsi     # 0x113091
movl %edx, %ebx
movq %rcx, %r12
callq 0xd13d
movq %r12, %rcx
movl %ebx, %edx
testb %r14b, %r14b
je 0xd53a4
incl (%r13)
movq -0x48(%rbp), %rdi
leaq -0x70(%rbp), %rax
movq %rax, (%rsp)
movq -0x30(%rbp), %rsi
movl %edx, %ebx
movq %rcx, %r14
leaq -0x80(%rbp), %r8
leaq -0x78(%rbp), %r9
callq 0xd2a1a
movq -0x80(%rbp), %rdi
movq -0x70(%rbp), %rcx
movl %ebx, %esi
movq %r14, %rdx
leaq -0x68(%rbp), %r8
callq 0xb32da
movq %r15, %rdi
movq %rax, %rsi
callq 0xd54e2
movq -0x68(%rbp), %r14
movq -0x78(%rbp), %rcx
movq %rcx, -0x30(%rbp)
jmp 0xd544d
movq 0x10430b4(%rip), %rsi   # 0x11184b0
testq %rsi, %rsi
jne 0xd5421
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x104308f(%rip)   # 0x11184b0
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xd5441
incl (%rax)
movq %r15, %rdi
callq 0xd54e2
movq -0x48(%rbp), %r14
movq %rax, %rdi
leaq 0x3dc3a(%rip), %rsi     # 0x113091
movl -0x34(%rbp), %edx
movq -0x60(%rbp), %rcx
leaq -0x48(%rbp), %r8
callq 0x949e
movl -0x90(%rbp), %r13d
movq -0x88(%rbp), %rbx
movl -0x48(%rbp), %eax
movq -0x40(%rbp), %rcx
jmp 0xd52cf
testl %r13d, %r13d
jne 0xd54b2
xorl %edi, %edi
xorl %esi, %esi
movl %eax, %edx
callq 0xd01b
movq -0x50(%rbp), %rcx
movq -0x30(%rbp), %rsi
movq %rsi, (%rcx)
movq -0x58(%rbp), %rcx
movq %r14, (%rcx)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xb202(%rip), %xmm0     # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xb207(%rip), %xmm0     # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302