// File: /workspace/github_c_makefile_star2_O3/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, %rbx
movq %rdi, %r14
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
movq 0x8(%rsi), %r15
movq %r15, %r12
andq %r13, %r12
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x936bb
addl $0x2, (%r12)
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
testl %eax, %eax
jns 0x937c4
leaq -0x40(%rbp), %r12
movq 0x10833fd(%rip), %rdx   # 0x1116ad8
testq %rdx, %rdx
jne 0x93700
movl $0x1, %edi
callq 0xf5e4
movq %rax, %rdx
movq $0x1, 0x10(%rax)
movb $0x9, 0x18(%rax)
movq %rax, 0x10833d8(%rip)   # 0x1116ad8
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x93717
incl (%rax)
movq %r14, %rdi
movq %rbx, %rsi
leaq -0x48(%rbp), %rcx
movq %r12, %r8
callq 0x9221b
movl $0x3, %esi
movq %r15, %rdi
callq 0xe9fc
movq %rax, %rbx
movq %rax, %r14
andq %r13, %r14
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x93781
incl (%r14)
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
movl (%r14), %ecx
testl %eax, %eax
jle 0x93799
movl $0x1, %r15d
decl %ecx
movl %ecx, (%r14)
jne 0x937a1
movq %rbx, %rdi
leaq 0x7dcaf(%rip), %rsi     # 0x111429
callq 0xd13d
jmp 0x937a1
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
testl %eax, %eax
jle 0x9379e
movl $0x1, %ebx
jmp 0x9379e
incl %ecx
movl %ecx, (%r14)
movq %rbx, %r15
movl $0x1, %edi
movq %r15, %rsi
callq 0xe83a
movq -0x40(%rbp), %rbx
movq -0x48(%rbp), %r14
testl %eax, %eax
js 0x936d4
andq %r15, %r13
movq %r13, %r12
testq %r12, %r12
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x937ea
decl (%r12)
jne 0x937ea
leaq 0x7d92f(%rip), %rsi     # 0x111111
movq %r15, %rdi
callq 0xd13d
movq -0x30(%rbp), %rax
movq %rbx, (%rax)
movq -0x38(%rbp), %rax
movq %r14, (%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq