#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int pow(float, double);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, float);
int main() {
  int D, D1, d, d0, a, b, d1, x, Z;
  float P, W, X;
  printf(" Enter the value of axial tensile force (in kN) :  ");
  scanf("%lF", P);
  printf("\nMaterial selected : 30C8 (Syt = 400 N/mm2 \n\nFactor of safety is "
         "taken as 5 ");
  X = 4000 * P / (3.14 * 80);
  D = pow(X, 0.5);
  if (D % 5 != 0)
    D = D + (5 - (D % 5));
  D1 = 1.1 * D;
  if (D1 % 5 != 0)
    D1 = D1 + (5 - (D1 % 5));
  a = 0.75 * D;
  if (a % 5 != 0)
    a = a + (5 - (a % 5));
  b = 1.25 * D;
  if (b % 5 != 0)
    b = b + (5 - (b % 5));
  W = (32 / (3.14 * 80)) * (P * 500) * ((b / 4) + (a / 3));
  Z = pow(W, 0.3333);
  Z = Z + (5 - (Z % 5));
  if (D > Z)
    d = D;
  else
    d = Z;
  d0 = 2 * d;
  d1 = 1.5 * d;
  if (d1 % 5 != 0)
    d1 = d1 + (5 - (d1 % 5));
  printf(" \n\n Diameter of each rod (mm) : %d", D);
  printf(" \n\n Enlarged diameter of each rod (mm) : %d", D1);
  printf(" \n\n Diameter of knuckle pin (mm) : %d", d);
  printf(" \n\n Outside diameter of eye or fork (mm) : %d", d0);
  printf(" \n\n Diameter of pin head (mm) : %d", d1);
  printf(" \n\n Thickness of each eye of fork(mm) : %d", a);
  printf(" \n\n Thickness of eye end of rod-B (mm) : %d", b);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xf02(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x2c(%rbp),%xmm0
lea    0xf23(%rip),%rdi
call   1040 <scanf@plt>
lea    0xf1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  0xecc(%rip),%xmm0
mulss  -0x2c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe83(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x34(%rbp),%xmm0
movsd  0xe61(%rip),%xmm1
call   1050 <pow@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     11db <main+0xab>
mov    -0x8(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    -0x38(%rbp),%eax
mov    $0x5,%ecx
sub    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x8(%rbp)
cvtsi2sdl -0x8(%rbp),%xmm1
movsd  0xe28(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     1227 <main+0xf7>
mov    -0xc(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0xc(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    -0x3c(%rbp),%eax
mov    $0x5,%ecx
sub    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0xc(%rbp)
cvtsi2sdl -0x8(%rbp),%xmm1
movsd  0xde4(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     1273 <main+0x143>
mov    -0x18(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    -0x40(%rbp),%eax
mov    $0x5,%ecx
sub    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x18(%rbp)
cvtsi2sdl -0x8(%rbp),%xmm1
movsd  0xda0(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     12bf <main+0x18f>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x1c(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    -0x44(%rbp),%eax
mov    $0x5,%ecx
sub    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x1c(%rbp)
movss  0xd7d(%rip),%xmm0
mulss  -0x2c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd58(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x1c(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,-0x4c(%rbp)
mov    -0x18(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x4c(%rbp),%eax
add    %ecx,%eax
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x30(%rbp)
movss  -0x30(%rbp),%xmm0
movsd  0xd0e(%rip),%xmm1
call   1050 <pow@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x28(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    -0x48(%rbp),%eax
mov    $0x5,%ecx
sub    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x28(%rbp),%eax
jle    1359 <main+0x229>
mov    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
jmp    135f <main+0x22f>
mov    -0x28(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x14(%rbp)
cvtsi2sdl -0x10(%rbp),%xmm1
movsd  0xcc3(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
je     13b4 <main+0x284>
mov    -0x20(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    -0x50(%rbp),%eax
mov    $0x5,%ecx
sub    %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%esi
lea    0xd0f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xd21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%esi
lea    0xd3c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xd51(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%esi
lea    0xd6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xd80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xd9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xf0e(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf34(%rip),%rdi
call   1040 <scanf@plt>
lea    0xf2c(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
movss  0xe95(%rip),%xmm0
movsd  0xe95(%rip),%xmm1
call   1050 <pow@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x21,%rcx
add    %edx,%ecx
lea    (%rcx,%rcx,4),%ecx
mov    %eax,%edx
sub    %ecx,%edx
mov    $0x5,%r14d
mov    $0x5,%r12d
sub    %edx,%r12d
test   %edx,%edx
cmove  %edx,%r12d
add    %eax,%r12d
movsd  0xe5b(%rip),%xmm1
movss  0xe43(%rip),%xmm0
call   1050 <pow@plt>
cltq
imul   $0x66666667,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x21,%rax
add    %ecx,%eax
lea    (%rax,%rax,4),%eax
add    $0x5,%eax
cmp    %eax,%r12d
cmovg  %r12d,%eax
movd   %eax,%xmm0
mov    %rax,%rdi
movd   %r12d,%xmm1
punpckldq %xmm1,%xmm0
cvtdq2pd %xmm0,%xmm0
movapd %xmm0,%xmm2
unpckhpd %xmm0,%xmm2
mulpd  0xe17(%rip),%xmm2
mulpd  0xe1f(%rip),%xmm0
cvttpd2dq %xmm0,%xmm1
cvttpd2dq %xmm2,%xmm0
pshufd $0x55,%xmm1,%xmm2
movd   %xmm1,%r15d
unpcklpd %xmm0,%xmm1
movdqa 0xe11(%rip),%xmm3
movapd %xmm1,%xmm4
pmuludq %xmm3,%xmm4
pshufd $0xed,%xmm4,%xmm4
pshufd $0xf5,%xmm1,%xmm5
pmuludq %xmm3,%xmm5
pshufd $0xed,%xmm5,%xmm5
punpckldq %xmm5,%xmm4
pxor   %xmm5,%xmm5
pxor   %xmm6,%xmm6
pcmpgtd %xmm1,%xmm6
pand   %xmm3,%xmm6
psubd  %xmm6,%xmm4
movdqa %xmm4,%xmm3
psrld  $0x1f,%xmm3
psrad  $0x1,%xmm4
paddd  %xmm3,%xmm4
movdqa %xmm4,%xmm3
pslld  $0x2,%xmm3
paddd  %xmm4,%xmm3
psubd  %xmm3,%xmm1
pshufd $0xff,%xmm1,%xmm3
movd   %xmm3,%eax
mov    $0x5,%ecx
sub    %eax,%ecx
pcmpeqd %xmm1,%xmm5
movmskps %xmm5,%eax
test   $0x8,%al
mov    $0x0,%esi
cmovne %esi,%ecx
pshufd $0x55,%xmm0,%xmm3
movd   %xmm3,%ebp
add    %ecx,%ebp
pshufd $0xee,%xmm1,%xmm3
movd   %xmm3,%ecx
mov    $0x5,%edx
sub    %ecx,%edx
test   $0x4,%al
cmovne %esi,%edx
movd   %xmm0,%r13d
add    %edx,%r13d
pshufd $0x55,%xmm1,%xmm0
movd   %xmm0,%ecx
mov    $0x5,%edx
sub    %ecx,%edx
test   $0x2,%al
cmovne %esi,%edx
xor    %esi,%esi
movd   %xmm2,%ebx
add    %edx,%ebx
movd   %xmm1,%ecx
sub    %ecx,%r14d
test   $0x1,%al
cmovne %esi,%r14d
add    %r14d,%r15d
mov    %rdi,%r14
lea    (%rdi,%rdi,1),%eax
mov    %eax,0x4(%rsp)
lea    0xdc9(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xddb(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xdf7(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe0c(%rip),%rdi
mov    0x4(%rsp),%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe28(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe3a(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe54(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [52 x i8] c" Enter the value of axial tensile force (in kN) : \00"
@.str.1 = [4 x i8] c"%lF\00"
@.str.2 = [77 x i8] c"\0AMaterial selected : 30C8 (Syt = 400 N/mm2 \0A\0AFactor of safety is taken as 5 \00"
@.str.3 = [35 x i8] c" \0A\0A Diameter of each rod (mm) : %d\00"
@.str.4 = [44 x i8] c" \0A\0A Enlarged diameter of each rod (mm) : %d\00"
@.str.5 = [38 x i8] c" \0A\0A Diameter of knuckle pin (mm) : %d\00"
@.str.6 = [46 x i8] c" \0A\0A Outside diameter of eye or fork (mm) : %d\00"
@.str.7 = [35 x i8] c" \0A\0A Diameter of pin head (mm) : %d\00"
@.str.8 = [43 x i8] c" \0A\0A Thickness of each eye of fork(mm) : %d\00"
@.str.9 = [44 x i8] c" \0A\0A Thickness of eye end of rod-B (mm) : %d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca float
%12 = alloca float
%13 = alloca float
store i32 0, i32* %1
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%15 = load float, float* %11
%16 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), float %15)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0))
%18 = load float, float* %11
%19 = fmul float 4.000000e+03, %18
%20 = fpext float %19 to double
%21 = fdiv double %20, 0x406F666666666667
%22 = fptrunc double %21 to float
store float %22, float* %13
%23 = load float, float* %13
%24 = call i32 @pow(float %23, double 5.000000e-01)
store i32 %24, i32* %2
%25 = load i32, i32* %2
%26 = srem i32 %25, 5
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %0
%29 = load i32, i32* %2
%30 = load i32, i32* %2
%31 = srem i32 %30, 5
%32 = sub nsw i32 5, %31
%33 = add nsw i32 %29, %32
store i32 %33, i32* %2
br label %34
34: ; preds = %28, %0
%35 = load i32, i32* %2
%36 = sitofp i32 %35 to double
%37 = fmul double 1.100000e+00, %36
%38 = fptosi double %37 to i32
store i32 %38, i32* %3
%39 = load i32, i32* %3
%40 = srem i32 %39, 5
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %34
%43 = load i32, i32* %3
%44 = load i32, i32* %3
%45 = srem i32 %44, 5
%46 = sub nsw i32 5, %45
%47 = add nsw i32 %43, %46
store i32 %47, i32* %3
br label %48
48: ; preds = %42, %34
%49 = load i32, i32* %2
%50 = sitofp i32 %49 to double
%51 = fmul double 7.500000e-01, %50
%52 = fptosi double %51 to i32
store i32 %52, i32* %6
%53 = load i32, i32* %6
%54 = srem i32 %53, 5
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %48
%57 = load i32, i32* %6
%58 = load i32, i32* %6
%59 = srem i32 %58, 5
%60 = sub nsw i32 5, %59
%61 = add nsw i32 %57, %60
store i32 %61, i32* %6
br label %62
62: ; preds = %56, %48
%63 = load i32, i32* %2
%64 = sitofp i32 %63 to double
%65 = fmul double 1.250000e+00, %64
%66 = fptosi double %65 to i32
store i32 %66, i32* %7
%67 = load i32, i32* %7
%68 = srem i32 %67, 5
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %62
%71 = load i32, i32* %7
%72 = load i32, i32* %7
%73 = srem i32 %72, 5
%74 = sub nsw i32 5, %73
%75 = add nsw i32 %71, %74
store i32 %75, i32* %7
br label %76
76: ; preds = %70, %62
%77 = load float, float* %11
%78 = fmul float %77, 5.000000e+02
%79 = fpext float %78 to double
%80 = fmul double 0x3FC04E447BEC6EE1, %79
%81 = load i32, i32* %7
%82 = sdiv i32 %81, 4
%83 = load i32, i32* %6
%84 = sdiv i32 %83, 3
%85 = add nsw i32 %82, %84
%86 = sitofp i32 %85 to double
%87 = fmul double %80, %86
%88 = fptrunc double %87 to float
store float %88, float* %12
%89 = load float, float* %12
%90 = call i32 @pow(float %89, double 3.333000e-01)
store i32 %90, i32* %10
%91 = load i32, i32* %10
%92 = load i32, i32* %10
%93 = srem i32 %92, 5
%94 = sub nsw i32 5, %93
%95 = add nsw i32 %91, %94
store i32 %95, i32* %10
%96 = load i32, i32* %2
%97 = load i32, i32* %10
%98 = icmp sgt i32 %96, %97
br i1 %98, label %99, label %101
99: ; preds = %76
%100 = load i32, i32* %2
store i32 %100, i32* %4
br label %103
101: ; preds = %76
%102 = load i32, i32* %10
store i32 %102, i32* %4
br label %103
103: ; preds = %101, %99
%104 = load i32, i32* %4
%105 = mul nsw i32 2, %104
store i32 %105, i32* %5
%106 = load i32, i32* %4
%107 = sitofp i32 %106 to double
%108 = fmul double 1.500000e+00, %107
%109 = fptosi double %108 to i32
store i32 %109, i32* %8
%110 = load i32, i32* %8
%111 = srem i32 %110, 5
%112 = icmp ne i32 %111, 0
br i1 %112, label %113, label %119
113: ; preds = %103
%114 = load i32, i32* %8
%115 = load i32, i32* %8
%116 = srem i32 %115, 5
%117 = sub nsw i32 5, %116
%118 = add nsw i32 %114, %117
store i32 %118, i32* %8
br label %119
119: ; preds = %113, %103
%120 = load i32, i32* %2
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i32 %120)
%122 = load i32, i32* %3
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0), i32 %122)
%124 = load i32, i32* %4
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i32 %124)
%126 = load i32, i32* %5
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0), i32 %126)
%128 = load i32, i32* %8
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0), i32 %128)
%130 = load i32, i32* %6
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0), i32 %130)
%132 = load i32, i32* %7
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i64 0, i64 0), i32 %132)
ret i32 0
}

LLVM IR (-O2):
@.str = [52 x i8] c" Enter the value of axial tensile force (in kN) : \00"
@.str.1 = [4 x i8] c"%lF\00"
@.str.2 = [77 x i8] c"\0AMaterial selected : 30C8 (Syt = 400 N/mm2 \0A\0AFactor of safety is taken as 5 \00"
@.str.3 = [35 x i8] c" \0A\0A Diameter of each rod (mm) : %d\00"
@.str.4 = [44 x i8] c" \0A\0A Enlarged diameter of each rod (mm) : %d\00"
@.str.5 = [38 x i8] c" \0A\0A Diameter of knuckle pin (mm) : %d\00"
@.str.6 = [46 x i8] c" \0A\0A Outside diameter of eye or fork (mm) : %d\00"
@.str.7 = [35 x i8] c" \0A\0A Diameter of pin head (mm) : %d\00"
@.str.8 = [43 x i8] c" \0A\0A Thickness of each eye of fork(mm) : %d\00"
@.str.9 = [44 x i8] c" \0A\0A Thickness of eye end of rod-B (mm) : %d\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), float undef)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @pow(float 0x7FF8000000000000, double 5.000000e-01)
%5 = srem i32 %4, 5
%6 = icmp eq i32 %5, 0
%7 = sub nsw i32 5, %5
%8 = select i1 %6, i32 0, i32 %7
%9 = add nsw i32 %8, %4
%10 = tail call i32 @pow(float 0x7FF8000000000000, double 3.333000e-01)
%11 = srem i32 %10, 5
%12 = sub nsw i32 5, %11
%13 = add nsw i32 %12, %10
%14 = icmp sgt i32 %9, %13
%15 = select i1 %14, i32 %9, i32 %13
%16 = insertelement <2 x i32> poison, i32 %15, i64 0
%17 = insertelement <2 x i32> %16, i32 %9, i64 1
%18 = sitofp <2 x i32> %17 to <2 x double>
%19 = shufflevector <2 x double> %18, <2 x double> poison, <4 x i32> <i32 0, i32 1, i32 1, i32 1>
%20 = fmul <4 x double> %19, <double 1.500000e+00, double 1.250000e+00, double 7.500000e-01, double 1.100000e+00>
%21 = fptosi <4 x double> %20 to <4 x i32>
%22 = srem <4 x i32> %21, <i32 5, i32 5, i32 5, i32 5>
%23 = extractelement <4 x i32> %22, i64 3
%24 = sub nsw i32 5, %23
%25 = icmp eq <4 x i32> %22, zeroinitializer
%26 = extractelement <4 x i1> %25, i64 3
%27 = select i1 %26, i32 0, i32 %24
%28 = extractelement <4 x i32> %21, i64 3
%29 = add nsw i32 %27, %28
%30 = extractelement <4 x i32> %22, i64 2
%31 = sub nsw i32 5, %30
%32 = extractelement <4 x i1> %25, i64 2
%33 = select i1 %32, i32 0, i32 %31
%34 = extractelement <4 x i32> %21, i64 2
%35 = add nsw i32 %33, %34
%36 = extractelement <4 x i32> %22, i64 1
%37 = sub nsw i32 5, %36
%38 = extractelement <4 x i1> %25, i64 1
%39 = select i1 %38, i32 0, i32 %37
%40 = extractelement <4 x i32> %21, i64 1
%41 = add nsw i32 %39, %40
%42 = extractelement <4 x i32> %22, i64 0
%43 = sub nsw i32 5, %42
%44 = extractelement <4 x i1> %25, i64 0
%45 = select i1 %44, i32 0, i32 %43
%46 = extractelement <4 x i32> %21, i64 0
%47 = add nsw i32 %45, %46
%48 = shl nsw i32 %15, 1
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0), i32 %29)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i32 %15)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0), i32 %48)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0), i32 %47)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0), i32 %35)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i64 0, i64 0), i32 %41)
ret i32 0
}