user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    D137(%rip),%rdi
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D67(%rip),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D81(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  lea    D126(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D16(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D35(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D124(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x24(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm1,%xmm1
  cvtsi2ssl 0x14(%rsp),%xmm1
  mulss  0x18(%rsp),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl 0x1c(%rsp),%xmm0
  mulss  0x20(%rsp),%xmm0
  movaps %xmm1,%xmm2
  addss  %xmm0,%xmm2
  pxor   %xmm0,%xmm0
  cvtss2sd 0x24(%rsp),%xmm0
  divsd  D14(%rip),%xmm0
  movss  %xmm2,0x8(%rsp)
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm2,%xmm1
  mulsd  %xmm1,%xmm0
  pxor   %xmm3,%xmm3
  cvtsd2ss %xmm0,%xmm3
  movss  %xmm3,0xc(%rsp)
  lea    D154(%rip),%rsi
  lea    D120(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xd,%esi
  lea    D86(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x14(%rsp),%esi
  movss  0x18(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  mulss  %xmm0,%xmm1
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm1
  lea    D71(%rip),%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    0x1c(%rsp),%esi
  movss  0x20(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  mulss  %xmm0,%xmm1
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm1
  lea    D101(%rip),%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x24(%rsp),%xmm0
  lea    D54(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0xc(%rsp),%xmm0
  lea    D20(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movss  0x8(%rsp),%xmm0
  addss  0xc(%rsp),%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D116(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L2
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  ret
L2:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D137
type_infered: string
name: disassemble_data
arguments: data_tag: D67
type_infered: string
name: disassemble_data
arguments: data_tag: D81
type_infered: string
name: disassemble_data
arguments: data_tag: D126
type_infered: string
name: disassemble_data
arguments: data_tag: D16
type_infered: string
name: disassemble_data
arguments: data_tag: D35
type_infered: string
name: disassemble_data
arguments: data_tag: D124
type_infered: string
name: disassemble_data
arguments: data_tag: D14
type_infered: f64
name: disassemble_data
arguments: data_tag: D154
type_infered: string
name: disassemble_data
arguments: data_tag: D120
type_infered: string
name: disassemble_data
arguments: data_tag: D86
type_infered: string
name: disassemble_data
arguments: data_tag: D71
type_infered: string
name: disassemble_data
arguments: data_tag: D101
type_infered: string
name: disassemble_data
arguments: data_tag: D54
type_infered: string
name: disassemble_data
arguments: data_tag: D20
type_infered: string
name: disassemble_data
arguments: data_tag: D116
type_infered: string

tool: D137: What is the quantity of item 1 ?

tool: D67: %d

tool: D81: What is the price of item 1 ?

tool: D126: %f

tool: D16: What is the quantity of item 2 ?

tool: D35: What is the price of item 2 ?

tool: D124: What is the tax percent of item 1 ?

tool: D14: 100

tool: D154: Wesam

tool: D120: 		 %s


tool: D86: invoice %d


tool: D71: Item 1: %d @ $%.2f per item $%.2f


tool: D101:  item 2: %d @ $%.2f per item $%.2f


tool: D54: Tax rate:%.2f


tool: D20: Tax amount:$%.2f


tool: D116: Total cost:$%.2f


assistant: ```c
int main() {
  int item_1;
  float price_1;
  int item_2;
  float price_2;
  float tax_percent;
  float pretax_cost;
  float tax_dollars;
  float total_cost;
  printf("What is the quantity of item 1 ?");
  scanf("%d", &item_1);
  printf("What is the price of item 1 ?");
  scanf("%f", &price_1);
  printf("What is the quantity of item 2 ?");
  scanf("%d", &item_2);
  printf("What is the price of item 2 ?");
  scanf("%f", &price_2);
  printf("What is the tax percent of item 1 ?");
  scanf("%f", &tax_percent);
  pretax_cost = (item_1 * price_1) + (item_2 * price_2);
  tax_dollars = (tax_percent / 100.0) * pretax_cost;
  total_cost = pretax_cost + tax_dollars;
  printf("\t\t %s\n", "Wesam");
  printf("invoice %d\n", 13);
  printf("Item 1: %d @ $%.2f per item $%.2f\n", item_1, price_1, item_1 * price_1);
  printf(" item 2: %d @ $%.2f per item $%.2f\n", item_2, price_2, item_2 * price_2);
  printf("Tax rate:%.2f\n", tax_percent);
  printf("Tax amount:$%.2f\n", tax_dollars);
  printf("Total cost:$%.2f\n", total_cost);
  return 0;
}
```