// File: /workspace/github_c_makefile_star2_O1/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, -0xa8(%rbp)
movq %r8, -0xb0(%rbp)
movq %rdx, -0x40(%rbp)
movq %rsi, -0x58(%rbp)
movq %rdi, %r14
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rax
andq %r13, %rax
movq %rax, -0x50(%rbp)
setne %al
testb $0x3, %cl
sete %dl
andb %al, %dl
movb %dl, -0x29(%rbp)
cmpb $0x1, %dl
jne 0xa7f1e
movq -0x50(%rbp), %rax
incl (%rax)
movl 0x18(%rcx), %r15d
movq %rcx, -0x90(%rbp)
movq 0x20(%rcx), %r12
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xa7f43
incl (%rax)
cmpb $0x0, -0x29(%rbp)
je 0xa7f64
movq -0x50(%rbp), %rax
decl (%rax)
jne 0xa7f64
movq -0x90(%rbp), %rdi
leaq 0x6ef3a(%rip), %rsi     # 0x116e99
callq 0xd4e3
movq -0x40(%rbp), %rcx
movq %rcx, %rax
andq %r13, %rax
movq %rax, -0xb8(%rbp)
setne %al
testb $0x3, %cl
sete %cl
andb %al, %cl
movb %cl, -0x2a(%rbp)
testl %r15d, %r15d
je 0xa830f
cmpl $0x1, %r15d
jne 0xa852d
movq %r14, %r15
movq %r12, %rdi
leaq -0xe0(%rbp), %rsi
callq 0xd450
movq %rdx, %r12
movq %rax, %rdi
testb $0x1, %r12b
je 0xa7fca
movq %rax, %rsi
andq %r13, %rsi
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0xa7fca
incl (%rsi)
movl 0x18(%rdi), %ebx
movq 0x20(%rdi), %r14
movq %r14, %rsi
andq %r13, %rsi
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xa7fe7
incl (%rsi)
andq %r13, %rax
sete %cl
movq %rdi, -0x38(%rbp)
testb $0x3, %dil
setne %r13b
orb %cl, %r13b
movq %rax, -0x60(%rbp)
jne 0xa8016
decl (%rax)
jne 0xa8016
movq -0x38(%rbp), %rdi
leaq 0x6ef60(%rip), %rsi     # 0x116f71
callq 0xd4e3
movq %r15, %rdi
movl %ebx, %esi
movq %r14, %rdx
leaq -0x48(%rbp), %rcx
callq 0xa325e
testb %al, %al
je 0xa8316
movq -0x48(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x80(%rbp), %rdx
leaq -0x78(%rbp), %rcx
callq 0x95d84
cmpq $0x0, 0x1073474(%rip)   # 0x111b4c0
jne 0xa8075
movl $0x7, %edi
callq 0xf9f7
movq $0x7, 0x10(%rax)
movl $0x72636564, 0x18(%rax) # imm = 0x72636564
movl $0x28666572, 0x1b(%rax) # imm = 0x28666572
movq %rax, 0x107344b(%rip)   # 0x111b4c0
movq 0x1073444(%rip), %rdx   # 0x111b4c0
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa809d
incl (%rax)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
callq 0x94972
cmpq $0x0, 0x107340e(%rip)   # 0x111b4c8
jne 0xa80d2
xorl %edi, %edi
callq 0xf9f7
movq $0x0, 0x10(%rax)
movq %rax, 0x10733f6(%rip)   # 0x111b4c8
movq 0x10733ef(%rip), %rdi   # 0x111b4c8
movq %rdi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0xa80f9
incl (%rax)
cmpb $0x0, -0x2a(%rbp)
je 0xa8108
movq -0xb8(%rbp), %rax
incl (%rax)
movq -0x40(%rbp), %rsi
callq 0xe43c
movq %rax, %rbx
cmpq $0x0, 0x10733b4(%rip)   # 0x111b4d0
jne 0xa813d
movl $0x2, %edi
callq 0xf9f7
movq $0x2, 0x10(%rax)
movw $0x3e2d, 0x18(%rax)     # imm = 0x3E2D
movq %rax, 0x1073393(%rip)   # 0x111b4d0
movq 0x107338c(%rip), %rsi   # 0x111b4d0
movq %rsi, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xa8164
incl (%rax)
testb $0x1, %r12b
sete %r14b
movq %rbx, %rdi
callq 0xe43c
movq %rax, %rbx
orb %r13b, %r14b
movq -0x60(%rbp), %rsi
jne 0xa8182
incl (%rsi)
movq -0x38(%rbp), %rax
movq 0x28(%rax), %r14
movq %r14, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0xa81aa
incl (%rax)
testb %r13b, %r13b
jne 0xa81c3
decl (%rsi)
jne 0xa81c3
movq -0x38(%rbp), %rdi
leaq 0x6edb3(%rip), %rsi     # 0x116f71
callq 0xd4e3
testb $0x1, %r12b
sete %r12b
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe43c
movq -0x60(%rbp), %rsi
movq %rax, %rbx
orb %r13b, %r12b
jne 0xa81e4
incl (%rsi)
movq -0x38(%rbp), %rax
movl 0x18(%rax), %r14d
movq 0x20(%rax), %r12
movq %r12, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xa8210
incl (%rax)
testb %r13b, %r13b
jne 0xa8229
decl (%rsi)
jne 0xa8229
movq -0x38(%rbp), %rdi
leaq 0x6ed4d(%rip), %rsi     # 0x116f71
callq 0xd4e3
movq -0x70(%rbp), %rdi
movq %rbx, %rsi
movl %r14d, %edx
movq %r12, %rcx
leaq -0xa0(%rbp), %r8
callq 0xa8c22
movq -0xa0(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq %rax, %rdx
leaq -0x98(%rbp), %rcx
leaq -0xd0(%rbp), %r8
callq 0x94972
cmpq $0x0, 0x107326d(%rip)   # 0x111b4d8
jne 0xa828c
movl $0x2, %edi
callq 0xf9f7
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x107324c(%rip)   # 0x111b4d8
movq 0x1073245(%rip), %rdx   # 0x111b4d8
movq %rdx, %rax
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa82b4
incl (%rax)
movq -0x98(%rbp), %rdi
movq -0xd0(%rbp), %rsi
leaq -0xc8(%rbp), %rcx
leaq -0xc0(%rbp), %r8
callq 0x94972
movq -0xc8(%rbp), %r14
movq -0xc0(%rbp), %rbx
cmpb $0x1, 0x18(%rbx)
jne 0xa8309
movq 0x28(%rbx), %rsi
movl $0xa, %edi
leaq -0x88(%rbp), %rdx
callq 0x95160
movq -0x88(%rbp), %rax
movq %rax, 0x28(%rbx)
movq %rbx, -0x58(%rbp)
jmp 0xa831a
xorl %eax, %eax
xorl %r12d, %r12d
jmp 0xa8351
movq -0x48(%rbp), %r14
testb %r13b, %r13b
movq -0x60(%rbp), %rax
movq -0x38(%rbp), %rdi
jne 0xa8337
decl (%rax)
jne 0xa8337
leaq 0x6ec3f(%rip), %rsi     # 0x116f71
callq 0xd4e3
movl -0xe0(%rbp), %r15d
movq -0xd8(%rbp), %r12
movb $0x1, %al
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
testb %al, %al
jne 0xa7f83
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xa8387
decl (%rax)
jne 0xa8387
shlq $0x30, %r15
orq %r12, %r15
movq %r15, %rdi
leaq 0x6cef7(%rip), %rsi     # 0x115279
callq 0xd4e3
leaq -0x88(%rbp), %rdx
leaq -0x48(%rbp), %rcx
movq %r14, %rdi
movq -0x58(%rbp), %rsi
callq 0x95d84
cmpq $0x0, 0x107313a(%rip)   # 0x111b4e0
jne 0xa83cc
movl $0x5, %edi
callq 0xf9f7
movq $0x5, 0x10(%rax)
movl $0x65657266, 0x18(%rax) # imm = 0x65657266
movb $0x28, 0x1c(%rax)
movq %rax, 0x1073114(%rip)   # 0x111b4e0
movq 0x107310d(%rip), %rdx   # 0x111b4e0
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xa83ea
incl (%rax)
movq -0x88(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x80(%rbp), %rcx
leaq -0x78(%rbp), %r8
callq 0x94972
movq -0x40(%rbp), %rcx
movq %rcx, %r15
andq %r13, %r15
setne %al
testb $0x3, %cl
sete %r12b
andb %al, %r12b
cmpb $0x1, %r12b
jne 0xa8422
incl (%r15)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
movq -0x40(%rbp), %rdx
callq 0x94972
cmpq $0x0, 0x10730a5(%rip)   # 0x111b4e8
jne 0xa8464
movl $0x2, %edi
callq 0xf9f7
movq $0x2, 0x10(%rax)
movw $0x3b29, 0x18(%rax)     # imm = 0x3B29
movq %rax, 0x1073084(%rip)   # 0x111b4e8
movq 0x107307d(%rip), %rdx   # 0x111b4e8
andq %rdx, %r13
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xa847f
incl (%r13)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0xa0(%rbp), %rbx
leaq -0x98(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x94972
movq (%rbx), %r13
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xa84cc
movq 0x28(%r14), %rsi
leaq -0xe0(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x95160
movq (%rbx), %rax
movq %rax, 0x28(%r14)
testb %r12b, %r12b
je 0xa84e6
decl (%r15)
jne 0xa84e6
leaq 0x6cc7c(%rip), %rsi     # 0x115159
movq -0x40(%rbp), %rdi
callq 0xd4e3
cmpb $0x0, -0x29(%rbp)
je 0xa8507
movq -0x50(%rbp), %rax
decl (%rax)
jne 0xa8507
movq -0x90(%rbp), %rdi
leaq 0x6e997(%rip), %rsi     # 0x116e99
callq 0xd4e3
movq -0xa8(%rbp), %rax
movq %r14, (%rax)
movq -0xb0(%rbp), %rax
movq %r13, (%rax)
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf9f7
movq $0x20, 0x10(%rax)
movups 0x3c207(%rip), %xmm0    # 0xe474d
movups %xmm0, 0x18(%rax)
movups 0x3c20c(%rip), %xmm0    # 0xe475d
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x95a5