// File: /workspace/github_c_makefile_star2_O1/nilyang[P]redis-tdd-annotation/deps/lua/src/lua_cjson.c
// Function: json_process_value
static void json_process_value(lua_State *l, json_parse_t *json,
                               json_token_t *token)
{
    switch (token->type) {
    case T_STRING:
        lua_pushlstring(l, token->value.string, token->string_len);
        break;;
    case T_NUMBER:
        lua_pushnumber(l, token->value.number);
        break;;
    case T_BOOLEAN:
        lua_pushboolean(l, token->value.boolean);
        break;;
    case T_OBJ_BEGIN:
        json_parse_object_context(l, json);
        break;;
    case T_ARR_BEGIN:
        json_parse_array_context(l, json);
        break;;
    case T_NULL:
        /* In Lua, setting "t[k] = nil" will delete k from the table.
         * Hence a NULL pointer lightuserdata object is used instead */
        lua_pushlightuserdata(l, NULL);
        break;;
    default:
        json_throw_parse_error(l, json, "value", token);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rcx
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdx), %eax
cmpq $0x7, %rax
ja 0x77eb0
leaq 0x2a3c9(%rip), %rdx     # 0xa2140
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x7814f
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x66a47
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
cmpl $0x1, (%r15)
je 0x77f00
movq %rsp, %r15
leaq 0x2a6a2(%rip), %r12     # 0xa2460
leaq 0x2a695(%rip), %r13     # 0xa245a
leaq 0x2a67c(%rip), %rbp     # 0xa2448
cmpl $0x4, (%rsp)
je 0x77de3
movq %rbx, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq %r15, %rcx
callq 0x77fab
movq 0x8(%rsp), %rsi
movslq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x66700
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
cmpl $0x8, (%rsp)
je 0x77e17
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0x77fab
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x77d4d
movq %rbx, %rdi
movl $0xfffffffd, %esi       # imm = 0xFFFFFFFD
callq 0x66bc6
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
movl (%rsp), %eax
cmpl $0x9, %eax
je 0x77e6a
cmpl $0x1, %eax
je 0x77f00
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x77fab
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
jmp 0x77dcc
movq 0x8(%rcx), %rsi
movslq 0x10(%rcx), %rdx
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x66700
movq %rbx, %rdi
xorl %esi, %esi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x66936
leaq 0x2a062(%rip), %rdx     # 0xa1f19
movq %rbx, %rdi
movq %r14, %rsi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x77fab
movq %rbx, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x7814f
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x66a47
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
cmpl $0x3, (%r15)
jne 0x77f43
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movsd 0x8(%rcx), %xmm0
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x666d1
movl 0x8(%rcx), %esi
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6691c
movl $0x1, %ebp
movq %rsp, %r15
leaq 0x2a542(%rip), %r12     # 0xa2494
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x77d4d
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movl %ebp, %edx
callq 0x66c27
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
movl (%rsp), %eax
cmpl $0x9, %eax
je 0x77f9c
cmpl $0x3, %eax
je 0x77f00
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x77fab
movq %r14, %rdi
movq %r15, %rsi
callq 0x7792b
incl %ebp
jmp 0x77f52