user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<ra_insert>:
  endbr64
  push   %r15
  xor    %edi,%edi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <resize_array@plt>
  lea    D136(%rip),%rsi
  mov    %rax,%rbp
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  lea    D53(%rip),%rsi
  mov    %rbp,%rdi
  call   <resize_array_add@plt>
  lea    D115(%rip),%rsi
  mov    %rbp,%rdi
  call   <resize_array_add@plt>
  lea    D44(%rip),%rsi
  mov    %rbp,%rdi
  call   <resize_array_add@plt>
  lea    D43(%rip),%rsi
  mov    %rbp,%rdi
  call   <resize_array_add@plt>
  lea    D103(%rip),%rsi
  mov    %rbp,%rdi
  call   <resize_array_add@plt>
  lea    D24(%rip),%rsi
  mov    %rbp,%rdi
  call   <resize_array_add@plt>
  lea    D114(%rip),%rdx
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <resize_array_insert@plt>
  lea    D96(%rip),%rdx
  mov    $0x4,%esi
  mov    %rbp,%rdi
  call   <resize_array_insert@plt>
  lea    D8(%rip),%rdx
  mov    $0x9,%esi
  mov    %rbp,%rdi
  call   <resize_array_insert@plt>
  mov    %rbp,%rdi
  call   <clxns_count@plt>
  mov    %eax,%r8d
  lea    D63(%rip),%rax
  cmp    $0xa,%r8d
  je     L78
L21:
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L28
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L78:
  mov    %rbp,%rdi
  xor    %r13d,%r13d
  call   <clxns_iter_new@plt>
  mov    %rax,%rbx
  jmp    L20
L9:
  mov    %rbx,%rdi
  mov    %rsp,%r14
  lea    0x1(%r13),%r15d
  call   <clxns_iter_get_next@plt>
  lea    D1(%rip),%rsi
  mov    %r14,%rdi
  mov    %r13d,%edx
  mov    %rax,%r12
  call   <sprintf@plt>
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L24
  mov    %r15d,%r13d
L20:
  mov    %rbx,%rdi
  call   <clxns_iter_move_next@plt>
  test   %rax,%rax
  jne    L9
  lea    D99(%rip),%rax
  cmp    $0xa,%r13d
  jne    L21
  mov    %rbx,%rdi
  call   <clxns_iter_free@plt>
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <clxns_free@plt>
  xor    %eax,%eax
  jmp    L21
  nopl   (%rax)
L24:
  lea    D97(%rip),%rax
  jmp    L21
L28:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D136
datatype: string
name: extract_symbolic_data
arguments: tag: D53
datatype: string
name: extract_symbolic_data
arguments: tag: D115
datatype: string
name: extract_symbolic_data
arguments: tag: D44
datatype: string
name: extract_symbolic_data
arguments: tag: D43
datatype: string
name: extract_symbolic_data
arguments: tag: D103
datatype: string
name: extract_symbolic_data
arguments: tag: D24
datatype: string
name: extract_symbolic_data
arguments: tag: D114
datatype: string
name: extract_symbolic_data
arguments: tag: D96
datatype: string
name: extract_symbolic_data
arguments: tag: D8
datatype: string
name: extract_symbolic_data
arguments: tag: D63
datatype: string
name: extract_symbolic_data
arguments: tag: D1
datatype: string
name: extract_symbolic_data
arguments: tag: D99
datatype: string
name: extract_symbolic_data
arguments: tag: D97
datatype: string

tool: D136: string1

tool: D53: string2

tool: D115: string3

tool: D44: string5

tool: D43: string6

tool: D103: string7

tool: D24: string8

tool: D114: string0

tool: D96: string4

tool: D8: string9

tool: D63: Wrong number of items in array after insert

tool: D1: string%d

tool: D99: Incorrect iter count after insert

tool: D97: Incorrect data in iter after insert

assistant: ```c
char *ra_insert() {
  void *array = resize_array(0);
  resize_array_add(array, "string1");
  resize_array_add(array, "string2");
  resize_array_add(array, "string3");
  resize_array_add(array, "string5");
  resize_array_add(array, "string6");
  resize_array_add(array, "string7");
  resize_array_add(array, "string8");
  resize_array_insert(array, 0, "string0");
  resize_array_insert(array, 4, "string4");
  resize_array_insert(array, 9, "string9");
  int s = clxns_count(array);
  do {
    if (!(s == 10))
      return "Wrong number of items in array after insert";
  } while (0);
  char buf[16];
  int i = 0;
  void *iter = clxns_iter_new(array);
  while (clxns_iter_move_next(iter)) {
    char *res = clxns_iter_get_next(iter);
    sprintf(buf, "string%d", i++);
    do {
      if (!(!strcmp(res, buf)))
        return "Incorrect data in iter after insert";
    } while (0);
  }
  do {
    if (!(i == 10))
      return "Incorrect iter count after insert";
  } while (0);
  clxns_iter_free(iter);
  clxns_free(array, 0);
  return 0;
}
```