user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %rbp
  lea    D41(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  lea    D58(%rip),%r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <puts@plt>
  lea    -0x40(%rbp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    -0x40(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  test   %eax,%eax
  je     L17
  lea    -0x3c(%rbp),%rax
  lea    D55(%rip),%r13
  mov    %rax,-0x50(%rbp)
  nopl   0x0(%rax,%rax,1)
L61:
  lea    D13(%rip),%rdi
  mov    %rsp,-0x48(%rbp)
  call   <puts@plt>
  mov    -0x50(%rbp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  movslq -0x3c(%rbp),%rax
  mov    %rsp,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L50
L16:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L16
L50:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L75
  orq    $0x0,-0x8(%rsp,%rdx,1)
L75:
  lea    D17(%rip),%rdi
  mov    %rsp,%rbx
  call   <puts@plt>
  mov    -0x3c(%rbp),%edx
  test   %edx,%edx
  jle    L2
  mov    %rbx,%r14
  xor    %r15d,%r15d
  nopl   (%rax)
L52:
  mov    %r14,%rsi
  mov    %r12,%rdi
  add    $0x1,%r15d
  add    $0x4,%r14
  call   <scanf@plt>
  mov    -0x3c(%rbp),%edx
  cmp    %r15d,%edx
  jg     L52
L2:
  sub    $0x1,%edx
  xor    %esi,%esi
  mov    %rbx,%rdi
  call   <quickSort@plt>
  lea    D59(%rip),%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%eax
  test   %eax,%eax
  jle    L41
  xor    %r15d,%r15d
  xchg   %ax,%ax
L12:
  mov    (%rbx,%r15,4),%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%r15
  call   <printf@plt>
  cmp    %r15d,-0x3c(%rbp)
  jg     L12
L41:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    -0x40(%rbp),%eax
  mov    -0x48(%rbp),%rsp
  lea    -0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  test   %eax,%eax
  jne    L61
L17:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L21
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L21:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D41
datatype: string
name: read_data
arguments: data_label: D58
datatype: string
name: read_data
arguments: data_label: D55
datatype: string
name: read_data
arguments: data_label: D13
datatype: string
name: read_data
arguments: data_label: D17
datatype: string
name: read_data
arguments: data_label: D59
datatype: string

tool: D41: Enter Number of times you want to sort:

tool: D58: %d

tool: D55: %d 

tool: D13: Enter the Size of the Array:

tool: D17: Enter Array:

tool: D59: Sorted Array:

assistant: ```c
int main() {
  int t;
  printf("Enter Number of times you want to sort:\n");
  scanf("%d", &t);
  while (t--) {
    int n, i;
    printf("Enter the Size of the Array:\n");
    scanf("%d", &n);
    int arr[n];
    printf("Enter Array:\n");
    for (i = 0; i < n; i++)
      scanf("%d", &arr[i]);
    quickSort(arr, 0, n - 1);
    printf("Sorted Array:\n");
    for (i = 0; i < n; i++)
      printf("%d ", arr[i]);
    printf("\n");
  }
  return 0;
}
```