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

```asm
<minPathSum>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %edx,-0x20(%rbp)
  cmpl   $0x0,-0x1c(%rbp)
  je     L36
  cmpl   $0x0,-0x20(%rbp)
  jne    L103
L36:
  mov    $0x0,%eax
  jmp    L34
L103:
  movl   $0x1,-0x4(%rbp)
  jmp    L16
L3:
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  sub    $0x4,%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rsi
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x4(%rbp)
L16:
  mov    -0x4(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  jl     L3
  movl   $0x1,-0x8(%rbp)
  jmp    L96
L27:
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    (%rax),%ecx
  mov    -0x8(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    (%rax),%edx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x18(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x8(%rbp)
L96:
  mov    -0x8(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L27
  movl   $0x1,-0x8(%rbp)
  jmp    L42
L78:
  movl   $0x1,-0x4(%rbp)
  jmp    L49
L81:
  mov    -0x8(%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    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  sub    $0x4,%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <min@plt>
  mov    -0x8(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x4(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  mov    (%rdx),%edx
  add    %eax,%edx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %edx,(%rax)
  addl   $0x1,-0x4(%rbp)
L49:
  mov    -0x4(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  jl     L81
  addl   $0x1,-0x8(%rbp)
L42:
  mov    -0x8(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L78
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x20(%rbp),%eax
  cltq
  shl    $0x2,%rax
  sub    $0x4,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
L34:
  leave
  ret
```

assistant: ```c
int minPathSum(int **grid, int gridRowSize, int gridColSize) {
  int i, j;
  if (gridRowSize == 0 || gridColSize == 0)
    return 0;
  for (j = 1; j < gridColSize; j++)
    grid[0][j] += grid[0][j - 1];
  for (i = 1; i < gridRowSize; i++)
    grid[i][0] += grid[i - 1][0];
  for (i = 1; i < gridRowSize; i++) {
    for (j = 1; j < gridColSize; j++) {
      grid[i][j] += min(grid[i][j - 1], grid[i - 1][j]);
    }
  }
  return grid[gridRowSize - 1][gridColSize - 1];
}
```