// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_zaC99_indent
static void mw_mirth_c99_zaC99_indent (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_zaC99* in_zaC99_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_c99_zaC99* *out_zaC99_4) {
	INT v5 = in_zaC99_2->mdepth;
	incref(MKNAT(v5));
	incref(MKNAT(v5));
	INT v6 = WRAP_I63(0LL);
	INT v7 = v5;
	INT v8 = v6;
	bool v9 = int_lt(v8, v7);
	struct mirth_mirth_zaMirth* r10 = in_zaMirth_1;
	struct mirth_c99_zaC99* r11 = in_zaC99_2;
	INT v12 = v5;
	bool v13 = v9;
	while (v13) {
		struct mirth_mirth_zaMirth* r14 = r10;
		struct mirth_c99_zaC99* r15 = r11;
		INT v16 = v12;
		STR* v17;
		STRLIT(v17, "\t", 1);
		struct mirth_mirth_zaMirth* v18;
		struct mirth_c99_zaC99* v19;
		mw_mirth_c99_zaC99_put(r14, r15, v17, &v18, &v19);
		INT v20 = WRAP_I63(1LL);
		INT v21 = v16;
		INT v22 = v20;
		INT v23 = int_sub(v21, v22);
		incref(MKINT(v23));
		INT v24 = WRAP_I63(0LL);
		INT v25 = v24;
		bool v26 = int_le(v25, v23);
		INT branch_Nat_27;
		if (v26) {
			INT v28 = v23;
			branch_Nat_27 = v28;
		} else {
			decref(MKINT(v23));
			INT v29 = WRAP_I63(0LL);
			branch_Nat_27 = v29;
		}
		incref(MKNAT(branch_Nat_27));
		INT v30 = WRAP_I63(0LL);
		INT v31 = branch_Nat_27;
		INT v32 = v30;
		bool v33 = int_lt(v32, v31);
		v13 = v33;
		v12 = branch_Nat_27;
		r11 = v19;
		r10 = v18;
	}
	decref(MKNAT(v12));
	*out_zaC99_4 = r11;
	*out_zaMirth_3 = r10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq %rsi, %r14
movq %rdi, %r15
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
movq 0x8(%rsi), %r13
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x8bc6c
addl $0x2, (%rax)
pushq $0x1
popq %rdi
movq %r13, %rsi
callq 0x89cc
testb $0x1, %al
je 0x8bd56
movq 0x1081e5a(%rip), %rdx   # 0x110dae0
testq %rdx, %rdx
jne 0x8bca4
leaq 0x50a62(%rip), %rdi     # 0xdc6f4
pushq $0x1
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x1081e3c(%rip)   # 0x110dae0
movq %rdx, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x8bcbb
incl (%rax)
movq %r15, %rdi
movq %r14, %rsi
leaq -0x48(%rbp), %rcx
leaq -0x40(%rbp), %r8
callq 0x8a8a9
movq %r13, %rdi
pushq $0x3
popq %rsi
callq 0xe191
movq %rax, %r14
movq %rax, %r15
andq %rbx, %r15
sete %al
testb $0x3, %r14b
setne %r12b
orb %al, %r12b
jne 0x8bcf5
incl (%r15)
pushq $0x1
popq %rdi
movq %r14, %rsi
callq 0xdfd4
movq %r14, %r13
testb %al, %al
jne 0x8bd0b
pushq $0x1
popq %r13
orb %al, %r12b
jne 0x8bd28
decl (%r15)
pushq $0x1
popq %r13
jne 0x8bd28
movq %r14, %rdi
leaq 0x7c706(%rip), %rsi     # 0x108429
callq 0xce94
movq %r13, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r13b
setne %dl
orb %cl, %dl
jne 0x8bd3e
incl (%rax)
pushq $0x1
popq %rdi
movq %r13, %rsi
callq 0x89cc
movq -0x40(%rbp), %r14
movq -0x48(%rbp), %r15
jmp 0x8bc77
andq %r13, %rbx
sete %al
testb $0x3, %r13b
setne %cl
orb %al, %cl
jne 0x8bd7a
decl (%rbx)
jne 0x8bd7a
movq %r13, %rdi
leaq 0x7c39c(%rip), %rsi     # 0x108111
callq 0xce94
movq -0x30(%rbp), %rax
movq %r14, (%rax)
movq -0x38(%rbp), %rax
movq %r15, (%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq