user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r15
  lea    D90(%rip),%rdi
  lea    D98(%rip),%r15
  push   %r14
  lea    D35(%rip),%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1b8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1a8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%r13
  lea    0x10(%rsp),%r12
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x4(%rsp),%eax
  test   %eax,%eax
  je     L7
  mov    %r12,%rbx
  xor    %ebp,%ebp
  lea    D98(%rip),%r15
  jmp    L20
  nop
L90:
  movslq 0x4(%rsp),%rax
  add    $0x1,%rbp
  add    $0x4,%rbx
  cmp    %rbp,%rax
  jbe    L7
L20:
  xor    %eax,%eax
  mov    %rbx,%rsi
  mov    %r15,%rdi
  call   <scanf@plt>
  test   %al,%al
  jne    L90
  lea    D68(%rip),%rdi
  call   <puts@plt>
L22:
  mov    0x1a8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L39
  add    $0x1b8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L7:
  lea    D19(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x8(%rsp),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D38(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x8(%rsp),%esi
  mov    %r13,%rdx
  mov    %r12,%rdi
  movss  0xc(%rsp),%xmm0
  call   <insArr@plt>
  test   %rax,%rax
  je     L31
  lea    D96(%rip),%rdi
  xor    %ebx,%ebx
  lea    D31(%rip),%rbp
  call   <puts@plt>
  cmpl   $0x0,0x4(%rsp)
  je     L22
  xchg   %ax,%ax
L79:
  pxor   %xmm0,%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  cvtss2sd (%r12,%rbx,4),%xmm0
  call   <printf@plt>
  movslq 0x4(%rsp),%rax
  add    $0x1,%rbx
  cmp    %rbx,%rax
  ja     L79
  jmp    L22
L31:
  lea    D82(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L22
L39:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D90
type_infered: string
name: extract_symbolic_data
arguments: label: D98
type_infered: string
name: extract_symbolic_data
arguments: label: D35
type_infered: string
name: extract_symbolic_data
arguments: label: D68
type_infered: string
name: extract_symbolic_data
arguments: label: D19
type_infered: string
name: extract_symbolic_data
arguments: label: D38
type_infered: string
name: extract_symbolic_data
arguments: label: D96
type_infered: string
name: extract_symbolic_data
arguments: label: D31
type_infered: string
name: extract_symbolic_data
arguments: label: D82
type_infered: string

tool: D90: Enter number of elements: 

tool: D98: %f

tool: D35: %d

tool: D68: Scan failed

tool: D19: Enter position to insert: 

tool: D38: Enter number to insert: 

tool: D96: The number is:

tool: D31: %.2f


tool: D82: Insert failed

assistant: ```c
int main(void) {
  int n, pos;
  float arr[100], in;
  printf("Enter number of elements: ");
  scanf("%d", &n);
  for (size_t i = 0; i < n; i++) {
    if (scanf("%f", &arr[i]) != '\0')
      ;
    else {
      printf("Scan failed\n");
      goto end;
    }
  }
  printf("Enter position to insert: ");
  scanf("%d", &pos);
  printf("Enter number to insert: ");
  scanf("%f", &in);
  if (insArr(arr, in, pos, &n)) {
    printf("The number is:\n");
    for (size_t i = 0; i < n; i++) {
      printf("%.2f\n", arr[i]);
    }
  } else
    printf("Insert failed");
end:
  return 0;
}
```