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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D83(%rip),%rdi
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D69(%rip),%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%ecx
  lea    -0x1(%rcx),%eax
  cmp    $0x12,%eax
  ja     L198
  cmp    $0x1,%ecx
  je     L177
  mov    $0x2,%esi
  mov    %ecx,%eax
  cltd
  idiv   %esi
  and    $0x1,%ecx
  cmp    $0x1,%ecx
  sbb    $0x0,%eax
  mov    %eax,0xc(%rsp)
  mov    %eax,%r15d
  mov    $0x1,%ebp
  lea    D88(%rip),%r14
  lea    D13(%rip),%r13
  jmp    L139
L177:
  lea    D13(%rip),%rdi
  call   <printf@plt>
  lea    D34(%rip),%rdi
  call   <printf@plt>
  jmp    L198
L51:
  mov    %ebp,%eax
  sub    $0x1,%eax
  js     L146
L12:
  mov    $0x0,%ebx
L34:
  mov    %r13,%rdi
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    %ebp,%ebx
  jne    L34
L146:
  lea    D34(%rip),%rdi
  call   <printf@plt>
  sub    $0x1,%r15d
  add    $0x2,%ebp
  cmp    $0xffffffff,%r15d
  je     L67
L139:
  mov    %r15d,%r12d
  mov    $0x0,%ebx
  test   %r15d,%r15d
  jle    L51
L157:
  mov    %r14,%rdi
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    %r12d,%ebx
  jne    L157
  mov    %ebp,%eax
  sub    $0x1,%eax
  jns    L12
  lea    D34(%rip),%rdi
  call   <printf@plt>
  sub    $0x1,%r15d
  add    $0x2,%ebp
  jmp    L139
L67:
  testb  $0x1,0x14(%rsp)
  jne    L90
  mov    0xc(%rsp),%edx
  mov    %edx,%eax
  lea    0x1(%rdx),%edx
  mov    %edx,0xc(%rsp)
L114:
  mov    0xc(%rsp),%r15d
  sub    %eax,%r15d
  lea    0x1(%rax,%rax,1),%ebp
  lea    D88(%rip),%r14
  lea    D13(%rip),%r13
L158:
  mov    0x14(%rsp),%eax
  xor    $0x1,%eax
  and    $0x1,%eax
  mov    %eax,%ebx
  mov    %r15d,%r12d
  cmp    %eax,%r15d
  jle    L117
L196:
  mov    %r14,%rdi
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    %ebx,%r12d
  jne    L196
L117:
  mov    %ebp,%eax
  sub    $0x1,%eax
  js     L131
  mov    $0x0,%ebx
L165:
  mov    %r13,%rdi
  call   <printf@plt>
  add    $0x1,%ebx
  cmp    %ebx,%ebp
  jne    L165
L131:
  lea    D34(%rip),%rdi
  call   <printf@plt>
  add    $0x1,%r15d
  sub    $0x2,%ebp
  cmp    %r15d,0xc(%rsp)
  jns    L158
L198:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L171
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L90:
  mov    0xc(%rsp),%eax
  sub    $0x1,%eax
  jns    L114
  jmp    L198
L171:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D83
datatype: string
name: extract_symbolic_data
arguments: data_label: D69
datatype: string
name: extract_symbolic_data
arguments: data_label: D88
datatype: string
name: extract_symbolic_data
arguments: data_label: D13
datatype: string
name: extract_symbolic_data
arguments: data_label: D34
datatype: string

tool: D83: Enter number of rows: 

tool: D69: %d

tool: D88:  

tool: D13: *

tool: D34: 


assistant: ```c
int main() {
  int i, j, k;
  int rows, max;
  printf("Enter number of rows: ");
  scanf("%d", &rows);
  if (rows < 1 || rows > 19)
    return 0;
  else if (rows == 1) {
    printf("*");
    ;
    printf("\n");
    ;
    return 0;
  }
  max = rows / 2;
  if (rows % 2 == 0)
    max -= 1;
  for (i = 0; i <= max; i++) {
    for (j = 0; j < (max - i); j++)
      printf(" ");
    ;
    for (k = 0; k < (1 + (i * 2)); k++)
      printf("*");
    ;
    printf("\n");
    ;
  }
  if (rows % 2 == 0)
    max += 1;
  for (i = max - 1; i >= 0; i--) {
    if (rows % 2 == 0)
      j = 1;
    else
      j = 0;
    for (; j < (max - i); j++) {
      printf(" ");
      ;
    }
    for (k = 0; k < (1 + (i * 2)); k++)
      printf("*");
    ;
    printf("\n");
    ;
  }
  return 0;
}
```