user: 请从给定的汇编指令推导出C源代码：

```asm
<send_code_param>:
  endbr64
  push   %r12
  pxor   %xmm0,%xmm0
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  sub    $0x110,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x108(%rsp)
  xor    %eax,%eax
  movaps %xmm0,(%rsp)
  movaps %xmm0,0x10(%rsp)
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  movaps %xmm0,0x60(%rsp)
  movaps %xmm0,0x70(%rsp)
  movaps %xmm0,0x80(%rsp)
  movaps %xmm0,0x90(%rsp)
  movaps %xmm0,0xa0(%rsp)
  movaps %xmm0,0xb0(%rsp)
  movaps %xmm0,0xc0(%rsp)
  movaps %xmm0,0xd0(%rsp)
  movaps %xmm0,0xe0(%rsp)
  movaps %xmm0,0xf0(%rsp)
  cmp    $0x96,%esi
  je     L189
  cmp    $0x101,%esi
  jg     L125
  cmp    $0xc7,%esi
  jle    L90
  sub    $0xc8,%esi
  cmp    $0x39,%esi
  ja     L90
  lea    D88(%rip),%rcx
  movslq (%rcx,%rsi,4),%rax
  add    %rcx,%rax
  notrack jmp *%rax
  nop
L125:
  cmp    $0x1f4,%esi
  je     L58
  cmp    $0x226,%esi
  jne    L203
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D40(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  nopl   0x0(%rax,%rax,1)
L132:
  mov    $0xff,%edx
  lea    D94(%rip),%rsi
  mov    %r12,%rdi
  call   <strncat@plt>
  mov    %r12,%rdi
  call   <strlen@plt>
  mov    %r12,%rsi
  mov    %ebp,%edi
  mov    %eax,%edx
  mov    %eax,%ebx
  call   <write@plt>
  cmp    %eax,%ebx
  je     L108
  lea    D42(%rip),%rdi
  call   <epicfail@plt>
L108:
  mov    0x108(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L96
  add    $0x110,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L203:
  cmp    $0x14b,%esi
  jne    L90
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D4(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  xchg   %ax,%ax
L189:
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D145(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  nopl   0x0(%rax)
L90:
  lea    D12(%rip),%rdi
  mov    %rsp,%r12
  call   <epicfail@plt>
  jmp    L132
  nopl   0x0(%rax)
  mov    %rsp,%r12
  mov    %rdx,%rcx
  mov    $0xff,%esi
  lea    D15(%rip),%rdx
  mov    %r12,%rdi
  call   <snprintf@plt>
  jmp    L132
  nopw   0x0(%rax,%rax,1)
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D53(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  nopl   0x0(%rax)
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D108(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  nopl   0x0(%rax)
  mov    %rsp,%r12
  mov    %rdx,%rcx
  mov    $0xff,%esi
  lea    D13(%rip),%rdx
  mov    %r12,%rdi
  call   <snprintf@plt>
  jmp    L132
  nop
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D72(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  nopl   0x0(%rax)
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D80(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  nopl   0x0(%rax)
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D105(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  nopl   0x0(%rax)
  mov    %rsp,%r12
  mov    %rdx,%rcx
  mov    $0xff,%esi
  lea    D102(%rip),%rdx
  mov    %r12,%rdi
  call   <snprintf@plt>
  jmp    L132
  nop
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D44(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
  nopl   0x0(%rax)
L58:
  mov    %rsp,%r12
  mov    $0xff,%edx
  lea    D67(%rip),%rsi
  mov    %r12,%rdi
  call   <strncpy@plt>
  jmp    L132
L96:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D40
data_type: string
name: read_data
arguments: tag: D94
data_type: string
name: read_data
arguments: tag: D42
data_type: string
name: read_data
arguments: tag: D4
data_type: string
name: read_data
arguments: tag: D145
data_type: string
name: read_data
arguments: tag: D12
data_type: string
name: read_data
arguments: tag: D15
data_type: string
name: read_data
arguments: tag: D53
data_type: string
name: read_data
arguments: tag: D108
data_type: string
name: read_data
arguments: tag: D13
data_type: string
name: read_data
arguments: tag: D72
data_type: string
name: read_data
arguments: tag: D80
data_type: string
name: read_data
arguments: tag: D105
data_type: string
name: read_data
arguments: tag: D102
data_type: string
name: read_data
arguments: tag: D44
data_type: string
name: read_data
arguments: tag: D67
data_type: string

tool: D40: 550 Requested action not taken.

tool: D94: 


tool: D42: write

tool: D4: 331 User name ok, need password

tool: D145: 150 Opening connection

tool: D12: Invalid code.

tool: D15: 257 "%s"


tool: D53: 250 Command successful

tool: D108: 230 User logged in

tool: D13: 227 Entering Passive Mode (%s).

tool: D72: 226 Transfer complete

tool: D80: 221 Goodbye

tool: D105: 220 Service ready

tool: D102: 215 %s

tool: D44: 200 Okay

tool: D67: 500 Syntax error, command unrecognized

assistant: ```c
void send_code_param(int fd, int code, char *p1) {
  char buf[256] = {0};
  if (code == 150)
    strncpy(buf, "150 Opening connection", 256 - 1);
  else if (code == 200)
    strncpy(buf, "200 Okay", 256 - 1);
  else if (code == 215)
    snprintf(buf, 256 - 1, "215 %s", p1);
  else if (code == 220)
    strncpy(buf, "220 Service ready", 256 - 1);
  else if (code == 221)
    strncpy(buf, "221 Goodbye", 256 - 1);
  else if (code == 226)
    strncpy(buf, "226 Transfer complete", 256 - 1);
  else if (code == 227)
    snprintf(buf, 256 - 1, "227 Entering Passive Mode (%s).", p1);
  else if (code == 230)
    strncpy(buf, "230 User logged in", 256 - 1);
  else if (code == 250)
    strncpy(buf, "250 Command successful", 256 - 1);
  else if (code == 257)
    snprintf(buf, 256 - 1, "257 \"%s\"\r\n", p1);
  else if (code == 331)
    strncpy(buf, "331 User name ok, need password", 256 - 1);
  else if (code == 500)
    strncpy(buf, "500 Syntax error, command unrecognized", 256 - 1);
  else if (code == 550)
    strncpy(buf, "550 Requested action not taken.", 256 - 1);
  else
    epicfail("Invalid code.");
  strncat(buf, "\r\n", 256 - 1);
  int len = strlen(buf);
  int bytes_written = write(fd, buf, len);
  if (bytes_written != len)
    epicfail("write");
}
```