// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataStructRepr_freezestructzx
static void mw_mirth_c99_C99DataStructRepr_freezestructzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99* in_zaC99_2, STR* in_Str_3, struct mirth_c99_C99DataStructRepr* in_C99DataStructRepr_4, struct mirth_mirth_zaMirth* *out_zaMirth_5, struct mirth_c99_zaC99* *out_zaC99_6) {
	incref(MK_mirth_c99_C99DataStructRepr(in_C99DataStructRepr_4));
	struct std_list_List_1 v7 = in_C99DataStructRepr_4->mfields;
	incref(MK_std_list_List_1(v7));
	decref(MK_mirth_c99_C99DataStructRepr(in_C99DataStructRepr_4));
	bool v8 = true;
	STR* v9 = in_Str_3;
	struct mirth_mirth_zaMirth* r10 = in_zaMirth_1;
	struct mirth_c99_zaC99* r11 = in_zaC99_2;
	struct std_list_List_1 v12 = v7;
	bool v13 = v8;
	bool v14 = v8;
	while (v14) {
		STR* v15 = v9;
		struct mirth_mirth_zaMirth* r16 = r10;
		struct mirth_c99_zaC99* r17 = r11;
		struct std_list_List_1 v18 = v12;
		bool v19 = v13;
		STR* branch_Str_20;
		struct mirth_mirth_zaMirth* branch_zaMirth_21;
		struct mirth_c99_zaC99* branch_zaC99_22;
		struct std_list_List_1 branch_List_23;
		bool branch_Bool_24;
		switch ((v18).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v25;
				VAL v26 = mtp_std_list_List_1_Cons(v18, &v25);
				incref(v26);
				struct mirth_c99_C99ReprType v27 = V_mirth_c99_C99DataStructField(v26)->mc99zerepr;
				incref(MK_mirth_c99_C99ReprType(v27));
				decref(MK_mirth_c99_C99DataStructField(V_mirth_c99_C99DataStructField(v26)));
				struct mirth_mirth_zaMirth* v28;
				bool v29 = mw_mirth_c99_C99ReprType_needszerefcountingzy(r16, v27, &v28);
				STR* branch_Str_30;
				struct mirth_c99_C99DataStructField* branch_C99DataStructField_31;
				struct mirth_c99_zaC99* branch_zaC99_32;
				struct mirth_mirth_zaMirth* branch_zaMirth_33;
				if (v29) {
					struct mirth_mirth_zaMirth* v34;
					struct mirth_c99_zaC99* v35;
					mw_mirth_c99_zaC99_indent(v28, r17, &v34, &v35);
					STR* v36;
					STRLIT(v36, "decref(", 7);
					struct mirth_mirth_zaMirth* v37;
					struct mirth_c99_zaC99* v38;
					mw_mirth_c99_zaC99_put(v34, v35, v36, &v37, &v38);
					STR* v39;
					STRLIT(v39, "", 0);
					incref(MKSTR(v15));
					STR* v40;
					mw_std_str_zaStr_pushzestrzx(v15, v39, &v40);
					STR* v41;
					STRLIT(v41, "->", 2);
					STR* v42;
					mw_std_str_zaStr_pushzestrzx(v41, v40, &v42);
					incref(v26);
					STR* v43 = V_mirth_c99_C99DataStructField(v26)->mcname;
					incref(MKSTR(v43));
					decref(MK_mirth_c99_C99DataStructField(V_mirth_c99_C99DataStructField(v26)));
					STR* v44;
					mw_std_str_zaStr_pushzestrzx(v43, v42, &v44);
					incref(v26);
					struct mirth_c99_C99ReprType v45 = V_mirth_c99_C99DataStructField(v26)->mc99zerepr;
					incref(MK_mirth_c99_C99ReprType(v45));
					decref(MK_mirth_c99_C99DataStructField(V_mirth_c99_C99DataStructField(v26)));
					struct mirth_mirth_zaMirth* v46;
					STR* v47 = mw_mirth_c99_C99ReprType_mkzemacro(v37, v44, v45, &v46);
					struct mirth_mirth_zaMirth* v48;
					struct mirth_c99_zaC99* v49;
					mw_mirth_c99_zaC99_put(v46, v38, v47, &v48, &v49);
					STR* v50;
					STRLIT(v50, ");", 2);
					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);
					branch_zaMirth_33 = v53;
					branch_zaC99_32 = v54;
					branch_C99DataStructField_31 = V_mirth_c99_C99DataStructField(v26);
					branch_Str_30 = v15;
				} else {
					branch_zaMirth_33 = v28;
					branch_zaC99_32 = r17;
					branch_C99DataStructField_31 = V_mirth_c99_C99DataStructField(v26);
					branch_Str_30 = v15;
				}
				decref(MK_mirth_c99_C99DataStructField(branch_C99DataStructField_31));
				bool v55 = true;
				branch_Bool_24 = v55;
				branch_List_23 = v25;
				branch_zaC99_22 = branch_zaC99_32;
				branch_zaMirth_21 = branch_zaMirth_33;
				branch_Str_20 = branch_Str_30;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v56 = { .tag=std_list_List_1_Nil };
				bool v57 = false;
				branch_Bool_24 = v57;
				branch_List_23 = v56;
				branch_zaC99_22 = r17;
				branch_zaMirth_21 = r16;
				branch_Str_20 = v15;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v14 = branch_Bool_24;
		v13 = branch_Bool_24;
		v12 = branch_List_23;
		r11 = branch_zaC99_22;
		r10 = branch_zaMirth_21;
		v9 = branch_Str_20;
	}
	decref(MK_std_list_List_1(v12));
	struct mirth_mirth_zaMirth* v58;
	struct mirth_c99_zaC99* v59;
	mw_mirth_c99_zaC99_indent(r10, r11, &v58, &v59);
	STR* v60;
	STRLIT(v60, "free(", 5);
	struct mirth_mirth_zaMirth* v61;
	struct mirth_c99_zaC99* v62;
	mw_mirth_c99_zaC99_put(v58, v59, v60, &v61, &v62);
	incref(MKSTR(v9));
	struct mirth_mirth_zaMirth* v63;
	struct mirth_c99_zaC99* v64;
	mw_mirth_c99_zaC99_put(v61, v62, v9, &v63, &v64);
	STR* v65;
	STRLIT(v65, ");", 2);
	struct mirth_mirth_zaMirth* v66;
	struct mirth_c99_zaC99* v67;
	mw_mirth_c99_zaC99_put(v63, v64, v65, &v66, &v67);
	struct mirth_mirth_zaMirth* v68;
	struct mirth_c99_zaC99* v69;
	mw_mirth_c99_zaC99_line(v66, v67, &v68, &v69);
	decref(MKSTR(v9));
	decref(MK_mirth_c99_C99DataStructRepr(in_C99DataStructRepr_4));
	*out_zaC99_6 = v69;
	*out_zaMirth_5 = v68;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %r9, -0xa0(%rbp)
movq %r8, -0xa8(%rbp)
movq %rdx, -0x38(%rbp)
movq %rsi, -0x40(%rbp)
movq %rdi, %r12
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rax
andq %r14, %rax
movq %rax, -0x50(%rbp)
setne %al
testb $0x3, %cl
sete %dl
andb %al, %dl
movb %dl, -0x2b(%rbp)
cmpb $0x1, %dl
jne 0xa536a
movq -0x50(%rbp), %rax
incl (%rax)
movl 0x18(%rcx), %ebx
movq %rcx, -0x88(%rbp)
movq 0x20(%rcx), %r15
movq %r15, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0xa538e
incl (%rax)
cmpb $0x0, -0x2b(%rbp)
je 0xa53af
movq -0x50(%rbp), %rax
decl (%rax)
jne 0xa53af
movq -0x88(%rbp), %rdi
leaq 0x6daef(%rip), %rsi     # 0x112e99
callq 0xd13d
movq -0x38(%rbp), %rcx
movq %rcx, %rax
andq %r14, %rax
movq %rax, -0x58(%rbp)
setne %al
testb $0x3, %cl
sete %cl
andb %al, %cl
movb %cl, -0x2a(%rbp)
cmpl $0x1, %ebx
jne 0xa577e
movq %r15, %rdi
leaq -0xd8(%rbp), %rsi
callq 0xd0aa
movq %rax, %r13
movq %rax, %r15
movq %rdx, -0xb0(%rbp)
testb $0x1, %dl
je 0xa540b
movq %r13, %rax
andq %r14, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0xa540b
incl (%rax)
movl 0x18(%r15), %ebx
movq %r14, %rcx
movq 0x20(%r15), %r14
movq %r14, %rax
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xa542c
incl (%rax)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r13
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
movb %cl, -0x29(%rbp)
jne 0xa545f
decl (%r13)
jne 0xa545f
movq %r15, %rdi
leaq 0x6db17(%rip), %rsi     # 0x112f71
callq 0xd13d
movq %r12, %rdi
movl %ebx, %esi
movq %r14, %rdx
leaq -0x48(%rbp), %rcx
callq 0xa07cd
testb %al, %al
je 0xa55ee
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x78(%rbp), %rdx
leaq -0x70(%rbp), %rcx
callq 0x93675
movq 0x107202c(%rip), %rdx   # 0x11174c0
testq %rdx, %rdx
jne 0xa54c3
movl $0x7, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x7, 0x10(%rax)
movl $0x72636564, 0x18(%rax) # imm = 0x72636564
movl $0x28666572, 0x1b(%rax) # imm = 0x28666572
movq %rax, 0x1071ffd(%rip)   # 0x11174c0
movq %rdx, %rax
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
andq %r14, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
movq -0xb0(%rbp), %r12
jne 0xa54eb
incl (%rax)
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
leaq -0x68(%rbp), %rcx
leaq -0x60(%rbp), %r8
callq 0x9221b
movq 0x1071fc1(%rip), %rdi   # 0x11174c8
testq %rdi, %rdi
jne 0xa5525
xorl %edi, %edi
callq 0xf5e4
movq %rax, %rdi
movq $0x0, 0x10(%rax)
movq %rax, 0x1071fa3(%rip)   # 0x11174c8
movq %rdi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0xa553b
incl (%rax)
cmpb $0x0, -0x2a(%rbp)
je 0xa5547
movq -0x58(%rbp), %rax
incl (%rax)
movq -0x38(%rbp), %rsi
callq 0xe069
movq %rax, %rbx
movq 0x1071f76(%rip), %rsi   # 0x11174d0
testq %rsi, %rsi
jne 0xa5581
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rsi
movq $0x2, 0x10(%rax)
movw $0x3e2d, 0x18(%rax)     # imm = 0x3E2D
movq %rax, 0x1071f4f(%rip)   # 0x11174d0
movq %rsi, %rax
andq %r14, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xa5597
incl (%rax)
testb $0x1, %r12b
sete %r14b
movq %rbx, %rdi
callq 0xe069
movq %rax, %rbx
orb -0x29(%rbp), %r14b
jne 0xa55b4
incl (%r13)
movq 0x28(%r15), %r14
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xa55d8
incl (%rax)
cmpb $0x0, -0x29(%rbp)
je 0xa5601
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe069
movq %rax, %rbx
jmp 0xa562e
movq -0x48(%rbp), %r12
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
jmp 0xa5751
decl (%r13)
jne 0xa5616
movq %r15, %rdi
leaq 0x6d960(%rip), %rsi     # 0x112f71
callq 0xd13d
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe069
movq %rax, %rbx
testb $0x1, %r12b
je 0xa562e
incl (%r13)
movl 0x18(%r15), %r14d
movq 0x20(%r15), %r12
movq %r12, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xa5656
incl (%rax)
cmpb $0x0, -0x29(%rbp)
jne 0xa5671
decl (%r13)
jne 0xa5671
movq %r15, %rdi
leaq 0x6d905(%rip), %rsi     # 0x112f71
callq 0xd13d
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
movl %r14d, %edx
movq %r12, %rcx
leaq -0x98(%rbp), %r8
callq 0xa5fe9
movq -0x98(%rbp), %rdi
movq -0x60(%rbp), %rsi
movq %rax, %rdx
leaq -0x90(%rbp), %rcx
leaq -0xc8(%rbp), %r8
callq 0x9221b
movq 0x1071e26(%rip), %rdx   # 0x11174d8
testq %rdx, %rdx
jne 0xa56d9
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x1071dff(%rip)   # 0x11174d8
movq %rdx, %rax
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
andq %r14, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa56fa
incl (%rax)
movq -0x90(%rbp), %rdi
movq -0xc8(%rbp), %rsi
leaq -0xc0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
callq 0x9221b
movq -0xc0(%rbp), %r12
movq -0xb8(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpb $0x1, 0x18(%rax)
jne 0xa5751
movq -0x40(%rbp), %rbx
movq 0x28(%rbx), %rsi
movl $0xa, %edi
leaq -0x80(%rbp), %rdx
callq 0x92a13
movq -0x80(%rbp), %rax
movq %rax, 0x28(%rbx)
cmpb $0x0, -0x29(%rbp)
jne 0xa576c
decl (%r13)
jne 0xa576c
movq %r15, %rdi
leaq 0x6d80a(%rip), %rsi     # 0x112f71
callq 0xd13d
movl -0xd8(%rbp), %ebx
movq -0xd0(%rbp), %r15
jmp 0xa53cb
testl %ebx, %ebx
jne 0xa5911
leaq -0x80(%rbp), %rdx
leaq -0x48(%rbp), %rcx
movq %r12, %rdi
movq -0x40(%rbp), %rsi
callq 0x93675
movq 0x1071d3f(%rip), %rdx   # 0x11174e0
testq %rdx, %rdx
jne 0xa57cd
movl $0x5, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x5, 0x10(%rax)
movl $0x65657266, 0x18(%rax) # imm = 0x65657266
movb $0x28, 0x1c(%rax)
movq %rax, 0x1071d13(%rip)   # 0x11174e0
movq %rdx, %rax
andq %r14, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa57e4
incl (%rax)
movq -0x80(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x78(%rbp), %rcx
leaq -0x70(%rbp), %r8
callq 0x9221b
cmpb $0x0, -0x2a(%rbp)
je 0xa5805
movq -0x58(%rbp), %rax
incl (%rax)
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
leaq -0x68(%rbp), %rcx
leaq -0x60(%rbp), %r8
movq -0x38(%rbp), %rdx
callq 0x9221b
movq 0x1071cc3(%rip), %rdx   # 0x11174e8
testq %rdx, %rdx
jne 0xa584c
movl $0x2, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x1071c9c(%rip)   # 0x11174e8
andq %rdx, %r14
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xa585f
incl (%r14)
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x98(%rbp), %rbx
leaq -0x90(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x9221b
movq (%rbx), %r15
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xa58ac
movq 0x28(%r14), %rsi
leaq -0xd8(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x92a13
movq (%rbx), %rax
movq %rax, 0x28(%r14)
cmpb $0x0, -0x2a(%rbp)
je 0xa58ca
movq -0x58(%rbp), %rax
decl (%rax)
jne 0xa58ca
leaq 0x6b898(%rip), %rsi     # 0x111159
movq -0x38(%rbp), %rdi
callq 0xd13d
cmpb $0x0, -0x2b(%rbp)
je 0xa58eb
movq -0x50(%rbp), %rax
decl (%rax)
jne 0xa58eb
movq -0x88(%rbp), %rdi
leaq 0x6d5b3(%rip), %rsi     # 0x112e99
callq 0xd13d
movq -0xa0(%rbp), %rax
movq %r14, (%rax)
movq -0xa8(%rbp), %rax
movq %r15, (%rax)
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x3ada3(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x3ada8(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302