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

```asm
<gameOfLife>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %edx,-0x30(%rbp)
  movl   $0x0,-0x1c(%rbp)
  jmp    L134
L82:
  movl   $0x0,-0x18(%rbp)
  jmp    L137
L76:
  movl   $0x0,-0x14(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    $0x1,%edx
  test   %eax,%eax
  cmovle %edx,%eax
  sub    $0x1,%eax
  mov    %eax,-0x10(%rbp)
  jmp    L50
L58:
  mov    -0x18(%rbp),%eax
  mov    $0x1,%edx
  test   %eax,%eax
  cmovle %edx,%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L114
L78:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  and    $0x1,%eax
  add    %eax,-0x14(%rbp)
  addl   $0x1,-0xc(%rbp)
L114:
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x30(%rbp),%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  cmp    %eax,-0xc(%rbp)
  jl     L78
  addl   $0x1,-0x10(%rbp)
L50:
  mov    -0x1c(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x2c(%rbp),%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  cmp    %eax,-0x10(%rbp)
  jl     L58
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  sub    %eax,-0x14(%rbp)
  cmpl   $0x3,-0x14(%rbp)
  je     L130
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  je     L109
  cmpl   $0x2,-0x14(%rbp)
  jne    L109
L130:
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x18(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  or     $0x2,%edx
  mov    %edx,(%rax)
L109:
  addl   $0x1,-0x18(%rbp)
L137:
  mov    -0x18(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L76
  addl   $0x1,-0x1c(%rbp)
L134:
  mov    -0x1c(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L82
  movl   $0x0,-0x8(%rbp)
  jmp    L127
L6:
  movl   $0x0,-0x4(%rbp)
  jmp    L104
L49:
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%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    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x4(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  sar    %edx
  mov    %edx,(%rax)
  addl   $0x1,-0x4(%rbp)
L104:
  mov    -0x4(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L49
  addl   $0x1,-0x8(%rbp)
L127:
  mov    -0x8(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L6
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void gameOfLife(int **board, int rSize, int cSize) {
  for (int i = 0; i < rSize; i++)
    for (int j = 0; j < cSize; j++) {
      int count = 0;
      for (int rr = ((i - 1) > (0) ? (i - 1) : (0)); rr < ((i + 2) < (rSize) ? (i + 2) : (rSize)); rr++)
        for (int cc = ((j - 1) > (0) ? (j - 1) : (0)); cc < ((j + 2) < (cSize) ? (j + 2) : (cSize)); cc++)
          count += board[rr][cc] & 1;
      count -= board[i][j];
      if (count == 3 || (board[i][j] && count == 2))
        board[i][j] |= 2;
    }
  for (int i = 0; i < rSize; i++)
    for (int j = 0; j < cSize; j++)
      board[i][j] >>= 1;
}
```