user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  mov    %edi,-0xc4(%rbp)
  mov    %rsi,-0xd0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x90(%rbp),%rax
  mov    $0x80,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x90(%rbp),%rax
  mov    %rax,%rdi
  call   <getCookie@plt>
  test   %rax,%rax
  je     L33
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L21
L33:
  movq   $0x0,-0x98(%rbp)
  movq   $0x0,-0xa0(%rbp)
  lea    D73(%rip),%rax
  mov    %rax,%rdi
  call   <getenv@plt>
  mov    %rax,-0x98(%rbp)
  cmpq   $0x0,-0x98(%rbp)
  je     L84
  mov    -0x98(%rbp),%rax
  lea    D30(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0xa0(%rbp)
L84:
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xb4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xb0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xac(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  lea    -0xb4(%rbp),%rdx
  lea    -0x90(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <getCart__HT@plt>
  mov    %eax,-0xa4(%rbp)
  lea    -0xb0(%rbp),%rdx
  lea    -0x90(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <getCart__TAX@plt>
  mov    %eax,-0xa4(%rbp)
  movss  -0xb4(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  comiss %xmm1,%xmm0
  ja     L54
  movss  -0xb0(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  comiss %xmm1,%xmm0
  jbe    L41
L54:
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L21
L41:
  movss  -0xb4(%rbp),%xmm1
  movss  -0xb0(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  cmpq   $0x0,-0xa0(%rbp)
  je     L25
  movss  -0xa8(%rbp),%xmm1
  movss  D22(%rip),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  movss  -0xa8(%rbp),%xmm0
  cvttss2si %xmm0,%eax
  mov    %eax,%esi
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L21
L25:
  pxor   %xmm2,%xmm2
  cvtss2sd -0xa8(%rbp),%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L21:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L75
  call   <__stack_chk_fail@plt>
L75:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_label: D48
datatype: string
name: read_data
arguments: data_label: D13
datatype: string
name: read_data
arguments: data_label: D73
datatype: string
name: read_data
arguments: data_label: D30
datatype: string
name: read_data
arguments: data_label: D22
datatype: byte[4]
name: read_data
arguments: data_label: D46
datatype: string
name: read_data
arguments: data_label: D38
datatype: string

tool: D48: Content-Type: text/plain;charset=us-ascii


tool: D13: -

tool: D73: CENTS

tool: D30: TRUE

tool: {"D22": [0x00,0x00,0xc8,0x42]}

tool: D46: %i

tool: D38: %.2f

assistant: ```c
int main(int argc, char **argv) {
  printf("Content-Type: text/plain;charset=us-ascii\n\n");
  char cookie[128];
  memset(cookie, 0, 128);
  if (getCookie(cookie)) {
    printf("-\n");
    goto end;
  }
  char *cents = NULL, *ptr_cents = NULL;
  cents = getenv("CENTS");
  if (cents)
    ptr_cents = strstr(cents, "TRUE");
  int ret;
  float f_ht = 0, f_tax = 0, f_shipping = 0, f_total = 0;
  ret = getCart__HT(cookie, &f_ht);
  ret = getCart__TAX(cookie, &f_tax);
  if (f_ht < 0 || f_tax < 0) {
    printf("-\n");
    goto end;
  } else {
    f_total = f_ht + f_tax;
  }
  if (ptr_cents) {
    f_total *= 100;
    printf("%i", (int)f_total);
  } else {
    printf("%.2f", f_total);
  }
end:
  return 0;
}
```