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

```asm
<main>:
  endbr64
  push   %rbp
  lea    D135(%rip),%rdi
  lea    D16(%rip),%rbp
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x2c(%rsp),%rsi
  lea    D98(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D127(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x34(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D71(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x30(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x2c(%rsp),%esi
  pxor   %xmm1,%xmm1
  xor    %eax,%eax
  movss  0x30(%rsp),%xmm3
  pxor   %xmm4,%xmm4
  lea    D151(%rip),%rdi
  pxor   %xmm5,%xmm5
  cvtsi2ss %esi,%xmm1
  mulss  0x34(%rsp),%xmm1
  mulss  %xmm1,%xmm3
  movaps %xmm1,%xmm2
  movss  %xmm1,0x1c(%rsp)
  divss  D6(%rip),%xmm3
  subss  %xmm3,%xmm2
  movss  %xmm3,0x18(%rsp)
  cvtss2sd %xmm2,%xmm4
  movapd %xmm4,%xmm0
  movss  %xmm2,0x14(%rsp)
  mulsd  D126(%rip),%xmm0
  movsd  %xmm4,0x8(%rsp)
  divsd  D36(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm5
  movss  %xmm5,0x10(%rsp)
  call   <printf@plt>
  lea    D65(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x34(%rsp),%xmm0
  call   <printf@plt>
  lea    D77(%rip),%rdi
  call   <puts@plt>
  movss  0x1c(%rsp),%xmm1
  pxor   %xmm0,%xmm0
  lea    D21(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm1,%xmm0
  call   <printf@plt>
  movss  0x18(%rsp),%xmm3
  lea    D44(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm3,%xmm0
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm4
  lea    D43(%rip),%rdi
  mov    $0x1,%eax
  movapd %xmm4,%xmm0
  call   <printf@plt>
  lea    D99(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x10(%rsp),%xmm0
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  movss  0x14(%rsp),%xmm2
  addss  0x10(%rsp),%xmm2
  lea    D148(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm2,%xmm0
  call   <printf@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0x40,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D135
datatype: string
name: extract_symbolic_data
arguments: label: D16
datatype: string
name: extract_symbolic_data
arguments: label: D98
datatype: string
name: extract_symbolic_data
arguments: label: D127
datatype: string
name: extract_symbolic_data
arguments: label: D71
datatype: string
name: extract_symbolic_data
arguments: label: D151
datatype: string
name: extract_symbolic_data
arguments: label: D6
datatype: f32
name: extract_symbolic_data
arguments: label: D126
datatype: f64
name: extract_symbolic_data
arguments: label: D36
datatype: byte[8]
name: extract_symbolic_data
arguments: label: D65
datatype: string
name: extract_symbolic_data
arguments: label: D77
datatype: string
name: extract_symbolic_data
arguments: label: D21
datatype: string
name: extract_symbolic_data
arguments: label: D44
datatype: string
name: extract_symbolic_data
arguments: label: D43
datatype: string
name: extract_symbolic_data
arguments: label: D99
datatype: string
name: extract_symbolic_data
arguments: label: D148
datatype: string

tool: D135: 
Enter the number of items sold...	:

tool: D16: %f

tool: D98: %d

tool: D127: 
Enter the unit price... 		:

tool: D71: 
Enter the discount rate (%%)... 		:

tool: D151: 
Quantity sold:    	%3d


tool: D6: 100

tool: D126: 8.5

tool: {"D36": [0x00,0x00,0x00,0x00,0x00,0x00,0x59,0x40]}

tool: D65: Unit Price of items: %9.2f


tool: D77:                     ----------------

tool: D21: SubTotal :           %9.2f


tool: D44: Discount :           -%8.2f


tool: D43: Discounted total :   %9.2f


tool: D99: Sales Tax :          +%8.2f


tool: D148: Total sales :        %9.2f


assistant: ```c
int main() {
  int iQuantity;
  float fDiscRate, fDiscAmount, fUnitPrice, fSubTotal;
  float fSubTaxable, fTaxAm, fTotal;
  printf("\nEnter the number of items sold...\t:");
  scanf("%d", &iQuantity);
  printf("\nEnter the unit price... \t\t:");
  scanf("%f", &fUnitPrice);
  printf("\nEnter the discount rate (%%)... \t\t:");
  scanf("%f", &fDiscRate);
  fSubTotal = iQuantity * fUnitPrice;
  fDiscAmount = fSubTotal * fDiscRate / 100.0;
  fSubTaxable = fSubTotal - fDiscAmount;
  fTaxAm = fSubTaxable * 8.5 / 100.0;
  fTotal = fSubTaxable + fTaxAm;
  printf("\nQuantity sold:    \t%3d\n", iQuantity);
  printf("Unit Price of items: %9.2f\n", fUnitPrice);
  printf("                    ----------------\n");
  printf("SubTotal :           %9.2f\n", fSubTotal);
  printf("Discount :           -%8.2f\n", fDiscAmount);
  printf("Discounted total :   %9.2f\n", fSubTaxable);
  printf("Sales Tax :          +%8.2f\n", fTaxAm);
  printf("Total sales :        %9.2f\n", fTotal);
  return 0;
}
```