user: What would the C source look like for the assembly code provided here?

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%edi
  jle    L20
  mov    $0x64,%ebp
  cmp    $0x3,%edi
  je     L35
L18:
  mov    $0x800000,%edi
  call   <sqrt@plt>
  mov    %eax,%r12d
  imul   %eax,%eax
  lea    0x0(,%rax,4),%edi
  call   <malloc@plt>
  xor    %esi,%esi
  mov    %rsp,%rdi
  mov    %rax,%r13
  call   <gettimeofday@plt>
  mov    0x8(%rbx),%rdi
  lea    D39(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L23
  mov    0x8(%rbx),%rdi
  lea    D55(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L19
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <kernel_mem_bound@plt>
L33:
  lea    0x10(%rsp),%rdi
  xor    %esi,%esi
  call   <gettimeofday@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  movsd  D19(%rip),%xmm2
  cvtsi2sdq 0x10(%rsp),%xmm0
  lea    D67(%rip),%rdi
  mov    $0x1,%eax
  cvtsi2sdq 0x18(%rsp),%xmm1
  divsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq (%rsp),%xmm1
  divsd  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtsi2sdq 0x8(%rsp),%xmm2
  addsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  call   <printf@plt>
  xor    %eax,%eax
L26:
  mov    0x28(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L47
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L23:
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <kernel_cpu_bound@plt>
  jmp    L33
L35:
  mov    0x10(%rsi),%rdi
  call   <atoi@plt>
  mov    %eax,%ebp
  test   %eax,%eax
  jg     L18
  mov    %eax,%esi
  lea    D47(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  or     $0xffffffff,%eax
  jmp    L26
L19:
  mov    (%rbx),%rsi
  lea    D15(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L33
L20:
  mov    (%rsi),%rsi
  lea    D0(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  jmp    L26
L47:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D39
datatype: string
name: parse_data
arguments: data_label: D55
datatype: string
name: parse_data
arguments: data_label: D19
datatype: f64
name: parse_data
arguments: data_label: D67
datatype: string
name: parse_data
arguments: data_label: D47
datatype: string
name: parse_data
arguments: data_label: D15
datatype: string
name: parse_data
arguments: data_label: D0
datatype: string

tool: D39: cpu

tool: D55: mem

tool: D19: 1000000

tool: D67: %f


tool: D47: Invalid number of trials = %d


tool: D15: Invalid parameters, USAGE: %s [mem|cpu]


tool: D0: Invalid parameters, USAGE: %s [mem|cpu] [trials, default=100]


assistant: ```c
int main(int argc, char *argv[]) {
  unsigned long long nll;
  unsigned int *big_array;
  struct timeval start, end;
  unsigned int sqrt_mem_size;
  int trials;
  if (argc < 2) {
    printf("Invalid parameters, USAGE: %s [mem|cpu] [trials, default=100]\n", argv[0]);
    return 0;
  }
  if (argc == 3) {
    trials = atoi(argv[2]);
    if (trials < 1) {
      printf("Invalid number of trials = %d\n", trials);
      return -1;
    }
  } else {
    trials = 100;
  }
  sqrt_mem_size = (unsigned int)sqrt(sizeof(int) * (((1024 * 1024) / sizeof(int)) * 8));
  big_array = (int *)malloc(sizeof(int) * sqrt_mem_size * sqrt_mem_size);
  gettimeofday(&start, NULL);
  if (strcmp(argv[1], "cpu") == 0)
    nll = kernel_cpu_bound(trials, sqrt_mem_size);
  else if (strcmp(argv[1], "mem") == 0)
    nll = kernel_mem_bound(big_array, trials, sqrt_mem_size);
  else
    printf("Invalid parameters, USAGE: %s [mem|cpu]\n", argv[0]);
  gettimeofday(&end, NULL);
  printf("%f\n", (((double)end.tv_sec + ((double)end.tv_usec / 1000000.0)) - ((double)start.tv_sec + ((double)start.tv_usec / 1000000.0))));
  return 0;
}
```