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

```asm
<main>:
  endbr64
  push   %r12
  lea    D113(%rip),%rdi
  lea    D118(%rip),%r12
  push   %rbp
  lea    D9(%rip),%rbp
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D85(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D129(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D48(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D142(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x24(%rsp),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  xor    %eax,%eax
  cvtsi2ssl 0x14(%rsp),%xmm2
  mulss  0x1c(%rsp),%xmm2
  pxor   %xmm3,%xmm3
  cvtsi2ssl 0x18(%rsp),%xmm1
  pxor   %xmm0,%xmm0
  lea    D149(%rip),%rsi
  mulss  0x20(%rsp),%xmm1
  cvtss2sd 0x24(%rsp),%xmm0
  divsd  D167(%rip),%xmm0
  pxor   %xmm4,%xmm4
  lea    D132(%rip),%rdi
  addss  %xmm1,%xmm2
  cvtss2sd %xmm2,%xmm3
  mulsd  %xmm3,%xmm0
  movss  %xmm2,0xc(%rsp)
  movsd  %xmm3,(%rsp)
  cvtsd2ss %xmm0,%xmm4
  movss  %xmm4,0x8(%rsp)
  call   <printf@plt>
  mov    $0x3b759,%esi
  lea    D145(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x14(%rsp),%esi
  pxor   %xmm1,%xmm1
  movss  0x1c(%rsp),%xmm0
  lea    D18(%rip),%rdi
  mov    $0x2,%eax
  cvtsi2ss %esi,%xmm1
  mulss  %xmm0,%xmm1
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm1
  call   <printf@plt>
  mov    0x18(%rsp),%esi
  pxor   %xmm1,%xmm1
  movss  0x20(%rsp),%xmm0
  lea    D13(%rip),%rdi
  mov    $0x2,%eax
  cvtsi2ss %esi,%xmm1
  mulss  %xmm0,%xmm1
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm1
  call   <printf@plt>
  lea    D120(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x24(%rsp),%xmm0
  call   <printf@plt>
  movsd  (%rsp),%xmm3
  mov    $0x1,%eax
  lea    D86(%rip),%rdi
  movapd %xmm3,%xmm0
  call   <printf@plt>
  lea    D133(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x8(%rsp),%xmm0
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  movss  0xc(%rsp),%xmm2
  addss  0x8(%rsp),%xmm2
  lea    D69(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm2,%xmm0
  call   <printf@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L7
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  ret
L7:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D113
datatype: string
name: read_data
arguments: data_label: D118
datatype: string
name: read_data
arguments: data_label: D9
datatype: string
name: read_data
arguments: data_label: D85
datatype: string
name: read_data
arguments: data_label: D129
datatype: string
name: read_data
arguments: data_label: D48
datatype: string
name: read_data
arguments: data_label: D142
datatype: string
name: read_data
arguments: data_label: D149
datatype: string
name: read_data
arguments: data_label: D167
datatype: f64
name: read_data
arguments: data_label: D132
datatype: string
name: read_data
arguments: data_label: D145
datatype: string
name: read_data
arguments: data_label: D18
datatype: string
name: read_data
arguments: data_label: D13
datatype: string
name: read_data
arguments: data_label: D120
datatype: string
name: read_data
arguments: data_label: D86
datatype: string
name: read_data
arguments: data_label: D133
datatype: string
name: read_data
arguments: data_label: D69
datatype: string

tool: D113: Enter Item 1 quantity: 

tool: D118: %d

tool: D9: %f

tool: D85: Enter Item 1 price: $

tool: D129: Enter Item 2 quantity: 

tool: D48: Enter Item 2 price: $

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

tool: D149: hamd

tool: D167: 100

tool: D132: 		%s


tool: D145: %d


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


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


tool: D120: tax percent:			 %f%%


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


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


tool: D69: 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;
}
```