user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x32,-0xd4(%rbp)
  mov    $0x0,%edi
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  movl   $0x0,-0xd8(%rbp)
  jmp    L13
L36:
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x51eb851f,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x5,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x64,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0xd8(%rbp),%eax
  cltq
  mov    %edx,-0xd0(%rbp,%rax,4)
  addl   $0x1,-0xd8(%rbp)
L13:
  mov    -0xd8(%rbp),%eax
  cmp    -0xd4(%rbp),%eax
  jl     L36
  lea    D16(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0xd4(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0xd0(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <print_list@plt>
  lea    D41(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0xd4(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0xd0(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <quicksort@plt>
  mov    -0xd4(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0xd0(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <print_list@plt>
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  movl   $0x0,-0xd8(%rbp)
  jmp    L20
L44:
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x51eb851f,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x5,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x64,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0xd8(%rbp),%eax
  cltq
  mov    %edx,-0xd0(%rbp,%rax,4)
  addl   $0x1,-0xd8(%rbp)
L20:
  mov    -0xd8(%rbp),%eax
  cmp    -0xd4(%rbp),%eax
  jl     L44
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0xd4(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0xd0(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <print_list@plt>
  lea    D43(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0xd4(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0xd0(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <quicksort_non_recursive@plt>
  mov    -0xd4(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0xd0(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <print_list@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L48
  call   <__stack_chk_fail@plt>
L48:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D16
data_type: string
name: retrieve_data
arguments: label: D41
data_type: string
name: retrieve_data
arguments: label: D34
data_type: string
name: retrieve_data
arguments: label: D8
data_type: string
name: retrieve_data
arguments: label: D43
data_type: string

tool: D16: out of order:


tool: D41: in order (recursive quicksort):


tool: D34: 



tool: D8: new out of order:


tool: D43: in order (non-recursive quicksort):


assistant: ```c
int main() {
  int l[50];
  int size = 50;
  int c;
  srand(time(NULL));
  for (c = 0; c < size; c++)
    l[c] = rand() % 100;
  printf("out of order:\n");
  print_list(l, size - 1);
  printf("in order (recursive quicksort):\n");
  quicksort(l, 0, size - 1);
  print_list(l, size - 1);
  printf("\n\n");
  for (c = 0; c < size; c++)
    l[c] = rand() % 100;
  printf("new out of order:\n");
  print_list(l, size - 1);
  printf("in order (non-recursive quicksort):\n");
  quicksort_non_recursive(l, 0, size - 1);
  print_list(l, size - 1);
  return 0;
}
```