// File: /workspace/github_c_makefile_star2_O1/justy989[P]ce/ce_json.c
// Function: obj_print
static void _obj_print(CeJsonObj_t* obj, char* string, PrintState_t* print_state, uint64_t current_indent,
                           uint64_t indent){
     char indentation[MAX_INDENTATION];
     _make_indentation(indentation, MAX_INDENTATION, current_indent);
     _print_state_update(print_state, snprintf(string + print_state->printed, print_state->remaining, "{\n"));
     // This is fine to wrap arround because we won't go into the loop.
     int64_t last_index = (obj->count - 1);
     for(int64_t i = 0; i < obj->count; i++){
          CeJsonField_t* field = obj->fields + i;
          _field_print(field, string, print_state, current_indent + indent, indent);
          if(i != last_index){
               _print_state_update(print_state, snprintf(string + print_state->printed, print_state->remaining, ",\n"));
          }else{
               _print_state_update(print_state, snprintf(string + print_state->printed, print_state->remaining, "\n"));
          }
     }
     _print_state_update(print_state, snprintf(string + print_state->printed, print_state->remaining, "%s}", indentation));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x838, %rsp            # imm = 0x838
movq %r8, 0x18(%rsp)
movq %rdx, %rbx
movq %rsi, 0x8(%rsp)
movq %rdi, %rbp
movl $0x3ff, %r15d           # imm = 0x3FF
cmpq %r15, %rcx
cmovbq %rcx, %r15
movq %rcx, %r12
testq %rcx, %rcx
je 0x1c3d8
leaq 0x30(%rsp), %rdi
movl $0x20, %esi
movq %r15, %rdx
callq 0xd2a0
movb $0x0, 0x30(%rsp,%r15)
movq (%rbx), %rdi
addq 0x8(%rsp), %rdi
movq 0x8(%rbx), %rsi
leaq 0x14356(%rip), %rdx     # 0x30747
xorl %eax, %eax
callq 0xd260
cltq
addq %rax, (%rbx)
subq %rax, 0x8(%rbx)
movq 0x8(%rbp), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jle 0x1c509
movq %r12, %rcx
decq 0x10(%rsp)
addq 0x18(%rsp), %rcx
movl $0x3ff, %r14d           # imm = 0x3FF
cmpq %r14, %rcx
cmovbq %rcx, %r14
movl $0x8, %r13d
xorl %r12d, %r12d
movq %rbp, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq (%rbp), %r15
testq %rcx, %rcx
leaq 0x430(%rsp), %rcx
je 0x1c467
movq %rcx, %rdi
movl $0x20, %esi
movq %r14, %rdx
movq %rcx, %rbp
callq 0xd2a0
movq %rbp, %rcx
movb $0x0, 0x430(%rsp,%r14)
movq (%rbx), %rdi
movq %r14, %rbp
movq 0x8(%rsp), %r14
addq %r14, %rdi
movq 0x8(%rbx), %rsi
movq -0x8(%r15,%r13), %r8
addq %r13, %r15
leaq 0x142c0(%rip), %rdx     # 0x30751
xorl %eax, %eax
callq 0xd260
cltq
addq %rax, (%rbx)
subq %rax, 0x8(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq 0x20(%rsp), %r15
movq %r15, %rcx
movq 0x18(%rsp), %r8
callq 0x1d372
movq (%rbx), %rdi
addq %r14, %rdi
movq %rbp, %r14
cmpq %r12, 0x10(%rsp)
movq 0x8(%rbx), %rsi
leaq 0x14275(%rip), %rdx     # 0x3074a
leaq 0x13a19(%rip), %rax     # 0x2fef5
cmoveq %rax, %rdx
xorl %eax, %eax
callq 0xd260
movq %r15, %rcx
cltq
addq %rax, (%rbx)
subq %rax, 0x8(%rbx)
incq %r12
addq $0x20, %r13
movq 0x28(%rsp), %rbp
cmpq 0x8(%rbp), %r12
jl 0x1c440
movq 0x8(%rsp), %rdi
addq (%rbx), %rdi
movq 0x8(%rbx), %rsi
leaq 0x14231(%rip), %rdx     # 0x3074d
leaq 0x30(%rsp), %rcx
xorl %eax, %eax
callq 0xd260
cltq
addq %rax, (%rbx)
subq %rax, 0x8(%rbx)
addq $0x838, %rsp            # imm = 0x838
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq