user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D0(%rip),%rdi
  call   <puts@plt>
  lea    0x14(%rsp),%rsi
  lea    D7(%rip),%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x28,%eax
  jg     L64
  imul   $0xa,%eax,%eax
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movsd  %xmm6,(%rsp)
L17:
  movsd  D87(%rip),%xmm0
  movsd  (%rsp),%xmm3
  comisd %xmm3,%xmm0
  jb     L33
  mulsd  D83(%rip),%xmm3
  movsd  %xmm3,0x8(%rsp)
L27:
  movsd  (%rsp),%xmm0
  lea    D53(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm0
  lea    D131(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  (%rsp),%xmm2
  subsd  0x8(%rsp),%xmm2
  movapd %xmm2,%xmm0
  lea    D71(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L12
  mov    $0x0,%eax
  add    $0x28,%rsp
  ret
L64:
  lea    -0x28(%rax),%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D134(%rip),%xmm0
  imul   $0xa,%eax,%eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rsp)
  jmp    L17
L33:
  movsd  D115(%rip),%xmm0
  movsd  (%rsp),%xmm5
  comisd %xmm5,%xmm0
  jb     L28
  subsd  D87(%rip),%xmm5
  movapd %xmm5,%xmm0
  mulsd  D116(%rip),%xmm0
  addsd  D65(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  jmp    L27
L28:
  movsd  (%rsp),%xmm0
  subsd  D115(%rip),%xmm0
  mulsd  D92(%rip),%xmm0
  addsd  D49(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  jmp    L27
L12:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D0
data_type: string
name: unpack_data
arguments: tag: D7
data_type: string
name: unpack_data
arguments: tag: D87
data_type: byte[8]
name: unpack_data
arguments: tag: D83
data_type: f64
name: unpack_data
arguments: tag: D53
data_type: string
name: unpack_data
arguments: tag: D131
data_type: string
name: unpack_data
arguments: tag: D71
data_type: string
name: unpack_data
arguments: tag: D134
data_type: byte[8]
name: unpack_data
arguments: tag: D115
data_type: byte[8]
name: unpack_data
arguments: tag: D116
data_type: f64
name: unpack_data
arguments: tag: D65
data_type: byte[8]
name: unpack_data
arguments: tag: D92
data_type: f64
name: unpack_data
arguments: tag: D49
data_type: byte[8]

tool: D0: How many hours do you work in a week?

tool: D7: %d

tool: {"D87": [0x00,0x00,0x00,0x00,0x00,0xc0,0x72,0x40]}

tool: D83: 0.15

tool: D53: Your gross pay: $%.2f


tool: D131: Your taxes: $%.2f


tool: D71: Your net pay: $%.2f


tool: {"D134": [0x00,0x00,0x00,0x00,0x00,0x00,0x2e,0x40]}

tool: {"D115": [0x00,0x00,0x00,0x00,0x00,0x20,0x7c,0x40]}

tool: D116: 0.2

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

tool: D92: 0.25

tool: {"D49": [0x00,0x00,0x00,0x00,0x00,0xc0,0x52,0x40]}

assistant: ```c
int main(void) {
  int hours;
  double gross, tax, net;
  printf("How many hours do you work in a week?\n");
  scanf("%d", &hours);
  if (hours <= 40)
    gross = 10 * hours;
  else
    gross = 10 * hours + 1.5 * 10 * (hours - 40);
  if (gross <= 300)
    tax = gross * 0.15;
  else if (gross <= 450)
    tax = 300 * 0.15 + (gross - 300) * 0.20;
  else
    tax = 300 * 0.15 + (450 - 300) * 0.20 + (gross - 450) * 0.25;
  net = gross - tax;
  printf("Your gross pay: $%.2f\n", gross);
  printf("Your taxes: $%.2f\n", tax);
  printf("Your net pay: $%.2f\n", net);
  return 0;
}
```