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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x88,%rsp
  mov    %edi,-0x64(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,-0xa8(%rbp)
  movl   $0x0,-0x60(%rbp)
  movl   $0x0,-0x5c(%rbp)
  movl   $0x0,-0x58(%rbp)
  movl   $0x0,-0x54(%rbp)
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    %rax,%rsi
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x60(%rbp),%eax
  test   %eax,%eax
  setg   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x5c(%rbp),%rax
  mov    %rax,%rsi
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x5c(%rbp),%eax
  test   %eax,%eax
  je     L56
  mov    -0x5c(%rbp),%eax
  cmp    $0x1,%eax
  jne    L32
L56:
  mov    $0x1,%eax
  jmp    L41
L32:
  mov    $0x0,%eax
L41:
  mov    %eax,%edi
  call   <assert@plt>
  mov    -0x60(%rbp),%eax
  add    %eax,%eax
  lea    -0x1(%rax),%ecx
  mov    -0x60(%rbp),%esi
  movslq %ecx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x50(%rbp)
  movslq %ecx,%rax
  mov    %rax,-0xa0(%rbp)
  movq   $0x0,-0x98(%rbp)
  movslq %ecx,%rbx
  movslq %esi,%rax
  sub    $0x1,%rax
  mov    %rax,-0x48(%rbp)
  movslq %ecx,%rax
  mov    %rax,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  movslq %esi,%rax
  mov    %rax,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  mov    -0x80(%rbp),%r8
  mov    -0x78(%rbp),%r9
  mov    %r9,%rdx
  mov    -0x90(%rbp),%r10
  mov    -0x88(%rbp),%r11
  imul   %r10,%rdx
  mov    %r11,%rax
  imul   %r8,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %r8,%rax
  mul    %r10
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rax
  mov    %rax,%r14
  mov    $0x0,%r15d
  movslq %esi,%rax
  mov    %rax,%r12
  mov    $0x0,%r13d
  mov    %r15,%rdx
  imul   %r12,%rdx
  mov    %r13,%rax
  imul   %r14,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %r14,%rax
  mul    %r12
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rdx
  movslq %esi,%rax
  imul   %rdx,%rax
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L154:
  cmp    %rdx,%rsp
  je     L213
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L154
L213:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L58
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L58:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x5c(%rbp),%eax
  test   %eax,%eax
  jne    L246
  movl   $0x0,-0x58(%rbp)
  jmp    L5
L35:
  movl   $0x0,-0x54(%rbp)
  jmp    L222
L150:
  mov    -0x40(%rbp),%rcx
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x20,(%rax)
  mov    -0x60(%rbp),%eax
  sub    $0x1,%eax
  sub    -0x58(%rbp),%eax
  cmp    %eax,-0x54(%rbp)
  jl     L182
  mov    -0x60(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x58(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x54(%rbp)
  jg     L182
  mov    -0x54(%rbp),%eax
  sub    $0x1,%eax
  mov    -0x40(%rbp),%rcx
  movslq %eax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  je     L182
  mov    -0x40(%rbp),%rcx
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
L182:
  addl   $0x1,-0x54(%rbp)
L222:
  mov    -0x60(%rbp),%eax
  add    %eax,%eax
  sub    $0x1,%eax
  cmp    %eax,-0x54(%rbp)
  jl     L150
  addl   $0x1,-0x58(%rbp)
L5:
  mov    -0x60(%rbp),%eax
  cmp    %eax,-0x58(%rbp)
  jl     L35
  jmp    L130
L246:
  movl   $0x0,-0x58(%rbp)
  jmp    L178
L44:
  movl   $0x0,-0x54(%rbp)
  jmp    L242
L221:
  mov    -0x40(%rbp),%rcx
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x20,(%rax)
  mov    -0x58(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jg     L232
  mov    -0x60(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x60(%rbp),%eax
  sub    $0x1,%eax
  sub    -0x58(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x54(%rbp)
  jg     L232
  mov    -0x54(%rbp),%eax
  sub    $0x1,%eax
  mov    -0x40(%rbp),%rcx
  movslq %eax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  je     L232
  mov    -0x40(%rbp),%rcx
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movb   $0x2a,(%rax)
L232:
  addl   $0x1,-0x54(%rbp)
L242:
  mov    -0x60(%rbp),%eax
  add    %eax,%eax
  sub    $0x1,%eax
  cmp    %eax,-0x54(%rbp)
  jl     L221
  addl   $0x1,-0x58(%rbp)
L178:
  mov    -0x60(%rbp),%eax
  cmp    %eax,-0x58(%rbp)
  jl     L44
L130:
  movl   $0x0,-0x58(%rbp)
  jmp    L26
L236:
  movl   $0x0,-0x54(%rbp)
  jmp    L215
L265:
  mov    -0x40(%rbp),%rcx
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%eax
  cltq
  imul   %rbx,%rax
  add    %rcx,%rdx
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <putchar@plt>
  addl   $0x1,-0x54(%rbp)
L215:
  mov    -0x60(%rbp),%eax
  add    %eax,%eax
  sub    $0x1,%eax
  cmp    %eax,-0x54(%rbp)
  jl     L265
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,-0x58(%rbp)
L26:
  mov    -0x60(%rbp),%eax
  cmp    %eax,-0x58(%rbp)
  jl     L236
  mov    $0x0,%eax
  mov    -0xa8(%rbp),%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L62
  call   <__stack_chk_fail@plt>
L62:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: label: D34
data_type: string
name: unpack_data
arguments: label: D8
data_type: string
name: unpack_data
arguments: label: D25
data_type: string

tool: D34: Please enter the number of rows you would like in your pyramid: 

tool: D8: %d

tool: D25: Please enter 1 if you would like your pyramid to be inverted, 0 otherwise: 

assistant: ```c
int main(int argc, const char *argv[]) {
  int n = 0, inverted = 0, i = 0, j = 0;
  printf("Please enter the number of rows you would like in your pyramid: ");
  scanf("%d", &n);
  assert(n > 0);
  printf("Please enter 1 if you would like your pyramid to be inverted, 0 otherwise: ");
  scanf("%d", &inverted);
  assert(inverted == 0 || inverted == 1);
  char a[n][n * 2 - 1];
  if (!inverted) {
    for (i = 0; i < n; i++) {
      for (j = 0; j < n * 2 - 1; j++) {
        a[i][j] = ' ';
        if (n - 1 - i <= j && j <= n - 1 + i && a[i][j - 1] != '*') {
          a[i][j] = '*';
        }
      }
    }
  } else {
    for (i = 0; i < n; i++) {
      for (j = 0; j < n * 2 - 1; j++) {
        a[i][j] = ' ';
        if (n - 1 - (n - 1 - i) <= j && j <= n - 1 + (n - 1 - i) && a[i][j - 1] != '*') {
          a[i][j] = '*';
        }
      }
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < n * 2 - 1; j++) {
      printf("%c", a[i][j]);
    }
    printf("\n");
  }
  return 0;
}
```