// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99ReprType_pushzeresourcezeexpressionzx_1_sp2
static void mw_mirth_c99_C99ReprType_pushzeresourcezeexpressionzx_1_sp2 (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99Branch* in_zaC99Branch_2, struct mirth_c99_C99ReprType in_C99ReprType_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, struct mirth_c99_zaC99Branch* *out_zaC99Branch_5) {
	incref(MK_mirth_c99_C99ReprType(in_C99ReprType_3));
	struct mirth_mirth_zaMirth* v6;
	bool v7 = mw_mirth_c99_C99ReprType_iszephysicalzy(in_zaMirth_1, in_C99ReprType_3, &v6);
	struct mirth_c99_C99ReprType branch_C99ReprType_8;
	bool branch_Bool_9;
	struct mirth_mirth_zaMirth* branch_zaMirth_10;
	STR* branch_Str_11;
	struct mirth_c99_zaC99Branch* branch_zaC99Branch_12;
	if (v7) {
		struct mirth_c99_zaC99* r13 = in_zaC99Branch_2->mzac99;
		struct mirth_mirth_zaMirth* v14;
		struct mirth_c99_zaC99* v15;
		STR* v16 = mw_mirth_c99_zaC99_freshzeresourcezenamezx(v6, r13, &v14, &v15);
		in_zaC99Branch_2->mzac99 = v15;
		branch_zaC99Branch_12 = in_zaC99Branch_2;
		branch_Str_11 = v16;
		branch_zaMirth_10 = v14;
		branch_Bool_9 = v7;
		branch_C99ReprType_8 = in_C99ReprType_3;
	} else {
		STR* v17;
		STRLIT(v17, "0", 1);
		branch_zaC99Branch_12 = in_zaC99Branch_2;
		branch_Str_11 = v17;
		branch_zaMirth_10 = v6;
		branch_Bool_9 = v7;
		branch_C99ReprType_8 = in_C99ReprType_3;
	}
	bool v18 = branch_zaC99Branch_12->mreachable;
	bool v19 = (branch_Bool_9 && v18);
	struct mirth_c99_zaC99* r20 = branch_zaC99Branch_12->mzac99;
	bool v21 = r20->mputzeenabled;
	bool v22 = (v19 && v21);
	r20->mputzeenabled = v22;
	struct mirth_mirth_zaMirth* v23;
	struct mirth_c99_zaC99* v24;
	mw_mirth_c99_zaC99_indent(branch_zaMirth_10, r20, &v23, &v24);
	incref(MK_mirth_c99_C99ReprType(branch_C99ReprType_8));
	struct mirth_mirth_zaMirth* v25;
	STR* v26 = mw_mirth_c99_C99ReprType_underlyingzec99zetype(v23, branch_C99ReprType_8, &v25);
	struct mirth_mirth_zaMirth* v27;
	struct mirth_c99_zaC99* v28;
	mw_mirth_c99_zaC99_put(v25, v24, v26, &v27, &v28);
	STR* v29;
	STRLIT(v29, " ", 1);
	struct mirth_mirth_zaMirth* v30;
	struct mirth_c99_zaC99* v31;
	mw_mirth_c99_zaC99_put(v27, v28, v29, &v30, &v31);
	incref(MKSTR(branch_Str_11));
	struct mirth_mirth_zaMirth* v32;
	struct mirth_c99_zaC99* v33;
	mw_mirth_c99_zaC99_put(v30, v31, branch_Str_11, &v32, &v33);
	STR* v34;
	STRLIT(v34, " = ", 3);
	struct mirth_mirth_zaMirth* v35;
	struct mirth_c99_zaC99* v36;
	mw_mirth_c99_zaC99_put(v32, v33, v34, &v35, &v36);
	struct mirth_c99_zaC99Resource* v37;
	mtw_mirth_c99_zaC99Resource_zaC99Resource(branch_C99ReprType_8, branch_Str_11, &v37);
	STR* v38;
	STRLIT(v38, "0", 1);
	struct mirth_mirth_zaMirth* v39;
	struct mirth_c99_zaC99* v40;
	mw_mirth_c99_zaC99_put(v35, v36, v38, &v39, &v40);
	STR* v41;
	STRLIT(v41, ";", 1);
	struct mirth_mirth_zaMirth* v42;
	struct mirth_c99_zaC99* v43;
	mw_mirth_c99_zaC99_put(v39, v40, v41, &v42, &v43);
	struct mirth_mirth_zaMirth* v44;
	struct mirth_c99_zaC99* v45;
	mw_mirth_c99_zaC99_line(v42, v43, &v44, &v45);
	v45->mputzeenabled = v21;
	branch_zaC99Branch_12->mzac99 = v45;
	struct mirth_mirth_zaMirth* v46;
	struct mirth_c99_zaC99Branch* v47;
	mw_mirth_c99_zaC99Resource_pushzeresourcezx(v44, branch_zaC99Branch_12, v37, &v46, &v47);
	*out_zaC99Branch_5 = v47;
	*out_zaMirth_4 = v46;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rcx, -0x40(%rbp)
movq %rdx, -0x48(%rbp)
movq %rsi, %rbx
movq 0x105ee05(%rip), %r12   # 0x110f220
testq %r12, %r12
jne 0xb043f
movq %rdi, %r14
leaq 0x3e14b(%rip), %rdi     # 0xee575
pushq $0x1
popq %rsi
callq 0x8a21
movq %r14, %rdi
movq %rax, %r12
movq %rax, 0x105ede1(%rip)   # 0x110f220
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
movq %r12, %r15
andq %rax, %r15
setne %al
testb $0x3, %r12b
sete %r13b
andb %al, %r13b
cmpb $0x1, %r13b
jne 0xb0466
incl (%r15)
movq %rbx, -0x38(%rbp)
movq (%rbx), %rsi
movb 0x18(%rsi), %al
movb %al, -0x29(%rbp)
movb $0x0, 0x18(%rsi)
leaq -0xe8(%rbp), %rbx
leaq -0xe0(%rbp), %r14
movq %rbx, %rdx
movq %r14, %rcx
callq 0x8bc28
movq (%rbx), %rdi
leaq -0xd8(%rbp), %rbx
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x9c7be
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0xa0(%rbp), %rcx
leaq -0x98(%rbp), %r8
movq %rax, %rdx
callq 0x8a8a9
movq 0x105ed5f(%rip), %rdx   # 0x110f228
testq %rdx, %rdx
jne 0xb04e7
leaq 0x25932(%rip), %rdi     # 0xd5e07
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105ed41(%rip)   # 0x110f228
movq %rdx, %rax
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb0508
incl (%rax)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0x90(%rbp), %rcx
leaq -0x88(%rbp), %r8
callq 0x8a8a9
testb %r13b, %r13b
je 0xb0531
incl (%r15)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
leaq -0x80(%rbp), %rcx
leaq -0x78(%rbp), %r8
movq %r12, %rdx
callq 0x8a8a9
movq 0x105ecda(%rip), %rdx   # 0x110f230
testq %rdx, %rdx
jne 0xb0574
leaq 0x2c17a(%rip), %rdi     # 0xdc6dc
pushq $0x3
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105ecbc(%rip)   # 0x110f230
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb058b
incl (%rax)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
callq 0x8a8a9
leaq -0x60(%rbp), %rcx
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
callq 0xa4c8e
movq 0x105ec81(%rip), %rdx   # 0x110f238
testq %rdx, %rdx
jne 0xb05d5
leaq 0x3dfb2(%rip), %rdi     # 0xee575
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105ec63(%rip)   # 0x110f238
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xb05ec
incl (%rax)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0x58(%rbp), %rcx
leaq -0x50(%rbp), %r8
callq 0x8a8a9
movq 0x105ec38(%rip), %rdx   # 0x110f240
testq %rdx, %rdx
jne 0xb0626
leaq 0x3daf9(%rip), %rdi     # 0xee10d
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x105ec1a(%rip)   # 0x110f240
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xb0638
incl (%rbx)
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0xd0(%rbp), %rbx
leaq -0xc8(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x8a8a9
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0xc0(%rbp), %rbx
leaq -0xb8(%rbp), %r14
movq %rbx, %rdx
movq %r14, %rcx
callq 0x8a92c
movq (%r14), %rax
movb -0x29(%rbp), %cl
movb %cl, 0x18(%rax)
movq -0x38(%rbp), %rsi
movq %rax, (%rsi)
movq (%rbx), %rdi
movq -0x60(%rbp), %rdx
leaq -0xb0(%rbp), %rbx
leaq -0xa8(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0xa4ab9
movq (%r14), %rax
movq -0x40(%rbp), %rcx
movq %rax, (%rcx)
movq (%rbx), %rax
movq -0x48(%rbp), %rcx
movq %rax, (%rcx)
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq