user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<NJ_is_distance>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  cmpq   $0x0,-0x28(%rbp)
  jne    L90
  mov    $0x0,%eax
  jmp    L428
L90:
  movl   $0x0,-0xc(%rbp)
  movl   $0x0,-0x8(%rbp)
  movl   $0x0,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0x11(%rbp)
  movsbl -0x11(%rbp),%eax
  mov    %eax,%edi
  call   <NJ_is_number@plt>
  test   %eax,%eax
  jne    L127
  cmpb   $0x2e,-0x11(%rbp)
  je     L127
  cmpb   $0x2d,-0x11(%rbp)
  je     L127
  cmpb   $0x2b,-0x11(%rbp)
  jne    L137
L127:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    $0x1,%eax
  jne    L143
  movsbl -0x11(%rbp),%eax
  mov    %eax,%edi
  call   <NJ_is_number@plt>
  test   %eax,%eax
  je     L58
L143:
  movl   $0x0,-0x10(%rbp)
  jmp    L28
L71:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x11(%rbp)
  movsbl -0x11(%rbp),%eax
  mov    %eax,%edi
  call   <NJ_is_number@plt>
  test   %eax,%eax
  jne    L34
  cmpb   $0x2e,-0x11(%rbp)
  je     L34
  cmpb   $0x2d,-0x11(%rbp)
  je     L34
  cmpb   $0x2b,-0x11(%rbp)
  je     L34
  cmpb   $0x65,-0x11(%rbp)
  je     L34
  cmpb   $0x45,-0x11(%rbp)
  jne    L413
L34:
  cmpl   $0x0,-0x10(%rbp)
  jle    L417
  cmpl   $0x0,-0xc(%rbp)
  jne    L417
  cmpb   $0x2d,-0x11(%rbp)
  je     L299
  cmpb   $0x2b,-0x11(%rbp)
  je     L299
L417:
  cmpl   $0x0,-0xc(%rbp)
  je     L225
  cmpl   $0x0,-0x8(%rbp)
  je     L225
  cmpb   $0x2d,-0x11(%rbp)
  je     L489
  cmpb   $0x2b,-0x11(%rbp)
  je     L489
L225:
  cmpl   $0x0,-0xc(%rbp)
  je     L294
  cmpb   $0x2e,-0x11(%rbp)
  je     L336
L294:
  cmpl   $0x0,-0xc(%rbp)
  je     L179
  cmpb   $0x65,-0x11(%rbp)
  je     L425
  cmpb   $0x45,-0x11(%rbp)
  je     L425
L179:
  cmpl   $0x0,-0x4(%rbp)
  je     L96
  cmpb   $0x2e,-0x11(%rbp)
  je     L270
L96:
  cmpl   $0x0,-0xc(%rbp)
  jne    L76
  cmpb   $0x65,-0x11(%rbp)
  je     L335
  cmpb   $0x45,-0x11(%rbp)
  jne    L76
L335:
  movl   $0x1,-0xc(%rbp)
L76:
  cmpl   $0x0,-0xc(%rbp)
  je     L44
  cmpl   $0x0,-0x8(%rbp)
  jne    L44
  cmpb   $0x2d,-0x11(%rbp)
  je     L87
  cmpb   $0x2b,-0x11(%rbp)
  jne    L44
L87:
  movl   $0x1,-0x8(%rbp)
L44:
  cmpl   $0x0,-0x4(%rbp)
  jne    L331
  cmpb   $0x2e,-0x11(%rbp)
  jne    L331
  movl   $0x1,-0x4(%rbp)
L331:
  addl   $0x1,-0x10(%rbp)
L28:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x10(%rbp)
  jl     L71
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <NJ_is_number@plt>
  test   %eax,%eax
  je     L456
  mov    $0x1,%eax
  jmp    L428
L137:
  nop
  jmp    L249
L58:
  nop
  jmp    L249
L413:
  nop
  jmp    L249
L299:
  nop
  jmp    L249
L489:
  nop
  jmp    L249
L336:
  nop
  jmp    L249
L425:
  nop
  jmp    L249
L270:
  nop
  jmp    L249
L456:
  nop
L249:
  mov    $0x0,%eax
L428:
  leave
  ret
```

assistant: ```c
int NJ_is_distance(char *token) {
  int i;
  char c;
  int exponent_state;
  int expsign_state;
  int dpoint_state;
  if (!token) {
    return (0);
  }
  exponent_state = 0;
  expsign_state = 0;
  dpoint_state = 0;
  c = token[0];
  if (!NJ_is_number(c) && c != '.' && c != '-' && c != '+') {
    goto BAD;
  }
  if (strlen(token) == 1) {
    if (!NJ_is_number(c)) {
      goto BAD;
    }
  }
  for (i = 0; i < strlen(token); i++) {
    c = token[i];
    if (!NJ_is_number(c) && c != '.' && c != '-' && c != '+' && c != 'e' && c != 'E') {
      goto BAD;
    }
    if (i > 0 && !exponent_state) {
      if (c == '-' || c == '+') {
        goto BAD;
      }
    }
    if (exponent_state && expsign_state) {
      if (c == '-' || c == '+') {
        goto BAD;
      }
    }
    if (exponent_state) {
      if (c == '.') {
        goto BAD;
      }
    }
    if (exponent_state) {
      if (c == 'e' || c == 'E') {
        goto BAD;
      }
    }
    if (dpoint_state) {
      if (c == '.') {
        goto BAD;
      }
    }
    if (!exponent_state) {
      if (c == 'e' || c == 'E') {
        exponent_state = 1;
      }
    }
    if (exponent_state && !expsign_state) {
      if (c == '-' || c == '+') {
        expsign_state = 1;
      }
    }
    if (!dpoint_state) {
      if (c == '.') {
        dpoint_state = 1;
      }
    }
  }
  if (!NJ_is_number(token[strlen(token) - 1])) {
    goto BAD;
  }
  return (1);
BAD:
  return (0);
}
```