// File: /workspace/github_c_makefile_star2_O3/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 $0xb8, %rsp
movq %rcx, -0x40(%rbp)
movq %rdx, -0x48(%rbp)
movq %rsi, %rbx
movq 0x105d95f(%rip), %r12   # 0x1118218
testq %r12, %r12
jne 0xba8e4
movq %rdi, %r14
movl $0x1, %edi
callq 0xf5e4
movq %r14, %rdi
movq %rax, %r12
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x105d934(%rip)   # 0x1118218
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 0xba90b
incl (%r15)
movq %rbx, -0x38(%rbp)
movq (%rbx), %rsi
movb 0x18(%rsi), %al
movb %al, -0x29(%rbp)
movb $0x0, 0x18(%rsi)
leaq -0xc8(%rbp), %rbx
leaq -0xc0(%rbp), %r14
movq %rbx, %rdx
movq %r14, %rcx
callq 0x93675
movq (%rbx), %rdi
leaq -0xb8(%rbp), %rbx
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
callq 0xa59d1
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0xa0(%rbp), %rcx
leaq -0x98(%rbp), %r8
movq %rax, %rdx
callq 0x9221b
movq 0x105d8b2(%rip), %rdx   # 0x1118220
testq %rdx, %rdx
jne 0xba993
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x105d88d(%rip)   # 0x1118220
movq %rdx, %rax
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xba9b4
incl (%rax)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0x90(%rbp), %rcx
leaq -0x88(%rbp), %r8
callq 0x9221b
testb %r13b, %r13b
je 0xba9dd
incl (%r15)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
leaq -0x80(%rbp), %rcx
leaq -0x78(%rbp), %r8
movq %r12, %rdx
callq 0x9221b
movq 0x105d826(%rip), %rdx   # 0x1118228
testq %rdx, %rdx
jne 0xbaa2d
movl $0x3, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x3, 0x10(%rax)
movw $0x3d20, 0x18(%rax)     # imm = 0x3D20
movb $0x20, 0x1a(%rax)
movq %rax, 0x105d7fb(%rip)   # 0x1118228
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbaa44
incl (%rax)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
callq 0x9221b
leaq -0x60(%rbp), %rcx
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
callq 0xae736
movq 0x105d7c0(%rip), %rdx   # 0x1118230
testq %rdx, %rdx
jne 0xbaa95
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x105d79b(%rip)   # 0x1118230
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbaaac
incl (%rax)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0x58(%rbp), %rcx
leaq -0x50(%rbp), %r8
callq 0x9221b
movq 0x105d770(%rip), %rdx   # 0x1118238
testq %rdx, %rdx
jne 0xbaaed
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x3b, 0x18(%rax)
movq %rax, 0x105d74b(%rip)   # 0x1118238
andq %rdx, %rbx
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xbaaff
incl (%rbx)
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0xb0(%rbp), %rbx
leaq -0xa8(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x9221b
movq (%rbx), %r15
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xbab4c
movq 0x28(%r14), %rsi
leaq -0xd8(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x92a13
movq (%rbx), %rax
movq %rax, 0x28(%r14)
movb -0x29(%rbp), %al
movb %al, 0x18(%r14)
movq -0x38(%rbp), %r12
movq %r14, (%r12)
movq -0x60(%rbp), %rdx
movl 0x8(%r12), %edi
movq 0x10(%r12), %rsi
leaq -0xd8(%rbp), %rbx
movq %rbx, %rcx
callq 0xae79d
movups (%rbx), %xmm0
movups %xmm0, 0x8(%r12)
movq -0x40(%rbp), %rax
movq %r12, (%rax)
movq -0x48(%rbp), %rax
movq %r15, (%rax)
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq