// File: /workspace/github_c_makefile_star2_O0/mabdi[P]bunney/bunny-exec.c
// Function: register_call
static void register_call(_u32 pid, _u8* fname,_u32 pcount) {
  _s32 rno = get_procentry(pid,1);

  /* Record function name and nesting level */    
  DYN_ADD(procs[rno].funclist,fname);
  ADDINT(procs[rno].nestlist,procs[rno].nest);

  procs[rno].nest++;
  procs[rno].func_count++;
  
  gettimeofday(&last_time,0);
  total_calls++;
  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl -0x4(%rbp), %edi
movl $0x1, %esi
callq 0x2e10
movl %eax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1220
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2006
jmp 0x1fb8
movq 0x4021(%rip), %rax      # 0x5fe0
movq (%rax), %rdi
leaq 0x22c6(%rip), %rsi      # 0x428f
movb $0x0, %al
callq 0x11b0
movq 0x4009(%rip), %rax      # 0x5fe0
movq (%rax), %rdi
leaq 0x207e(%rip), %rsi      # 0x405f
leaq 0x22da(%rip), %rdx      # 0x42c2
leaq 0x2085(%rip), %rcx      # 0x4074
movl $0x75, %r8d
movb $0x0, %al
callq 0x11b0
movl $0x1, %edi
callq 0x1130
jmp 0x2008
movq 0x4191(%rip), %rax      # 0x61a0
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
addq $0x10, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x7f, %eax
cmpl $0x0, %eax
jne 0x20bb
movq -0x28(%rbp), %rax
movq (%rax), %rdi
movq -0x28(%rbp), %rax
movl 0x8(%rax), %eax
addl $0x82, %eax
movl %eax, %eax
movl %eax, %esi
shlq $0x3, %rsi
callq 0x1210
movq %rax, %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x20b9
jmp 0x206b
movq 0x3f6e(%rip), %rax      # 0x5fe0
movq (%rax), %rdi
leaq 0x2213(%rip), %rsi      # 0x428f
movb $0x0, %al
callq 0x11b0
movq 0x3f56(%rip), %rax      # 0x5fe0
movq (%rax), %rdi
leaq 0x1fcb(%rip), %rsi      # 0x405f
leaq 0x2227(%rip), %rdx      # 0x42c2
leaq 0x1fd2(%rip), %rcx      # 0x4074
movl $0x75, %r8d
movb $0x0, %al
callq 0x11b0
movl $0x1, %edi
callq 0x1130
jmp 0x20bb
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rsi
movl 0x8(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0x8(%rsi)
movl %ecx, %ecx
movq %rdx, (%rax,%rcx,8)
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq -0x28(%rbp), %rcx
movl 0x8(%rcx), %ecx
movq $0x0, (%rax,%rcx,8)
jmp 0x20f3
jmp 0x20f5
movq 0x40a4(%rip), %rax      # 0x61a0
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
addq $0x20, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x7f, %eax
cmpl $0x0, %eax
jne 0x21a8
movq -0x30(%rbp), %rax
movq (%rax), %rdi
movq -0x30(%rbp), %rax
movl 0x8(%rax), %eax
addl $0x81, %eax
movl %eax, %eax
movl %eax, %esi
shlq $0x2, %rsi
callq 0x1210
movq %rax, %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x21a6
jmp 0x2158
movq 0x3e81(%rip), %rax      # 0x5fe0
movq (%rax), %rdi
leaq 0x2126(%rip), %rsi      # 0x428f
movb $0x0, %al
callq 0x11b0
movq 0x3e69(%rip), %rax      # 0x5fe0
movq (%rax), %rdi
leaq 0x1ede(%rip), %rsi      # 0x405f
leaq 0x213a(%rip), %rdx      # 0x42c2
leaq 0x1ee5(%rip), %rcx      # 0x4074
movl $0x76, %r8d
movb $0x0, %al
callq 0x11b0
movl $0x1, %edi
callq 0x1130
jmp 0x21a8
movq 0x3ff1(%rip), %rax      # 0x61a0
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movl 0x8(%rax), %edx
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq -0x30(%rbp), %rsi
movl 0x8(%rsi), %ecx
movl %ecx, %edi
addl $0x1, %edi
movl %edi, 0x8(%rsi)
movl %ecx, %ecx
movl %edx, (%rax,%rcx,4)
movq 0x3fc1(%rip), %rax      # 0x61a0
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq 0x3fa6(%rip), %rax      # 0x61a0
movslq -0x18(%rbp), %rcx
shlq $0x6, %rcx
addq %rcx, %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x4(%rax)
leaq 0x3f53(%rip), %rdi      # 0x6168
xorl %eax, %eax
movl %eax, %esi
callq 0x1200
movl 0x3f8c(%rip), %eax      # 0x61b0
addl $0x1, %eax
movl %eax, 0x3f83(%rip)      # 0x61b0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)