// File: /workspace/github_c_makefile_star2_O0/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
subq $0x1e0, %rsp            # imm = 0x1E0
movl %edx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %r9, -0x40(%rbp)
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x61(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x90(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movb %al, -0x9a(%rbp)
testb $0x1, -0x9a(%rbp)
je 0x3298b7
movq -0x70(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0xb0(%rbp)
movups -0x88(%rbp), %xmm0
movaps %xmm0, -0xc0(%rbp)
movups -0x98(%rbp), %xmm0
movaps %xmm0, -0xd0(%rbp)
movb -0x99(%rbp), %al
andb $0x1, %al
movb %al, -0xd1(%rbp)
movl -0xd0(%rbp), %eax
movl %eax, -0x1dc(%rbp)
testl %eax, %eax
je 0x3297b4
jmp 0x329698
movl -0x1dc(%rbp), %eax
subl $0x1, %eax
jne 0x329832
jmp 0x3296a9
movl -0xd0(%rbp), %edi
movq -0xc8(%rbp), %rsi
leaq -0x120(%rbp), %rdx
callq 0x125e0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movq -0xa8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
movq -0x130(%rbp), %rdx
leaq -0x138(%rbp), %rcx
leaq -0x140(%rbp), %r8
callq 0x32a4f0
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x168(%rbp)
leaq 0x69a9c(%rip), %rax     # 0x3931b0
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movq -0x168(%rbp), %rdi
movq -0x160(%rbp), %rsi
movl -0xc0(%rbp), %edx
movq -0xb8(%rbp), %rcx
leaq -0x158(%rbp), %r8
callq 0xcc30
movb $0x1, -0x169(%rbp)
movb -0x169(%rbp), %al
andb $0x1, %al
movb %al, -0x109(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0xe0(%rbp)
jmp 0x32984b
leaq -0x180(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x181(%rbp)
movb -0x181(%rbp), %al
andb $0x1, %al
movb %al, -0x109(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0xe0(%rbp)
jmp 0x32984b
leaq 0x2a648(%rip), %rdi     # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0x109(%rbp), %al
andb $0x1, %al
movb %al, -0x9a(%rbp)
movb -0x109(%rbp), %al
andb $0x1, %al
movb %al, -0x99(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x329635
jmp 0x3298b9
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3299cc
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a8(%rbp), %rax
cmpq $0x0, %rax
je 0x3299cc
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3299cc
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x3299ca
movl -0x98(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d8(%rbp), %rdi
movq -0x1d0(%rbp), %rsi
callq 0x127c0
jmp 0x3299cc
jmp 0x3299ce
movl -0x88(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0xcea0
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq -0x78(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0x70(%rbp), %rcx
movq -0x38(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
nopw (%rax,%rax)