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

```asm
<parse_server_input>:
  endbr64
  push   %r12
  lea    D88(%rip),%r12
  push   %rbp
  mov    %r12,%rsi
  push   %rbx
  call   <strtok@plt>
  xor    %edi,%edi
  mov    %r12,%rsi
  mov    %rax,%rbp
  call   <strtok@plt>
  test   %rbp,%rbp
  je     L124
  mov    %rax,%rbx
  test   %rax,%rax
  je     L225
  lea    D171(%rip),%rsi
  xor    %edi,%edi
  call   <strtok@plt>
  mov    %rbp,%rdi
  mov    %rax,%r12
  call   <atoi@plt>
  lea    D205(%rip),%rsi
  mov    %rbx,%rdi
  mov    %eax,%ebp
  call   <strcmp@plt>
  test   %rax,%rax
  je     L282
  lea    D12(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L201
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_msg@plt>
  xor    %eax,%eax
L212:
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   (%rax)
L282:
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_hello@plt>
  pop    %rbx
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax)
L201:
  lea    D111(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L43
  lea    D203(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L348
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_notice@plt>
  xor    %eax,%eax
  jmp    L212
  xchg   %ax,%ax
L43:
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_ctcp@plt>
  pop    %rbx
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax)
L348:
  lea    D217(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L136
  lea    D73(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L293
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_ctcpr@plt>
  xor    %eax,%eax
  jmp    L212
  nopl   0x0(%rax)
L136:
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_snotice@plt>
  xor    %eax,%eax
  jmp    L212
  nopl   0x0(%rax)
L293:
  lea    D107(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L112
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_join@plt>
  xor    %eax,%eax
  jmp    L212
L112:
  lea    D84(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L10
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_part@plt>
  xor    %eax,%eax
  jmp    L212
L225:
  lea    D157(%rip),%rcx
L199:
  mov    $0x4,%edx
  xor    %esi,%esi
  mov    $0xffffffff,%edi
  xor    %eax,%eax
  call   <log_add@plt>
  mov    $0xffffffff,%eax
  jmp    L212
L10:
  lea    D148(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L131
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_nick@plt>
  xor    %eax,%eax
  jmp    L212
L124:
  lea    D166(%rip),%rcx
  jmp    L199
L131:
  lea    D162(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L177
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_quit@plt>
  xor    %eax,%eax
  jmp    L212
L177:
  lea    D49(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L34
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_connect@plt>
  xor    %eax,%eax
  jmp    L212
L34:
  lea    D70(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L333
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_update@plt>
  xor    %eax,%eax
  jmp    L212
L333:
  lea    D195(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L42
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_send@plt>
  xor    %eax,%eax
  jmp    L212
L42:
  lea    D182(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L317
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_topic@plt>
  xor    %eax,%eax
  jmp    L212
L317:
  lea    D59(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L242
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_note@plt>
  xor    %eax,%eax
  jmp    L212
L242:
  lea    D174(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L53
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_dcc@plt>
  xor    %eax,%eax
  jmp    L212
L53:
  lea    D191(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L19
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <server_invite@plt>
  xor    %eax,%eax
  jmp    L212
L19:
  mov    %rbx,%r8
  lea    D1(%rip),%rcx
  xor    %esi,%esi
  or     $0xffffffff,%edi
  mov    $0x4,%edx
  xor    %eax,%eax
  call   <log_add@plt>
  xor    %eax,%eax
  jmp    L212
```

tool_calls: name: read_data
arguments: tag: D88
type_infered: string
name: read_data
arguments: tag: D171
type_infered: string
name: read_data
arguments: tag: D205
type_infered: string
name: read_data
arguments: tag: D12
type_infered: string
name: read_data
arguments: tag: D111
type_infered: string
name: read_data
arguments: tag: D203
type_infered: string
name: read_data
arguments: tag: D217
type_infered: string
name: read_data
arguments: tag: D73
type_infered: string
name: read_data
arguments: tag: D107
type_infered: string
name: read_data
arguments: tag: D84
type_infered: string
name: read_data
arguments: tag: D157
type_infered: string
name: read_data
arguments: tag: D148
type_infered: string
name: read_data
arguments: tag: D166
type_infered: string
name: read_data
arguments: tag: D162
type_infered: string
name: read_data
arguments: tag: D49
type_infered: string
name: read_data
arguments: tag: D70
type_infered: string
name: read_data
arguments: tag: D195
type_infered: string
name: read_data
arguments: tag: D182
type_infered: string
name: read_data
arguments: tag: D59
type_infered: string
name: read_data
arguments: tag: D174
type_infered: string
name: read_data
arguments: tag: D191
type_infered: string
name: read_data
arguments: tag: D1
type_infered: string

tool: D88:  

tool: 

tool: D205: HELLO

tool: D12: MSG

tool: D111: CTCP

tool: D203: NOTICE

tool: D217: SNOTICE

tool: D73: CTCPR

tool: D107: JOIN

tool: D84: PART

tool: D157: Garbage server input: no command

tool: D148: NICK

tool: D166: Garbage server input: no child id

tool: D162: QUIT

tool: D49: CONNECT

tool: D70: UPDATE

tool: D195: SEND

tool: D182: TOPIC

tool: D59: NOTE

tool: D174: DCC

tool: D191: INVITE

tool: D1: Garbage server input: unknown command `%s'.

assistant: ```c
int parse_server_input(char *msg) {
  char *id, *cmd, *param;
  int cid;
  id = strtok(msg, " ");
  cmd = strtok(NULL, " ");
  if (id == NULL) {
    log_add(-1, NULL, 0x00000004, "Garbage server input: no child id");
    return -1;
  }
  if (cmd == NULL) {
    log_add(-1, NULL, 0x00000004, "Garbage server input: no command");
    return -1;
  }
  param = strtok(NULL, "");
  cid = atoi(id);
  if (strcmp(cmd, "HELLO") == 0)
    server_hello(cid, param);
  else if (strcmp(cmd, "MSG") == 0)
    server_msg(cid, param);
  else if (strcmp(cmd, "CTCP") == 0)
    server_ctcp(cid, param);
  else if (strcmp(cmd, "NOTICE") == 0)
    server_notice(cid, param);
  else if (strcmp(cmd, "SNOTICE") == 0)
    server_snotice(cid, param);
  else if (strcmp(cmd, "CTCPR") == 0)
    server_ctcpr(cid, param);
  else if (strcmp(cmd, "JOIN") == 0)
    server_join(cid, param);
  else if (strcmp(cmd, "PART") == 0)
    server_part(cid, param);
  else if (strcmp(cmd, "NICK") == 0)
    server_nick(cid, param);
  else if (strcmp(cmd, "QUIT") == 0)
    server_quit(cid, param);
  else if (strcmp(cmd, "CONNECT") == 0)
    server_connect(cid, param);
  else if (strcmp(cmd, "UPDATE") == 0)
    server_update(cid, param);
  else if (strcmp(cmd, "SEND") == 0)
    server_send(cid, param);
  else if (strcmp(cmd, "TOPIC") == 0)
    server_topic(cid, param);
  else if (strcmp(cmd, "NOTE") == 0)
    server_note(cid, param);
  else if (strcmp(cmd, "DCC") == 0)
    server_dcc(cid, param);
  else if (strcmp(cmd, "INVITE") == 0)
    server_invite(cid, param);
  else {
    log_add(-1, NULL, 0x00000004, "Garbage server input: unknown command `%s'.", cmd);
  }
  return 0;
}
```