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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r12
  push   %rbx
  sub    $0x50,%rsp
  mov    %edi,-0x54(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%r12
  mov    -0x54(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x44(%rbp)
  mov    $0xc,%edi
  call   <malloc@plt>
  mov    %rax,-0x40(%rbp)
  mov    -0x44(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x38(%rbp)
  movslq %eax,%rdx
  mov    %rdx,-0x70(%rbp)
  movq   $0x0,-0x68(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%ebx
  mov    $0x0,%edx
  div    %rbx
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L18:
  cmp    %rdx,%rsp
  je     L94
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L18
L94:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L22
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L22:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x30(%rbp)
  cmpl   $0x0,-0x44(%rbp)
  jg     L28
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
  jmp    L32
L28:
  mov    -0x44(%rbp),%eax
  mov    %eax,%esi
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L32:
  movl   $0x0,-0x48(%rbp)
  jmp    L90
L2:
  mov    -0x48(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x48(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x40(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,(%rbx)
  addl   $0x1,-0x48(%rbp)
L90:
  mov    -0x48(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L2
  movl   $0x0,-0x48(%rbp)
  jmp    L46
L47:
  mov    -0x48(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <sleep_thread_new@plt>
  addl   $0x1,-0x48(%rbp)
L46:
  mov    -0x48(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L47
  movl   $0x0,-0x48(%rbp)
  jmp    L119
L105:
  mov    -0x30(%rbp),%rax
  mov    -0x48(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <pthread_join@plt>
  addl   $0x1,-0x48(%rbp)
L119:
  mov    -0x48(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L105
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%edi
  call   <exit@plt>
  mov    %r12,%rsp
  mov    $0x0,%eax
  mov    -0x28(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L74
  call   <__stack_chk_fail@plt>
L74:
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D17
datatype: string
name: extract_symbolic_data
arguments: data_label: D15
datatype: string

tool: D17: Bitte mindestens eine Zeit eingeben.
	Usage: Thread time1 [time...]

tool: D15: Erstelle %d Threads



assistant: ```c
int main(int argc, char *argv[]) {
  int number_of_threads = argc - 1;
  int i;
  int *sleeptime = malloc(sizeof(int) * 3);
  pthread_t thread[number_of_threads];
  if (number_of_threads < 1) {
    printf("Bitte mindestens eine Zeit eingeben.\n\tUsage: Thread time1 [time...]\n");
    exit(-1);
  } else {
    printf("Erstelle %d Threads\n\n", number_of_threads);
  }
  for (i = 0; i < number_of_threads; i++) {
    sleeptime[i] = atoi(argv[i + 1]);
  }
  for (i = 0; i < number_of_threads; i++) {
    sleep_thread_new(&thread[i], &sleeptime[i]);
  }
  for (i = 0; i < number_of_threads; i++) {
    pthread_join(thread[i], NULL);
  }
  free(sleeptime);
  exit(0);
}
```