// File: /workspace/github_c_makefile_star2_O3/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 0x98237
leaq 0x39641(%rip), %rdx     # 0xd1738
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x984c2
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x86818
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
movl (%r15), %eax
cmpl $0x1, %eax
je 0x98288
movq %rsp, %r15
leaq 0x39982(%rip), %r12     # 0xd1ac2
leaq 0x39975(%rip), %r13     # 0xd1abc
leaq 0x3995c(%rip), %rbp     # 0xd1aaa
cmpl $0x4, %eax
je 0x98165
movq 0x10(%r14), %rsi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r15, %rcx
callq 0x98338
movq 0x8(%rsp), %rsi
movslq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x864ca
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
cmpl $0x8, (%rsp)
je 0x9819a
movq 0x10(%r14), %rsi
movq %rbx, %rdi
movq %r13, %rdx
movq %r15, %rcx
callq 0x98338
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x980cd
movq %rbx, %rdi
movl $0xfffffffd, %esi       # imm = 0xFFFFFFFD
callq 0x86997
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
movl (%rsp), %eax
cmpl $0x9, %eax
je 0x981ee
cmpl $0x1, %eax
je 0x98288
movq 0x10(%r14), %rsi
movq %rbx, %rdi
movq %r12, %rdx
movq %r15, %rcx
callq 0x98338
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
movl (%rsp), %eax
jmp 0x9814e
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 0x864ca
movq %rbx, %rdi
xorl %esi, %esi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x86707
movq 0x10(%r14), %rsi
leaq 0x392b7(%rip), %rdx     # 0xd14f9
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x98338
movq %rbx, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x984c2
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x86818
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
cmpl $0x3, (%r15)
jne 0x982cf
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 0x8649b
movl 0x8(%rcx), %esi
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x866ed
movl $0x1, %ebp
movq %rsp, %r15
leaq 0x39833(%rip), %r12     # 0xd1b11
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x980cd
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movl %ebp, %edx
callq 0x869ff
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
movl (%rsp), %eax
cmpl $0x9, %eax
je 0x98329
cmpl $0x3, %eax
je 0x98288
movq 0x10(%r14), %rsi
movq %rbx, %rdi
movq %r12, %rdx
movq %r15, %rcx
callq 0x98338
movq %r14, %rdi
movq %r15, %rsi
callq 0x97c96
incl %ebp
jmp 0x982de