// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/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 0x890b4
leaq 0x3927c(%rip), %rdx     # 0xc21f8
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
pushq $0x3
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x89349
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x78ddb
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
movl (%r15), %eax
cmpl $0x1, %eax
je 0x89102
movq %rsp, %r15
pushq $-0x3
popq %rbp
leaq 0x395b9(%rip), %r13     # 0xc257f
leaq 0x395a0(%rip), %r12     # 0xc256d
cmpl $0x4, %eax
je 0x88fe3
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x891b1
movq 0x8(%rsp), %rsi
movslq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x78a95
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
cmpl $0x8, (%rsp)
je 0x89017
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0x891b1
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x88f52
movq %rbx, %rdi
movl %ebp, %esi
callq 0x78f56
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
movl (%rsp), %eax
cmpl $0x9, %eax
je 0x8906b
cmpl $0x1, %eax
je 0x89102
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x39522(%rip), %rdx     # 0xc2585
movq %r15, %rcx
callq 0x891b1
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
movl (%rsp), %eax
jmp 0x88fcd
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 0x78a95
movq %rbx, %rdi
xorl %esi, %esi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x78cca
leaq 0x38f16(%rip), %rdx     # 0xc1fd1
movq %rbx, %rdi
movq %r14, %rsi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x891b1
pushq $0x2
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x89349
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x78ddb
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
cmpl $0x3, (%r15)
jne 0x89149
decl 0x20(%r14)
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 0x78a66
movl 0x8(%rcx), %esi
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x78cb0
pushq $0x1
popq %rbp
movq %rsp, %r15
pushq $-0x2
popq %r12
leaq 0x3947a(%rip), %r13     # 0xc25d4
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x88f52
movq %rbx, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x78fbe
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
movl (%rsp), %eax
cmpl $0x9, %eax
je 0x891a2
cmpl $0x3, %eax
je 0x89102
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0x891b1
movq %r14, %rdi
movq %r15, %rsi
callq 0x88b48
incl %ebp
jmp 0x8915a