// File: /workspace/github_c_makefile_star2_O3/mabdi[P]bunney/bunny-main.c
// Function: register_new_exec
static _u8 register_new_exec(struct bunny_traceitem* t, _u8 queue) {
  _u8* inp;
  _u32 pos = t->exec_cksum & 0xFFF;
  _u32 i;

  for (i=0;i<known_exec[pos].c;i++)
    if (known_exec[pos].v[i] == t->exec_cksum) return 0;
  
  ADDINT64(known_exec[pos],t->exec_cksum);
  ADDPTR(known_exti[pos],t);
  epath_cnt++;

  t->param_cksum = 0; /* unknown */

  if (queue) {
    inp = make_input("case");
    add_queue(inp,0);
    outf("    + New call path stored at '%s' (c=%016llx).\n",inp,t->exec_cksum);

    if (t->func_skip)
      outf("      >>> Skipped %u function calls (limit is %u, use -M to adjust).\n",t->func_skip,func_limit);

  }

  return 1;
  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x10(%rdi), %rcx
movl %ecx, %r14d
andl $0xfff, %r14d           # imm = 0xFFF
movl %r14d, %eax
shll $0x4, %eax
leaq 0x779e(%rip), %rdx      # 0x10360
leaq (%rdx,%rax), %r15
movl 0x8(%rax,%rdx), %r12d
movq (%rax,%rdx), %rax
testq %r12, %r12
je 0x8bee
xorl %edx, %edx
cmpq %rcx, (%rax,%rdx,8)
je 0x8d13
incq %rdx
cmpq %rdx, %r12
jne 0x8bd6
testb $0x7f, %r12b
jne 0x8c12
leal 0x81(%r12), %esi
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, (%r15)
testq %rax, %rax
je 0x8d22
movq 0x10(%rbx), %rcx
leal 0x1(%r12), %edx
movl %edx, 0x8(%r15)
movq %rcx, (%rax,%r12,8)
shll $0x4, %r14d
leaq 0x17736(%rip), %rax     # 0x20360
leaq (%rax,%r14), %r15
movl 0x8(%r14,%rax), %r12d
movq (%r14,%rax), %rax
testb $0x7f, %r12b
jne 0x8c5d
leal 0x81(%r12), %esi
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, (%r15)
testq %rax, %rax
je 0x8da0
leal 0x1(%r12), %ecx
movl %ecx, 0x8(%r15)
movq %rbx, (%rax,%r12,8)
incl 0x767c(%rip)            # 0x102ec
movq $0x0, 0x18(%rbx)
movb $0x1, %r14b
testb %bpl, %bpl
je 0x8d16
leaq 0x4417(%rip), %rdi      # 0xd0a2
callq 0xa252
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
callq 0x7457
movq 0x10(%rbx), %rdx
leaq 0x43ff(%rip), %rdi      # 0xd0a7
movq %r15, %rsi
xorl %eax, %eax
callq 0x2030
movq 0x75af(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x8cd3
movq 0x10(%rbx), %rcx
leaq 0x43de(%rip), %rsi      # 0xd0a7
movq %r15, %rdx
xorl %eax, %eax
callq 0x22d0
movl 0x38(%rbx), %esi
testl %esi, %esi
je 0x8d16
movl 0x7538(%rip), %edx      # 0x10218
leaq 0x43f1(%rip), %rdi      # 0xd0d8
xorl %eax, %eax
callq 0x2030
movq 0x7573(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x8d16
movl 0x38(%rbx), %edx
movl 0x7515(%rip), %ecx      # 0x10218
leaq 0x43ce(%rip), %rsi      # 0xd0d8
xorl %eax, %eax
callq 0x22d0
jmp 0x8d16
xorl %r14d, %r14d
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x286f(%rip), %rdi      # 0xb598
xorl %eax, %eax
callq 0x2030
movq 0x7531(%rip), %rcx      # 0x10268
testq %rcx, %rcx
je 0x8d52
leaq 0x2855(%rip), %rdi      # 0xb598
movl $0x24, %esi
movl $0x1, %edx
callq 0x23b0
leaq 0x24e4(%rip), %rdi      # 0xb23d
leaq 0x4330(%rip), %rsi      # 0xd090
leaq 0x24e6(%rip), %rdx      # 0xb24d
movl $0x386, %ecx            # imm = 0x386
xorl %eax, %eax
callq 0x2030
movq 0x74ee(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x8e1f
leaq 0x24b3(%rip), %rsi      # 0xb23d
leaq 0x42ff(%rip), %rdx      # 0xd090
leaq 0x24b5(%rip), %rcx      # 0xb24d
movl $0x386, %r8d            # imm = 0x386
jmp 0x8e18
leaq 0x27f1(%rip), %rdi      # 0xb598
xorl %eax, %eax
callq 0x2030
movq 0x74b3(%rip), %rcx      # 0x10268
testq %rcx, %rcx
je 0x8dd0
leaq 0x27d7(%rip), %rdi      # 0xb598
movl $0x24, %esi
movl $0x1, %edx
callq 0x23b0
leaq 0x2466(%rip), %rdi      # 0xb23d
leaq 0x42b2(%rip), %rsi      # 0xd090
leaq 0x2468(%rip), %rdx      # 0xb24d
movl $0x387, %ecx            # imm = 0x387
xorl %eax, %eax
callq 0x2030
movq 0x7470(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x8e1f
leaq 0x2439(%rip), %rsi      # 0xb23d
leaq 0x4285(%rip), %rdx      # 0xd090
leaq 0x243b(%rip), %rcx      # 0xb24d
movl $0x387, %r8d            # imm = 0x387
xorl %eax, %eax
callq 0x22d0
movl $0x1, %edi
callq 0x2230