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

```asm
<main>:
  endbr64
  push   %rbx
  lea    D84(%rip),%rdi
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%rdx
  mov    %rsp,%rsi
  call   <scanf@plt>
  mov    0x4(%rsp),%eax
  lea    -0xb(%rax),%edx
  cmp    $0x9,%edx
  ja     L22
  lea    -0xa(%rax),%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D180(%rip),%xmm0
  addsd  D192(%rip),%xmm0
L193:
  pxor   %xmm1,%xmm1
  pxor   %xmm2,%xmm2
  cvtsi2sdl (%rsp),%xmm2
  cvtsi2sd %eax,%xmm1
  divsd  %xmm2,%xmm1
  movsd  D199(%rip),%xmm2
  subsd  D189(%rip),%xmm1
  mulsd  D16(%rip),%xmm1
  comisd %xmm2,%xmm1
  jbe    L60
  pxor   %xmm3,%xmm3
  movq   %xmm0,%rbx
  comisd %xmm1,%xmm3
  jae    L100
L60:
  comisd %xmm1,%xmm2
  movsd  D152(%rip),%xmm2
  jb     L66
  comisd %xmm2,%xmm1
  jbe    L66
  movsd  D162(%rip),%xmm5
  mulsd  %xmm0,%xmm5
  movq   %xmm5,%rbx
  nop
L100:
  lea    D166(%rip),%rdi
  call   <printf@plt>
  movq   %rbx,%xmm0
  lea    D186(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbx
  ret
L66:
  comisd %xmm1,%xmm2
  movsd  D37(%rip),%xmm2
  jae    L49
L111:
  comisd %xmm1,%xmm2
  jb     L17
  movsd  D43(%rip),%xmm4
  mulsd  %xmm0,%xmm4
  movq   %xmm4,%rbx
  jmp    L100
  nopl   0x0(%rax)
L22:
  lea    -0x15(%rax),%edx
  cmp    $0x1d,%edx
  ja     L155
  lea    -0x14(%rax),%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D13(%rip),%xmm0
  addsd  D137(%rip),%xmm0
  jmp    L193
L155:
  cmp    $0x32,%eax
  jle    L168
  lea    -0x32(%rax),%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D66(%rip),%xmm0
  addsd  D147(%rip),%xmm0
  jmp    L193
L49:
  comisd %xmm2,%xmm1
  jbe    L111
  movsd  D131(%rip),%xmm6
  mulsd  %xmm0,%xmm6
  movq   %xmm6,%rbx
  jmp    L100
L17:
  movsd  D72(%rip),%xmm2
  comisd %xmm1,%xmm2
  ja     L34
  comisd %xmm2,%xmm1
  jb     L100
  movapd %xmm0,%xmm7
  addsd  %xmm0,%xmm7
  movq   %xmm7,%rbx
  jmp    L100
L34:
  movsd  D3(%rip),%xmm7
  mulsd  %xmm0,%xmm7
  movq   %xmm7,%rbx
  jmp    L100
L8:
  call   <__stack_chk_fail@plt>
L168:
  movsd  D192(%rip),%xmm0
  jmp    L193
```

tool_calls: name: retrieve_data
arguments: label: D84
type_infered: string
name: retrieve_data
arguments: label: D180
type_infered: f64
name: retrieve_data
arguments: label: D192
type_infered: f64
name: retrieve_data
arguments: label: D199
type_infered: byte[8]
name: retrieve_data
arguments: label: D189
type_infered: byte[8]
name: retrieve_data
arguments: label: D16
type_infered: byte[8]
name: retrieve_data
arguments: label: D152
type_infered: byte[8]
name: retrieve_data
arguments: label: D162
type_infered: f64
name: retrieve_data
arguments: label: D166
type_infered: string
name: retrieve_data
arguments: label: D186
type_infered: string
name: retrieve_data
arguments: label: D37
type_infered: byte[8]
name: retrieve_data
arguments: label: D43
type_infered: f64
name: retrieve_data
arguments: label: D13
type_infered: f64
name: retrieve_data
arguments: label: D137
type_infered: byte[8]
name: retrieve_data
arguments: label: D66
type_infered: f64
name: retrieve_data
arguments: label: D147
type_infered: byte[8]
name: retrieve_data
arguments: label: D131
type_infered: f64
name: retrieve_data
arguments: label: D72
type_infered: byte[8]
name: retrieve_data
arguments: label: D3
type_infered: f64

tool: D84: %d %d

tool: D180: 2.41

tool: D192: 17.34

tool: {"D199": [0x00,0x00,0x00,0x00,0x00,0x00,0x24,0xc0]}

tool: {"D189": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D16": [0x00,0x00,0x00,0x00,0x00,0x00,0x59,0x40]}

tool: {"D152": [0x00,0x00,0x00,0x00,0x00,0x00,0x2e,0xc0]}

tool: D162: 0.9

tool: D166: Valor original = %.2lf


tool: D186: Valor final = %.2lf


tool: {"D37": [0x00,0x00,0x00,0x00,0x00,0x00,0x34,0xc0]}

tool: D43: 0.7

tool: D13: 3.7

tool: {"D137": [0xb8,0x1e,0x85,0xeb,0x51,0xb8,0x44,0x40]}

tool: D66: 4.43

tool: {"D147": [0xae,0x47,0xe1,0x7a,0x14,0x0e,0x63,0x40]}

tool: D131: 0.8

tool: {"D72": [0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x40]}

tool: D3: 1.4

assistant: ```c
int main() {
  int consumo1, consumo2;
  double var, valori, valorf;
  scanf("%d %d", &consumo1, &consumo2);
  valori = 17.34;
  if ((consumo2 > 10) && (consumo2 <= 20)) {
    valori = valori + (consumo2 - 10) * 2.41;
  }
  if ((consumo2 > 20) && (consumo2 <= 50)) {
    valori = valori + 10 * 2.41;
    valori = valori + (consumo2 - 20) * 3.70;
  }
  if (consumo2 > 50) {
    valori = valori + 10 * 2.41 + 30 * 3.70;
    valori = valori + (consumo2 - 50) * 4.43;
  }
  var = (double)consumo2 / consumo1;
  var = (var - 1) * 100;
  if ((var > -10) && (var <= 0))
    valorf = valori;
  else if ((var <= -10) && (var > -15))
    valorf = valori * 0.9;
  else if ((var <= -15) && (var > -20))
    valorf = valori * 0.8;
  else if (var <= -20)
    valorf = valori * 0.7;
  else if (var < 20)
    valorf = valori * 1.4;
  else if (var >= 20)
    valorf = valori * 2;
  printf("Valor original = %.2lf\n", valori);
  printf("Valor final = %.2lf\n", valorf);
  return 0;
}
```