user: What is the c source code of the assembly code below?

```asm
<ra_insert>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x0,%edi
  call   <resize_array@plt>
  mov    %rax,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  lea    D83(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  mov    -0x38(%rbp),%rax
  lea    D123(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  mov    -0x38(%rbp),%rax
  lea    D2(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  mov    -0x38(%rbp),%rax
  lea    D73(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  mov    -0x38(%rbp),%rax
  lea    D61(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  mov    -0x38(%rbp),%rax
  lea    D87(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  mov    -0x38(%rbp),%rax
  lea    D9(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <resize_array_add@plt>
  mov    -0x38(%rbp),%rax
  lea    D23(%rip),%rdx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <resize_array_insert@plt>
  mov    -0x38(%rbp),%rax
  lea    D66(%rip),%rdx
  mov    $0x4,%esi
  mov    %rax,%rdi
  call   <resize_array_insert@plt>
  mov    -0x38(%rbp),%rax
  lea    D22(%rip),%rdx
  mov    $0x9,%esi
  mov    %rax,%rdi
  call   <resize_array_insert@plt>
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <clxns_count@plt>
  mov    %eax,-0x3c(%rbp)
  cmpl   $0xa,-0x3c(%rbp)
  je     L38
  lea    D78(%rip),%rax
  jmp    L45
L38:
  movl   $0x0,-0x40(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <clxns_iter_new@plt>
  mov    %rax,-0x30(%rbp)
  jmp    L88
L83:
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <clxns_iter_get_next@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0x40(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  lea    -0x20(%rbp),%rcx
  mov    %eax,%edx
  lea    D17(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <sprintf@plt>
  lea    -0x20(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L88
  lea    D51(%rip),%rax
  jmp    L45
L88:
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <clxns_iter_move_next@plt>
  test   %rax,%rax
  jne    L83
  cmpl   $0xa,-0x40(%rbp)
  je     L64
  lea    D12(%rip),%rax
  jmp    L45
L64:
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <clxns_iter_free@plt>
  mov    -0x38(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <clxns_free@plt>
  mov    $0x0,%eax
L45:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L22
  call   <__stack_chk_fail@plt>
L22:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D83
data_type: string
name: parse_data
arguments: tag: D123
data_type: string
name: parse_data
arguments: tag: D2
data_type: string
name: parse_data
arguments: tag: D73
data_type: string
name: parse_data
arguments: tag: D61
data_type: string
name: parse_data
arguments: tag: D87
data_type: string
name: parse_data
arguments: tag: D9
data_type: string
name: parse_data
arguments: tag: D23
data_type: string
name: parse_data
arguments: tag: D66
data_type: string
name: parse_data
arguments: tag: D22
data_type: string
name: parse_data
arguments: tag: D78
data_type: string
name: parse_data
arguments: tag: D17
data_type: string
name: parse_data
arguments: tag: D51
data_type: string
name: parse_data
arguments: tag: D12
data_type: string

tool: D83: string1

tool: D123: string2

tool: D2: string3

tool: D73: string5

tool: D61: string6

tool: D87: string7

tool: D9: string8

tool: D23: string0

tool: D66: string4

tool: D22: string9

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

tool: D17: string%d

tool: D51: Incorrect data in iter after insert

tool: D12: Incorrect iter count 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;
}
```