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

```asm
<main>:
  endbr64
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x10(%rsp)
  movl   $0x0,0x14(%rsp)
  movw   $0x0,0xc(%rsp)
  movw   $0x0,0xe(%rsp)
  lea    D29(%rip),%rdi
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  lea    D32(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D8(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D141(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    D5(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D104(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xe(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzwl 0xc(%rsp),%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movaps %xmm1,%xmm0
  mulss  0x14(%rsp),%xmm0
  movss  %xmm0,0x14(%rsp)
  movss  D62(%rip),%xmm2
  movss  D37(%rip),%xmm3
  comiss %xmm0,%xmm3
  ja     L7
  movss  D60(%rip),%xmm2
  comiss %xmm0,%xmm2
  ja     L55
  movss  D44(%rip),%xmm2
  comiss %xmm0,%xmm2
  jbe    L19
  movss  D36(%rip),%xmm2
  jmp    L7
L55:
  movss  D16(%rip),%xmm2
L7:
  mulss  0x10(%rsp),%xmm1
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movzwl 0xe(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movaps %xmm1,%xmm2
  mulss  D58(%rip),%xmm2
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D69(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L24
  mov    $0x0,%eax
  add    $0x20,%rsp
  pop    %rbx
  ret
L19:
  movss  D72(%rip),%xmm2
  jmp    L7
L24:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D29
type_guessed: string
name: parse_data
arguments: label: D32
type_guessed: string
name: parse_data
arguments: label: D8
type_guessed: string
name: parse_data
arguments: label: D141
type_guessed: string
name: parse_data
arguments: label: D5
type_guessed: string
name: parse_data
arguments: label: D104
type_guessed: string
name: parse_data
arguments: label: D62
type_guessed: byte[4]
name: parse_data
arguments: label: D37
type_guessed: byte[4]
name: parse_data
arguments: label: D60
type_guessed: byte[4]
name: parse_data
arguments: label: D44
type_guessed: byte[4]
name: parse_data
arguments: label: D36
type_guessed: f32
name: parse_data
arguments: label: D16
type_guessed: f32
name: parse_data
arguments: label: D58
type_guessed: f32
name: parse_data
arguments: label: D69
type_guessed: string
name: parse_data
arguments: label: D72
type_guessed: f32

tool: D29: Enter the price of the item (in dollars):
> 

tool: D32: %f

tool: D8: Enter the weight of the item (in pounds):
> 

tool: D141: Enter the quantity of the item you are buying:
> 

tool: D5: %hd

tool: D104: Is this item taxed (1 = yes, 0 = no)?
> 

tool: {"D62": [0x00,0x00,0x80,0x40]}

tool: {"D37": [0x00,0x00,0x20,0x41]}

tool: {"D60": [0x00,0x00,0xf0,0x41]}

tool: {"D44": [0x00,0x00,0x48,0x42]}

tool: D36: 1.5

tool: D16: 2.5

tool: D58: 0.065

tool: D69: Your total purchase, with shipping, will cost $%.2f.


tool: D72: 0.99

assistant: ```c
int main() {
  const float TAX_RATE = 0.065;
  float price = 0, weight = 0, costPerPound = 0.99;
  unsigned short quantity = 0, taxed = 0;
  printf("Enter the price of the item (in dollars):\n> ");
  scanf("%f", &price);
  printf("Enter the weight of the item (in pounds):\n> ");
  scanf("%f", &weight);
  printf("Enter the quantity of the item you are buying:\n> ");
  scanf("%hd", &quantity);
  printf("Is this item taxed (1 = yes, 0 = no)?\n> ");
  scanf("%hd", &taxed);
  weight *= quantity;
  if (weight < 10)
    costPerPound = 4;
  else if (weight < 30)
    costPerPound = 2.5;
  else if (weight < 50)
    costPerPound = 1.5;
  float total = price * quantity + weight * costPerPound;
  total += total * TAX_RATE * taxed;
  printf("Your total purchase, with shipping, will cost $%.2f.\n", total);
  return 0;
}
```