LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/JianjiaoSQ[P]MyPoorWebServer/././threadpool/threadpool.h
// Function: threadpool<http_conn>::append_p(http_conn*)
bool threadpool<T>::append_p(T *request)
{
    m_queuelocker.lock();
    if (m_workqueue.size() >= m_max_requests)
    {
        m_queuelocker.unlock();
        return false;
    }
    m_workqueue.push_back(request);
    m_queuelocker.unlock();
    m_queuestat.post();
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rdi), %r14
movq %r14, %rdi
callq 0x3500
movq 0x20(%rbx), %r13
movslq 0x4(%rbx), %rbp
cmpq %rbp, %r13
jae 0x84d3
leaq 0x10(%rbx), %r12
movl $0x18, %edi
callq 0x3390
movq %r15, 0x10(%rax)
movq %rax, %rdi
movq %r12, %rsi
callq 0x3070
incq 0x20(%rbx)
movq %r14, %rdi
callq 0x3300
addq $0x50, %rbx
movq %rbx, %rdi
callq 0x35b0
jmp 0x84db
movq %r14, %rdi
callq 0x3300
cmpq %rbp, %r13
setb %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/JianjiaoSQ[P]MyPoorWebServer/././threadpool/threadpool.h
// Function: threadpool<http_conn>::run()
void threadpool<T>::run()
{
    while (true)
    {
        m_queuestat.wait();
        m_queuelocker.lock();
        if (m_workqueue.empty())
        {
            m_queuelocker.unlock();
            continue;
        }
        T *request = m_workqueue.front();
        m_workqueue.pop_front();
        m_queuelocker.unlock();
        if (!request)
            continue;
        if (1 == m_actor_model)
        {
            if (0 == request->m_state)
            {
                if (request->read_once())
                {
                    request->improv = 1;
                    connectionRAII mysqlcon(&request->mysql, m_connPool);
                    request->process();
                }
                else
                {
                    request->improv = 1;
                    request->timer_flag = 1;
                }
            }
            else
            {
                if (request->write())
                {
                    request->improv = 1;
                }
                else
                {
                    request->improv = 1;
                    request->timer_flag = 1;
                }
            }
        }
        else
        {
            connectionRAII mysqlcon(&request->mysql, m_connPool);
            request->process();
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x50(%rdi), %r14
leaq 0x28(%rdi), %r15
leaq 0x10(%rdi), %r12
movq %r14, %rdi
callq 0x3250
movq %r15, %rdi
callq 0x3500
movq (%r12), %rbp
cmpq %r12, %rbp
je 0x8581
movq 0x10(%rbp), %r13
decq 0x20(%rbx)
movq %rbp, %rdi
callq 0x3590
movl $0x18, %esi
movq %rbp, %rdi
callq 0x33a0
movq %r15, %rdi
callq 0x3300
testq %r13, %r13
je 0x851b
cmpl $0x1, 0x78(%rbx)
jne 0x858b
cmpl $0x0, 0x10(%r13)
je 0x85b5
movq %r13, %rdi
callq 0x5222
movl $0x1, 0x4(%r13)
testb %al, %al
jne 0x851b
jmp 0x85e8
movq %r15, %rdi
callq 0x3300
jmp 0x851b
leaq 0x8(%r13), %rsi
movq 0x70(%rbx), %rdx
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
callq 0x7020
movq %r13, %rdi
callq 0x5814
movq %rbp, %rdi
callq 0x7046
jmp 0x851b
movq %r13, %rdi
callq 0x46fa
movl $0x1, 0x4(%r13)
testb %al, %al
je 0x85e8
leaq 0x8(%r13), %rsi
movq 0x70(%rbx), %rdx
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
callq 0x7020
movq %r13, %rdi
callq 0x5814
jmp 0x85a8
movl $0x1, (%r13)
jmp 0x851b
jmp 0x85f7
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x7046
movq %rbx, %rdi
callq 0x35e0
// File: /workspace/github_cpp_makefile_star2_O3/JianjiaoSQ[P]MyPoorWebServer/config.cpp
// Function: Config::parse_arg(int, char**)
void Config::parse_arg(int argc, char*argv[]){
    int opt;
    const char *str = "p:l:m:o:s:t:c:a:";
    while ((opt = getopt(argc, argv, str)) != -1)
    {
        switch (opt)
        {
        case 'p':
        {
            PORT = atoi(optarg);
            break;
        }
        case 'l':
        {
            LOGWrite = atoi(optarg);
            break;
        }
        case 'm':
        {
            TRIGMode = atoi(optarg);
            break;
        }
        case 'o':
        {
            OPT_LINGER = atoi(optarg);
            break;
        }
        case 's':
        {
            sql_num = atoi(optarg);
            break;
        }
        case 't':
        {
            thread_num = atoi(optarg);
            break;
        }
        case 'c':
        {
            close_log = atoi(optarg);
            break;
        }
        case 'a':
        {
            actor_model = atoi(optarg);
            break;
        }
        default:
            break;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r12
leaq 0x24(%rdi), %rax
movq %rax, 0x30(%rsp)
leaq 0x20(%rdi), %rax
movq %rax, 0x28(%rsp)
leaq 0x1c(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x18(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x14(%rdi), %rax
movq %rax, 0x10(%rsp)
leaq 0x8(%rdi), %rax
movq %rax, 0x8(%rsp)
leaq 0x4(%rdi), %rax
movq %rax, (%rsp)
leaq 0xfbb(%rip), %r15       # 0x9640
leaq 0xf64(%rip), %r13       # 0x95f0
movl %ebp, %edi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x30a0
leal -0x61(%rax), %ecx
cmpl $0x13, %ecx
ja 0x86f0
movslq (%r13,%rcx,4), %rax
addq %r13, %rax
movq %r12, %r14
jmpq *%rax
movq 0x30(%rsp), %r14
jmp 0x86dc
movq 0x8(%rsp), %r14
jmp 0x86dc
movq 0x28(%rsp), %r14
jmp 0x86dc
movq (%rsp), %r14
jmp 0x86dc
movq 0x20(%rsp), %r14
jmp 0x86dc
movq 0x10(%rsp), %r14
jmp 0x86dc
movq 0x18(%rsp), %r14
movq 0x48d5(%rip), %rax      # 0xcfb8
movq (%rax), %rdi
callq 0x3550
movl %eax, (%r14)
jmp 0x868c
cmpl $-0x1, %eax
jne 0x868c
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::removeMember(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Value removeMember(const std::string key) {
            std::map<std::string, Value>::iterator mt = object.find(key);
            if (mt != object.end())
                object.erase(mt);
            return *this;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x68(%rsi), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x5f50
leaq 0x70(%r14), %rcx
cmpq %rcx, %rax
je 0x2d6f
movq %r15, %rdi
movq %rax, %rsi
callq 0x5fee
movq %rbx, %rdi
movq %r14, %rsi
callq 0x403c
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Value& operator[](const std::string key) {
            if (type != JSON_OBJECT)
                clear();
            type = JSON_OBJECT;
            return object[key];
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x6, (%rdi)
je 0x2dea
movq %r14, %rdi
callq 0x31da
movl $0x6, (%r14)
addq $0x68, %r14
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x6032
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::append(JSON::Value const&)
void append(const Value& value) {
            switch (type) {
            case JSON_ARRAY:
                array.push_back(value);
                break;
            case JSON_OBJECT:
                assert(value.get_type() == JSON_OBJECT);
                std::vector<std::string> names = value.getMemberNames();
                for (auto vt : names)
                    object.insert(make_pair(vt, value[vt]));
                break;
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %rdi, %r14
movl (%rdi), %eax
cmpl $0x6, %eax
je 0x2ea6
cmpl $0x5, %eax
jne 0x2fb5
addq $0x50, %r14
movq %r14, %rdi
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3cca
cmpl $0x6, (%rsi)
jne 0x2fc7
leaq -0x90(%rbp), %r15
movq %r15, %rdi
movq %rsi, -0x58(%rbp)
callq 0x304e
movq (%r15), %rbx
movq 0x8(%r15), %rax
movq %rax, -0x50(%rbp)
cmpq %rax, %rbx
je 0x2fa9
addq $0x68, %r14
leaq -0x78(%rbp), %r13
leaq -0x200(%rbp), %r15
leaq -0x158(%rbp), %r12
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x69cc
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x69cc
movq %r15, %rdi
movq -0x58(%rbp), %rsi
movq %r13, %rdx
callq 0x47e2
movq %r12, %rdi
leaq -0x48(%rbp), %rsi
movq %r15, %rdx
callq 0x4af2
movq %r14, %rdi
movq %r12, %rsi
callq 0x4896
leaq -0x138(%rbp), %rdi
callq 0x2d88
movq -0x158(%rbp), %rdi
leaq -0x148(%rbp), %rax
cmpq %rax, %rdi
je 0x2f6f
callq 0x21d0
movq %r15, %rdi
callq 0x2d88
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x2f89
callq 0x21d0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2f9b
callq 0x21d0
addq $0x20, %rbx
cmpq -0x50(%rbp), %rbx
jne 0x2eec
leaq -0x90(%rbp), %rdi
callq 0x324c
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x43ce(%rip), %rdi      # 0x739c
leaq 0x42b7(%rip), %rsi      # 0x728c
leaq 0x43e0(%rip), %rcx      # 0x73bc
movl $0x10b, %edx            # imm = 0x10B
callq 0x2140
movq %rax, %rbx
jmp 0x3039
movq %rax, %rbx
jmp 0x3027
movq %rax, %rbx
jmp 0x3015
movq %rax, %rbx
jmp 0x3009
movq %rax, %rbx
leaq -0x158(%rbp), %rdi
callq 0x486a
leaq -0x200(%rbp), %rdi
callq 0x2d88
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x3027
callq 0x21d0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x3039
callq 0x21d0
leaq -0x90(%rbp), %rdi
callq 0x324c
movq %rbx, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::getMemberNames[abi:cxx11]() const
std::vector<std::string> getMemberNames() const {
            assert(type == JSON_OBJECT);
            std::vector<std::string> names;
            for (auto e : object) {
                names.push_back(e.first);
            }
            return names;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
cmpl $0x6, (%rsi)
jne 0x30f6
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x80(%rsi), %r15
addq $0x70, %r14
cmpq %r14, %r15
je 0x30e1
leaq -0xe0(%rbp), %r12
leaq -0xf0(%rbp), %r13
leaq 0x20(%r15), %rsi
movq %r13, %rdi
callq 0x4426
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6342
leaq -0xd0(%rbp), %rdi
callq 0x2d88
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x30d1
callq 0x21d0
movq %r15, %rdi
callq 0x2220
movq %rax, %r15
cmpq %r14, %rax
jne 0x309d
movq %rbx, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x41b0(%rip), %rdi      # 0x72ad
leaq 0x4188(%rip), %rsi      # 0x728c
leaq 0x42d9(%rip), %rcx      # 0x73e4
movl $0x98, %edx
callq 0x2140
movq %rax, %r14
jmp 0x3129
movq %rax, %r14
leaq -0xf0(%rbp), %rdi
callq 0x44b2
movq %rbx, %rdi
callq 0x324c
movq %r14, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::resize(unsigned long)
void resize(size_t size) {
            assert(type == JSON_ARRAY || type == JSON_OBJECT);
            switch (type) {
            case JSON_ARRAY: array.resize(size); break;
            case JSON_OBJECT:
                if (object.size() > size) {
                    size_t delete_size = object.size() - size;
                    for (delete_size; delete_size > 0; delete_size--) {
                        auto mt = object.rbegin();
                        object.erase(mt->first);
                    }
                }
                break;
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl (%rdi), %eax
leal -0x5(%rax), %ecx
cmpl $0x2, %ecx
jae 0x31ba
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x5, %eax
jne 0x3172
addq $0x50, %r14
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x659c
leaq 0x68(%r14), %r15
movq 0x90(%r14), %rax
cmpq %rbx, %rax
jbe 0x31af
je 0x31af
addq $0x70, %r14
subq %rax, %rbx
movq %r14, %rdi
callq 0x2200
leaq 0x20(%rax), %rsi
movq %r15, %rdi
callq 0x6804
movq %r15, %rdi
movq %rax, %rsi
callq 0x68c0
incq %rbx
jne 0x318b
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x40d6(%rip), %rdi      # 0x7297
leaq 0x40c4(%rip), %rsi      # 0x728c
leaq 0x4252(%rip), %rcx      # 0x7421
movl $0xbd, %edx
callq 0x2140
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::clear()
void clear() {
            switch (type) {
            case JSON_STRING: str.clear(); break;
            case JSON_ARRAY: array.clear(); break;
            case JSON_OBJECT: object.clear(); break;
            }
            type = JSON_NULL;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %eax
cmpl $0x6, %eax
je 0x3234
cmpl $0x5, %eax
je 0x320a
cmpl $0x4, %eax
jne 0x323d
movq $0x0, 0x38(%rbx)
movq 0x30(%rbx), %rax
movb $0x0, (%rax)
jmp 0x323d
movq 0x50(%rbx), %r15
movq 0x58(%rbx), %r12
cmpq %r15, %r12
je 0x323d
movq %r15, %r14
movq %r14, %rdi
callq 0x2d88
addq $0xa8, %r14
cmpq %r12, %r14
jne 0x321a
movq %r15, 0x58(%rbx)
jmp 0x323d
leaq 0x68(%rbx), %rdi
callq 0x6994
movl $0x0, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::json_parser::get_parser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, JSON::Value*)
static json_parser* get_parser(const std::string& source, Value* v){
            static json_parser singleton_parser;
            singleton_parser.set_json_source(source, v);
            // use singleton create parser
            return &singleton_parser;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movb 0x7ee8(%rip), %al       # 0xb1b0
testb %al, %al
je 0x3301
leaq 0x7ead(%rip), %r15      # 0xb180
movq %r15, %rdi
movq %r14, %rsi
callq 0x2110
movq 0x7e9b(%rip), %rax      # 0xb180
movq %rax, 0x7eb4(%rip)      # 0xb1a0
movq %rbx, 0x7eb5(%rip)      # 0xb1a8
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x22d0
jmp 0x32cc
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::parse()
int parse()
        {
            skip_blank();
            int ret = 0;
            if ((ret = parse_value()) == PARSE_OK) {
                skip_blank();
                if (it != json_source.end()) {
                    root->clear();
                    return PARSE_ROOT_NOT_SINGULAR;
                }
            }
            return ret;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x20(%rdi), %rcx
addq 0x8(%rdi), %rax
cmpq %rax, %rcx
je 0x332f
cmpb $0x20, (%rcx)
jne 0x332f
incq %rcx
movq %rcx, 0x20(%rbx)
jmp 0x331c
movq %rbx, %rdi
xorl %esi, %esi
callq 0x339a
testl %eax, %eax
jne 0x3377
movq (%rbx), %rcx
movq 0x20(%rbx), %rdx
addq 0x8(%rbx), %rcx
cmpq %rcx, %rdx
je 0x335b
cmpb $0x20, (%rdx)
jne 0x335f
incq %rdx
movq %rdx, 0x20(%rbx)
jmp 0x3348
xorl %eax, %eax
jmp 0x3377
movl $0x0, %eax
cmpq %rcx, %rdx
je 0x3377
movq 0x28(%rbx), %rdi
callq 0x31da
movl $0x3, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::parse_value(JSON::Value*)
int parse_value(Value* element = nullptr) {
            if (it == json_source.end())
                return PARSE_EXPECT_VALUE;
            switch (*it) {
            case 'n': return parse_literal("null", JSON_NULL, element);
            case 't': return parse_literal("true", JSON_TRUE, element);
            case 'f': return parse_literal("false", JSON_FALSE, element);
            case '[': return parse_array(element);
            case '{': return parse_object(element);
            case '\"': return parse_string(element);
            case '\0': return PARSE_EXPECT_VALUE;
            default:
                if (*it == '-' || (*it >= '0' && *it <= '9')) {
                    return parse_number(element);
                }
                return PARSE_INVALID_VALUE;
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rsi, %rcx
movq (%rdi), %rsi
movq 0x20(%rdi), %rdx
addq 0x8(%rdi), %rsi
movl $0x1, %eax
cmpq %rsi, %rdx
je 0x3455
movb (%rdx), %dl
movzbl %dl, %esi
cmpl $0x65, %esi
jg 0x33df
cmpl $0x2c, %esi
jg 0x33f9
testl %esi, %esi
je 0x3455
cmpl $0x22, %esi
jne 0x343f
movq %rcx, %rsi
popq %rbp
jmp 0x3ad8
cmpl $0x73, %esi
jg 0x340c
cmpl $0x66, %esi
je 0x341f
cmpl $0x6e, %esi
jne 0x343f
leaq 0x3cbb(%rip), %rsi      # 0x70b0
xorl %edx, %edx
jmp 0x3439
cmpl $0x2d, %esi
je 0x344c
cmpl $0x5b, %esi
jne 0x343f
movq %rcx, %rsi
popq %rbp
jmp 0x353e
cmpl $0x74, %esi
je 0x342d
cmpl $0x7b, %esi
jne 0x343f
movq %rcx, %rsi
popq %rbp
jmp 0x3756
leaq 0x3c94(%rip), %rsi      # 0x70ba
movl $0x2, %edx
jmp 0x3439
leaq 0x3c81(%rip), %rsi      # 0x70b5
movl $0x1, %edx
popq %rbp
jmp 0x3458
addb $-0x30, %dl
movl $0x2, %eax
cmpb $0x9, %dl
ja 0x3455
movq %rcx, %rsi
popq %rbp
jmp 0x3b84
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::parse_literal(char const*, JSON::json_type, JSON::Value*)
int parse_literal(const char* dst, json_type type, Value* element = nullptr) {
            int len = strlen(dst);
            if (strncmp(&(*it), dst, len) == 0) {
                it += len;
                if (element != nullptr) {
                    switch (type) {
                    case JSON_NULL: element->clear(); break;
                    case JSON_TRUE: *element = true; break;
                    case JSON_FALSE: *element = false; break;
                    }
                }
                else {
                    switch (type) {
                    case JSON_NULL: root->clear(); break;
                    case JSON_TRUE: *root = true; break;
                    case JSON_FALSE: *root = false; break;
                    }
                }
                return PARSE_OK;
            }
            else
                return PARSE_INVALID_VALUE;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movl %edx, -0x2c(%rbp)
movq %rsi, %rbx
movq %rdi, %r12
movq %rsi, %rdi
callq 0x20d0
movq 0x20(%r12), %r13
movslq %eax, %r14
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x20f0
movl $0x2, %ebx
testl %eax, %eax
je 0x34aa
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl -0x2c(%rbp), %eax
addq %r14, %r13
movq %r13, 0x20(%r12)
xorl %ebx, %ebx
testq %r15, %r15
je 0x34cf
cmpl $0x2, %eax
je 0x34fa
cmpl $0x1, %eax
je 0x34e9
testl %eax, %eax
jne 0x3499
movq %r15, %rdi
jmp 0x34e2
cmpl $0x2, %eax
je 0x3524
cmpl $0x1, %eax
je 0x350b
testl %eax, %eax
jne 0x3499
movq 0x28(%r12), %rdi
callq 0x31da
jmp 0x3499
movq %r15, %rdi
callq 0x31da
movl $0x1, (%r15)
jmp 0x3499
movq %r15, %rdi
callq 0x31da
movl $0x2, (%r15)
jmp 0x3499
movq 0x28(%r12), %r14
movq %r14, %rdi
callq 0x31da
movl $0x1, (%r14)
jmp 0x3499
movq 0x28(%r12), %r14
movq %r14, %rdi
callq 0x31da
movl $0x2, (%r14)
jmp 0x3499
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::parse_string(JSON::Value*)
int parse_string(Value* element = nullptr) {
            std::string tmp_str;
            std::string::const_iterator tmp_it = it;
            int ret = parse_string(tmp_str, tmp_it);
            if (ret == PARSE_OK) {
                it = tmp_it;
                if (element != nullptr)
                    *element = tmp_str;
                else
                    *root = tmp_str;
            }
            return ret;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
movq 0x20(%rdi), %rax
leaq -0x28(%rbp), %rdx
movq %rax, (%rdx)
leaq -0x48(%rbp), %rsi
callq 0x4ee6
movl %eax, %ebx
testl %eax, %eax
jne 0x3b4e
movq -0x28(%rbp), %rax
movq %rax, 0x20(%r15)
testq %r14, %r14
jne 0x3b2f
movq 0x28(%r15), %r14
movq %r14, %rdi
callq 0x31da
movl $0x4, (%r14)
addq $0x30, %r14
leaq -0x48(%rbp), %rsi
movq %r14, %rdi
callq 0x2110
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x3b5c
callq 0x21d0
movl %ebx, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x3b7c
callq 0x21d0
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::parse_number(JSON::Value*)
int parse_number(Value* element = nullptr) {
            std::string::const_iterator tmp_it = it;
            if (*tmp_it == '-')
                tmp_it++;
            if (*tmp_it == '0')
                tmp_it++;
            else {
                if (!ISDIGIT1TO9(*tmp_it))
                    return PARSE_INVALID_VALUE;
                for (tmp_it++; ISDIGIT(*tmp_it); tmp_it++);
            }
            if (*tmp_it == '.') {
                tmp_it++;
                if (!ISDIGIT(*tmp_it))
                    return PARSE_INVALID_VALUE;
                for (tmp_it++; ISDIGIT(*tmp_it); tmp_it++);
            }
            if (*tmp_it == 'e' || *tmp_it == 'E') {
                tmp_it++;
                if (*tmp_it == '-' || *tmp_it == '+')
                    tmp_it++;
                if (!ISDIGIT(*tmp_it))
                    return PARSE_INVALID_VALUE;
                for (tmp_it++; ISDIGIT(*tmp_it); tmp_it++);
            }
            // if (*tmp_it != ' ' && *tmp_it != '\0')
            //    return PARSE_INVALID_VALUE;
            double dst_number = strtod(&(*it), NULL);
            if (errno == ERANGE && (dst_number == HUGE_VAL || dst_number == -HUGE_VAL))
                return PARSE_NUMBER_OVERFLOW;
            it = tmp_it;
            if (element != nullptr)
                *element = dst_number;
            else
                *root = dst_number;
            return PARSE_OK;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rdi
movb (%rdi), %cl
movq %rdi, %r15
cmpb $0x2d, %cl
jne 0x3bad
incq %r15
movb 0x1(%rdi), %cl
cmpb $0x30, %cl
jne 0x3bef
movb 0x1(%r15), %al
incq %r15
cmpb $0x2e, %al
jne 0x3c14
movb 0x1(%r15), %cl
addb $-0x30, %cl
movl $0x2, %eax
cmpb $0x9, %cl
ja 0x3cbc
movb 0x2(%r15), %al
addq $0x2, %r15
cmpb $0x30, %al
jl 0x3c5b
cmpb $0x39, %al
ja 0x3c14
movb 0x1(%r15), %al
incq %r15
cmpb $0x2f, %al
jg 0x3bde
jmp 0x3c5b
addb $-0x31, %cl
movl $0x2, %eax
cmpb $0x8, %cl
ja 0x3cbc
incq %r15
movb (%r15), %al
cmpb $0x30, %al
jl 0x3bb9
incq %r15
cmpb $0x3a, %al
jb 0x3c03
decq %r15
movzbl %al, %eax
orl $0x20, %eax
cmpl $0x65, %eax
jne 0x3c5b
movzbl 0x1(%r15), %ecx
cmpl $0x2d, %ecx
je 0x3c2e
cmpl $0x2b, %ecx
jne 0x3c39
movb 0x2(%r15), %cl
movl $0x2, %edx
jmp 0x3c3e
movl $0x1, %edx
addb $-0x30, %cl
movl $0x2, %eax
cmpb $0x9, %cl
ja 0x3cbc
addq %rdx, %r15
movb 0x1(%r15), %al
incq %r15
addb $-0x30, %al
cmpb $0xa, %al
jb 0x3c4e
xorl %esi, %esi
callq 0x2180
movq %xmm0, -0x28(%rbp)
movq %xmm0, %r12
callq 0x2050
cmpl $0x22, (%rax)
sete %cl
btrq $0x3f, %r12
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
cmpq %rax, %r12
sete %dl
movl $0x4, %eax
testb %dl, %cl
jne 0x3cbc
movq %r15, 0x20(%r14)
testq %rbx, %rbx
jne 0x3ca2
movq 0x28(%r14), %rbx
movq %rbx, %rdi
callq 0x31da
movl $0x3, (%rbx)
movq -0x28(%rbp), %xmm0
movq %xmm0, 0x28(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::size() const
size_t size() const {
            assert(type == JSON_ARRAY || type == JSON_OBJECT);
            switch (type) {
            case JSON_ARRAY: return array.size();
            case JSON_OBJECT: return object.size();
            }
        }

// Assembly:
movl (%rdi), %eax
addl $-0x5, %eax
cmpl $0x2, %eax
jae 0x4769
testl %eax, %eax
je 0x474e
movq 0x90(%rdi), %rax
retq
movq 0x58(%rdi), %rcx
subq 0x50(%rdi), %rcx
sarq $0x3, %rcx
movabsq $-0x30c30c30c30c30c3, %rax # imm = 0xCF3CF3CF3CF3CF3D
imulq %rcx, %rax
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x2b23(%rip), %rdi      # 0x7297
leaq 0x2b11(%rip), %rsi      # 0x728c
leaq 0x2b3f(%rip), %rcx      # 0x72c1
movl $0x6c, %edx
callq 0x2140
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Value::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
const Value operator[](const std::string key) const {
            auto mt = object.find(key);
            if (mt != object.end())
                return mt->second;
            return Value();
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x68(%rsi), %rdi
movq %rdx, %rsi
callq 0x4b4a
addq $0x70, %r14
cmpq %r14, %rax
je 0x4815
addq $0x40, %rax
movq %rbx, %rdi
movq %rax, %rsi
callq 0x403c
jmp 0x4862
xorl %eax, %eax
movl %eax, (%rbx)
leaq 0x18(%rbx), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movb %al, 0x18(%rbx)
leaq 0x40(%rbx), %rcx
movq %rcx, 0x30(%rbx)
movq %rax, 0x38(%rbx)
movb %al, 0x40(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movq %rax, 0x60(%rbx)
leaq 0x70(%rbx), %rcx
movl %eax, 0x70(%rbx)
movq %rax, 0x78(%rbx)
movq %rcx, 0x80(%rbx)
movq %rcx, 0x88(%rbx)
movq %rax, 0x90(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::parse_hex4(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&, unsigned int&)
int parse_hex4(std::string::const_iterator& tmp_it, unsigned& u) {
            u = 0;
            char ch = 0;
            for (int i = 0; i < 4; i++) {
                u <<= 4;
                CHECK_ITERATOR(tmp_it);
                ch = *tmp_it++;
                if (ch >= '0' && ch <= '9')
                    u |= ch - '0';
                else if (ch >= 'a' && ch <= 'f')
                    u |= ch - 'a' + 10;
                else if (ch >= 'A' && ch <= 'F')
                    u |= ch - 'A' + 10;
                else return PARSE_INVALID_UNICODE_HEX;
            }
            return PARSE_OK;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
addq 0x8(%rdi), %rax
movq (%rsi), %rcx
xorl %edi, %edi
xorl %r10d, %r10d
leaq (%rcx,%rdi), %r9
movl %r10d, %r8d
shll $0x4, %r8d
movl %r8d, (%rdx)
cmpq %rax, %r9
je 0x5468
leaq 0x1(%r9), %r10
movq %r10, (%rsi)
movsbl (%r9), %r9d
leal -0x30(%r9), %r11d
movl $0xffffffd0, %r10d      # imm = 0xFFFFFFD0
cmpb $0xa, %r11b
jb 0x5453
leal -0x61(%r9), %r11d
movl $0xffffffa9, %r10d      # imm = 0xFFFFFFA9
cmpb $0x6, %r11b
jb 0x5453
leal -0x41(%r9), %r11d
movl $0xffffffc9, %r10d      # imm = 0xFFFFFFC9
cmpb $0x5, %r11b
ja 0x546f
addl %r9d, %r10d
orl %r8d, %r10d
movl %r10d, (%rdx)
incq %rdi
cmpl $0x4, %edi
jne 0x5405
xorl %eax, %eax
jmp 0x546d
movl $0x5, %eax
popq %rbp
retq
movl $0x8, %eax
jmp 0x546d
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::encode_utf8(unsigned int&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void encode_utf8(unsigned& u, std::string& tmp_str) {
            if (u <= 0x7F)
                tmp_str += (u & 0xFF);
            else if (u <= 0x7FF) {
                tmp_str += (0xC0 | (0xFF & (u >> 6)));
                tmp_str += (0x80 | (0x3F & u));
            }
            else if (u <= 0xffff) {
                tmp_str += (0xE0 | (0xFF & (u >> 12)));
                tmp_str += (0x80 | (0x3F & (u >> 6)));
                tmp_str += (0x80 | (0x3F & u));
            }
            else {
                tmp_str += (0xF0 | (0xFF & (u >> 18)));
                tmp_str += (0x80 | (0x3F & (u >> 12)));
                tmp_str += (0x80 | (0x3F & (u >> 6)));
                tmp_str += (0x80 | (0x3F & u));
            }    
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl (%rsi), %eax
cmpl $0x7f, %eax
jbe 0x54e7
movq %rsi, %r14
cmpl $0x7ff, %eax            # imm = 0x7FF
ja 0x5498
shrl $0x6, %eax
orb $-0x40, %al
jmp 0x54d5
cmpl $0xffff, %eax           # imm = 0xFFFF
ja 0x54a6
shrl $0xc, %eax
orb $-0x20, %al
jmp 0x54c0
shrl $0x12, %eax
orb $-0x10, %al
movsbl %al, %esi
movq %rbx, %rdi
callq 0x21b0
movl (%r14), %eax
shrl $0xc, %eax
andb $0x3f, %al
orb $-0x80, %al
movsbl %al, %esi
movq %rbx, %rdi
callq 0x21b0
movl (%r14), %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movsbl %al, %esi
movq %rbx, %rdi
callq 0x21b0
movb (%r14), %al
andb $0x3f, %al
orb $-0x80, %al
movsbl %al, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x21b0
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::FastWriter::convert_object[abi:cxx11](JSON::Value const&)
std::string convert_object(const Value& root) {
            std::string tmp_str("{ ");
            std::vector<std::string> names = root.getMemberNames();
            for (auto it : names) {
                tmp_str += it;
                tmp_str += " : ";
                tmp_str += convert_value(root[it]);
                tmp_str += " , ";
            }
            tmp_str.pop_back();
            tmp_str.pop_back();
            tmp_str += "}";
            return tmp_str;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdx, %r14
movq %rsi, -0x58(%rbp)
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rdi)
leaq 0x1dca(%rip), %rsi      # 0x7360
leaq 0x1dc5(%rip), %rdx      # 0x7362
callq 0x6a6a
leaq -0xb8(%rbp), %rdi
movq %r14, -0x60(%rbp)
movq %r14, %rsi
callq 0x304e
movq -0xb8(%rbp), %r15
movq -0xb0(%rbp), %r14
cmpq %r14, %r15
je 0x56c4
leaq -0x80(%rbp), %r12
leaq -0x160(%rbp), %r13
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %rdi
callq 0x69cc
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %rbx, %rdi
callq 0x2090
movq %rbx, %rdi
leaq 0x1d57(%rip), %rsi      # 0x7363
callq 0x22b0
leaq -0x70(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x69cc
movq %r13, %rdi
movq -0x60(%rbp), %rsi
movq %r12, %rdx
callq 0x47e2
leaq -0xa0(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq %r13, %rdx
callq 0x58a6
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
movq %rbx, %rdi
callq 0x2090
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x567c
callq 0x21d0
movq %r13, %rdi
callq 0x2d88
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x5696
callq 0x21d0
movq %rbx, %rdi
leaq 0x1be8(%rip), %rsi      # 0x7288
callq 0x22b0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x56b7
callq 0x21d0
addq $0x20, %r15
cmpq %r14, %r15
jne 0x55d7
movq %rbx, %rdi
callq 0x2230
movq %rbx, %rdi
callq 0x2230
leaq 0x1b91(%rip), %rsi      # 0x726c
movq %rbx, %rdi
callq 0x22b0
leaq -0xb8(%rbp), %rdi
callq 0x324c
movq %rbx, %rax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x570f
movq %rax, %r14
movq -0x30(%rbp), %r15
jmp 0x5784
movq %rax, %r14
movq -0x30(%rbp), %r15
jmp 0x5778
jmp 0x575f
movq %rax, %r14
jmp 0x574b
movq %rax, %r14
jmp 0x573f
movq %rax, %r14
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x573f
callq 0x21d0
leaq -0x160(%rbp), %rdi
callq 0x2d88
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x5762
callq 0x21d0
jmp 0x5762
movq %rax, %r14
movq -0x30(%rbp), %r15
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x5778
callq 0x21d0
leaq -0xb8(%rbp), %rdi
callq 0x324c
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x5791
callq 0x21d0
movq %r14, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::FastWriter::convert_array[abi:cxx11](JSON::Value const&)
std::string convert_array(const Value& root) {
            std::string tmp_str("[ ");
            for (size_t i = 0; i < root.size(); i++) {
                tmp_str += convert_value(root[i]);
                tmp_str +=" , ";
            }
            tmp_str.pop_back();
            tmp_str.pop_back();
            tmp_str += "]";
            return tmp_str;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rdi)
leaq 0x1bc3(%rip), %rsi      # 0x7389
leaq 0x1bbe(%rip), %rdx      # 0x738b
callq 0x6a6a
movq %r14, %rdi
callq 0x4738
testq %rax, %rax
je 0x5840
xorl %r12d, %r12d
leaq 0x1a9f(%rip), %r13      # 0x7288
movq %r14, %rdi
movq %r12, %rsi
callq 0x478c
leaq -0x50(%rbp), %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x58a6
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq %rbx, %rdi
callq 0x2090
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x5825
callq 0x21d0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x22b0
incq %r12
movq %r14, %rdi
callq 0x4738
cmpq %rax, %r12
jb 0x57e9
movq %rbx, %rdi
callq 0x2230
movq %rbx, %rdi
callq 0x2230
leaq 0x1b35(%rip), %rsi      # 0x738c
movq %rbx, %rdi
callq 0x22b0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x588c
jmp 0x588c
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x588f
callq 0x21d0
jmp 0x588f
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0x589d
callq 0x21d0
movq %r14, %rdi
callq 0x2280
nop
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Writer::convert_value[abi:cxx11](JSON::Value const&)
std::string convert_value(const Value& root) {
            switch (root.get_type()) {
                case JSON_NULL: return convert_literal(root.get_type()); break;
                case JSON_TRUE: return convert_literal(root.get_type()); break;
                case JSON_FALSE: return convert_literal(root.get_type()); break;
                case JSON_NUMBER: return convert_number(root.asDouble()); break;
                case JSON_STRING: return convert_string(root.asString()); break;
                case JSON_ARRAY: return convert_array(root); break;
                case JSON_OBJECT: return convert_object(root); break;
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdx), %eax
leaq 0x17ba(%rip), %rcx      # 0x707c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
jmp 0x5938
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x248c
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x5a34
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5959
callq 0x21d0
jmp 0x5959
movq %rbx, %rdi
movq %r14, %rsi
movl $0x2, %edx
jmp 0x5938
movsd 0x28(%rdx), %xmm0
leaq -0x38(%rbp), %rdx
movsd %xmm0, (%rdx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x59de
jmp 0x5959
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x5984
jmp 0x5959
movq (%r14), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x10(%rax)
jmp 0x5959
movq (%r14), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x8(%rax)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x597c
callq 0x21d0
movq %rbx, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Writer::convert_literal[abi:cxx11](JSON::json_type)
std::string convert_literal(json_type type) {
            switch (type) {
                case JSON_NULL: return std::string("null");
                case JSON_TRUE: return std::string("true");
                case JSON_FALSE: return std::string("false");
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
cmpl $0x2, %edx
je 0x59ae
cmpl $0x1, %edx
jne 0x59be
leaq 0x1710(%rip), %rsi      # 0x70b5
leaq 0x170d(%rip), %rdx      # 0x70b9
jmp 0x59cc
leaq 0x1705(%rip), %rsi      # 0x70ba
leaq 0x1703(%rip), %rdx      # 0x70bf
jmp 0x59cc
leaq 0x16eb(%rip), %rsi      # 0x70b0
leaq 0x16e8(%rip), %rdx      # 0x70b4
movq %rbx, %rdi
callq 0x6a6a
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::Writer::convert_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string convert_string(const std::string& str) {
            std::string tmp_str = "\"";
            for (auto e : str) {
                switch (e) {
                    case '\\': tmp_str += "\\\\"; break;
                    case '\"': tmp_str += "\\\""; break;
                    case '\b': tmp_str += "\\b"; break;
                    case '\f': tmp_str += "\\f"; break;
                    case '\n': tmp_str += "\\n"; break;
                    case '\r': tmp_str += "\\r"; break;
                    case '\t': tmp_str += "\\t"; break;
                    default:
                    if (e < 0x20) {
                        char buf[7];
                        sprintf(buf, "\\u%04x", e);
                        tmp_str += buf;
                    }
                    else
                    tmp_str += e;
                    break;
                }
            }
            tmp_str += '\"';
            return tmp_str;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x38(%rbp)
movq %rax, (%rdi)
leaq 0x1914(%rip), %rsi      # 0x7371
leaq 0x190e(%rip), %rdx      # 0x7372
callq 0x6a6a
movq 0x8(%r14), %r13
testq %r13, %r13
je 0x5b28
movq (%r14), %r14
leaq 0x1618(%rip), %r15      # 0x7098
xorl %r12d, %r12d
movzbl (%r14,%r12), %eax
leal -0x8(%rax), %ecx
cmpl $0x5, %ecx
ja 0x5aa2
movslq (%r15,%rcx,4), %rcx
addq %r15, %rcx
jmpq *%rcx
leaq 0x18d3(%rip), %rsi      # 0x7373
jmp 0x5b06
leaq 0x18c7(%rip), %rsi      # 0x7370
cmpl $0x22, %eax
je 0x5b06
cmpl $0x5c, %eax
jne 0x5abc
leaq 0x18b3(%rip), %rsi      # 0x736d
jmp 0x5b06
movsbl %al, %edx
cmpb $0x1f, %dl
jg 0x5b1c
leaq -0x2f(%rbp), %rdi
leaq 0x18b3(%rip), %rsi      # 0x7382
xorl %eax, %eax
callq 0x2070
movq %rbx, %rdi
leaq -0x2f(%rbp), %rsi
callq 0x22b0
jmp 0x5b0e
leaq 0x1894(%rip), %rsi      # 0x737f
jmp 0x5b06
leaq 0x1885(%rip), %rsi      # 0x7379
jmp 0x5b06
leaq 0x1879(%rip), %rsi      # 0x7376
jmp 0x5b06
leaq 0x1876(%rip), %rsi      # 0x737c
movq %rbx, %rdi
callq 0x22b0
incq %r12
cmpq %r12, %r13
jne 0x5a83
jmp 0x5b28
movq %rbx, %rdi
movl %edx, %esi
callq 0x21b0
jmp 0x5b0e
movq %rbx, %rdi
movl $0x22, %esi
callq 0x21b0
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5b4b
jmp 0x5b4b
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x38(%rbp), %rdi
je 0x5b5c
callq 0x21d0
movq %r14, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O3/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::StyleWriter::convert_array[abi:cxx11](JSON::Value const&)
std::string convert_array(const Value& root) {
            std::string tmp_str;
            tmp_str += "[\n";
            tab_count++;
            for (size_t i = 0; i < root.size(); i++) {
                PUSH_TAB(tmp_str);
                tmp_str += convert_value(root[i]);
                if (i + 1 != root.size())
                    tmp_str += ",\n";
                else {
                    tmp_str += '\n';
                    tab_count--;
                }
            }
            PUSH_TAB(tmp_str);
            tmp_str += ']';
            return tmp_str;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x38(%rbp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x158d(%rip), %rsi      # 0x7399
callq 0x22b0
incq 0x8(%r14)
movq %r15, -0x30(%rbp)
movq %r15, %rdi
callq 0x4738
testq %rax, %rax
je 0x5ed4
xorl %r12d, %r12d
leaq 0x155d(%rip), %r13      # 0x7391
cmpq $0x0, 0x8(%r14)
je 0x5e52
xorl %r15d, %r15d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x22b0
incq %r15
cmpq 0x8(%r14), %r15
jb 0x5e3e
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x478c
leaq -0x58(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x58a6
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x2090
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x5e8f
callq 0x21d0
incq %r12
movq -0x30(%rbp), %rdi
callq 0x4738
cmpq %rax, %r12
jne 0x5eb3
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21b0
decq 0x8(%r14)
jmp 0x5ec2
movq %rbx, %rdi
leaq 0x14d9(%rip), %rsi      # 0x7396
callq 0x22b0
movq -0x30(%rbp), %rdi
callq 0x4738
cmpq %rax, %r12
jb 0x5e34
cmpq $0x0, 0x8(%r14)
je 0x5ef9
xorl %r12d, %r12d
leaq 0x14ac(%rip), %r15      # 0x7391
movq %rbx, %rdi
movq %r15, %rsi
callq 0x22b0
incq %r12
cmpq 0x8(%r14), %r12
jb 0x5ee5
movq %rbx, %rdi
movl $0x5d, %esi
callq 0x21b0
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5f37
jmp 0x5f37
movq %rax, %r14
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x5f3a
callq 0x21d0
jmp 0x5f3a
jmp 0x5f37
jmp 0x5f37
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x38(%rbp), %rdi
je 0x5f48
callq 0x21d0
movq %r14, %rdi
callq 0x2280
// File: /workspace/github_cpp_makefile_star2_O3/chulchultrain[P]FactoryHead/MapGenerator/MapGenerator.cpp
// Function: MapGenerator::TypeToDexIDVectorMapHelper(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>>>&)
void MapGenerator::TypeToDexIDVectorMapHelper(map<string,vector<string> > &m) {
	m.clear();
	ifstream fin(TYPESFILE);
	string type;
	string DexID;
	int numTypes;
	while(fin >> DexID) {
		fin >> numTypes;
		for(int i = 0; i < numTypes; i++) {
			fin >> type;
			m[type].push_back(DexID);
		}		
	}
	fin.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x8d30
leaq 0x12fda(%rip), %rsi     # 0x16034
leaq -0x278(%rbp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x22f0
leaq -0x60(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x40(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x50(%rbp), %r15
leaq -0x70(%rbp), %r13
movq %r14, %rdi
movq %r15, %rsi
callq 0x2220
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x30ee
movq %r14, %rdi
leaq -0x2c(%rbp), %rsi
callq 0x2110
cmpl $0x0, -0x2c(%rbp)
jle 0x3094
xorl %r12d, %r12d
movq %r14, %rdi
movq %r13, %rsi
callq 0x2220
movq %rbx, %rdi
movq %r13, %rsi
callq 0x589a
movq %rax, %rdi
movq %r15, %rsi
callq 0x591a
incl %r12d
cmpl -0x2c(%rbp), %r12d
jl 0x30c2
jmp 0x3094
leaq -0x278(%rbp), %rdi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3113
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x312c
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x278(%rbp), %rdi
callq 0x2070
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x314e
jmp 0x314e
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x316a
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3183
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x278(%rbp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0x22d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/chulchultrain[P]FactoryHead/MapGenerator/MapGenerator.cpp
// Function: MapGenerator::DexIDToNameMapHelper(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&)
void MapGenerator::DexIDToNameMapHelper(map<string,string> &m) {
	m.clear();
	ifstream fin(NAMESFILE);
	string name;
	string DexID,discard;
	while(getline(fin,DexID) ) {
		getline(fin,name);
		m[DexID] = name;
		getline(fin,discard);
	}
	fin.close();
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x8960
leaq 0x12e4e(%rip), %rsi     # 0x16020
leaq -0x290(%rbp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x22f0
leaq -0x78(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x58(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x68(%rbp), %r15
leaq -0x88(%rbp), %r12
leaq -0x48(%rbp), %r13
movq -0x290(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2300
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x32bc
movq -0x290(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x2300
movq %rbx, %rdi
movq %r15, %rsi
callq 0x581a
movq %rax, %rdi
movq %r12, %rsi
callq 0x20f0
movq -0x290(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x2300
jmp 0x3221
leaq -0x290(%rbp), %rdi
callq 0x2060
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x32e1
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x32fa
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x3316
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x290(%rbp), %rdi
callq 0x2070
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3336
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x3352
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x336b
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x3387
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x290(%rbp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0x22d0
nop