user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<ax25_dump>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %rdi,-0x98(%rbp)
  mov    %esi,-0x9c(%rbp)
  mov    %edx,-0xa0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x84(%rbp)
  movl   $0x0,-0x80(%rbp)
  cmpl   $0x7,-0x9c(%rbp)
  jg     L477
  lea    D479(%rip),%rax
  mov    %rax,%rsi
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L401
L477:
  mov    -0x98(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L176
  lea    D343(%rip),%rax
  mov    %rax,%rsi
  mov    $0x6,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  movl   $0x0,-0x68(%rbp)
  movb   $0x0,-0x48(%rbp)
  movzbl -0x48(%rbp),%eax
  mov    %al,-0x49(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  shr    $0x2,%al
  add    $0x20,%eax
  mov    %al,-0x4f(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x4,%eax
  and    $0x30,%eax
  mov    %eax,%edx
  mov    -0x98(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  shr    $0x4,%al
  add    %edx,%eax
  add    $0x20,%eax
  mov    %al,-0x4e(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x2,%eax
  and    $0x3c,%eax
  mov    %eax,%edx
  mov    -0x98(%rbp),%rax
  add    $0x4,%rax
  movzbl (%rax),%eax
  shr    $0x6,%al
  add    %edx,%eax
  add    $0x20,%eax
  mov    %al,-0x4d(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x4,%rax
  movzbl (%rax),%eax
  and    $0x3f,%eax
  add    $0x20,%eax
  mov    %al,-0x4c(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x5,%rax
  movzbl (%rax),%eax
  shr    $0x2,%al
  add    $0x20,%eax
  mov    %al,-0x4b(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x5,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x4,%eax
  and    $0x30,%eax
  mov    %eax,%edx
  mov    -0x98(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  shr    $0x4,%al
  add    %edx,%eax
  add    $0x20,%eax
  mov    %al,-0x4a(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0xf,%eax
  test   %eax,%eax
  je     L352
  mov    -0x98(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0xf,%eax
  mov    %eax,%edx
  lea    -0x4f(%rbp),%rax
  add    $0x7,%rax
  lea    D186(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
L352:
  lea    -0x4f(%rbp),%rbx
  add    $0x7,%rbx
  lea    -0x4f(%rbp),%rax
  lea    D339(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strtok@plt>
  mov    %eax,%edx
  mov    -0x98(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x6,%eax
  mov    %eax,%ecx
  mov    -0x98(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  shr    $0x2,%al
  movzbl %al,%eax
  and    $0x3f,%eax
  or     %ecx,%eax
  mov    %rbx,%r8
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D373(%rip),%rax
  mov    %rax,%rsi
  mov    $0x8,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x98(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L559
  mov    $0x1,%eax
  jmp    L105
L559:
  mov    $0x2,%eax
L105:
  mov    %eax,-0x6c(%rbp)
  lea    D271(%rip),%rax
  mov    %rax,-0x58(%rbp)
  addq   $0x7,-0x98(%rbp)
  subl   $0x7,-0x9c(%rbp)
  jmp    L355
L176:
  cmpl   $0xe,-0x9c(%rbp)
  jg     L521
  lea    D479(%rip),%rax
  mov    %rax,%rsi
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L401
L521:
  mov    -0x98(%rbp),%rax
  add    $0xd,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x40,%eax
  test   %eax,%eax
  je     L311
  movl   $0x0,-0x68(%rbp)
  lea    D343(%rip),%rax
  mov    %rax,%rsi
  mov    $0x6,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L31
L311:
  movl   $0x1,-0x68(%rbp)
  lea    D254(%rip),%rax
  mov    %rax,%rsi
  mov    $0x6,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
L31:
  mov    -0x98(%rbp),%rax
  add    $0xd,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x20,%eax
  test   %eax,%eax
  je     L11
  lea    D271(%rip),%rax
  mov    %rax,-0x58(%rbp)
  jmp    L465
L11:
  lea    D159(%rip),%rax
  mov    %rax,-0x58(%rbp)
L465:
  mov    -0x98(%rbp),%rax
  lea    0x7(%rax),%rdx
  lea    -0x4f(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <pax25@plt>
  mov    %rax,%rdx
  lea    D192(%rip),%rax
  mov    %rax,%rsi
  mov    $0x8,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x98(%rbp),%rdx
  lea    -0x4f(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <pax25@plt>
  mov    %rax,%rdx
  lea    D234(%rip),%rax
  mov    %rax,%rsi
  mov    $0x8,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  movl   $0x0,-0x6c(%rbp)
  mov    -0x98(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jns    L664
  mov    -0x98(%rbp),%rax
  add    $0xd,%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L664
  movl   $0x1,-0x6c(%rbp)
L664:
  mov    -0x98(%rbp),%rax
  add    $0xd,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jns    L504
  mov    -0x98(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  test   %al,%al
  js     L504
  movl   $0x2,-0x6c(%rbp)
L504:
  mov    -0x98(%rbp),%rax
  add    $0xd,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x1,%eax
  mov    %eax,-0x70(%rbp)
  addq   $0xe,-0x98(%rbp)
  subl   $0xe,-0x9c(%rbp)
  cmpl   $0x0,-0x70(%rbp)
  jne    L355
  lea    D162(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L526
L161:
  mov    -0x98(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jns    L650
  lea    D110(%rip),%rbx
  jmp    L328
L650:
  lea    D271(%rip),%rbx
L328:
  mov    -0x98(%rbp),%rdx
  lea    -0x4f(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <pax25@plt>
  mov    %rbx,%rcx
  mov    %rax,%rdx
  lea    D453(%rip),%rax
  mov    %rax,%rsi
  mov    $0x8,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x98(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x1,%eax
  mov    %eax,-0x70(%rbp)
  addq   $0x7,-0x98(%rbp)
  subl   $0x7,-0x9c(%rbp)
L526:
  cmpl   $0x0,-0x70(%rbp)
  je     L161
L355:
  cmpl   $0x0,-0x9c(%rbp)
  je     L78
  mov    -0x9c(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x64(%rbp)
  mov    -0x68(%rbp),%r8d
  lea    -0x7c(%rbp),%rdi
  lea    -0x84(%rbp),%rcx
  lea    -0x80(%rbp),%rdx
  lea    -0x78(%rbp),%rsi
  mov    -0x98(%rbp),%rax
  mov    %r8d,%r9d
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <ftype@plt>
  mov    %eax,-0x60(%rbp)
  mov    -0x60(%rbp),%eax
  cltq
  add    %rax,-0x98(%rbp)
  mov    -0x60(%rbp),%eax
  sub    %eax,-0x9c(%rbp)
  mov    -0x78(%rbp),%eax
  mov    %eax,%edi
  call   <decode_type@plt>
  mov    %rax,%rdx
  lea    D370(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  cmpl   $0x1,-0x6c(%rbp)
  je     L391
  cmpl   $0x2,-0x6c(%rbp)
  je     L171
  jmp    L374
L391:
  lea    D481(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x7c(%rbp),%eax
  test   %eax,%eax
  je     L621
  lea    D279(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L621
L171:
  lea    D289(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x7c(%rbp),%eax
  test   %eax,%eax
  je     L592
  lea    D361(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L592
L621:
  nop
  jmp    L374
L592:
  nop
L374:
  mov    -0x78(%rbp),%eax
  test   %eax,%eax
  jne    L673
  mov    -0x80(%rbp),%eax
  mov    %eax,%edx
  lea    D431(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
L673:
  mov    -0x78(%rbp),%eax
  and    $0x3,%eax
  cmp    $0x3,%eax
  je     L56
  mov    -0x84(%rbp),%eax
  mov    %eax,%edx
  lea    D61(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
L56:
  lea    D307(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x78(%rbp),%eax
  test   %eax,%eax
  je     L312
  mov    -0x78(%rbp),%eax
  cmp    $0x3,%eax
  jne    L295
L312:
  cmpl   $0x0,-0x9c(%rbp)
  jle    L401
  mov    -0x98(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x98(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x74(%rbp)
  subl   $0x1,-0x9c(%rbp)
  cmpl   $0x8,-0x74(%rbp)
  jne    L524
  mov    -0x98(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x98(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x5c(%rbp)
  subl   $0x1,-0x9c(%rbp)
  mov    -0x5c(%rbp),%eax
  and    $0x7f,%eax
  mov    %eax,%edx
  mov    -0x5c(%rbp),%eax
  and    $0x80,%eax
  test   %eax,%eax
  je     L466
  lea    D50(%rip),%rax
  jmp    L376
L466:
  lea    D271(%rip),%rax
L376:
  mov    %edx,%ecx
  mov    %rax,%rdx
  lea    D231(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x5c(%rbp),%eax
  and    $0x80,%eax
  test   %eax,%eax
  je     L524
  mov    -0x98(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x98(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x74(%rbp)
  subl   $0x1,-0x9c(%rbp)
L524:
  mov    -0x64(%rbp),%ecx
  mov    -0x58(%rbp),%rdx
  lea    -0x40(%rbp),%rax
  lea    D461(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  cmpl   $0xf0,-0x74(%rbp)
  jg     L258
  cmpl   $0xc3,-0x74(%rbp)
  jge    L147
  cmpl   $0x1,-0x74(%rbp)
  je     L253
  cmpl   $0x8,-0x74(%rbp)
  je     L473
  jmp    L258
L147:
  mov    -0x74(%rbp),%eax
  sub    $0xc3,%eax
  cmp    $0x2d,%eax
  ja     L258
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D455(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D455(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
L473:
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D333(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <data_dump@plt>
  jmp    L203
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D413(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x9c(%rbp),%edx
  mov    -0x98(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <arp_dump@plt>
  jmp    L203
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D84(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <netrom_dump@plt>
  jmp    L203
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D438(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <ip_dump@plt>
  jmp    L203
L253:
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D72(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <rose_dump@plt>
  jmp    L203
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D105(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <data_dump@plt>
  jmp    L203
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D54(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <flexnet_dump@plt>
  jmp    L203
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdx
  lea    D226(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <data_dump@plt>
  jmp    L203
L258:
  lea    -0x40(%rbp),%rdx
  mov    -0x74(%rbp),%eax
  mov    %rdx,%rcx
  mov    %eax,%edx
  lea    D44(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0xa0(%rbp),%edx
  mov    -0x9c(%rbp),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <data_dump@plt>
  nop
L203:
  jmp    L401
L295:
  mov    -0x78(%rbp),%eax
  cmp    $0x87,%eax
  jne    L599
  cmpl   $0x2,-0x9c(%rbp)
  jle    L599
  mov    -0x98(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edx
  lea    D220(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x98(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  shr    %al
  movzbl %al,%eax
  and    $0x7,%eax
  mov    %eax,%edx
  mov    -0x98(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  shr    $0x5,%al
  movzbl %al,%eax
  and    $0x7,%eax
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D280(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  mov    -0x98(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L66
  lea    D38(%rip),%rax
  mov    %rax,%rsi
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
L66:
  mov    -0x98(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L462
  lea    D86(%rip),%rax
  mov    %rax,%rsi
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
L462:
  mov    -0x98(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x4,%eax
  test   %eax,%eax
  je     L356
  lea    D446(%rip),%rax
  mov    %rax,%rsi
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
L356:
  mov    -0x98(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x8,%eax
  test   %eax,%eax
  je     L275
  lea    D414(%rip),%rax
  mov    %rax,%rsi
  mov    $0x1,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
L275:
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdx
  lea    D333(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L401
L599:
  mov    -0x78(%rbp),%eax
  cmp    $0x2f,%eax
  je     L435
  mov    -0x78(%rbp),%eax
  cmp    $0x63,%eax
  jne    L249
L435:
  cmpl   $0x1,-0x9c(%rbp)
  jle    L249
  mov    -0x98(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0x98(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  or     %eax,%edx
  mov    -0x58(%rbp),%rax
  mov    %rax,%rcx
  lea    D471(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L401
L249:
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdx
  lea    D333(%rip),%rax
  mov    %rax,%rsi
  mov    $0x7,%edi
  mov    $0x0,%eax
  call   <lprintf@plt>
  jmp    L401
L78:
  nop
L401:
  mov    -0x18(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L653
  call   <__stack_chk_fail@plt>
L653:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D479
type_guessed: string
name: parse_data
arguments: tag: D343
type_guessed: string
name: parse_data
arguments: tag: D186
type_guessed: string
name: parse_data
arguments: tag: D339
type_guessed: string
name: parse_data
arguments: tag: D373
type_guessed: string
name: parse_data
arguments: tag: D271
type_guessed: string
name: parse_data
arguments: tag: D254
type_guessed: string
name: parse_data
arguments: tag: D159
type_guessed: string
name: parse_data
arguments: tag: D192
type_guessed: string
name: parse_data
arguments: tag: D234
type_guessed: string
name: parse_data
arguments: tag: D162
type_guessed: string
name: parse_data
arguments: tag: D110
type_guessed: string
name: parse_data
arguments: tag: D453
type_guessed: string
name: parse_data
arguments: tag: D370
type_guessed: string
name: parse_data
arguments: tag: D481
type_guessed: string
name: parse_data
arguments: tag: D279
type_guessed: string
name: parse_data
arguments: tag: D289
type_guessed: string
name: parse_data
arguments: tag: D361
type_guessed: string
name: parse_data
arguments: tag: D431
type_guessed: string
name: parse_data
arguments: tag: D61
type_guessed: string
name: parse_data
arguments: tag: D307
type_guessed: string
name: parse_data
arguments: tag: D50
type_guessed: string
name: parse_data
arguments: tag: D231
type_guessed: string
name: parse_data
arguments: tag: D461
type_guessed: string
name: parse_data
arguments: tag: D333
type_guessed: string
name: parse_data
arguments: tag: D413
type_guessed: string
name: parse_data
arguments: tag: D84
type_guessed: string
name: parse_data
arguments: tag: D438
type_guessed: string
name: parse_data
arguments: tag: D72
type_guessed: string
name: parse_data
arguments: tag: D105
type_guessed: string
name: parse_data
arguments: tag: D54
type_guessed: string
name: parse_data
arguments: tag: D226
type_guessed: string
name: parse_data
arguments: tag: D44
type_guessed: string
name: parse_data
arguments: tag: D220
type_guessed: string
name: parse_data
arguments: tag: D280
type_guessed: string
name: parse_data
arguments: tag: D38
type_guessed: string
name: parse_data
arguments: tag: D86
type_guessed: string
name: parse_data
arguments: tag: D446
type_guessed: string
name: parse_data
arguments: tag: D414
type_guessed: string
name: parse_data
arguments: tag: D471
type_guessed: string

tool: D479: AX25: bad header!


tool: D343: AX25: 

tool: D186: -%d

tool: D339:  

tool: D373: %d->%s%s

tool: 

tool: D254: EAX25: 

tool: D159:  [DAMA]

tool: D192: %s

tool: D234: ->%s

tool: D162:  v

tool: D110: *

tool: D453:  %s%s

tool: D370:  <%s

tool: D481:  C

tool: D279:  P

tool: D289:  R

tool: D361:  F

tool: D431:  S%d

tool: D61:  R%d

tool: D307: >

tool: D50:  First seg;

tool: D231: %s remain %u

tool: D461: %s (%d)

tool: D333: %s


tool: D413:  pid=ARP%s


tool: D84:  pid=NET/ROM%s


tool: D438:  pid=IP%s


tool: D72:  pid=X.25%s


tool: D105:  pid=TEXNET%s


tool: D54:  pid=FLEXNET%s


tool: D226:  pid=Text%s


tool: D44:  pid=0x%x%s


tool: D220: : %02X

tool: D280:  Vr = %d Vs = %d

tool: D38:  Invalid control field

tool: D86:  Illegal I-field

tool: D446:  Too-long I-field

tool: D414:  Invalid seq number

tool: D471:  [%d]%s


assistant: ```c
void ax25_dump(unsigned char *data, int length, int hexdump) {
  char tmp[15];
  char ext[40];
  int ctlen, nr = 0, ns = 0, pf, pid, seg, type, end, cmdrsp, extseq, paclen;
  char *dama;
  if (length < 8) {
    lprintf(1, "AX25: bad header!\n");
    return;
  }
  if (data[1] & 0x01) {
    lprintf(6, "AX25: ");
    tmp[6] = tmp[7] = extseq = 0;
    tmp[0] = ' ' + (data[2] >> 2);
    tmp[1] = ' ' + ((data[2] << 4) & 0x30) + (data[3] >> 4);
    tmp[2] = ' ' + ((data[3] << 2) & 0x3c) + (data[4] >> 6);
    tmp[3] = ' ' + (data[4] & 0x3f);
    tmp[4] = ' ' + (data[5] >> 2);
    tmp[5] = ' ' + ((data[5] << 4) & 0x30) + (data[6] >> 4);
    if (data[6] & 0xf)
      sprintf(tmp + 7, "-%d", data[6] & 0xf);
    lprintf(8, "%d->%s%s", (data[0] << 6) | ((data[1] >> 2) & 0x3f), strtok(tmp, " "), tmp + 7);
    cmdrsp = (data[1] & 2) ? 1 : 2;
    dama = "";
    data += 7;
    length -= 7;
  } else {
    if (length < (7 + 7 + 1)) {
      lprintf(1, "AX25: bad header!\n");
      return;
    }
    if ((data[7 + 6] & 0x40) == 0x40) {
      extseq = 0;
      lprintf(6, "AX25: ");
    } else {
      extseq = 1;
      lprintf(6, "EAX25: ");
    }
    if ((data[7 + 6] & 0x20) == 0x20)
      dama = "";
    else
      dama = " [DAMA]";
    lprintf(8, "%s", pax25(tmp, data + 7));
    lprintf(8, "->%s", pax25(tmp, data));
    cmdrsp = 0;
    if ((data[6] & 0x80) && !(data[7 + 6] & 0x80))
      cmdrsp = 1;
    if ((data[7 + 6] & 0x80) && !(data[6] & 0x80))
      cmdrsp = 2;
    end = (data[7 + 6] & 0x01);
    data += (7 + 7);
    length -= (7 + 7);
    if (!end) {
      lprintf(7, " v");
      while (!end) {
        lprintf(8, " %s%s", pax25(tmp, data), (data[6] & 0x80) ? "*" : "");
        end = (data[6] & 0x01);
        data += 7;
        length -= 7;
      }
    }
  }
  if (length == 0)
    return;
  paclen = length - 2;
  ctlen = ftype(data, &type, &ns, &nr, &pf, extseq);
  data += ctlen;
  length -= ctlen;
  lprintf(7, " <%s", decode_type(type));
  switch (cmdrsp) {
  case 1:
    lprintf(7, " C");
    if (pf)
      lprintf(7, " P");
    break;
  case 2:
    lprintf(7, " R");
    if (pf)
      lprintf(7, " F");
    break;
  default:
    break;
  }
  if (type == 0x00)
    lprintf(7, " S%d", ns);
  if ((type & 0x3) != 0x03)
    lprintf(7, " R%d", nr);
  lprintf(7, ">");
  if (type == 0x00 || type == 0x03) {
    if (length > 0) {
      pid = *data++;
      length--;
      if (pid == 0x08) {
        seg = *data++;
        length--;
        lprintf(7, "%s remain %u", seg & 0x80 ? " First seg;" : "", seg & 0x7F);
        if (seg & 0x80) {
          pid = *data++;
          length--;
        }
      }
      sprintf(ext, "%s (%d)", dama, paclen);
      switch (pid) {
      case 0x08:
        lprintf(7, "%s\n", ext);
        data_dump(data, length, hexdump);
        break;
      case 0xCD:
        lprintf(7, " pid=ARP%s\n", ext);
        arp_dump(data, length);
        break;
      case 0xCF:
        lprintf(7, " pid=NET/ROM%s\n", ext);
        netrom_dump(data, length, hexdump);
        break;
      case 0xCC:
        lprintf(7, " pid=IP%s\n", ext);
        ip_dump(data, length, hexdump);
        break;
      case 0x01:
        lprintf(7, " pid=X.25%s\n", ext);
        rose_dump(data, length, hexdump);
        break;
      case 0xC3:
        lprintf(7, " pid=TEXNET%s\n", ext);
        data_dump(data, length, hexdump);
        break;
      case 0xCE:
        lprintf(7, " pid=FLEXNET%s\n", ext);
        flexnet_dump(data, length, hexdump);
        break;
      case 0xF0:
        lprintf(7, " pid=Text%s\n", ext);
        data_dump(data, length, hexdump);
        break;
      default:
        lprintf(7, " pid=0x%x%s\n", pid, ext);
        data_dump(data, length, hexdump);
        break;
      }
    }
  } else if (type == 0x87 && length >= 3) {
    lprintf(7, ": %02X", data[0]);
    lprintf(7, " Vr = %d Vs = %d", (data[1] >> 5) & 7, (data[1] >> 1) & 7);
    if (data[2] & 1)
      lprintf(1, " Invalid control field");
    if (data[2] & 2)
      lprintf(1, " Illegal I-field");
    if (data[2] & 4)
      lprintf(1, " Too-long I-field");
    if (data[2] & 8)
      lprintf(1, " Invalid seq number");
    lprintf(7, "%s\n", dama);
  } else if ((type == 0x2F || type == 0x63) && length >= 2) {
    lprintf(7, " [%d]%s\n", (data[0] << 8) | data[1], dama);
  } else {
    lprintf(7, "%s\n", dama);
  }
}
```