user: Please show me the C implementation that matches the assembly code listed below:

```asm
<ParseProfLine>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x90,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  mov    %rdx,%r12
  mov    %rcx,%r13
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  jmp    L27
L139:
  add    $0x1,%rbx
L27:
  movsbl (%rbx),%edi
  call   <isSpace@plt>
  test   %rax,%rax
  jne    L139
  movsbl (%rbx),%edi
  call   <isHex@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  mov    %rsp,%r14
  test   %rdx,%rdx
  jne    L70
L181:
  mov    0x88(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L39
  add    $0x90,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L60:
  add    $0x1,%rbx
  add    $0x1,%r14
  movzbl -0x1(%rbx),%eax
  mov    %al,-0x1(%r14)
L70:
  movsbl (%rbx),%edi
  call   <isHex@plt>
  test   %rax,%rax
  jne    L60
  movb   $0x0,(%r14)
  movsbl (%rbx),%edi
  call   <isSpace@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  je     L181
  mov    %rsp,%rdi
  mov    $0x10,%edx
  mov    $0x0,%esi
  call   <strtol@plt>
  mov    %rax,0x0(%rbp)
  jmp    L206
L46:
  add    $0x1,%rbx
L206:
  movsbl (%rbx),%edi
  call   <isSpace@plt>
  test   %rax,%rax
  jne    L46
  movsbl (%rbx),%edi
  call   <isNum@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  mov    %rsp,%rbp
  test   %rdx,%rdx
  jne    L62
  jmp    L181
L23:
  add    $0x1,%rbx
  add    $0x1,%rbp
  movzbl -0x1(%rbx),%eax
  mov    %al,-0x1(%rbp)
L62:
  movsbl (%rbx),%edi
  call   <isNum@plt>
  test   %rax,%rax
  jne    L23
  movb   $0x0,0x0(%rbp)
  movsbl (%rbx),%edi
  call   <isSpace@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  je     L181
  mov    %rsp,%rdi
  call   <atoi@plt>
  mov    %eax,(%r12)
  jmp    L52
L247:
  add    $0x1,%rbx
L52:
  movsbl (%rbx),%edi
  call   <isSpace@plt>
  test   %rax,%rax
  jne    L247
  movsbl (%rbx),%edi
  call   <isFloat@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  mov    %rsp,%rbp
  test   %rdx,%rdx
  jne    L171
  jmp    L181
L199:
  add    $0x1,%rbx
  add    $0x1,%rbp
  movzbl -0x1(%rbx),%eax
  mov    %al,-0x1(%rbp)
L171:
  movsbl (%rbx),%edi
  call   <isFloat@plt>
  test   %rax,%rax
  jne    L199
  movb   $0x0,0x0(%rbp)
  movsbl (%rbx),%edi
  call   <isSpace@plt>
  test   %rax,%rax
  jne    L126
  movzbl (%rbx),%edx
  cmp    $0xd,%dl
  ja     L181
  mov    $0x2401,%eax
  bt     %rdx,%rax
  jae    L97
L126:
  mov    %rsp,%rdi
  call   <atof@plt>
  movss  %xmm0,0x0(%r13)
  jmp    L58
L146:
  add    $0x1,%rbx
L58:
  movsbl (%rbx),%edi
  call   <isSpace@plt>
  test   %rax,%rax
  jne    L146
  movzbl (%rbx),%ecx
  mov    $0x1,%eax
  cmp    $0xd,%cl
  ja     L83
  mov    $0x2401,%eax
  shr    %cl,%rax
  xor    $0x1,%rax
  and    $0x1,%eax
L83:
  xor    $0x1,%eax
  movzbl %al,%eax
  jmp    L181
L97:
  mov    $0x0,%eax
  jmp    L181
L39:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int ParseProfLine(const char *pchIn, long *plAddress, int *piSamples, float *pfPercentage) {
  char chVal[128], *pchOut;
  while (isSpace(*pchIn))
    pchIn++;
  if (!isHex(*pchIn))
    return 0;
  pchOut = chVal;
  while (isHex(*pchIn))
    *pchOut++ = *pchIn++;
  *pchOut = 0;
  if (!isSpace(*pchIn))
    return 0;
  *plAddress = strtol(chVal, NULL, 16);
  while (isSpace(*pchIn))
    pchIn++;
  if (!isNum(*pchIn))
    return 0;
  pchOut = chVal;
  while (isNum(*pchIn))
    *pchOut++ = *pchIn++;
  *pchOut = 0;
  if (!isSpace(*pchIn))
    return 0;
  *piSamples = atoi(chVal);
  while (isSpace(*pchIn))
    pchIn++;
  if (!isFloat(*pchIn))
    return 0;
  pchOut = chVal;
  while (isFloat(*pchIn))
    *pchOut++ = *pchIn++;
  *pchOut = 0;
  if (!isSpace(*pchIn) && *pchIn != '\r' && *pchIn != '\n' && *pchIn != 0)
    return 0;
  *pfPercentage = atof(chVal);
  while (isSpace(*pchIn))
    pchIn++;
  if (*pchIn != '\r' && *pchIn != '\n' && *pchIn != 0)
    return 0;
  return 1;
}
```