// File: /workspace/github_c_makefile_star2_O1/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 0x115ef
testl %eax, %eax
je 0x302bc
cmpl $0x1, %eax
jne 0x303ca
movq %rdx, %rdi
callq 0xdaeb
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 0x305ef
movq (%r14), %r12
movq (%r13), %r15
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rax
leaq -0x48(%rbp), %r14
testl %edi, %edi
je 0x30365
cmpl $0x1, %edi
jne 0x303ca
movq %rax, %rdi
leaq -0x58(%rbp), %rsi
callq 0xd450
movq %rax, %r13
cmpq $0x0, 0x10e9271(%rip)   # 0x1119560
jne 0x3030e
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x10e9252(%rip)   # 0x1119560
movq 0x10e924b(%rip), %rsi   # 0x1119560
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x3032b
incl (%rax)
movq %r12, %rdi
callq 0xe43c
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 0x305ef
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rax
movq -0x48(%rbp), %r12
movq -0x30(%rbp), %r15
movb $0x1, %cl
jmp 0x30369
xorl %ecx, %ecx
xorl %eax, %eax
testb %cl, %cl
jne 0x302c7
andq %rax, %rbx
sete %cl
testb $0x3, %al
setne %dl
orb %cl, %dl
jne 0x30397
decl (%rbx)
jne 0x30397
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xe4ee7(%rip), %rsi     # 0x115279
callq 0xd4e3
movq 0x18(%rbp), %rax
movq %r12, (%rax)
movq -0x38(%rbp), %rax
movq 0x10(%rbp), %rcx
movq %rax, (%rcx)
leaq 0xe5bb8(%rip), %rax     # 0x115f68
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 0xf9f7
movq $0x20, 0x10(%rax)
movups 0xb436a(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0xb436f(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5