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

```asm
<minimumTotal>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %rdx,-0x28(%rbp)
  cmpl   $0x0,-0x1c(%rbp)
  jne    L3
  mov    $0x0,%eax
  jmp    L45
L3:
  movl   $0x1,-0xc(%rbp)
  jmp    L90
L21:
  movl   $0x0,-0x8(%rbp)
  jmp    L124
L125:
  cmpl   $0x0,-0x8(%rbp)
  jne    L57
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rsi
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  jmp    L111
L57:
  mov    -0x8(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jne    L92
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  sub    $0x4,%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rsi
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  jmp    L111
L92:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  sub    $0x4,%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rsi
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rsi,%rax
  mov    (%rax),%eax
  cmp    %eax,%edx
  cmovg  %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rsi
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
L111:
  addl   $0x1,-0x8(%rbp)
L124:
  mov    -0x8(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jle    L125
  addl   $0x1,-0xc(%rbp)
L90:
  mov    -0xc(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L21
  movl   $0x1,-0x4(%rbp)
  jmp    L99
L5:
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    (%rax),%eax
  cmp    %eax,%edx
  jge    L6
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    (%rdx),%edx
  mov    %edx,(%rax)
L6:
  addl   $0x1,-0x4(%rbp)
L99:
  mov    -0x4(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L5
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    (%rax),%eax
L45:
  pop    %rbp
  ret
```

assistant: ```c
int minimumTotal(int **triangle, int triangleRowSize, int *triangleColSizes) {
  if (triangleRowSize == 0)
    return 0;
  for (int i = 1; i < triangleRowSize; i++) {
    for (int j = 0; j <= i; j++) {
      if (j == 0) {
        triangle[i][j] += triangle[i - 1][j];
      } else if (j == i) {
        triangle[i][j] += triangle[i - 1][j - 1];
      } else {
        triangle[i][j] += triangle[i - 1][j] < triangle[i - 1][j - 1] ? triangle[i - 1][j] : triangle[i - 1][j - 1];
      }
    }
  }
  for (int i = 1; i < triangleRowSize; i++) {
    if (triangle[triangleRowSize - 1][i] < triangle[triangleRowSize - 1][0]) {
      triangle[triangleRowSize - 1][0] = triangle[triangleRowSize - 1][i];
    }
  }
  return triangle[triangleRowSize - 1][0];
}
```