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

```asm
<uniquePathsWithObstacles>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  test   %esi,%esi
  jle    L223
  mov    %edx,%r9d
  test   %edx,%edx
  jle    L223
  mov    (%rdi),%rdx
  mov    %rdi,%r12
  mov    (%rdx),%r10d
  test   %r10d,%r10d
  jne    L65
  movslq %esi,%rax
  movslq %r9d,%r14
  mov    %esi,%ebx
  mov    %rsp,%rsi
  imul   %r14,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rcx
  cmp    %rsi,%rsp
  je     L51
L154:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L154
L51:
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  je     L159
  orq    $0x0,-0x8(%rsp,%rcx,1)
L159:
  lea    0x3(%rsp),%rsi
  mov    %rsi,%rax
  and    $0xfffffffffffffffc,%rsi
  shr    $0x2,%rax
  movl   $0x1,0x0(,%rax,4)
  cmp    $0x1,%ebx
  je     L103
  mov    $0x1,%ecx
  mov    $0x1,%eax
  cs nopw 0x0(%rax,%rax,1)
L107:
  movzwl %cx,%edi
  mov    (%r12,%rdi,8),%rdi
  mov    (%rdi),%r8d
  test   %r8d,%r8d
  jne    L3
  lea    -0x1(%rax),%edi
  add    $0x1,%ecx
  movslq %edi,%rdi
  imul   %r14,%rax
  imul   %r14,%rdi
  mov    (%rsi,%rdi,4),%edi
  mov    %edi,(%rsi,%rax,4)
  movzwl %cx,%eax
  cmp    %eax,%ebx
  jg     L107
L103:
  cmp    $0x1,%r9d
  je     L215
  mov    $0x1,%ecx
  mov    $0x1,%eax
  nopl   (%rax)
L157:
  movzwl %cx,%edi
  mov    (%rdx,%rdi,4),%edi
  test   %edi,%edi
  jne    L205
  lea    -0x1(%rax),%edi
  add    $0x1,%ecx
  movslq %edi,%rdi
  mov    (%rsi,%rdi,4),%edi
  mov    %edi,(%rsi,%rax,4)
  movzwl %cx,%eax
  cmp    %eax,%r9d
  jg     L157
L40:
  mov    $0x1,%r13d
  mov    $0x1,%r8d
  cmp    $0x1,%ebx
  je     L215
  xchg   %ax,%ax
L13:
  movslq %r8d,%rdi
  sub    $0x1,%r8d
  movzwl %r13w,%eax
  mov    $0x1,%edx
  movslq %r8d,%r8
  imul   %r14,%rdi
  mov    (%r12,%rax,8),%r11
  mov    $0x1,%eax
  imul   %r14,%r8
  nopl   0x0(%rax)
L25:
  movzwl %dx,%ecx
  mov    (%r11,%rcx,4),%ecx
  test   %ecx,%ecx
  jne    L221
  movslq %eax,%rcx
  sub    $0x1,%eax
  add    $0x1,%edx
  cltq
  lea    (%rcx,%rdi,1),%r10
  add    %r8,%rcx
  add    %rdi,%rax
  mov    (%rsi,%rax,4),%eax
  add    (%rsi,%rcx,4),%eax
  mov    %eax,(%rsi,%r10,4)
  movzwl %dx,%eax
  cmp    %eax,%r9d
  jg     L25
L70:
  add    $0x1,%r13d
  movzwl %r13w,%r8d
  cmp    %ebx,%r8d
  jl     L13
L215:
  lea    -0x1(%rbx),%edx
  lea    -0x1(%r9),%eax
  movslq %edx,%rdx
  cltq
  imul   %r14,%rdx
  add    %rdx,%rax
  mov    (%rsi,%rax,4),%eax
L65:
  mov    -0x28(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L26
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
  nopl   0x0(%rax)
L223:
  xor    %eax,%eax
  jmp    L65
  nopl   0x0(%rax)
L221:
  add    %rdi,%rax
  add    $0x1,%edx
  movl   $0x0,(%rsi,%rax,4)
  movzwl %dx,%eax
  cmp    %r9d,%eax
  jl     L25
  jmp    L70
  nopl   0x0(%rax,%rax,1)
L205:
  add    $0x1,%ecx
  movl   $0x0,(%rsi,%rax,4)
  movzwl %cx,%eax
  cmp    %r9d,%eax
  jl     L157
  jmp    L40
  nopl   0x0(%rax,%rax,1)
L3:
  imul   %r14,%rax
  add    $0x1,%ecx
  movl   $0x0,(%rsi,%rax,4)
  movzwl %cx,%eax
  cmp    %ebx,%eax
  jl     L107
  jmp    L103
L26:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int uniquePathsWithObstacles(int **obstacleGrid, int obstacleGridRowSize, int obstacleGridColSize) {
  if (obstacleGridRowSize <= 0 || obstacleGridColSize <= 0 || obstacleGrid[0][0]) {
    return 0;
  }
  int grid[obstacleGridRowSize][obstacleGridColSize];
  unsigned short i, j;
  grid[0][0] = 1 - obstacleGrid[0][0];
  for (i = 1; i < obstacleGridRowSize; i++) {
    grid[i][0] = obstacleGrid[i][0] ? 0 : grid[i - 1][0];
  }
  for (j = 1; j < obstacleGridColSize; j++) {
    grid[0][j] = obstacleGrid[0][j] ? 0 : grid[0][j - 1];
  }
  for (i = 1; i < obstacleGridRowSize; i++) {
    for (j = 1; j < obstacleGridColSize; j++) {
      if (obstacleGrid[i][j]) {
        grid[i][j] = 0;
        continue;
      }
      grid[i][j] = grid[i - 1][j] + grid[i][j - 1];
    }
  }
  return grid[obstacleGridRowSize - 1][obstacleGridColSize - 1];
}
```