int main(void) {
  int parada, n, x, horas;
  float horainicial, mininicial, kminicial, kmtrecho, distancia, kmpara,
      kmrestante, km0, kmpercorrido, horaparada, minparada, abast,
      abastacumulado, tempoviagem, tempoinicial, tempoparada, tempo0, vm,
      previsao, consumo, consumot, vmt, minutos;
  printf("\n\n\n\n");
  printf("INSTRUCOES: \nConsidere que a viagem será realizada dentro de um "
         "dia, ou seja, não ultrapassará 24 hrs.\nConsidere que o carro inicia "
         "a viagem com o tanque abastecido e a cada parada para abastecimento "
         "ele complete o tanque. \nDigite primeiramente a hora, e depois os "
         "minutos separadamente.\n\n");
  do {
    printf("Informe a hora de saida (H):\n");
    scanf("%g", &horainicial);
  } while (horainicial < 0 || horainicial >= 24);
  do {
    printf("E os minutos (M)?\n");
    scanf("%g", &mininicial);
  } while (mininicial >= 60 || mininicial < 0);
  do {
    printf("Informe a kilometragem atual em km:\n");
    scanf("%g", &kminicial);
  } while (kminicial < 0);
  do {
    printf("Informe qual a distancia total ate o seu  destino em km:\n");
    scanf("%g", &distancia);
  } while (distancia <= 0);
  printf("\n\n");
  tempoinicial = mininicial / 60.0 + horainicial;
  printf("Boa Viagem!\n\nInserir dados da parada de abastecimento!\n\n\7");
  n = 2;
  parada = 0;
  km0 = kminicial;
  tempo0 = tempoinicial;
  abastacumulado = 0.0;
  while (n == 2) {
    parada = parada + 1;
    printf("Essa e a parada de numero: %d\n", parada);
    do {
      printf("Informe a hora da parada (H):\n");
      scanf("%g", &horaparada);
      printf("E os minutos (M)?\n");
      scanf("%g", &minparada);
      tempoparada = minparada / 60.0 + horaparada;
    } while (tempo0 > tempoparada);
    do {
      printf("Informe a kilometragem atual em km:\n");
      scanf("%g", &kmpara);
    } while (kmpara < km0 || kmpara > (distancia + kminicial));
    do {
      printf("Informe a quantidade de litros de combustivel abastecido:\n ");
      scanf("%g", &abast);
    } while (abast <= 0);
    tempoviagem = tempoparada - tempo0;
    kmtrecho = kmpara - km0;
    vm = kmtrecho / tempoviagem;
    consumo = kmtrecho / abast;
    abastacumulado = abastacumulado + abast;
    kmpercorrido = kmpercorrido + kmtrecho;
    kmrestante = distancia - kmpercorrido;
    previsao = kmrestante / vm;
    horas = previsao;
    x = (previsao - horas) * 60;
    minutos = x;
    printf("Relatorio Parcial: \n\nVelocidade media: %g km/h \n", vm);
    printf("Consumo: %g km/l \n", consumo);
    printf("Previsao de chegada daqui a %d hora(s)", horas);
    printf(" e %g minuto(s) \n\n", minutos);
    km0 = km0 + kmtrecho;
    tempo0 = tempo0 + tempoviagem;
    do {
      printf("Esta é sua ultima parada? para sim pressione 1 / para nao "
             "pressione 2.\n");
      scanf("%d", &n);
    } while (n < 1 || n > 2);
    printf("\n\n");
  }
  vmt = distancia / (tempo0 - tempoinicial);
  consumot = distancia / abastacumulado;
  printf("Relatorio Final \n\n");
  printf("Velocidade media final: %g km/h \n", vmt);
  printf("Consumo final: %g km/l \n", consumot);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xece(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
lea    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    $0x1,%al
xorps  %xmm0,%xmm0
ucomiss -0x18(%rbp),%xmm0
mov    %al,-0x71(%rbp)
ja     1196 <main+0x76>
movss  -0x18(%rbp),%xmm0
movss  0xe73(%rip),%xmm1
ucomiss %xmm1,%xmm0
setae  %al
mov    %al,-0x71(%rbp)
mov    -0x71(%rbp),%al
test   $0x1,%al
jne    114e <main+0x2e>
jmp    11a6 <main+0x86>
lea    0xfae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9d(%rip),%rdi
lea    -0x1c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movss  -0x1c(%rbp),%xmm0
mov    $0x1,%al
movss  0xe2f(%rip),%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0x72(%rbp)
jae    11ee <main+0xce>
xorps  %xmm0,%xmm0
ucomiss -0x1c(%rbp),%xmm0
seta   %al
mov    %al,-0x72(%rbp)
mov    -0x72(%rbp),%al
test   $0x1,%al
jne    11a6 <main+0x86>
jmp    11fe <main+0xde>
lea    0xf69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf45(%rip),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
ucomiss -0x20(%rbp),%xmm0
ja     11fe <main+0xde>
jmp    1230 <main+0x110>
lea    0xf5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
lea    -0x28(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
ucomiss -0x28(%rbp),%xmm0
jae    1230 <main+0x110>
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd8c(%rip),%xmm1
divsd  %xmm1,%xmm0
movss  -0x18(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp)
lea    0xf30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x2,-0xc(%rbp)
movl   $0x0,-0x8(%rbp)
movss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x48(%rbp)
cmpl   $0x2,-0xc(%rbp)
jne    1574 <main+0x454>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%esi
lea    0xf1c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe51(%rip),%rdi
lea    -0x3c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe31(%rip),%rdi
lea    -0x40(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcc5(%rip),%xmm1
divsd  %xmm1,%xmm0
movss  -0x3c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x58(%rbp),%xmm0
ucomiss -0x54(%rbp),%xmm0
ja     12f2 <main+0x1d2>
jmp    1371 <main+0x251>
lea    0xdf6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdd2(%rip),%rdi
lea    -0x2c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movss  -0x2c(%rbp),%xmm1
movss  -0x34(%rbp),%xmm0
mov    $0x1,%al
ucomiss %xmm1,%xmm0
mov    %al,-0x73(%rbp)
ja     13c1 <main+0x2a1>
movss  -0x2c(%rbp),%xmm0
movss  -0x28(%rbp),%xmm1
addss  -0x20(%rbp),%xmm1
ucomiss %xmm1,%xmm0
seta   %al
mov    %al,-0x73(%rbp)
mov    -0x73(%rbp),%al
test   $0x1,%al
jne    1371 <main+0x251>
jmp    13d1 <main+0x2b1>
lea    0xe6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd72(%rip),%rdi
lea    -0x44(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
ucomiss -0x44(%rbp),%xmm0
jae    13d1 <main+0x2b1>
movss  -0x54(%rbp),%xmm0
subss  -0x58(%rbp),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x2c(%rbp),%xmm0
subss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x24(%rbp)
movss  -0x24(%rbp),%xmm0
divss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x24(%rbp),%xmm0
divss  -0x44(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x48(%rbp),%xmm0
addss  -0x44(%rbp),%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x38(%rbp),%xmm0
addss  -0x24(%rbp),%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x28(%rbp),%xmm0
subss  -0x38(%rbp),%xmm0
movss  %xmm0,-0x30(%rbp)
movss  -0x30(%rbp),%xmm0
divss  -0x5c(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
cvttss2si -0x60(%rbp),%eax
mov    %eax,-0x14(%rbp)
movss  -0x60(%rbp),%xmm0
cvtsi2ssl -0x14(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  0xb70(%rip),%xmm1
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%eax
mov    %eax,-0x10(%rbp)
cvtsi2ssl -0x10(%rbp),%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0x5c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdc8(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x64(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xde2(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xde4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x70(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdf4(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x34(%rbp),%xmm0
addss  -0x24(%rbp),%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x58(%rbp),%xmm0
addss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
lea    0xddb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe16(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    $0x1,%al
cmpl   $0x1,-0xc(%rbp)
mov    %al,-0x74(%rbp)
jl     1556 <main+0x436>
cmpl   $0x2,-0xc(%rbp)
setg   %al
mov    %al,-0x74(%rbp)
mov    -0x74(%rbp),%al
test   $0x1,%al
jne    151d <main+0x3fd>
lea    0xaaa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12ce <main+0x1ae>
movss  -0x28(%rbp),%xmm0
movss  -0x58(%rbp),%xmm1
subss  -0x50(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x28(%rbp),%xmm0
divss  -0x48(%rbp),%xmm0
movss  %xmm0,-0x68(%rbp)
lea    0xda9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x6c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xda5(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x68(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdb0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
lea    0x1027(%rip),%rdi
call   1030 <puts@plt>
lea    0x101f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1137(%rip),%r14
lea    0xeb4(%rip),%rbp
lea    0x30(%rsp),%rbx
nopl   0x0(%rax)
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x30(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm0,%xmm1
ja     1170 <main+0x40>
ucomiss 0xe66(%rip),%xmm0
jae    1170 <main+0x40>
lea    0x1177(%rip),%r14
lea    0xe6e(%rip),%rbp
lea    0x2c(%rsp),%rbx
nop
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x2c(%rsp),%xmm0
ucomiss 0xe32(%rip),%xmm0
jae    11b0 <main+0x80>
xorps  %xmm1,%xmm1
ucomiss %xmm0,%xmm1
ja     11b0 <main+0x80>
lea    0x1149(%rip),%r14
lea    0xe2e(%rip),%rbp
lea    0x18(%rsp),%rbx
nop
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
xorps  %xmm0,%xmm0
ucomiss 0x18(%rsp),%xmm0
ja     11f0 <main+0xc0>
lea    0x109b(%rip),%r14
lea    0xdfb(%rip),%rbp
lea    0xc(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
xorps  %xmm0,%xmm0
ucomiss 0xc(%rsp),%xmm0
jae    1230 <main+0x100>
lea    0xf18(%rip),%rdi
call   1030 <puts@plt>
movss  0x2c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
divsd  0xda3(%rip),%xmm0
movss  0x30(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
movss  %xmm0,0x20(%rsp)
lea    0xd8c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movl   $0x2,0x1c(%rsp)
movss  0x18(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
lea    0xd67(%rip),%r12
lea    0x24(%rsp),%r13
lea    0x105d(%rip),%rbx
lea    0x4c(%rsp),%r15
xorps  %xmm0,%xmm0
movss  %xmm0,0x10(%rsp)
movss  0x20(%rsp),%xmm0
movss  %xmm0,0x4(%rsp)
xor    %esi,%esi
nopl   0x0(%rax)
add    $0x1,%esi
lea    0xd6b(%rip),%rdi
mov    %esi,0x40(%rsp)
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rbp
lea    0xffd(%rip),%r14
nop
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x4c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
divsd  0xcd4(%rip),%xmm0
movss  0x24(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
movss  0x4(%rsp),%xmm1
ucomiss %xmm0,%xmm1
ja     1300 <main+0x1d0>
movss  %xmm0,0x14(%rsp)
mov    %r15,%r14
mov    %rbp,%r13
lea    0xfbd(%rip),%rbp
lea    0x28(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x28(%rsp),%xmm0
movss  0x8(%rsp),%xmm1
ucomiss %xmm0,%xmm1
ja     1380 <main+0x250>
movss  0xc(%rsp),%xmm1
addss  0x18(%rsp),%xmm1
ucomiss %xmm1,%xmm0
ja     1380 <main+0x250>
mov    %r14,%rbp
lea    0xcb3(%rip),%rbx
mov    %r12,%r14
lea    0x48(%rsp),%r12
nopl   0x0(%rax)
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x48(%rsp),%xmm2
xorps  %xmm0,%xmm0
ucomiss %xmm2,%xmm0
jae    13d0 <main+0x2a0>
mov    %r14,%r12
movss  0x14(%rsp),%xmm1
subss  0x4(%rsp),%xmm1
movss  0x28(%rsp),%xmm3
subss  0x8(%rsp),%xmm3
movss  %xmm3,0x38(%rsp)
movaps %xmm3,%xmm0
movss  %xmm1,0x14(%rsp)
divss  %xmm1,%xmm0
movaps %xmm3,%xmm1
movss  %xmm2,0x3c(%rsp)
divss  %xmm2,%xmm1
movss  %xmm1,0x34(%rsp)
movss  0x44(%rsp),%xmm1
addss  %xmm3,%xmm1
movss  0xc(%rsp),%xmm2
movss  %xmm1,0x44(%rsp)
subss  %xmm1,%xmm2
divss  %xmm0,%xmm2
cvttss2si %xmm2,%ebx
cvttps2dq %xmm2,%xmm1
cvtdq2ps %xmm1,%xmm1
subss  %xmm1,%xmm2
mulss  0xb99(%rip),%xmm2
movaps %xmm2,0x50(%rsp)
cvtss2sd %xmm0,%xmm0
lea    0xc35(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x34(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xc4e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xc53(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cvttps2dq 0x50(%rsp),%xmm0
cvtdq2pd %xmm0,%xmm0
lea    0xc60(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x8(%rsp),%xmm0
addss  0x38(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
lea    0xe75(%rip),%r14
lea    0xc4c(%rip),%rbx
lea    0x1c(%rsp),%r15
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    0x1c(%rsp),%eax
add    $0xfffffffd,%eax
cmp    $0xfffffffe,%eax
jb     14f0 <main+0x3c0>
movss  0x10(%rsp),%xmm0
addss  0x3c(%rsp),%xmm0
movss  %xmm0,0x10(%rsp)
movss  0x4(%rsp),%xmm0
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x4(%rsp)
lea    0xc32(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x2,0x1c(%rsp)
mov    0x40(%rsp),%esi
mov    %r13,%rbx
mov    %rbp,%r15
lea    0x24(%rsp),%r13
je     12e0 <main+0x1b0>
movss  0xc(%rsp),%xmm1
movss  0x4(%rsp),%xmm0
subss  0x20(%rsp),%xmm0
movaps %xmm1,%xmm2
divss  %xmm0,%xmm2
movss  %xmm2,0x4(%rsp)
divss  0x10(%rsp),%xmm1
movss  %xmm1,0x8(%rsp)
lea    0xd5d(%rip),%rdi
call   1030 <puts@plt>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xb8e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xb98(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"\0A\0A\0A\0A\00"
@.str.1 = [293 x i8] c"INSTRUCOES: \0AConsidere que a viagem ser\C3\A1 realizada dentro de um dia, ou seja, n\C3\A3o ultrapassar\C3\A1 24 hrs.\0AConsidere que o carro inicia a viagem com o tanque abastecido e a cada parada para abastecimento ele complete o tanque. \0ADigite primeiramente a hora, e depois os minutos separadamente.\0A\0A\00"
@.str.2 = [30 x i8] c"Informe a hora de saida (H):\0A\00"
@.str.3 = [3 x i8] c"%g\00"
@.str.4 = [19 x i8] c"E os minutos (M)?\0A\00"
@.str.5 = [37 x i8] c"Informe a kilometragem atual em km:\0A\00"
@.str.6 = [58 x i8] c"Informe qual a distancia total ate o seu destino em km:\0A\00"
@.str.7 = [3 x i8] c"\0A\0A\00"
@.str.8 = [58 x i8] c"Boa Viagem!\0A\0AInserir dados da parada de abastecimento!\0A\0A\07\00"
@.str.9 = [31 x i8] c"Essa e a parada de numero: %d\0A\00"
@.str.10 = [31 x i8] c"Informe a hora da parada (H):\0A\00"
@.str.11 = [60 x i8] c"Informe a quantidade de litros de combustivel abastecido:\0A \00"
@.str.12 = [49 x i8] c"Relatorio Parcial: \0A\0AVelocidade media: %g km/h \0A\00"
@.str.13 = [19 x i8] c"Consumo: %g km/l \0A\00"
@.str.14 = [39 x i8] c"Previsao de chegada daqui a %d hora(s)\00"
@.str.15 = [19 x i8] c" e %g minuto(s) \0A\0A\00"
@.str.16 = [73 x i8] c"Esta \C3\A9 sua ultima parada? para sim pressione 1 / para nao pressione 2.\0A\00"
@.str.17 = [3 x i8] c"%d\00"
@.str.18 = [19 x i8] c"Relatorio Final \0A\0A\00"
@.str.19 = [34 x i8] c"Velocidade media final: %g km/h \0A\00"
@.str.20 = [25 x i8] c"Consumo final: %g km/l \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = alloca float
%26 = alloca float
%27 = alloca float
%28 = alloca float
store i32 0, i32* %1
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([293 x i8], [293 x i8]* @.str.1, i64 0, i64 0))
br label %31
31: ; preds = %40, %0
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0))
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %6)
br label %34
34: ; preds = %31
%35 = load float, float* %6
%36 = fcmp olt float %35, 0.000000e+00
br i1 %36, label %40, label %37
37: ; preds = %34
%38 = load float, float* %6
%39 = fcmp oge float %38, 2.400000e+01
br label %40
40: ; preds = %37, %34
%41 = phi i1 [ true, %34 ], [ %39, %37 ]
br i1 %41, label %31, label %42
42: ; preds = %40
br label %43
43: ; preds = %52, %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0))
%45 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %7)
br label %46
46: ; preds = %43
%47 = load float, float* %7
%48 = fcmp oge float %47, 6.000000e+01
br i1 %48, label %52, label %49
49: ; preds = %46
%50 = load float, float* %7
%51 = fcmp olt float %50, 0.000000e+00
br label %52
52: ; preds = %49, %46
%53 = phi i1 [ true, %46 ], [ %51, %49 ]
br i1 %53, label %43, label %54
54: ; preds = %52
br label %55
55: ; preds = %58, %54
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0))
%57 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %8)
br label %58
58: ; preds = %55
%59 = load float, float* %8
%60 = fcmp olt float %59, 0.000000e+00
br i1 %60, label %55, label %61
61: ; preds = %58
br label %62
62: ; preds = %65, %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%64 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %10)
br label %65
65: ; preds = %62
%66 = load float, float* %10
%67 = fcmp ole float %66, 0.000000e+00
br i1 %67, label %62, label %68
68: ; preds = %65
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%70 = load float, float* %7
%71 = fpext float %70 to double
%72 = fdiv double %71, 6.000000e+01
%73 = load float, float* %6
%74 = fpext float %73 to double
%75 = fadd double %72, %74
%76 = fptrunc double %75 to float
store float %76, float* %20
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0))
store i32 2, i32* %3
store i32 0, i32* %2
%78 = load float, float* %8
store float %78, float* %13
%79 = load float, float* %20
store float %79, float* %22
store float 0.000000e+00, float* %18
br label %80
80: ; preds = %190, %68
%81 = load i32, i32* %3
%82 = icmp eq i32 %81, 2
br i1 %82, label %83, label %192
83: ; preds = %80
%84 = load i32, i32* %2
%85 = add nsw i32 %84, 1
store i32 %85, i32* %2
%86 = load i32, i32* %2
%87 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0), i32 %86)
br label %88
88: ; preds = %100, %83
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0))
%90 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %15)
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0))
%92 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %16)
%93 = load float, float* %16
%94 = fpext float %93 to double
%95 = fdiv double %94, 6.000000e+01
%96 = load float, float* %15
%97 = fpext float %96 to double
%98 = fadd double %95, %97
%99 = fptrunc double %98 to float
store float %99, float* %21
br label %100
100: ; preds = %88
%101 = load float, float* %22
%102 = load float, float* %21
%103 = fcmp ogt float %101, %102
br i1 %103, label %88, label %104
104: ; preds = %100
br label %105
105: ; preds = %118, %104
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0))
%107 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %11)
br label %108
108: ; preds = %105
%109 = load float, float* %11
%110 = load float, float* %13
%111 = fcmp olt float %109, %110
br i1 %111, label %118, label %112
112: ; preds = %108
%113 = load float, float* %11
%114 = load float, float* %10
%115 = load float, float* %8
%116 = fadd float %114, %115
%117 = fcmp ogt float %113, %116
br label %118
118: ; preds = %112, %108
%119 = phi i1 [ true, %108 ], [ %117, %112 ]
br i1 %119, label %105, label %120
120: ; preds = %118
br label %121
121: ; preds = %124, %120
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.11, i64 0, i64 0))
%123 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %17)
br label %124
124: ; preds = %121
%125 = load float, float* %17
%126 = fcmp ole float %125, 0.000000e+00
br i1 %126, label %121, label %127
127: ; preds = %124
%128 = load float, float* %21
%129 = load float, float* %22
%130 = fsub float %128, %129
store float %130, float* %19
%131 = load float, float* %11
%132 = load float, float* %13
%133 = fsub float %131, %132
store float %133, float* %9
%134 = load float, float* %9
%135 = load float, float* %19
%136 = fdiv float %134, %135
store float %136, float* %23
%137 = load float, float* %9
%138 = load float, float* %17
%139 = fdiv float %137, %138
store float %139, float* %25
%140 = load float, float* %18
%141 = load float, float* %17
%142 = fadd float %140, %141
store float %142, float* %18
%143 = load float, float* %14
%144 = load float, float* %9
%145 = fadd float %143, %144
store float %145, float* %14
%146 = load float, float* %10
%147 = load float, float* %14
%148 = fsub float %146, %147
store float %148, float* %12
%149 = load float, float* %12
%150 = load float, float* %23
%151 = fdiv float %149, %150
store float %151, float* %24
%152 = load float, float* %24
%153 = fptosi float %152 to i32
store i32 %153, i32* %5
%154 = load float, float* %24
%155 = load i32, i32* %5
%156 = sitofp i32 %155 to float
%157 = fsub float %154, %156
%158 = fmul float %157, 6.000000e+01
%159 = fptosi float %158 to i32
store i32 %159, i32* %4
%160 = load i32, i32* %4
%161 = sitofp i32 %160 to float
store float %161, float* %28
%162 = load float, float* %23
%163 = fpext float %162 to double
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0), double %163)
%165 = load float, float* %25
%166 = fpext float %165 to double
%167 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), double %166)
%168 = load i32, i32* %5
%169 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i32 %168)
%170 = load float, float* %28
%171 = fpext float %170 to double
%172 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0), double %171)
%173 = load float, float* %13
%174 = load float, float* %9
%175 = fadd float %173, %174
store float %175, float* %13
%176 = load float, float* %22
%177 = load float, float* %19
%178 = fadd float %176, %177
store float %178, float* %22
br label %179
179: ; preds = %188, %127
%180 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.16, i64 0, i64 0))
%181 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i32* %3)
br label %182
182: ; preds = %179
%183 = load i32, i32* %3
%184 = icmp slt i32 %183, 1
br i1 %184, label %188, label %185
185: ; preds = %182
%186 = load i32, i32* %3
%187 = icmp sgt i32 %186, 2
br label %188
188: ; preds = %185, %182
%189 = phi i1 [ true, %182 ], [ %187, %185 ]
br i1 %189, label %179, label %190
190: ; preds = %188
%191 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %80
192: ; preds = %80
%193 = load float, float* %10
%194 = load float, float* %22
%195 = load float, float* %20
%196 = fsub float %194, %195
%197 = fdiv float %193, %196
store float %197, float* %27
%198 = load float, float* %10
%199 = load float, float* %18
%200 = fdiv float %198, %199
store float %200, float* %26
%201 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.18, i64 0, i64 0))
%202 = load float, float* %27
%203 = fpext float %202 to double
%204 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.19, i64 0, i64 0), double %203)
%205 = load float, float* %26
%206 = fpext float %205 to double
%207 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), double %206)
%208 = load i32, i32* %1
ret i32 %208
}

LLVM IR (-O2):
@.str.3 = [3 x i8] c"%g\00"
@.str.8 = [58 x i8] c"Boa Viagem!\0A\0AInserir dados da parada de abastecimento!\0A\0A\07\00"
@.str.9 = [31 x i8] c"Essa e a parada de numero: %d\0A\00"
@.str.11 = [60 x i8] c"Informe a quantidade de litros de combustivel abastecido:\0A \00"
@.str.12 = [49 x i8] c"Relatorio Parcial: \0A\0AVelocidade media: %g km/h \0A\00"
@.str.13 = [19 x i8] c"Consumo: %g km/l \0A\00"
@.str.14 = [39 x i8] c"Previsao de chegada daqui a %d hora(s)\00"
@.str.15 = [19 x i8] c" e %g minuto(s) \0A\0A\00"
@.str.17 = [3 x i8] c"%d\00"
@.str.19 = [34 x i8] c"Velocidade media final: %g km/h \0A\00"
@.str.20 = [25 x i8] c"Consumo final: %g km/l \0A\00"
@str = [4 x i8] c"\0A\0A\0A\00"
@str.21 = [292 x i8] c"INSTRUCOES: \0AConsidere que a viagem ser\C3\A1 realizada dentro de um dia, ou seja, n\C3\A3o ultrapassar\C3\A1 24 hrs.\0AConsidere que o carro inicia a viagem com o tanque abastecido e a cada parada para abastecimento ele complete o tanque. \0ADigite primeiramente a hora, e depois os minutos separadamente.\0A\00"
@str.22 = [29 x i8] c"Informe a hora de saida (H):\00"
@str.25 = [57 x i8] c"Informe qual a distancia total ate o seu destino em km:\00"
@str.27 = [18 x i8] c"Relatorio Final \0A\00"
@str.28 = [30 x i8] c"Informe a hora da parada (H):\00"
@str.29 = [18 x i8] c"E os minutos (M)?\00"
@str.30 = [36 x i8] c"Informe a kilometragem atual em km:\00"
@str.31 = [72 x i8] c"Esta \C3\A9 sua ultima parada? para sim pressione 1 / para nao pressione 2.\00"
@str.32 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = bitcast i32* %1 to i8*
%11 = bitcast float* %2 to i8*
%12 = bitcast float* %3 to i8*
%13 = bitcast float* %4 to i8*
%14 = bitcast float* %5 to i8*
%15 = bitcast float* %6 to i8*
%16 = bitcast float* %7 to i8*
%17 = bitcast float* %8 to i8*
%18 = bitcast float* %9 to i8*
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([292 x i8], [292 x i8]* @str.21, i64 0, i64 0))
br label %21
21: ; preds = %21, %0
%22 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.22, i64 0, i64 0))
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %2)
%24 = load float, float* %2
%25 = fcmp olt float %24, 0.000000e+00
%26 = fcmp oge float %24, 2.400000e+01
%27 = or i1 %25, %26
br i1 %27, label %21, label %28
28: ; preds = %21, %28
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.29, i64 0, i64 0))
%30 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %3)
%31 = load float, float* %3
%32 = fcmp oge float %31, 6.000000e+01
%33 = fcmp olt float %31, 0.000000e+00
%34 = or i1 %32, %33
br i1 %34, label %28, label %35
35: ; preds = %28, %35
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.30, i64 0, i64 0))
%37 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %4)
%38 = load float, float* %4
%39 = fcmp olt float %38, 0.000000e+00
br i1 %39, label %35, label %40
40: ; preds = %35, %40
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.25, i64 0, i64 0))
%42 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %5)
%43 = load float, float* %5
%44 = fcmp ugt float %43, 0.000000e+00
br i1 %44, label %45, label %40
45: ; preds = %40
%46 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.32, i64 0, i64 0))
%47 = load float, float* %3
%48 = fpext float %47 to double
%49 = fdiv double %48, 6.000000e+01
%50 = load float, float* %2
%51 = fpext float %50 to double
%52 = fadd double %49, %51
%53 = fptrunc double %52 to float
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0))
store i32 2, i32* %1
%55 = load float, float* %4
br label %56
56: ; preds = %45, %122
%57 = phi i32 [ 0, %45 ], [ %62, %122 ]
%58 = phi float [ %55, %45 ], [ %115, %122 ]
%59 = phi float [ undef, %45 ], [ %99, %122 ]
%60 = phi float [ 0.000000e+00, %45 ], [ %123, %122 ]
%61 = phi float [ %53, %45 ], [ %124, %122 ]
%62 = add nuw nsw i32 %57, 1
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0), i32 %62)
br label %64
64: ; preds = %64, %56
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.28, i64 0, i64 0))
%66 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %7)
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.29, i64 0, i64 0))
%68 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %8)
%69 = load float, float* %8
%70 = fpext float %69 to double
%71 = fdiv double %70, 6.000000e+01
%72 = load float, float* %7
%73 = fpext float %72 to double
%74 = fadd double %71, %73
%75 = fptrunc double %74 to float
%76 = fcmp ogt float %61, %75
br i1 %76, label %64, label %77
77: ; preds = %64, %87
%78 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.30, i64 0, i64 0))
%79 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %6)
%80 = load float, float* %6
%81 = fcmp olt float %80, %58
br i1 %81, label %87, label %82
82: ; preds = %77
%83 = load float, float* %5
%84 = load float, float* %4
%85 = fadd float %83, %84
%86 = fcmp ogt float %80, %85
br i1 %86, label %87, label %88
87: ; preds = %82, %77
br label %77
88: ; preds = %82, %88
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @.str.11, i64 0, i64 0))
%90 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), float* %9)
%91 = load float, float* %9
%92 = fcmp ugt float %91, 0.000000e+00
br i1 %92, label %93, label %88
93: ; preds = %88
%94 = fsub float %75, %61
%95 = load float, float* %6
%96 = fsub float %95, %58
%97 = fdiv float %96, %94
%98 = fdiv float %96, %91
%99 = fadd float %59, %96
%100 = load float, float* %5
%101 = fsub float %100, %99
%102 = fdiv float %101, %97
%103 = fptosi float %102 to i32
%104 = sitofp i32 %103 to float
%105 = fsub float %102, %104
%106 = fmul float %105, 6.000000e+01
%107 = fptosi float %106 to i32
%108 = fpext float %97 to double
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0), double %108)
%110 = fpext float %98 to double
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0), double %110)
%112 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i32 %103)
%113 = sitofp i32 %107 to double
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0), double %113)
%115 = fadd float %58, %96
br label %116
116: ; preds = %116, %93
%117 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.31, i64 0, i64 0))
%118 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i32* %1)
%119 = load i32, i32* %1
%120 = add i32 %119, -3
%121 = icmp ult i32 %120, -2
br i1 %121, label %116, label %122
122: ; preds = %116
%123 = fadd float %60, %91
%124 = fadd float %61, %94
%125 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.32, i64 0, i64 0))
%126 = load i32, i32* %1
%127 = icmp eq i32 %126, 2
br i1 %127, label %56, label %128
128: ; preds = %122
%129 = load float, float* %5
%130 = fsub float %124, %53
%131 = fdiv float %129, %130
%132 = fdiv float %129, %123
%133 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.27, i64 0, i64 0))
%134 = fpext float %131 to double
%135 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.19, i64 0, i64 0), double %134)
%136 = fpext float %132 to double
%137 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0), double %136)
ret i32 0
}