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

```asm
<ft_itoa_hex>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  movsd  %xmm0,-0x28(%rbp)
  mov    %edi,-0x2c(%rbp)
  mov    %esi,%eax
  mov    %al,-0x30(%rbp)
  lea    -0x28(%rbp),%rax
  mov    (%rax),%rax
  movabs $0xfffffffffffff,%rdx
  and    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  movl   $0xd,-0x14(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  jmp    L26
L162:
  mov    -0x10(%rbp),%rax
  and    $0xf,%eax
  cmp    $0x9,%rax
  jbe    L175
  mov    -0x10(%rbp),%rax
  and    $0xf,%eax
  mov    %eax,%edx
  movzbl -0x30(%rbp),%eax
  add    %edx,%eax
  sub    $0xa,%eax
  mov    %eax,%edx
  jmp    L39
L175:
  mov    -0x10(%rbp),%rax
  and    $0xf,%eax
  add    $0x30,%eax
  mov    %eax,%edx
L39:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    %dl,(%rax)
  mov    -0x10(%rbp),%rax
  shr    $0x4,%rax
  mov    %rax,-0x10(%rbp)
L26:
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x14(%rbp)
  test   %eax,%eax
  jg     L162
  movl   $0xd,-0x14(%rbp)
  cmpl   $0xffffffff,-0x2c(%rbp)
  je     L106
  cmpl   $0xc,-0x2c(%rbp)
  jg     L106
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x37,%al
  jle    L106
  mov    -0x2c(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x39,%al
  je     L177
  mov    -0x2c(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  add    $0x1,%eax
  jmp    L70
L177:
  movzbl -0x30(%rbp),%eax
L70:
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rdx
  lea    -0x1(%rdx),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  mov    %al,(%rdx)
  jmp    L71
L3:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x30,(%rax)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x39,%al
  je     L105
  mov    -0x2c(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  add    $0x1,%eax
  jmp    L50
L105:
  movzbl -0x30(%rbp),%eax
L50:
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rdx
  lea    -0x1(%rdx),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  mov    %al,(%rdx)
L71:
  subl   $0x1,-0x2c(%rbp)
  cmpl   $0x0,-0x2c(%rbp)
  jle    L106
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x67,%al
  je     L3
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x47,%al
  je     L3
  jmp    L106
L68:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
L106:
  subl   $0x1,-0x14(%rbp)
  cmpl   $0x0,-0x14(%rbp)
  js     L111
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x30,%al
  je     L68
L111:
  mov    -0x8(%rbp),%rax
  leave
  ret
```

assistant: ```c
char *ft_itoa_hex(double flo, int p, char spec) {
  int len;
  char *hex;
  unsigned long long n;
  n = *((unsigned long long *)&flo) & 0x000FFFFFFFFFFFFFULL;
  len = 13;
  hex = (char *)malloc(sizeof(char) * (len + 1));
  hex[len] = '\0';
  while (len-- > 0) {
    hex[len] = ((n % 16) > 9) ? (spec + (n % 16) - 10) : ((n % 16) + '0');
    n /= 16;
  }
  if ((len = 13) && p != -1 && p < 13 && hex[p] > '7') {
    hex[p - 1] = (hex[p - 1] != '9') ? (hex[p - 1] + 1) : spec;
    while (--p > 0 && (hex[p] == 'g' || hex[p] == 'G')) {
      hex[p] = '0';
      hex[p - 1] = (hex[p - 1] != '9') ? (hex[p - 1] + 1) : spec;
    }
  }
  while (--len >= 0 && hex[len] == '0')
    hex[len] = '\0';
  return (hex);
}
```