user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %r14
  push   %rbp
  push   %rbx
  sub    $0x60,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  movl   $0x41080000,0x2c(%rsp)
  mov    0x1c(%rsp),%esi
  lea    D173(%rip),%rdi
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  lea    D88(%rip),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x24(%rsp),%xmm0
  lea    D33(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    0x24(%rsp),%rsi
  lea    D16(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x20(%rsp),%esi
  lea    D119(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x28(%rsp),%xmm0
  lea    D70(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    0x28(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x2c(%rsp),%xmm0
  lea    D174(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    0x2c(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ssl 0x1c(%rsp),%xmm0
  mulss  0x24(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ssl 0x20(%rsp),%xmm1
  mulss  0x28(%rsp),%xmm1
  addss  %xmm1,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd 0x2c(%rsp),%xmm1
  divsd  D81(%rip),%xmm1
  movsd  %xmm2,(%rsp)
  mulsd  %xmm2,%xmm1
  pxor   %xmm3,%xmm3
  cvtsd2ss %xmm1,%xmm3
  movaps %xmm0,%xmm4
  movss  %xmm3,0x8(%rsp)
  addss  %xmm3,%xmm4
  movss  %xmm4,0xc(%rsp)
  lea    0x30(%rsp),%rdi
  lea    D49(%rip),%rsi
  call   <strcpy@plt>
  movsd  (%rsp),%xmm0
  lea    D37(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm5,%xmm5
  cvtss2sd 0x8(%rsp),%xmm5
  movq   %xmm5,%rbp
  movapd %xmm5,%xmm0
  lea    D78(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm6,%xmm6
  cvtss2sd 0xc(%rsp),%xmm6
  movq   %xmm6,%r14
  movapd %xmm6,%xmm0
  lea    D31(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x1823,%edx
  lea    D98(%rip),%rsi
  lea    D57(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x1c(%rsp),%esi
  movss  0x24(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ssl 0x20(%rsp),%xmm1
  mulss  0x28(%rsp),%xmm1
  movss  %xmm1,(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  mulss  %xmm0,%xmm1
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm1
  lea    D40(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x28(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd (%rsp),%xmm1
  mov    0x20(%rsp),%esi
  mov    %rbx,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x2c(%rsp),%xmm0
  lea    D24(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movq   %rbp,%xmm0
  lea    D103(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movq   %r14,%xmm0
  lea    D71(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  mov    $0x0,%eax
  add    $0x60,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r14
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D173
type_guessed: string
name: parse_data
arguments: label: D88
type_guessed: string
name: parse_data
arguments: label: D33
type_guessed: string
name: parse_data
arguments: label: D16
type_guessed: string
name: parse_data
arguments: label: D119
type_guessed: string
name: parse_data
arguments: label: D70
type_guessed: string
name: parse_data
arguments: label: D174
type_guessed: string
name: parse_data
arguments: label: D81
type_guessed: f64
name: parse_data
arguments: label: D49
type_guessed: string
name: parse_data
arguments: label: D37
type_guessed: string
name: parse_data
arguments: label: D78
type_guessed: string
name: parse_data
arguments: label: D31
type_guessed: string
name: parse_data
arguments: label: D98
type_guessed: string
name: parse_data
arguments: label: D57
type_guessed: string
name: parse_data
arguments: label: D40
type_guessed: string
name: parse_data
arguments: label: D24
type_guessed: string
name: parse_data
arguments: label: D103
type_guessed: string
name: parse_data
arguments: label: D71
type_guessed: string

tool: D173: Enter the quantity of Item 1: 

tool: D88: %d

tool: D33: Enter the price of Item 1: 

tool: D16: %f

tool: D119: Enter the quantity of item 2: 

tool: D70: Enter the price of item 2: 

tool: D174: Enter the tax rate: 

tool: D81: 100

tool: D49: THE_COMAPNY

tool: D37: Pretax total is %.2f


tool: D78: Tax dollars is %.2f


tool: D31: Total_cost is %.2f


tool: D98: THE COMPANY

tool: D57: %s
 %d


tool: D40: Item %.2f @ %d Per Item      %.2f


tool: D24: Tax Rate:                   %.2f


tool: D103: Tax Dollars:                %.2f


tool: D71: Total cost:                 %.2f


assistant: ```c
int main() {
  int item1;
  int item2;
  float price1;
  float price2;
  float tax_percent = 8.5;
  float pretax_cost = 200.0;
  float tax_dollars = (tax_percent / 100.0) * pretax_cost;
  float total_cost = pretax_cost + tax_dollars;
  char name[30];
  int invoicenumber;
  float itemcost1;
  float itemcost2;
  invoicenumber = 6179;
  printf("Enter the quantity of Item 1: ", item1);
  scanf("%d", &item1);
  printf("Enter the price of Item 1: ", price1);
  scanf("%f", &price1);
  printf("Enter the quantity of item 2: ", item2);
  scanf("%d", &item2);
  printf("Enter the price of item 2: ", price2);
  scanf("%f", &price2);
  printf("Enter the tax rate: ", tax_percent);
  scanf("%f", &tax_percent);
  pretax_cost = (item1 * price1) + (item2 * price2);
  tax_dollars = (tax_percent / 100.0) * pretax_cost;
  total_cost = pretax_cost + tax_dollars;
  strcpy(name, "THE_COMAPNY");
  printf("Pretax total is %.2f\n", pretax_cost);
  printf("Tax dollars is %.2f\n", tax_dollars);
  printf("Total_cost is %.2f\n", total_cost);
  printf("%s\n %d\n", "THE COMPANY", invoicenumber);
  itemcost1 = price1 * item1;
  itemcost2 = price2 * item2;
  printf("Item %.2f @ %d Per Item      %.2f\n", price1, item1, itemcost1);
  printf("Item %.2f @ %d Per Item      %.2f\n", price2, item2, itemcost2);
  printf("Tax Rate:                   %.2f\n", tax_percent);
  printf("Tax Dollars:                %.2f\n", tax_dollars);
  printf("Total cost:                 %.2f\n", total_cost);
  return 0;
}
```