user: Translate the below assembly code into C programming language:

```asm
<price_to_str>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%r12
  mov    %rsi,%rbx
  mov    %rdx,%rbp
  cvttss2si %xmm0,%r13d
  test   %rcx,%rcx
  jne    L139
  pxor   %xmm1,%xmm1
  cvtsi2ss %r13d,%xmm1
  subss  %xmm1,%xmm0
  mulss  D116(%rip),%xmm0
  cvttss2si %xmm0,%eax
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  D175(%rip),%xmm2
  comiss %xmm1,%xmm2
  ja     L61
  movss  D144(%rip),%xmm2
  subss  %xmm1,%xmm2
  movss  D175(%rip),%xmm1
  comiss %xmm2,%xmm1
  jbe    L0
  addss  D144(%rip),%xmm0
L61:
  ucomiss D105(%rip),%xmm0
  jp     L43
  je     L143
L43:
  movaps %xmm0,%xmm1
  mulss  D71(%rip),%xmm1
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm0,%xmm3
  mulsd  D159(%rip),%xmm3
  cvttss2si %xmm1,%eax
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  cvtss2sd %xmm2,%xmm2
  ucomisd %xmm2,%xmm3
  jp     L112
  mov    $0x8,%eax
  movsd  D159(%rip),%xmm5
  movss  D71(%rip),%xmm4
  jne    L112
L122:
  sub    $0x1,%eax
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm1,%xmm3
  mulsd  %xmm5,%xmm3
  movaps %xmm1,%xmm0
  mulss  %xmm4,%xmm1
  cvttss2si %xmm1,%edx
  pxor   %xmm2,%xmm2
  cvtsi2ss %edx,%xmm2
  cvtss2sd %xmm2,%xmm2
  ucomisd %xmm2,%xmm3
  jp     L50
  je     L122
L50:
  test   %r13d,%r13d
  js     L64
L140:
  cvttss2si %xmm0,%r14d
  mov    %r14d,(%r12)
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movsd  D34(%rip),%xmm0
  call   <pow@plt>
  mov    %eax,(%rbx)
  mov    %r13d,0x0(%rbp)
  mov    (%rbx),%r8d
  mov    %r14d,%ecx
  mov    %r13d,%edx
  lea    D153(%rip),%rsi
  lea    D172(%rip),%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
L128:
  lea    D172(%rip),%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L139:
  mov    %r13d,%edx
  mov    %rcx,%rsi
  lea    D172(%rip),%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  movl   $0x0,0x0(%rbp)
  movl   $0x0,(%rbx)
  movl   $0x0,(%r12)
  jmp    L128
L0:
  mov    %r13d,%edx
  lea    D37(%rip),%rsi
  lea    D172(%rip),%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  movl   $0x0,0x0(%rbp)
  movl   $0x0,(%rbx)
  movl   $0x0,(%r12)
  jmp    L128
L112:
  mov    $0x8,%eax
  jmp    L50
L64:
  pxor   %xmm1,%xmm1
  comiss %xmm0,%xmm1
  jbe    L140
  xorps  D187(%rip),%xmm0
  jmp    L140
L143:
  movl   $0x0,(%rbx)
  movl   $0x0,(%r12)
  mov    %r13d,0x0(%rbp)
  mov    %r13d,%edx
  lea    D9(%rip),%rsi
  lea    D172(%rip),%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L128
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D116
datatype: f32
name: extract_symbolic_data
arguments: data_label: D175
datatype: byte[4]
name: extract_symbolic_data
arguments: data_label: D144
datatype: f32
name: extract_symbolic_data
arguments: data_label: D105
datatype: f64
name: extract_symbolic_data
arguments: data_label: D71
datatype: byte[4]
name: extract_symbolic_data
arguments: data_label: D159
datatype: byte[8]
name: extract_symbolic_data
arguments: data_label: D34
datatype: f64
name: extract_symbolic_data
arguments: data_label: D153
datatype: string
name: extract_symbolic_data
arguments: data_label: D37
datatype: string
name: extract_symbolic_data
arguments: data_label: D187
datatype: byte[16]
name: extract_symbolic_data
arguments: data_label: D9
datatype: string

tool: D116: 256

tool: {"D175": [0x00,0x00,0x00,0x3b]}

tool: D144: 1

tool: D105: 0

tool: {"D71": [0x00,0x00,0x00,0x3f]}

tool: {"D159": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: D34: 2

tool: D153: %d %d/%d

tool: D37: %f

tool: {"D187": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D9: %d

assistant: ```c
char *price_to_str(float price, int *numorator, int *demoninator, int *decimal, char *fltfmt) {
  static char rtn[64];
  int whole = (int)price;
  float dec = ((price) - (float)(int)(price)), numr;
  if (fltfmt) {
    sprintf(rtn, fltfmt, price);
    *numorator = *demoninator = *decimal = 0;
    return rtn;
  }
  numr = dec * 256;
  {
    float rdec = ((numr) - (float)(int)(numr));
    if (rdec < ((1.0 / 256.0) / 2.0))
      ;
    else if ((1 - rdec) < ((1.0 / 256.0) / 2.0))
      ++numr;
    else {
      sprintf(rtn, "%f", price);
      *numorator = *demoninator = *decimal = 0;
      return rtn;
    }
  }
  if (numr != 0) {
    int cnt = 8;
    while ((float)(numr) / 2.0 == (float)(int)(numr / 2)) {
      numr /= 2;
      --cnt;
    }
    if ((whole < 0) && (numr < 0.0))
      numr = -numr;
    *numorator = (int)numr;
    *demoninator = (int)pow(2.0, (float)cnt);
    *decimal = whole;
    sprintf(rtn, "%d %d/%d", whole, (int)numr, *demoninator);
  } else {
    *numorator = *demoninator = 0;
    *decimal = whole;
    sprintf(rtn, "%d", whole);
  }
  return rtn;
}
```