user: What would the C source look like for the assembly code provided here?

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movsd  D142(%rip),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  jmp    L187
L148:
  movsd  -0x38(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L184
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jne    L184
  movsd  -0x30(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L184
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jne    L184
  movsd  -0x28(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L184
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  je     L72
L184:
  movsd  -0x28(%rbp),%xmm0
  movsd  D53(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  D142(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x30(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x28(%rbp),%xmm0
  movsd  D7(%rip),%xmm3
  movapd %xmm0,%xmm2
  divsd  %xmm3,%xmm2
  movsd  D142(%rip),%xmm0
  addsd  %xmm0,%xmm2
  movsd  -0x30(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  D193(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movsd  -0x10(%rbp),%xmm0
  comisd D7(%rip),%xmm0
  jbe    L168
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L87
L168:
  movsd  -0x10(%rbp),%xmm0
  comisd D166(%rip),%xmm0
  jb     L195
  lea    D108(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L87
L195:
  movsd  -0x10(%rbp),%xmm0
  comisd D22(%rip),%xmm0
  jb     L101
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L87
L101:
  movsd  -0x10(%rbp),%xmm0
  comisd D147(%rip),%xmm0
  jb     L190
  lea    D40(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L87
L190:
  movsd  -0x10(%rbp),%xmm0
  movsd  D142(%rip),%xmm1
  comisd %xmm1,%xmm0
  jb     L87
  lea    D182(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L87:
  movsd  -0x38(%rbp),%xmm1
  movsd  -0x30(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x28(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x18(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x20(%rbp),%xmm1
  movsd  D142(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
L187:
  lea    -0x28(%rbp),%rcx
  lea    -0x30(%rbp),%rdx
  lea    -0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  test   %rax,%rax
  jne    L148
  jmp    L92
L72:
  nop
L92:
  movsd  -0x18(%rbp),%xmm0
  divsd  -0x20(%rbp),%xmm0
  comisd D166(%rip),%xmm0
  jbe    L12
  lea    D176(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L12:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L137
  call   <__stack_chk_fail@plt>
L137:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D142
type_guessed: f64
name: disassemble_data
arguments: data_tag: D53
type_guessed: f32[2]
name: disassemble_data
arguments: data_tag: D7
type_guessed: f32[4]
name: disassemble_data
arguments: data_tag: D193
type_guessed: f32[2]
name: disassemble_data
arguments: data_tag: D66
type_guessed: string
name: disassemble_data
arguments: data_tag: D166
type_guessed: f32[4]
name: disassemble_data
arguments: data_tag: D108
type_guessed: string
name: disassemble_data
arguments: data_tag: D22
type_guessed: f32[4]
name: disassemble_data
arguments: data_tag: D86
type_guessed: string
name: disassemble_data
arguments: data_tag: D147
type_guessed: f32
name: disassemble_data
arguments: data_tag: D40
type_guessed: string
name: disassemble_data
arguments: data_tag: D182
type_guessed: string
name: disassemble_data
arguments: data_tag: D27
type_guessed: string
name: disassemble_data
arguments: data_tag: D176
type_guessed: string

tool: D142: 1

tool: {"D53": [0.0,2.96875]}

tool: {"D7": [0.0,3.21875,0.0,2.0]}

tool: {"D193": [0.0,2.0]}

tool: D66: AQUI E BODYBUILDER!!


tool: {"D166": [0.0,3.0625,0.0,2.6875]}

tool: D108: Ta saindo da jaula o monstro!


tool: {"D22": [0.0,2.6875,0.0,2.65625]}

tool: D86: Bora, hora do show! BIIR!


tool: D147: 0

tool: D40: E 13


tool: D182: Nao vai da nao


tool: D27: %lf%lf%lf

tool: D176: 

Aqui nois constroi fibra rapaz! Nao e agua com musculo!


assistant: ```c
int main() {
  double w1, w2, r, d, e = 1, total = 0;
  while (scanf("%lf%lf%lf", &w1, &w2, &r)) {
    if (w1 == 0 && w2 == 0 && r == 0) {
      break;
    }
    d = (w2 * (1 + r / 30) + w2 * (1 + r / 60)) / 2;
    if (d > 60) {
      printf("AQUI E BODYBUILDER!!\n");
    } else if (d >= 40) {
      printf("Ta saindo da jaula o monstro!\n");
    } else if (d >= 14) {
      printf("Bora, hora do show! BIIR!\n");
    } else if (d >= 13) {
      printf("E 13\n");
    } else if (d >= 1) {
      printf("Nao vai da nao\n");
    }
    total += (w1 + w2 + r);
    e++;
  }
  if ((total / e) > 40) {
    printf("\n\nAqui nois constroi fibra rapaz! Nao e agua com musculo!\n");
  }
  return 0;
}
```