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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  movl   $0x2,-0x8(%rbp)
  movl   $0xf4240,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L155
L131:
  mov    -0x10(%rbp),%eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  je     L81
  mov    -0x10(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  je     L81
  cmpl   $0x22,-0xc(%rbp)
  jg     L128
  mov    -0x10(%rbp),%eax
  mov    %eax,%esi
  lea    D60(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L128:
  addl   $0x1,-0xc(%rbp)
L81:
  addl   $0x1,-0x10(%rbp)
L155:
  mov    -0x10(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jl     L131
  mov    -0x4(%rbp),%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%esi
  lea    D58(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x4(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L106
L161:
  mov    -0x10(%rbp),%eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  je     L66
  mov    -0x10(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  je     L66
  addl   $0x1,-0xc(%rbp)
L66:
  addl   $0x1,-0x10(%rbp)
L106:
  mov    -0x10(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jl     L161
  mov    -0x4(%rbp),%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%esi
  lea    D56(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x2,-0x8(%rbp)
  movl   $0xf4240,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  lea    D59(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L51
L160:
  mov    -0x10(%rbp),%eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  je     L139
  mov    -0x10(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  jne    L139
  cmpl   $0x27,-0xc(%rbp)
  jg     L19
  mov    -0x10(%rbp),%eax
  mov    %eax,%esi
  lea    D60(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L19:
  addl   $0x1,-0xc(%rbp)
L139:
  addl   $0x1,-0x10(%rbp)
L51:
  mov    -0x10(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jl     L160
  mov    -0x4(%rbp),%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%esi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x4(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x4(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L122
L44:
  mov    -0x10(%rbp),%eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  je     L42
  mov    -0x10(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edi
  call   <isPrime@plt>
  test   %rax,%rax
  jne    L42
  addl   $0x1,-0xc(%rbp)
L42:
  addl   $0x1,-0x10(%rbp)
L122:
  mov    -0x10(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jl     L44
  mov    -0x4(%rbp),%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%esi
  lea    D39(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D61
data_type: string
name: disassemble_data
arguments: data_tag: D60
data_type: string
name: disassemble_data
arguments: data_tag: D58
data_type: string
name: disassemble_data
arguments: data_tag: D56
data_type: string
name: disassemble_data
arguments: data_tag: D59
data_type: string
name: disassemble_data
arguments: data_tag: D13
data_type: string
name: disassemble_data
arguments: data_tag: D39
data_type: string

tool: D61: First 35 safe primes:

tool: D60: %d 

tool: D58: 
There are  %d safe primes below  %d


tool: D56: There are %d safe primes below %d


tool: D59: 
First 40 unsafe primes:

tool: D13: 
There are  %d unsafe primes below  %d


tool: D39: There are %d unsafe primes below %d


assistant: ```c
int main() {
  int beg, end;
  int i, count;
  beg = 2;
  end = 1000000;
  count = 0;
  printf("First 35 safe primes:\n");
  for (i = beg; i < end; i++) {
    if (isPrime(i) && isPrime((i - 1) / 2)) {
      if (count < 35) {
        printf("%d ", i);
      }
      count++;
    }
  }
  printf("\nThere are  %d safe primes below  %d\n", count, end);
  beg = end;
  end = end * 10;
  for (i = beg; i < end; i++) {
    if (isPrime(i) && isPrime((i - 1) / 2)) {
      count++;
    }
  }
  printf("There are %d safe primes below %d\n", count, end);
  beg = 2;
  end = 1000000;
  count = 0;
  printf("\nFirst 40 unsafe primes:\n");
  for (i = beg; i < end; i++) {
    if (isPrime(i) && !isPrime((i - 1) / 2)) {
      if (count < 40) {
        printf("%d ", i);
      }
      count++;
    }
  }
  printf("\nThere are  %d unsafe primes below  %d\n", count, end);
  beg = end;
  end = end * 10;
  for (i = beg; i < end; i++) {
    if (isPrime(i) && !isPrime((i - 1) / 2)) {
      count++;
    }
  }
  printf("There are %d unsafe primes below %d\n", count, end);
  return 0;
}
```