user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<get_pawn_moves_black>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    $0x61,%ebx
  sub    $0x18,%rsp
  mov    %rdx,0x8(%rsp)
  nopw   0x0(%rax,%rax,1)
L31:
  mov    %bl,0x3(%rsp)
  mov    $0x31,%r15d
  lea    0x1(%rbx),%r14d
  jmp    L115
  nopl   0x0(%rax,%rax,1)
L130:
  add    $0x1,%r15d
  cmp    $0x39,%r15d
  je     L127
L115:
  mov    %r15d,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <get_piece@plt>
  cmp    $0x70,%al
  jne    L130
  cmp    $0x37,%r15d
  je     L137
  cmp    $0x31,%r15b
  je     L130
L70:
  lea    -0x1(%r15),%r12d
  mov    %ebx,%esi
  mov    %rbp,%rdi
  mov    %r12d,%edx
  call   <is_occupied@plt>
  test   %eax,%eax
  je     L21
L96:
  cmp    $0x61,%ebx
  je     L88
  lea    -0x1(%rbx),%ecx
  mov    %r12d,%edx
  mov    %rbp,%rdi
  mov    %ecx,%esi
  mov    %ecx,0x4(%rsp)
  call   <is_occupied@plt>
  mov    0x4(%rsp),%ecx
  cmp    $0x1,%eax
  je     L81
L117:
  cmpb   $0x67,0x3(%rsp)
  jg     L130
  nopl   (%rax)
L88:
  mov    %r12d,%edx
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <is_occupied@plt>
  cmp    $0x1,%eax
  jne    L130
  push   %r12
  mov    %r15d,%r9d
  xor    %edx,%edx
  mov    %r13,%rdi
  push   %r14
  mov    0x18(%rsp),%rcx
  mov    %ebx,%r8d
  mov    %rbp,%rsi
  add    $0x1,%r15d
  call   <store_move@plt>
  mov    %rax,%r13
  pop    %rax
  pop    %rdx
  cmp    $0x39,%r15d
  jne    L115
  xchg   %ax,%ax
L127:
  mov    %r14d,%ebx
  cmp    $0x69,%r14d
  jne    L31
  add    $0x18,%rsp
  mov    %r13,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L21:
  push   %r12
  mov    %r13,%rdi
  mov    %ebx,%r8d
  mov    %r15d,%r9d
  push   %rbx
  mov    0x18(%rsp),%rcx
  xor    %edx,%edx
  mov    %rbp,%rsi
  call   <store_move@plt>
  pop    %rdi
  pop    %r8
  mov    %rax,%r13
  jmp    L96
  cs nopw 0x0(%rax,%rax,1)
L137:
  mov    $0x36,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <is_occupied@plt>
  test   %eax,%eax
  jne    L70
  mov    $0x35,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <is_occupied@plt>
  test   %eax,%eax
  jne    L70
  push   $0x35
  mov    $0x37,%r9d
  mov    %r13,%rdi
  mov    %ebx,%r8d
  push   %rbx
  mov    0x18(%rsp),%rcx
  xor    %edx,%edx
  mov    %rbp,%rsi
  call   <store_move@plt>
  pop    %r9
  pop    %r10
  mov    %rax,%r13
  jmp    L70
  nopl   0x0(%rax,%rax,1)
L81:
  push   %r12
  mov    %rbp,%rsi
  mov    %r13,%rdi
  mov    %r15d,%r9d
  push   %rcx
  mov    0x18(%rsp),%rcx
  mov    %ebx,%r8d
  xor    %edx,%edx
  call   <store_move@plt>
  pop    %rcx
  pop    %rsi
  mov    %rax,%r13
  jmp    L117
```

assistant: ```c
struct node *get_pawn_moves_black(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 == 'p') {
        if ((y == '7') && (is_occupied(board, x, y - 1) == 0) && (is_occupied(board, x, y - 2) == 0)) {
          currentNode = store_move(currentNode, board, 0, parentNode, x, y, x, y - 2);
          numMoves++;
        }
        if ((y > '1') && (is_occupied(board, x, y - 1) == 0)) {
          currentNode = store_move(currentNode, board, 0, parentNode, x, y, x, y - 1);
          numMoves++;
        }
        if ((x > 'a') && (y > '1') && (is_occupied(board, x - 1, y - 1) == 1)) {
          currentNode = store_move(currentNode, board, 0, parentNode, x, y, x - 1, y - 1);
          numMoves++;
        }
        if ((x < 'h') && (y > '1') && (is_occupied(board, x + 1, y - 1) == 1)) {
          currentNode = store_move(currentNode, board, 0, parentNode, x, y, x + 1, y - 1);
          numMoves++;
        }
      }
    }
  }
  return currentNode;
}
```