// File: /workspace/github_c_makefile_star2_O0/mijallen[P]SimpleHTTPServer/lib/libyaml/src/emitter.c
// Function: yaml_emitter_write_indent
static int
yaml_emitter_write_indent(yaml_emitter_t *emitter)
{
    int indent = (emitter->indent >= 0) ? emitter->indent : 0;

    if (!emitter->indention || emitter->column > indent
            || (emitter->column == indent && !emitter->whitespace)) {
        if (!PUT_BREAK(emitter)) return 0;
    }

    while (emitter->column < indent) {
        if (!PUT(emitter, ' ')) return 0;
    }

    emitter->whitespace = 1;
    emitter->indention = 1;

    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x100(%rax)
jl 0x21408
movq -0x10(%rbp), %rax
movl 0x100(%rax), %eax
movl %eax, -0x18(%rbp)
jmp 0x2140f
xorl %eax, %eax
movl %eax, -0x18(%rbp)
jmp 0x2140f
movl -0x18(%rbp), %eax
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x124(%rax)
je 0x21455
movq -0x10(%rbp), %rax
movl 0x11c(%rax), %eax
cmpl -0x14(%rbp), %eax
jg 0x21455
movq -0x10(%rbp), %rax
movl 0x11c(%rax), %eax
cmpl -0x14(%rbp), %eax
jne 0x2155a
movq -0x10(%rbp), %rax
cmpl $0x0, 0x120(%rax)
jne 0x2155a
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
addq $0x5, %rax
movq -0x10(%rbp), %rcx
cmpq 0x40(%rcx), %rax
jb 0x2147d
movq -0x10(%rbp), %rdi
callq 0x21a0
cmpl $0x0, %eax
je 0x2154c
movq -0x10(%rbp), %rax
cmpl $0x1, 0x8c(%rax)
jne 0x214a5
movq -0x10(%rbp), %rcx
movq 0x48(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x48(%rcx)
movb $0xd, (%rax)
jmp 0x21525
movq -0x10(%rbp), %rax
cmpl $0x2, 0x8c(%rax)
jne 0x214d2
movq -0x10(%rbp), %rcx
movq 0x48(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x48(%rcx)
movb $0xa, (%rax)
movl $0xa, %eax
movl %eax, -0x1c(%rbp)
jmp 0x21522
movq -0x10(%rbp), %rax
cmpl $0x3, 0x8c(%rax)
jne 0x21515
movq -0x10(%rbp), %rcx
movq 0x48(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x48(%rcx)
movb $0xd, (%rax)
movq -0x10(%rbp), %rcx
movq 0x48(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x48(%rcx)
movb $0xa, (%rax)
movl $0xa, %eax
movl %eax, -0x20(%rbp)
jmp 0x2151c
xorl %eax, %eax
movl %eax, -0x20(%rbp)
jmp 0x2151c
movl -0x20(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rax
movl $0x0, 0x11c(%rax)
movq -0x10(%rbp), %rax
movl 0x118(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x118(%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x21558
movl $0x0, -0x4(%rbp)
jmp 0x215ec
jmp 0x2155a
jmp 0x2155c
movq -0x10(%rbp), %rax
movl 0x11c(%rax), %eax
cmpl -0x14(%rbp), %eax
jge 0x215c9
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
addq $0x5, %rax
movq -0x10(%rbp), %rcx
cmpq 0x40(%rcx), %rax
jb 0x2158f
movq -0x10(%rbp), %rdi
callq 0x21a0
cmpl $0x0, %eax
je 0x215be
movq -0x10(%rbp), %rcx
movq 0x48(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x48(%rcx)
movb $0x20, (%rax)
movq -0x10(%rbp), %rax
movl 0x11c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x11c(%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x215c7
movl $0x0, -0x4(%rbp)
jmp 0x215ec
jmp 0x2155c
movq -0x10(%rbp), %rax
movl $0x1, 0x120(%rax)
movq -0x10(%rbp), %rax
movl $0x1, 0x124(%rax)
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)