; LLVM IR from reworks-org/galaxy :: deps/sfml_deps/vorbis-src/lib (barkmel)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [57 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i32 64, ptr %2, align 4, !tbaa !5
  br label %6

6:                                                ; preds = %416, %0
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = icmp slt i32 %7, 32000
  br i1 %8, label %9, label %419

9:                                                ; preds = %6
  store double 4.800000e+04, ptr %3, align 8, !tbaa !9
  %10 = load ptr, ptr @stderr, align 8, !tbaa !11
  %11 = load double, ptr %3, align 8, !tbaa !9
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = load double, ptr %3, align 8, !tbaa !9
  %14 = fdiv double %13, 2.000000e+00
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = sdiv i32 %15, 2
  %17 = sitofp i32 %16 to double
  %18 = fdiv double %14, %17
  %19 = load double, ptr %3, align 8, !tbaa !9
  %20 = fdiv double %19, 2.000000e+00
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sdiv i32 %21, 2
  %23 = sitofp i32 %22 to double
  %24 = fdiv double %20, %23
  %25 = fmul double 0x3F483F91E0000000, %24
  %26 = call double @atan(double noundef %25) #4
  %27 = load double, ptr %3, align 8, !tbaa !9
  %28 = fdiv double %27, 2.000000e+00
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = sdiv i32 %29, 2
  %31 = sitofp i32 %30 to double
  %32 = fdiv double %28, %31
  %33 = load double, ptr %3, align 8, !tbaa !9
  %34 = fdiv double %33, 2.000000e+00
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = sdiv i32 %35, 2
  %37 = sitofp i32 %36 to double
  %38 = fdiv double %34, %37
  %39 = fmul double %32, %38
  %40 = fmul double %39, 0x3E53DD3DC0000000
  %41 = call double @atan(double noundef %40) #4
  %42 = fmul double 0x4001EB8520000000, %41
  %43 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %26, double %42)
  %44 = load double, ptr %3, align 8, !tbaa !9
  %45 = fdiv double %44, 2.000000e+00
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = sdiv i32 %46, 2
  %48 = sitofp i32 %47 to double
  %49 = fdiv double %45, %48
  %50 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %49, double %43)
  %51 = load double, ptr %3, align 8, !tbaa !9
  %52 = fdiv double %51, 2.000000e+00
  %53 = fmul double 0x3F483F91E0000000, %52
  %54 = call double @atan(double noundef %53) #4
  %55 = load double, ptr %3, align 8, !tbaa !9
  %56 = fdiv double %55, 2.000000e+00
  %57 = load double, ptr %3, align 8, !tbaa !9
  %58 = fdiv double %57, 2.000000e+00
  %59 = fmul double %56, %58
  %60 = fmul double %59, 0x3E53DD3DC0000000
  %61 = call double @atan(double noundef %60) #4
  %62 = fmul double 0x4001EB8520000000, %61
  %63 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %54, double %62)
  %64 = load double, ptr %3, align 8, !tbaa !9
  %65 = fdiv double %64, 2.000000e+00
  %66 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %65, double %63)
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef @.str, double noundef %11, i32 noundef %12, double noundef %18, double noundef %50, double noundef %66) #4
  store double 4.410000e+04, ptr %3, align 8, !tbaa !9
  %68 = load ptr, ptr @stderr, align 8, !tbaa !11
  %69 = load double, ptr %3, align 8, !tbaa !9
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = load double, ptr %3, align 8, !tbaa !9
  %72 = fdiv double %71, 2.000000e+00
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = sdiv i32 %73, 2
  %75 = sitofp i32 %74 to double
  %76 = fdiv double %72, %75
  %77 = load double, ptr %3, align 8, !tbaa !9
  %78 = fdiv double %77, 2.000000e+00
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = sdiv i32 %79, 2
  %81 = sitofp i32 %80 to double
  %82 = fdiv double %78, %81
  %83 = fmul double 0x3F483F91E0000000, %82
  %84 = call double @atan(double noundef %83) #4
  %85 = load double, ptr %3, align 8, !tbaa !9
  %86 = fdiv double %85, 2.000000e+00
  %87 = load i32, ptr %2, align 4, !tbaa !5
  %88 = sdiv i32 %87, 2
  %89 = sitofp i32 %88 to double
  %90 = fdiv double %86, %89
  %91 = load double, ptr %3, align 8, !tbaa !9
  %92 = fdiv double %91, 2.000000e+00
  %93 = load i32, ptr %2, align 4, !tbaa !5
  %94 = sdiv i32 %93, 2
  %95 = sitofp i32 %94 to double
  %96 = fdiv double %92, %95
  %97 = fmul double %90, %96
  %98 = fmul double %97, 0x3E53DD3DC0000000
  %99 = call double @atan(double noundef %98) #4
  %100 = fmul double 0x4001EB8520000000, %99
  %101 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %84, double %100)
  %102 = load double, ptr %3, align 8, !tbaa !9
  %103 = fdiv double %102, 2.000000e+00
  %104 = load i32, ptr %2, align 4, !tbaa !5
  %105 = sdiv i32 %104, 2
  %106 = sitofp i32 %105 to double
  %107 = fdiv double %103, %106
  %108 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %107, double %101)
  %109 = load double, ptr %3, align 8, !tbaa !9
  %110 = fdiv double %109, 2.000000e+00
  %111 = fmul double 0x3F483F91E0000000, %110
  %112 = call double @atan(double noundef %111) #4
  %113 = load double, ptr %3, align 8, !tbaa !9
  %114 = fdiv double %113, 2.000000e+00
  %115 = load double, ptr %3, align 8, !tbaa !9
  %116 = fdiv double %115, 2.000000e+00
  %117 = fmul double %114, %116
  %118 = fmul double %117, 0x3E53DD3DC0000000
  %119 = call double @atan(double noundef %118) #4
  %120 = fmul double 0x4001EB8520000000, %119
  %121 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %112, double %120)
  %122 = load double, ptr %3, align 8, !tbaa !9
  %123 = fdiv double %122, 2.000000e+00
  %124 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %123, double %121)
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str, double noundef %69, i32 noundef %70, double noundef %76, double noundef %108, double noundef %124) #4
  store double 3.200000e+04, ptr %3, align 8, !tbaa !9
  %126 = load ptr, ptr @stderr, align 8, !tbaa !11
  %127 = load double, ptr %3, align 8, !tbaa !9
  %128 = load i32, ptr %2, align 4, !tbaa !5
  %129 = load double, ptr %3, align 8, !tbaa !9
  %130 = fdiv double %129, 2.000000e+00
  %131 = load i32, ptr %2, align 4, !tbaa !5
  %132 = sdiv i32 %131, 2
  %133 = sitofp i32 %132 to double
  %134 = fdiv double %130, %133
  %135 = load double, ptr %3, align 8, !tbaa !9
  %136 = fdiv double %135, 2.000000e+00
  %137 = load i32, ptr %2, align 4, !tbaa !5
  %138 = sdiv i32 %137, 2
  %139 = sitofp i32 %138 to double
  %140 = fdiv double %136, %139
  %141 = fmul double 0x3F483F91E0000000, %140
  %142 = call double @atan(double noundef %141) #4
  %143 = load double, ptr %3, align 8, !tbaa !9
  %144 = fdiv double %143, 2.000000e+00
  %145 = load i32, ptr %2, align 4, !tbaa !5
  %146 = sdiv i32 %145, 2
  %147 = sitofp i32 %146 to double
  %148 = fdiv double %144, %147
  %149 = load double, ptr %3, align 8, !tbaa !9
  %150 = fdiv double %149, 2.000000e+00
  %151 = load i32, ptr %2, align 4, !tbaa !5
  %152 = sdiv i32 %151, 2
  %153 = sitofp i32 %152 to double
  %154 = fdiv double %150, %153
  %155 = fmul double %148, %154
  %156 = fmul double %155, 0x3E53DD3DC0000000
  %157 = call double @atan(double noundef %156) #4
  %158 = fmul double 0x4001EB8520000000, %157
  %159 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %142, double %158)
  %160 = load double, ptr %3, align 8, !tbaa !9
  %161 = fdiv double %160, 2.000000e+00
  %162 = load i32, ptr %2, align 4, !tbaa !5
  %163 = sdiv i32 %162, 2
  %164 = sitofp i32 %163 to double
  %165 = fdiv double %161, %164
  %166 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %165, double %159)
  %167 = load double, ptr %3, align 8, !tbaa !9
  %168 = fdiv double %167, 2.000000e+00
  %169 = fmul double 0x3F483F91E0000000, %168
  %170 = call double @atan(double noundef %169) #4
  %171 = load double, ptr %3, align 8, !tbaa !9
  %172 = fdiv double %171, 2.000000e+00
  %173 = load double, ptr %3, align 8, !tbaa !9
  %174 = fdiv double %173, 2.000000e+00
  %175 = fmul double %172, %174
  %176 = fmul double %175, 0x3E53DD3DC0000000
  %177 = call double @atan(double noundef %176) #4
  %178 = fmul double 0x4001EB8520000000, %177
  %179 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %170, double %178)
  %180 = load double, ptr %3, align 8, !tbaa !9
  %181 = fdiv double %180, 2.000000e+00
  %182 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %181, double %179)
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str, double noundef %127, i32 noundef %128, double noundef %134, double noundef %166, double noundef %182) #4
  store double 2.205000e+04, ptr %3, align 8, !tbaa !9
  %184 = load ptr, ptr @stderr, align 8, !tbaa !11
  %185 = load double, ptr %3, align 8, !tbaa !9
  %186 = load i32, ptr %2, align 4, !tbaa !5
  %187 = load double, ptr %3, align 8, !tbaa !9
  %188 = fdiv double %187, 2.000000e+00
  %189 = load i32, ptr %2, align 4, !tbaa !5
  %190 = sdiv i32 %189, 2
  %191 = sitofp i32 %190 to double
  %192 = fdiv double %188, %191
  %193 = load double, ptr %3, align 8, !tbaa !9
  %194 = fdiv double %193, 2.000000e+00
  %195 = load i32, ptr %2, align 4, !tbaa !5
  %196 = sdiv i32 %195, 2
  %197 = sitofp i32 %196 to double
  %198 = fdiv double %194, %197
  %199 = fmul double 0x3F483F91E0000000, %198
  %200 = call double @atan(double noundef %199) #4
  %201 = load double, ptr %3, align 8, !tbaa !9
  %202 = fdiv double %201, 2.000000e+00
  %203 = load i32, ptr %2, align 4, !tbaa !5
  %204 = sdiv i32 %203, 2
  %205 = sitofp i32 %204 to double
  %206 = fdiv double %202, %205
  %207 = load double, ptr %3, align 8, !tbaa !9
  %208 = fdiv double %207, 2.000000e+00
  %209 = load i32, ptr %2, align 4, !tbaa !5
  %210 = sdiv i32 %209, 2
  %211 = sitofp i32 %210 to double
  %212 = fdiv double %208, %211
  %213 = fmul double %206, %212
  %214 = fmul double %213, 0x3E53DD3DC0000000
  %215 = call double @atan(double noundef %214) #4
  %216 = fmul double 0x4001EB8520000000, %215
  %217 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %200, double %216)
  %218 = load double, ptr %3, align 8, !tbaa !9
  %219 = fdiv double %218, 2.000000e+00
  %220 = load i32, ptr %2, align 4, !tbaa !5
  %221 = sdiv i32 %220, 2
  %222 = sitofp i32 %221 to double
  %223 = fdiv double %219, %222
  %224 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %223, double %217)
  %225 = load double, ptr %3, align 8, !tbaa !9
  %226 = fdiv double %225, 2.000000e+00
  %227 = fmul double 0x3F483F91E0000000, %226
  %228 = call double @atan(double noundef %227) #4
  %229 = load double, ptr %3, align 8, !tbaa !9
  %230 = fdiv double %229, 2.000000e+00
  %231 = load double, ptr %3, align 8, !tbaa !9
  %232 = fdiv double %231, 2.000000e+00
  %233 = fmul double %230, %232
  %234 = fmul double %233, 0x3E53DD3DC0000000
  %235 = call double @atan(double noundef %234) #4
  %236 = fmul double 0x4001EB8520000000, %235
  %237 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %228, double %236)
  %238 = load double, ptr %3, align 8, !tbaa !9
  %239 = fdiv double %238, 2.000000e+00
  %240 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %239, double %237)
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str, double noundef %185, i32 noundef %186, double noundef %192, double noundef %224, double noundef %240) #4
  store double 1.600000e+04, ptr %3, align 8, !tbaa !9
  %242 = load ptr, ptr @stderr, align 8, !tbaa !11
  %243 = load double, ptr %3, align 8, !tbaa !9
  %244 = load i32, ptr %2, align 4, !tbaa !5
  %245 = load double, ptr %3, align 8, !tbaa !9
  %246 = fdiv double %245, 2.000000e+00
  %247 = load i32, ptr %2, align 4, !tbaa !5
  %248 = sdiv i32 %247, 2
  %249 = sitofp i32 %248 to double
  %250 = fdiv double %246, %249
  %251 = load double, ptr %3, align 8, !tbaa !9
  %252 = fdiv double %251, 2.000000e+00
  %253 = load i32, ptr %2, align 4, !tbaa !5
  %254 = sdiv i32 %253, 2
  %255 = sitofp i32 %254 to double
  %256 = fdiv double %252, %255
  %257 = fmul double 0x3F483F91E0000000, %256
  %258 = call double @atan(double noundef %257) #4
  %259 = load double, ptr %3, align 8, !tbaa !9
  %260 = fdiv double %259, 2.000000e+00
  %261 = load i32, ptr %2, align 4, !tbaa !5
  %262 = sdiv i32 %261, 2
  %263 = sitofp i32 %262 to double
  %264 = fdiv double %260, %263
  %265 = load double, ptr %3, align 8, !tbaa !9
  %266 = fdiv double %265, 2.000000e+00
  %267 = load i32, ptr %2, align 4, !tbaa !5
  %268 = sdiv i32 %267, 2
  %269 = sitofp i32 %268 to double
  %270 = fdiv double %266, %269
  %271 = fmul double %264, %270
  %272 = fmul double %271, 0x3E53DD3DC0000000
  %273 = call double @atan(double noundef %272) #4
  %274 = fmul double 0x4001EB8520000000, %273
  %275 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %258, double %274)
  %276 = load double, ptr %3, align 8, !tbaa !9
  %277 = fdiv double %276, 2.000000e+00
  %278 = load i32, ptr %2, align 4, !tbaa !5
  %279 = sdiv i32 %278, 2
  %280 = sitofp i32 %279 to double
  %281 = fdiv double %277, %280
  %282 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %281, double %275)
  %283 = load double, ptr %3, align 8, !tbaa !9
  %284 = fdiv double %283, 2.000000e+00
  %285 = fmul double 0x3F483F91E0000000, %284
  %286 = call double @atan(double noundef %285) #4
  %287 = load double, ptr %3, align 8, !tbaa !9
  %288 = fdiv double %287, 2.000000e+00
  %289 = load double, ptr %3, align 8, !tbaa !9
  %290 = fdiv double %289, 2.000000e+00
  %291 = fmul double %288, %290
  %292 = fmul double %291, 0x3E53DD3DC0000000
  %293 = call double @atan(double noundef %292) #4
  %294 = fmul double 0x4001EB8520000000, %293
  %295 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %286, double %294)
  %296 = load double, ptr %3, align 8, !tbaa !9
  %297 = fdiv double %296, 2.000000e+00
  %298 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %297, double %295)
  %299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str, double noundef %243, i32 noundef %244, double noundef %250, double noundef %282, double noundef %298) #4
  store double 1.102500e+04, ptr %3, align 8, !tbaa !9
  %300 = load ptr, ptr @stderr, align 8, !tbaa !11
  %301 = load double, ptr %3, align 8, !tbaa !9
  %302 = load i32, ptr %2, align 4, !tbaa !5
  %303 = load double, ptr %3, align 8, !tbaa !9
  %304 = fdiv double %303, 2.000000e+00
  %305 = load i32, ptr %2, align 4, !tbaa !5
  %306 = sdiv i32 %305, 2
  %307 = sitofp i32 %306 to double
  %308 = fdiv double %304, %307
  %309 = load double, ptr %3, align 8, !tbaa !9
  %310 = fdiv double %309, 2.000000e+00
  %311 = load i32, ptr %2, align 4, !tbaa !5
  %312 = sdiv i32 %311, 2
  %313 = sitofp i32 %312 to double
  %314 = fdiv double %310, %313
  %315 = fmul double 0x3F483F91E0000000, %314
  %316 = call double @atan(double noundef %315) #4
  %317 = load double, ptr %3, align 8, !tbaa !9
  %318 = fdiv double %317, 2.000000e+00
  %319 = load i32, ptr %2, align 4, !tbaa !5
  %320 = sdiv i32 %319, 2
  %321 = sitofp i32 %320 to double
  %322 = fdiv double %318, %321
  %323 = load double, ptr %3, align 8, !tbaa !9
  %324 = fdiv double %323, 2.000000e+00
  %325 = load i32, ptr %2, align 4, !tbaa !5
  %326 = sdiv i32 %325, 2
  %327 = sitofp i32 %326 to double
  %328 = fdiv double %324, %327
  %329 = fmul double %322, %328
  %330 = fmul double %329, 0x3E53DD3DC0000000
  %331 = call double @atan(double noundef %330) #4
  %332 = fmul double 0x4001EB8520000000, %331
  %333 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %316, double %332)
  %334 = load double, ptr %3, align 8, !tbaa !9
  %335 = fdiv double %334, 2.000000e+00
  %336 = load i32, ptr %2, align 4, !tbaa !5
  %337 = sdiv i32 %336, 2
  %338 = sitofp i32 %337 to double
  %339 = fdiv double %335, %338
  %340 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %339, double %333)
  %341 = load double, ptr %3, align 8, !tbaa !9
  %342 = fdiv double %341, 2.000000e+00
  %343 = fmul double 0x3F483F91E0000000, %342
  %344 = call double @atan(double noundef %343) #4
  %345 = load double, ptr %3, align 8, !tbaa !9
  %346 = fdiv double %345, 2.000000e+00
  %347 = load double, ptr %3, align 8, !tbaa !9
  %348 = fdiv double %347, 2.000000e+00
  %349 = fmul double %346, %348
  %350 = fmul double %349, 0x3E53DD3DC0000000
  %351 = call double @atan(double noundef %350) #4
  %352 = fmul double 0x4001EB8520000000, %351
  %353 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %344, double %352)
  %354 = load double, ptr %3, align 8, !tbaa !9
  %355 = fdiv double %354, 2.000000e+00
  %356 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %355, double %353)
  %357 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %300, ptr noundef @.str, double noundef %301, i32 noundef %302, double noundef %308, double noundef %340, double noundef %356) #4
  store double 8.000000e+03, ptr %3, align 8, !tbaa !9
  %358 = load ptr, ptr @stderr, align 8, !tbaa !11
  %359 = load double, ptr %3, align 8, !tbaa !9
  %360 = load i32, ptr %2, align 4, !tbaa !5
  %361 = load double, ptr %3, align 8, !tbaa !9
  %362 = fdiv double %361, 2.000000e+00
  %363 = load i32, ptr %2, align 4, !tbaa !5
  %364 = sdiv i32 %363, 2
  %365 = sitofp i32 %364 to double
  %366 = fdiv double %362, %365
  %367 = load double, ptr %3, align 8, !tbaa !9
  %368 = fdiv double %367, 2.000000e+00
  %369 = load i32, ptr %2, align 4, !tbaa !5
  %370 = sdiv i32 %369, 2
  %371 = sitofp i32 %370 to double
  %372 = fdiv double %368, %371
  %373 = fmul double 0x3F483F91E0000000, %372
  %374 = call double @atan(double noundef %373) #4
  %375 = load double, ptr %3, align 8, !tbaa !9
  %376 = fdiv double %375, 2.000000e+00
  %377 = load i32, ptr %2, align 4, !tbaa !5
  %378 = sdiv i32 %377, 2
  %379 = sitofp i32 %378 to double
  %380 = fdiv double %376, %379
  %381 = load double, ptr %3, align 8, !tbaa !9
  %382 = fdiv double %381, 2.000000e+00
  %383 = load i32, ptr %2, align 4, !tbaa !5
  %384 = sdiv i32 %383, 2
  %385 = sitofp i32 %384 to double
  %386 = fdiv double %382, %385
  %387 = fmul double %380, %386
  %388 = fmul double %387, 0x3E53DD3DC0000000
  %389 = call double @atan(double noundef %388) #4
  %390 = fmul double 0x4001EB8520000000, %389
  %391 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %374, double %390)
  %392 = load double, ptr %3, align 8, !tbaa !9
  %393 = fdiv double %392, 2.000000e+00
  %394 = load i32, ptr %2, align 4, !tbaa !5
  %395 = sdiv i32 %394, 2
  %396 = sitofp i32 %395 to double
  %397 = fdiv double %393, %396
  %398 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %397, double %391)
  %399 = load double, ptr %3, align 8, !tbaa !9
  %400 = fdiv double %399, 2.000000e+00
  %401 = fmul double 0x3F483F91E0000000, %400
  %402 = call double @atan(double noundef %401) #4
  %403 = load double, ptr %3, align 8, !tbaa !9
  %404 = fdiv double %403, 2.000000e+00
  %405 = load double, ptr %3, align 8, !tbaa !9
  %406 = fdiv double %405, 2.000000e+00
  %407 = fmul double %404, %406
  %408 = fmul double %407, 0x3E53DD3DC0000000
  %409 = call double @atan(double noundef %408) #4
  %410 = fmul double 0x4001EB8520000000, %409
  %411 = call double @llvm.fmuladd.f64(double 0x402A333340000000, double %402, double %410)
  %412 = load double, ptr %3, align 8, !tbaa !9
  %413 = fdiv double %412, 2.000000e+00
  %414 = call double @llvm.fmuladd.f64(double 0x3F1A36E2E0000000, double %413, double %411)
  %415 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %358, ptr noundef @.str.1, double noundef %359, i32 noundef %360, double noundef %366, double noundef %398, double noundef %414) #4
  br label %416

416:                                              ; preds = %9
  %417 = load i32, ptr %2, align 4, !tbaa !5
  %418 = mul nsw i32 %417, 2
  store i32 %418, ptr %2, align 4, !tbaa !5
  br label %6, !llvm.loop !13

419:                                              ; preds = %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store float 0.000000e+00, ptr %4, align 4, !tbaa !15
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %420

420:                                              ; preds = %464, %419
  %421 = load float, ptr %4, align 4, !tbaa !15
  %422 = fcmp olt float %421, 2.800000e+01
  br i1 %422, label %423, label %469

423:                                              ; preds = %420
  %424 = load ptr, ptr @stderr, align 8, !tbaa !11
  %425 = load i32, ptr %5, align 4, !tbaa !5
  %426 = load float, ptr %4, align 4, !tbaa !15
  %427 = fpext float %426 to double
  %428 = load float, ptr %4, align 4, !tbaa !15
  %429 = fmul float 1.020000e+02, %428
  %430 = fpext float %429 to double
  %431 = load float, ptr %4, align 4, !tbaa !15
  %432 = fpext float %431 to double
  %433 = call double @pow(double noundef %432, double noundef 2.000000e+00) #4
  %434 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %433, double %430)
  %435 = load float, ptr %4, align 4, !tbaa !15
  %436 = fpext float %435 to double
  %437 = call double @pow(double noundef %436, double noundef 3.000000e+00) #4
  %438 = call double @llvm.fmuladd.f64(double 0x3FD99999A0000000, double %437, double %434)
  %439 = load float, ptr %4, align 4, !tbaa !15
  %440 = fpext float %439 to double
  %441 = call double @pow(double noundef 0x3FF75C2900000000, double noundef %440) #4
  %442 = fadd double %438, %441
  %443 = fsub double %442, 1.000000e+00
  %444 = load float, ptr %4, align 4, !tbaa !15
  %445 = fmul float 1.020000e+02, %444
  %446 = fpext float %445 to double
  %447 = load float, ptr %4, align 4, !tbaa !15
  %448 = fpext float %447 to double
  %449 = call double @pow(double noundef %448, double noundef 2.000000e+00) #4
  %450 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %449, double %446)
  %451 = load float, ptr %4, align 4, !tbaa !15
  %452 = fpext float %451 to double
  %453 = call double @pow(double noundef %452, double noundef 3.000000e+00) #4
  %454 = call double @llvm.fmuladd.f64(double 0x3FD99999A0000000, double %453, double %450)
  %455 = load float, ptr %4, align 4, !tbaa !15
  %456 = fpext float %455 to double
  %457 = call double @pow(double noundef 0x3FF75C2900000000, double noundef %456) #4
  %458 = fadd double %454, %457
  %459 = fsub double %458, 1.000000e+00
  %460 = fdiv double %459, 2.205000e+04
  %461 = fmul double %460, 1.280000e+02
  %462 = fptosi double %461 to i32
  %463 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %424, ptr noundef @.str.2, i32 noundef %425, double noundef %427, double noundef %443, i32 noundef %462) #4
  br label %464

464:                                              ; preds = %423
  %465 = load float, ptr %4, align 4, !tbaa !15
  %466 = fadd float %465, 1.000000e+00
  store float %466, ptr %4, align 4, !tbaa !15
  %467 = load i32, ptr %5, align 4, !tbaa !5
  %468 = add nsw i32 %467, 1
  store i32 %468, ptr %5, align 4, !tbaa !5
  br label %420, !llvm.loop !17

469:                                              ; preds = %420
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind
declare double @atan(double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [57 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  br label %1

1:                                                ; preds = %0, %1
  %.0127129 = phi i32 [ 64, %0 ], [ %81, %1 ]
  %2 = load ptr, ptr @stderr, align 8, !tbaa !5
  %3 = lshr exact i32 %.0127129, 1
  %4 = uitofp nneg i32 %3 to double
  %5 = fdiv double 2.400000e+04, %4
  %6 = fmul double %5, 0x3F483F91E0000000
  %7 = tail call double @atan(double noundef %6) #4
  %8 = fmul double %5, %5
  %9 = fmul double %8, 0x3E53DD3DC0000000
  %10 = tail call double @atan(double noundef %9) #4
  %11 = fmul double %10, 0x4001EB8520000000
  %12 = tail call double @llvm.fmuladd.f64(double %7, double 0x402A333340000000, double %11)
  %13 = tail call double @llvm.fmuladd.f64(double %5, double 0x3F1A36E2E0000000, double %12)
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str, double noundef 4.800000e+04, i32 noundef %.0127129, double noundef %5, double noundef %13, double noundef 0x40398CB19DF3D661) #5
  %15 = load ptr, ptr @stderr, align 8, !tbaa !5
  %16 = fdiv double 2.205000e+04, %4
  %17 = fmul double %16, 0x3F483F91E0000000
  %18 = tail call double @atan(double noundef %17) #4
  %19 = fmul double %16, %16
  %20 = fmul double %19, 0x3E53DD3DC0000000
  %21 = tail call double @atan(double noundef %20) #4
  %22 = fmul double %21, 0x4001EB8520000000
  %23 = tail call double @llvm.fmuladd.f64(double %18, double 0x402A333340000000, double %22)
  %24 = tail call double @llvm.fmuladd.f64(double %16, double 0x3F1A36E2E0000000, double %23)
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef nonnull @.str, double noundef 4.410000e+04, i32 noundef %.0127129, double noundef %16, double noundef %24, double noundef 0x4039404BFF3EDB0A) #5
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = fdiv double 1.600000e+04, %4
  %28 = fmul double %27, 0x3F483F91E0000000
  %29 = tail call double @atan(double noundef %28) #4
  %30 = fmul double %27, %27
  %31 = fmul double %30, 0x3E53DD3DC0000000
  %32 = tail call double @atan(double noundef %31) #4
  %33 = fmul double %32, 0x4001EB8520000000
  %34 = tail call double @llvm.fmuladd.f64(double %29, double 0x402A333340000000, double %33)
  %35 = tail call double @llvm.fmuladd.f64(double %27, double 0x3F1A36E2E0000000, double %34)
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str, double noundef 3.200000e+04, i32 noundef %.0127129, double noundef %27, double noundef %35, double noundef 0x403820477A0B554D) #5
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = fdiv double 1.102500e+04, %4
  %39 = fmul double %38, 0x3F483F91E0000000
  %40 = tail call double @atan(double noundef %39) #4
  %41 = fmul double %38, %38
  %42 = fmul double %41, 0x3E53DD3DC0000000
  %43 = tail call double @atan(double noundef %42) #4
  %44 = fmul double %43, 0x4001EB8520000000
  %45 = tail call double @llvm.fmuladd.f64(double %40, double 0x402A333340000000, double %44)
  %46 = tail call double @llvm.fmuladd.f64(double %38, double 0x3F1A36E2E0000000, double %45)
  %47 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str, double noundef 2.205000e+04, i32 noundef %.0127129, double noundef %38, double noundef %46, double noundef 0x4036A9DA7F4FCB0C) #5
  %48 = load ptr, ptr @stderr, align 8, !tbaa !5
  %49 = fdiv double 8.000000e+03, %4
  %50 = fmul double %49, 0x3F483F91E0000000
  %51 = tail call double @atan(double noundef %50) #4
  %52 = fmul double %49, %49
  %53 = fmul double %52, 0x3E53DD3DC0000000
  %54 = tail call double @atan(double noundef %53) #4
  %55 = fmul double %54, 0x4001EB8520000000
  %56 = tail call double @llvm.fmuladd.f64(double %51, double 0x402A333340000000, double %55)
  %57 = tail call double @llvm.fmuladd.f64(double %49, double 0x3F1A36E2E0000000, double %56)
  %58 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str, double noundef 1.600000e+04, i32 noundef %.0127129, double noundef %49, double noundef %57, double noundef 0x40352202AD578AEF) #5
  %59 = load ptr, ptr @stderr, align 8, !tbaa !5
  %60 = fdiv double 5.512500e+03, %4
  %61 = fmul double %60, 0x3F483F91E0000000
  %62 = tail call double @atan(double noundef %61) #4
  %63 = fmul double %60, %60
  %64 = fmul double %63, 0x3E53DD3DC0000000
  %65 = tail call double @atan(double noundef %64) #4
  %66 = fmul double %65, 0x4001EB8520000000
  %67 = tail call double @llvm.fmuladd.f64(double %62, double 0x402A333340000000, double %66)
  %68 = tail call double @llvm.fmuladd.f64(double %60, double 0x3F1A36E2E0000000, double %67)
  %69 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str, double noundef 1.102500e+04, i32 noundef %.0127129, double noundef %60, double noundef %68, double noundef 0x4033206943776BB2) #5
  %70 = load ptr, ptr @stderr, align 8, !tbaa !5
  %71 = fdiv double 4.000000e+03, %4
  %72 = fmul double %71, 0x3F483F91E0000000
  %73 = tail call double @atan(double noundef %72) #4
  %74 = fmul double %71, %71
  %75 = fmul double %74, 0x3E53DD3DC0000000
  %76 = tail call double @atan(double noundef %75) #4
  %77 = fmul double %76, 0x4001EB8520000000
  %78 = tail call double @llvm.fmuladd.f64(double %73, double 0x402A333340000000, double %77)
  %79 = tail call double @llvm.fmuladd.f64(double %71, double 0x3F1A36E2E0000000, double %78)
  %80 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull @.str.1, double noundef 8.000000e+03, i32 noundef %.0127129, double noundef %71, double noundef %79, double noundef 0x40315AA628A93A57) #5
  %81 = shl nuw nsw i32 %.0127129, 1
  %82 = icmp ult i32 %.0127129, 16000
  br i1 %82, label %1, label %.preheader, !llvm.loop !9

.preheader:                                       ; preds = %1, %.preheader
  %.0131 = phi i32 [ %102, %.preheader ], [ 0, %1 ]
  %indvar.conv = uitofp nneg i32 %.0131 to float
  %83 = load ptr, ptr @stderr, align 8, !tbaa !5
  %84 = fpext float %indvar.conv to double
  %85 = fmul float %indvar.conv, 1.020000e+02
  %86 = fpext float %85 to double
  %square = fmul double %84, %84
  %87 = tail call double @llvm.fmuladd.f64(double %square, double -2.000000e+00, double %86)
  %88 = tail call double @pow(double noundef %84, double noundef 3.000000e+00) #4
  %89 = tail call double @llvm.fmuladd.f64(double %88, double 0x3FD99999A0000000, double %87)
  %90 = tail call double @pow(double noundef 0x3FF75C2900000000, double noundef %84) #4
  %91 = fadd double %89, %90
  %92 = fadd double %91, -1.000000e+00
  %93 = tail call double @pow(double noundef %84, double noundef 3.000000e+00) #4
  %94 = tail call double @llvm.fmuladd.f64(double %93, double 0x3FD99999A0000000, double %87)
  %95 = tail call double @pow(double noundef 0x3FF75C2900000000, double noundef %84) #4
  %96 = fadd double %94, %95
  %97 = fadd double %96, -1.000000e+00
  %98 = fdiv double %97, 2.205000e+04
  %99 = fmul double %98, 1.280000e+02
  %100 = fptosi double %99 to i32
  %101 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.2, i32 noundef %.0131, double noundef %84, double noundef %92, i32 noundef %100) #5
  %102 = add nuw nsw i32 %.0131, 1
  %exitcond.not = icmp eq i32 %102, 28
  br i1 %exitcond.not, label %103, label %.preheader, !llvm.loop !11

103:                                              ; preds = %.preheader
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) local_unnamed_addr #2

attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
attributes #5 = { cold nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass