// File: /workspace/github_c_makefile_star2_O1/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99ReprType_valuezeexpressionzx_1_sp12
static void mw_mirth_c99_C99ReprType_valuezeexpressionzx_1_sp12 (STR* in_Str_1, struct mirth_c99_C99ReprType in_C99ReprType_2, struct mirth_mirth_zaMirth* in_zaMirth_3, struct mirth_c99_zaC99Branch* in_zaC99Branch_4, struct mirth_c99_C99ReprType in_C99ReprType_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_5));
	struct mirth_mirth_zaMirth* v9;
	bool v10 = mw_mirth_c99_C99ReprType_iszephysicalzy(in_zaMirth_3, in_C99ReprType_5, &v9);
	STR* branch_Str_11;
	struct mirth_c99_C99ReprType branch_C99ReprType_12;
	struct mirth_c99_C99ReprType branch_C99ReprType_13;
	bool branch_Bool_14;
	struct mirth_mirth_zaMirth* branch_zaMirth_15;
	STR* branch_Str_16;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_17;
	if (v10) {
		struct mirth_c99_zaC99* r18 = in_zaC99Branch_4->mzac99;
		struct mirth_mirth_zaMirth* v19;
		struct mirth_c99_zaC99* v20;
		STR* v21 = mw_mirth_c99_zaC99_freshzenamezx(v9, r18, &v19, &v20);
		in_zaC99Branch_4->mzac99 = v20;
		branch_zaC99Branch_17 = in_zaC99Branch_4;
		branch_Str_16 = v21;
		branch_zaMirth_15 = v19;
		branch_Bool_14 = v10;
		branch_C99ReprType_13 = in_C99ReprType_5;
		branch_C99ReprType_12 = in_C99ReprType_2;
		branch_Str_11 = in_Str_1;
	} else {
		STR* v22;
		STRLIT(v22, "0", 1);
		branch_zaC99Branch_17 = in_zaC99Branch_4;
		branch_Str_16 = v22;
		branch_zaMirth_15 = v9;
		branch_Bool_14 = v10;
		branch_C99ReprType_13 = in_C99ReprType_5;
		branch_C99ReprType_12 = in_C99ReprType_2;
		branch_Str_11 = in_Str_1;
	}
	bool v23 = branch_zaC99Branch_17->mreachable;
	bool v24 = (branch_Bool_14 && v23);
	struct mirth_c99_zaC99* r25 = branch_zaC99Branch_17->mzac99;
	bool v26 = r25->mputzeenabled;
	bool v27 = (v24 && v26);
	r25->mputzeenabled = v27;
	struct mirth_mirth_zaMirth* v28;
	struct mirth_c99_zaC99* v29;
	mw_mirth_c99_zaC99_indent(branch_zaMirth_15, r25, &v28, &v29);
	incref(MK_mirth_c99_C99ReprType(branch_C99ReprType_13));
	struct mirth_mirth_zaMirth* v30;
	STR* v31 = mw_mirth_c99_C99ReprType_underlyingzec99zetype(v28, branch_C99ReprType_13, &v30);
	struct mirth_mirth_zaMirth* v32;
	struct mirth_c99_zaC99* v33;
	mw_mirth_c99_zaC99_put(v30, v29, v31, &v32, &v33);
	STR* v34;
	STRLIT(v34, " ", 1);
	struct mirth_mirth_zaMirth* v35;
	struct mirth_c99_zaC99* v36;
	mw_mirth_c99_zaC99_put(v32, v33, v34, &v35, &v36);
	incref(MKSTR(branch_Str_16));
	struct mirth_mirth_zaMirth* v37;
	struct mirth_c99_zaC99* v38;
	mw_mirth_c99_zaC99_put(v35, v36, branch_Str_16, &v37, &v38);
	STR* v39;
	STRLIT(v39, " = ", 3);
	struct mirth_mirth_zaMirth* v40;
	struct mirth_c99_zaC99* v41;
	mw_mirth_c99_zaC99_put(v37, v38, v39, &v40, &v41);
	struct mirth_c99_zaC99Value* v42;
	mtw_mirth_c99_zaC99Value_zaC99Value(branch_C99ReprType_13, branch_Str_16, &v42);
	struct mirth_mirth_zaMirth* v43;
	struct mirth_c99_zaC99* v44;
	mw_mirth_c99_C99ReprType_vzemacro_1_sp4(branch_Str_11, branch_C99ReprType_12, v40, v41, &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 = v26;
	branch_zaC99Branch_17->mzac99 = v49;
	*out_zaC99Value_8 = v42;
	*out_zaC99Branch_7 = branch_zaC99Branch_17;
	*out_zaMirth_6 = v48;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r9, -0x70(%rbp)
movq %r8, %r14
movq %rdx, -0x68(%rbp)
movl %esi, -0x3c(%rbp)
movq %rdi, -0x60(%rbp)
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
movl 0x10(%rbp), %esi
movq 0x18(%rbp), %r15
movq %r15, %rax
andq %r12, %rax
sete %dl
testb $0x3, %r15b
setne %dil
orb %dl, %dil
jne 0xdf2ab
incl (%rax)
leaq -0x58(%rbp), %rax
movq %rcx, %rdi
movl %esi, -0x38(%rbp)
movq %r15, %rdx
movq %rax, %rcx
callq 0xa9de0
movl %eax, %r13d
testb %al, %al
movq %r14, -0x48(%rbp)
je 0xdf2fb
movq (%r14), %rsi
movq -0x58(%rbp), %rdi
leaq -0xc8(%rbp), %rbx
leaq -0x50(%rbp), %r14
movq %rbx, %rdx
movq %r14, %rcx
callq 0xb20c2
movq %rax, -0x30(%rbp)
movq (%r14), %rax
movq -0x48(%rbp), %r14
movq %rax, (%r14)
movq (%rbx), %rdi
jmp 0xdf346
cmpq $0x0, 0x103e20d(%rip)   # 0x111d510
jne 0xdf322
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x103e1ee(%rip)   # 0x111d510
movq 0x103e1e7(%rip), %rdx   # 0x111d510
movq %rdx, %rax
andq %r12, %rax
sete %cl
movq %rdx, -0x30(%rbp)
testb $0x3, %dl
setne %dl
orb %cl, %dl
jne 0xdf342
incl (%rax)
movq -0x58(%rbp), %rdi
movq (%r14), %rsi
xorl %eax, %eax
testb %r13b, 0x28(%r14)
movl 0x18(%rsi), %ecx
movl %ecx, -0x34(%rbp)
cmovnel %ecx, %eax
movb %al, 0x18(%rsi)
leaq -0x50(%rbp), %rdx
leaq -0xc0(%rbp), %rcx
callq 0x95d84
movq %r15, %rax
andq %r12, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0xdf381
incl (%rax)
movq -0x50(%rbp), %rdi
leaq -0xf0(%rbp), %rbx
movl -0x38(%rbp), %r13d
movl %r13d, %esi
movq %r15, %rdx
movq %rbx, %rcx
callq 0xa85ed
movq (%rbx), %rdi
movq -0xc0(%rbp), %rsi
leaq -0xb8(%rbp), %rcx
leaq -0xb0(%rbp), %r8
movq %rax, %rdx
callq 0x94972
cmpq $0x0, 0x103e152(%rip)   # 0x111d518
jne 0xdf3e5
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x103e133(%rip)   # 0x111d518
movq 0x103e12c(%rip), %rdx   # 0x111d518
movq %rdx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xdf403
incl (%rax)
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xa8(%rbp), %rcx
leaq -0xa0(%rbp), %r8
callq 0x94972
movq -0x30(%rbp), %rdx
movq %rdx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dl
setne %dl
orb %cl, %dl
jne 0xdf43d
incl (%rax)
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
leaq -0x98(%rbp), %rcx
leaq -0x90(%rbp), %r8
movq -0x30(%rbp), %rdx
callq 0x94972
cmpq $0x0, 0x103e0b6(%rip)   # 0x111d520
jne 0xdf48f
movl $0x3, %edi
callq 0xf9f7
movq $0x3, 0x10(%rax)
movw $0x3d20, 0x18(%rax)     # imm = 0x3D20
movb $0x20, 0x1a(%rax)
movq %rax, 0x103e091(%rip)   # 0x111d520
movq 0x103e08a(%rip), %rdx   # 0x111d520
movq %rdx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xdf4ad
incl (%rax)
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
leaq -0xe8(%rbp), %rbx
leaq -0xe0(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x94972
leaq -0x88(%rbp), %rcx
movl %r13d, %edi
movq %r15, %rsi
movq -0x30(%rbp), %rdx
callq 0xb13d2
movq (%rbx), %rcx
movq (%r14), %r8
leaq -0x78(%rbp), %rax
movq %rax, (%rsp)
leaq -0x80(%rbp), %r9
movq -0x60(%rbp), %rdi
movl -0x3c(%rbp), %esi
movq -0x68(%rbp), %rdx
callq 0xdf954
cmpq $0x0, 0x103e014(%rip)   # 0x111d528
jne 0xdf533
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x3b, 0x18(%rax)
movq %rax, 0x103dff5(%rip)   # 0x111d528
movq 0x103dfee(%rip), %rdx   # 0x111d528
andq %rdx, %r12
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xdf54e
incl (%r12)
movq 0x28(%rbp), %r12
movq 0x20(%rbp), %r15
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0xd8(%rbp), %rbx
leaq -0xd0(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x94972
movq (%rbx), %r13
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xdf5a3
movq 0x28(%r14), %rsi
leaq -0xc8(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x95160
movq (%rbx), %rax
movq %rax, 0x28(%r14)
movl -0x34(%rbp), %eax
movb %al, 0x18(%r14)
movq -0x48(%rbp), %rcx
movq %r14, (%rcx)
movq -0x88(%rbp), %rax
movq %rax, (%r12)
movq %rcx, (%r15)
movq -0x70(%rbp), %rax
movq %r13, (%rax)
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq