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    $0x118,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x108(%rsp)
  xor    %eax,%eax
  lea    D37(%rip),%rdi
  call   <printf@plt>
  lea    0x2c(%rsp),%rsi
  lea    D42(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D62(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,0x2c(%rsp)
  jle    L137
  lea    0x60(%rsp),%rbx
  mov    $0x0,%ebp
  lea    D86(%rip),%r13
  lea    D55(%rip),%r12
L120:
  lea    0x1(%rbp),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xc(%rbx),%rdx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0xc(%rbx),%ecx
  mov    (%rbx),%edx
  mov    %ecx,%esi
  sub    %edx,%esi
  mov    %esi,%eax
  shr    $0x1f,%eax
  add    %esi,%eax
  sar    %eax
  add    %edx,%eax
  mov    %eax,0x30(%rsp,%rbp,4)
  add    $0x1,%edx
  mov    %edx,0x4(%rbx)
  sub    $0x1,%ecx
  mov    %ecx,0x8(%rbx)
  add    $0x1,%rbp
  add    $0x10,%rbx
  cmp    %ebp,0x2c(%rsp)
  jg     L120
L137:
  lea    D27(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x2c(%rsp)
  jle    L156
  mov    $0x0,%ebx
  lea    D67(%rip),%rbp
L26:
  add    $0x1,%ebx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmp    0x2c(%rsp),%ebx
  jl     L26
L156:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x1,%esi
  lea    D92(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x2c(%rsp)
  jle    L10
  mov    $0x0,%ebx
  lea    D92(%rip),%rbp
L55:
  mov    0x30(%rsp,%rbx,4),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,0x2c(%rsp)
  jg     L55
L10:
  mov    $0xa,%edi
  call   <putchar@plt>
  cmpl   $0x0,0x2c(%rsp)
  jle    L19
  lea    0x70(%rsp),%rax
  mov    %rax,0x8(%rsp)
  mov    $0x1,%r14d
  lea    D92(%rip),%rbp
  jmp    L54
L12:
  addq   $0x10,0x8(%rsp)
  add    $0x1,%r14
  lea    -0x1(%r14),%eax
  cmp    %eax,0x2c(%rsp)
  jle    L19
L54:
  mov    %r14d,0x14(%rsp)
  lea    -0x2(,%r14,4),%r15d
  mov    0x8(%rsp),%rax
  lea    -0x10(%rax),%r13
  lea    0x30(%rsp),%rax
  mov    %rax,0x18(%rsp)
  lea    -0x2(%r14),%eax
  lea    0x34(%rsp,%rax,4),%r12
L71:
  mov    %r15d,%esi
  add    $0x1,%r15d
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x14(%rsp),%eax
  sub    $0x1,%eax
  test   %eax,%eax
  jle    L22
  mov    0x18(%rsp),%rbx
L72:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %r12,%rbx
  jne    L72
L22:
  mov    0x0(%r13),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmp    %r14d,0x2c(%rsp)
  jle    L58
  mov    %r14,%rbx
L57:
  mov    0x30(%rsp,%rbx,4),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,0x2c(%rsp)
  jg     L57
L58:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x4,%r13
  cmp    0x8(%rsp),%r13
  jne    L71
  jmp    L12
L19:
  mov    0x108(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L144
  mov    $0x0,%eax
  add    $0x118,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L144:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D37
type_guessed: string
name: unpack_data
arguments: tag: D42
type_guessed: string
name: unpack_data
arguments: tag: D62
type_guessed: string
name: unpack_data
arguments: tag: D86
type_guessed: string
name: unpack_data
arguments: tag: D55
type_guessed: string
name: unpack_data
arguments: tag: D27
type_guessed: string
name: unpack_data
arguments: tag: D67
type_guessed: string
name: unpack_data
arguments: tag: D92
type_guessed: string

tool: D37: Enter number of variables: 

tool: D42: %d

tool: D62: Enter range of each variable: (min max)

tool: D86: Var %d:	

tool: D55: %d %d

tool: D27: 
Id	

tool: D67: Var %d	

tool: D92: %d	

assistant: ```c
int main() {
  int n, i, j, k, c = 1, range[10][4], nominal[10];
  printf("Enter number of variables: ");
  scanf("%d", &n);
  printf("Enter range of each variable: (min max)\n");
  for (i = 0; i < n; i++) {
    printf("Var %d:\t", i + 1);
    scanf("%d %d", &range[i][0], &range[i][3]);
    nominal[i] = (range[i][3] - range[i][0]) / 2 + range[i][0];
    range[i][1] = range[i][0] + 1;
    range[i][2] = range[i][3] - 1;
  }
  printf("\nId\t");
  for (i = 0; i < n; i++)
    printf("Var %d\t", i + 1);
  printf("\n");
  printf("%d\t", c++);
  for (i = 0; i < n; i++)
    printf("%d\t", nominal[i]);
  printf("\n");
  for (i = 0; i < n; i++) {
    for (k = 0; k < 4; k++) {
      printf("%d\t", c++);
      for (j = 0; j < i; j++) {
        printf("%d\t", nominal[j]);
      }
      printf("%d\t", range[i][k]);
      for (j = i + 1; j < n; j++) {
        printf("%d\t", nominal[j]);
      }
      printf("\n");
    }
  }
}
```