user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<Parser_SectionBAT>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  test   %rdi,%rdi
  je     L86
  movzbl (%rdi),%eax
  mov    %rdi,%rbx
  cmp    $0x4a,%al
  jne    L43
  movzbl 0x1(%rdi),%eax
  movzbl 0x2(%rdi),%edx
  lea    D16(%rip),%rsi
  mov    $0x20,%edi
  shl    $0x8,%eax
  and    $0xf00,%ax
  or     %edx,%eax
  mov    %eax,%ebp
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  movzbl (%rbx),%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D158(%rip),%rsi
  call   <Parser_TsPacketLog@plt>
  movzbl 0x1(%rbx),%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D169(%rip),%rsi
  shr    $0x7,%dl
  movzbl %dl,%edx
  call   <Parser_TsPacketLog@plt>
  movswl %bp,%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D130(%rip),%rsi
  call   <Parser_TsPacketLog@plt>
  movzwl 0x3(%rbx),%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D38(%rip),%rsi
  rol    $0x8,%dx
  movzwl %dx,%edx
  call   <Parser_TsPacketLog@plt>
  movzbl 0x5(%rbx),%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D164(%rip),%rsi
  sar    %edx
  and    $0x1f,%edx
  call   <Parser_TsPacketLog@plt>
  movzbl 0x5(%rbx),%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D24(%rip),%rsi
  and    $0x1,%edx
  call   <Parser_TsPacketLog@plt>
  movzbl 0x6(%rbx),%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D1(%rip),%rsi
  call   <Parser_TsPacketLog@plt>
  movzbl 0x7(%rbx),%edx
  mov    $0x20,%edi
  xor    %eax,%eax
  lea    D94(%rip),%rsi
  call   <Parser_TsPacketLog@plt>
  movzbl 0x8(%rbx),%edx
  movzbl 0x9(%rbx),%eax
  lea    D26(%rip),%rsi
  mov    $0x20,%edi
  shl    $0x8,%edx
  and    $0xf00,%edx
  or     %eax,%edx
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  movswq %bp,%rax
  mov    $0x20,%edi
  lea    D106(%rip),%rsi
  movzbl (%rbx,%rax,1),%edx
  movzbl 0x2(%rbx,%rax,1),%ecx
  shl    $0x10,%edx
  or     %ecx,%edx
  movzbl -0x1(%rbx,%rax,1),%ecx
  movzbl 0x1(%rbx,%rax,1),%eax
  shl    $0x18,%ecx
  shl    $0x8,%eax
  or     %ecx,%edx
  or     %eax,%edx
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  movzbl 0x8(%rbx),%eax
  movzbl 0x9(%rbx),%edx
  shl    $0x8,%eax
  and    $0xf00,%ax
  or     %edx,%eax
  movswl %ax,%ebp
  test   %ax,%ax
  je     L111
  mov    $0xa,%r14d
  xor    %r13d,%r13d
  jmp    L152
  nopl   0x0(%rax)
L204:
  cmp    $0x47,%al
  je     L100
  call   <x00_Tag_DescriptorParser@plt>
L164:
  add    $0x2,%eax
  add    %eax,%r13d
  add    %eax,%r14d
  cmp    %ebp,%r13d
  jae    L200
L152:
  mov    %r14d,%esi
  mov    $0x20,%edi
  add    %rbx,%rsi
  movzbl (%rsi),%eax
  cmp    $0x4a,%al
  je     L11
  cmp    $0x5f,%al
  jne    L204
  call   <x5F_Tag_DescriptorParser@plt>
  add    $0x2,%eax
  add    %eax,%r13d
  add    %eax,%r14d
  cmp    %ebp,%r13d
  jb     L152
L200:
  mov    %r14d,%edx
  lea    0x1(%r14),%eax
  add    $0x2,%r14d
L54:
  movzbl (%rbx,%rdx,1),%ebp
  movzbl (%rbx,%rax,1),%eax
  mov    $0x20,%edi
  xor    %r13d,%r13d
  lea    D176(%rip),%rsi
  shl    $0x8,%ebp
  and    $0xf00,%bp
  or     %eax,%ebp
  movswl %bp,%eax
  mov    %eax,0xc(%rsp)
  mov    %eax,%edx
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  test   %bp,%bp
  je     L136
  nopl   (%rax)
L144:
  mov    %r14d,%eax
  lea    D22(%rip),%rsi
  mov    $0x20,%edi
  movzbl (%rbx,%rax,1),%edx
  lea    0x1(%r14),%eax
  movzbl (%rbx,%rax,1),%eax
  shl    $0x8,%edx
  or     %eax,%edx
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  lea    0x2(%r14),%eax
  mov    $0x20,%edi
  lea    D95(%rip),%rsi
  movzbl (%rbx,%rax,1),%edx
  lea    0x3(%r14),%eax
  movzbl (%rbx,%rax,1),%eax
  shl    $0x8,%edx
  or     %eax,%edx
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  lea    0x4(%r14),%eax
  mov    $0x20,%edi
  lea    D40(%rip),%rsi
  movzbl (%rbx,%rax,1),%ebp
  lea    0x5(%r14),%eax
  add    $0x6,%r14d
  movzbl (%rbx,%rax,1),%eax
  shl    $0x8,%ebp
  and    $0xf00,%bp
  or     %eax,%ebp
  xor    %eax,%eax
  movswl %bp,%r12d
  mov    %r12d,%edx
  call   <Parser_TsPacketLog@plt>
  test   %bp,%bp
  je     L203
  xor    %r15d,%r15d
  jmp    L89
  nopl   0x0(%rax)
L48:
  call   <x00_Tag_DescriptorParser@plt>
  add    $0x2,%eax
  add    %eax,%r15d
  add    %eax,%r14d
  cmp    %r12d,%r15d
  jae    L203
L89:
  mov    %r14d,%esi
  mov    $0x20,%edi
  add    %rbx,%rsi
  cmpb   $0x41,(%rsi)
  jne    L48
  call   <x41_Tag_DescriptorParser@plt>
  add    $0x2,%eax
  add    %eax,%r15d
  add    %eax,%r14d
  cmp    %r12d,%r15d
  jb     L89
L203:
  add    $0x6,%ebp
  movzwl %bp,%ebp
  add    %ebp,%r13d
  cmp    0xc(%rsp),%r13d
  jb     L144
L136:
  lea    D17(%rip),%rsi
  mov    $0x20,%edi
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  xor    %eax,%eax
L143:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L11:
  call   <x4A_Tag_DescriptorParser@plt>
  jmp    L164
  nopw   0x0(%rax,%rax,1)
L100:
  call   <x47_Tag_DescriptorParser@plt>
  jmp    L164
L111:
  mov    $0xc,%r14d
  mov    $0xb,%eax
  mov    $0xa,%edx
  jmp    L54
L43:
  movzbl %al,%edx
  lea    D123(%rip),%rsi
  mov    $0x20,%edi
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  mov    $0xffffffff,%eax
  jmp    L143
L86:
  lea    D14(%rip),%rsi
  mov    $0x20,%edi
  xor    %eax,%eax
  call   <Parser_TsPacketLog@plt>
  mov    $0xffffffff,%eax
  jmp    L143
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D16
type: string
name: extract_symbolic_data
arguments: data_tag: D158
type: string
name: extract_symbolic_data
arguments: data_tag: D169
type: string
name: extract_symbolic_data
arguments: data_tag: D130
type: string
name: extract_symbolic_data
arguments: data_tag: D38
type: string
name: extract_symbolic_data
arguments: data_tag: D164
type: string
name: extract_symbolic_data
arguments: data_tag: D24
type: string
name: extract_symbolic_data
arguments: data_tag: D1
type: string
name: extract_symbolic_data
arguments: data_tag: D94
type: string
name: extract_symbolic_data
arguments: data_tag: D26
type: string
name: extract_symbolic_data
arguments: data_tag: D106
type: string
name: extract_symbolic_data
arguments: data_tag: D176
type: string
name: extract_symbolic_data
arguments: data_tag: D22
type: string
name: extract_symbolic_data
arguments: data_tag: D95
type: string
name: extract_symbolic_data
arguments: data_tag: D40
type: string
name: extract_symbolic_data
arguments: data_tag: D17
type: string
name: extract_symbolic_data
arguments: data_tag: D123
type: string
name: extract_symbolic_data
arguments: data_tag: D14
type: string

tool: D16: ****************BAT Info****************


tool: D158: BAT table id = 0x%x


tool: D169: BAT section_syntax_indicator = 0x%x


tool: D130: BAT section_length = 0x%x


tool: D38: BAT bouquet_id = 0x%x


tool: D164: BAT version_number = 0x%x


tool: D24: BAT current_next_indicator = 0x%x


tool: D1: BAT section_number = 0x%x


tool: D94: BAT last_section_number = 0x%x


tool: D26: BAT bouquet_descriptors_length = 0x%x


tool: D106: BAT crc = 0x%08x


tool: D176: BAT transport_stream_loop_length = 0x%x


tool: D22: BAT transport_stream_id = 0x%x


tool: D95: BAT original_network_id = 0x%x


tool: D40: BAT transport_descriptors_length = 0x%x


tool: D17: ****************************************


tool: D123: BAT table id is error : %x


tool: D14: BAT error: section is NULL !


assistant: ```c
int Parser_SectionBAT(unsigned char *section) {
  unsigned short section_len = 0;
  unsigned short descriptor_loop_len = 0;
  unsigned short transport_stream_loop_len = 0;
  unsigned short transport_stream_offset = 0;
  unsigned int i = 0, j = 0;
  unsigned int data_offset = 0;
  int descriptor_offset = 0;
  int ret = -1;
  if (NULL == section) {
    Parser_TsPacketLog((0x00000020), "BAT error: section is NULL !\n");
    return -1;
  }
  if (0x4A != section[0]) {
    Parser_TsPacketLog((0x00000020), "BAT table id is error : %x\n", section[0]);
    return -1;
  }
  section_len = ((section[1] & 0x0F) << 8) | (section[2] & 0xFF);
  Parser_TsPacketLog((0x00000020), "****************BAT Info****************\n");
  Parser_TsPacketLog((0x00000020), "BAT table id = 0x%x\n", section[0]);
  Parser_TsPacketLog((0x00000020), "BAT section_syntax_indicator = 0x%x\n", (section[1] & 0x80) >> 7);
  Parser_TsPacketLog((0x00000020), "BAT section_length = 0x%x\n", section_len);
  Parser_TsPacketLog((0x00000020), "BAT bouquet_id = 0x%x\n", ((section[3] & 0xFF) << 8) | (section[4] & 0xFF));
  Parser_TsPacketLog((0x00000020), "BAT version_number = 0x%x\n", (section[5] & 0x3E) >> 1);
  Parser_TsPacketLog((0x00000020), "BAT current_next_indicator = 0x%x\n", section[5] & 0x01);
  Parser_TsPacketLog((0x00000020), "BAT section_number = 0x%x\n", section[6]);
  Parser_TsPacketLog((0x00000020), "BAT last_section_number = 0x%x\n", section[7]);
  Parser_TsPacketLog((0x00000020), "BAT bouquet_descriptors_length = 0x%x\n", ((section[8] & 0x0F) << 8) | (section[9] & 0xFF));
  Parser_TsPacketLog((0x00000020), "BAT crc = 0x%08x\n", (section[section_len - 1] << 24) | ((section[section_len] & 0xFF) << 16) | ((section[section_len + 1] & 0xFF) << 8) | (section[section_len + 2] & 0xFF));
  descriptor_loop_len = ((section[8] & 0x0F) << 8) | (section[9] & 0xFF);
  data_offset += 10;
  for (i = 0; i < descriptor_loop_len; i += descriptor_offset) {
    switch (section[data_offset]) {
    case 0x47:
      descriptor_offset = x47_Tag_DescriptorParser((0x00000020), section + data_offset);
      break;
    case 0x4A:
      descriptor_offset = x4A_Tag_DescriptorParser((0x00000020), section + data_offset);
      break;
    case 0x5F:
      descriptor_offset = x5F_Tag_DescriptorParser((0x00000020), section + data_offset);
      break;
    default:
      descriptor_offset = x00_Tag_DescriptorParser((0x00000020), section + data_offset);
      break;
    }
    descriptor_offset += 2;
    data_offset += descriptor_offset;
  }
  transport_stream_loop_len = ((section[data_offset] & 0x0F) << 8) | (section[data_offset + 1] & 0xFF);
  Parser_TsPacketLog((0x00000020), "BAT transport_stream_loop_length = 0x%x\n", transport_stream_loop_len);
  data_offset += 2;
  descriptor_offset = 0;
  for (i = 0; i < transport_stream_loop_len; i += transport_stream_offset) {
    Parser_TsPacketLog((0x00000020), "BAT transport_stream_id = 0x%x\n", ((section[data_offset] & 0xFF) << 8) | (section[data_offset + 1] & 0xFF));
    Parser_TsPacketLog((0x00000020), "BAT original_network_id = 0x%x\n", ((section[data_offset + 2] & 0xFF) << 8) | (section[data_offset + 3] & 0xFF));
    descriptor_loop_len = ((section[data_offset + 4] & 0x0F) << 8) | (section[data_offset + 5] & 0xFF);
    Parser_TsPacketLog((0x00000020), "BAT transport_descriptors_length = 0x%x\n", descriptor_loop_len);
    data_offset += 6;
    for (j = 0; j < descriptor_loop_len; j += descriptor_offset) {
      switch (section[data_offset]) {
      case 0x41:
        descriptor_offset = x41_Tag_DescriptorParser((0x00000020), section + data_offset);
        break;
      default:
        descriptor_offset = x00_Tag_DescriptorParser((0x00000020), section + data_offset);
        break;
      }
      descriptor_offset += 2;
      data_offset += descriptor_offset;
    }
    transport_stream_offset = descriptor_loop_len;
    transport_stream_offset += 6;
  }
  Parser_TsPacketLog((0x00000020), "****************************************\n");
  ret = 0;
  return ret;
}
```