LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/benchmark.c
// Function: resultStdevIntervalByRun
static double resultStdevIntervalByRun(const RESULT* results, unsigned int run) {
  unsigned long avg = resultAvgIntervalByRun(results, run);
  unsigned long sumPow = 0;
  unsigned long loops = 0;
  unsigned int id = 0;

  for (const RESULT* r = results; r; r = r->next) {
    sumPow += loopSumPow(r->loops, run, avg);
    loops += resultThreadLoops(results, id);
    id++;
  }

  return sqrt((double)sumPow/(double)loops);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, %r14d
movq %rdi, %rbx
callq 0x4c3a
testq %rbx, %rbx
je 0x4e40
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x37c9(%rip), %xmm0     # 0x84e8
cvttsd2si %xmm0, %rdx
andq %rcx, %rdx
orq %rax, %rdx
movq %rdx, 0x28(%rsp)
xorl %r15d, %r15d
leaq 0x30(%rsp), %r12
movq %rbx, %rcx
xorl %eax, %eax
xorl %r13d, %r13d
movq %rbx, (%rsp)
movq %r13, 0x8(%rsp)
movq %r15, 0x18(%rsp)
movq (%rcx), %r15
testq %r15, %r15
movq %rax, 0x20(%rsp)
movq %rcx, 0x10(%rsp)
je 0x4dbd
xorl %ebp, %ebp
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
movq (%r15), %r13
testq %r13, %r13
je 0x4d9e
movl %r14d, %ebx
cmpl $-0x1, %r14d
sete %al
subl $0x1, %ebx
setb %cl
orb %al, %cl
testb $0x1, %cl
je 0x4d95
movq %r12, %rdi
movq %r13, %rsi
callq 0x3b9f
movq 0x28(%r13), %r13
testq %r13, %r13
jne 0x4d76
movq %r12, %rdi
callq 0x3b60
subq 0x28(%rsp), %rax
imulq %rax, %rax
addq %rax, %rbp
movq 0x10(%r15), %r15
testq %r15, %r15
jne 0x4d61
jmp 0x4dbf
xorl %ebp, %ebp
movq 0x8(%rsp), %r13
addq %rbp, %r13
movq (%rsp), %rdi
movq 0x18(%rsp), %r15
movl %r15d, %esi
callq 0x4f3c
movq 0x20(%rsp), %rcx
addq %rax, %rcx
movq %rcx, %rax
incl %r15d
movq 0x10(%rsp), %rcx
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
jne 0x4d43
movq %r13, %xmm1
movq 0x36ab(%rip), %xmm2     # 0x84b0
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x36af(%rip), %xmm3     # 0x84c0
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movq %rax, %xmm1
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
jmp 0x4e48
movsd 0x3698(%rip), %xmm0     # 0x84e0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x4e58
sqrtsd %xmm0, %xmm0
jmp 0x4e5d
callq 0x21d0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/benchmark.c
// Function: runOutputSample
static size_t *runOutputSample(const RUN* runs) {
  size_t *samples = NULL;
  unsigned int count = 0;

  for (const RUN* r = runs; r; r = r->next) {
    samples = (size_t*)realloc(samples, sizeof(size_t) * (count + 1));
    samples[count] = r->outputBytes;
    count ++;
  }

  return samples;
}

// Assembly:
testq %rdi, %rdi
je 0x4eae
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl $0x1, %r14d
xorl %eax, %eax
leal -0x1(%r14), %r15d
movl %r14d, %esi
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2448
movq 0x20(%rbx), %rcx
movq %rcx, (%rax,%r15,8)
movq 0x28(%rbx), %rbx
incl %r14d
testq %rbx, %rbx
jne 0x4e81
popq %rbx
popq %r14
popq %r15
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/benchmark.c
// Function: loopTotalTime
static unsigned long loopTotalTime(const LOOP* loops, const unsigned int run, 
                          struct timeval *totalTime) {
  assert(totalTime);
  totalTime->tv_sec = 0;
  totalTime->tv_usec = 0;

  for (const LOOP* l = loops; l; l = l->next) {
    runTotalTime(l->runs, run, totalTime);
  }

  return timevalToUsec(totalTime);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdx, %rdx
je 0x4f1d
movq %rdx, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdx)
testq %rdi, %rdi
je 0x4f0d
movl %esi, %ebp
movq (%r14), %r15
testq %r15, %r15
je 0x4f04
movl %ebp, %r12d
cmpl $-0x1, %ebp
sete %al
subl $0x1, %r12d
setb %cl
orb %al, %cl
testb $0x1, %cl
je 0x4efb
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b9f
movq 0x28(%r15), %r15
testq %r15, %r15
jne 0x4edc
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x4ed1
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x3b60
leaq 0x3834(%rip), %rdi      # 0x8758
leaq 0x35c5(%rip), %rsi      # 0x84f0
leaq 0x3830(%rip), %rcx      # 0x8762
movl $0xbc, %edx
callq 0x2190
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/benchmark.c
// Function: resultThreadLoops
static unsigned long resultThreadLoops(const RESULT* result, const unsigned int thread) {
  unsigned int currentThread = 0;

  for (const RESULT *re = result; re; re = re->next) {
    if (currentThread == thread) {
      return getLoops(re->loops);
    }

    currentThread ++;
  }
  assert(0);
  return 0;
}

// Assembly:
pushq %rax
testq %rdi, %rdi
sete %cl
je 0x4f6c
testl %esi, %esi
je 0x4f59
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
sete %cl
je 0x4f6c
decl %esi
jne 0x4f49
movq (%rdi), %rdx
xorl %eax, %eax
testq %rdx, %rdx
je 0x4f6c
incq %rax
movq 0x10(%rdx), %rdx
jmp 0x4f5e
testb %cl, %cl
jne 0x4f72
popq %rcx
retq
leaq 0x32fe(%rip), %rdi      # 0x8277
leaq 0x3570(%rip), %rsi      # 0x84f0
leaq 0x391d(%rip), %rcx      # 0x88a4
movl $0x65, %edx
callq 0x2190
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_Delete
CJSON_PUBLIC(void) cJSON_Delete(cJSON *item)
{
    cJSON *next = NULL;
    while (item != NULL)
    {
        next = item->next;
        if (!(item->type & cJSON_IsReference) && (item->child != NULL))
        {
            cJSON_Delete(item->child);
        }
        if (!(item->type & cJSON_IsReference) && (item->valuestring != NULL))
        {
            global_hooks.deallocate(item->valuestring);
        }
        if (!(item->type & cJSON_StringIsConst) && (item->string != NULL))
        {
            global_hooks.deallocate(item->string);
        }
        global_hooks.deallocate(item);
        item = next;
    }
}

// Assembly:
testq %rdi, %rdi
je 0x50d2
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rbx, %r14
movq (%rbx), %rbx
testb $0x1, 0x19(%r14)
jne 0x5091
movq 0x10(%r14), %rdi
testq %rdi, %rdi
je 0x5091
callq 0x506a
testb $0x1, 0x19(%r14)
jne 0x50a7
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x50a7
callq *0x7189(%rip)           # 0xc230
testb $0x2, 0x19(%r14)
jne 0x50bd
movq 0x38(%r14), %rdi
testq %rdi, %rdi
je 0x50bd
callq *0x7173(%rip)           # 0xc230
movq %r14, %rdi
callq *0x716a(%rip)           # 0xc230
testq %rbx, %rbx
jne 0x5076
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: buffer_skip_whitespace
static parse_buffer *buffer_skip_whitespace(parse_buffer * const buffer)
{
    if ((buffer == NULL) || (buffer->content == NULL))
    {
        return NULL;
    }

    while (can_access_at_index(buffer, 0) && (buffer_at_offset(buffer)[0] <= 32))
    {
       buffer->offset++;
    }

    if (buffer->offset == buffer->length)
    {
        buffer->offset--;
    }

    return buffer;
}

// Assembly:
testq %rdi, %rdi
je 0x5682
movq %rdi, %rax
movq (%rdi), %rsi
testq %rsi, %rsi
je 0x5682
movq 0x8(%rax), %rdx
movq 0x10(%rax), %rcx
cmpq %rdx, %rcx
jae 0x5675
cmpb $0x20, (%rsi,%rcx)
ja 0x5675
incq %rcx
movq %rcx, 0x10(%rax)
cmpq %rcx, %rdx
jne 0x5660
movq %rdx, %rcx
cmpq %rdx, %rcx
jne 0x5684
decq %rcx
movq %rcx, 0x10(%rax)
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: print
static unsigned char *print(const cJSON * const item, cJSON_bool format, const internal_hooks * const hooks)
{
    static const size_t default_buffer_size = 256;
    printbuffer buffer[1];
    unsigned char *printed = NULL;

    memset(buffer, 0, sizeof(buffer));

    /* create buffer */
    buffer->buffer = (unsigned char*) hooks->allocate(default_buffer_size);
    buffer->length = default_buffer_size;
    buffer->format = format;
    buffer->hooks = *hooks;
    if (buffer->buffer == NULL)
    {
        goto fail;
    }

    /* print the value */
    if (!print_value(item, buffer))
    {
        goto fail;
    }
    update_offset(buffer);

    /* check if reallocate is available */
    if (hooks->reallocate != NULL)
    {
        printed = (unsigned char*) hooks->reallocate(buffer->buffer, buffer->offset + 1);
        if (printed == NULL) {
            goto fail;
        }
        buffer->buffer = NULL;
    }
    else /* otherwise copy the JSON over to a new buffer */
    {
        printed = (unsigned char*) hooks->allocate(buffer->offset + 1);
        if (printed == NULL)
        {
            goto fail;
        }
        memcpy(printed, buffer->buffer, cjson_min(buffer->length, buffer->offset + 1));
        printed[buffer->offset] = '\0'; /* just to be sure */

        /* free the buffer */
        hooks->deallocate(buffer->buffer);
    }

    return printed;

fail:
    if (buffer->buffer != NULL)
    {
        hooks->deallocate(buffer->buffer);
    }

    if (printed != NULL)
    {
        hooks->deallocate(printed);
    }

    return NULL;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %esi, %ebp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movl $0x100, %edi            # imm = 0x100
callq *0x6b65(%rip)           # 0xc228
movq %rax, (%rsp)
movq $0x100, 0x8(%rsp)       # imm = 0x100
movl %ebp, 0x24(%rsp)
movups 0x6b4d(%rip), %xmm0     # 0xc228
movups %xmm0, 0x28(%rsp)
movq 0x6b51(%rip), %rcx      # 0xc238
movq %rcx, 0x38(%rsp)
testq %rax, %rax
je 0x579d
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x5853
testl %eax, %eax
je 0x579d
movq (%rsp), %rbx
testq %rbx, %rbx
je 0x5727
movq 0x10(%rsp), %r14
leaq (%rbx,%r14), %rdi
callq 0x20e0
addq %r14, %rax
movq %rax, 0x10(%rsp)
movq 0x6b0a(%rip), %rax      # 0xc238
testq %rax, %rax
je 0x5752
movq 0x10(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
callq *%rax
testq %rax, %rax
je 0x579d
movq %rax, %rbx
movq $0x0, (%rsp)
jmp 0x57ae
movq 0x10(%rsp), %rdi
incq %rdi
callq *0x6ac8(%rip)           # 0xc228
testq %rax, %rax
je 0x579d
movq %rax, %rbx
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
incq %rdx
cmpq %rdx, %rax
cmovbq %rax, %rdx
movq %rbx, %rdi
callq 0x21e0
movq 0x10(%rsp), %rax
movb $0x0, (%rbx,%rax)
movq (%rsp), %rdi
callq *0x6a95(%rip)           # 0xc230
jmp 0x57ae
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x57ac
callq *0x6a84(%rip)           # 0xc230
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_PrintBuffered
CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt)
{
    printbuffer p = { 0, 0, 0, 0, 0, 0, { 0, 0, 0 } };

    if (prebuffer < 0)
    {
        return NULL;
    }

    p.buffer = (unsigned char*)global_hooks.allocate((size_t)prebuffer);
    if (!p.buffer)
    {
        return NULL;
    }

    p.length = (size_t)prebuffer;
    p.offset = 0;
    p.noalloc = false;
    p.format = fmt;
    p.hooks = global_hooks;

    if (!print_value(item, &p))
    {
        global_hooks.deallocate(p.buffer);
        return NULL;
    }

    return (char*)p.buffer;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
testl %esi, %esi
js 0x5848
movl %edx, %ebp
movq %rdi, %rbx
movl %esi, %r14d
movq %r14, %rdi
callq *0x6a34(%rip)           # 0xc228
movq %rax, (%rsp)
testq %rax, %rax
je 0x5848
movq %rsp, %rsi
movq %r14, 0x8(%rsi)
movq $0x0, 0x10(%rsi)
movl $0x0, 0x20(%rsi)
movl %ebp, 0x24(%rsi)
movups 0x6a0b(%rip), %xmm0     # 0xc228
movups %xmm0, 0x28(%rsi)
movq 0x6a10(%rip), %rax      # 0xc238
movq %rax, 0x38(%rsi)
movq %rbx, %rdi
callq 0x5853
testl %eax, %eax
je 0x583e
movq (%rsp), %rax
jmp 0x584a
movq (%rsp), %rdi
callq *0x69e8(%rip)           # 0xc230
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_PrintPreallocated
CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buf, const int len, const cJSON_bool fmt)
{
    printbuffer p = { 0, 0, 0, 0, 0, 0, { 0, 0, 0 } };

    if ((len < 0) || (buf == NULL))
    {
        return false;
    }

    p.buffer = (unsigned char*)buf;
    p.length = (size_t)len;
    p.offset = 0;
    p.noalloc = true;
    p.format = fmt;
    p.hooks = global_hooks;

    return print_value(item, &p);
}

// Assembly:
subq $0x48, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
testl %edx, %edx
sets %r8b
testq %rsi, %rsi
sete %r9b
xorl %eax, %eax
orb %r8b, %r9b
jne 0x5d82
movq %rsp, %rax
movq %rsi, (%rax)
movl %edx, %edx
movq %rdx, 0x8(%rax)
movq $0x0, 0x10(%rax)
movl $0x1, 0x20(%rax)
movl %ecx, 0x24(%rax)
movups 0x64bd(%rip), %xmm0     # 0xc228
movups %xmm0, 0x28(%rax)
movq 0x64c2(%rip), %rcx      # 0xc238
movq %rcx, 0x38(%rax)
movq %rax, %rsi
callq 0x5853
addq $0x48, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: get_object_item
static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive)
{
    cJSON *current_element = NULL;

    if ((object == NULL) || (name == NULL))
    {
        return NULL;
    }

    current_element = object->child;
    if (case_sensitive)
    {
        while ((current_element != NULL) && (current_element->string != NULL) && (strcmp(name, current_element->string) != 0))
        {
            current_element = current_element->next;
        }
    }
    else
    {
        while ((current_element != NULL) && (case_insensitive_strcmp((const unsigned char*)name, (const unsigned char*)(current_element->string)) != 0))
        {
            current_element = current_element->next;
        }
    }

    if ((current_element == NULL) || (current_element->string == NULL)) {
        return NULL;
    }

    return current_element;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x5e81
movq %rsi, %r14
movq 0x10(%rdi), %rbx
testl %edx, %edx
je 0x5e68
testq %rbx, %rbx
je 0x5e6d
movq 0x38(%rbx), %rsi
testq %rsi, %rsi
je 0x5e6f
movq %r14, %rdi
callq 0x2300
testl %eax, %eax
je 0x5e6f
movq (%rbx), %rbx
jmp 0x5dfa
movq 0x38(%rbx), %r15
testq %r15, %r15
je 0x5e65
cmpq %r14, %r15
je 0x5e6f
callq 0x2070
movq (%rax), %rax
movzbl (%r14), %ecx
movl (%rax,%rcx,4), %esi
movzbl (%r15), %edx
movl (%rax,%rdx,4), %edi
cmpl %edi, %esi
jne 0x5e61
movl $0x1, %edx
testb %cl, %cl
je 0x5e6f
movzbl (%r14,%rdx), %ecx
movl (%rax,%rcx,4), %esi
movzbl (%r15,%rdx), %edi
movl (%rax,%rdi,4), %edi
incq %rdx
cmpl %edi, %esi
je 0x5e46
cmpl %edi, %esi
je 0x5e6f
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x5e19
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x5e81
movq 0x38(%rbx), %rax
testq %rax, %rax
cmoveq %rax, %rbx
jmp 0x5e83
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: add_item_to_object
static cJSON_bool add_item_to_object(cJSON * const object, const char * const string, cJSON * const item, const internal_hooks * const hooks, const cJSON_bool constant_key)
{
    char *new_key = NULL;
    int new_type = cJSON_Invalid;

    if ((object == NULL) || (string == NULL) || (item == NULL))
    {
        return false;
    }

    if (constant_key)
    {
        new_key = (char*)cast_away_const(string);
        new_type = item->type | cJSON_StringIsConst;
    }
    else
    {
        new_key = (char*)cJSON_strdup((const unsigned char*)string, hooks);
        if (new_key == NULL)
        {
            return false;
        }

        new_type = item->type & ~cJSON_StringIsConst;
    }

    if (!(item->type & cJSON_StringIsConst) && (item->string != NULL))
    {
        hooks->deallocate(item->string);
    }

    item->string = new_key;
    item->type = new_type;

    return add_item_to_array(object, item);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %dl
orb %al, %dl
testq %rbx, %rbx
sete %al
xorl %r12d, %r12d
orb %dl, %al
jne 0x5fa8
movq %rsi, %r15
movq %rdi, %r14
testl %ecx, %ecx
je 0x5f20
movl $0x200, %ebp            # imm = 0x200
orl 0x18(%rbx), %ebp
jmp 0x5f65
movq %r15, %rdi
callq 0x20e0
movq %rax, %r13
incq %r13
movq %r13, %rdi
callq *0x62f1(%rip)           # 0xc228
xorl %r12d, %r12d
testq %rax, %rax
je 0x5f55
movq %rax, %rbp
movq %rax, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x21e0
movq %rbp, %r15
jmp 0x5f58
xorl %r15d, %r15d
testq %r15, %r15
je 0x5fa8
movl $0xfffffdff, %ebp       # imm = 0xFFFFFDFF
andl 0x18(%rbx), %ebp
testb $0x2, 0x19(%rbx)
jne 0x5f7a
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x5f7a
callq *0x62b6(%rip)           # 0xc230
movq %r15, 0x38(%rbx)
movl %ebp, 0x18(%rbx)
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x5f9e
movq %rax, %rcx
movq (%rax), %rax
testq %rax, %rax
jne 0x5f8a
movq %rbx, (%rcx)
movq %rcx, 0x8(%rbx)
jmp 0x5fa2
movq %rbx, 0x10(%r14)
movl $0x1, %r12d
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_AddNullToObject
CJSON_PUBLIC(cJSON*) cJSON_AddNullToObject(cJSON * const object, const char * const name)
{
    cJSON *null = cJSON_CreateNull();
    if (add_item_to_object(object, name, null, &global_hooks, false))
    {
        return null;
    }

    cJSON_Delete(null);
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x40, %edi
callq *0x6121(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x6128
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x4, 0x18(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x5edf
testl %eax, %eax
jne 0x6146
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateNull
CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = cJSON_NULL;
    }

    return item;
}

// Assembly:
pushq %rax
movl $0x40, %edi
callq *0x60cd(%rip)           # 0xc228
testq %rax, %rax
je 0x6179
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x4, 0x18(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_AddTrueToObject
CJSON_PUBLIC(cJSON*) cJSON_AddTrueToObject(cJSON * const object, const char * const name)
{
    cJSON *true_item = cJSON_CreateTrue();
    if (add_item_to_object(object, name, true_item, &global_hooks, false))
    {
        return true_item;
    }

    cJSON_Delete(true_item);
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x40, %edi
callq *0x6097(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x61b2
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x2, 0x18(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x5edf
testl %eax, %eax
jne 0x61d0
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateTrue
CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = cJSON_True;
    }

    return item;
}

// Assembly:
pushq %rax
movl $0x40, %edi
callq *0x6043(%rip)           # 0xc228
testq %rax, %rax
je 0x6203
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x2, 0x18(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_AddFalseToObject
CJSON_PUBLIC(cJSON*) cJSON_AddFalseToObject(cJSON * const object, const char * const name)
{
    cJSON *false_item = cJSON_CreateFalse();
    if (add_item_to_object(object, name, false_item, &global_hooks, false))
    {
        return false_item;
    }

    cJSON_Delete(false_item);
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x40, %edi
callq *0x600d(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x623c
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x1, 0x18(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x5edf
testl %eax, %eax
jne 0x625a
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateFalse
CJSON_PUBLIC(cJSON *) cJSON_CreateFalse(void)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = cJSON_False;
    }

    return item;
}

// Assembly:
pushq %rax
movl $0x40, %edi
callq *0x5fb9(%rip)           # 0xc228
testq %rax, %rax
je 0x628d
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x1, 0x18(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_AddBoolToObject
CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJSON_bool boolean)
{
    cJSON *bool_item = cJSON_CreateBool(boolean);
    if (add_item_to_object(object, name, bool_item, &global_hooks, false))
    {
        return bool_item;
    }

    cJSON_Delete(bool_item);
    return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movl $0x40, %edi
callq *0x5f7f(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x62d1
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
cmpl $0x1, %ebp
movl $0x2, %eax
sbbl $0x0, %eax
movl %eax, 0x18(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x5edf
testl %eax, %eax
jne 0x62ef
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateBool
CJSON_PUBLIC(cJSON *) cJSON_CreateBool(cJSON_bool b)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = b ? cJSON_True : cJSON_False;
    }

    return item;
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movl $0x40, %edi
callq *0x5f1d(%rip)           # 0xc228
testq %rax, %rax
je 0x6330
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
cmpl $0x1, %ebx
movl $0x2, %ecx
sbbl $0x0, %ecx
movl %ecx, 0x18(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_AddNumberToObject
CJSON_PUBLIC(cJSON*) cJSON_AddNumberToObject(cJSON * const object, const char * const name, const double number)
{
    cJSON *number_item = cJSON_CreateNumber(number);
    if (add_item_to_object(object, name, number_item, &global_hooks, false))
    {
        return number_item;
    }

    cJSON_Delete(number_item);
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rsi, %r14
movq %rdi, %r15
movl $0x40, %edi
callq *0x5ed6(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x63ac
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rbx)
movupd %xmm0, 0x30(%rbx)
movupd %xmm0, 0x20(%rbx)
movupd %xmm0, (%rbx)
movl $0x8, 0x18(%rbx)
movsd 0x8(%rsp), %xmm1
movsd %xmm1, 0x30(%rbx)
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
ucomisd 0x2558(%rip), %xmm1     # 0x88e8
jae 0x63a9
movl $0x80000000, %eax       # imm = 0x80000000
movsd 0x2551(%rip), %xmm0     # 0x88f0
ucomisd %xmm1, %xmm0
jae 0x63a9
cvttsd2si %xmm1, %eax
movl %eax, 0x28(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x5edf
testl %eax, %eax
jne 0x63ca
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateNumber
CJSON_PUBLIC(cJSON *) cJSON_CreateNumber(double num)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = cJSON_Number;
        item->valuedouble = num;

        /* use saturation in case of overflow */
        if (num >= INT_MAX)
        {
            item->valueint = INT_MAX;
        }
        else if (num <= (double)INT_MIN)
        {
            item->valueint = INT_MIN;
        }
        else
        {
            item->valueint = (int)num;
        }
    }

    return item;
}

// Assembly:
pushq %rax
movsd %xmm0, (%rsp)
movl $0x40, %edi
callq *0x5e40(%rip)           # 0xc228
testq %rax, %rax
je 0x643e
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movupd %xmm0, 0x30(%rax)
movupd %xmm0, 0x20(%rax)
movupd %xmm0, (%rax)
movl $0x8, 0x18(%rax)
movsd (%rsp), %xmm1
movsd %xmm1, 0x30(%rax)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
ucomisd 0x24c6(%rip), %xmm1     # 0x88e8
jae 0x643b
movl $0x80000000, %ecx       # imm = 0x80000000
movsd 0x24bf(%rip), %xmm0     # 0x88f0
ucomisd %xmm1, %xmm0
jae 0x643b
cvttsd2si %xmm1, %ecx
movl %ecx, 0x28(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateString
CJSON_PUBLIC(cJSON *) cJSON_CreateString(const char *string)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = cJSON_String;
        item->valuestring = (char*)cJSON_strdup((const unsigned char*)string, &global_hooks);
        if(!item->valuestring)
        {
            cJSON_Delete(item);
            return NULL;
        }
    }

    return item;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x40, %edi
callq *0x5d95(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x64fe
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x10, 0x18(%rbx)
testq %r14, %r14
je 0x64e8
movq %r14, %rdi
callq 0x20e0
movq %rax, %r12
incq %r12
movq %r12, %rdi
callq *0x5d58(%rip)           # 0xc228
testq %rax, %rax
je 0x64e8
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x21e0
jmp 0x64eb
xorl %r15d, %r15d
movq %r15, 0x20(%rbx)
testq %r15, %r15
jne 0x64fe
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateRaw
CJSON_PUBLIC(cJSON *) cJSON_CreateRaw(const char *raw)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = cJSON_Raw;
        item->valuestring = (char*)cJSON_strdup((const unsigned char*)raw, &global_hooks);
        if(!item->valuestring)
        {
            cJSON_Delete(item);
            return NULL;
        }
    }

    return item;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x40, %edi
callq *0x5cc8(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x65cb
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x80, 0x18(%rbx)
testq %r14, %r14
je 0x65b5
movq %r14, %rdi
callq 0x20e0
movq %rax, %r12
incq %r12
movq %r12, %rdi
callq *0x5c8b(%rip)           # 0xc228
testq %rax, %rax
je 0x65b5
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x21e0
jmp 0x65b8
xorl %r15d, %r15d
movq %r15, 0x20(%rbx)
testq %r15, %r15
jne 0x65cb
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_AddObjectToObject
CJSON_PUBLIC(cJSON*) cJSON_AddObjectToObject(cJSON * const object, const char * const name)
{
    cJSON *object_item = cJSON_CreateObject();
    if (add_item_to_object(object, name, object_item, &global_hooks, false))
    {
        return object_item;
    }

    cJSON_Delete(object_item);
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x40, %edi
callq *0x5c38(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x6611
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x40, 0x18(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x5edf
testl %eax, %eax
jne 0x662f
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateObject
CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if (item)
    {
        item->type = cJSON_Object;
    }

    return item;
}

// Assembly:
pushq %rax
movl $0x40, %edi
callq *0x5be4(%rip)           # 0xc228
testq %rax, %rax
je 0x6662
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x40, 0x18(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_AddArrayToObject
CJSON_PUBLIC(cJSON*) cJSON_AddArrayToObject(cJSON * const object, const char * const name)
{
    cJSON *array = cJSON_CreateArray();
    if (add_item_to_object(object, name, array, &global_hooks, false))
    {
        return array;
    }

    cJSON_Delete(array);
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x40, %edi
callq *0x5bae(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x669b
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x20, 0x18(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x5edf
testl %eax, %eax
jne 0x66b9
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateArray
CJSON_PUBLIC(cJSON *) cJSON_CreateArray(void)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type=cJSON_Array;
    }

    return item;
}

// Assembly:
pushq %rax
movl $0x40, %edi
callq *0x5b5a(%rip)           # 0xc228
testq %rax, %rax
je 0x66ec
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x20, 0x18(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_InsertItemInArray
CJSON_PUBLIC(void) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem)
{
    cJSON *after_inserted = NULL;

    if (which < 0)
    {
        return;
    }

    after_inserted = get_array_item(array, (size_t)which);
    if (after_inserted == NULL)
    {
        add_item_to_array(array, newitem);
        return;
    }

    newitem->next = after_inserted;
    newitem->prev = after_inserted->prev;
    after_inserted->prev = newitem;
    if (after_inserted == array->child)
    {
        array->child = newitem;
    }
    else
    {
        newitem->prev->next = newitem;
    }
}

// Assembly:
testl %esi, %esi
js 0x6840
testq %rdi, %rdi
je 0x680c
movl %esi, %ecx
leaq 0x10(%rdi), %rax
movq (%rax), %rax
addq $-0x1, %rcx
setb %sil
testq %rax, %rax
je 0x680e
testb %sil, %sil
jne 0x67f5
jmp 0x680e
xorl %eax, %eax
testq %rax, %rax
je 0x6830
movq %rax, (%rdx)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq %rdx, 0x8(%rax)
cmpq 0x10(%rdi), %rax
je 0x685d
movq 0x8(%rdx), %rax
movq %rdx, (%rax)
retq
testq %rdi, %rdi
sete %al
testq %rdx, %rdx
sete %cl
orb %al, %cl
je 0x6841
retq
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0x685d
movq %rax, %rcx
movq (%rax), %rax
testq %rax, %rax
jne 0x684a
movq %rdx, (%rcx)
movq %rcx, 0x8(%rdx)
retq
movq %rdx, 0x10(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: replace_item_in_object
static cJSON_bool replace_item_in_object(cJSON *object, const char *string, cJSON *replacement, cJSON_bool case_sensitive)
{
    if ((replacement == NULL) || (string == NULL))
    {
        return false;
    }

    /* replace the name in the replacement */
    if (!(replacement->type & cJSON_StringIsConst) && (replacement->string != NULL))
    {
        cJSON_free(replacement->string);
    }
    replacement->string = (char*)cJSON_strdup((const unsigned char*)string, &global_hooks);
    replacement->type &= ~cJSON_StringIsConst;

    cJSON_ReplaceItemViaPointer(object, get_object_item(object, string, case_sensitive), replacement);

    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
testq %rdx, %rdx
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
je 0x6920
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testb $0x2, 0x19(%rdx)
jne 0x693e
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x693e
callq *0x58f2(%rip)           # 0xc230
movq %r15, %rdi
callq 0x20e0
movq %rax, %r13
incq %r13
movq %r13, %rdi
callq *0x58d3(%rip)           # 0xc228
testq %rax, %rax
je 0x696d
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x21e0
jmp 0x6970
xorl %r12d, %r12d
movq %r12, 0x38(%rbx)
andb $-0x3, 0x19(%rbx)
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x5dd6
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6862
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateStringReference
CJSON_PUBLIC(cJSON *) cJSON_CreateStringReference(const char *string)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if (item != NULL)
    {
        item->type = cJSON_String | cJSON_IsReference;
        item->valuestring = (char*)cast_away_const(string);
    }

    return item;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x40, %edi
callq *0x586e(%rip)           # 0xc228
testq %rax, %rax
je 0x69dc
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, (%rax)
movl $0x110, 0x18(%rax)      # imm = 0x110
movq %rbx, 0x20(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateObjectReference
CJSON_PUBLIC(cJSON *) cJSON_CreateObjectReference(const cJSON *child)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if (item != NULL) {
        item->type = cJSON_Object | cJSON_IsReference;
        item->child = (cJSON*)cast_away_const(child);
    }

    return item;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x40, %edi
callq *0x583b(%rip)           # 0xc228
testq %rax, %rax
je 0x6a0f
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x140, 0x18(%rax)      # imm = 0x140
movq %rbx, 0x10(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateArrayReference
CJSON_PUBLIC(cJSON *) cJSON_CreateArrayReference(const cJSON *child) {
    cJSON *item = cJSON_New_Item(&global_hooks);
    if (item != NULL) {
        item->type = cJSON_Array | cJSON_IsReference;
        item->child = (cJSON*)cast_away_const(child);
    }

    return item;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x40, %edi
callq *0x5808(%rip)           # 0xc228
testq %rax, %rax
je 0x6a42
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x120, 0x18(%rax)      # imm = 0x120
movq %rbx, 0x10(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateIntArray
CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count)
{
    size_t i = 0;
    cJSON *n = NULL;
    cJSON *p = NULL;
    cJSON *a = NULL;

    if ((count < 0) || (numbers == NULL))
    {
        return NULL;
    }

    a = cJSON_CreateArray();
    for(i = 0; a && (i < (size_t)count); i++)
    {
        n = cJSON_CreateNumber(numbers[i]);
        if (!n)
        {
            cJSON_Delete(a);
            return NULL;
        }
        if(!i)
        {
            a->child = n;
        }
        else
        {
            suffix_object(p, n);
        }
        p = n;
    }

    return a;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %esi, %esi
sets %al
testq %rdi, %rdi
sete %cl
orb %al, %cl
jne 0x6b23
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %edi
callq *0x57b6(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x6a98
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rbx)
movupd %xmm0, 0x30(%rbx)
movupd %xmm0, 0x20(%rbx)
movupd %xmm0, (%rbx)
movl $0x20, 0x18(%rbx)
testq %rbx, %rbx
sete %al
testl %ebp, %ebp
sete %cl
orb %al, %cl
jne 0x6b25
movl %ebp, %r15d
movl $0x1, %r12d
xorl %r13d, %r13d
movl -0x4(%r14,%r12,4), %ebp
movl $0x40, %edi
callq *0x5765(%rip)           # 0xc228
testq %rax, %rax
je 0x6b1b
xorps %xmm0, %xmm0
cvtsi2sd %ebp, %xmm0
xorps %xmm1, %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm1, 0x30(%rax)
movups %xmm1, 0x20(%rax)
movups %xmm1, (%rax)
movl $0x8, 0x18(%rax)
movsd %xmm0, 0x30(%rax)
movl %ebp, 0x28(%rax)
cmpq $0x1, %r12
jne 0x6afc
movq %rax, 0x10(%rbx)
jmp 0x6b04
movq %rax, (%r13)
movq %r13, 0x8(%rax)
testq %rbx, %rbx
je 0x6b25
leaq 0x1(%r12), %rcx
movq %rax, %r13
cmpq %r15, %r12
movq %rcx, %r12
jb 0x6ab3
jmp 0x6b25
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateFloatArray
CJSON_PUBLIC(cJSON *) cJSON_CreateFloatArray(const float *numbers, int count)
{
    size_t i = 0;
    cJSON *n = NULL;
    cJSON *p = NULL;
    cJSON *a = NULL;

    if ((count < 0) || (numbers == NULL))
    {
        return NULL;
    }

    a = cJSON_CreateArray();

    for(i = 0; a && (i < (size_t)count); i++)
    {
        n = cJSON_CreateNumber((double)numbers[i]);
        if(!n)
        {
            cJSON_Delete(a);
            return NULL;
        }
        if(!i)
        {
            a->child = n;
        }
        else
        {
            suffix_object(p, n);
        }
        p = n;
    }

    return a;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %esi, %esi
sets %al
testq %rdi, %rdi
sete %cl
orb %al, %cl
jne 0x6c55
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %edi
callq *0x56c3(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x6b86
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x20, 0x18(%rbx)
testq %rbx, %rbx
sete %al
testl %ebp, %ebp
sete %cl
orb %al, %cl
jne 0x6c57
movl %ebp, %r15d
movl $0x1, %r12d
xorl %r13d, %r13d
movss -0x4(%r14,%r12,4), %xmm0
movss %xmm0, 0x4(%rsp)
movl $0x40, %edi
callq *0x566b(%rip)           # 0xc228
testq %rax, %rax
je 0x6c4d
movss 0x4(%rsp), %xmm2
xorps %xmm0, %xmm0
cvtss2sd %xmm2, %xmm0
xorps %xmm1, %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm1, 0x30(%rax)
movups %xmm1, 0x20(%rax)
movups %xmm1, (%rax)
movl $0x8, 0x18(%rax)
movsd %xmm0, 0x30(%rax)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
ucomisd 0x1cea(%rip), %xmm0     # 0x88e8
jae 0x6c16
movl $0x80000000, %ecx       # imm = 0x80000000
movss 0x1d43(%rip), %xmm0     # 0x8950
ucomiss %xmm2, %xmm0
jae 0x6c16
cvttss2si %xmm2, %ecx
movl %ecx, 0x28(%rax)
testq %rax, %rax
je 0x6c4d
cmpq $0x1, %r12
jne 0x6c2a
movq %rax, 0x10(%rbx)
jmp 0x6c32
movq %rax, (%r13)
movq %r13, 0x8(%rax)
testq %rbx, %rbx
je 0x6c57
leaq 0x1(%r12), %rcx
movq %rax, %r13
cmpq %r15, %r12
movq %rcx, %r12
jb 0x6ba5
jmp 0x6c57
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateDoubleArray
CJSON_PUBLIC(cJSON *) cJSON_CreateDoubleArray(const double *numbers, int count)
{
    size_t i = 0;
    cJSON *n = NULL;
    cJSON *p = NULL;
    cJSON *a = NULL;

    if ((count < 0) || (numbers == NULL))
    {
        return NULL;
    }

    a = cJSON_CreateArray();

    for(i = 0;a && (i < (size_t)count); i++)
    {
        n = cJSON_CreateNumber(numbers[i]);
        if(!n)
        {
            cJSON_Delete(a);
            return NULL;
        }
        if(!i)
        {
            a->child = n;
        }
        else
        {
            suffix_object(p, n);
        }
        p = n;
    }

    return a;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %esi, %esi
sets %al
testq %rdi, %rdi
sete %cl
orb %al, %cl
jne 0x6d89
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %edi
callq *0x5591(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x6cbd
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rbx)
movupd %xmm0, 0x30(%rbx)
movupd %xmm0, 0x20(%rbx)
movupd %xmm0, (%rbx)
movl $0x20, 0x18(%rbx)
testq %rbx, %rbx
sete %al
testl %ebp, %ebp
sete %cl
orb %al, %cl
jne 0x6d8b
movl %ebp, %r15d
movl $0x1, %r12d
xorl %r13d, %r13d
movsd -0x8(%r14,%r12,8), %xmm0
movsd %xmm0, (%rsp)
movl $0x40, %edi
callq *0x5535(%rip)           # 0xc228
testq %rax, %rax
je 0x6d81
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movupd %xmm0, 0x30(%rax)
movupd %xmm0, 0x20(%rax)
movupd %xmm0, (%rax)
movl $0x8, 0x18(%rax)
movsd (%rsp), %xmm1
movsd %xmm1, 0x30(%rax)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
ucomisd 0x1bb7(%rip), %xmm1     # 0x88e8
jae 0x6d4a
movl $0x80000000, %ecx       # imm = 0x80000000
movsd 0x1bb0(%rip), %xmm0     # 0x88f0
ucomisd %xmm1, %xmm0
jae 0x6d4a
cvttsd2si %xmm1, %ecx
movl %ecx, 0x28(%rax)
testq %rax, %rax
je 0x6d81
cmpq $0x1, %r12
jne 0x6d5e
movq %rax, 0x10(%rbx)
jmp 0x6d66
movq %rax, (%r13)
movq %r13, 0x8(%rax)
testq %rbx, %rbx
je 0x6d8b
leaq 0x1(%r12), %rcx
movq %rax, %r13
cmpq %r15, %r12
movq %rcx, %r12
jb 0x6cdc
jmp 0x6d8b
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_CreateStringArray
CJSON_PUBLIC(cJSON *) cJSON_CreateStringArray(const char **strings, int count)
{
    size_t i = 0;
    cJSON *n = NULL;
    cJSON *p = NULL;
    cJSON *a = NULL;

    if ((count < 0) || (strings == NULL))
    {
        return NULL;
    }

    a = cJSON_CreateArray();

    for (i = 0; a && (i < (size_t)count); i++)
    {
        n = cJSON_CreateString(strings[i]);
        if(!n)
        {
            cJSON_Delete(a);
            return NULL;
        }
        if(!i)
        {
            a->child = n;
        }
        else
        {
            suffix_object(p,n);
        }
        p = n;
    }

    return a;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %esi, %esi
sets %al
testq %rdi, %rdi
sete %cl
orb %al, %cl
jne 0x6e49
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %edi
callq *0x545d(%rip)           # 0xc228
movq %rax, %rbx
testq %rax, %rax
je 0x6dec
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, (%rbx)
movl $0x20, 0x18(%rbx)
testq %rbx, %rbx
sete %al
testl %ebp, %ebp
sete %cl
orb %al, %cl
jne 0x6e4b
movl %ebp, %r15d
movl $0x1, %r12d
xorl %r13d, %r13d
movq -0x8(%r14,%r12,8), %rdi
callq 0x647d
testq %rax, %rax
je 0x6e41
cmpq $0x1, %r12
jne 0x6e22
movq %rax, 0x10(%rbx)
jmp 0x6e2a
movq %rax, (%r13)
movq %r13, 0x8(%rax)
testq %rbx, %rbx
je 0x6e4b
leaq 0x1(%r12), %rcx
movq %rax, %r13
cmpq %r15, %r12
movq %rcx, %r12
jb 0x6e07
jmp 0x6e4b
movq %rbx, %rdi
callq 0x506a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/tomcatzh[P]RealityBenchmark/external/cJSON.c
// Function: cJSON_Minify
CJSON_PUBLIC(void) cJSON_Minify(char *json)
{
    char *into = json;

    if (json == NULL)
    {
        return;
    }

    while (json[0] != '\0')
    {
        switch (json[0])
        {
            case ' ':
            case '\t':
            case '\r':
            case '\n':
                json++;
                break;

            case '/':
                if (json[1] == '/')
                {
                    skip_oneline_comment(&json);
                }
                else if (json[1] == '*')
                {
                    skip_multiline_comment(&json);
                } else {
                    json++;
                }
                break;

            case '\"':
                minify_string(&json, (char**)&into);
                break;

            default:
                into[0] = json[0];
                json++;
                into++;
        }
    }

    /* and null-terminate. */
    *into = '\0';
}

// Assembly:
testq %rdi, %rdi
je 0x70c2
movabsq $0x100002600, %rax      # imm = 0x100002600
movq %rdi, %rcx
movq %rdi, %rdx
movzbl (%rdi), %esi
cmpq $0x2f, %rsi
ja 0x7020
btq %rsi, %rax
jae 0x6fe6
incq %rdx
movq %rdx, %rdi
jmp 0x6fcc
cmpq $0x22, %rsi
je 0x7036
cmpq $0x2f, %rsi
jne 0x7020
movzbl 0x1(%rdx), %esi
cmpl $0x2a, %esi
je 0x7085
leaq 0x1(%rdx), %rdi
cmpl $0x2f, %esi
jne 0x6fcc
addq $0x2, %rdx
movq %rdx, %rdi
movzbl (%rdi), %edx
testl %edx, %edx
je 0x6fcc
incq %rdi
cmpl $0xa, %edx
jne 0x700f
jmp 0x6fcc
testl %esi, %esi
je 0x70bf
movb %sil, (%rcx)
incq %rdx
incq %rcx
movq %rdx, %rdi
jmp 0x6fcc
movb %sil, (%rcx)
incq %rcx
movb 0x1(%rdx), %sil
incq %rdx
movq %rdx, %rdi
testb %sil, %sil
je 0x6fcc
movq %rdx, %rdi
movb %sil, (%rcx)
movzbl (%rdi), %edx
cmpl $0x5c, %edx
je 0x7060
cmpl $0x22, %edx
jne 0x7071
jmp 0x70a8
movb 0x1(%rdi), %dl
cmpb $0x22, %dl
jne 0x7071
incq %rdi
movb %dl, 0x1(%rcx)
incq %rcx
incq %rcx
movb 0x1(%rdi), %sil
incq %rdi
testb %sil, %sil
jne 0x704e
jmp 0x6fcc
addq $0x2, %rdx
movq %rdx, %rdi
movzbl (%rdi), %edx
cmpl $0x2a, %edx
je 0x709d
testl %edx, %edx
jne 0x70a3
jmp 0x6fcc
cmpb $0x2f, 0x1(%rdi)
je 0x70b6
incq %rdi
jmp 0x708c
movb $0x22, (%rcx)
incq %rdi
incq %rcx
jmp 0x6fcc
addq $0x2, %rdi
jmp 0x6fcc
movb $0x0, (%rcx)
retq