user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%edi
  jne    L57
  mov    0x8(%rsi),%rdi
  call   <atoi@plt>
  xor    %edi,%edi
  mov    %rax,%r14
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  test   %r14,%r14
  jle    L79
  xor    %ebp,%ebp
  lea    0x6(%rsp),%r13
  lea    D58(%rip),%r15
  jmp    L59
  xchg   %ax,%ax
L102:
  lea    D56(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
L38:
  xor    %eax,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  mov    %eax,%ecx
  imul   $0x55555556,%rdx,%rdx
  sar    $0x1f,%ecx
  shr    $0x20,%rdx
  sub    %ecx,%edx
  lea    (%rdx,%rdx,2),%ecx
  sub    %ecx,%eax
  je     L36
  cmp    $0x1,%eax
  je     L111
  mov    %rbx,%rdx
  mov    %r13,%rsi
  lea    D18(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L7:
  add    $0x1,%rbp
  cmp    %rbp,%r14
  je     L79
L59:
  xor    %eax,%eax
  call   <rand@plt>
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <rand@plt>
  shl    $0x20,%r12
  cltq
  or     %rax,%r12
  xor    %eax,%eax
  call   <rand@plt>
  mov    %eax,%ebx
  xor    %eax,%eax
  call   <rand@plt>
  shl    $0x20,%rbx
  cltq
  or     %rax,%rbx
  xor    %eax,%eax
  call   <rand@plt>
  test   $0x1,%al
  je     L102
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  jmp    L38
  nopw   0x0(%rax,%rax,1)
L36:
  mov    %rbx,%rcx
  mov    %r12,%rdx
  mov    %r13,%rsi
  xor    %eax,%eax
  lea    D21(%rip),%rdi
  add    $0x1,%rbp
  call   <printf@plt>
  cmp    %rbp,%r14
  jne    L59
L79:
  xor    %eax,%eax
L62:
  mov    0x8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L46
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L111:
  mov    %r12,%rdx
  mov    %r13,%rsi
  lea    D9(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L7
L57:
  lea    D46(%rip),%rdi
  call   <puts@plt>
  or     $0xffffffff,%eax
  jmp    L62
L46:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D58
type_guessed: string
name: disassemble_data
arguments: data_label: D56
type_guessed: string
name: disassemble_data
arguments: data_label: D18
type_guessed: string
name: disassemble_data
arguments: data_label: D21
type_guessed: string
name: disassemble_data
arguments: data_label: D9
type_guessed: string
name: disassemble_data
arguments: data_label: D46
type_guessed: string

tool: D58: -

tool: 

tool: D18: %s0.%ju


tool: D21: %s%ju.%ju


tool: D9: %s%ju


tool: D46: Please input the number of lines to be generated.

assistant: ```c
int main(int argc, char **argv) {
  uintmax_t i, num_rand, whole, fraction, choice;
  char sign[2];
  if (argc != 2) {
    printf("Please input the number of lines to be generated.\n");
    return -1;
  }
  num_rand = atoi(argv[1]);
  srand(time(NULL));
  for (i = 0; i < num_rand; i++) {
    whole = ((uintmax_t)rand() << 32) | (uintmax_t)rand();
    fraction = ((uintmax_t)rand() << 32) | (uintmax_t)rand();
    if (rand() % 2 == 0)
      sprintf(sign, "");
    else
      sprintf(sign, "-");
    choice = rand() % 3;
    if (choice == 0)
      printf("%s%ju.%ju\n", sign, whole, fraction);
    else if (choice == 1)
      printf("%s%ju\n", sign, whole);
    else
      printf("%s0.%ju\n", sign, fraction);
  }
  return 0;
}
```