user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r12
  lea    D30(%rip),%rdi
  lea    D26(%rip),%r12
  push   %rbp
  lea    D34(%rip),%rbp
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  mov    0x2c(%rsp),%esi
  movl   $0x41080000,0x3c(%rsp)
  call   <printf@plt>
  lea    0x2c(%rsp),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D60(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x34(%rsp),%xmm0
  call   <printf@plt>
  mov    %rbp,%rdi
  xor    %eax,%eax
  lea    0x34(%rsp),%rsi
  call   <scanf@plt>
  mov    0x30(%rsp),%esi
  lea    D103(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x30(%rsp),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D8(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x38(%rsp),%xmm0
  call   <printf@plt>
  mov    %rbp,%rdi
  xor    %eax,%eax
  lea    0x38(%rsp),%rsi
  call   <scanf@plt>
  lea    D164(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x3c(%rsp),%xmm0
  call   <printf@plt>
  mov    %rbp,%rdi
  xor    %eax,%eax
  lea    0x3c(%rsp),%rsi
  lea    D156(%rip),%rbp
  call   <scanf@plt>
  pxor   %xmm2,%xmm2
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ssl 0x2c(%rsp),%xmm2
  mulss  0x34(%rsp),%xmm2
  cvtss2sd 0x3c(%rsp),%xmm1
  divsd  D102(%rip),%xmm1
  cvtsi2ssl 0x30(%rsp),%xmm0
  mulss  0x38(%rsp),%xmm0
  lea    0x40(%rsp),%rdi
  lea    D175(%rip),%rsi
  addss  %xmm0,%xmm2
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm0,0x18(%rsp)
  cvtsd2ss %xmm1,%xmm1
  addss  %xmm1,%xmm2
  movss  %xmm1,0x10(%rsp)
  movss  %xmm2,0xc(%rsp)
  call   <strcpy@plt>
  movsd  0x18(%rsp),%xmm0
  mov    $0x1,%eax
  lea    D111(%rip),%rdi
  call   <printf@plt>
  movss  0x10(%rsp),%xmm1
  pxor   %xmm3,%xmm3
  lea    D32(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm1,%xmm3
  movapd %xmm3,%xmm0
  movsd  %xmm3,0x18(%rsp)
  call   <printf@plt>
  movss  0xc(%rsp),%xmm2
  mov    $0x1,%eax
  lea    D99(%rip),%rdi
  cvtss2sd %xmm2,%xmm2
  movapd %xmm2,%xmm0
  movsd  %xmm2,0x10(%rsp)
  call   <printf@plt>
  mov    $0x1823,%edx
  lea    D53(%rip),%rsi
  xor    %eax,%eax
  lea    D86(%rip),%rdi
  call   <printf@plt>
  mov    0x2c(%rsp),%esi
  pxor   %xmm1,%xmm1
  mov    %rbp,%rdi
  movss  0x34(%rsp),%xmm0
  pxor   %xmm4,%xmm4
  mov    $0x2,%eax
  cvtsi2ss %esi,%xmm1
  cvtsi2ssl 0x30(%rsp),%xmm4
  mulss  0x38(%rsp),%xmm4
  mulss  %xmm0,%xmm1
  cvtss2sd %xmm0,%xmm0
  movss  %xmm4,0xc(%rsp)
  cvtss2sd %xmm1,%xmm1
  call   <printf@plt>
  mov    0x30(%rsp),%esi
  mov    %rbp,%rdi
  movss  0xc(%rsp),%xmm4
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  mov    $0x2,%eax
  cvtss2sd 0x38(%rsp),%xmm0
  cvtss2sd %xmm4,%xmm1
  call   <printf@plt>
  lea    D113(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x3c(%rsp),%xmm0
  call   <printf@plt>
  movsd  0x18(%rsp),%xmm3
  mov    $0x1,%eax
  lea    D42(%rip),%rdi
  movapd %xmm3,%xmm0
  call   <printf@plt>
  movsd  0x10(%rsp),%xmm2
  mov    $0x1,%eax
  lea    D97(%rip),%rdi
  movapd %xmm2,%xmm0
  call   <printf@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0x78,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  ret
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D30
data_type: string
name: unpack_data
arguments: tag: D26
data_type: string
name: unpack_data
arguments: tag: D34
data_type: string
name: unpack_data
arguments: tag: D60
data_type: string
name: unpack_data
arguments: tag: D103
data_type: string
name: unpack_data
arguments: tag: D8
data_type: string
name: unpack_data
arguments: tag: D164
data_type: string
name: unpack_data
arguments: tag: D156
data_type: string
name: unpack_data
arguments: tag: D102
data_type: f64
name: unpack_data
arguments: tag: D175
data_type: string
name: unpack_data
arguments: tag: D111
data_type: string
name: unpack_data
arguments: tag: D32
data_type: string
name: unpack_data
arguments: tag: D99
data_type: string
name: unpack_data
arguments: tag: D53
data_type: string
name: unpack_data
arguments: tag: D86
data_type: string
name: unpack_data
arguments: tag: D113
data_type: string
name: unpack_data
arguments: tag: D42
data_type: string
name: unpack_data
arguments: tag: D97
data_type: string

tool: D30: Enter the quantity of Item 1: 

tool: D26: %d

tool: D34: %f

tool: D60: Enter the price of Item 1: 

tool: D103: Enter the quantity of item 2: 

tool: D8: Enter the price of item 2: 

tool: D164: Enter the tax rate: 

tool: D156: Item %.2f @ %d Per Item      %.2f


tool: D102: 100

tool: D175: THE_COMAPNY

tool: D111: Pretax total is %.2f


tool: D32: Tax dollars is %.2f


tool: D99: Total_cost is %.2f


tool: D53: THE COMPANY

tool: D86: %s
 %d


tool: D113: Tax Rate:                   %.2f


tool: D42: Tax Dollars:                %.2f


tool: D97: Total cost:                 %.2f


assistant: ```c
int main() {
  int item1;
  int item2;
  float price1;
  float price2;
  float tax_percent = 8.5;
  float pretax_cost = 200.0;
  float tax_dollars = (tax_percent / 100.0) * pretax_cost;
  float total_cost = pretax_cost + tax_dollars;
  char name[30];
  int invoicenumber;
  float itemcost1;
  float itemcost2;
  invoicenumber = 6179;
  printf("Enter the quantity of Item 1: ", item1);
  scanf("%d", &item1);
  printf("Enter the price of Item 1: ", price1);
  scanf("%f", &price1);
  printf("Enter the quantity of item 2: ", item2);
  scanf("%d", &item2);
  printf("Enter the price of item 2: ", price2);
  scanf("%f", &price2);
  printf("Enter the tax rate: ", tax_percent);
  scanf("%f", &tax_percent);
  pretax_cost = (item1 * price1) + (item2 * price2);
  tax_dollars = (tax_percent / 100.0) * pretax_cost;
  total_cost = pretax_cost + tax_dollars;
  strcpy(name, "THE_COMAPNY");
  printf("Pretax total is %.2f\n", pretax_cost);
  printf("Tax dollars is %.2f\n", tax_dollars);
  printf("Total_cost is %.2f\n", total_cost);
  printf("%s\n %d\n", "THE COMPANY", invoicenumber);
  itemcost1 = price1 * item1;
  itemcost2 = price2 * item2;
  printf("Item %.2f @ %d Per Item      %.2f\n", price1, item1, itemcost1);
  printf("Item %.2f @ %d Per Item      %.2f\n", price2, item2, itemcost2);
  printf("Tax Rate:                   %.2f\n", tax_percent);
  printf("Tax Dollars:                %.2f\n", tax_dollars);
  printf("Total cost:                 %.2f\n", total_cost);
  return 0;
}
```