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

```asm
<main>:
  endbr64
  push   %r14
  mov    $0x13,%esi
  push   %r13
  push   %r12
  push   %rbp
  lea    D213(%rip),%rbp
  push   %rbx
  sub    $0x1c0,%rsp
  movdqa D237(%rip),%xmm0
  movdqa D188(%rip),%xmm1
  movdqa D262(%rip),%xmm2
  movdqa D49(%rip),%xmm3
  mov    %rsp,%rbx
  lea    0x4c(%rsp),%r13
  mov    %fs:0x28,%rax
  mov    %rax,0x1b8(%rsp)
  xor    %eax,%eax
  mov    D118(%rip),%r12
  mov    %rbx,%rdi
  movaps %xmm0,(%rsp)
  movl   $0x5b,0x48(%rsp)
  mov    %r12,0x40(%rsp)
  movaps %xmm1,0x10(%rsp)
  movaps %xmm2,0x20(%rsp)
  movaps %xmm3,0x30(%rsp)
  call   <insertSort@plt>
  nopl   0x0(%rax)
L31:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %rbx,%r13
  jne    L31
  lea    D247(%rip),%r13
  mov    $0x13,%esi
  lea    0x50(%rsp),%rbx
  mov    %r13,%rdi
  lea    0x9c(%rsp),%r14
  call   <printf@plt>
  movdqa D237(%rip),%xmm4
  mov    %rbx,%rdi
  movdqa D188(%rip),%xmm5
  movdqa D262(%rip),%xmm6
  movdqa D49(%rip),%xmm7
  mov    $0x13,%esi
  mov    %r12,0x90(%rsp)
  movl   $0x5b,0x98(%rsp)
  movaps %xmm4,0x50(%rsp)
  movaps %xmm5,0x60(%rsp)
  movaps %xmm6,0x70(%rsp)
  movaps %xmm7,0x80(%rsp)
  call   <selectSort@plt>
  nopl   0x0(%rax,%rax,1)
L7:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %rbx,%r14
  jne    L7
  mov    $0x13,%esi
  mov    %r13,%rdi
  lea    0xa0(%rsp),%rbx
  call   <printf@plt>
  movdqa D237(%rip),%xmm0
  mov    %rbx,%rdi
  movdqa D188(%rip),%xmm1
  movdqa D262(%rip),%xmm2
  movdqa D49(%rip),%xmm3
  mov    $0x13,%esi
  mov    %r12,0xe0(%rsp)
  movaps %xmm0,0xa0(%rsp)
  lea    0xec(%rsp),%r12
  movl   $0x5b,0xe8(%rsp)
  movaps %xmm1,0xb0(%rsp)
  movaps %xmm2,0xc0(%rsp)
  movaps %xmm3,0xd0(%rsp)
  call   <bubleSort@plt>
L37:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %rbx,%r12
  jne    L37
  mov    $0x13,%esi
  mov    %r13,%rdi
  lea    0xf0(%rsp),%r12
  call   <printf@plt>
  movdqa D237(%rip),%xmm4
  mov    %r12,%rdi
  movdqa D188(%rip),%xmm5
  movdqa D262(%rip),%xmm6
  movdqa D49(%rip),%xmm7
  mov    $0x18,%esi
  lea    0x150(%rsp),%rbx
  movdqa D118(%rip),%xmm0
  movdqa D143(%rip),%xmm1
  movaps %xmm4,0xf0(%rsp)
  movaps %xmm5,0x100(%rsp)
  movaps %xmm6,0x110(%rsp)
  movaps %xmm7,0x120(%rsp)
  movaps %xmm0,0x130(%rsp)
  movaps %xmm1,0x140(%rsp)
  call   <fastSort@plt>
  nopl   (%rax)
L52:
  mov    (%r12),%esi
  mov    %rbp,%rdi
  add    $0x4,%r12
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L52
  mov    $0x18,%esi
  mov    %r13,%rdi
  lea    0x1b0(%rsp),%r12
  call   <printf@plt>
  movdqa D237(%rip),%xmm2
  mov    %rbx,%rdi
  movdqa D188(%rip),%xmm3
  movdqa D262(%rip),%xmm4
  movdqa D49(%rip),%xmm5
  mov    $0x18,%esi
  movdqa D118(%rip),%xmm6
  movdqa D143(%rip),%xmm7
  movaps %xmm2,0x150(%rsp)
  movaps %xmm3,0x160(%rsp)
  movaps %xmm4,0x170(%rsp)
  movaps %xmm5,0x180(%rsp)
  movaps %xmm6,0x190(%rsp)
  movaps %xmm7,0x1a0(%rsp)
  call   <shellSort@plt>
  nopw   0x0(%rax,%rax,1)
L3:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %rbx,%r12
  jne    L3
  mov    $0x18,%esi
  mov    %r13,%rdi
  call   <printf@plt>
  mov    0x1b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L49
  add    $0x1c0,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L49:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D213
type: string
name: retrieve_data
arguments: data_label: D237
type: byte[16]
name: retrieve_data
arguments: data_label: D188
type: byte[16]
name: retrieve_data
arguments: data_label: D262
type: byte[16]
name: retrieve_data
arguments: data_label: D49
type: byte[16]
name: retrieve_data
arguments: data_label: D118
type: byte[16]
name: retrieve_data
arguments: data_label: D247
type: string
name: retrieve_data
arguments: data_label: D143
type: byte[16]

tool: D213: %d 

tool: {"D237": [0x01,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D188": [0x07,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: {"D262": [0x04,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x22,0x00,0x00,0x00,0x0c,0x00,0x00,0x00]}

tool: {"D49": [0x20,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0x17,0x00,0x00,0x00]}

tool: {"D118": [0x1a,0x00,0x00,0x00,0x4e,0x00,0x00,0x00,0x5b,0x00,0x00,0x00,0x13,0x00,0x00,0x00]}

tool: D247: 
%d


tool: {"D143": [0x1d,0x00,0x00,0x00,0x2e,0x00,0x00,0x00,0x3a,0x00,0x00,0x00,0x3b,0x00,0x00,0x00]}

assistant: ```c
int main() {
  int a[] = {1, 5, 2, 4, 7, 9, 11, 3, 4, 56, 34, 12, 32, 14, 17, 23, 26, 78, 91};
  int len = sizeof(a) / sizeof(int);
  insertSort(a, len);
  for (int i = 0; i < len; ++i)
    printf("%d ", a[i]);
  printf("\n%d\n", len);
  int b[] = {1, 5, 2, 4, 7, 9, 11, 3, 4, 56, 34, 12, 32, 14, 17, 23, 26, 78, 91};
  selectSort(b, len);
  for (int i = 0; i < len; ++i)
    printf("%d ", b[i]);
  printf("\n%d\n", len);
  int c[] = {1, 5, 2, 4, 7, 9, 11, 3, 4, 56, 34, 12, 32, 14, 17, 23, 26, 78, 91};
  bubleSort(c, len);
  for (int i = 0; i < len; ++i)
    printf("%d ", c[i]);
  printf("\n%d\n", len);
  int d[] = {1, 5, 2, 4, 7, 9, 11, 3, 4, 56, 34, 12, 32, 14, 17, 23, 26, 78, 91, 19, 29, 46, 58, 59};
  len = sizeof(d) / sizeof(int);
  fastSort(d, len);
  for (int i = 0; i < len; ++i)
    printf("%d ", d[i]);
  printf("\n%d\n", len);
  int e[] = {1, 5, 2, 4, 7, 9, 11, 3, 4, 56, 34, 12, 32, 14, 17, 23, 26, 78, 91, 19, 29, 46, 58, 59};
  len = sizeof(e) / sizeof(int);
  shellSort(e, len);
  for (int i = 0; i < len; ++i)
    printf("%d ", e[i]);
  printf("\n%d\n", len);
  return 0;
}
```