user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  mov    0x14(%rsp),%esi
  lea    D7(%rip),%rdi
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D70(%rip),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x1c(%rsp),%xmm0
  lea    D15(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  lea    D94(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x18(%rsp),%esi
  lea    D76(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x20(%rsp),%xmm0
  lea    D33(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D96(%rip),%rdi
  call   <puts@plt>
  lea    0x24(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%esi
  movss  0x1c(%rsp),%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2ssl 0x18(%rsp),%xmm2
  mulss  0x20(%rsp),%xmm2
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  mulss  %xmm0,%xmm1
  movaps %xmm2,%xmm3
  addss  %xmm1,%xmm3
  movss  0x24(%rsp),%xmm1
  divss  D19(%rip),%xmm1
  movss  %xmm3,0xc(%rsp)
  mulss  %xmm3,%xmm1
  movss  %xmm1,0x8(%rsp)
  cvtss2sd %xmm0,%xmm0
  lea    D142(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x20(%rsp),%xmm0
  mov    0x18(%rsp),%esi
  lea    D87(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x24(%rsp),%xmm0
  lea    D26(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x8(%rsp),%xmm0
  lea    D43(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movss  0xc(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D53(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D124(%rip),%rdi
  call   <puts@plt>
  mov    $0x90ffa,%esi
  lea    D126(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  ret
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D7
data_type: string
name: unpack_data
arguments: data_tag: D70
data_type: string
name: unpack_data
arguments: data_tag: D15
data_type: string
name: unpack_data
arguments: data_tag: D94
data_type: string
name: unpack_data
arguments: data_tag: D76
data_type: string
name: unpack_data
arguments: data_tag: D33
data_type: string
name: unpack_data
arguments: data_tag: D96
data_type: string
name: unpack_data
arguments: data_tag: D19
data_type: byte[4]
name: unpack_data
arguments: data_tag: D142
data_type: string
name: unpack_data
arguments: data_tag: D87
data_type: string
name: unpack_data
arguments: data_tag: D26
data_type: string
name: unpack_data
arguments: data_tag: D43
data_type: string
name: unpack_data
arguments: data_tag: D53
data_type: string
name: unpack_data
arguments: data_tag: D124
data_type: string
name: unpack_data
arguments: data_tag: D126
data_type: string

tool: D7: quantity for item1 is


tool: D70: %d

tool: D15: Price for item1 is   


tool: D94: %f

tool: D76: quantity for item2 is


tool: D33: Price for item2 is   


tool: D96: what is the tax rate (in percent) 

tool: {"D19": [0x00,0x00,0xc8,0x42]}

tool: D142:  Item %.2f @ %d per item


tool: D87: Item %.2f @ %d per item 


tool: D26: Tax rate: %.2f


tool: D43:  Tax amount: %.2f


tool: D53: Total cost:  %.2f


tool: D124: Bempink Industry, Inc.

tool: D126: %d


assistant: ```c
int main() {
  int count1;
  int count2;
  float price1;
  float price2;
  float item1;
  float item2;
  float tax_rate, untaxed_amount, untaxed_price, total_cost, tax_amount;
  char name[25];
  printf("quantity for item1 is\n", count1);
  scanf("%d", &count1);
  printf("Price for item1 is   \n", price1);
  scanf("%f", &price1);
  printf("quantity for item2 is\n", count2);
  scanf("%d", &count2);
  printf("Price for item2 is   \n", price2);
  scanf("%f", &price2);
  printf("what is the tax rate (in percent) \n");
  scanf("%f", &tax_rate);
  item1 = count1 * price1;
  item2 = count2 * price2;
  untaxed_amount = (item1 + item2);
  tax_amount = (tax_rate / 100) * untaxed_amount;
  total_cost = (untaxed_amount + tax_amount);
  printf(" Item %.2f @ %d per item\n", price1, count1);
  printf("Item %.2f @ %d per item \n", price2, count2);
  printf("Tax rate: %.2f\n", tax_rate);
  printf(" Tax amount: %.2f\n", tax_amount);
  printf("Total cost:  %.2f\n", total_cost);
  printf("%s\n", "Bempink Industry, Inc.");
  printf("%d\n", 593914);
  return 0;
}
```