// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99ReprType_valuezeexpressionzx_1_sp21
static void mw_mirth_c99_C99ReprType_valuezeexpressionzx_1_sp21 (struct mirth_c99_zaC99Value* in_zaC99Value_1, struct mirth_mirth_zaMirth* in_zaMirth_2, struct mirth_c99_zaC99Branch* in_zaC99Branch_3, struct mirth_c99_C99ReprType in_C99ReprType_4, struct mirth_c99_zaC99Value* *out_zaC99Value_5, struct mirth_mirth_zaMirth* *out_zaMirth_6, struct mirth_c99_zaC99Branch* *out_zaC99Branch_7, struct mirth_c99_zaC99Value* *out_zaC99Value_8) {
	incref(MK_mirth_c99_C99ReprType(in_C99ReprType_4));
	struct mirth_mirth_zaMirth* v9;
	bool v10 = mw_mirth_c99_C99ReprType_iszephysicalzy(in_zaMirth_2, in_C99ReprType_4, &v9);
	struct mirth_c99_zaC99Value* branch_zaC99Value_11;
	struct mirth_c99_C99ReprType branch_C99ReprType_12;
	bool branch_Bool_13;
	struct mirth_mirth_zaMirth* branch_zaMirth_14;
	STR* branch_Str_15;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_16;
	if (v10) {
		struct mirth_c99_zaC99* r17 = in_zaC99Branch_3->mzac99;
		struct mirth_mirth_zaMirth* v18;
		struct mirth_c99_zaC99* v19;
		STR* v20 = mw_mirth_c99_zaC99_freshzenamezx(v9, r17, &v18, &v19);
		in_zaC99Branch_3->mzac99 = v19;
		branch_zaC99Branch_16 = in_zaC99Branch_3;
		branch_Str_15 = v20;
		branch_zaMirth_14 = v18;
		branch_Bool_13 = v10;
		branch_C99ReprType_12 = in_C99ReprType_4;
		branch_zaC99Value_11 = in_zaC99Value_1;
	} else {
		STR* v21;
		STRLIT(v21, "0", 1);
		branch_zaC99Branch_16 = in_zaC99Branch_3;
		branch_Str_15 = v21;
		branch_zaMirth_14 = v9;
		branch_Bool_13 = v10;
		branch_C99ReprType_12 = in_C99ReprType_4;
		branch_zaC99Value_11 = in_zaC99Value_1;
	}
	bool v22 = branch_zaC99Branch_16->mreachable;
	bool v23 = (branch_Bool_13 && v22);
	struct mirth_c99_zaC99* r24 = branch_zaC99Branch_16->mzac99;
	bool v25 = r24->mputzeenabled;
	bool v26 = (v23 && v25);
	r24->mputzeenabled = v26;
	struct mirth_mirth_zaMirth* v27;
	struct mirth_c99_zaC99* v28;
	mw_mirth_c99_zaC99_indent(branch_zaMirth_14, r24, &v27, &v28);
	incref(MK_mirth_c99_C99ReprType(branch_C99ReprType_12));
	struct mirth_mirth_zaMirth* v29;
	STR* v30 = mw_mirth_c99_C99ReprType_underlyingzec99zetype(v27, branch_C99ReprType_12, &v29);
	struct mirth_mirth_zaMirth* v31;
	struct mirth_c99_zaC99* v32;
	mw_mirth_c99_zaC99_put(v29, v28, v30, &v31, &v32);
	STR* v33;
	STRLIT(v33, " ", 1);
	struct mirth_mirth_zaMirth* v34;
	struct mirth_c99_zaC99* v35;
	mw_mirth_c99_zaC99_put(v31, v32, v33, &v34, &v35);
	incref(MKSTR(branch_Str_15));
	struct mirth_mirth_zaMirth* v36;
	struct mirth_c99_zaC99* v37;
	mw_mirth_c99_zaC99_put(v34, v35, branch_Str_15, &v36, &v37);
	STR* v38;
	STRLIT(v38, " = ", 3);
	struct mirth_mirth_zaMirth* v39;
	struct mirth_c99_zaC99* v40;
	mw_mirth_c99_zaC99_put(v36, v37, v38, &v39, &v40);
	struct mirth_c99_zaC99Value* v41;
	mtw_mirth_c99_zaC99Value_zaC99Value(branch_C99ReprType_12, branch_Str_15, &v41);
	STR* v42 = branch_zaC99Value_11->mvaluezename;
	incref(MKSTR(v42));
	struct mirth_mirth_zaMirth* v43;
	struct mirth_c99_zaC99* v44;
	mw_mirth_c99_zaC99_put(v39, v40, v42, &v43, &v44);
	STR* v45;
	STRLIT(v45, ";", 1);
	struct mirth_mirth_zaMirth* v46;
	struct mirth_c99_zaC99* v47;
	mw_mirth_c99_zaC99_put(v43, v44, v45, &v46, &v47);
	struct mirth_mirth_zaMirth* v48;
	struct mirth_c99_zaC99* v49;
	mw_mirth_c99_zaC99_line(v46, v47, &v48, &v49);
	v49->mputzeenabled = v25;
	branch_zaC99Branch_16->mzac99 = v49;
	*out_zaC99Value_8 = v41;
	*out_zaC99Branch_7 = branch_zaC99Branch_16;
	*out_zaMirth_6 = v48;
	*out_zaC99Value_5 = branch_zaC99Value_11;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r9, -0x70(%rbp)
movl %ecx, -0x2c(%rbp)
movq %rdx, -0x38(%rbp)
movq %rdi, -0x58(%rbp)
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq %r8, %r12
andq %r13, %r12
setne %al
movq %r8, -0x40(%rbp)
testb $0x3, %r8b
sete %r15b
andb %al, %r15b
cmpb $0x1, %r15b
jne 0xd9687
incl (%r12)
leaq -0x60(%rbp), %rcx
movq %rsi, %rdi
movl -0x2c(%rbp), %esi
movq -0x40(%rbp), %rdx
callq 0xa717f
movl %eax, %r14d
testb %al, %al
je 0xd96d2
movq -0x38(%rbp), %rbx
movq (%rbx), %rsi
movq -0x60(%rbp), %rdi
leaq -0x68(%rbp), %rdx
leaq -0x48(%rbp), %rcx
callq 0xaf29a
movq %rbx, %rcx
movq %rax, %rbx
leaq -0x48(%rbp), %rax
movq (%rax), %rsi
movq %rsi, (%rcx)
leaq -0x68(%rbp), %rax
movq (%rax), %rdi
jmp 0xd971e
movq 0x103fcbf(%rip), %rbx   # 0x1119398
testq %rbx, %rbx
jne 0xd96fe
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rbx
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x103fc9a(%rip)   # 0x1119398
movq %rbx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0xd9713
incl (%rax)
movq -0x60(%rbp), %rdi
movq -0x38(%rbp), %rcx
movq (%rcx), %rsi
xorl %eax, %eax
testb %r14b, 0x28(%rcx)
movl 0x18(%rsi), %ecx
movl %ecx, -0x4c(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
leaq -0x48(%rbp), %rdx
leaq -0xd0(%rbp), %rcx
callq 0x93675
testb %r15b, %r15b
je 0xd9749
incl (%r12)
movq -0x48(%rbp), %rdi
leaq -0xe8(%rbp), %r14
movl -0x2c(%rbp), %esi
movq -0x40(%rbp), %rdx
movq %r14, %rcx
callq 0xa59d1
movq (%r14), %rdi
movq -0xd0(%rbp), %rsi
leaq -0xc8(%rbp), %rcx
leaq -0xc0(%rbp), %r8
movq %rax, %rdx
callq 0x9221b
movq 0x103fc16(%rip), %rdx   # 0x11193a0
testq %rdx, %rdx
jne 0xd97af
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x103fbf1(%rip)   # 0x11193a0
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xd97c6
incl (%rax)
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
leaq -0xb8(%rbp), %rcx
leaq -0xb0(%rbp), %r8
callq 0x9221b
movq %rbx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0xd97fc
incl (%rax)
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xa8(%rbp), %rcx
leaq -0xa0(%rbp), %r8
movq %rbx, %rdx
callq 0x9221b
movq 0x103fb81(%rip), %rdx   # 0x11193a8
testq %rdx, %rdx
jne 0xd9852
movl $0x3, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x3, 0x10(%rax)
movw $0x3d20, 0x18(%rax)     # imm = 0x3D20
movb $0x20, 0x1a(%rax)
movq %rax, 0x103fb56(%rip)   # 0x11193a8
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xd9869
incl (%rax)
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
leaq -0x98(%rbp), %rcx
leaq -0x90(%rbp), %r8
callq 0x9221b
leaq -0x88(%rbp), %rcx
movl -0x2c(%rbp), %edi
movq -0x40(%rbp), %rsi
movq %rbx, %rdx
callq 0xae5e3
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rdx
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xd98bf
incl (%rax)
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
leaq -0x80(%rbp), %rcx
leaq -0x78(%rbp), %r8
callq 0x9221b
movq 0x103facf(%rip), %rdx   # 0x11193b0
testq %rdx, %rdx
jne 0xd9906
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x3b, 0x18(%rax)
movq %rax, 0x103faaa(%rip)   # 0x11193b0
andq %rdx, %r13
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xd991a
incl (%r13)
movq 0x20(%rbp), %r13
movq 0x18(%rbp), %r12
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0xe0(%rbp), %rbx
leaq -0xd8(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x9221b
movq (%rbx), %r15
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xd996c
movq 0x28(%r14), %rsi
leaq -0x68(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x92a13
movq (%rbx), %rax
movq %rax, 0x28(%r14)
movl -0x4c(%rbp), %eax
movb %al, 0x18(%r14)
movq -0x38(%rbp), %rcx
movq %r14, (%rcx)
movq -0x88(%rbp), %rax
movq %rax, (%r13)
movq %rcx, (%r12)
movq 0x10(%rbp), %rax
movq %r15, (%rax)
movq -0x70(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, (%rax)
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq