user: 这段汇编代码用C语言表示是什么样的?

```asm
<cmdshell_init_read>:
  endbr64
  push   %r15
  mov    %rdx,%r15
  mov    $0x3e8,%edx
  push   %r14
  mov    %rcx,%r14
  push   %r13
  mov    %rdi,%r13
  lea    D38(%rip),%rdi
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  sub    $0x408,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x3f8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rbp
  movb   $0x0,0x10(%rsp)
  mov    %rbp,%rsi
  call   <input_line@plt>
  test   %eax,%eax
  je     L135
  mov    %rbp,%rdi
  call   <str_isspace@plt>
  test   %rax,%rax
  je     L172
L135:
  mov    %r13,%rsi
  lea    D102(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L63:
  mov    $0x3e8,%edx
  mov    %rbp,%rsi
  movb   $0x0,0x10(%rsp)
  lea    D188(%rip),%rdi
  call   <input_line@plt>
  test   %eax,%eax
  je     L179
  mov    %rbp,%rdi
  call   <str_isspace@plt>
  test   %rax,%rax
  je     L3
L179:
  mov    %r12,%rsi
  lea    D102(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L64:
  mov    $0x3e8,%edx
  mov    %rbp,%rsi
  movb   $0x0,0x10(%rsp)
  lea    D106(%rip),%rdi
  call   <input_line@plt>
  test   %eax,%eax
  je     L139
  mov    %rbp,%rdi
  call   <str_isspace@plt>
  test   %rax,%rax
  je     L33
L139:
  mov    %r15,%rsi
  lea    D102(%rip),%rdi
  xor    %eax,%eax
  xor    %ebx,%ebx
  call   <printf@plt>
L69:
  mov    $0x3e8,%edx
  mov    %rbp,%rsi
  movb   $0x0,0x10(%rsp)
  lea    D163(%rip),%rdi
  call   <input_line@plt>
  test   %eax,%eax
  je     L90
  mov    %rbp,%rdi
  call   <str_isspace@plt>
  test   %rax,%rax
  je     L7
L90:
  mov    %r14,%rsi
  lea    D102(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L15:
  mov    %ebx,%eax
  xor    $0x1,%eax
  mov    0x3f8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L81
  add    $0x408,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L7:
  lea    D117(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rbp,%rsi
  test   %rax,%rax
  je     L5
  lea    D123(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rbp,%rsi
  test   %rax,%rax
  jne    L123
L5:
  mov    %r14,%rdi
  call   <strcpy@plt>
  mov    %rbp,%rsi
  lea    D108(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L15
  nopl   0x0(%rax,%rax,1)
L172:
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  mov    %rbp,%rsi
  lea    D108(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L63
  nopl   0x0(%rax)
L3:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <strcpy@plt>
  mov    %rbp,%rsi
  lea    D108(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L64
  nopl   0x0(%rax)
L33:
  mov    %rbp,%rdi
  call   <strlen@plt>
  cmp    $0xf,%eax
  jle    L183
  mov    $0xf,%edx
  mov    %rbp,%rsi
  xor    %eax,%eax
  mov    $0x1,%ebx
  lea    D135(%rip),%rdi
  call   <printf@plt>
  jmp    L69
  nopl   (%rax)
L183:
  mov    %rbp,%rdi
  call   <str_isdigit@plt>
  test   %eax,%eax
  je     L21
  lea    D9(%rip),%rsi
  lea    0x8(%rsp),%rdx
  mov    %rbp,%rdi
  call   <sscanf@plt>
  mov    %rbp,%rsi
  cmp    $0x1,%eax
  je     L52
  lea    D124(%rip),%rdi
  xor    %eax,%eax
  mov    $0x1,%ebx
  call   <printf@plt>
  jmp    L69
L21:
  mov    %rbp,%rsi
  lea    D110(%rip),%rdi
  mov    $0x1,%ebx
  call   <printf@plt>
  jmp    L69
  nopl   0x0(%rax)
L123:
  lea    D122(%rip),%rdi
  xor    %eax,%eax
  mov    $0x1,%ebx
  call   <printf@plt>
  jmp    L15
  nopl   0x0(%rax,%rax,1)
L52:
  mov    %r15,%rdi
  xor    %ebx,%ebx
  call   <strcpy@plt>
  mov    %rbp,%rsi
  lea    D108(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L69
L81:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D38
data_type: string
name: parse_data
arguments: tag: D102
data_type: string
name: parse_data
arguments: tag: D188
data_type: string
name: parse_data
arguments: tag: D106
data_type: string
name: parse_data
arguments: tag: D163
data_type: string
name: parse_data
arguments: tag: D117
data_type: string
name: parse_data
arguments: tag: D123
data_type: string
name: parse_data
arguments: tag: D108
data_type: string
name: parse_data
arguments: tag: D135
data_type: string
name: parse_data
arguments: tag: D9
data_type: string
name: parse_data
arguments: tag: D124
data_type: string
name: parse_data
arguments: tag: D110
data_type: string
name: parse_data
arguments: tag: D122
data_type: string

tool: D38: Input source (path): 

tool: D102: Ok unchanged "%s"


tool: D188: Input destination (path): 

tool: D106: Input offset (number >= 0): 

tool: D163: Input cipher (xor, none): 

tool: D117: xor

tool: D123: none

tool: D108: Ok "%s"


tool: D135: Fail "%s", should be between 1 and %d digits


tool: D9: %lf

tool: D124: Fail "%s", should be a number


tool: D110: Fail "%s", should be an unsigned number


tool: D122: Fail "%s", unknown type


assistant: ```c
int cmdshell_init_read(char src[], char dst[], char offset[], char cipher[]) {
  char input[1000];
  int retval, retin;
  int f_bad_offset, f_bad_cipher;
  *input = '\0';
  f_bad_offset = f_bad_cipher = 0;
  retin = input_line("Input source (path): ", input, sizeof input);
  if (!retin || str_isspace(input)) {
    printf("Ok unchanged \"%s\"\n", src);
  } else {
    strcpy(src, input);
    printf("Ok \"%s\"\n", input);
  }
  *input = '\0';
  retin = input_line("Input destination (path): ", input, sizeof input);
  if (!retin || str_isspace(input)) {
    printf("Ok unchanged \"%s\"\n", dst);
  } else {
    strcpy(dst, input);
    printf("Ok \"%s\"\n", input);
  }
  *input = '\0';
  retin = input_line("Input offset (number >= 0): ", input, sizeof input);
  if (!retin || str_isspace(input)) {
    printf("Ok unchanged \"%s\"\n", offset);
  } else {
    double tmp;
    if (strlen(input) > 15) {
      f_bad_offset = 1;
      printf("Fail \"%s\", should be between 1 and %d digits\n", input, 15);
    } else if (!str_isdigit(input)) {
      f_bad_offset = 1;
      printf("Fail \"%s\", should be an unsigned number\n", input);
    } else if (sscanf(input, "%lf", &tmp) == 1) {
      strcpy(offset, input);
      printf("Ok \"%s\"\n", input);
    } else {
      f_bad_offset = 1;
      printf("Fail \"%s\", should be a number\n", input);
    }
  }
  *input = '\0';
  retin = input_line("Input cipher (xor, none): ", input, sizeof input);
  if (!retin || str_isspace(input)) {
    printf("Ok unchanged \"%s\"\n", cipher);
  } else {
    if (strcmp(input, "xor") == 0) {
      strcpy(cipher, input);
      printf("Ok \"%s\"\n", input);
    } else if (strcmp(input, "none") == 0) {
      strcpy(cipher, input);
      printf("Ok \"%s\"\n", input);
    } else {
      f_bad_cipher = 1;
      printf("Fail \"%s\", unknown type\n", input);
    }
  }
  retval = !(f_bad_offset || f_bad_cipher);
  return retval;
}
```