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

```asm
<main>:
  endbr64
  push   %r14
  lea    D20(%rip),%rdi
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  movss  %xmm4,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x10(%rsp)
  movl   $0x0,0x14(%rsp)
  call   <printf@plt>
  lea    0x14(%rsp),%rdx
  lea    0x10(%rsp),%rsi
  lea    D129(%rip),%rdi
  call   <scanf@plt>
  movss  0x10(%rsp),%xmm0
  movss  0x14(%rsp),%xmm3
  pxor   %xmm6,%xmm6
  movss  (%rsp),%xmm4
  movaps %xmm0,%xmm1
  movaps %xmm3,%xmm2
  mulss  %xmm0,%xmm1
  mulss  %xmm3,%xmm2
  mulss  %xmm0,%xmm1
  mulss  %xmm3,%xmm2
  subss  D93(%rip),%xmm1
  subss  D93(%rip),%xmm2
  movaps %xmm1,%xmm5
  mulss  %xmm2,%xmm5
  comiss %xmm6,%xmm5
  ja     L82
  pxor   %xmm6,%xmm6
  mov    $0x0,%edx
  ucomiss %xmm6,%xmm2
  setnp  %al
  cmovne %edx,%eax
  test   %al,%al
  jne    L17
  ucomiss %xmm6,%xmm1
  setnp  %dl
  cmove  %edx,%eax
  test   %al,%al
  je     L88
L17:
  pxor   %xmm6,%xmm6
  ucomiss %xmm6,%xmm1
  jp     L8
  je     L121
L8:
  movaps %xmm3,%xmm0
L121:
  lea    D65(%rip),%rdi
  mov    $0x1,%eax
  movss  %xmm4,(%rsp)
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  xor    %edi,%edi
  call   <exit@plt>
  movss  (%rsp),%xmm4
L88:
  lea    D13(%rip),%rdi
  movss  %xmm4,(%rsp)
  xor    %ebx,%ebx
  lea    D45(%rip),%rbp
  call   <puts@plt>
  lea    D138(%rip),%r12
  movss  (%rsp),%xmm4
  lea    D152(%rip),%r13
  jmp    L3
  nopl   0x0(%rax,%rax,1)
L56:
  movss  %xmm4,0x10(%rsp)
L84:
  movaps %xmm4,%xmm0
  subss  0xc(%rsp),%xmm0
  movss  %xmm4,(%rsp)
  call   <fabs@plt>
  cmp    $0x1,%ebx
  movss  (%rsp),%xmm4
  je     L54
  mov    %r12,%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  movss  %xmm4,0x8(%rsp)
  movsd  %xmm0,(%rsp)
  call   <printf@plt>
  movsd  (%rsp),%xmm0
  movss  0x8(%rsp),%xmm4
  comisd D90(%rip),%xmm0
  jbe    L71
L3:
  movss  0x14(%rsp),%xmm1
  mov    %ebx,%esi
  mov    %rbp,%rdi
  mov    $0x4,%eax
  movss  0x10(%rsp),%xmm0
  movss  %xmm4,0xc(%rsp)
  add    $0x1,%ebx
  movaps %xmm1,%xmm2
  movaps %xmm1,%xmm5
  mulss  %xmm1,%xmm2
  movaps %xmm0,%xmm3
  mulss  %xmm0,%xmm3
  mulss  %xmm1,%xmm2
  cvtss2sd %xmm1,%xmm1
  subss  D93(%rip),%xmm2
  mulss  %xmm0,%xmm3
  subss  D93(%rip),%xmm3
  movaps %xmm2,%xmm4
  mulss  %xmm3,%xmm5
  subss  %xmm3,%xmm2
  pxor   %xmm3,%xmm3
  mulss  %xmm0,%xmm4
  cvtss2sd %xmm0,%xmm0
  subss  %xmm5,%xmm4
  divss  %xmm2,%xmm4
  pxor   %xmm2,%xmm2
  movaps %xmm4,%xmm5
  cvtss2sd %xmm4,%xmm2
  movss  %xmm4,0x8(%rsp)
  movq   %xmm2,%r14
  mulss  %xmm4,%xmm5
  mulss  %xmm4,%xmm5
  subss  D93(%rip),%xmm5
  movss  %xmm5,(%rsp)
  cvtss2sd %xmm5,%xmm3
  call   <printf@plt>
  movss  (%rsp),%xmm5
  pxor   %xmm6,%xmm6
  movss  0x8(%rsp),%xmm4
  ucomiss %xmm6,%xmm5
  jp     L112
  je     L71
L112:
  movss  0x10(%rsp),%xmm1
  pxor   %xmm7,%xmm7
  movaps %xmm1,%xmm0
  mulss  %xmm1,%xmm0
  mulss  %xmm1,%xmm0
  subss  D93(%rip),%xmm0
  mulss  %xmm5,%xmm0
  comiss %xmm0,%xmm7
  jbe    L56
  movss  %xmm4,0x14(%rsp)
  jmp    L84
  cs nopw 0x0(%rax,%rax,1)
L54:
  mov    %r13,%rdi
  movss  %xmm0,0x8(%rsp)
  call   <puts@plt>
  movss  0x8(%rsp),%xmm0
  movss  (%rsp),%xmm4
  cvtss2sd %xmm0,%xmm0
  comisd D90(%rip),%xmm0
  ja     L3
  nopl   0x0(%rax,%rax,1)
L71:
  lea    D11(%rip),%rbp
  mov    %rbp,%rdi
  call   <puts@plt>
  movq   %r14,%xmm0
  mov    $0x1,%eax
  lea    D148(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L103
  add    $0x20,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L82:
  lea    D30(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  movss  (%rsp),%xmm4
  jmp    L88
L103:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D20
type: string
name: unpack_data
arguments: data_label: D129
type: string
name: unpack_data
arguments: data_label: D93
type: byte[4]
name: unpack_data
arguments: data_label: D65
type: string
name: unpack_data
arguments: data_label: D13
type: string
name: unpack_data
arguments: data_label: D45
type: string
name: unpack_data
arguments: data_label: D138
type: string
name: unpack_data
arguments: data_label: D152
type: string
name: unpack_data
arguments: data_label: D90
type: f64
name: unpack_data
arguments: data_label: D11
type: string
name: unpack_data
arguments: data_label: D148
type: string
name: unpack_data
arguments: data_label: D30
type: string

tool: D20: Input Interval: 

tool: D129: %f %f

tool: {"D93": [0x00,0x00,0x90,0x41]}

tool: D65: Root is one of interval bounds. Root is %f


tool: D13: Ite	a		b		c		f(c)		error

tool: D45: %2d	%4.6f	%4.6f	%4.6f	%4.6f	

tool: D138: %4.6f


tool: D152: ----

tool: D90: 5e-05

tool: D11: +------------------+

tool: D148: | Root is %4.6f |


tool: D30: Invalid Interval Exit!

assistant: ```c
int main() {
  float a = 0, b = 0, error = 0, c, cold;
  int i = 0;
  printf("Input Interval: ");
  scanf("%f %f", &a, &b);
  if ((((a * a * a) - 18) * ((b * b * b) - 18)) > 0) {
    printf("Invalid Interval Exit!");
    exit(1);
  } else if (((a * a * a) - 18) == 0 || ((b * b * b) - 18) == 0) {
    printf("Root is one of interval bounds. Root is %f\n", ((a * a * a) - 18) == 0 ? a : b);
    exit(0);
  }
  printf("Ite\ta\t\tb\t\tc\t\tf(c)\t\terror\n");
  do {
    cold = c;
    c = (((a * ((b * b * b) - 18)) - (b * ((a * a * a) - 18))) / (((b * b * b) - 18) - ((a * a * a) - 18)));
    printf("%2d\t%4.6f\t%4.6f\t%4.6f\t%4.6f\t", i++, a, b, c, ((c * c * c) - 18));
    if (((c * c * c) - 18) == 0) {
      break;
    } else if (((a * a * a) - 18) * ((c * c * c) - 18) < 0) {
      b = c;
    } else
      a = c;
    error = fabs(c - cold);
    if (i == 1) {
      printf("----\n");
    } else
      printf("%4.6f\n", error);
  } while (error > 0.00005);
  printf("+------------------+\n");
  printf("| Root is %4.6f |\n", c);
  printf("+------------------+\n");
  return 0;
}
```