// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %rax
movl %ecx, %r14d
movq %rdx, %rbp
movl %esi, 0x4(%rsp)
movq %rdi, %r15
movl 0x1535e(%rip), %eax     # 0x200b0
cmpl 0x15674(%rip), %eax     # 0x203cc
jl 0xae69
movl 0x13823(%rip), %r13d    # 0x1e588
leal (,%r13,2), %eax
testq %r13, %r13
movq 0x13809(%rip), %r12     # 0x1e580
movl $0x40, %ebx
cmovnel %eax, %ebx
movl %ebx, 0x13803(%rip)     # 0x1e588
leal (,%rbx,8), %eax
leal (%rax,%rax,2), %eax
movslq %eax, %rdi
callq 0x2250
movq %rax, 0x137e2(%rip)     # 0x1e580
testq %rax, %rax
je 0xaf98
movslq %ebx, %rcx
shlq $0x3, %rcx
leaq (%rcx,%rcx,2), %rdx
movq %rax, %rdi
xorl %esi, %esi
callq 0x2160
leal (%rbx,%rbx,2), %eax
sarl $0x2, %eax
movl %eax, 0x15604(%rip)     # 0x203cc
decl %ebx
movl %ebx, 0x155f8(%rip)     # 0x203c8
movl $0x0, 0x152d6(%rip)     # 0x200b0
testl %r13d, %r13d
jle 0xae5c
movl %r14d, (%rsp)
movq %rbp, %r14
movq %r13, %rax
shlq $0x3, %rax
leaq (%rax,%rax,2), %rbx
xorl %ebp, %ebp
movq (%r12,%rbp), %rdi
cmpq $0x2, %rdi
jb 0xae22
movl 0x14(%r12,%rbp), %esi
movq 0x8(%r12,%rbp), %rdx
movl 0x10(%r12,%rbp), %ecx
callq 0xad34
movq (%r12,%rbp), %rdi
callq 0xac91
testl %eax, %eax
js 0xaf3b
addq $0x18, %rbp
cmpq %rbp, %rbx
jne 0xadf3
testl %r13d, %r13d
movq %r14, %rbp
movl (%rsp), %r14d
jle 0xae61
xorl %r13d, %r13d
movq (%r12,%r13), %rdi
cmpq $0x2, %rdi
jb 0xae51
callq 0xac91
testl %eax, %eax
js 0xaf5a
addq $0x18, %r13
cmpq %r13, %rbx
jne 0xae3a
jmp 0xae61
testq %r12, %r12
je 0xae69
movq %r12, %rdi
callq 0x23c0
movl %r15d, %eax
shrl $0x6, %eax
addl %r15d, %eax
movl %r15d, %ecx
shrl $0x13, %ecx
addl %eax, %ecx
movl %ecx, %eax
shll $0x10, %eax
addl %ecx, %eax
movl %ecx, %edx
shll $0x13, %edx
leal (%rdx,%rcx,8), %ecx
xorl %eax, %ecx
movl %ecx, %eax
shrl $0x5, %eax
addl %ecx, %eax
leal (,%rax,4), %ecx
xorl %eax, %ecx
movl %ecx, %edx
shrl $0xf, %edx
addl %ecx, %edx
movl %edx, %eax
shll $0xa, %eax
xorl %edx, %eax
movl %eax, %ecx
shrl $0x6, %ecx
addl %eax, %ecx
shrl $0x13, %eax
addl %ecx, %eax
movl 0x1550d(%rip), %edx     # 0x203c8
movl %edx, %esi
andl %eax, %esi
movq 0x136ba(%rip), %rcx     # 0x1e580
movslq %esi, %rdi
leaq (%rdi,%rdi,2), %r8
movq (%rcx,%r8,8), %r8
cmpq $0x2, %r8
jb 0xaefb
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
leaq (%rdi,%rdi,2), %r8
movq (%rcx,%r8,8), %r8
cmpq $0x1, %r8
ja 0xaee6
cmpq $0x2, %r8
jae 0xaf79
shlq $0x3, %rdi
leaq (%rdi,%rdi,2), %rax
movq %r15, (%rcx,%rax)
movq 0x1366c(%rip), %rcx     # 0x1e580
movl 0x4(%rsp), %edx
movl %edx, 0x14(%rcx,%rax)
movl %r14d, 0x10(%rcx,%rax)
movq %rbp, 0x8(%rcx,%rax)
incl 0x15184(%rip)           # 0x200b0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x81ef(%rip), %rdi      # 0x13131
leaq 0x7568(%rip), %rsi      # 0x124b1
leaq 0x81fe(%rip), %rcx      # 0x1314e
movl $0x1c9b, %edx           # imm = 0x1C9B
callq 0x2140
leaq 0x81d0(%rip), %rdi      # 0x13131
leaq 0x7549(%rip), %rsi      # 0x124b1
leaq 0x81df(%rip), %rcx      # 0x1314e
movl $0x1c9f, %edx           # imm = 0x1C9F
callq 0x2140
leaq 0x810e(%rip), %rdi      # 0x1308e
leaq 0x752a(%rip), %rsi      # 0x124b1
leaq 0x8142(%rip), %rcx      # 0x130d0
movl $0x1cb1, %edx           # imm = 0x1CB1
callq 0x2140
leaq 0x815f(%rip), %rdi      # 0x130fe
xorl %eax, %eax
callq 0x3027