user: 这段汇编代码用C语言表示是什么样的：

```asm
<cc_chk_digit>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %rdi,-0x88(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x60(%rbp)
  movq   $0x0,-0x58(%rbp)
  movq   $0x0,-0x50(%rbp)
  movq   $0x0,-0x48(%rbp)
  movq   $0x0,-0x40(%rbp)
  movq   $0x0,-0x38(%rbp)
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  movl   $0x2,-0x74(%rbp)
  movl   $0x0,-0x70(%rbp)
  mov    -0x88(%rbp),%rdx
  lea    -0x60(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strip_non_digits@plt>
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x6c(%rbp)
  mov    -0x6c(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x78(%rbp)
  cmpl   $0x9,-0x6c(%rbp)
  jle    L26
  cmpl   $0x10,-0x6c(%rbp)
  jle    L103
L26:
  mov    $0x0,%eax
  jmp    L98
L71:
  mov    -0x78(%rbp),%eax
  cltq
  movzbl -0x60(%rbp,%rax,1),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %eax,%eax
  je     L102
  mov    -0x78(%rbp),%eax
  cltq
  movzbl -0x60(%rbp,%rax,1),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  mov    %eax,-0x68(%rbp)
  mov    -0x68(%rbp),%eax
  imul   -0x74(%rbp),%eax
  mov    %eax,-0x64(%rbp)
  mov    -0x64(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  add    %eax,-0x70(%rbp)
  mov    -0x64(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %ecx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  sub    %eax,%ecx
  mov    %ecx,%edx
  add    %edx,-0x70(%rbp)
  cmpl   $0x2,-0x74(%rbp)
  jne    L54
  movl   $0x1,-0x74(%rbp)
  jmp    L90
L54:
  movl   $0x2,-0x74(%rbp)
  jmp    L90
L102:
  nop
L90:
  subl   $0x1,-0x78(%rbp)
L103:
  cmpl   $0x0,-0x78(%rbp)
  jns    L71
  mov    -0x70(%rbp),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %edx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  mov    %eax,%ecx
  mov    %ecx,%eax
  shl    $0x2,%eax
  add    %ecx,%eax
  add    %eax,%eax
  sub    %eax,%edx
  mov    %edx,-0x70(%rbp)
  mov    $0xa,%eax
  sub    -0x70(%rbp),%eax
  mov    %eax,-0x70(%rbp)
  cmpl   $0xa,-0x70(%rbp)
  jne    L79
  movl   $0x0,-0x70(%rbp)
L79:
  mov    -0x6c(%rbp),%eax
  sub    $0x1,%eax
  cltq
  movzbl -0x60(%rbp,%rax,1),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  cmp    %eax,-0x70(%rbp)
  jne    L114
  mov    $0x1,%eax
  jmp    L98
L114:
  mov    $0x0,%eax
L98:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L38
  call   <__stack_chk_fail@plt>
L38:
  leave
  ret
```

assistant: ```c
int cc_chk_digit(char *cc_string) {
  char cc_number[80] = {0};
  int cc_number_size;
  int index;
  int weight = 2;
  int product;
  int current_number;
  int accummulator = 0;
  strip_non_digits(cc_number, cc_string);
  cc_number_size = strlen(cc_number);
  index = cc_number_size - 2;
  if (cc_number_size < 10 || cc_number_size > 16)
    return 0;
  for (; index >= 0; index--) {
    if (!isdigit(cc_number[index]))
      continue;
    current_number = cc_number[index] - 48;
    product = current_number * weight;
    accummulator += product / 10;
    accummulator += product % 10;
    if (weight == 2)
      weight = 1;
    else
      weight = 2;
  }
  accummulator %= 10;
  accummulator = 10 - accummulator;
  if (accummulator == 10)
    accummulator = 0;
  if (accummulator == (cc_number[cc_number_size - 1] - 48))
    return 1;
  return 0;
}
```