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
  lea    -0x1d000(%rsp),%r11
L168:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L168
  sub    $0x508,%rsp
  lea    D18(%rip),%r13
  mov    %r13,%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x1d4f8(%rsp)
  xor    %eax,%eax
  lea    0x2c(%rsp),%rsi
  call   <scanf@plt>
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  jle    L242
  lea    0x30(%rsp),%rax
  xor    %r14d,%r14d
  xor    %r12d,%r12d
  mov    %rax,%r15
  nop
L48:
  mov    %r15,0x8(%rsp)
  lea    (%r15,%r14,4),%rbx
  xor    %ebp,%ebp
  nopl   0x0(%rax,%rax,1)
L171:
  mov    %rbx,%rsi
  mov    %r13,%rdi
  add    $0x1,%ebp
  add    $0x4,%rbx
  call   <scanf@plt>
  cmp    %r12d,%ebp
  jle    L171
  mov    0x2c(%rsp),%eax
  add    $0x1,%r12d
  add    $0x64,%r14
  cmp    %r12d,%eax
  jg     L48
  mov    0x8(%rsp),%rbx
  test   %eax,%eax
  jle    L242
  add    $0x1,%eax
  lea    0x9c70(%rsp),%r12
  xor    %r13d,%r13d
  xor    %esi,%esi
  mov    %eax,0x1c(%rsp)
  mov    $0xffffffff,%r14d
  mov    $0x1,%r15d
  lea    0x9c78(%rsp),%rax
  movq   $0x0,0x8(%rsp)
  pxor   %xmm3,%xmm3
  mov    %rax,0x10(%rsp)
  nop
L65:
  cmp    $0x2,%r13d
  jbe    L163
  mov    %r15d,%edx
  xor    %eax,%eax
  shr    $0x2,%edx
  shl    $0x4,%rdx
  cs nopw 0x0(%rax,%rax,1)
L115:
  movdqa (%rbx,%rax,1),%xmm0
  movdqa %xmm3,%xmm1
  pcmpgtd %xmm0,%xmm1
  movdqa %xmm0,%xmm2
  punpckldq %xmm1,%xmm2
  punpckhdq %xmm1,%xmm0
  movaps %xmm2,(%r12,%rax,2)
  movaps %xmm0,0x10(%r12,%rax,2)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L115
  mov    %r15d,%eax
  and    $0xfffffffc,%eax
  test   $0x3,%r15b
  je     L6
L19:
  movslq %r13d,%rdx
  movslq %eax,%rcx
  lea    (%rdx,%rdx,4),%rdx
  lea    (%rdx,%rdx,4),%rdx
  shl    $0x2,%rdx
  add    %rdx,%rcx
  movslq 0x30(%rsp,%rcx,4),%rdi
  mov    %rdi,0x9c70(%rsp,%rcx,8)
  lea    0x1(%rax),%ecx
  cmp    %ecx,%r15d
  jle    L6
  movslq %ecx,%rcx
  add    $0x2,%eax
  add    %rdx,%rcx
  movslq 0x30(%rsp,%rcx,4),%rdi
  mov    %rdi,0x9c70(%rsp,%rcx,8)
  cmp    %eax,%r15d
  jle    L6
  cltq
  add    %rax,%rdx
  movslq 0x30(%rsp,%rdx,4),%rax
  mov    %rax,0x9c70(%rsp,%rdx,8)
L6:
  mov    0x8(%rsp),%rbp
  mov    %rbx,%r9
  mov    %r12,%r11
  mov    %r13d,%edi
  xchg   %ax,%ax
L126:
  cmp    %edi,%r13d
  jle    L221
  mov    0x320(%r11),%r8
  cmp    %r14d,%edi
  jge    L142
  mov    %r11,%rdx
  xor    %ecx,%ecx
  xchg   %ax,%ax
L74:
  mov    %r8,%rax
  mov    0x328(%rdx),%r8
  movslq (%r9,%rcx,4),%r10
  add    %r8,%rax
  add    %r10,%rax
  sub    0x648(%rdx),%rax
  cmp    %rax,%rsi
  mov    %rax,(%rdx)
  cmovg  %rax,%rsi
  add    $0x1,%rcx
  add    $0x8,%rdx
  cmp    %ecx,%edi
  jge    L74
L116:
  sub    $0x1,%edi
  sub    $0x320,%r11
  sub    $0x190,%r9
  sub    $0x64,%rbp
  cmp    $0xffffffff,%edi
  jne    L126
  addq   $0x64,0x8(%rsp)
  add    $0x1,%r15d
  add    $0x1,%r13d
  add    $0x1,%r14d
  add    $0x320,%r12
  add    $0x190,%rbx
  cmp    0x1c(%rsp),%r15d
  jne    L65
L160:
  lea    D13(%rip),%rdi
  call   <printf@plt>
  mov    0x1d4f8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L162
  add    $0x1d508,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L221:
  cmp    %r14d,%edi
  jge    L89
  mov    0x10(%rsp),%rcx
  mov    %edi,%eax
  mov    %r11,%rdx
  add    %rbp,%rax
  lea    (%rcx,%rax,8),%r8
  mov    %r9,%rcx
  nopl   (%rax)
L241:
  movslq (%rcx),%rax
  sub    0x648(%rdx),%rax
  cmp    %rax,%rsi
  mov    %rax,(%rdx)
  cmovg  %rax,%rsi
  add    $0x8,%rdx
  add    $0x4,%rcx
  cmp    %r8,%rdx
  jne    L241
  jmp    L116
  cs nopw 0x0(%rax,%rax,1)
L142:
  mov    %r11,%rcx
  xor    %edx,%edx
  nopl   (%rax)
L45:
  mov    %r8,%rax
  mov    0x328(%rcx),%r8
  movslq (%r9,%rdx,4),%r10
  add    %r8,%rax
  add    %r10,%rax
  cmp    %rax,%rsi
  mov    %rax,(%rcx)
  cmovg  %rax,%rsi
  add    $0x1,%rdx
  add    $0x8,%rcx
  cmp    %edx,%edi
  jge    L45
  jmp    L116
  nopw   0x0(%rax,%rax,1)
L89:
  mov    %edi,%ecx
  xor    %eax,%eax
  nopl   0x0(%rax)
L197:
  movslq (%r9,%rax,4),%rdx
  cmp    %rdx,%rsi
  mov    %rdx,(%r11,%rax,8)
  cmovg  %rdx,%rsi
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %rdx,%rcx
  jne    L197
  jmp    L116
L163:
  xor    %eax,%eax
  jmp    L19
L242:
  xor    %esi,%esi
  jmp    L160
L162:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D18
datatype: string
name: parse_data
arguments: data_tag: D13
datatype: string

tool: D18: %d

tool: D13: %ld

assistant: ```c
int main() {
  int n, i, j, use;
  int t[100][100];
  long int s[100][100], min = 0, k;
  scanf("%d", &n);
  for (i = 0; i < n; i++)
    for (j = 0; j <= i; ++j)
      scanf("%d", &t[i][j]);
  for (use = 1; use <= n; ++use) {
    for (j = 0; j < use; ++j)
      s[use - 1][j] = t[use - 1][j];
    for (i = use - 1; i >= 0; i--) {
      for (j = 0; j <= i; j++) {
        k = t[i][j];
        if (i < use - 1)
          k += s[i + 1][j] + s[i + 1][j + 1];
        if (i < use - 2)
          k -= s[i + 2][j + 1];
        s[i][j] = k;
        if (k < min)
          min = k;
      }
    }
  }
  printf("%ld", min);
  return 0;
}
```