user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x5d5b7d7b,0x12(%rsp)
  movw   $0x2928,0x16(%rsp)
  lea    D10(%rip),%r13
  lea    0xc(%rsp),%r12
  lea    D59(%rip),%rbp
  lea    D55(%rip),%r14
  jmp    L107
L59:
  mov    %r14,%rdi
  call   <printf@plt>
L75:
  mov    $0x0,%eax
  call   <getchar@plt>
  cmp    $0xa,%al
  jne    L75
  cmp    $0x1,%ebx
  je     L26
L107:
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  mov    %eax,%ebx
  cmp    $0x1,%eax
  jne    L59
  cmpl   $0x0,0xc(%rsp)
  jg     L75
  jmp    L59
L26:
  mov    0xc(%rsp),%edi
  test   %edi,%edi
  jle    L107
  call   <malloc@plt>
  mov    %rax,%r13
  lea    D52(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%ebp
  lea    0x12(%rsp),%r12
  jmp    L36
L90:
  cmp    $0xa,%bl
  je     L53
L36:
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    %eax,%ebx
  movsbl %al,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L90
  cmp    %ebp,0xc(%rsp)
  jle    L90
  movslq %ebp,%rax
  mov    %bl,0x0(%r13,%rax,1)
  add    $0x1,%ebp
  jmp    L90
L53:
  lea    D49(%rip),%rdi
  call   <printf@plt>
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <brackets_checker@plt>
  lea    D17(%rip),%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <free@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L127
  mov    $0x0,%eax
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L127:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D10
data_type: string
name: extract_symbolic_data
arguments: data_label: D59
data_type: string
name: extract_symbolic_data
arguments: data_label: D55
data_type: string
name: extract_symbolic_data
arguments: data_label: D52
data_type: string
name: extract_symbolic_data
arguments: data_label: D49
data_type: string
name: extract_symbolic_data
arguments: data_label: D17
data_type: string

tool: D10: Number of brackets: 

tool: D59: %d

tool: D55: Wrong input!


tool: D52: Insert a sequence of parentheses, square and curly brackets.
(All invalid and exceeding characters will be ignored)
Insert: 

tool: D49: 
Longest prefix: 

tool: D17: 


assistant: ```c
int main(void) {
  char *input_string, valid_chars[] = {'{', '}', '[', ']', '(', ')'}, tmp_char;
  int ele_num = 0, array_dim, scanf_result = 0;
  do {
    printf("Number of brackets: ");
    scanf_result = scanf("%d", &array_dim);
    if ((scanf_result != 1) || (array_dim <= 0))
      printf("Wrong input!\n");
    do {
      tmp_char = getchar();
    } while (tmp_char != '\n');
  } while ((scanf_result != 1) || (array_dim <= 0));
  input_string = (char *)malloc(sizeof(char) * array_dim);
  printf("Insert a sequence of parentheses, square and curly brackets.\n"
         "(All invalid and exceeding characters will be ignored)\n"
         "Insert: ");
  do {
    tmp_char = getchar();
    if (strchr(valid_chars, tmp_char) && ele_num < array_dim) {
      input_string[ele_num] = tmp_char;
      ele_num++;
    }
  } while (tmp_char != '\n');
  printf("\nLongest prefix: ");
  brackets_checker(input_string, ele_num);
  printf("\n");
  free(input_string);
  return 0;
}
```