user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbx
  lea    D133(%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     L147
  lea    -0xa(%rax),%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D94(%rip),%xmm0
  addsd  D31(%rip),%xmm0
L137:
  pxor   %xmm1,%xmm1
  pxor   %xmm2,%xmm2
  cvtsi2sdl (%rsp),%xmm2
  cvtsi2sd %eax,%xmm1
  divsd  %xmm2,%xmm1
  movsd  D18(%rip),%xmm2
  subsd  D190(%rip),%xmm1
  mulsd  D81(%rip),%xmm1
  comisd %xmm2,%xmm1
  jbe    L139
  pxor   %xmm3,%xmm3
  movq   %xmm0,%rbx
  comisd %xmm1,%xmm3
  jae    L58
L139:
  comisd %xmm1,%xmm2
  movsd  D2(%rip),%xmm2
  jb     L59
  comisd %xmm2,%xmm1
  jbe    L59
  movsd  D171(%rip),%xmm5
  mulsd  %xmm0,%xmm5
  movq   %xmm5,%rbx
  nop
L58:
  lea    D112(%rip),%rdi
  call   <printf@plt>
  movq   %rbx,%xmm0
  lea    D89(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L105
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbx
  ret
L59:
  comisd %xmm1,%xmm2
  movsd  D92(%rip),%xmm2
  jae    L134
L168:
  comisd %xmm1,%xmm2
  jb     L183
  movsd  D102(%rip),%xmm4
  mulsd  %xmm0,%xmm4
  movq   %xmm4,%rbx
  jmp    L58
  nopl   0x0(%rax)
L147:
  lea    -0x15(%rax),%edx
  cmp    $0x1d,%edx
  ja     L110
  lea    -0x14(%rax),%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D24(%rip),%xmm0
  addsd  D176(%rip),%xmm0
  jmp    L137
L110:
  cmp    $0x32,%eax
  jle    L163
  lea    -0x32(%rax),%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D67(%rip),%xmm0
  addsd  D117(%rip),%xmm0
  jmp    L137
L134:
  comisd %xmm2,%xmm1
  jbe    L168
  movsd  D185(%rip),%xmm6
  mulsd  %xmm0,%xmm6
  movq   %xmm6,%rbx
  jmp    L58
L183:
  movsd  D132(%rip),%xmm2
  comisd %xmm1,%xmm2
  ja     L54
  comisd %xmm2,%xmm1
  jb     L58
  movapd %xmm0,%xmm7
  addsd  %xmm0,%xmm7
  movq   %xmm7,%rbx
  jmp    L58
L54:
  movsd  D4(%rip),%xmm7
  mulsd  %xmm0,%xmm7
  movq   %xmm7,%rbx
  jmp    L58
L105:
  call   <__stack_chk_fail@plt>
L163:
  movsd  D31(%rip),%xmm0
  jmp    L137
```

tool_calls: name: unpack_data
arguments: data_label: D133
type_guessed: string
name: unpack_data
arguments: data_label: D94
type_guessed: f64
name: unpack_data
arguments: data_label: D31
type_guessed: f64
name: unpack_data
arguments: data_label: D18
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D190
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D81
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D2
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D171
type_guessed: f64
name: unpack_data
arguments: data_label: D112
type_guessed: string
name: unpack_data
arguments: data_label: D89
type_guessed: string
name: unpack_data
arguments: data_label: D92
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D102
type_guessed: f64
name: unpack_data
arguments: data_label: D24
type_guessed: f64
name: unpack_data
arguments: data_label: D176
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D67
type_guessed: f64
name: unpack_data
arguments: data_label: D117
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D185
type_guessed: f64
name: unpack_data
arguments: data_label: D132
type_guessed: byte[8]
name: unpack_data
arguments: data_label: D4
type_guessed: f64

tool: D133: %d %d

tool: D94: 2.41

tool: D31: 17.34

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

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

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

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

tool: D171: 0.9

tool: D112: Valor original = %.2lf


tool: D89: Valor final = %.2lf


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

tool: D102: 0.7

tool: D24: 3.7

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

tool: D67: 4.43

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

tool: D185: 0.8

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

tool: D4: 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;
}
```