user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0x1d000(%rsp),%r11
L14:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L14
  sub    $0x4f0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x1d4e0(%rbp)
  lea    -0x1d4f0(%rbp),%rax
  mov    %rax,%rsi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  movl   $0x0,-0x1d4ec(%rbp)
  jmp    L117
L123:
  movl   $0x0,-0x1d4e8(%rbp)
  jmp    L146
L143:
  lea    -0x1d4d0(%rbp),%rcx
  mov    -0x1d4e8(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x1d4ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rsi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  addl   $0x1,-0x1d4e8(%rbp)
L146:
  mov    -0x1d4e8(%rbp),%eax
  cmp    -0x1d4ec(%rbp),%eax
  jle    L143
  addl   $0x1,-0x1d4ec(%rbp)
L117:
  mov    -0x1d4f0(%rbp),%eax
  cmp    %eax,-0x1d4ec(%rbp)
  jl     L123
  movl   $0x1,-0x1d4e4(%rbp)
  jmp    L130
L158:
  movl   $0x0,-0x1d4e8(%rbp)
  jmp    L85
L3:
  mov    -0x1d4e4(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x1d4e8(%rbp),%eax
  movslq %eax,%rcx
  movslq %edx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x1d4d0(%rbp,%rax,4),%eax
  mov    -0x1d4e4(%rbp),%edx
  lea    -0x1(%rdx),%ecx
  movslq %eax,%rdx
  mov    -0x1d4e8(%rbp),%eax
  movslq %eax,%rsi
  movslq %ecx,%rcx
  mov    %rcx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  mov    %rdx,-0x13890(%rbp,%rax,8)
  addl   $0x1,-0x1d4e8(%rbp)
L85:
  mov    -0x1d4e8(%rbp),%eax
  cmp    -0x1d4e4(%rbp),%eax
  jl     L3
  mov    -0x1d4e4(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x1d4ec(%rbp)
  jmp    L145
L162:
  movl   $0x0,-0x1d4e8(%rbp)
  jmp    L20
L40:
  mov    -0x1d4e8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x1d4ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x1d4d0(%rbp,%rax,4),%eax
  cltq
  mov    %rax,-0x1d4d8(%rbp)
  mov    -0x1d4e4(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x1d4ec(%rbp)
  jge    L132
  mov    -0x1d4ec(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x1d4e8(%rbp),%eax
  movslq %eax,%rcx
  movslq %edx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x13890(%rbp,%rax,8),%rcx
  mov    -0x1d4ec(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x1d4e8(%rbp),%eax
  add    $0x1,%eax
  movslq %eax,%rsi
  movslq %edx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  mov    -0x13890(%rbp,%rax,8),%rax
  add    %rcx,%rax
  add    %rax,-0x1d4d8(%rbp)
L132:
  mov    -0x1d4e4(%rbp),%eax
  sub    $0x2,%eax
  cmp    %eax,-0x1d4ec(%rbp)
  jge    L109
  mov    -0x1d4ec(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x1d4e8(%rbp),%eax
  add    $0x1,%eax
  movslq %eax,%rcx
  movslq %edx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x13890(%rbp,%rax,8),%rax
  sub    %rax,-0x1d4d8(%rbp)
L109:
  mov    -0x1d4e8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x1d4ec(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  lea    (%rax,%rcx,1),%rdx
  mov    -0x1d4d8(%rbp),%rax
  mov    %rax,-0x13890(%rbp,%rdx,8)
  mov    -0x1d4d8(%rbp),%rax
  cmp    -0x1d4e0(%rbp),%rax
  jge    L36
  mov    -0x1d4d8(%rbp),%rax
  mov    %rax,-0x1d4e0(%rbp)
L36:
  addl   $0x1,-0x1d4e8(%rbp)
L20:
  mov    -0x1d4e8(%rbp),%eax
  cmp    -0x1d4ec(%rbp),%eax
  jle    L40
  subl   $0x1,-0x1d4ec(%rbp)
L145:
  cmpl   $0x0,-0x1d4ec(%rbp)
  jns    L162
  addl   $0x1,-0x1d4e4(%rbp)
L130:
  mov    -0x1d4f0(%rbp),%eax
  cmp    %eax,-0x1d4e4(%rbp)
  jle    L158
  mov    -0x1d4e0(%rbp),%rax
  mov    %rax,%rsi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L114
  call   <__stack_chk_fail@plt>
L114:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D14
datatype: string
name: extract_symbolic_data
arguments: data_tag: D10
datatype: string

tool: D14: %d

tool: D10: %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;
}
```