user: What is the c source code of the assembly code below?

```asm
<move_the_king>:
  endbr64
  mov    %rdx,%rax
  mov    (%rcx),%r10d
  mov    %rcx,%rdx
  mov    (%rax),%r9d
  cmp    $0x7,%r8d
  ja     L219
  lea    D9(%rip),%rdi
  mov    %r8d,%r8d
  movslq (%rdi,%r8,4),%rcx
  add    %rdi,%rcx
  notrack jmp *%rcx
  nopw   0x0(%rax,%rax,1)
  cmp    $0x5,%r9d
  jg     L219
  test   %r10d,%r10d
  jg     L75
L219:
  ret
  cmp    $0x5,%r9d
  jg     L219
  cmp    $0x6,%r10d
  jg     L219
  add    $0x2,%r9d
  mov    %r9d,(%rax)
  mov    (%rdx),%edi
  lea    0x1(%rdi),%r8d
  jmp    L13
  xchg   %ax,%ax
  test   %r9d,%r9d
  jle    L219
  cmp    $0x5,%r10d
  jg     L219
  sub    $0x1,%r9d
  mov    %r9d,(%rax)
  mov    (%rdx),%edi
  lea    0x2(%rdi),%r8d
  jmp    L13
  nopl   (%rax)
  cmp    $0x6,%r9d
  jg     L219
  cmp    $0x5,%r10d
  jg     L219
  add    $0x1,%r9d
  mov    %r9d,(%rax)
  mov    (%rdx),%edi
  lea    0x2(%rdi),%r8d
  jmp    L13
  xchg   %ax,%ax
  test   %r9d,%r9d
  jle    L219
  cmp    $0x1,%r10d
  jle    L219
  sub    $0x1,%r9d
  mov    %r9d,(%rax)
  mov    (%rdx),%edi
  lea    -0x2(%rdi),%r8d
  jmp    L13
  nopw   0x0(%rax,%rax,1)
  cmp    $0x6,%r9d
  jg     L219
  cmp    $0x1,%r10d
  jle    L219
  add    $0x1,%r9d
  mov    %r9d,(%rax)
  mov    (%rdx),%edi
  lea    -0x2(%rdi),%r8d
  jmp    L13
  nopl   0x0(%rax,%rax,1)
  cmp    $0x1,%r9d
  jle    L219
  cmp    $0x6,%r10d
  jg     L219
  sub    $0x2,%r9d
  mov    %r9d,(%rax)
  mov    (%rdx),%edi
  lea    0x1(%rdi),%r8d
  jmp    L13
  nopl   0x0(%rax,%rax,1)
  cmp    $0x1,%r9d
  jle    L219
  sub    $0x2,%r9d
  test   %r10d,%r10d
  jle    L219
L32:
  mov    %r9d,(%rax)
  mov    (%rdx),%edi
  lea    -0x1(%rdi),%r8d
L13:
  mov    %r8d,(%rdx)
  movslq (%rax),%rax
  lea    (%rsi,%rax,4),%rdi
  mov    %r8d,%esi
  jmp    1050 <convert_nth_position@plt>
  nopw   0x0(%rax,%rax,1)
L75:
  add    $0x2,%r9d
  jmp    L32
```

assistant: ```c
void move_the_king(const char *command, int field[], int *ROW, int *COL, int commandNumber) {
  int row = *ROW, col = *COL;
  switch (commandNumber) {
  case (0):
    if (row - 1 >= 0 && col + 2 < 8) {
      *ROW -= 1;
      *COL += 2;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  case (1):
    if (row + 1 < 8 && col + 2 < 8) {
      *ROW += 1;
      *COL += 2;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  case (2):
    if (row - 1 >= 0 && col - 2 >= 0) {
      *ROW -= 1;
      *COL -= 2;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  case (3):
    if (row + 1 < 8 && col - 2 >= 0) {
      *ROW += 1;
      *COL -= 2;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  case (4):
    if (row - 2 >= 0 && col + 1 < 8) {
      *ROW -= 2;
      *COL += 1;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  case (5):
    if (row - 2 >= 0 && col - 1 >= 0) {
      *ROW -= 2;
      *COL -= 1;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  case (6):
    if (row + 2 < 8 && col + 1 < 8) {
      *ROW += 2;
      *COL += 1;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  case (7):
    if (row + 2 < 8 && col - 1 >= 0) {
      *ROW += 2;
      *COL -= 1;
      convert_nth_position(&field[*ROW], *COL);
    }
    break;
  }
}
```