user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  lea    -0x40(%rbp),%rsi
  push   %r13
  push   %r12
  lea    D9(%rip),%r12
  push   %rbx
  mov    %r12,%rdi
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <scanf@plt>
  mov    -0x40(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  lea    -0x3c(%rbp),%rdx
  mov    %rdx,-0x88(%rbp)
  test   %eax,%eax
  je     L105
  nopl   0x0(%rax,%rax,1)
L84:
  mov    -0x88(%rbp),%rsi
  mov    %r12,%rdi
  mov    %rsp,-0x78(%rbp)
  call   <scanf@plt>
  movslq -0x3c(%rbp),%rax
  mov    %rsp,%rsi
  mov    %rax,%rcx
  lea    0x0(,%rax,4),%rdi
  imul   %rax,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rdx
  cmp    %rsi,%rsp
  je     L131
L144:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L144
L131:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L41
  orq    $0x0,-0x8(%rsp,%rdx,1)
L41:
  lea    0x3(%rsp),%rbx
  mov    %rbx,%rax
  and    $0xfffffffffffffffc,%rbx
  shr    $0x2,%rax
  mov    %rax,-0x80(%rbp)
  test   %ecx,%ecx
  jle    L83
  shr    $0x2,%rdi
  mov    %rbx,-0x50(%rbp)
  xor    %r14d,%r14d
  xor    %r13d,%r13d
  mov    %rdi,-0x48(%rbp)
  nopl   (%rax)
L80:
  mov    -0x50(%rbp),%rax
  xor    %r15d,%r15d
  lea    (%rax,%r14,4),%rbx
  nopl   0x0(%rax,%rax,1)
L123:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  add    $0x1,%r15d
  add    $0x4,%rbx
  call   <scanf@plt>
  cmp    %r13d,%r15d
  jle    L123
  mov    -0x3c(%rbp),%edx
  add    $0x1,%r13d
  add    -0x48(%rbp),%r14
  cmp    %r13d,%edx
  jg     L80
  mov    -0x50(%rbp),%rbx
  sub    $0x1,%edx
  js     L83
  mov    -0x48(%rbp),%rcx
  movslq %edx,%rsi
  lea    -0x1(%rsi),%r15
  mov    %rcx,%rax
  mov    %r15,-0x50(%rbp)
  neg    %rax
  lea    0x0(,%rax,4),%rdi
  mov    %rcx,%rax
  imul   %rsi,%rax
  mov    %rdi,%rcx
  mov    %rdi,-0x60(%rbp)
  imul   %r15,%rcx
  lea    0x4(,%rax,4),%r14
  mov    %rbx,%rax
  sub    %rcx,%rax
  lea    -0x4(%rdi),%rcx
  mov    %rcx,-0x68(%rbp)
  lea    -0x4(%rbx),%rcx
  mov    %rcx,-0x70(%rbp)
  mov    %r15,%rcx
  mov    %r14,%r15
  mov    %rcx,%r14
  nopl   0x0(%rax,%rax,1)
L125:
  mov    %edx,%ecx
  xor    %r8d,%r8d
  sub    $0x1,%edx
  test   %ecx,%ecx
  cmovns %ecx,%r8d
  cmpq   $0xc,-0x68(%rbp)
  jbe    L44
  cmp    $0x2,%r8d
  jbe    L44
  mov    -0x70(%rbp),%rdi
  add    $0x1,%r8d
  lea    (%rbx,%r15,1),%r9
  xor    %esi,%esi
  lea    (%rdi,%r15,1),%r10
  mov    %r8d,%edi
  shr    $0x2,%edi
  shl    $0x4,%rdi
  nopw   0x0(%rax,%rax,1)
L189:
  movdqu (%r10,%rsi,1),%xmm1
  movdqu (%r9,%rsi,1),%xmm2
  movdqu (%rax,%rsi,1),%xmm4
  movdqa %xmm1,%xmm0
  pcmpgtd %xmm2,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm2,%xmm0
  por    %xmm1,%xmm0
  paddd  %xmm4,%xmm0
  movups %xmm0,(%rax,%rsi,1)
  add    $0x10,%rsi
  cmp    %rdi,%rsi
  jne    L189
  mov    %r8d,%esi
  and    $0xfffffffc,%esi
  and    $0x3,%r8d
  je     L127
  mov    -0x48(%rbp),%r9
  movslq %edx,%r8
  movslq %ecx,%rdi
  lea    0x1(%rsi),%r11d
  movslq %esi,%r10
  mov    %r11d,-0x54(%rbp)
  imul   %r9,%rdi
  imul   %r9,%r8
  movslq %r11d,%r9
  lea    (%r9,%rdi,1),%r11
  lea    (%r10,%r8,1),%r13
  add    %rdi,%r10
  mov    (%rbx,%r10,4),%r10d
  cmp    (%rbx,%r11,4),%r10d
  cmovl  (%rbx,%r11,4),%r10d
  add    %r10d,(%rbx,%r13,4)
  cmp    %ecx,-0x54(%rbp)
  jg     L127
  lea    0x2(%rsi),%r10d
  add    %r8,%r9
  mov    (%rbx,%r11,4),%r11d
  mov    %r10d,-0x54(%rbp)
  movslq %r10d,%r10
  lea    (%r10,%rdi,1),%r13
  cmp    (%rbx,%r13,4),%r11d
  cmovl  (%rbx,%r13,4),%r11d
  add    %r11d,(%rbx,%r9,4)
  cmp    -0x54(%rbp),%ecx
  jl     L127
  add    $0x3,%esi
  add    %r8,%r10
  movslq %esi,%rsi
  add    %rdi,%rsi
  mov    (%rbx,%rsi,4),%ecx
  mov    (%rbx,%r13,4),%esi
  cmp    %esi,%ecx
  cmovl  %esi,%ecx
  add    %ecx,(%rbx,%r10,4)
L127:
  mov    -0x60(%rbp),%rcx
  subq   $0x1,-0x50(%rbp)
  mov    %r14,%rsi
  add    %rcx,%r15
  add    %rcx,%rax
  cmp    $0xffffffff,%edx
  je     L83
  sub    $0x1,%r14
  jmp    L125
  nopl   0x0(%rax,%rax,1)
L44:
  mov    -0x48(%rbp),%r9
  sub    -0x50(%rbp),%rsi
  xor    %r8d,%r8d
  imul   %rsi,%r9
  mov    %rax,%rsi
  nopw   0x0(%rax,%rax,1)
L95:
  mov    0x4(%rsi,%r9,4),%edi
  mov    (%rsi,%r9,4),%r10d
  add    $0x1,%r8d
  cmp    %r10d,%edi
  cmovl  %r10d,%edi
  add    %edi,(%rsi)
  add    $0x4,%rsi
  cmp    %r8d,%ecx
  jge    L95
  jmp    L127
  nopl   0x0(%rax)
L83:
  mov    -0x80(%rbp),%rax
  lea    D17(%rip),%rdi
  mov    0x0(,%rax,4),%esi
  call   <printf@plt>
  mov    -0x40(%rbp),%eax
  mov    -0x78(%rbp),%rsp
  lea    -0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  test   %eax,%eax
  jne    L84
L105:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L37
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L37:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D9
type_guessed: string
name: retrieve_data
arguments: tag: D17
type_guessed: string

tool: D9: %d

tool: D17: %d


assistant: ```c
int main(void) {
  int T, N, i, j, max_path = 0;
  scanf("%d", &T);
  while (T--) {
    scanf("%d", &N);
    int arr[N][N];
    i = 0;
    for (i = 0; i < N; i++) {
      for (j = 0; j <= i; j++) {
        scanf("%d", &arr[i][j]);
      }
    }
    for (i = N - 1; i >= 0; i--) {
      for (j = 0; j <= i; j++) {
        arr[i - 1][j] += arr[i][j] >= arr[i][j + 1] ? arr[i][j] : arr[i][j + 1];
      }
    }
    printf("%d\n", arr[0][0]);
  }
  return 0;
}
```