// File: /workspace/github_c_makefile_star2_O0/mabdi[P]bunney/bunny-trace.c
// Function: register_param
static void register_param(_u32 pid,_u32 val) {
  _s32 rno = get_procentry(pid,0);
  
  if (rno < 0) fatal("MESSAGE_PARAM for non-existent PID %u",pid);
  
  if (!procs[rno].func_name || !procs[rno].par_left) 
    fatal("out of sequence MESSAGE_PARAM for PID %u",pid);

  DYN_ADD(procs[rno].params,process_val(val));
    
  if (!(--procs[rno].par_left)) {
    _u32 i;
    
    do_indent(pid,procs[rno].nest,0);
    
    outf(".- %s(",procs[rno].func_name);
    
    for (i=0;i<procs[rno].params.c;i++)
      outf("%s%s",i ? ", " : "", procs[rno].params.v[i]);
      
    outf(")\n");
    
    DYN_FREE(procs[rno].params);
    free(procs[rno].func_name);
    procs[rno].func_name = 0;
    procs[rno].nest++;

  }
  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl -0x4(%rbp), %edi
xorl %esi, %esi
callq 0x2780
movl %eax, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jge 0x1f74
jmp 0x1f23
movq 0x30b6(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
movl -0x4(%rbp), %edx
leaq 0x15d6(%rip), %rsi      # 0x350d
movb $0x0, %al
callq 0x1170
movq 0x309b(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
leaq 0x1154(%rip), %rsi      # 0x30a3
leaq 0x15f4(%rip), %rdx      # 0x354a
leaq 0x115b(%rip), %rcx      # 0x30b8
movl $0x97, %r8d
movb $0x0, %al
callq 0x1170
movl $0x1, %edi
callq 0x1140
movq 0x31c5(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpq $0x0, 0x10(%rax)
je 0x1fa5
movq 0x31ac(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
cmpl $0x0, 0x4(%rax)
jne 0x1ff8
jmp 0x1fa7
movq 0x3032(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
movl -0x4(%rbp), %edx
leaq 0x159e(%rip), %rsi      # 0x3559
movb $0x0, %al
callq 0x1170
movq 0x3017(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
leaq 0x10d0(%rip), %rsi      # 0x30a3
leaq 0x1570(%rip), %rdx      # 0x354a
leaq 0x10d7(%rip), %rcx      # 0x30b8
movl $0x9a, %r8d
movb $0x0, %al
callq 0x1170
movl $0x1, %edi
callq 0x1140
jmp 0x1ffa
movl -0x8(%rbp), %edi
callq 0x2960
movq %rax, %rdi
callq 0x11d0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x2065
jmp 0x2017
movq 0x2fc2(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
leaq 0x143b(%rip), %rsi      # 0x3463
movb $0x0, %al
callq 0x1170
movq 0x2faa(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
leaq 0x1063(%rip), %rsi      # 0x30a3
leaq 0x1503(%rip), %rdx      # 0x354a
leaq 0x106a(%rip), %rcx      # 0x30b8
movl $0x9c, %r8d
movb $0x0, %al
callq 0x1170
movl $0x1, %edi
callq 0x1140
jmp 0x2067
movq 0x30d2(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
addq $0x18, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x7f, %eax
cmpl $0x0, %eax
jne 0x211a
movq -0x20(%rbp), %rax
movq (%rax), %rdi
movq -0x20(%rbp), %rax
movl 0x8(%rax), %eax
addl $0x82, %eax
movl %eax, %eax
movl %eax, %esi
shlq $0x3, %rsi
callq 0x11c0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x2118
jmp 0x20ca
movq 0x2f0f(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
leaq 0x1388(%rip), %rsi      # 0x3463
movb $0x0, %al
callq 0x1170
movq 0x2ef7(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
leaq 0xfb0(%rip), %rsi       # 0x30a3
leaq 0x1450(%rip), %rdx      # 0x354a
leaq 0xfb7(%rip), %rcx       # 0x30b8
movl $0x9c, %r8d
movb $0x0, %al
callq 0x1170
movl $0x1, %edi
callq 0x1140
jmp 0x211a
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq -0x20(%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 -0x20(%rbp), %rax
movq (%rax), %rax
movq -0x20(%rbp), %rcx
movl 0x8(%rcx), %ecx
movq $0x0, (%rax,%rcx,8)
jmp 0x2152
movq 0x2fe7(%rip), %rcx      # 0x5140
movslq -0xc(%rbp), %rax
imulq $0x28, %rax, %rax
addq %rax, %rcx
movl 0x4(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x4(%rcx)
cmpl $0x0, %eax
jne 0x2325
movl -0x4(%rbp), %edi
movq 0x2fc0(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %esi
xorl %edx, %edx
callq 0x28d0
movq 0x2f84(%rip), %rdi      # 0x5120
movq 0x2f9d(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdx
leaq 0x13e0(%rip), %rsi      # 0x3599
movb $0x0, %al
callq 0x1170
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movq 0x2f6f(%rip), %rcx      # 0x5140
movslq -0xc(%rbp), %rdx
imulq $0x28, %rdx, %rdx
addq %rdx, %rcx
cmpl 0x20(%rcx), %eax
jae 0x2236
movq 0x2f38(%rip), %rdi      # 0x5120
movl -0x24(%rbp), %ecx
leaq 0x12fa(%rip), %rdx      # 0x34ec
leaq 0x13ac(%rip), %rax      # 0x35a5
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq 0x2f39(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq 0x18(%rax), %rax
movl -0x24(%rbp), %ecx
movq (%rax,%rcx,8), %rcx
leaq 0x137c(%rip), %rsi      # 0x35a0
movb $0x0, %al
callq 0x1170
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x21c7
movq 0x2ee3(%rip), %rdi      # 0x5120
leaq 0x12a6(%rip), %rsi      # 0x34ea
movb $0x0, %al
callq 0x1170
movq 0x2eee(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
addq $0x18, %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
movq -0x30(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jae 0x22a9
movq -0x30(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
cmpq $0x0, (%rax,%rcx,8)
je 0x229c
movq -0x30(%rbp), %rax
movq (%rax), %rax
movl -0x28(%rbp), %ecx
movq (%rax,%rcx,8), %rdi
callq 0x1130
jmp 0x229e
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x226c
movq -0x30(%rbp), %rax
cmpq $0x0, (%rax)
je 0x22bf
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0x1130
movq -0x30(%rbp), %rax
movq $0x0, (%rax)
movq -0x30(%rbp), %rax
movl $0x0, 0x8(%rax)
movq 0x2e64(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdi
callq 0x1130
movq 0x2e49(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq $0x0, 0x10(%rax)
movq 0x2e2f(%rip), %rax      # 0x5140
movslq -0xc(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)