// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_for_1_sp64
static void mw_std_list_List_1_for_1_sp64 (struct mirth_c99_zaC99* in_zaC99_1, struct mirth_mirth_zaMirth* in_zaMirth_2, struct std_list_List_1 in_List_3, struct mirth_c99_zaC99* *out_zaC99_4, struct mirth_mirth_zaMirth* *out_zaMirth_5) {
	bool v6 = true;
	struct mirth_c99_zaC99* r7 = in_zaC99_1;
	struct mirth_mirth_zaMirth* r8 = in_zaMirth_2;
	struct std_list_List_1 v9 = in_List_3;
	bool v10 = v6;
	bool v11 = v6;
	while (v11) {
		struct mirth_c99_zaC99* r12 = r7;
		struct mirth_mirth_zaMirth* r13 = r8;
		struct std_list_List_1 v14 = v9;
		bool v15 = v10;
		struct mirth_c99_zaC99* branch_zaC99_16;
		struct mirth_mirth_zaMirth* branch_zaMirth_17;
		struct std_list_List_1 branch_List_18;
		bool branch_Bool_19;
		switch ((v14).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v20;
				VAL v21 = mtp_std_list_List_1_Cons(v14, &v20);
				struct mirth_mirth_zaMirth* v22;
				struct mirth_c99_zaC99* v23;
				mw_mirth_c99_zaC99_indent(r13, r12, &v22, &v23);
				incref(v21);
				struct mirth_mirth_zaMirth* v24;
				STR* v25 = mw_mirth_data_Tag_cname(v22, V_mirth_data_Tag(v21), &v24);
				struct mirth_mirth_zaMirth* v26;
				struct mirth_c99_zaC99* v27;
				mw_mirth_c99_zaC99_put(v24, v23, v25, &v26, &v27);
				STR* v28;
				STRLIT(v28, " = ", 3);
				struct mirth_mirth_zaMirth* v29;
				struct mirth_c99_zaC99* v30;
				mw_mirth_c99_zaC99_put(v26, v27, v28, &v29, &v30);
				incref(v21);
				struct mirth_mirth_zaMirth* v31;
				INT v32 = mw_mirth_data_Tag_value(v29, V_mirth_data_Tag(v21), &v31);
				STR* v33;
				STRLIT(v33, "", 0);
				incref(MKINT(v32));
				INT v34 = WRAP_I63(0LL);
				INT v35 = v34;
				bool v36 = int_lt(v32, v35);
				STR* branch_zaStr_37;
				INT branch_Int_38;
				if (v36) {
					STR* v39;
					STRLIT(v39, "-", 1);
					STR* v40;
					mw_std_str_zaStr_pushzestrzx(v39, v33, &v40);
					INT v41 = WRAP_I63(0LL);
					INT v42 = int_sub(v41, v32);
					branch_Int_38 = v42;
					branch_zaStr_37 = v40;
				} else {
					branch_Int_38 = v32;
					branch_zaStr_37 = v33;
				}
				INT v43 = branch_Int_38;
				STR* v44;
				STRLIT(v44, "0x", 2);
				STR* v45;
				mw_std_str_zaStr_pushzestrzx(v44, branch_zaStr_37, &v45);
				INT v46 = mw_std_number_Base_Hex();
				STR* v47;
				mw_std_number_Base_digitszj(v45, v43, v46, &v47);
				struct mirth_mirth_zaMirth* v48;
				struct mirth_c99_zaC99* v49;
				mw_mirth_c99_zaC99_put(v31, v30, v47, &v48, &v49);
				STR* v50;
				STRLIT(v50, ",", 1);
				struct mirth_mirth_zaMirth* v51;
				struct mirth_c99_zaC99* v52;
				mw_mirth_c99_zaC99_put(v48, v49, v50, &v51, &v52);
				struct mirth_mirth_zaMirth* v53;
				struct mirth_c99_zaC99* v54;
				mw_mirth_c99_zaC99_line(v51, v52, &v53, &v54);
				decref(v21);
				bool v55 = true;
				branch_Bool_19 = v55;
				branch_List_18 = v20;
				branch_zaMirth_17 = v53;
				branch_zaC99_16 = v54;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v56 = { .tag=std_list_List_1_Nil };
				bool v57 = false;
				branch_Bool_19 = v57;
				branch_List_18 = v56;
				branch_zaMirth_17 = r13;
				branch_zaC99_16 = r12;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v11 = branch_Bool_19;
		v10 = branch_Bool_19;
		v9 = branch_List_18;
		r8 = branch_zaMirth_17;
		r7 = branch_zaC99_16;
	}
	decref(MK_std_list_List_1(v9));
	*out_zaMirth_5 = r8;
	*out_zaC99_4 = r7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq %rsi, %r12
movq %rdi, %rbx
cmpl $0x1, %edx
jne 0x9fc19
movq %rcx, %rdi
leaq -0xb0(%rbp), %rsi
callq 0xd0aa
movq %rax, %r14
movq %rdx, %r15
movq %r12, %rdi
movq %rbx, %rsi
leaq -0x98(%rbp), %rdx
leaq -0x90(%rbp), %rcx
callq 0x93675
testb $0x1, %r15b
je 0x9f900
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x9f900
incl (%rax)
movq -0x98(%rbp), %rdi
movq %r14, %rsi
leaq -0x88(%rbp), %rdx
callq 0x9b876
movq -0x88(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq %rax, %rdx
leaq -0x80(%rbp), %rcx
leaq -0x78(%rbp), %r8
callq 0x9221b
movq 0x10773a5(%rip), %rdx   # 0x1116ce0
testq %rdx, %rdx
jne 0x9f966
movl $0x3, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x3, 0x10(%rax)
movw $0x3d20, 0x18(%rax)     # imm = 0x3D20
movb $0x20, 0x1a(%rax)
movq %rax, 0x107737a(%rip)   # 0x1116ce0
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x9f987
incl (%rax)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
callq 0x9221b
testb $0x1, %r15b
je 0x9f9c2
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x9f9c2
incl (%rax)
movq -0x70(%rbp), %r12
leaq 0x10758ab(%rip), %rdi   # 0x1115278
movq %r14, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %r13
movq %rax, %rdi
movq %rdx, %rsi
callq 0x1099d
movq 0x10772f6(%rip), %rbx   # 0x1116ce8
testq %rbx, %rbx
jne 0x9fa10
xorl %edi, %edi
callq 0xf5e4
movq %rax, %rbx
movq $0x0, 0x10(%rax)
movq %rax, 0x10772d8(%rip)   # 0x1116ce8
movq %rbx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x9fa2f
incl (%rax)
movq %r13, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x9fa4f
incl (%rax)
movl $0x1, %esi
movq %r13, %rdi
callq 0xe83a
testl %eax, %eax
jns 0x9fac7
movq 0x1077289(%rip), %rsi   # 0x1116cf0
testq %rsi, %rsi
jne 0x9fa8c
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x1, 0x10(%rax)
movb $0x2d, 0x18(%rax)
movq %rax, 0x1077264(%rip)   # 0x1116cf0
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x9faac
incl (%rax)
movq %rbx, %rdi
callq 0xe069
movq %rax, %rbx
movl $0x1, %edi
movq %r13, %rsi
callq 0xe9fc
movq %rax, %r13
movq 0x107722a(%rip), %rsi   # 0x1116cf8
testq %rsi, %rsi
jne 0x9faf5
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x2, 0x10(%rax)
movw $0x7830, 0x18(%rax)     # imm = 0x7830
movq %rax, 0x1077203(%rip)   # 0x1116cf8
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x9fb15
incl (%rax)
movq %rbx, %rdi
callq 0xe069
movq %rax, %rdi
movq %r13, %rsi
leaq -0x60(%rbp), %rdx
callq 0x9fd8d
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq %r12, %rdi
leaq -0x58(%rbp), %rcx
leaq -0x50(%rbp), %r8
callq 0x9221b
movq 0x10771b5(%rip), %rdx   # 0x1116d00
testq %rdx, %rdx
jne 0x9fb70
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x2c, 0x18(%rax)
movq %rax, 0x1077190(%rip)   # 0x1116d00
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x9fb91
incl (%rax)
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x48(%rbp), %rcx
leaq -0x40(%rbp), %r8
callq 0x9221b
movq -0x48(%rbp), %r12
movq -0x40(%rbp), %rbx
cmpb $0x1, 0x18(%rbx)
jne 0x9fbd4
movq 0x28(%rbx), %rsi
movl $0xa, %edi
leaq -0xa0(%rbp), %rdx
callq 0x92a13
movq -0xa0(%rbp), %rax
movq %rax, 0x28(%rbx)
testb $0x1, %r15b
je 0x9fc07
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x9fc07
decl (%rax)
jne 0x9fc07
movq %r14, %rdi
movq %r15, %rsi
callq 0xd13d
movl -0xb0(%rbp), %edx
movq -0xa8(%rbp), %rcx
jmp 0x9f8a3
testl %edx, %edx
jne 0x9fc3d
movq -0x30(%rbp), %rax
movq %r12, (%rax)
movq -0x38(%rbp), %rax
movq %rbx, (%rax)
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x40a77(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x40a7c(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302