// File: /workspace/github_c_makefile_star2_O1/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 %rdi, %r13
cmpq $0x0, 0x105e63d(%rip)   # 0x111c218
jne 0xbdbfa
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x105e61e(%rip)   # 0x111c218
movabsq $0xfffffffffffc, %r15   # imm = 0xFFFFFFFFFFFC
movq 0x105e60d(%rip), %r12   # 0x111c218
movq %r12, %rax
andq %r15, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xbdc21
incl (%rax)
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 %r13, %rdi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x95d84
movq (%rbx), %rdi
leaq -0xb8(%rbp), %rbx
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
callq 0xa85ed
movq (%rbx), %rdi
movq (%r14), %rsi
leaq -0xa0(%rbp), %rcx
leaq -0x98(%rbp), %r8
movq %rax, %rdx
callq 0x94972
cmpq $0x0, 0x105e598(%rip)   # 0x111c220
jne 0xbdca7
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x20, 0x18(%rax)
movq %rax, 0x105e579(%rip)   # 0x111c220
movq 0x105e572(%rip), %rdx   # 0x111c220
movq %rdx, %rax
andq %r15, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbdcc5
incl (%rax)
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
leaq -0x90(%rbp), %rcx
leaq -0x88(%rbp), %r8
callq 0x94972
movq %r12, %rax
andq %r15, %rax
sete %cl
testb $0x3, %r12b
setne %dl
orb %cl, %dl
jne 0xbdcfc
incl (%rax)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
leaq -0x80(%rbp), %rcx
leaq -0x78(%rbp), %r8
movq %r12, %rdx
callq 0x94972
cmpq $0x0, 0x105e506(%rip)   # 0x111c228
jne 0xbdd47
movl $0x3, %edi
callq 0xf9f7
movq $0x3, 0x10(%rax)
movw $0x3d20, 0x18(%rax)     # imm = 0x3D20
movb $0x20, 0x1a(%rax)
movq %rax, 0x105e4e1(%rip)   # 0x111c228
movq 0x105e4da(%rip), %rdx   # 0x111c228
movq %rdx, %rax
andq %r15, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbdd65
incl (%rax)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x70(%rbp), %rcx
leaq -0x68(%rbp), %r8
callq 0x94972
leaq -0x60(%rbp), %rcx
xorl %edi, %edi
xorl %esi, %esi
movq %r12, %rdx
callq 0xb1525
cmpq $0x0, 0x105e49e(%rip)   # 0x111c230
jne 0xbddb1
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x30, 0x18(%rax)
movq %rax, 0x105e47f(%rip)   # 0x111c230
movq 0x105e478(%rip), %rdx   # 0x111c230
movq %rdx, %rax
andq %r15, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0xbddcf
incl (%rax)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0x58(%rbp), %rcx
leaq -0x50(%rbp), %r8
callq 0x94972
cmpq $0x0, 0x105e44c(%rip)   # 0x111c238
jne 0xbde0b
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x3b, 0x18(%rax)
movq %rax, 0x105e42d(%rip)   # 0x111c238
movq 0x105e426(%rip), %rdx   # 0x111c238
andq %rdx, %r15
sete %al
testb $0x3, %dl
setne %cl
orb %al, %cl
jne 0xbde25
incl (%r15)
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0xb0(%rbp), %rbx
leaq -0xa8(%rbp), %r14
movq %rbx, %rcx
movq %r14, %r8
callq 0x94972
movq (%rbx), %r15
movq (%r14), %r14
cmpb $0x1, 0x18(%r14)
jne 0xbde72
movq 0x28(%r14), %rsi
leaq -0xd8(%rbp), %rbx
movl $0xa, %edi
movq %rbx, %rdx
callq 0x95160
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 0xb158c
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