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    D74(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x28(%rbp),%rax
  mov    %rax,%rsi
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D64(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D175(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D164(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x24(%rbp),%rax
  mov    %rax,%rsi
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1c(%rbp),%rax
  mov    %rax,%rsi
  lea    D175(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D108(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D175(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x28(%rbp),%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  -0x20(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x24(%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  D96(%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    D144(%rip),%rax
  mov    %rax,%rsi
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x3b759,%esi
  lea    D51(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x28(%rbp),%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  -0x20(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  movss  -0x20(%rbp),%xmm1
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm1,%xmm3
  movq   %xmm3,%rdx
  mov    -0x28(%rbp),%eax
  movapd %xmm0,%xmm1
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D172(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    -0x24(%rbp),%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  movss  -0x1c(%rbp),%xmm1
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm1,%xmm4
  movq   %xmm4,%rdx
  mov    -0x24(%rbp),%eax
  movapd %xmm0,%xmm1
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D80(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  movss  -0x18(%rbp),%xmm0
  pxor   %xmm5,%xmm5
  cvtss2sd %xmm0,%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  lea    D101(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm6,%xmm6
  cvtss2sd -0x14(%rbp),%xmm6
  movq   %xmm6,%rax
  movq   %rax,%xmm0
  lea    D173(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm7,%xmm7
  cvtss2sd -0x10(%rbp),%xmm7
  movq   %xmm7,%rax
  movq   %rax,%xmm0
  lea    D126(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm3,%xmm3
  cvtss2sd -0xc(%rbp),%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  lea    D22(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L7
  call   <__stack_chk_fail@plt>
L7:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D74
datatype: string
name: disassemble_data
arguments: tag: D3
datatype: string
name: disassemble_data
arguments: tag: D64
datatype: string
name: disassemble_data
arguments: tag: D175
datatype: string
name: disassemble_data
arguments: tag: D164
datatype: string
name: disassemble_data
arguments: tag: D21
datatype: string
name: disassemble_data
arguments: tag: D108
datatype: string
name: disassemble_data
arguments: tag: D96
datatype: f64
name: disassemble_data
arguments: tag: D144
datatype: string
name: disassemble_data
arguments: tag: D76
datatype: string
name: disassemble_data
arguments: tag: D51
datatype: string
name: disassemble_data
arguments: tag: D172
datatype: string
name: disassemble_data
arguments: tag: D80
datatype: string
name: disassemble_data
arguments: tag: D101
datatype: string
name: disassemble_data
arguments: tag: D173
datatype: string
name: disassemble_data
arguments: tag: D126
datatype: string
name: disassemble_data
arguments: tag: D22
datatype: string

tool: D74: Enter Item 1 quantity: 

tool: D3: %d

tool: D64: Enter Item 1 price: $

tool: D175: %f

tool: D164: Enter Item 2 quantity: 

tool: D21: Enter Item 2 price: $

tool: D108: Enter tax rate (in percent): 

tool: D96: 100

tool: D144: hamd

tool: D76: 		%s


tool: D51: %d


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


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


tool: D101: tax percent:			 %f%%


tool: D173: pretax cost:			 $%.2f


tool: D126: tax dollars:			 $%.2f


tool: D22: total cost:			 $%.2f


assistant: ```c
int main() {
  int q1, q2;
  float p1, p2;
  float tax_rate;
  float pretax_cost;
  float tax_dollars;
  float total_cost;
  printf("Enter Item 1 quantity: ");
  scanf("%d", &q1);
  printf("Enter Item 1 price: $");
  scanf("%f", &p1);
  printf("Enter Item 2 quantity: ");
  scanf("%d", &q2);
  printf("Enter Item 2 price: $");
  scanf("%f", &p2);
  printf("Enter tax rate (in percent): ");
  scanf("%f", &tax_rate);
  pretax_cost = q1 * p1 + q2 * p2;
  tax_dollars = tax_rate / 100.0 * pretax_cost;
  total_cost = pretax_cost + tax_dollars;
  printf("\t\t%s\n", "hamd");
  printf("%d\n", 243545);
  printf("Item 1: %d @ $%.2f per item\t $%.2f\n", q1, p1, (q1 * p1));
  printf("Item 2: %d @ $%.2f per item\t $%.2f\n", q2, p2, (q2 * p2));
  printf("tax percent:\t\t\t %f%%\n", tax_rate);
  printf("pretax cost:\t\t\t $%.2f\n", pretax_cost);
  printf("tax dollars:\t\t\t $%.2f\n", tax_dollars);
  printf("total cost:\t\t\t $%.2f\n", total_cost);
  return 0;
}
```