// File: /workspace/github_c_makefile_star2_O2/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 $0xc8, %rsp
movq %r9, -0xd0(%rbp)
movq %r8, %r15
movq %rdx, -0x38(%rbp)
movq %rsi, -0x58(%rbp)
movq %rdi, %r12
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %rcx, %rsi
andq %r13, %rsi
setne %al
testb $0x3, %cl
sete %dil
andb %al, %dil
cmpb $0x1, %dil
jne 0x9c1b7
incl (%rsi)
movl 0x18(%rcx), %ebx
movq %rcx, -0x90(%rbp)
movq 0x20(%rcx), %r14
movq %r14, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x9c1db
incl (%rax)
testb %dil, %dil
movq %rsi, -0xc8(%rbp)
movb %dil, -0x2b(%rbp)
je 0x9c202
decl (%rsi)
jne 0x9c202
movq -0x90(%rbp), %rdi
leaq 0x6dc9c(%rip), %rsi     # 0x109e99
callq 0xce94
movq -0x38(%rbp), %rcx
movq %rcx, %rax
andq %r13, %rax
movq %rax, -0x48(%rbp)
setne %al
testb $0x3, %cl
sete %cl
andb %al, %cl
movb %cl, -0x2a(%rbp)
movb $0x1, %al
movq %r14, %rdi
testb $0x1, %al
je 0x9c57b
xorl %eax, %eax
movl $0x0, %r14d
testl %ebx, %ebx
je 0x9c220
cmpl $0x1, %ebx
jne 0x9c717
movq %r15, -0x98(%rbp)
leaq -0xb8(%rbp), %rsi
callq 0xce01
movq %rax, %rbx
movq %rdx, -0xc0(%rbp)
testb $0x1, %dl
je 0x9c277
movq %rax, %rsi
andq %r13, %rsi
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x9c277
incl (%rsi)
movl 0x18(%rbx), %r14d
movq 0x20(%rbx), %r15
movq %r15, %rsi
andq %r13, %rsi
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x9c295
incl (%rsi)
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
movb %dl, -0x29(%rbp)
movq %rax, -0x50(%rbp)
jne 0x9c2bf
decl (%rax)
jne 0x9c2bf
movq %rbx, %rdi
leaq 0x6dcb7(%rip), %rsi     # 0x109f71
callq 0xce94
movq %r12, %rdi
movl %r14d, %esi
movq %r15, %rdx
leaq -0x40(%rbp), %rcx
callq 0x97ccc
testb %al, %al
je 0x9c541
movq -0x40(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x88(%rbp), %rdx
leaq -0x80(%rbp), %rcx
callq 0x8bc28
movq 0x10721d0(%rip), %rdx   # 0x110e4c8
testq %rdx, %rdx
jne 0x9c316
leaq 0x515f0(%rip), %rdi     # 0xed8f4
pushq $0x7
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x10721b2(%rip)   # 0x110e4c8
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
movb -0x2a(%rbp), %r14b
jne 0x9c331
incl (%rax)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
leaq -0x78(%rbp), %rcx
leaq -0x70(%rbp), %r8
callq 0x8a8a9
movq 0x1072180(%rip), %rdi   # 0x110e4d0
testq %rdi, %rdi
jne 0x9c36d
leaq 0x40399(%rip), %rdi     # 0xdc6f5
xorl %esi, %esi
callq 0x8a21
movq %rax, %rdi
movq %rax, 0x1072163(%rip)   # 0x110e4d0
movq %rdi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x9c383
incl (%rax)
testb %r14b, %r14b
je 0x9c38e
movq -0x48(%rbp), %rax
incl (%rax)
movq -0x38(%rbp), %rsi
callq 0xd8b0
movq %rax, %r14
movq 0x1072137(%rip), %rsi   # 0x110e4d8
testq %rsi, %rsi
jne 0x9c3bf
leaq 0x5151a(%rip), %rdi     # 0xed8c7
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rsi
movq %rax, 0x1072119(%rip)   # 0x110e4d8
movq %rsi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x9c3d5
incl (%rax)
testb $0x1, -0xc0(%rbp)
sete %r12b
movq %r14, %rdi
callq 0xd8b0
movq %rax, %r14
orb -0x29(%rbp), %r12b
movq -0x50(%rbp), %rsi
jne 0x9c3f7
incl (%rsi)
movq 0x28(%rbx), %r15
movq %r15, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x9c411
incl (%rax)
cmpb $0x0, -0x29(%rbp)
jne 0x9c42a
decl (%rsi)
jne 0x9c42a
movq %rbx, %rdi
leaq 0x6db4c(%rip), %rsi     # 0x109f71
callq 0xce94
movq %r14, %rdi
movq %r15, %rsi
callq 0xd8b0
movq -0x50(%rbp), %rsi
movq %rax, %r14
testb %r12b, %r12b
jne 0x9c443
incl (%rsi)
movl 0x18(%rbx), %r15d
movq 0x20(%rbx), %r12
movq %r12, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0x9c461
incl (%rax)
cmpb $0x0, -0x29(%rbp)
jne 0x9c47a
decl (%rsi)
jne 0x9c47a
movq %rbx, %rdi
leaq 0x6dafc(%rip), %rsi     # 0x109f71
callq 0xce94
movq -0x78(%rbp), %rdi
movq %r14, %rsi
movl %r15d, %edx
movq %r12, %rcx
leaq -0xa8(%rbp), %r8
callq 0x9cdcd
movq -0xa8(%rbp), %rdi
movq -0x70(%rbp), %rsi
movq %rax, %rdx
leaq -0xa0(%rbp), %rcx
leaq -0x68(%rbp), %r8
callq 0x8a8a9
movq 0x1072028(%rip), %rdx   # 0x110e4e0
testq %rdx, %rdx
jne 0x9c4d6
leaq 0x51c48(%rip), %rdi     # 0xee10c
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x107200a(%rip)   # 0x110e4e0
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
movq -0x98(%rbp), %r15
jne 0x9c4f4
incl (%rax)
movq -0xa0(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0x60(%rbp), %rcx
leaq -0xe8(%rbp), %r8
callq 0x8a8a9
movq -0x60(%rbp), %rdi
movq -0xe8(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
leaq -0xd8(%rbp), %rcx
callq 0x8a92c
movq -0xe0(%rbp), %r12
movq -0xd8(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0x9c54c
movq -0x40(%rbp), %r12
movq -0x98(%rbp), %r15
cmpb $0x0, -0x29(%rbp)
movq -0x50(%rbp), %rax
jne 0x9c569
decl (%rax)
jne 0x9c569
movq %rbx, %rdi
leaq 0x6da0d(%rip), %rsi     # 0x109f71
callq 0xce94
movl -0xb8(%rbp), %ebx
movq -0xb0(%rbp), %r14
jmp 0x9c21e
movq %rdi, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0x9c5a9
decl (%rax)
jne 0x9c5a9
shlq $0x30, %rbx
orq %rdi, %rbx
movq %rbx, %rdi
leaq 0x6bcd5(%rip), %rsi     # 0x108279
callq 0xce94
leaq -0xb8(%rbp), %rdx
leaq -0x40(%rbp), %rcx
movq %r12, %rdi
movq -0x58(%rbp), %rsi
callq 0x8bc28
movq 0x1071f21(%rip), %rdx   # 0x110e4e8
testq %rdx, %rdx
jne 0x9c5e5
leaq 0x51348(%rip), %rdi     # 0xed91b
pushq $0x5
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1071f03(%rip)   # 0x110e4e8
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
movb -0x2a(%rbp), %r12b
jne 0x9c600
incl (%rax)
movq -0xb8(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x88(%rbp), %rcx
leaq -0x80(%rbp), %r8
callq 0x8a8a9
testb %r12b, %r12b
je 0x9c626
movq -0x48(%rbp), %rax
incl (%rax)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
leaq -0x78(%rbp), %rcx
leaq -0x70(%rbp), %r8
movq -0x38(%rbp), %rdx
callq 0x8a8a9
movq 0x1071ea7(%rip), %rdx   # 0x110e4f0
testq %rdx, %rdx
jne 0x9c667
leaq 0x51ab7(%rip), %rdi     # 0xee10c
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1071e89(%rip)   # 0x110e4f0
andq %rdx, %r13
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0x9c67b
incl (%r13)
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
leaq -0xa8(%rbp), %rbx
leaq -0xa0(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x8a8a9
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x68(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x8a92c
testb %r12b, %r12b
je 0x9c6cc
movq -0x48(%rbp), %rax
decl (%rax)
jne 0x9c6cc
leaq 0x6ba96(%rip), %rsi     # 0x108159
movq -0x38(%rbp), %rdi
callq 0xce94
cmpb $0x0, -0x2b(%rbp)
je 0x9c6f0
movq -0xc8(%rbp), %rax
decl (%rax)
jne 0x9c6f0
movq -0x90(%rbp), %rdi
leaq 0x6d7ae(%rip), %rsi     # 0x109e99
callq 0xce94
movq -0x60(%rbp), %rax
movq -0xd0(%rbp), %rcx
movq %rax, (%rcx)
movq -0x68(%rbp), %rax
movq %rax, (%r15)
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x380ef(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6