; LLVM IR from Discngine/fpocket :: src (dpocket)

; 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"

%struct.s_desc = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, i32, [20 x i32], i32, i32, i32, float, float, i32, i32, i32, i32, i32, [255 x i8], [255 x i8], [8 x i8] }

@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [205 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @write_pocket_desc(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, ptr noundef %8) #2 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store float %3, ptr %13, align 4, !tbaa !9
  store float %4, ptr %14, align 4, !tbaa !9
  store float %5, ptr %15, align 4, !tbaa !9
  store float %6, ptr %16, align 4, !tbaa !9
  store float %7, ptr %17, align 4, !tbaa !9
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !11
  %23 = load float, ptr %15, align 4, !tbaa !9
  %24 = fpext float %23 to double
  %25 = fcmp olt double %24, 4.000000e+00
  br i1 %25, label %26, label %27

26:                                               ; preds = %9
  store i32 1, ptr %19, align 4, !tbaa !11
  br label %27

27:                                               ; preds = %26, %9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %28 = load float, ptr %16, align 4, !tbaa !9
  %29 = fpext float %28 to double
  %30 = fcmp oge double %29, 5.000000e-01
  br i1 %30, label %31, label %35

31:                                               ; preds = %27
  %32 = load float, ptr %17, align 4, !tbaa !9
  %33 = fpext float %32 to double
  %34 = fcmp oge double %33, 2.000000e-01
  br label %35

35:                                               ; preds = %31, %27
  %36 = phi i1 [ false, %27 ], [ %34, %31 ]
  %37 = zext i1 %36 to i64
  %38 = select i1 %36, i32 1, i32 0
  store i32 %38, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  %39 = load float, ptr %16, align 4, !tbaa !9
  %40 = fpext float %39 to double
  %41 = fsub double %40, 5.000000e-01
  %42 = fdiv double %41, 5.000000e-01
  %43 = load float, ptr %17, align 4, !tbaa !9
  %44 = fpext float %43 to double
  %45 = fsub double %44, 2.000000e-01
  %46 = fdiv double %45, 8.000000e-01
  %47 = fadd double %42, %46
  %48 = fptrunc double %47 to float
  store float %48, ptr %21, align 4, !tbaa !9
  %49 = load ptr, ptr %18, align 8, !tbaa !5
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = load float, ptr %14, align 4, !tbaa !9
  %53 = fpext float %52 to double
  %54 = load i32, ptr %19, align 4, !tbaa !11
  %55 = load float, ptr %15, align 4, !tbaa !9
  %56 = fpext float %55 to double
  %57 = load float, ptr %16, align 4, !tbaa !9
  %58 = fpext float %57 to double
  %59 = load float, ptr %17, align 4, !tbaa !9
  %60 = fpext float %59 to double
  %61 = load i32, ptr %20, align 4, !tbaa !11
  %62 = load float, ptr %21, align 4, !tbaa !9
  %63 = fpext float %62 to double
  %64 = load float, ptr %13, align 4, !tbaa !9
  %65 = fpext float %64 to double
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.s_desc, ptr %66, i32 0, i32 2
  %68 = load float, ptr %67, align 4, !tbaa !13
  %69 = fpext float %68 to double
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.s_desc, ptr %70, i32 0, i32 29
  %72 = load i32, ptr %71, align 4, !tbaa !15
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.s_desc, ptr %73, i32 0, i32 12
  %75 = load float, ptr %74, align 4, !tbaa !16
  %76 = fpext float %75 to double
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.s_desc, ptr %77, i32 0, i32 5
  %79 = load float, ptr %78, align 4, !tbaa !17
  %80 = fpext float %79 to double
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.s_desc, ptr %81, i32 0, i32 6
  %83 = load float, ptr %82, align 4, !tbaa !18
  %84 = fpext float %83 to double
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.s_desc, ptr %85, i32 0, i32 7
  %87 = load float, ptr %86, align 4, !tbaa !19
  %88 = fpext float %87 to double
  %89 = load ptr, ptr %12, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.s_desc, ptr %89, i32 0, i32 15
  %91 = load float, ptr %90, align 4, !tbaa !20
  %92 = fpext float %91 to double
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.s_desc, ptr %93, i32 0, i32 8
  %95 = load float, ptr %94, align 4, !tbaa !21
  %96 = fpext float %95 to double
  %97 = load ptr, ptr %12, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.s_desc, ptr %97, i32 0, i32 14
  %99 = load float, ptr %98, align 4, !tbaa !22
  %100 = fpext float %99 to double
  %101 = load ptr, ptr %12, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.s_desc, ptr %101, i32 0, i32 0
  %103 = load float, ptr %102, align 4, !tbaa !23
  %104 = fpext float %103 to double
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.s_desc, ptr %105, i32 0, i32 1
  %107 = load float, ptr %106, align 4, !tbaa !24
  %108 = fpext float %107 to double
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.s_desc, ptr %109, i32 0, i32 30
  %111 = load i32, ptr %110, align 4, !tbaa !25
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.s_desc, ptr %112, i32 0, i32 13
  %114 = load float, ptr %113, align 4, !tbaa !26
  %115 = fpext float %114 to double
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.s_desc, ptr %116, i32 0, i32 31
  %118 = load i32, ptr %117, align 4, !tbaa !27
  %119 = load ptr, ptr %12, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.s_desc, ptr %119, i32 0, i32 11
  %121 = load float, ptr %120, align 4, !tbaa !28
  %122 = fpext float %121 to double
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.s_desc, ptr %123, i32 0, i32 4
  %125 = load float, ptr %124, align 4, !tbaa !29
  %126 = fpext float %125 to double
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.s_desc, ptr %127, i32 0, i32 9
  %129 = load float, ptr %128, align 4, !tbaa !30
  %130 = fpext float %129 to double
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.s_desc, ptr %131, i32 0, i32 16
  %133 = load float, ptr %132, align 4, !tbaa !31
  %134 = fpext float %133 to double
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.s_desc, ptr %135, i32 0, i32 10
  %137 = load float, ptr %136, align 4, !tbaa !32
  %138 = fpext float %137 to double
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.s_desc, ptr %139, i32 0, i32 17
  %141 = load float, ptr %140, align 4, !tbaa !33
  %142 = fpext float %141 to double
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.s_desc, ptr %143, i32 0, i32 33
  %145 = load float, ptr %144, align 4, !tbaa !34
  %146 = fpext float %145 to double
  %147 = load ptr, ptr %12, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.s_desc, ptr %147, i32 0, i32 3
  %149 = load float, ptr %148, align 4, !tbaa !35
  %150 = fpext float %149 to double
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.s_desc, ptr %151, i32 0, i32 22
  %153 = load float, ptr %152, align 4, !tbaa !36
  %154 = fpext float %153 to double
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.s_desc, ptr %155, i32 0, i32 23
  %157 = load float, ptr %156, align 4, !tbaa !37
  %158 = fpext float %157 to double
  %159 = load ptr, ptr %12, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.s_desc, ptr %159, i32 0, i32 25
  %161 = load float, ptr %160, align 4, !tbaa !38
  %162 = fpext float %161 to double
  %163 = load ptr, ptr %12, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.s_desc, ptr %163, i32 0, i32 26
  %165 = load float, ptr %164, align 4, !tbaa !39
  %166 = fpext float %165 to double
  %167 = load ptr, ptr %12, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.s_desc, ptr %167, i32 0, i32 27
  %169 = load i32, ptr %168, align 4, !tbaa !40
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.10, ptr noundef %50, ptr noundef %51, double noundef %53, i32 noundef %54, double noundef %56, double noundef %58, double noundef %60, i32 noundef %61, double noundef %63, double noundef %65, double noundef %69, i32 noundef %72, double noundef %76, double noundef %80, double noundef %84, double noundef %88, double noundef %92, double noundef %96, double noundef %100, double noundef %104, double noundef %108, i32 noundef %111, double noundef %115, i32 noundef %118, double noundef %122, double noundef %126, double noundef %130, double noundef %134, double noundef %138, double noundef %142, double noundef %146, double noundef %150, double noundef %154, double noundef %158, double noundef %162, double noundef %166, i32 noundef %169) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !11
  br label %171

171:                                              ; preds = %183, %35
  %172 = load i32, ptr %22, align 4, !tbaa !11
  %173 = icmp slt i32 %172, 20
  br i1 %173, label %174, label %186

174:                                              ; preds = %171
  %175 = load ptr, ptr %18, align 8, !tbaa !5
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.s_desc, ptr %176, i32 0, i32 28
  %178 = load i32, ptr %22, align 4, !tbaa !11
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [20 x i32], ptr %177, i64 0, i64 %179
  %181 = load i32, ptr %180, align 4, !tbaa !11
  %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %175, ptr noundef @.str.11, i32 noundef %181) #3
  br label %183

183:                                              ; preds = %174
  %184 = load i32, ptr %22, align 4, !tbaa !11
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %22, align 4, !tbaa !11
  br label %171, !llvm.loop !41

186:                                              ; preds = %171
  %187 = load ptr, ptr %18, align 8, !tbaa !5
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { 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 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"s_desc", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !12, i64 108, !7, i64 112, !12, i64 192, !12, i64 196, !12, i64 200, !10, i64 204, !10, i64 208, !12, i64 212, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !7, i64 232, !7, i64 487, !7, i64 742}
!15 = !{!14, !12, i64 192}
!16 = !{!14, !10, i64 48}
!17 = !{!14, !10, i64 20}
!18 = !{!14, !10, i64 24}
!19 = !{!14, !10, i64 28}
!20 = !{!14, !10, i64 60}
!21 = !{!14, !10, i64 32}
!22 = !{!14, !10, i64 56}
!23 = !{!14, !10, i64 0}
!24 = !{!14, !10, i64 4}
!25 = !{!14, !12, i64 196}
!26 = !{!14, !10, i64 52}
!27 = !{!14, !12, i64 200}
!28 = !{!14, !10, i64 44}
!29 = !{!14, !10, i64 16}
!30 = !{!14, !10, i64 36}
!31 = !{!14, !10, i64 64}
!32 = !{!14, !10, i64 40}
!33 = !{!14, !10, i64 68}
!34 = !{!14, !10, i64 208}
!35 = !{!14, !10, i64 12}
!36 = !{!14, !10, i64 88}
!37 = !{!14, !10, i64 92}
!38 = !{!14, !10, i64 100}
!39 = !{!14, !10, i64 104}
!40 = !{!14, !12, i64 108}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}


; 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"

@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [205 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1

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

; Function Attrs: nofree nounwind uwtable
define dso_local void @write_pocket_desc(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, ptr nocapture noundef %8) local_unnamed_addr #1 {
  %10 = fpext float %5 to double
  %11 = fcmp olt float %5, 4.000000e+00
  %.048 = zext i1 %11 to i32
  %12 = fpext float %6 to double
  %13 = fcmp oge float %6, 5.000000e-01
  %14 = fpext float %7 to double
  %15 = fcmp oge double %14, 2.000000e-01
  %16 = and i1 %13, %15
  %17 = zext i1 %16 to i32
  %18 = fadd double %12, -5.000000e-01
  %19 = fmul double %18, 2.000000e+00
  %20 = fadd double %14, -2.000000e-01
  %21 = fdiv double %20, 8.000000e-01
  %22 = fadd double %19, %21
  %23 = fptrunc double %22 to float
  %24 = fpext float %4 to double
  %25 = fpext float %23 to double
  %26 = fpext float %3 to double
  %27 = getelementptr inbounds i8, ptr %2, i64 8
  %28 = load float, ptr %27, align 4, !tbaa !5
  %29 = fpext float %28 to double
  %30 = getelementptr inbounds i8, ptr %2, i64 192
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %2, i64 48
  %33 = load float, ptr %32, align 4, !tbaa !12
  %34 = fpext float %33 to double
  %35 = getelementptr inbounds i8, ptr %2, i64 20
  %36 = load float, ptr %35, align 4, !tbaa !13
  %37 = fpext float %36 to double
  %38 = getelementptr inbounds i8, ptr %2, i64 24
  %39 = load float, ptr %38, align 4, !tbaa !14
  %40 = fpext float %39 to double
  %41 = getelementptr inbounds i8, ptr %2, i64 28
  %42 = load float, ptr %41, align 4, !tbaa !15
  %43 = fpext float %42 to double
  %44 = getelementptr inbounds i8, ptr %2, i64 60
  %45 = load float, ptr %44, align 4, !tbaa !16
  %46 = fpext float %45 to double
  %47 = getelementptr inbounds i8, ptr %2, i64 32
  %48 = load float, ptr %47, align 4, !tbaa !17
  %49 = fpext float %48 to double
  %50 = getelementptr inbounds i8, ptr %2, i64 56
  %51 = load float, ptr %50, align 4, !tbaa !18
  %52 = fpext float %51 to double
  %53 = load float, ptr %2, align 4, !tbaa !19
  %54 = fpext float %53 to double
  %55 = getelementptr inbounds i8, ptr %2, i64 4
  %56 = load float, ptr %55, align 4, !tbaa !20
  %57 = fpext float %56 to double
  %58 = getelementptr inbounds i8, ptr %2, i64 196
  %59 = load i32, ptr %58, align 4, !tbaa !21
  %60 = getelementptr inbounds i8, ptr %2, i64 52
  %61 = load float, ptr %60, align 4, !tbaa !22
  %62 = fpext float %61 to double
  %63 = getelementptr inbounds i8, ptr %2, i64 200
  %64 = load i32, ptr %63, align 4, !tbaa !23
  %65 = getelementptr inbounds i8, ptr %2, i64 44
  %66 = load float, ptr %65, align 4, !tbaa !24
  %67 = fpext float %66 to double
  %68 = getelementptr inbounds i8, ptr %2, i64 16
  %69 = load float, ptr %68, align 4, !tbaa !25
  %70 = fpext float %69 to double
  %71 = getelementptr inbounds i8, ptr %2, i64 36
  %72 = load float, ptr %71, align 4, !tbaa !26
  %73 = fpext float %72 to double
  %74 = getelementptr inbounds i8, ptr %2, i64 64
  %75 = load float, ptr %74, align 4, !tbaa !27
  %76 = fpext float %75 to double
  %77 = getelementptr inbounds i8, ptr %2, i64 40
  %78 = load float, ptr %77, align 4, !tbaa !28
  %79 = fpext float %78 to double
  %80 = getelementptr inbounds i8, ptr %2, i64 68
  %81 = load float, ptr %80, align 4, !tbaa !29
  %82 = fpext float %81 to double
  %83 = getelementptr inbounds i8, ptr %2, i64 208
  %84 = load float, ptr %83, align 4, !tbaa !30
  %85 = fpext float %84 to double
  %86 = getelementptr inbounds i8, ptr %2, i64 12
  %87 = load float, ptr %86, align 4, !tbaa !31
  %88 = fpext float %87 to double
  %89 = getelementptr inbounds i8, ptr %2, i64 88
  %90 = load float, ptr %89, align 4, !tbaa !32
  %91 = fpext float %90 to double
  %92 = getelementptr inbounds i8, ptr %2, i64 92
  %93 = load float, ptr %92, align 4, !tbaa !33
  %94 = fpext float %93 to double
  %95 = getelementptr inbounds i8, ptr %2, i64 100
  %96 = load float, ptr %95, align 4, !tbaa !34
  %97 = fpext float %96 to double
  %98 = getelementptr inbounds i8, ptr %2, i64 104
  %99 = load float, ptr %98, align 4, !tbaa !35
  %100 = fpext float %99 to double
  %101 = getelementptr inbounds i8, ptr %2, i64 108
  %102 = load i32, ptr %101, align 4, !tbaa !36
  %103 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.10, ptr noundef %0, ptr noundef %1, double noundef %24, i32 noundef %.048, double noundef %10, double noundef %12, double noundef %14, i32 noundef %17, double noundef %25, double noundef %26, double noundef %29, i32 noundef %31, double noundef %34, double noundef %37, double noundef %40, double noundef %43, double noundef %46, double noundef %49, double noundef %52, double noundef %54, double noundef %57, i32 noundef %59, double noundef %62, i32 noundef %64, double noundef %67, double noundef %70, double noundef %73, double noundef %76, double noundef %79, double noundef %82, double noundef %85, double noundef %88, double noundef %91, double noundef %94, double noundef %97, double noundef %100, i32 noundef %102) #2
  %104 = getelementptr inbounds i8, ptr %2, i64 112
  %105 = load i32, ptr %104, align 4, !tbaa !37
  %106 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %105) #2
  %107 = getelementptr inbounds i8, ptr %2, i64 116
  %108 = load i32, ptr %107, align 4, !tbaa !37
  %109 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %108) #2
  %110 = getelementptr inbounds i8, ptr %2, i64 120
  %111 = load i32, ptr %110, align 4, !tbaa !37
  %112 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %111) #2
  %113 = getelementptr inbounds i8, ptr %2, i64 124
  %114 = load i32, ptr %113, align 4, !tbaa !37
  %115 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %114) #2
  %116 = getelementptr inbounds i8, ptr %2, i64 128
  %117 = load i32, ptr %116, align 4, !tbaa !37
  %118 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %117) #2
  %119 = getelementptr inbounds i8, ptr %2, i64 132
  %120 = load i32, ptr %119, align 4, !tbaa !37
  %121 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %120) #2
  %122 = getelementptr inbounds i8, ptr %2, i64 136
  %123 = load i32, ptr %122, align 4, !tbaa !37
  %124 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %123) #2
  %125 = getelementptr inbounds i8, ptr %2, i64 140
  %126 = load i32, ptr %125, align 4, !tbaa !37
  %127 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %126) #2
  %128 = getelementptr inbounds i8, ptr %2, i64 144
  %129 = load i32, ptr %128, align 4, !tbaa !37
  %130 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %129) #2
  %131 = getelementptr inbounds i8, ptr %2, i64 148
  %132 = load i32, ptr %131, align 4, !tbaa !37
  %133 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %132) #2
  %134 = getelementptr inbounds i8, ptr %2, i64 152
  %135 = load i32, ptr %134, align 4, !tbaa !37
  %136 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %135) #2
  %137 = getelementptr inbounds i8, ptr %2, i64 156
  %138 = load i32, ptr %137, align 4, !tbaa !37
  %139 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %138) #2
  %140 = getelementptr inbounds i8, ptr %2, i64 160
  %141 = load i32, ptr %140, align 4, !tbaa !37
  %142 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %141) #2
  %143 = getelementptr inbounds i8, ptr %2, i64 164
  %144 = load i32, ptr %143, align 4, !tbaa !37
  %145 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %144) #2
  %146 = getelementptr inbounds i8, ptr %2, i64 168
  %147 = load i32, ptr %146, align 4, !tbaa !37
  %148 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %147) #2
  %149 = getelementptr inbounds i8, ptr %2, i64 172
  %150 = load i32, ptr %149, align 4, !tbaa !37
  %151 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %150) #2
  %152 = getelementptr inbounds i8, ptr %2, i64 176
  %153 = load i32, ptr %152, align 4, !tbaa !37
  %154 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %153) #2
  %155 = getelementptr inbounds i8, ptr %2, i64 180
  %156 = load i32, ptr %155, align 4, !tbaa !37
  %157 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %156) #2
  %158 = getelementptr inbounds i8, ptr %2, i64 184
  %159 = load i32, ptr %158, align 4, !tbaa !37
  %160 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %159) #2
  %161 = getelementptr inbounds i8, ptr %2, i64 188
  %162 = load i32, ptr %161, align 4, !tbaa !37
  %163 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11, i32 noundef %162) #2
  %164 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.3) #2
  ret void
}

attributes #0 = { 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 #1 = { 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 #2 = { 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, !7, i64 8}
!6 = !{!"s_desc", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !10, i64 108, !8, i64 112, !10, i64 192, !10, i64 196, !10, i64 200, !7, i64 204, !7, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !8, i64 232, !8, i64 487, !8, i64 742}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 192}
!12 = !{!6, !7, i64 48}
!13 = !{!6, !7, i64 20}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 28}
!16 = !{!6, !7, i64 60}
!17 = !{!6, !7, i64 32}
!18 = !{!6, !7, i64 56}
!19 = !{!6, !7, i64 0}
!20 = !{!6, !7, i64 4}
!21 = !{!6, !10, i64 196}
!22 = !{!6, !7, i64 52}
!23 = !{!6, !10, i64 200}
!24 = !{!6, !7, i64 44}
!25 = !{!6, !7, i64 16}
!26 = !{!6, !7, i64 36}
!27 = !{!6, !7, i64 64}
!28 = !{!6, !7, i64 40}
!29 = !{!6, !7, i64 68}
!30 = !{!6, !7, i64 208}
!31 = !{!6, !7, i64 12}
!32 = !{!6, !7, i64 88}
!33 = !{!6, !7, i64 92}
!34 = !{!6, !7, i64 100}
!35 = !{!6, !7, i64 104}
!36 = !{!6, !10, i64 108}
!37 = !{!10, !10, i64 0}


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