// File: /workspace/github_c_makefile_star2_O1/justy989[P]ce/ce_json.c
// Function: value_print
static void _value_print(CeJsonValue_t* value, char* string, PrintState_t* print_state,
                         uint64_t current_indent, uint64_t indent){
     switch(value->type){
     default:
          break;
     case CE_JSON_TYPE_OBJECT:
          _obj_print(&value->obj, string, print_state, current_indent, indent);
          break;
     case CE_JSON_TYPE_ARRAY:
          _array_print(&value->array, string, print_state, current_indent, indent);
          break;
     case CE_JSON_TYPE_STRING:
          _print_state_update(print_state,
                              snprintf(string + print_state->printed, print_state->remaining,
                                       "\"%s\"", value->string));
          break;
     case CE_JSON_TYPE_NUMBER:
          _print_state_update(print_state,
                              snprintf(string + print_state->printed, print_state->remaining,
                                       "%.4f", value->number));
          break;
     case CE_JSON_TYPE_BOOL:
          if(value->boolean){
               _print_state_update(print_state,
                                   snprintf(string + print_state->printed, print_state->remaining, "true"));
          }else{
               _print_state_update(print_state,
                                   snprintf(string + print_state->printed, print_state->remaining, "false"));
          }
          break;
     case CE_JSON_TYPE_NULL:
          _print_state_update(print_state, snprintf(string + print_state->printed, print_state->remaining, "null"));
          break;
     }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x828, %rsp            # imm = 0x828
movl (%rdi), %eax
decl %eax
cmpl $0x5, %eax
ja 0x1d5d5
movq %r8, %r12
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x1332c(%rip), %rdx     # 0x306cc
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
addq $0x8, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %r12, %r8
addq $0x828, %rsp            # imm = 0x828
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1c390
movq 0x8(%rbx), %rsi
addq (%rbx), %r14
cmpb $0x1, 0x8(%rdi)
jne 0x1d5bb
leaq 0x13381(%rip), %rdx     # 0x30765
jmp 0x1d5c2
addq (%rbx), %r14
movq 0x8(%rbx), %rsi
movq 0x8(%rdi), %rcx
leaq 0x13360(%rip), %rdx     # 0x3075b
movq %r14, %rdi
xorl %eax, %eax
callq 0xd260
jmp 0x1d5cc
addq (%rbx), %r14
movq 0x8(%rbx), %rsi
movsd 0x8(%rdi), %xmm0
leaq 0x13343(%rip), %rdx     # 0x30760
movq %r14, %rdi
movb $0x1, %al
callq 0xd260
jmp 0x1d5cc
movq %rdi, 0x10(%rsp)
movl $0x3ff, %r15d           # imm = 0x3FF
cmpq %r15, %rcx
movl $0x3ff, %ebp            # imm = 0x3FF
cmovbq %rcx, %rbp
movq %rcx, (%rsp)
testq %rcx, %rcx
je 0x1d461
leaq 0x420(%rsp), %rdi
movl $0x20, %esi
movq %rbp, %rdx
callq 0xd2a0
movb $0x0, 0x420(%rsp,%rbp)
movq (%rbx), %rdi
movq %r14, 0x18(%rsp)
addq %r14, %rdi
movq 0x8(%rbx), %rsi
leaq 0x132f6(%rip), %rdx     # 0x30775
xorl %eax, %eax
callq 0xd260
cltq
addq %rax, (%rbx)
movq %rbx, %r14
subq %rax, 0x8(%rbx)
movq %r12, %rbp
movq (%rsp), %rax
addq %r12, %rax
cmpq %r15, %rax
cmovbq %rax, %r15
movq %rax, %r12
testq %rax, %rax
je 0x1d4bd
leaq 0x20(%rsp), %rdi
movl $0x20, %esi
movq %r15, %rdx
callq 0xd2a0
movb $0x0, 0x20(%rsp,%r15)
movq 0x10(%rsp), %rcx
movq 0x10(%rcx), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
movq 0x18(%rsp), %rbx
jle 0x1d580
movq %r12, %r15
decq 0x8(%rsp)
xorl %r13d, %r13d
xorl %r12d, %r12d
movq %r15, (%rsp)
movq %rbp, %r15
movq 0x8(%rcx), %rbp
addq %r13, %rbp
movq (%r14), %rdi
addq %rbx, %rdi
movq 0x8(%r14), %rsi
leaq 0x143b0(%rip), %rdx     # 0x318bc
leaq 0x20(%rsp), %rcx
xorl %eax, %eax
callq 0xd260
cltq
addq %rax, (%r14)
subq %rax, 0x8(%r14)
movq %rbp, %rdi
movq %r15, %rbp
movq (%rsp), %rcx
movq %rbx, %rsi
movq %r14, %rdx
movq %r15, %r8
callq 0x1d372
movq (%r14), %rdi
addq %rbx, %rdi
cmpq %r12, 0x8(%rsp)
movq 0x8(%r14), %rsi
leaq 0x131fb(%rip), %rdx     # 0x3074a
leaq 0x1299f(%rip), %rax     # 0x2fef5
cmoveq %rax, %rdx
xorl %eax, %eax
callq 0xd260
movq 0x10(%rsp), %rcx
cltq
addq %rax, (%r14)
subq %rax, 0x8(%r14)
incq %r12
addq $0x18, %r13
cmpq 0x10(%rcx), %r12
jl 0x1d4f1
addq (%r14), %rbx
movq 0x8(%r14), %rsi
leaq 0x131ea(%rip), %rdx     # 0x30778
leaq 0x420(%rsp), %rcx
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd260
cltq
addq %rax, (%r14)
subq %rax, 0x8(%r14)
jmp 0x1d5d5
addq (%rbx), %r14
movq 0x8(%rbx), %rsi
leaq 0x131b7(%rip), %rdx     # 0x30770
jmp 0x1d5c2
leaq 0x131a8(%rip), %rdx     # 0x3076a
movq %r14, %rdi
xorl %eax, %eax
callq 0xd260
cltq
addq %rax, (%rbx)
subq %rax, 0x8(%rbx)
addq $0x828, %rsp            # imm = 0x828
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq