// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_for_1_sp105
static STR* mw_std_list_List_1_for_1_sp105 (struct mirth_mirth_zaMirth* in_zaMirth_1, VAL in_zux1_2, STR* in_zaStr_3, STR* in_Str_4, struct std_list_List_1 in_List_5, struct mirth_mirth_zaMirth* *out_zaMirth_6, VAL *out_zux1_7, STR* *out_zaStr_8) {
	bool v10 = true;
	struct mirth_mirth_zaMirth* r11 = in_zaMirth_1;
	VAL r12 = in_zux1_2;
	STR* r13 = in_zaStr_3;
	STR* v14 = in_Str_4;
	struct std_list_List_1 v15 = in_List_5;
	bool v16 = v10;
	bool v17 = v10;
	while (v17) {
		struct mirth_mirth_zaMirth* r18 = r11;
		VAL r19 = r12;
		STR* r20 = r13;
		STR* v21 = v14;
		struct std_list_List_1 v22 = v15;
		bool v23 = v16;
		struct mirth_mirth_zaMirth* branch_zaMirth_24;
		VAL branch_zux1_25;
		STR* branch_zaStr_26;
		VAL branch__27;
		struct std_list_List_1 branch_List_28;
		bool branch_Bool_29;
		switch ((v22).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v30;
				VAL v31 = mtp_std_list_List_1_Cons(v22, &v30);
				STR* v32;
				mw_std_str_zaStr_pushzestrzx(v21, r20, &v32);
				struct mirth_mirth_zaMirth* v33;
				STR* v34;
				mw_mirth_def_Def_qnamezj(r18, v32, V_mirth_def_Def(v31), &v33, &v34);
				STR* v35;
				STRLIT(v35, ", ", 2);
				bool v36 = true;
				branch_Bool_29 = v36;
				branch_List_28 = v30;
				branch__27 = MKSTR(v35);
				branch_zaStr_26 = v34;
				branch_zux1_25 = r19;
				branch_zaMirth_24 = v33;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v37 = { .tag=std_list_List_1_Nil };
				bool v38 = false;
				branch_Bool_29 = v38;
				branch_List_28 = v37;
				branch__27 = MKSTR(v21);
				branch_zaStr_26 = r20;
				branch_zux1_25 = r19;
				branch_zaMirth_24 = r18;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v17 = branch_Bool_29;
		v16 = branch_Bool_29;
		v15 = branch_List_28;
		v14 = value_str(branch__27);
		r13 = branch_zaStr_26;
		r12 = branch_zux1_25;
		r11 = branch_zaMirth_24;
	}
	decref(MK_std_list_List_1(v15));
	*out_zaStr_8 = r13;
	*out_zux1_7 = r12;
	*out_zaMirth_6 = r11;
	return v14;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r12
movl %r8d, %r13d
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, -0x30(%rbp)
movq %rdi, %rbx
cmpl $0x1, %r13d
jne 0x30138
movq %r12, %rdi
leaq -0x50(%rbp), %rsi
callq 0xd0aa
movq %rax, %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0xe069
movq %r12, %rdx
shrq $0x30, %rdx
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
andq %r14, %r12
movq %rbx, %rdi
movq %rax, %rsi
movq %r12, %rcx
leaq -0x40(%rbp), %r8
leaq -0x38(%rbp), %r9
callq 0x2f156
movq 0x10e54e1(%rip), %rdi   # 0x11155b8
testq %rdi, %rdi
jne 0x300fe
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdi
movq $0x2, 0x10(%rax)
movw $0x202c, 0x18(%rax)     # imm = 0x202C
movq %rax, 0x10e54ba(%rip)   # 0x11155b8
movq %rdi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x30114
incl (%rax)
movl -0x50(%rbp), %r13d
movq -0x48(%rbp), %r12
movq -0x38(%rbp), %r14
movq -0x40(%rbp), %rbx
leaq 0xe102e(%rip), %rsi     # 0x111159
callq 0x9189
movq %rax, %r15
jmp 0x30082
testl %r13d, %r13d
jne 0x3017f
movq %r15, %rdi
leaq 0xe1012(%rip), %rsi     # 0x111159
callq 0x9189
movq 0x20(%rbp), %rcx
movq %r14, (%rcx)
movq -0x30(%rbp), %rcx
movq 0x18(%rbp), %rdx
movq %rcx, (%rdx)
leaq 0xe1e03(%rip), %rcx     # 0x111f68
movq %rcx, 0x8(%rdx)
movq 0x10(%rbp), %rcx
movq %rbx, (%rcx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xb0535(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xb053a(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302