user: 下面的汇编指令对应的C源代码是什么:

```asm
<curious_fraction>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x44(%rbp)
  mov    %esi,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0xffffffff,-0x28(%rbp)
  movl   $0xffffffff,-0x24(%rbp)
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0x14(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x0,-0xc(%rbp)
  mov    -0x44(%rbp),%eax
  cmp    -0x48(%rbp),%eax
  je     L66
  mov    -0x44(%rbp),%eax
  cmp    -0x48(%rbp),%eax
  jl     L51
L66:
  mov    $0x0,%eax
  jmp    L54
L51:
  mov    -0x44(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  movl   $0x0,-0x2c(%rbp)
  jmp    L33
L81:
  mov    -0x2c(%rbp),%esi
  lea    0x1(%rsi),%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x34(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %ecx,%edi
  sar    $0x1f,%edi
  sub    %edi,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  sub    %eax,%ecx
  mov    %ecx,%edx
  movslq %esi,%rax
  mov    %edx,-0x18(%rbp,%rax,4)
  mov    -0x34(%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
  mov    %eax,-0x34(%rbp)
L33:
  cmpl   $0x0,-0x34(%rbp)
  jg     L81
  mov    -0x48(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  movl   $0x0,-0x2c(%rbp)
  jmp    L113
L121:
  mov    -0x2c(%rbp),%esi
  lea    0x1(%rsi),%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x34(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %ecx,%edi
  sar    $0x1f,%edi
  sub    %edi,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  sub    %eax,%ecx
  mov    %ecx,%edx
  movslq %esi,%rax
  mov    %edx,-0x10(%rbp,%rax,4)
  mov    -0x34(%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
  mov    %eax,-0x34(%rbp)
L113:
  cmpl   $0x0,-0x34(%rbp)
  jg     L121
  movl   $0x0,-0x34(%rbp)
  jmp    L108
L88:
  movl   $0x0,-0x30(%rbp)
  jmp    L30
L134:
  mov    -0x34(%rbp),%eax
  cltq
  mov    -0x18(%rbp,%rax,4),%eax
  test   %eax,%eax
  je     L41
  mov    -0x34(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  je     L41
  mov    -0x34(%rbp),%eax
  cltq
  mov    -0x18(%rbp,%rax,4),%edx
  mov    -0x30(%rbp),%eax
  cltq
  mov    -0x10(%rbp,%rax,4),%eax
  cmp    %eax,%edx
  jne    L41
  cmpl   $0x0,-0x34(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x28(%rbp)
  cmpl   $0x0,-0x30(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x24(%rbp)
L41:
  addl   $0x1,-0x30(%rbp)
L30:
  cmpl   $0x1,-0x30(%rbp)
  jle    L134
  addl   $0x1,-0x34(%rbp)
L108:
  cmpl   $0x1,-0x34(%rbp)
  jle    L88
  cmpl   $0xffffffff,-0x28(%rbp)
  jne    L143
  mov    $0x0,%eax
  jmp    L54
L143:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x44(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x48(%rbp),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x28(%rbp),%eax
  cltq
  mov    -0x18(%rbp,%rax,4),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mov    -0x24(%rbp),%eax
  cltq
  mov    -0x10(%rbp,%rax,4),%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  -0x20(%rbp),%xmm0
  ucomiss -0x1c(%rbp),%xmm0
  setnp  %al
  mov    $0x0,%edx
  movss  -0x20(%rbp),%xmm0
  ucomiss -0x1c(%rbp),%xmm0
  cmovne %edx,%eax
  movzbl %al,%eax
L54:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L74
  call   <__stack_chk_fail@plt>
L74:
  leave
  ret
```

assistant: ```c
int curious_fraction(int num, int den) {
  int i, j, p, curious_num = -1, curious_den = -1;
  int digits_of_num[2] = {0, 0};
  int digits_of_den[2] = {0, 0};
  float fraction, check;
  if (num == den || num >= den)
    return 0;
  i = num;
  p = 0;
  while (i > 0) {
    digits_of_num[p++] = i % 10;
    i = i / 10;
  }
  i = den;
  p = 0;
  while (i > 0) {
    digits_of_den[p++] = i % 10;
    i = i / 10;
  }
  for (i = 0; i < 2; i++) {
    for (j = 0; j < 2; j++) {
      if (digits_of_num[i] != 0 && i != j && digits_of_num[i] == digits_of_den[j]) {
        curious_num = (i == 0) ? 1 : 0;
        curious_den = (j == 0) ? 1 : 0;
      }
    }
  }
  if (curious_num == -1)
    return 0;
  fraction = (float)num / den;
  check = (float)digits_of_num[curious_num] / digits_of_den[curious_den];
  return (fraction == check);
}
```