user: Demonstrate the C code that generates the assembly output below:

```asm
<uniquePathsWithObstacles>:
  endbr64
  push   %r15
  movslq %esi,%rax
  push   %r14
  mov    %rax,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  movslq %edx,%rbx
  sub    $0x28,%rsp
  mov    %rdi,0x10(%rsp)
  lea    0x0(,%rax,8),%edi
  mov    %ebx,0xc(%rsp)
  mov    %rax,0x18(%rsp)
  call   <malloc@plt>
  mov    %rax,%rbp
  test   %r14d,%r14d
  jle    L91
  mov    0xc(%rsp),%eax
  mov    %rbp,%r15
  lea    0x0(,%rax,4),%r13d
  mov    %r14d,%eax
  lea    0x0(%rbp,%rax,8),%r12
  nopl   0x0(%rax)
L116:
  mov    %r13d,%edi
  add    $0x8,%r15
  call   <malloc@plt>
  mov    %rax,-0x8(%r15)
  cmp    %r15,%r12
  jne    L116
L91:
  mov    0x10(%rsp),%rax
  mov    0x0(%rbp),%rdx
  mov    (%rax),%rcx
  xor    %eax,%eax
  mov    (%rcx),%edi
  test   %edi,%edi
  sete   %al
  cmpl   $0x1,0xc(%rsp)
  mov    %eax,(%rdx)
  mov    $0x1,%eax
  jle    L110
L40:
  mov    (%rcx,%rax,4),%esi
  test   %esi,%esi
  jne    L99
  mov    -0x4(%rdx,%rax,4),%esi
  mov    %esi,(%rdx,%rax,4)
  add    $0x1,%rax
  cmp    %rbx,%rax
  jne    L40
L110:
  cmp    $0x1,%r14d
  jle    L115
  mov    0x10(%rsp),%r11
  lea    -0x2(%r14),%eax
  lea    0x8(%rbp),%r9
  lea    0x10(%rbp,%rax,8),%r10
  mov    %r9,%rax
  sub    %rbp,%r11
  nopl   (%rax)
L2:
  mov    (%r11,%rax,1),%rcx
  mov    (%rax),%rdx
  mov    (%rcx),%ecx
  test   %ecx,%ecx
  jne    L145
  mov    -0x8(%rax),%rcx
  add    $0x8,%rax
  mov    (%rcx),%ecx
  mov    %ecx,(%rdx)
  cmp    %r10,%rax
  jne    L2
L45:
  cmpl   $0x1,0xc(%rsp)
  jle    L115
  lea    0x0(,%rbx,4),%rdi
  nopl   0x0(%rax)
L111:
  mov    (%r11,%r9,1),%rsi
  mov    (%r9),%rcx
  lea    -0x8(%r9),%r12
  mov    $0x4,%eax
  nopl   0x0(%rax,%rax,1)
L144:
  mov    (%rsi,%rax,1),%edx
  test   %edx,%edx
  jne    L125
  mov    (%r12),%r8
  mov    -0x4(%rcx,%rax,1),%edx
  add    (%r8,%rax,1),%edx
  mov    %edx,(%rcx,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%rdi
  jne    L144
  add    $0x8,%r9
  cmp    %r10,%r9
  jne    L111
L115:
  mov    0x18(%rsp),%rax
  mov    -0x8(%rbp,%rax,8),%rax
  mov    -0x4(%rax,%rbx,4),%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L125:
  movl   $0x0,(%rcx,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%rdi
  jne    L144
  add    $0x8,%r9
  cmp    %r10,%r9
  jne    L111
  jmp    L115
  nopl   0x0(%rax,%rax,1)
L99:
  movl   $0x0,(%rdx,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%rbx
  jne    L40
  jmp    L110
  nopl   0x0(%rax)
L145:
  add    $0x8,%rax
  movl   $0x0,(%rdx)
  cmp    %rax,%r10
  jne    L2
  jmp    L45
```

assistant: ```c
int uniquePathsWithObstacles(int **obstacleGrid, int obstacleGridRowSize, int obstacleGridColSize) {
  int **ret;
  int i;
  int j;
  ret = (int **)malloc(sizeof(int *) * obstacleGridRowSize);
  for (i = 0; i < obstacleGridRowSize; i++) {
    ret[i] = (int *)malloc(sizeof(int) * obstacleGridColSize);
  }
  if (obstacleGrid[0][0] == 0) {
    ret[0][0] = 1;
  } else {
    ret[0][0] = 0;
  }
  for (j = 1; j < obstacleGridColSize; j++) {
    if (obstacleGrid[0][j] == 0) {
      ret[0][j] = ret[0][j - 1];
    } else {
      ret[0][j] = 0;
    }
  }
  for (i = 1; i < obstacleGridRowSize; i++) {
    if (obstacleGrid[i][0] == 0) {
      ret[i][0] = ret[i - 1][0];
    } else {
      ret[i][0] = 0;
    }
  }
  for (i = 1; i < obstacleGridRowSize; i++) {
    for (j = 1; j < obstacleGridColSize; j++) {
      if (obstacleGrid[i][j] == 0) {
        ret[i][j] = ret[i - 1][j] + ret[i][j - 1];
      } else {
        ret[i][j] = 0;
      }
    }
  }
  return ret[obstacleGridRowSize - 1][obstacleGridColSize - 1];
}
```