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

```asm
<get_knight_moves_white>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  movl   $0x0,-0x4(%rbp)
  movb   $0x61,-0x7(%rbp)
  jmp    L241
L22:
  movb   $0x31,-0x6(%rbp)
  jmp    L84
L75:
  movsbl -0x6(%rbp),%edx
  movsbl -0x7(%rbp),%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <get_piece@plt>
  mov    %al,-0x5(%rbp)
  cmpb   $0x4e,-0x5(%rbp)
  jne    L111
  cmpb   $0x67,-0x7(%rbp)
  jg     L139
  cmpb   $0x36,-0x6(%rbp)
  jg     L139
  movzbl -0x6(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L139
  movzbl -0x6(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L139:
  cmpb   $0x66,-0x7(%rbp)
  jg     L39
  cmpb   $0x37,-0x6(%rbp)
  jg     L39
  movzbl -0x6(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L39
  movzbl -0x6(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L39:
  cmpb   $0x66,-0x7(%rbp)
  jg     L9
  cmpb   $0x31,-0x6(%rbp)
  jle    L9
  movzbl -0x6(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L9
  movzbl -0x6(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L9:
  cmpb   $0x67,-0x7(%rbp)
  jg     L119
  cmpb   $0x32,-0x6(%rbp)
  jle    L119
  movzbl -0x6(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L119
  movzbl -0x6(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L119:
  cmpb   $0x61,-0x7(%rbp)
  jle    L102
  cmpb   $0x32,-0x6(%rbp)
  jle    L102
  movzbl -0x6(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L102
  movzbl -0x6(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L102:
  cmpb   $0x62,-0x7(%rbp)
  jle    L228
  cmpb   $0x31,-0x6(%rbp)
  jle    L228
  movzbl -0x6(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L228
  movzbl -0x6(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L228:
  cmpb   $0x62,-0x7(%rbp)
  jle    L190
  cmpb   $0x37,-0x6(%rbp)
  jg     L190
  movzbl -0x6(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L190
  movzbl -0x6(%rbp),%eax
  add    $0x1,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  sub    $0x2,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L190:
  cmpb   $0x61,-0x7(%rbp)
  jle    L111
  cmpb   $0x36,-0x6(%rbp)
  jg     L111
  movzbl -0x6(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%edx
  movzbl -0x7(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%ecx
  mov    -0x20(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  je     L111
  movzbl -0x6(%rbp),%eax
  add    $0x2,%eax
  movsbl %al,%edi
  movzbl -0x7(%rbp),%eax
  sub    $0x1,%eax
  movsbl %al,%ecx
  movsbl -0x6(%rbp),%r9d
  movsbl -0x7(%rbp),%r8d
  mov    -0x28(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  push   %rdi
  push   %rcx
  mov    %rdx,%rcx
  mov    $0x1,%edx
  mov    %rax,%rdi
  call   <store_move@plt>
  add    $0x10,%rsp
  mov    %rax,-0x18(%rbp)
  addl   $0x1,-0x4(%rbp)
L111:
  movzbl -0x6(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x6(%rbp)
L84:
  cmpb   $0x38,-0x6(%rbp)
  jle    L75
  movzbl -0x7(%rbp),%eax
  add    $0x1,%eax
  mov    %al,-0x7(%rbp)
L241:
  cmpb   $0x68,-0x7(%rbp)
  jle    L22
  mov    -0x18(%rbp),%rax
  leave
  ret
```

assistant: ```c
struct node *get_knight_moves_white(struct node *currentNode, char *board, struct node *parentNode) {
  char x, y;
  int numMoves = 0;
  for (x = 'a'; x <= 'h'; x++) {
    for (y = '1'; y <= '8'; y++) {
      char p = get_piece(board, x, y);
      if (p == 'N') {
        if ((x < 'h') && (y < '7') && (is_occupied(board, x + 1, y + 2) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x + 1, y + 2);
          numMoves++;
        }
        if ((x < 'g') && (y < '8') && (is_occupied(board, x + 2, y + 1) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x + 2, y + 1);
          numMoves++;
        }
        if ((x < 'g') && (y > '1') && (is_occupied(board, x + 2, y - 1) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x + 2, y - 1);
          numMoves++;
        }
        if ((x < 'h') && (y > '2') && (is_occupied(board, x + 1, y - 2) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x + 1, y - 2);
          numMoves++;
        }
        if ((x > 'a') && (y > '2') && (is_occupied(board, x - 1, y - 2) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x - 1, y - 2);
          numMoves++;
        }
        if ((x > 'b') && (y > '1') && (is_occupied(board, x - 2, y - 1) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x - 2, y - 1);
          numMoves++;
        }
        if ((x > 'b') && (y < '8') && (is_occupied(board, x - 2, y + 1) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x - 2, y + 1);
          numMoves++;
        }
        if ((x > 'a') && (y < '7') && (is_occupied(board, x - 1, y + 2) != 1)) {
          currentNode = store_move(currentNode, board, 1, parentNode, x, y, x - 1, y + 2);
          numMoves++;
        }
      }
    }
  }
  return currentNode;
}
```