LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/awattar.cpp
// Function: suchenMaxSoc(std::vector<wetter_s, std::allocator<wetter_s>>&, int, float&)
int suchenMaxSoc(std::vector<wetter_s> &w,int x1,float &Verbrauch)
// Suchen Zeitpunkt für den max SoC
// -1 = kein Überschuss gefunden
// ansonsten Anzahl der 15min Einträge sowie den aufgelaufenen Verbrauch
{
    
    Verbrauch = 0;
    float maxsoc = -1;
    float soc = 0;
    int posmax = 0;
    for (;x1<w.size()&&w[x1].hourly>w[x1].solar;x1++)
    {
        Verbrauch = Verbrauch + w[x1].hourly + w[x1].wpbedarf + w[x1].solar;
        soc = soc + w[x1].hourly + w[x1].wpbedarf + w[x1].solar;
        if (soc <= 0) soc = 0; else
            if (soc > maxsoc)
            {
                maxsoc = soc;
                posmax = x1;
            }
    }
    return posmax;
}

// Assembly:
movl $0x0, (%rdx)
movq (%rdi), %r8
movq 0x8(%rdi), %rax
subq %r8, %rax
sarq $0x3, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rax, %rcx
movslq %esi, %rsi
xorl %eax, %eax
cmpq %rsi, %rcx
jbe 0x252ea
imulq $0x38, %rsi, %rax
leaq (%rax,%r8), %rdi
addq $0x24, %rdi
movss 0xb152(%rip), %xmm0     # 0x303e4
xorps %xmm1, %xmm1
xorl %eax, %eax
xorps %xmm2, %xmm2
movss -0x10(%rdi), %xmm4
movss -0x8(%rdi), %xmm3
ucomiss %xmm3, %xmm4
jbe 0x252ea
addss %xmm4, %xmm2
addss (%rdi), %xmm2
addss %xmm3, %xmm2
movss %xmm2, (%rdx)
addss -0x10(%rdi), %xmm1
addss (%rdi), %xmm1
addss -0x8(%rdi), %xmm1
xorps %xmm3, %xmm3
ucomiss %xmm1, %xmm3
jae 0x252db
ucomiss %xmm0, %xmm1
jbe 0x252de
movaps %xmm1, %xmm0
movl %esi, %eax
jmp 0x252de
xorps %xmm1, %xmm1
incq %rsi
addq $0x38, %rdi
cmpq %rsi, %rcx
ja 0x2529a
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 0x2c2f9
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rbx, %r14
movq (%rbx), %rbx
movl 0x18(%r14), %eax
btl $0x8, %eax
jb 0x2c2b6
movq 0x10(%r14), %rdi
testq %rdi, %rdi
je 0x2c2b6
callq 0x2c288
movl 0x18(%r14), %eax
btl $0x8, %eax
jb 0x2c2cf
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0x2c2cf
callq *0xd0cd(%rip)           # 0x39398
movl 0x18(%r14), %eax
btl $0x9, %eax
jb 0x2c2e4
movq 0x38(%r14), %rdi
testq %rdi, %rdi
je 0x2c2e4
callq *0xd0b4(%rip)           # 0x39398
movq %r14, %rdi
callq *0xd0ab(%rip)           # 0x39398
testq %rbx, %rbx
jne 0x2c294
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: cJSON_SetValuestring
CJSON_PUBLIC(char*) cJSON_SetValuestring(cJSON *object, const char *valuestring)
{
    char *copy = NULL;
    /* if object's type is not cJSON_String or is cJSON_IsReference, it should not set valuestring */
    if (!(object->type & cJSON_String) || (object->type & cJSON_IsReference))
    {
        return NULL;
    }
    if (strlen(valuestring) <= strlen(object->valuestring))
    {
        strcpy(object->valuestring, valuestring);
        return object->valuestring;
    }
    copy = (char*) cJSON_strdup((const unsigned char*)valuestring, &global_hooks);
    if (copy == NULL)
    {
        return NULL;
    }
    if (object->valuestring != NULL)
    {
        cJSON_free(object->valuestring);
    }
    object->valuestring = copy;

    return copy;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl $0x110, %eax            # imm = 0x110
andl 0x18(%rdi), %eax
cmpl $0x10, %eax
jne 0x2c3a7
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2100
movq %rax, %r12
movq 0x20(%rbx), %r15
movq %r15, %rdi
callq 0x2100
cmpq %rax, %r12
jbe 0x2c3ac
testq %r14, %r14
je 0x2c3a7
movq %r14, %rdi
callq 0x2100
movq %rax, %r12
incq %r12
movq %r12, %rdi
callq *0xd014(%rip)           # 0x39390
testq %rax, %rax
je 0x2c3a7
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x21f0
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x2c3a1
callq *0xcff7(%rip)           # 0x39398
movq %r15, 0x20(%rbx)
jmp 0x2c3bb
xorl %r15d, %r15d
jmp 0x2c3bb
movq %r15, %rdi
movq %r14, %rsi
callq 0x2260
movq 0x20(%rbx), %r15
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: buffer_skip_whitespace(parse_buffer*)
static parse_buffer *buffer_skip_whitespace(parse_buffer * const buffer)
{
    if ((buffer == NULL) || (buffer->content == NULL))
    {
        return NULL;
    }

    if (cannot_access_at_index(buffer, 0))
    {
        return buffer;
    }

    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 0x2c92f
movq %rdi, %rax
movq (%rdi), %rdx
testq %rdx, %rdx
je 0x2c92f
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rsi
cmpq %rcx, %rsi
jae 0x2c931
incq %rsi
movq %rcx, %rdi
negq %rdi
cmpb $0x20, -0x1(%rdx,%rsi)
ja 0x2c932
movq %rsi, 0x10(%rax)
leaq (%rdi,%rsi), %r8
incq %r8
incq %rsi
cmpq $0x1, %r8
jne 0x2c912
jmp 0x2c93b
xorl %eax, %eax
retq
subq %rcx, %rsi
cmpq $0x1, %rsi
jne 0x2c931
decq %rcx
movq %rcx, 0x10(%rax)
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: print(cJSON const*, int, internal_hooks const*)
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, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movl $0x100, %edi            # imm = 0x100
callq *0xca0f(%rip)           # 0x39390
movq %rax, (%rsp)
movq $0x100, 0x8(%rsp)       # imm = 0x100
movl %ebp, 0x24(%rsp)
movups 0xc9f7(%rip), %xmm0     # 0x39390
movups %xmm0, 0x28(%rsp)
movq 0xc9fb(%rip), %rcx      # 0x393a0
movq %rcx, 0x38(%rsp)
testq %rax, %rax
je 0x2ca53
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x2cafc
testl %eax, %eax
je 0x2ca53
movq (%rsp), %rbx
testq %rbx, %rbx
je 0x2c9e5
movq 0x10(%rsp), %r14
leaq (%rbx,%r14), %rdi
callq 0x2100
addq %r14, %rax
movq %rax, 0x10(%rsp)
movq 0xc9b4(%rip), %rax      # 0x393a0
testq %rax, %rax
je 0x2ca08
movq 0x10(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
callq *%rax
movq %rax, %rbx
testq %rax, %rax
jne 0x2ca64
jmp 0x2ca53
movq 0x10(%rsp), %rdi
incq %rdi
callq *0xc97a(%rip)           # 0x39390
testq %rax, %rax
je 0x2ca53
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 0x21f0
movq 0x10(%rsp), %rax
movb $0x0, (%rbx,%rax)
movq (%rsp), %rdi
callq *0xc947(%rip)           # 0x39398
jmp 0x2ca64
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2ca62
callq *0xc936(%rip)           # 0x39398
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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
movq $0x0, 0x18(%rsp)
testl %esi, %esi
js 0x2caf1
movl %edx, %ebp
movq %rdi, %rbx
movl %esi, %r14d
movq %r14, %rdi
callq *0xc8f3(%rip)           # 0x39390
movq %rax, (%rsp)
testq %rax, %rax
je 0x2caf1
movq %rsp, %rsi
movq %r14, 0x8(%rsi)
movq $0x0, 0x10(%rsi)
movl $0x0, 0x20(%rsi)
movl %ebp, 0x24(%rsi)
movups 0xc8ca(%rip), %xmm0     # 0x39390
movups %xmm0, 0x28(%rsi)
movq 0xc8cf(%rip), %rax      # 0x393a0
movq %rax, 0x38(%rsi)
movq %rbx, %rdi
callq 0x2cafc
testl %eax, %eax
je 0x2cae7
movq (%rsp), %rax
jmp 0x2caf3
movq (%rsp), %rdi
callq *0xc8a7(%rip)           # 0x39398
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: cJSON_PrintPreallocated
CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const cJSON_bool format)
{
    printbuffer p = { 0, 0, 0, 0, 0, 0, { 0, 0, 0 } };

    if ((length < 0) || (buffer == NULL))
    {
        return false;
    }

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

    return print_value(item, &p);
}

// Assembly:
subq $0x48, %rsp
movq $0x0, 0x20(%rsp)
testl %edx, %edx
sets %r8b
testq %rsi, %rsi
sete %r9b
xorl %eax, %eax
orb %r8b, %r9b
jne 0x2d09f
leaq 0x8(%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 0xc308(%rip), %xmm0     # 0x39390
movups %xmm0, 0x28(%rax)
movq 0xc30d(%rip), %rcx      # 0x393a0
movq %rcx, 0x38(%rax)
movq %rax, %rsi
callq 0x2cafc
addq $0x48, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: get_object_item(cJSON const*, char const*, int)
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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
je 0x2d115
xorl %ebx, %ebx
jmp 0x2d1c5
movq %rsi, %r14
movq 0x10(%rdi), %r12
testl %edx, %edx
je 0x2d14f
testq %r12, %r12
je 0x2d10e
xorl %ebx, %ebx
movq 0x38(%r12), %r15
testq %r15, %r15
je 0x2d1bb
movq %r14, %rdi
movq %r15, %rsi
callq 0x2390
testl %eax, %eax
je 0x2d1bb
movq (%r12), %r12
testq %r12, %r12
jne 0x2d127
jmp 0x2d1c5
testq %r12, %r12
je 0x2d10e
xorl %ebx, %ebx
movq 0x38(%r12), %r15
testq %r15, %r15
je 0x2d1b0
cmpq %r14, %r15
je 0x2d1c2
movb (%r14), %r13b
movzbl %r13b, %edi
callq 0x23c0
movl %eax, %ebp
movzbl (%r15), %edi
callq 0x23c0
cmpl %eax, %ebp
jne 0x2d1ac
movl $0x1, %ebx
testb %r13b, %r13b
je 0x2d1c2
movb (%r14,%rbx), %r13b
movzbl %r13b, %edi
callq 0x23c0
movl %eax, %ebp
movzbl (%r15,%rbx), %edi
callq 0x23c0
incq %rbx
cmpl %eax, %ebp
je 0x2d185
xorl %ebx, %ebx
cmpl %eax, %ebp
je 0x2d1c2
movq (%r12), %r12
testq %r12, %r12
jne 0x2d156
jmp 0x2d1c5
testq %r15, %r15
cmoveq %r15, %r12
movq %r12, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: add_item_to_object(cJSON*, char const*, cJSON*, internal_hooks const*, int)
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) || (object == item))
    {
        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
cmpq %rdx, %rdi
je 0x2d2fd
movq %rdi, %r14
testq %rdi, %rdi
je 0x2d2fd
movq %rsi, %r15
testq %rsi, %rsi
je 0x2d2fd
movq %rdx, %rbx
testq %rdx, %rdx
je 0x2d2fd
testl %ecx, %ecx
je 0x2d28d
movl 0x18(%rbx), %eax
movl %eax, %ebp
orl $0x200, %ebp            # imm = 0x200
jmp 0x2d2c8
movq %r15, %rdi
callq 0x2100
movq %rax, %r12
incq %r12
movq %r12, %rdi
callq *0xc0ec(%rip)           # 0x39390
testq %rax, %rax
je 0x2d2fd
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x21f0
movl 0x18(%rbx), %eax
movl %eax, %ebp
andl $0xfffffdff, %ebp       # imm = 0xFFFFFDFF
movq %r13, %r15
btl $0x9, %eax
jb 0x2d2dd
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x2d2dd
callq *0xc0bb(%rip)           # 0x39398
movq %r15, 0x38(%rbx)
movl %ebp, 0x18(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2d1f7
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbf2f(%rip)           # 0x39390
movq %rax, %rbx
testq %rax, %rax
je 0x2d482
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 0x2d244
testl %eax, %eax
jne 0x2d4a0
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbedb(%rip)           # 0x39390
testq %rax, %rax
je 0x2d4d3
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbea5(%rip)           # 0x39390
movq %rax, %rbx
testq %rax, %rax
je 0x2d50c
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 0x2d244
testl %eax, %eax
jne 0x2d52a
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbe51(%rip)           # 0x39390
testq %rax, %rax
je 0x2d55d
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbe1b(%rip)           # 0x39390
movq %rax, %rbx
testq %rax, %rax
je 0x2d596
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 0x2d244
testl %eax, %eax
jne 0x2d5b4
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbdc7(%rip)           # 0x39390
testq %rax, %rax
je 0x2d5e7
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbd8d(%rip)           # 0x39390
movq %rax, %rbx
testq %rax, %rax
je 0x2d62b
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 0x2d244
testl %eax, %eax
jne 0x2d649
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: cJSON_CreateBool
CJSON_PUBLIC(cJSON *) cJSON_CreateBool(cJSON_bool boolean)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type = boolean ? cJSON_True : cJSON_False;
    }

    return item;
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movl $0x40, %edi
callq *0xbd2b(%rip)           # 0x39390
testq %rax, %rax
je 0x2d68a
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbce4(%rip)           # 0x39390
movq %rax, %rbx
testq %rax, %rax
je 0x2d706
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 0x5396(%rip), %xmm1     # 0x32a80
jae 0x2d703
movl $0x80000000, %eax       # imm = 0x80000000
movsd 0x538f(%rip), %xmm0     # 0x32a88
ucomisd %xmm1, %xmm0
jae 0x2d703
cvttsd2si %xmm1, %eax
movl %eax, 0x28(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x2d244
testl %eax, %eax
jne 0x2d724
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbc4e(%rip)           # 0x39390
testq %rax, %rax
je 0x2d798
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 0x5304(%rip), %xmm1     # 0x32a80
jae 0x2d795
movl $0x80000000, %ecx       # imm = 0x80000000
movsd 0x52fd(%rip), %xmm0     # 0x32a88
ucomisd %xmm1, %xmm0
jae 0x2d795
cvttsd2si %xmm1, %ecx
movl %ecx, 0x28(%rax)
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbba3(%rip)           # 0x39390
testq %rax, %rax
je 0x2d856
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x10, 0x18(%rax)
testq %r14, %r14
je 0x2d846
movq %r14, %rdi
callq 0x2100
movq %rax, %r15
incq %r15
movq %r15, %rdi
callq *0xbb66(%rip)           # 0x39390
testq %rax, %rax
je 0x2d846
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x21f0
movq %r12, 0x20(%rbx)
jmp 0x2d858
movq $0x0, 0x20(%rbx)
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xbad6(%rip)           # 0x39390
testq %rax, %rax
je 0x2d923
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x80, 0x18(%rax)
testq %r14, %r14
je 0x2d913
movq %r14, %rdi
callq 0x2100
movq %rax, %r15
incq %r15
movq %r15, %rdi
callq *0xba99(%rip)           # 0x39390
testq %rax, %rax
je 0x2d913
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x21f0
movq %r12, 0x20(%rbx)
jmp 0x2d925
movq $0x0, 0x20(%rbx)
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xba46(%rip)           # 0x39390
movq %rax, %rbx
testq %rax, %rax
je 0x2d96b
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 0x2d244
testl %eax, %eax
jne 0x2d989
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xb9f2(%rip)           # 0x39390
testq %rax, %rax
je 0x2d9bc
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xb9bc(%rip)           # 0x39390
movq %rax, %rbx
testq %rax, %rax
je 0x2d9f5
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 0x2d244
testl %eax, %eax
jne 0x2da13
movq %rbx, %rdi
callq 0x2c288
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xb968(%rip)           # 0x39390
testq %rax, %rax
je 0x2da46
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: cJSON_InsertItemInArray
CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem)
{
    cJSON *after_inserted = NULL;

    if (which < 0)
    {
        return false;
    }

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

    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;
    }
    return true;
}

// Assembly:
testl %esi, %esi
js 0x2dba5
testq %rdi, %rdi
je 0x2db9d
movl %esi, %esi
leaq 0x10(%rdi), %rax
movq %rax, %rcx
movq (%rcx), %rcx
addq $-0x1, %rsi
setb %r8b
testq %rcx, %rcx
je 0x2db77
testb %r8b, %r8b
jne 0x2db62
testq %rcx, %rcx
je 0x2db9d
movq %rcx, (%rdx)
movq 0x8(%rcx), %rsi
movq %rsi, 0x8(%rdx)
movq %rdx, 0x8(%rcx)
cmpq (%rax), %rcx
je 0x2db94
movq 0x8(%rdx), %rax
movq %rdx, (%rax)
movl $0x1, %eax
retq
movq %rdx, %rsi
jmp 0x2d1f7
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: replace_item_in_object(cJSON*, char const*, cJSON*, int)
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);
    if (replacement->string == NULL)
    {
        return false;
    }

    replacement->type &= ~cJSON_StringIsConst;

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

// 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
jne 0x2dd07
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testb $0x2, 0x19(%rdx)
jne 0x2dca1
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x2dca1
callq *0xb6f7(%rip)           # 0x39398
movq %r15, %rdi
callq 0x2100
movq %rax, %r12
incq %r12
movq %r12, %rdi
callq *0xb6d8(%rip)           # 0x39390
testq %rax, %rax
je 0x2dcff
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x21f0
movq %r13, 0x38(%rbx)
andb $-0x3, 0x19(%rbx)
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x2d0f3
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 0x2dba8
movq $0x0, 0x38(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xb65f(%rip)           # 0x39390
testq %rax, %rax
je 0x2dd53
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xb62c(%rip)           # 0x39390
testq %rax, %rax
je 0x2dd86
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 *0xb5f9(%rip)           # 0x39390
testq %rax, %rax
je 0x2ddb9
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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;
    }

    if (a && a->child) {
        a->child->prev = 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 0x2de95
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %edi
callq *0xb5a7(%rip)           # 0x39390
testq %rax, %rax
je 0x2de95
movq %rax, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movupd %xmm0, 0x30(%rax)
movupd %xmm0, 0x20(%rax)
movupd %xmm0, (%rax)
movl $0x20, 0x18(%rax)
testl %ebp, %ebp
je 0x2de7c
movl %ebp, %r15d
xorl %r13d, %r13d
xorl %r12d, %r12d
movl (%r14,%r12,4), %ebp
movl $0x40, %edi
callq *0xb561(%rip)           # 0x39390
testq %rax, %rax
je 0x2de8d
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)
testq %r12, %r12
je 0x2de6b
movq %rax, (%r13)
movq %r13, 0x8(%rax)
jmp 0x2de6f
movq %rax, 0x10(%rbx)
incq %r12
movq %rax, %r13
cmpq %r15, %r12
jb 0x2de20
jmp 0x2de7e
xorl %eax, %eax
movq 0x10(%rbx), %rcx
testq %rcx, %rcx
je 0x2de97
movq %rax, 0x8(%rcx)
jmp 0x2de97
movq %rbx, %rdi
callq 0x2c288
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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;
    }

    if (a && a->child) {
        a->child->prev = 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 0x2dfbd
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %edi
callq *0xb4b9(%rip)           # 0x39390
testq %rax, %rax
je 0x2dfbd
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x20, 0x18(%rax)
testl %ebp, %ebp
je 0x2dfa4
movl %ebp, %r15d
xorl %r13d, %r13d
xorl %r12d, %r12d
movss (%r14,%r12,4), %xmm0
movss %xmm0, 0x4(%rsp)
movl $0x40, %edi
callq *0xb46c(%rip)           # 0x39390
testq %rax, %rax
je 0x2dfb5
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 0x4b1b(%rip), %xmm0     # 0x32a80
jae 0x2df7d
movl $0x80000000, %ecx       # imm = 0x80000000
movss 0x4b94(%rip), %xmm0     # 0x32b08
ucomiss %xmm2, %xmm0
jae 0x2df7d
cvttss2si %xmm2, %ecx
movl %ecx, 0x28(%rax)
testq %r12, %r12
je 0x2df8f
movq %rax, (%r13)
movq %r13, 0x8(%rax)
jmp 0x2df93
movq %rax, 0x10(%rbx)
incq %r12
movq %rax, %r13
cmpq %r15, %r12
jb 0x2df0d
jmp 0x2dfa6
xorl %eax, %eax
movq 0x10(%rbx), %rcx
testq %rcx, %rcx
je 0x2dfbf
movq %rax, 0x8(%rcx)
jmp 0x2dfbf
movq %rbx, %rdi
callq 0x2c288
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/cJSON.c
// Function: cJSON_CreateStringArray
CJSON_PUBLIC(cJSON *) cJSON_CreateStringArray(const char *const *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;
    }

    if (a && a->child) {
        a->child->prev = 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 0x2e19e
movl %esi, %ebp
movq %rdi, %r14
movl $0x40, %edi
callq *0xb267(%rip)           # 0x39390
testq %rax, %rax
je 0x2e19e
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movl $0x20, 0x18(%rax)
testl %ebp, %ebp
je 0x2e185
movl %ebp, %r15d
xorl %r13d, %r13d
xorl %r12d, %r12d
movq (%r14,%r12,8), %rdi
callq 0x2d7d7
testq %rax, %rax
je 0x2e196
testq %r12, %r12
je 0x2e174
movq %rax, (%r13)
movq %r13, 0x8(%rax)
jmp 0x2e178
movq %rax, 0x10(%rbx)
incq %r12
movq %rax, %r13
cmpq %r15, %r12
jb 0x2e157
jmp 0x2e187
xorl %eax, %eax
movq 0x10(%rbx), %rcx
testq %rcx, %rcx
je 0x2e1a0
movq %rax, 0x8(%rcx)
jmp 0x2e1a0
movq %rbx, %rdi
callq 0x2c288
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_cpp_makefile_star2_O3/Eba-M[P]E3DC-Control/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 0x2e421
movabsq $0x100002600, %rax      # imm = 0x100002600
movq %rdi, %rcx
movq %rdi, %rdx
movzbl (%rdi), %esi
cmpq $0x2f, %rsi
ja 0x2e380
btq %rsi, %rax
jae 0x2e346
incq %rdx
movq %rdx, %rdi
jmp 0x2e32c
cmpq $0x22, %rsi
je 0x2e396
cmpq $0x2f, %rsi
jne 0x2e380
movzbl 0x1(%rdx), %esi
cmpl $0x2a, %esi
je 0x2e3e4
leaq 0x1(%rdx), %rdi
cmpl $0x2f, %esi
jne 0x2e32c
addq $0x2, %rdx
movq %rdx, %rdi
movzbl (%rdi), %edx
testl %edx, %edx
je 0x2e32c
incq %rdi
cmpl $0xa, %edx
jne 0x2e36f
jmp 0x2e32c
testl %esi, %esi
je 0x2e41e
movb %sil, (%rcx)
incq %rdx
incq %rcx
movq %rdx, %rdi
jmp 0x2e32c
movb $0x22, (%rcx)
incq %rcx
movb 0x1(%rdx), %sil
incq %rdx
movq %rdx, %rdi
testb %sil, %sil
je 0x2e32c
movq %rdx, %rdi
movb %sil, (%rcx)
movzbl (%rdi), %edx
cmpl $0x5c, %edx
je 0x2e3c0
cmpl $0x22, %edx
jne 0x2e3d0
jmp 0x2e407
cmpb $0x22, 0x1(%rdi)
jne 0x2e3d0
incq %rdi
movb $0x22, 0x1(%rcx)
incq %rcx
incq %rcx
movb 0x1(%rdi), %sil
incq %rdi
testb %sil, %sil
jne 0x2e3ae
jmp 0x2e32c
addq $0x2, %rdx
movq %rdx, %rdi
movzbl (%rdi), %edx
cmpl $0x2a, %edx
je 0x2e3fc
testl %edx, %edx
jne 0x2e402
jmp 0x2e32c
cmpb $0x2f, 0x1(%rdi)
je 0x2e415
incq %rdi
jmp 0x2e3eb
movb $0x22, (%rcx)
incq %rdi
incq %rcx
jmp 0x2e32c
addq $0x2, %rdi
jmp 0x2e32c
movb $0x0, (%rcx)
retq
// File: /workspace/github_cpp_makefile_star2_O3/agorenst[P]trie/./prefixtree.h
// Function: void prefix_tree<int>::node::insert<std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>>(std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>, std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>)
void insert(Iter b, Iter e) {
            if (b == e) { return; } // we are the end of this input
    
            auto symb = *b++; // we advance b, having read from it.
            // we need to make a new child!
            if (edges.find(symb) == edges.end()) {
                edges[symb] = std::make_shared<node>();
            }
    
            // recursive call.
            edges[symb]->insert(b, e);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq (%rsi), %rax
cmpq (%rdx), %rax
je 0x2a13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq -0x4(%rax), %rcx
movq %rcx, (%rsi)
movl -0x4(%rax), %eax
movl %eax, -0x24(%rbp)
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x2978
leaq 0x8(%r15), %rsi
movq %rsi, %rdx
xorl %edi, %edi
cmpl %eax, 0x20(%rcx)
setl %dil
cmovgeq %rcx, %rdx
movq 0x10(%rcx,%rdi,8), %rcx
testq %rcx, %rcx
jne 0x2957
cmpq %rsi, %rdx
je 0x2978
cmpl 0x20(%rdx), %eax
jge 0x29eb
movl $0x40, %edi
callq 0x2110
movq %rax, %r12
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r12)
leaq 0x239d(%rip), %rax      # 0x4d38
movq %rax, (%r12)
leaq 0x18(%r12), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r12)
xorl %ecx, %ecx
movq %rcx, 0x20(%r12)
movq %rax, 0x28(%r12)
movq %rax, 0x30(%r12)
movq %rcx, 0x38(%r12)
leaq -0x24(%rbp), %rsi
movq %r15, %rdi
callq 0x2a34
movq %r12, %rcx
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x8(%rax), %rdi
movq %r12, 0x8(%rax)
testq %rdi, %rdi
je 0x29eb
callq 0x2666
leaq -0x24(%rbp), %rsi
movq %r15, %rdi
callq 0x2a34
movq (%rax), %rdi
movq (%r14), %rax
leaq -0x38(%rbp), %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
leaq -0x30(%rbp), %rdx
movq %rax, (%rdx)
callq 0x2916
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r12, %rdi
callq 0x2666
movq %rbx, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/agorenst[P]trie/./prefixtree.h
// Function: prefix_tree<int>::node::tikz_print(std::ostream&)
void tikz_print(std::ostream& o) {
            o << "node[circle, draw]{}" << std::endl;
            for (auto it = edges.begin(); it != edges.end(); ++it) {
                o << "child {" << std::endl;
                it->second->tikz_print(o);
                o << "edge from parent node[left]{" << it->first << "}" << std::endl;
                o << "}" << std::endl;
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x43b(%rip), %rsi       # 0x3102
movl $0x14, %edx
movq %rbx, %rdi
callq 0x2130
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq 0x18(%r14), %r15
addq $0x8, %r14
cmpq %r14, %r15
je 0x2e00
leaq 0x3cf(%rip), %r12       # 0x30e2
movl $0x7, %edx
movq %rbx, %rdi
leaq 0x3f5(%rip), %rsi       # 0x3117
callq 0x2130
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq 0x28(%r15), %rdi
movq %rbx, %rsi
callq 0x2cac
movl $0x1c, %edx
movq %rbx, %rdi
leaq 0x3b6(%rip), %rsi       # 0x311f
callq 0x2130
movl 0x20(%r15), %esi
movq %rbx, %rdi
callq 0x21b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x2130
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2130
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq %r15, %rdi
callq 0x20c0
movq %rax, %r15
cmpq %r14, %rax
jne 0x2d13
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq