// File: /workspace/github_c_makefile_star2_O1/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, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x95dc8
addl $0x2, (%rax)
movl $0x1, %edi
movq %r15, %rsi
callq 0xec04
testl %eax, %eax
jns 0x95ec9
cmpq $0x0, 0x1084cf3(%rip)   # 0x111aad8
jne 0x95e04
movl $0x1, %edi
callq 0xf9f7
movq $0x1, 0x10(%rax)
movb $0x9, 0x18(%rax)
movq %rax, 0x1084cd4(%rip)   # 0x111aad8
movq 0x1084ccd(%rip), %rdx   # 0x111aad8
movq %rdx, %rax
andq %r13, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x95e22
incl (%rax)
movq %r14, %rdi
movq %rbx, %rsi
leaq -0x48(%rbp), %rcx
leaq -0x40(%rbp), %r8
callq 0x94972
movl $0x3, %esi
movq %r15, %rdi
callq 0xedca
movq %rax, %rbx
movq %rax, %r14
andq %r13, %r14
sete %al
testb $0x3, %bl
setne %r12b
orb %al, %r12b
jne 0x95e5d
incl (%r14)
movl $0x1, %edi
movq %rbx, %rsi
callq 0xec04
movq %rbx, %r15
testl %eax, %eax
setle %al
jle 0x95e7a
movl $0x1, %r15d
orb %al, %r12b
jne 0x95e99
decl (%r14)
movl $0x1, %r15d
jne 0x95e99
movq %rbx, %rdi
leaq 0x7f595(%rip), %rsi     # 0x115429
callq 0xd4e3
movq %r15, %rax
andq %r13, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x95eaf
incl (%rax)
movl $0x1, %edi
movq %r15, %rsi
callq 0xec04
movq -0x40(%rbp), %rbx
movq -0x48(%rbp), %r14
jmp 0x95dd5
andq %r15, %r13
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x95eef
decl (%r13)
jne 0x95eef
leaq 0x7f22a(%rip), %rsi     # 0x115111
movq %r15, %rdi
callq 0xd4e3
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