LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/mflatt[P]gc-demo/gengc/gengc.c
// Function: collect_garbage
void collect_garbage()
{
  if (!chunks) return;
  
  /* minor collection: */
  mark_and_sweep_from_roots();

  /* The minor collection above relies on having no references from
     old object to new objects; this is not a general-purpose GC. If
     such references were allowed, we'd have to add them as roots. */
  
  /* move non-empty chunks to old generation: */
  if (chunks) {
    struct gc_chunk *prev_c = NULL, *next;

    for (struct gc_chunk *c = chunks; c; c = next) {
      next = c->next;
      if (c->num_marked_nodes == 0) {
        /* This chunk is empty, so free it */
        raw_free(c->mem, NODES_PER_CHUNK * sizeof(struct gc_node));
        raw_free(c, sizeof(struct gc_chunk));
        if (!prev_c)
          chunks = next;
      } else {
        /* Keep this chunk, now as an old-generation chunk */
        num_gen1_chunks++;
        if (prev_c)
          prev_c->next = c;
        prev_c = c;
      }
    }

    if (prev_c) {
      prev_c->next = gen1_chunks;
      gen1_chunks = chunks;
    }

    chunks = NULL;
    free_list = NULL;
  }

  if (num_gen1_chunks >= (last_major_gen1_chunks * 2)) {
    /* perform major collection by moving all old-generation
       chunks back to the "new" generation, and GC again */
    // printf("Major GC\n");
    last_major_gen1_chunks = num_gen1_chunks;
    chunks = gen1_chunks;
    gen1_chunks = NULL;
    num_gen1_chunks = 0;
    collect_garbage();
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x2d16(%rip), %r14      # 0x4080
xorl %r15d, %r15d
leaq 0x2cfc(%rip), %r12      # 0x4070
cmpq $0x0, (%r14)
je 0x1437
xorl %eax, %eax
callq 0x14e5
movq (%r14), %r13
testq %r13, %r13
je 0x13fb
xorl %ebp, %ebp
movq %r13, %rbx
movq (%r13), %r13
cmpl $0x0, 0x10(%rbx)
je 0x13b0
incl 0x2cb6(%rip)            # 0x4058
testq %rbp, %rbp
je 0x13ab
movq %rbx, (%rbp)
movq %rbx, %rbp
jmp 0x13d5
movq 0x8(%rbx), %rdi
movl $0xc0000, %esi          # imm = 0xC0000
callq 0x134a
movl $0x18, %esi
movq %rbx, %rdi
callq 0x134a
testq %rbp, %rbp
jne 0x13d5
movq %r13, (%r14)
xorl %ebp, %ebp
testq %r13, %r13
jne 0x138f
testq %rbp, %rbp
je 0x13f4
movq 0x2c7a(%rip), %rax      # 0x4060
movq %rax, (%rbp)
movq (%r14), %rax
movq %rax, 0x2c6c(%rip)      # 0x4060
movq %r15, (%r14)
movq %r15, (%r12)
movl 0x2c57(%rip), %eax      # 0x4058
movl 0x2c61(%rip), %ecx      # 0x4068
addl %ecx, %ecx
cmpl %ecx, %eax
jl 0x1437
movl %eax, 0x2c55(%rip)      # 0x4068
movq 0x2c46(%rip), %rax      # 0x4060
movq %rax, (%r14)
movq $0x0, 0x2c38(%rip) # 0x4060
movl $0x0, 0x2c26(%rip)      # 0x4058
jmp 0x1374
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]yahs/juicer.c
// Function: assembly_scale_max_seq
uint64_t assembly_scale_max_seq(asm_dict_t *dict, int *scale, uint64_t max_s, uint64_t *g)
{
    uint32_t i;
    uint64_t s;
    sd_aseq_t seq;
 
    s = 0;
    for (i = 0; i < dict->n; ++i) {
        seq = dict->s[i];
        s = MAX(s, seq.len + seq.gap);
    }
    
    *g = s;

    return linear_scale(s, scale, max_s);
}

// Assembly:
movl (%rdi), %r8d
testq %r8, %r8
je 0x9ef9
movq 0x8(%rdi), %rax
imulq $0x58, %r8, %r8
xorl %r9d, %r9d
xorl %edi, %edi
movq 0x10(%rax,%r9), %r10
addq 0x8(%rax,%r9), %r10
cmpq %r10, %rdi
cmovbeq %r10, %rdi
addq $0x58, %r9
cmpq %r9, %r8
jne 0x9edd
jmp 0x9efb
xorl %edi, %edi
movq %rdi, (%rcx)
jmp 0x3540
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]yahs/juicer.c
// Function: usage
static int usage(FILE *fo)
{
    fprintf(fo, "\n");
    fprintf(fo, "Usage:   juicer <command> <arguments>\n");
    fprintf(fo, "Version: %s\n\n", JUICER_VERSION);
    fprintf(fo, "Command: pre       generate files compatible with Juicebox toolset\n");
    fprintf(fo, "         post      generate assembly files after Juicebox curation\n");
    fprintf(fo, "\n");
    return fo == stdout? 0 : 1;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0xa, %edi
movq %rbx, %rsi
callq 0x21e0
leaq 0x46f2(%rip), %rdi      # 0x10185
movl $0x26, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x4700(%rip), %rsi      # 0x101ac
leaq 0x469c(%rip), %rdx      # 0x1014f
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2230
leaq 0x46f6(%rip), %rdi      # 0x101ba
movl $0x43, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x4721(%rip), %rdi      # 0x101fe
movl $0x43, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
movl $0xa, %edi
movq %rbx, %rsi
callq 0x21e0
movq 0x94cd(%rip), %rcx      # 0x14fd0
xorl %eax, %eax
cmpq %rbx, (%rcx)
setne %al
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]yahs/juicer.c
// Function: print_help_pre
static void print_help_pre(FILE *fp_help)
{
    fprintf(fp_help, "Usage: juicer pre [options] <hic.bed>|<hic.bam>|<hic.pa5>|<hic.bin> <scaffolds.agp> <contigs.fa.fai>\n");
    fprintf(fp_help, "Options:\n");
    fprintf(fp_help, "    -a                preprocess for assembly mode\n");
    fprintf(fp_help, "    -q INT            minimum mapping quality [10]\n");
    fprintf(fp_help, "    -o STR            output file prefix (required for '-a' mode) [stdout]\n");
    fprintf(fp_help, "    --file-type STR   input file type BED|BAM|PA5|BIN, file name extension is ignored if set\n");
    fprintf(fp_help, "    --version         show version number\n");
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x4808(%rip), %rdi      # 0x10728
movl $0x65, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x4855(%rip), %rdi      # 0x1078e
movl $0x9, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x4846(%rip), %rdi      # 0x10798
movl $0x33, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x4861(%rip), %rdi      # 0x107cc
movl $0x33, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x487c(%rip), %rdi      # 0x10800
movl $0x4b, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x48af(%rip), %rdi      # 0x1084c
movl $0x5d, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x23f0
leaq 0x48f4(%rip), %rdi      # 0x108aa
movl $0x2a, %esi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
jmp 0x23f0
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]yahs/juicer.c
// Function: parse_bam_rec
static char *parse_bam_rec(bam1_t *b, bam_header_t *h, uint8_t q, int32_t *s, int32_t *e, char **cname)
{
    // 0x4 0x100 0x200 0x400 0x800
    if ((b->core.flag & 0xF04) || (!b->core.flag) || b->core.qual < q)
        return 0;
    *cname = h->target_name[b->core.tid];
    *s = b->core.pos;
    *e = get_target_end(b);

    return strdup(bam1_qname(b));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rax
movq %rax, %rdi
shrq $0x20, %rdi
testl $0xf04, %edi            # imm = 0xF04
setne %r8b
testw %di, %di
sete %dil
orb %r8b, %dil
jne 0xdaee
shrl $0x10, %eax
movzbl %al, %eax
movzbl %dl, %edx
cmpl %edx, %eax
jae 0xdaf8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x8(%rsi), %rax
movslq (%r14), %rdx
movq (%rax,%rdx,8), %rax
movq %rax, (%r9)
movl 0x4(%r14), %eax
movl %eax, (%rcx)
movq %r14, %rdi
callq 0x3fb1
movl %eax, (%rbx)
movq 0x30(%r14), %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2420
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiSetFont
void GuiSetFont(Font font)
{
    if (font.texture.id > 0)
    {
        // NOTE: If we try to setup a font but default style has not been
        // lazily loaded before, it will be overwritten, so we need to force
        // default style loading first
        if (!guiStyleLoaded) GuiLoadStyleDefault();

        guiFont = font;
        GuiSetStyle(DEFAULT, TEXT_SIZE, font.baseSize);
    }
}

// Assembly:
pushq %rbx
cmpl $0x0, 0x1c(%rsp)
je 0x6a16
leaq 0x10(%rsp), %rbx
cmpb $0x0, 0xa087c(%rip)     # 0xa7255
jne 0x69e0
callq 0x6a18
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0xa0886(%rip)    # 0xa7278
movups %xmm1, 0xa086f(%rip)    # 0xa7268
movups %xmm0, 0xa0858(%rip)    # 0xa7258
movl (%rbx), %ebx
cmpb $0x0, 0xa084c(%rip)     # 0xa7255
jne 0x6a10
callq 0x6a18
movl %ebx, 0xa08ba(%rip)     # 0xa72d0
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiSetStyle
void GuiSetStyle(int control, int property, int value)
{
    if (!guiStyleLoaded) GuiLoadStyleDefault();
    guiStyle[control*(NUM_PROPS_DEFAULT + NUM_PROPS_EXTENDED) + property] = value;

    // Default properties are propagated to all controls
    if ((control == 0) && (property < NUM_PROPS_DEFAULT))
    {
        for (int i = 1; i < NUM_CONTROLS; i++) guiStyle[i*(NUM_PROPS_DEFAULT + NUM_PROPS_EXTENDED) + property] = value;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movl %esi, %r14d
movl %edi, %r15d
cmpb $0x0, 0xa04b0(%rip)     # 0xa7255
jne 0x6dac
callq 0x6a18
leal (%r15,%r15,2), %eax
leal (%r14,%rax,8), %eax
movslq %eax, %rcx
leaq 0xa04d2(%rip), %rax     # 0xa7290
movl %ebx, (%rax,%rcx,4)
testl %r15d, %r15d
setne %cl
cmpl $0x10, %r14d
setge %dl
orb %cl, %dl
jne 0x6df2
movslq %r14d, %rcx
shlq $0x2, %rcx
movl $0x60, %edx
leaq (%rcx,%rdx), %rsi
movl %ebx, (%rax,%rsi)
addq $0x60, %rdx
cmpq $0x600, %rdx            # imm = 0x600
jne 0x6dde
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiStatusBar
void GuiStatusBar(Rectangle bounds, const char *text)
{
    GuiControlState state = guiState;

    // Draw control
    //--------------------------------------------------------------------
    GuiDrawRectangle(bounds, GuiGetStyle(STATUSBAR, BORDER_WIDTH), Fade(GetColor(GuiGetStyle(STATUSBAR, (state != GUI_STATE_DISABLED)? BORDER_COLOR_NORMAL : BORDER_COLOR_DISABLED)), guiAlpha),
                     Fade(GetColor(GuiGetStyle(STATUSBAR, (state != GUI_STATE_DISABLED)? BASE_COLOR_NORMAL : BASE_COLOR_DISABLED)), guiAlpha));
    GuiDrawText(text, GetTextBounds(STATUSBAR, bounds), GuiGetStyle(STATUSBAR, TEXT_ALIGNMENT), Fade(GetColor(GuiGetStyle(STATUSBAR, (state != GUI_STATE_DISABLED)? TEXT_COLOR_NORMAL : TEXT_COLOR_DISABLED)), guiAlpha));
    //--------------------------------------------------------------------
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
movl 0xa01df(%rip), %r15d    # 0xa7250
cmpb $0x0, 0xa01dd(%rip)     # 0xa7255
jne 0x707f
callq 0x6a18
movl 0xa07db(%rip), %ebp     # 0xa7860
cmpb $0x0, 0xa01c9(%rip)     # 0xa7255
jne 0x7093
callq 0x6a18
xorl %eax, %eax
cmpl $0x3, %r15d
sete %al
shll $0x2, %eax
leal (%rax,%rax,8), %eax
leaq 0xa01e7(%rip), %r12     # 0xa7290
movl 0x5a0(%rax,%r12), %edi
callq 0x44152
movss 0x9f372(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movl %eax, %r14d
cmpb $0x0, 0xa0186(%rip)     # 0xa7255
jne 0x70d6
callq 0x6a18
xorl %eax, %eax
cmpl $0x3, %r15d
sete %al
shll $0x2, %eax
leal (%rax,%rax,8), %eax
movl 0x5a4(%rax,%r12), %edi
callq 0x44152
movss 0x9f336(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movl %ebp, %edi
movl %r14d, %esi
movl %eax, %edx
callq 0x7546
movl $0xf, %edi
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
callq 0x982d
movaps %xmm0, 0x10(%rsp)
movaps %xmm1, (%rsp)
cmpb $0x0, 0xa011c(%rip)     # 0xa7255
jne 0x7140
callq 0x6a18
movl 0xa0722(%rip), %ebp     # 0xa7868
cmpb $0x0, 0xa0108(%rip)     # 0xa7255
jne 0x7154
callq 0x6a18
xorl %eax, %eax
cmpl $0x3, %r15d
sete %al
shll $0x2, %eax
leal (%rax,%rax,8), %eax
movl 0x5a8(%rax,%r12), %edi
callq 0x44152
movss 0x9f2b8(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movq %rbx, %rdi
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movl %ebp, %esi
movl %eax, %edx
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x95ee
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiPanel
void GuiPanel(Rectangle bounds)
{
    #define PANEL_BORDER_WIDTH   1

    GuiControlState state = guiState;

    // Draw control
    //--------------------------------------------------------------------
    GuiDrawRectangle(bounds, PANEL_BORDER_WIDTH, Fade(GetColor(GuiGetStyle(DEFAULT, (state == GUI_STATE_DISABLED)? BORDER_COLOR_DISABLED: LINE_COLOR)), guiAlpha),
                     Fade(GetColor(GuiGetStyle(DEFAULT, (state == GUI_STATE_DISABLED)? BASE_COLOR_DISABLED : BACKGROUND_COLOR)), guiAlpha));
    //--------------------------------------------------------------------
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
movl 0xa0099(%rip), %ebp     # 0xa7250
xorl %eax, %eax
cmpl $0x3, %ebp
setne %al
leaq (%rax,%rax,8), %rbx
addq $0x9, %rbx
cmpb $0x0, 0xa0087(%rip)     # 0xa7255
jne 0x71d5
callq 0x6a18
leaq 0xa00b4(%rip), %r14     # 0xa7290
movl (%r14,%rbx,4), %edi
callq 0x44152
movss 0x9f243(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movl %eax, %ebx
cmpb $0x0, 0xa0058(%rip)     # 0xa7255
jne 0x7204
callq 0x6a18
xorl %eax, %eax
cmpl $0x3, %ebp
setne %al
shll $0x2, %eax
leal (%rax,%rax,8), %eax
movl 0x28(%rax,%r14), %edi
callq 0x44152
movss 0x9f20c(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movl $0x1, %edi
movl %ebx, %esi
movl %eax, %edx
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x7546
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiDrawRectangle
static void GuiDrawRectangle(Rectangle rec, int borderWidth, Color borderColor, Color color)
{
    if (color.a > 0)
    {
        // Draw rectangle filled with color
        DrawRectangle((int)rec.x, (int)rec.y, (int)rec.width, (int)rec.height, color);
    }

    if (borderWidth > 0)
    {
        // Draw rectangle border lines with color
        DrawRectangle((int)rec.x, (int)rec.y, (int)rec.width, borderWidth, borderColor);
        DrawRectangle((int)rec.x, (int)rec.y + borderWidth, borderWidth, (int)rec.height - 2*borderWidth, borderColor);
        DrawRectangle((int)rec.x + (int)rec.width - borderWidth, (int)rec.y + borderWidth, borderWidth, (int)rec.height - 2*borderWidth, borderColor);
        DrawRectangle((int)rec.x, (int)rec.y + (int)rec.height - borderWidth, (int)rec.width, borderWidth, borderColor);
    }

    // TODO: For n-patch-based style we would need: [state] and maybe [control]
    // In this case all controls drawing logic should be moved to this function... I don't like it...
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, %r15d
movl %edi, %r14d
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3     # xmm3 = xmm3[1,1],xmm0[1,1]
movaps %xmm1, %xmm2
shufps $0x55, %xmm1, %xmm2     # xmm2 = xmm2[1,1],xmm1[1,1]
movaps %xmm2, (%rsp)
cmpl $0x1000000, %edx        # imm = 0x1000000
jb 0x75ab
movl %edx, %r8d
cvttss2si %xmm0, %edi
cvttss2si %xmm3, %esi
cvttss2si %xmm1, %edx
cvttss2si (%rsp), %ecx
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm3, 0x20(%rsp)
callq 0x31115
movaps 0x20(%rsp), %xmm3
movaps 0x30(%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
testl %r14d, %r14d
jle 0x763d
cvttss2si %xmm0, %ebp
cvttss2si %xmm3, %r12d
cvttss2si %xmm1, %r13d
movl %ebp, %edi
movl %r12d, %esi
movl %r13d, %edx
movl %r14d, %ecx
movl %r15d, %r8d
callq 0x31115
cvttss2si (%rsp), %ecx
movl %ecx, (%rsp)
leal (%r12,%r14), %esi
movl %esi, 0x10(%rsp)
movl %ecx, %ebx
subl %r14d, %ebx
subl %r14d, %ebx
movl %ebp, %edi
movl %r14d, %edx
movl %ebx, %ecx
movl %r15d, %r8d
callq 0x31115
movl %ebp, %edi
subl %r14d, %edi
addl %r13d, %edi
movl 0x10(%rsp), %esi
movl %r14d, %edx
movl %ebx, %ecx
movl %r15d, %r8d
callq 0x31115
subl %r14d, %r12d
addl (%rsp), %r12d
movl %ebp, %edi
movl %r12d, %esi
movl %r13d, %edx
movl %r14d, %ecx
movl %r15d, %r8d
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31115
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GetTextWidth
static int GetTextWidth(const char *text)
{
    Vector2 size = { 0 };

    if ((text != NULL) && (text[0] != '\0')) size = MeasureTextEx(guiFont, text, (float)GuiGetStyle(DEFAULT, TEXT_SIZE), (float)GuiGetStyle(DEFAULT, TEXT_SPACING));

    // TODO: Consider text icon width here???

    return (int)size.x;
}

// Assembly:
xorps %xmm0, %xmm0
testq %rdi, %rdi
je 0x78a1
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
cmpb $0x0, (%rdi)
je 0x789c
cmpb $0x0, 0x9fa18(%rip)     # 0xa7255
jne 0x7844
callq 0x6a18
xorps %xmm0, %xmm0
cvtsi2ssl 0x9fa81(%rip), %xmm0 # 0xa72d0
cmpb $0x0, 0x9f9ff(%rip)     # 0xa7255
jne 0x7869
movss %xmm0, 0x3c(%rsp)
callq 0x6a18
movss 0x3c(%rsp), %xmm0
cvtsi2ssl 0x9fa63(%rip), %xmm1 # 0xa72d4
movups 0x9fa00(%rip), %xmm2    # 0xa7278
movups %xmm2, 0x20(%rsp)
movups 0x9f9e4(%rip), %xmm2    # 0xa7268
movups %xmm2, 0x10(%rsp)
movups 0x9f9c8(%rip), %xmm2    # 0xa7258
movups %xmm2, (%rsp)
movq %rbx, %rdi
callq 0x51b09
addq $0x40, %rsp
popq %rbx
cvttss2si %xmm0, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiLabel
void GuiLabel(Rectangle bounds, const char *text)
{
    GuiControlState state = guiState;

    // Update control
    //--------------------------------------------------------------------
    // ...
    //--------------------------------------------------------------------

    // Draw control
    //--------------------------------------------------------------------
    GuiDrawText(text, GetTextBounds(LABEL, bounds), GuiGetStyle(LABEL, TEXT_ALIGNMENT), Fade(GetColor(GuiGetStyle(LABEL, (state == GUI_STATE_DISABLED)? TEXT_COLOR_DISABLED : TEXT_COLOR_NORMAL)), guiAlpha));
    //--------------------------------------------------------------------
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl 0x9f998(%rip), %r14d    # 0xa7250
movl $0x1, %edi
callq 0x982d
movaps %xmm0, 0x10(%rsp)
movaps %xmm1, (%rsp)
cmpb $0x0, 0x9f983(%rip)     # 0xa7255
jne 0x78d9
callq 0x6a18
movl 0x9fa49(%rip), %ebp     # 0xa7328
cmpb $0x0, 0x9f96f(%rip)     # 0xa7255
jne 0x78ed
callq 0x6a18
xorl %eax, %eax
cmpl $0x3, %r14d
sete %al
shll $0x2, %eax
leal (%rax,%rax,8), %eax
leaq 0x9f98d(%rip), %rcx     # 0xa7290
movl 0x68(%rax,%rcx), %edi
callq 0x44152
movss 0x9eb1c(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movq %rbx, %rdi
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movl %ebp, %esi
movl %eax, %edx
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x95ee
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiToggleGroup
int GuiToggleGroup(Rectangle bounds, const char *text, int active)
{
    #if !defined(TOGGLEGROUP_MAX_ELEMENTS)
        #define TOGGLEGROUP_MAX_ELEMENTS    32
    #endif

    float initBoundsX = bounds.x;

    // Get substrings items from text (items pointers)
    int rows[TOGGLEGROUP_MAX_ELEMENTS] = { 0 };
    int itemsCount = 0;
    const char **items = GuiTextSplit(text, &itemsCount, rows);

    int prevRow = rows[0];

    for (int i = 0; i < itemsCount; i++)
    {
        if (prevRow != rows[i])
        {
            bounds.x = initBoundsX;
            bounds.y += (bounds.height + GuiGetStyle(TOGGLE, GROUP_PADDING));
            prevRow = rows[i];
        }

        if (i == active) GuiToggle(bounds, items[i], true);
        else if (GuiToggle(bounds, items[i], false) == true) active = i;

        bounds.x += (bounds.width + GuiGetStyle(TOGGLE, GROUP_PADDING));
    }

    return active;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movl %esi, %ebx
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rdx
movaps %xmm0, 0x70(%rdx)
movaps %xmm0, 0x60(%rdx)
movaps %xmm0, 0x50(%rdx)
movaps %xmm0, 0x40(%rdx)
movaps %xmm0, 0x30(%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x3c(%rsp), %r14
movl $0x0, (%r14)
movq %r14, %rsi
callq 0xa184
movslq (%r14), %r14
testq %r14, %r14
jle 0xa172
movl 0x50(%rsp), %ebp
movaps 0x10(%rsp), %xmm1
movaps %xmm1, %xmm0
shufps $0x55, %xmm1, %xmm0     # xmm0 = xmm0[1,1],xmm1[1,1]
movaps %xmm0, 0x40(%rsp)
leaq 0x9d7ec(%rip), %r15     # 0xa78a0
xorl %r12d, %r12d
movaps (%rsp), %xmm2
movaps %xmm2, %xmm0
cmpl 0x50(%rsp,%r12,4), %ebp
je 0xa10b
cmpb $0x0, 0x9d189(%rip)     # 0xa7255
jne 0xa0e6
movaps %xmm0, 0x20(%rsp)
callq 0x6a18
movaps 0x20(%rsp), %xmm0
movaps (%rsp), %xmm2
movaps 0x10(%rsp), %xmm1
xorps %xmm3, %xmm3
cvtsi2ssl 0x9d2ff(%rip), %xmm3 # 0xa73f0
addss 0x40(%rsp), %xmm3
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
addss %xmm3, %xmm0
movlhps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0]
shufps $0xe2, %xmm2, %xmm0     # xmm0 = xmm0[2,0],xmm2[2,3]
movl 0x50(%rsp,%r12,4), %ebp
movl %ebx, %eax
movq (%r15), %rdi
cmpq %rax, %r12
movaps %xmm0, 0x20(%rsp)
jne 0xa126
movl $0x1, %esi
callq 0x9db8
jmp 0xa133
xorl %esi, %esi
callq 0x9db8
testb %al, %al
cmovnel %r12d, %ebx
cmpb $0x0, 0x9d11b(%rip)     # 0xa7255
jne 0xa141
callq 0x6a18
xorps %xmm2, %xmm2
cvtsi2ssl 0x9d2a4(%rip), %xmm2 # 0xa73f0
movaps 0x10(%rsp), %xmm1
addss %xmm1, %xmm2
movaps 0x20(%rsp), %xmm0
addss %xmm2, %xmm0
incq %r12
addq $0x8, %r15
cmpq %r12, %r14
movaps (%rsp), %xmm2
jne 0xa0be
movl %ebx, %eax
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiTextSplit
static const char **GuiTextSplit(const char *text, int *count, int *textRow)
{
    // NOTE: Current implementation returns a copy of the provided string with '\0' (string end delimiter)
    // inserted between strings defined by "delimiter" parameter. No memory is dynamically allocated,
    // all used memory is static... it has some limitations:
    //      1. Maximum number of possible split strings is set by TEXTSPLIT_MAX_TEXT_ELEMENTS
    //      2. Maximum size of text to split is TEXTSPLIT_MAX_TEXT_LENGTH
    // NOTE: Those definitions could be externally provided if required

    #if !defined(TEXTSPLIT_MAX_TEXT_LENGTH)
        #define TEXTSPLIT_MAX_TEXT_LENGTH      1024
    #endif

    #if !defined(TEXTSPLIT_MAX_TEXT_ELEMENTS)
        #define TEXTSPLIT_MAX_TEXT_ELEMENTS     128
    #endif

    static const char *result[TEXTSPLIT_MAX_TEXT_ELEMENTS] = { NULL };
    static char buffer[TEXTSPLIT_MAX_TEXT_LENGTH] = { 0 };
    memset(buffer, 0, TEXTSPLIT_MAX_TEXT_LENGTH);

    result[0] = buffer;
    int counter = 1;

    if (textRow != NULL) textRow[0] = 0;

    // Count how many substrings we have on text and point to every one
    for (int i = 0; i < TEXTSPLIT_MAX_TEXT_LENGTH; i++)
    {
        buffer[i] = text[i];
        if (buffer[i] == '\0') break;
        else if ((buffer[i] == ';') || (buffer[i] == '\n'))
        {
            result[counter] = buffer + i + 1;

            if (textRow != NULL)
            {
                if (buffer[i] == '\n') textRow[counter] = textRow[counter - 1] + 1;
                else textRow[counter] = textRow[counter - 1];
            }

            buffer[i] = '\0';   // Set an end of string at this point

            counter++;
            if (counter == TEXTSPLIT_MAX_TEXT_ELEMENTS) break;
        }
    }

    *count = counter;

    return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x9db04(%rip), %r12     # 0xa7ca0
movl $0x400, %edx            # imm = 0x400
movq %r12, %rdi
xorl %esi, %esi
callq 0x6060
movq %r12, 0x9d6ee(%rip)     # 0xa78a0
testq %r14, %r14
je 0xa1be
movl $0x0, (%r14)
movl $0x1, %eax
xorl %ecx, %ecx
leaq 0x9d6d4(%rip), %rdx     # 0xa78a0
movzbl (%r15,%rcx), %esi
movb %sil, (%rcx,%r12)
cmpl $0xa, %esi
je 0xa1e5
cmpl $0x3b, %esi
je 0xa1e5
testl %esi, %esi
jne 0xa21a
jmp 0xa22d
leaq (%rcx,%r12), %r8
incq %r8
movslq %eax, %rdi
movq %r8, (%rdx,%rdi,8)
testq %r14, %r14
je 0xa20c
xorl %r8d, %r8d
cmpb $0xa, %sil
sete %r8b
addl -0x4(%r14,%rdi,4), %r8d
movl %r8d, (%r14,%rdi,4)
movb $0x0, (%rcx,%r12)
incl %eax
cmpl $0x80, %eax
je 0xa228
incq %rcx
cmpq $0x400, %rcx            # imm = 0x400
jne 0xa1cc
jmp 0xa22d
movl $0x80, %eax
movl %eax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiDummyRec
void GuiDummyRec(Rectangle bounds, const char *text)
{
    GuiControlState state = guiState;

    // Update control
    //--------------------------------------------------------------------
    if ((state != GUI_STATE_DISABLED) && !guiLocked)
    {
        Vector2 mousePoint = GetMousePosition();

        // Check button state
        if (CheckCollisionPointRec(mousePoint, bounds))
        {
            if (IsMouseButtonDown(MOUSE_LEFT_BUTTON)) state = GUI_STATE_PRESSED;
            else state = GUI_STATE_FOCUSED;
        }
    }
    //--------------------------------------------------------------------

    // Draw control
    //--------------------------------------------------------------------
    GuiDrawRectangle(bounds, 0, BLANK, Fade(GetColor(GuiGetStyle(DEFAULT, (state != GUI_STATE_DISABLED)? BASE_COLOR_NORMAL : BASE_COLOR_DISABLED)), guiAlpha));
    GuiDrawText(text, GetTextBounds(DEFAULT, bounds), GUI_TEXT_ALIGN_CENTER, Fade(GetColor(GuiGetStyle(BUTTON, (state != GUI_STATE_DISABLED)? TEXT_COLOR_NORMAL : TEXT_COLOR_DISABLED)), guiAlpha));
    //------------------------------------------------------------------
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
movl 0x9988a(%rip), %ebp     # 0xa7250
movb $0x1, %r14b
cmpl $0x3, %ebp
je 0xda06
cmpb $0x0, 0x9987f(%rip)     # 0xa7254
je 0xd9dc
xorl %r14d, %r14d
jmp 0xda06
callq 0x2867d
movaps (%rsp), %xmm1
movaps 0x10(%rsp), %xmm2
callq 0x34d6b
testb %al, %al
je 0xd9ff
xorl %edi, %edi
callq 0x286ba
movzbl %al, %ebp
incl %ebp
cmpl $0x3, %ebp
sete %r14b
cmpb $0x0, 0x99848(%rip)     # 0xa7255
jne 0xda14
callq 0x6a18
movzbl %r14b, %r14d
shll $0x2, %r14d
leal (%r14,%r14,8), %eax
leaq 0x99869(%rip), %r15     # 0xa7290
movl 0x4(%rax,%r15), %edi
callq 0x44152
movss 0x989f7(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
cmpl $0x1000000, %eax        # imm = 0x1000000
jb 0xda70
movaps (%rsp), %xmm0
cvttss2si %xmm0, %edi
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
cvttss2si %xmm0, %esi
movaps 0x10(%rsp), %xmm0
cvttss2si %xmm0, %edx
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
cvttss2si %xmm0, %ecx
movl %eax, %r8d
callq 0x31115
xorl %edi, %edi
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
callq 0x982d
movaps %xmm0, 0x10(%rsp)
movaps %xmm1, (%rsp)
cmpb $0x0, 0x997c5(%rip)     # 0xa7255
jne 0xda97
callq 0x6a18
leal (%r14,%r14,8), %eax
movl 0xc8(%rax,%r15), %edi
callq 0x44152
movss 0x98980(%rip), %xmm0    # 0xa6430
movl %eax, %edi
callq 0x43e1c
movq %rbx, %rdi
movaps 0x10(%rsp), %xmm0
movaps (%rsp), %xmm1
movl $0x1, %esi
movl %eax, %edx
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x95ee
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiListView
int GuiListView(Rectangle bounds, const char *text, int *scrollIndex, int active)
{
    int itemsCount = 0;
    const char **items = NULL;

    if (text != NULL) items = GuiTextSplit(text, &itemsCount, NULL);

    return GuiListViewEx(bounds, items, itemsCount, NULL, scrollIndex, active);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movl %edx, %ebx
movq %rsi, %r14
movl $0x0, 0xc(%rsp)
testq %rdi, %rdi
je 0xdb1b
leaq 0xc(%rsp), %rsi
xorl %edx, %edx
movaps %xmm1, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
callq 0xa184
movaps 0x10(%rsp), %xmm0
movaps 0x20(%rsp), %xmm1
leaq 0x99d87(%rip), %rdi     # 0xa78a0
jmp 0xdb1d
xorl %edi, %edi
movl 0xc(%rsp), %esi
xorl %edx, %edx
movq %r14, %rcx
movl %ebx, %r8d
addq $0x38, %rsp
popq %rbx
popq %r14
jmp 0xdb35
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/./deps/raygui.h
// Function: GuiColorPicker
Color GuiColorPicker(Rectangle bounds, Color color)
{
    color = GuiColorPanel(bounds, color);

    Rectangle boundsHue = { (float)bounds.x + bounds.width + GuiGetStyle(COLORPICKER, HUEBAR_PADDING), (float)bounds.y, (float)GuiGetStyle(COLORPICKER, HUEBAR_WIDTH), (float)bounds.height };
    //Rectangle boundsAlpha = { bounds.x, bounds.y + bounds.height + GuiGetStyle(COLORPICKER, BARS_PADDING), bounds.width, GuiGetStyle(COLORPICKER, BARS_THICK) };

    Vector3 hsv = ConvertRGBtoHSV(RAYGUI_CLITERAL(Vector3){ color.r/255.0f, color.g/255.0f, color.b/255.0f });
    hsv.x = GuiColorBarHue(boundsHue, hsv.x);
    //color.a = (unsigned char)(GuiColorBarAlpha(boundsAlpha, (float)color.a/255.0f)*255.0f);
    Vector3 rgb = ConvertHSVtoRGB(hsv);
    color = RAYGUI_CLITERAL(Color){ (unsigned char)roundf(rgb.x*255.0f), (unsigned char)roundf(rgb.y*255.0f), (unsigned char)roundf(rgb.z*255.0f), color.a };

    return color;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movss 0x58635(%rip), %xmm2    # 0x68008
movaps %xmm0, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
callq 0xe66f
movl %eax, %ebx
cmpb $0x0, 0x9786a(%rip)     # 0xa7255
jne 0xf9f2
callq 0x6a18
movl 0x97dc0(%rip), %ebp     # 0xa77b8
cmpb $0x0, 0x97856(%rip)     # 0xa7255
jne 0xfa06
callq 0x6a18
movaps 0x20(%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
addss %xmm1, %xmm0
movaps %xmm1, %xmm3
xorps %xmm1, %xmm1
cvtsi2ss %ebp, %xmm1
addss %xmm0, %xmm1
movaps %xmm1, 0x40(%rsp)
movl %ebx, %r14d
andl $0xff000000, %r14d      # imm = 0xFF000000
movl %ebx, %eax
shrl $0x10, %eax
movl %ebx, %ecx
shrl $0x8, %ecx
movl $0xff, %ebp
andl %ebp, %ebx
xorps %xmm0, %xmm0
cvtsi2ss %ebx, %xmm0
andl %ebp, %ecx
xorps %xmm1, %xmm1
cvtsi2ss %ecx, %xmm1
movss 0x585e2(%rip), %xmm2    # 0x6803c
divss %xmm2, %xmm0
divss %xmm2, %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
andl %ebp, %eax
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
divss %xmm2, %xmm1
cvtsi2ssl 0x97d3a(%rip), %xmm3 # 0xa77b4
movaps %xmm3, 0x10(%rsp)
callq 0xebba
movaps %xmm0, %xmm2
movaps %xmm0, 0x30(%rsp)
movss %xmm1, 0xc(%rsp)
movaps 0x20(%rsp), %xmm0
movaps 0x40(%rsp), %xmm1
movss %xmm1, %xmm0            # xmm0 = xmm1[0],xmm0[1,2,3]
movaps 0x10(%rsp), %xmm1
callq 0xf23f
movaps 0x30(%rsp), %xmm1
movss %xmm0, %xmm1            # xmm1 = xmm0[0],xmm1[1,2,3]
movaps %xmm1, %xmm0
movss 0xc(%rsp), %xmm1
callq 0xec66
movaps %xmm0, 0x20(%rsp)
movss %xmm1, 0x10(%rsp)
mulss 0x58568(%rip), %xmm0    # 0x6803c
callq 0x60b0
cvttss2si %xmm0, %ebx
movaps 0x20(%rsp), %xmm0
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
mulss 0x5854e(%rip), %xmm0    # 0x6803c
callq 0x60b0
cvttss2si %xmm0, %r15d
movss 0x10(%rsp), %xmm0
mulss 0x58536(%rip), %xmm0    # 0x6803c
callq 0x60b0
cvttss2si %xmm0, %eax
andl %ebp, %eax
shll $0x10, %eax
orl %r14d, %eax
andl %ebp, %r15d
shll $0x8, %r15d
orl %eax, %r15d
andl %ebp, %ebx
orl %r15d, %ebx
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: LoadSdfFont
Font LoadSdfFont(const char* fileName) {
	uint32_t fontFileSize = 0;
	uint8_t* fontFileData = LoadFileData(fileName, &fontFileSize);
		Font font = { .baseSize = 32, .charsCount = 95 };
		font.chars = LoadFontData(fontFileData, fontFileSize, font.baseSize, NULL, 0, FONT_SDF);
		Image atlas = GenImageFontAtlas(font.chars, &font.recs, font.charsCount, font.baseSize, 0, 1);
			font.texture = LoadTextureFromImage(atlas);
			SetTextureFilter(font.texture, FILTER_BILINEAR);
		UnloadImage(atlas);
	UnloadFileData(fontFileData);
	return font;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
leaq 0x1c(%rsp), %r15
movl $0x0, (%r15)
movq %rsi, %rdi
movq %r15, %rsi
callq 0x55619
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
leaq 0x20(%rbx), %r12
movabsq $0x5f00000020, %rax     # imm = 0x5F00000020
movq %rax, (%rbx)
movl (%r15), %esi
movq %r14, %rdi
movl $0x20, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x2, %r9d
callq 0x4d7e2
movq %rax, 0x28(%rbx)
movl (%rbx), %r8d
movl 0x4(%rbx), %ecx
movl $0x1, (%rsp)
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
movq %r12, %rdx
xorl %r9d, %r9d
callq 0x5090b
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x4207c
movl 0x10(%r12), %eax
movl %eax, 0x1c(%rbx)
movups (%r12), %xmm0
movups %xmm0, 0xc(%rbx)
movl 0x1c(%rbx), %eax
movl %eax, 0x10(%r12)
movups 0xc(%rbx), %xmm0
movaps %xmm0, (%r12)
movl 0x10(%r12), %eax
movl %eax, 0x10(%rsp)
movaps (%r12), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %edi
callq 0x427aa
movq 0x10(%r15), %rax
movq %rax, 0x10(%rsp)
movups (%r15), %xmm0
movups %xmm0, (%rsp)
callq 0x3c3b4
movq %r14, %rdi
callq 0x55729
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: HilberCurvePosToDist
uint64_t HilberCurvePosToDist(uint64_t curveOrder, int x, int y) {
	uint64_t d = 0, tmp;
	for (uint64_t s = (1 << curveOrder) / 2; s > 0; s /= 2) {
		uint64_t rx = 0, ry = 0;
		
		if ((x & s) > 0) rx = 1;
		if ((y & s) > 0) ry = 1;
		
		d += s * s * ((3 * rx) ^ ry);
		
		// inlining
		// hilbertRot(s, p, rx, ry)
		if (ry == 0) {
			if (rx == 1) {
				x = s - 1 - x;
				y = s - 1 - y;
			}
			tmp = x;
			x = y;
			y = tmp;
		}
		// end inline
	}
	return d;
}

// Assembly:
testl %edi, %edi
je 0x13864
pushq %rbx
movl $0x1, %eax
movl %edi, %ecx
shll %cl, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movslq %ecx, %rcx
xorl %eax, %eax
movslq %esi, %r11
xorl %r8d, %r8d
testq %r11, %rcx
setne %r9b
movslq %edx, %rbx
xorl %edi, %edi
testq %rbx, %rcx
setne %r10b
testq %rbx, %rcx
jne 0x13838
leal -0x1(%rcx), %esi
movl %esi, %ebx
subl %r11d, %ebx
subl %edx, %esi
testq %r11, %rcx
cmovel %edx, %esi
cmovel %r11d, %ebx
movl %ebx, %edx
movb %r9b, %r8b
leaq (%r8,%r8,2), %r8
movb %r10b, %dil
xorq %r8, %rdi
movq %rcx, %r8
imulq %rcx, %r8
imulq %rdi, %r8
addq %r8, %rax
movq %rcx, %rdi
shrq %rdi
cmpq $0x2, %rcx
movq %rdi, %rcx
jae 0x13804
popq %rbx
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: HumanReadableByteSize
double HumanReadableByteSize(size_t bytes, const char** unit) {
	static const char* units[] = { "Byte", "KiByte", "MiByte", "GiByte", "TiByte", "PiByte", "EiByte", "ZiByte", "YiByte" };
	size_t unitIndex = floor(log2(bytes) / 10);
	if (unitIndex >= sizeof(units) / sizeof(units[0]))
		unitIndex = sizeof(units) / sizeof(units[0]) - 1;
	
	*unit = units[unitIndex];
	return bytes / pow(1024, unitIndex);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %xmm1
punpckldq 0x5470e(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x54716(%rip), %xmm1    # 0x681c0
movq %rsi, %rbx
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movapd %xmm0, (%rsp)
callq 0x6660
divsd 0x547b5(%rip), %xmm0    # 0x68280
callq 0x6710
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x547a4(%rip), %xmm0    # 0x68288
cvttsd2si %xmm0, %rdx
andq %rcx, %rdx
orq %rax, %rdx
cmpq $0x8, %rdx
movl $0x8, %eax
cmovbq %rdx, %rax
movl %eax, %ecx
leaq 0x9199b(%rip), %rdx     # 0xa54a0
movq (%rdx,%rcx,8), %rcx
movq %rcx, (%rbx)
addl %eax, %eax
leal (%rax,%rax,4), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
callq 0x6430
movapd (%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: UnloadTaskTraces
void UnloadTaskTraces(TaskTraces* traces) {
	for (size_t i = 0; i < traces->taskCount; i++) {
		if ( ptrace(PTRACE_DETACH, traces->tasks[i].pid, NULL, NULL) != 0 )
			perror("ptrace(PTRACE_DETACH)");
		free(traces->tasks[i].name);
		glDeleteBuffers(1, (const GLuint[]){ traces->tasks[i].particleVBO });
		glDeleteVertexArrays(1, (const GLuint[]){ traces->tasks[i].particleVAO });
	}
	
	free(traces->tasks);
	UnloadShader(traces->particleShader);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x8(%rdi)
je 0x13bd7
leaq 0x4(%rsp), %r14
leaq 0x95233(%rip), %rbp     # 0xa8d88
movq %rsp, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
movq (%rbx), %rax
movl (%rax,%r12), %esi
movl $0x11, %edi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x63d0
testq %rax, %rax
jne 0x13bc9
movq (%rbx), %rax
movq 0x8(%rax,%r12), %rdi
callq 0x62e0
movq (%rbx), %rax
movl 0x18(%rax,%r12), %eax
movl %eax, 0x4(%rsp)
movl $0x1, %edi
movq %r14, %rsi
leaq 0x951de(%rip), %rax     # 0xa8d80
callq *(%rax)
movq (%rbx), %rax
movl 0x14(%rax,%r12), %eax
movl %eax, (%rsp)
movl $0x1, %edi
movq %r15, %rsi
callq *(%rbp)
incq %r13
addq $0x20, %r12
cmpq 0x8(%rbx), %r13
jb 0x13b5e
jmp 0x13bd7
leaq 0x549cd(%rip), %rdi     # 0x6859d
callq 0x6730
jmp 0x13b7a
movq (%rbx), %rdi
callq 0x62e0
movl 0x18(%rbx), %edi
movq 0x20(%rbx), %rsi
callq 0x246ed
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: UnloadAddrRanges
void UnloadAddrRanges(AddrRange** ranges, size_t* rangeCount) {
	for (size_t i = 0; i < *rangeCount; i++) {
		AddrRange* range = &(*ranges)[i];
		free(range->perms);
		free(range->filePath);
		free(range->label.text);
		
		UnloadTexture(range->symbolMap);
		for (size_t s = 0; s < range->symbolCount; s++)
			free(range->symbolLabels[s].text);
		free(range->symbolLabels);
	}
	free(*ranges);
	*ranges = NULL;
	*rangeCount = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, (%rsi)
je 0x13cb0
xorl %r15d, %r15d
movq (%r14), %r13
leaq (%r15,%r15,4), %rbp
shlq $0x5, %rbp
movq %r13, %r12
addq %rbp, %r12
movq 0x18(%r13,%rbp), %rdi
callq 0x62e0
movq 0x20(%r13,%rbp), %rdi
callq 0x62e0
movq 0x58(%r13,%rbp), %rdi
callq 0x62e0
movl 0x88(%r13,%rbp), %eax
movl %eax, 0x10(%rsp)
movups 0x78(%r13,%rbp), %xmm0
movups %xmm0, (%rsp)
callq 0x42624
cmpq $0x0, 0x90(%r13,%rbp)
je 0x13c97
xorl %r13d, %r13d
xorl %ebp, %ebp
movq 0x98(%r12), %rax
movq (%rax,%r13), %rdi
callq 0x62e0
incq %rbp
addq $0x20, %r13
cmpq 0x90(%r12), %rbp
jb 0x13c75
movq 0x98(%r12), %rdi
callq 0x62e0
incq %r15
cmpq (%rbx), %r15
jb 0x13c1b
movq (%r14), %rdi
callq 0x62e0
xorl %eax, %eax
movq %rax, (%r14)
movq %rax, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: LabelFor
Label LabelFor(char* text, Rectangle container, Font font) {
	Vector2 textSize = MeasureTextEx(font, text, 10, 0);
	float textScale = (container.width * 0.66) / textSize.x;
	return (Label){
		.text = text,
		.fontSize = 10 * textScale,
		.boundingBox = (Rectangle){
			.x = container.x + (container.width  - textSize.x * textScale) / 2,
			.y = container.y + (container.height - textSize.y * textScale) / 2,
			.width  = textSize.x * textScale,
			.height = textSize.y * textScale
		}
	};
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x40(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movaps 0x70(%rsp), %xmm0
movaps 0x80(%rsp), %xmm1
movaps 0x90(%rsp), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movss 0x54307(%rip), %xmm0    # 0x68018
xorps %xmm1, %xmm1
movq %rsi, %rdi
callq 0x51b09
movaps 0x30(%rsp), %xmm4
xorps %xmm1, %xmm1
cvtss2sd %xmm4, %xmm1
mulsd 0x54568(%rip), %xmm1    # 0x68298
xorps %xmm2, %xmm2
cvtss2sd %xmm0, %xmm2
divsd %xmm2, %xmm1
cvtsd2ss %xmm1, %xmm1
movq %r14, (%rbx)
movss 0x542ce(%rip), %xmm2    # 0x68018
mulss %xmm1, %xmm2
movss %xmm2, 0x8(%rbx)
movaps %xmm0, %xmm2
mulss %xmm1, %xmm2
movaps %xmm4, %xmm3
movaps %xmm4, %xmm6
subss %xmm2, %xmm3
movss 0x542a4(%rip), %xmm4    # 0x68010
mulss %xmm4, %xmm3
movaps 0x40(%rsp), %xmm5
addss %xmm5, %xmm3
movss %xmm3, 0xc(%rbx)
shufps $0x55, %xmm5, %xmm5     # xmm5 = xmm5[1,1,1,1]
movaps %xmm6, %xmm3
shufps $0x55, %xmm6, %xmm3     # xmm3 = xmm3[1,1],xmm6[1,1]
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
mulss %xmm1, %xmm0
subss %xmm0, %xmm3
mulss %xmm4, %xmm3
addss %xmm5, %xmm3
movss %xmm3, 0x10(%rbx)
movss %xmm2, 0x14(%rbx)
movss %xmm0, 0x18(%rbx)
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: fnv1a
uint32_t fnv1a(void *buffer, size_t size) {
	uint32_t hash = 2166136261;
	for (char* c = buffer; c < (char*)buffer + size; c++) {
		hash ^= *c;
		hash *= 16777619;
	}
	return hash;
}

// Assembly:
testq %rsi, %rsi
jle 0x13dd8
addq %rdi, %rsi
movl $0x811c9dc5, %eax       # imm = 0x811C9DC5
movsbl (%rdi), %ecx
xorl %eax, %ecx
imull $0x1000193, %ecx, %eax  # imm = 0x1000193
incq %rdi
cmpq %rsi, %rdi
jb 0x13dc4
retq
movl $0x811c9dc5, %eax       # imm = 0x811C9DC5
retq
// File: /workspace/github_c_makefile_star2_O1/arkanis[P]process-map/map.c
// Function: HilberCurveDistToPos
void HilberCurveDistToPos(uint64_t curveOrder, uint64_t dist, int* x, int* y) {
	*x = 0; *y = 0;
	uint64_t tmp;
	uint64_t n = 1 << curveOrder;
	for (uint64_t s = 1; s < n; s *= 2) {
		uint64_t rx = 1 & (dist / 2);
		uint64_t ry = 1 & (dist ^ rx);
		// inlining
		// hilbertRot(s, p, rx, ry)
		if (ry == 0) {
			if (rx == 1) {
				*x = s - 1 - *x;
				*y = s - 1 - *y;
			}
			tmp = *x;
			*x = *y;
			*y = tmp;
		}
		// end inline

		*x += s * rx;
		*y += s * ry;
		dist /= 4;
	}
}

// Assembly:
movq %rcx, %rax
movq %rdi, %rcx
xorl %edi, %edi
movl %edi, (%rdx)
movl %edi, (%rax)
movl $0x1, %edi
shll %cl, %edi
testl %ecx, %ecx
je 0x13e55
movslq %edi, %rcx
movl $0x1, %edi
movq %rsi, %r9
shrq %r9
movl %esi, %r8d
xorl %r9d, %r8d
andl $0x1, %r9d
testb $0x1, %r8b
jne 0x13e37
testq %r9, %r9
je 0x13e2b
leal -0x1(%rdi), %r10d
movl %r10d, %r11d
subl (%rdx), %r11d
movl %r11d, (%rdx)
subl (%rax), %r10d
movl %r10d, (%rax)
movl (%rdx), %r10d
movl (%rax), %r11d
movl %r11d, (%rdx)
movl %r10d, (%rax)
andl $0x1, %r8d
imull %edi, %r9d
addl %r9d, (%rdx)
imull %edi, %r8d
addl %r8d, (%rax)
shrq $0x2, %rsi
addq %rdi, %rdi
cmpq %rcx, %rdi
jb 0x13dfd
retq
// File: /workspace/github_c_makefile_star2_O1/JulStrat[P]bams/tests/test_bisect.c
// Function: lfind_ge
void *
lfind_ge(const void *key, const void *arr, size_t el_num, size_t el_size,
         int (*compare) (const void *, const void *))
{
    char *off = (char *) arr;
    char *high = off + el_num * el_size;
    int t;

    while (off < high) {
        t = (*compare) (key, off);
        if ((t == 0) || (t < 0)) {
            return off;
        }
        off += el_size;
    }

    return off;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %rbx
imulq %rcx, %r12
testq %r12, %r12
jle 0x14d5
movq %r8, %r14
movq %rcx, %r15
movq %rdi, %r13
addq %rbx, %r12
movq %r13, %rdi
movq %rbx, %rsi
callq *%r14
testl %eax, %eax
jle 0x14d5
addq %r15, %rbx
cmpq %r12, %rbx
jb 0x14c0
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/JulStrat[P]bams/tests/test_bisect.c
// Function: lfind_gt
void *
lfind_gt(const void *key, const void *arr, size_t el_num, size_t el_size,
         int (*compare) (const void *, const void *))
{
    char *off = (char *) arr;
    char *high = off + el_num * el_size;
    int t;

    while (off < high) {
        t = (*compare) (key, off);
        if (t < 0) {
            return off;
        }
        off += el_size;
    }

    return off;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %rbx
imulq %rcx, %r12
testq %r12, %r12
jle 0x151b
movq %r8, %r14
movq %rcx, %r15
movq %rdi, %r13
addq %rbx, %r12
movq %r13, %rdi
movq %rbx, %rsi
callq *%r14
testl %eax, %eax
js 0x151b
addq %r15, %rbx
cmpq %r12, %rbx
jb 0x1506
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/mabdi[P]bunney/bunny-gcc.c
// Function: wait_execvp
static void wait_execvp(_u8* path, _u8** argv) {
  _s32 pid, st;
  
  if (getenv("BUNNY_EXEC")) {    
    _u32 i = 0;
    debug(">> EXEC");
    while (argv[i]) debug(" %s",argv[i++]);
    debug("\n");
  }
  
  pid = fork();
  if (pid < 0) fatal("unable to spawn a process");
  
  if (!pid) {
    argv[0] = path;
    execvp(path,(char**)argv);
    pfatal("unable to invoke gcc (set $BUNNY_GCC)");
  } else {

    if (waitpid(pid,&st,0) != pid) pfatal("waitpid() fails?");
    
    if (WIFSIGNALED(st)) fatal("gcc died on signal %u",WTERMSIG(st));
    else if (WEXITSTATUS(st))
      fatal("gcc error (exit code %u)",WEXITSTATUS(st));
  }
  
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xf62(%rip), %rdi       # 0x5273
callq 0x11b0
testq %rax, %rax
jne 0x436a
callq 0x1060
testl %eax, %eax
js 0x4374
je 0x4379
movl %eax, %ebp
leaq 0xc(%rsp), %rsi
movl %eax, %edi
xorl %edx, %edx
callq 0x1100
cmpl %ebp, %eax
jne 0x4384
movl 0xc(%rsp), %edi
movl %edi, %eax
andl $0x7f, %eax
movl %eax, %ecx
shll $0x18, %ecx
addl $0x1000000, %ecx        # imm = 0x1000000
cmpl $0x2000000, %ecx        # imm = 0x2000000
jge 0x4389
shrl $0x8, %edi
andl $0xff, %edi
jne 0x4390
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
callq 0x1260
jmp 0x431b
callq 0x140b
movq %r14, %rdi
movq %rbx, %rsi
callq 0x13ad
callq 0x12c7
movl %eax, %edi
callq 0x1365
callq 0x131d
// File: /workspace/github_c_makefile_star2_O1/shifengbin[P]bishe/Download/./../URL/URL.h
// Function: URL::setStateToDB(int)
int setStateToDB( int state )
	{
		char buf[1024] = { 0 };
		Persistence *db = Persistence::getPersistence();
		sprintf(buf,"update url set state=%d where id=%d",state,this->id);
		db->exec(buf);
	
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
movl %esi, %ebx
movq %rdi, %r14
leaq -0x420(%rbp), %r15
movl $0x400, %edx            # imm = 0x400
movq %r15, %rdi
xorl %esi, %esi
callq 0x8160
callq 0x93d6
movq %rax, %r12
movl (%r14), %ecx
leaq 0x70afe(%rip), %rsi     # 0x790ad
movq %r15, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x8080
movq %r12, %rdi
movq %r15, %rsi
callq 0x9484
// File: /workspace/github_c_makefile_star2_O1/shifengbin[P]bishe/Download/./../URL/URL.h
// Function: URL::save()
int save()
	{
		char buf[1024] = { 0 };
		Persistence *db = Persistence::getPersistence();
		sprintf(buf,"insert into url(urlstr,type,deep) values('%s',%d,%d)",this->urlStr,this->type,this->deep);
		db->exec(buf);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
movq %rdi, %r14
leaq -0x420(%rbp), %rbx
movl $0x400, %edx            # imm = 0x400
movq %rbx, %rdi
xorl %esi, %esi
callq 0x8160
callq 0x93d6
movq %rax, %r15
movq 0x8(%r14), %rdx
movl 0x10(%r14), %ecx
movl 0x14(%r14), %r8d
leaq 0x70b46(%rip), %rsi     # 0x79150
movq %rbx, %rdi
xorl %eax, %eax
callq 0x8080
movq %r15, %rdi
movq %rbx, %rsi
callq 0x9484