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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movss  D115(%rip),%xmm0
  movss  %xmm0,-0x10(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  D40(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
  movw   $0x0,-0x20(%rbp)
  movw   $0x0,-0x1e(%rbp)
  lea    D68(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1c(%rbp),%rax
  mov    %rax,%rsi
  lea    D102(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D161(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D102(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D142(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D153(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D154(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1e(%rbp),%rax
  mov    %rax,%rsi
  lea    D153(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzwl -0x20(%rbp),%eax
  movzwl %ax,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  -0x18(%rbp),%xmm1
  movss  D16(%rip),%xmm0
  comiss %xmm1,%xmm0
  jbe    L56
  movss  D1(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
  jmp    L7
L56:
  movss  -0x18(%rbp),%xmm1
  movss  D94(%rip),%xmm0
  comiss %xmm1,%xmm0
  jbe    L15
  movss  D74(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
  jmp    L7
L15:
  movss  -0x18(%rbp),%xmm1
  movss  D4(%rip),%xmm0
  comiss %xmm1,%xmm0
  jbe    L7
  movss  D131(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
L7:
  movzwl -0x20(%rbp),%eax
  movzwl %ax,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  -0x14(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xc(%rbp)
  movss  -0xc(%rbp),%xmm0
  movaps %xmm0,%xmm1
  mulss  -0x10(%rbp),%xmm1
  movzwl -0x1e(%rbp),%eax
  movzwl %ax,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  %xmm1,%xmm0
  movss  -0xc(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm2,%xmm2
  cvtss2sd -0xc(%rbp),%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L41
  call   <__stack_chk_fail@plt>
L41:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D115
data_type: f32
name: extract_symbolic_data
arguments: data_label: D40
data_type: f32
name: extract_symbolic_data
arguments: data_label: D68
data_type: string
name: extract_symbolic_data
arguments: data_label: D102
data_type: string
name: extract_symbolic_data
arguments: data_label: D161
data_type: string
name: extract_symbolic_data
arguments: data_label: D142
data_type: string
name: extract_symbolic_data
arguments: data_label: D153
data_type: string
name: extract_symbolic_data
arguments: data_label: D154
data_type: string
name: extract_symbolic_data
arguments: data_label: D16
data_type: byte[4]
name: extract_symbolic_data
arguments: data_label: D1
data_type: byte[4]
name: extract_symbolic_data
arguments: data_label: D94
data_type: byte[4]
name: extract_symbolic_data
arguments: data_label: D74
data_type: f32
name: extract_symbolic_data
arguments: data_label: D4
data_type: byte[4]
name: extract_symbolic_data
arguments: data_label: D131
data_type: f32
name: extract_symbolic_data
arguments: data_label: D32
data_type: string

tool: D115: 0.065

tool: D40: 0.99

tool: D68: Enter the price of the item (in dollars):
> 

tool: D102: %f

tool: D161: Enter the weight of the item (in pounds):
> 

tool: D142: Enter the quantity of the item you are buying:
> 

tool: D153: %hd

tool: D154: Is this item taxed (1 = yes, 0 = no)?
> 

tool: {"D16": [0x00,0x00,0x20,0x41]}

tool: {"D1": [0x00,0x00,0x80,0x40]}

tool: {"D94": [0x00,0x00,0xf0,0x41]}

tool: D74: 2.5

tool: {"D4": [0x00,0x00,0x48,0x42]}

tool: D131: 1.5

tool: D32: Your total purchase, with shipping, will cost $%.2f.


assistant: ```c
int main() {
  const float TAX_RATE = 0.065;
  float price = 0, weight = 0, costPerPound = 0.99;
  unsigned short quantity = 0, taxed = 0;
  printf("Enter the price of the item (in dollars):\n> ");
  scanf("%f", &price);
  printf("Enter the weight of the item (in pounds):\n> ");
  scanf("%f", &weight);
  printf("Enter the quantity of the item you are buying:\n> ");
  scanf("%hd", &quantity);
  printf("Is this item taxed (1 = yes, 0 = no)?\n> ");
  scanf("%hd", &taxed);
  weight *= quantity;
  if (weight < 10)
    costPerPound = 4;
  else if (weight < 30)
    costPerPound = 2.5;
  else if (weight < 50)
    costPerPound = 1.5;
  float total = price * quantity + weight * costPerPound;
  total += total * TAX_RATE * taxed;
  printf("Your total purchase, with shipping, will cost $%.2f.\n", total);
  return 0;
}
```