// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_for_2_sp3
static void mw_std_list_List_1_for_2_sp3 (struct mirth_mirth_zaMirth* in_zaMirth_1, VAL in_zux1_2, STR* in_zaStr_3, struct std_list_List_1 in_List_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, VAL *out_zux1_6, STR* *out_zaStr_7) {
	struct std_list_List_1 v8;
	struct std_maybe_Maybe_1 v9 = mw_std_list_List_1_uncons(in_List_4, &v8);
	struct mirth_mirth_zaMirth* branch_zaMirth_10;
	VAL branch_zux1_11;
	STR* branch_zaStr_12;
	switch ((v9).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v13 = mtp_std_maybe_Maybe_1_Some(v9);
			struct mirth_mirth_zaMirth* v14;
			STR* v15;
			mw_mirth_name_Namespace_namezj(in_zaMirth_1, in_zaStr_3, V_mirth_name_Namespace(v13), &v14, &v15);
			branch_zaStr_12 = v15;
			branch_zux1_11 = in_zux1_2;
			branch_zaMirth_10 = v14;
		} break;
		case std_maybe_Maybe_1_None: {
			branch_zaStr_12 = in_zaStr_3;
			branch_zux1_11 = in_zux1_2;
			branch_zaMirth_10 = in_zaMirth_1;
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	bool v16 = true;
	struct mirth_mirth_zaMirth* r17 = branch_zaMirth_10;
	VAL r18 = branch_zux1_11;
	STR* r19 = branch_zaStr_12;
	struct std_list_List_1 v20 = v8;
	bool v21 = v16;
	bool v22 = v16;
	while (v22) {
		struct mirth_mirth_zaMirth* r23 = r17;
		VAL r24 = r18;
		STR* r25 = r19;
		struct std_list_List_1 v26 = v20;
		bool v27 = v21;
		struct mirth_mirth_zaMirth* branch_zaMirth_28;
		VAL branch_zux1_29;
		STR* branch_zaStr_30;
		struct std_list_List_1 branch_List_31;
		bool branch_Bool_32;
		switch ((v26).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v33;
				VAL v34 = mtp_std_list_List_1_Cons(v26, &v33);
				STR* v35;
				STRLIT(v35, " ", 1);
				STR* v36;
				mw_std_str_zaStr_pushzestrzx(v35, r25, &v36);
				struct mirth_mirth_zaMirth* v37;
				STR* v38;
				mw_mirth_name_Namespace_namezj(r23, v36, V_mirth_name_Namespace(v34), &v37, &v38);
				bool v39 = true;
				branch_Bool_32 = v39;
				branch_List_31 = v33;
				branch_zaStr_30 = v38;
				branch_zux1_29 = r24;
				branch_zaMirth_28 = v37;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v40 = { .tag=std_list_List_1_Nil };
				bool v41 = false;
				branch_Bool_32 = v41;
				branch_List_31 = v40;
				branch_zaStr_30 = r25;
				branch_zux1_29 = r24;
				branch_zaMirth_28 = r23;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v22 = branch_Bool_32;
		v21 = branch_Bool_32;
		v20 = branch_List_31;
		r19 = branch_zaStr_30;
		r18 = branch_zux1_29;
		r17 = branch_zaMirth_28;
	}
	decref(MK_std_list_List_1(v20));
	*out_zaStr_7 = r19;
	*out_zux1_6 = r18;
	*out_zaMirth_5 = r17;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, -0x40(%rbp)
movq %rdx, %r12
movq %rsi, -0x38(%rbp)
movq %rdi, %r15
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
leaq -0x68(%rbp), %rdx
movl %ecx, %edi
movq %r8, %rsi
callq 0x111eb
testl %eax, %eax
je 0x2f3fb
cmpl $0x1, %eax
jne 0x2f4cf
movq %rdx, %rdi
callq 0xd745
movq %rax, %rdx
shrq $0x30, %rdx
andq %rbx, %rax
leaq -0x58(%rbp), %r13
leaq -0x30(%rbp), %r14
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rcx
movq %r13, %r8
movq %r14, %r9
callq 0x2f6f2
movq (%r14), %r12
movq (%r13), %r15
movl -0x68(%rbp), %eax
movq -0x60(%rbp), %rdi
leaq -0x48(%rbp), %r14
cmpl $0x1, %eax
jne 0x2f498
leaq -0x58(%rbp), %rsi
callq 0xd0aa
movq %rax, %r13
movq 0x10e613e(%rip), %rsi   # 0x1115560
testq %rsi, %rsi
jne 0x2f447
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x10e6119(%rip)   # 0x1115560
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x2f45d
incl (%rax)
movq %r12, %rdi
callq 0xe069
movq %r13, %rdx
shrq $0x30, %rdx
andq %rbx, %r13
movq %r15, %rdi
movq %rax, %rsi
movq %r13, %rcx
leaq -0x30(%rbp), %r8
movq %r14, %r9
callq 0x2f6f2
movl -0x58(%rbp), %eax
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %r12
movq -0x30(%rbp), %r15
jmp 0x2f406
testl %eax, %eax
jne 0x2f4cf
movq 0x18(%rbp), %rax
movq %r12, (%rax)
movq -0x38(%rbp), %rax
movq 0x10(%rbp), %rcx
movq %rax, (%rcx)
leaq 0xe2ab3(%rip), %rax     # 0x111f68
movq %rax, 0x8(%rcx)
movq -0x40(%rbp), %rax
movq %r15, (%rax)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0xb11e5(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0xb11ea(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302