// File: /workspace/github_cpp_makefile_star2_O2/attractivechaos[P]udb2/stb/./stb.h
// Function: stb__add_alloc
static void stb__add_alloc(void *p, int sz, char *file, int line)
{
   stb_uint32 h;
   int n;
   if (stb__alloc_count >= stb__alloc_limit)
      stb__grow_alloc();
   h = stb_hashptr(p);
   n = h & stb__alloc_mask;
   if (stb__allocations[n].p > STB_DEL) {
      int s = stb_rehash(h)|1;
      do {
         n = (n+s) & stb__alloc_mask;
      } while (stb__allocations[n].p > STB_DEL);
   }
   assert(stb__allocations[n].p == NULL || stb__allocations[n].p == STB_DEL);
   stb__allocations[n].p = p;
   stb__allocations[n].size = sz;
   stb__allocations[n].line = line;
   stb__allocations[n].file = file;
   ++stb__alloc_count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
movl 0x143db(%rip), %eax     # 0x1e0b0
cmpl 0x146f1(%rip), %eax     # 0x1e3cc
jl 0x9dd3
movl %ebp, 0xc(%rsp)
movq %rbx, 0x10(%rsp)
movl 0x12897(%rip), %r13d    # 0x1c588
leal (,%r13,2), %eax
testl %r13d, %r13d
pushq $0x40
popq %rbp
cmovnel %eax, %ebp
movq 0x12877(%rip), %r12     # 0x1c580
movl %ebp, 0x12879(%rip)     # 0x1c588
imull $0x18, %ebp, %eax
movslq %eax, %rdi
callq 0x2250
movq %rax, 0x1285f(%rip)     # 0x1c580
testq %rax, %rax
je 0x9eb6
movslq %ebp, %rcx
imulq $0x18, %rcx, %rdx
xorl %ebx, %ebx
movq %rax, %rdi
xorl %esi, %esi
callq 0x2160
leal (%rbp,%rbp,2), %eax
sarl $0x2, %eax
movl %eax, 0x14682(%rip)     # 0x1e3cc
decl %ebp
movl %ebp, 0x14676(%rip)     # 0x1e3c8
andl $0x0, 0x14357(%rip)     # 0x1e0b0
testl %r13d, %r13d
cmovlel %ebx, %r13d
imulq $0x18, %r13, %r13
cmpq %rbx, %r13
je 0x9d9e
movq (%r12,%rbx), %rdi
cmpq $0x2, %rdi
jb 0x9d98
movl 0x14(%r12,%rbx), %esi
movq 0x8(%r12,%rbx), %rdx
movl 0x10(%r12,%rbx), %ecx
callq 0x9cb6
movq (%r12,%rbx), %rdi
callq 0x9c4d
testl %eax, %eax
js 0x9e59
addq $0x18, %rbx
jmp 0x9d64
xorl %ebx, %ebx
cmpq %rbx, %r13
je 0x9dc2
movq (%r12,%rbx), %rdi
cmpq $0x2, %rdi
jb 0x9dbc
callq 0x9c4d
testl %eax, %eax
js 0x9e78
addq $0x18, %rbx
jmp 0x9da0
movq %r12, %rdi
callq 0x23c0
movq 0x10(%rsp), %rbx
movl 0xc(%rsp), %ebp
movq %r15, %rdi
callq 0x5355
movl 0x145e7(%rip), %edx     # 0x1e3c8
movl %edx, %esi
andl %eax, %esi
movq 0x12794(%rip), %rcx     # 0x1c580
movslq %esi, %rdi
imulq $0x18, %rdi, %r8
movq (%rcx,%r8), %r8
cmpq $0x2, %r8
jb 0x9e21
movl %eax, %edi
shrl $0x6, %edi
addl %eax, %edi
shrl $0x13, %eax
addl %edi, %eax
orl $0x1, %eax
addl %eax, %esi
andl %edx, %esi
movslq %esi, %rdi
imulq $0x18, %rdi, %r8
movq (%rcx,%r8), %r8
cmpq $0x1, %r8
ja 0x9e0c
cmpq $0x2, %r8
jae 0x9e97
imulq $0x18, %rdi, %rax
movq %r15, (%rcx,%rax)
movq 0x1274a(%rip), %rcx     # 0x1c580
movl %r14d, 0x14(%rcx,%rax)
movl %ebp, 0x10(%rcx,%rax)
movq %rbx, 0x8(%rcx,%rax)
incl 0x14266(%rip)           # 0x1e0b0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7241(%rip), %rdi      # 0x110a1
leaq 0x65ba(%rip), %rsi      # 0x10421
leaq 0x7250(%rip), %rcx      # 0x110be
movl $0x1c9b, %edx           # imm = 0x1C9B
callq 0x2140
leaq 0x7222(%rip), %rdi      # 0x110a1
leaq 0x659b(%rip), %rsi      # 0x10421
leaq 0x7231(%rip), %rcx      # 0x110be
movl $0x1c9f, %edx           # imm = 0x1C9F
callq 0x2140
leaq 0x7160(%rip), %rdi      # 0x10ffe
leaq 0x657c(%rip), %rsi      # 0x10421
leaq 0x7194(%rip), %rcx      # 0x11040
movl $0x1cb1, %edx           # imm = 0x1CB1
callq 0x2140
leaq 0x71b1(%rip), %rdi      # 0x1106e
xorl %eax, %eax
callq 0x2e7e