user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x28(%rbp),%rax
  mov    %rax,%rsi
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D109(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x24(%rbp),%rax
  mov    %rax,%rsi
  lea    D187(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D106(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D172(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x1c(%rbp),%rax
  mov    %rax,%rsi
  lea    D187(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D120(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D187(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x28(%rbp),%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  -0x24(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x20(%rbp),%eax
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  movss  -0x18(%rbp),%xmm0
  cvtss2sd %xmm0,%xmm0
  movsd  D49(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x10(%rbp)
  movss  -0x14(%rbp),%xmm0
  addss  -0x10(%rbp),%xmm0
  movss  %xmm0,-0xc(%rbp)
  lea    D74(%rip),%rax
  mov    %rax,%rsi
  lea    D173(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x5b9f,%esi
  lea    D114(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movss  -0x24(%rbp),%xmm0
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm0,%xmm3
  movq   %xmm3,%rdx
  mov    -0x28(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D183(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movss  -0x1c(%rbp),%xmm0
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm0,%xmm4
  movq   %xmm4,%rdx
  mov    -0x20(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D142(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm5,%xmm5
  cvtss2sd -0x14(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  lea    D93(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm6,%xmm6
  cvtss2sd -0x10(%rbp),%xmm6
  movq   %xmm6,%rax
  movq   %rax,%xmm0
  lea    D64(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm7,%xmm7
  cvtss2sd -0xc(%rbp),%xmm7
  movq   %xmm7,%rax
  movq   %rax,%xmm0
  lea    D101(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L0
  call   <__stack_chk_fail@plt>
L0:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D21
type_infered: string
name: unpack_data
arguments: tag: D38
type_infered: string
name: unpack_data
arguments: tag: D109
type_infered: string
name: unpack_data
arguments: tag: D187
type_infered: string
name: unpack_data
arguments: tag: D106
type_infered: string
name: unpack_data
arguments: tag: D172
type_infered: string
name: unpack_data
arguments: tag: D120
type_infered: string
name: unpack_data
arguments: tag: D49
type_infered: f64
name: unpack_data
arguments: tag: D74
type_infered: string
name: unpack_data
arguments: tag: D173
type_infered: string
name: unpack_data
arguments: tag: D114
type_infered: string
name: unpack_data
arguments: tag: D183
type_infered: string
name: unpack_data
arguments: tag: D142
type_infered: string
name: unpack_data
arguments: tag: D93
type_infered: string
name: unpack_data
arguments: tag: D64
type_infered: string
name: unpack_data
arguments: tag: D101
type_infered: string

tool: D21: how many quantities for item1 ?

tool: D38: %d

tool: D109: what is the price for item1 ?

tool: D187: %f

tool: D106: how many quantities for item2 ?

tool: D172: what is the price for item2 ?

tool: D120: how many percent is the tax ?

tool: D49: 100

tool: D74: Alharbi

tool: D173:  the company is %s


tool: D114:  the invoice number is %d


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


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


tool: D93:  the total is $%.2f 


tool: D64:  the tax is $%.2f


tool: D101:  the total cost is $%.2f


assistant: ```c
int main() {
  int item1_quantity;
  float item1_price;
  int item2_quantity;
  float item2_price;
  float tax;
  printf("how many quantities for item1 ?\n");
  scanf("%d", &item1_quantity);
  printf("what is the price for item1 ?\n");
  scanf("%f", &item1_price);
  printf("how many quantities for item2 ?\n");
  scanf("%d", &item2_quantity);
  printf("what is the price for item2 ?\n");
  scanf("%f", &item2_price);
  printf("how many percent is the tax ?\n");
  scanf("%f", &tax);
  float pretax_cost = (item1_quantity * item1_price) + (item2_quantity * item2_price);
  float tax_dollars = (tax / 100.0) * pretax_cost;
  float total_cost = pretax_cost + tax_dollars;
  printf(" the company is %s\n", "Alharbi");
  printf(" the invoice number is %d\n", 23455);
  printf(" item 1 : %d @ $%.2f per item \n", item1_quantity, item1_price);
  printf(" item 2 : %d @ $%.2f per item \n", item2_quantity, item2_price);
  printf(" the total is $%.2f \n", pretax_cost);
  printf(" the tax is $%.2f\n", tax_dollars);
  printf(" the total cost is $%.2f\n", total_cost);
  return 0;
}
```