// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99Value_keepzevaluezx
static void mw_mirth_c99_zaC99Value_keepzevaluezx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_zaC99Value* in_zaC99Value_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5, struct mirth_c99_zaC99Value* *out_zaC99Value_6) {
	struct mirth_c99_C99ReprType v7 = in_zaC99Value_3->mvaluezerepr;
	incref(MK_mirth_c99_C99ReprType(v7));
	struct mirth_mirth_zaMirth* v8;
	bool v9 = mw_mirth_c99_C99ReprType_needszerefcountingzy(in_zaMirth_1, v7, &v8);
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_10;
	struct mirth_c99_zaC99Value* branch_zaC99Value_11;
	struct mirth_mirth_zaMirth* branch_zaMirth_12;
	if (v9) {
		STR* v13 = in_zaC99Value_3->mvaluezename;
		incref(MKSTR(v13));
		struct mirth_c99_C99ReprType v14 = in_zaC99Value_3->mvaluezerepr;
		incref(MK_mirth_c99_C99ReprType(v14));
		struct mirth_mirth_zaMirth* v15;
		STR* v16 = mw_mirth_c99_C99ReprType_mkzemacro(v8, v13, v14, &v15);
		struct mirth_c99_zaC99* r17 = in_zaC99Branch_2->mzac99;
		struct mirth_mirth_zaMirth* v18;
		struct mirth_c99_zaC99* v19;
		mw_mirth_c99_zaC99_indent(v15, r17, &v18, &v19);
		STR* v20;
		STRLIT(v20, "incref(", 7);
		struct mirth_mirth_zaMirth* v21;
		struct mirth_c99_zaC99* v22;
		mw_mirth_c99_zaC99_put(v18, v19, v20, &v21, &v22);
		struct mirth_mirth_zaMirth* v23;
		struct mirth_c99_zaC99* v24;
		mw_mirth_c99_zaC99_put(v21, v22, v16, &v23, &v24);
		STR* v25;
		STRLIT(v25, ");", 2);
		struct mirth_mirth_zaMirth* v26;
		struct mirth_c99_zaC99* v27;
		mw_mirth_c99_zaC99_put(v23, v24, v25, &v26, &v27);
		struct mirth_mirth_zaMirth* v28;
		struct mirth_c99_zaC99* v29;
		mw_mirth_c99_zaC99_line(v26, v27, &v28, &v29);
		in_zaC99Branch_2->mzac99 = v29;
		branch_zaMirth_12 = v28;
		branch_zaC99Value_11 = in_zaC99Value_3;
		branch_zaC99Branch_10 = in_zaC99Branch_2;
	} else {
		branch_zaMirth_12 = v8;
		branch_zaC99Value_11 = in_zaC99Value_3;
		branch_zaC99Branch_10 = in_zaC99Branch_2;
	}
	*out_zaC99Value_6 = branch_zaC99Value_11;
	*out_zaC99Branch_5 = branch_zaC99Branch_10;
	*out_zaMirth_4 = branch_zaMirth_12;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, -0x50(%rbp)
movq %r8, %r15
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %r12
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movl (%rdx), %esi
movq 0x8(%rdx), %rdx
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %r8b
orb %cl, %r8b
jne 0xccdc1
incl (%rax)
leaq -0x30(%rbp), %rcx
callq 0x97ccc
testb %al, %al
je 0xccf38
movq 0x10(%r13), %rsi
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0xccdec
incl (%rax)
movq %r14, -0x48(%rbp)
movl (%r13), %edx
movq 0x8(%r13), %rcx
movq %rcx, %rax
andq %rbx, %rax
sete %dil
testb $0x3, %cl
setne %r8b
orb %dil, %r8b
jne 0xcce10
incl (%rax)
movq -0x30(%rbp), %rdi
leaq -0xa8(%rbp), %r14
movq %r14, %r8
callq 0x9cdcd
movq %rax, -0x38(%rbp)
movq (%r12), %rsi
movq (%r14), %rdi
leaq -0x70(%rbp), %rdx
leaq -0x68(%rbp), %rcx
callq 0x8bc28
movq 0x10434ee(%rip), %rdx   # 0x1110330
testq %rdx, %rdx
jne 0xcce60
leaq 0x20a82(%rip), %rdi     # 0xed8d0
pushq $0x7
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x10434d0(%rip)   # 0x1110330
movq %r15, -0x40(%rbp)
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xcce7b
incl (%rax)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0xa0(%rbp), %r14
leaq -0x98(%rbp), %r15
movq %r14, %rcx
movq %r15, %r8
callq 0x8a8a9
movq (%r14), %rdi
movq (%r15), %rsi
leaq -0x60(%rbp), %rcx
leaq -0x58(%rbp), %r8
movq -0x38(%rbp), %rdx
callq 0x8a8a9
movq 0x104347e(%rip), %rdx   # 0x1110338
testq %rdx, %rdx
jne 0xcced8
leaq 0x21246(%rip), %rdi     # 0xee10c
pushq $0x2
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1043460(%rip)   # 0x1110338
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
movq -0x40(%rbp), %r15
jne 0xcceee
incl (%rbx)
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x90(%rbp), %rbx
leaq -0x88(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x8a8a9
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0x80(%rbp), %rbx
leaq -0x78(%rbp), %r14
movq %rbx, %rdx
movq %r14, %rcx
callq 0x8a92c
movq (%r14), %rax
movq %rax, (%r12)
movq (%rbx), %rax
movq -0x48(%rbp), %r14
jmp 0xccf3c
movq -0x30(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %r13, (%rcx)
movq %r12, (%r15)
movq %rax, (%r14)
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq