; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/ImageContent/ImageConten_1431e235 (ffffff)

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

%class.ImageContent = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5floorf(float noundef) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN12ImageContent11interpolateEPS_ffffff(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) #3 align 2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %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 float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i8, align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store float %2, ptr %11, align 4, !tbaa !9
  store float %3, ptr %12, align 4, !tbaa !9
  store float %4, ptr %13, align 4, !tbaa !9
  store float %5, ptr %14, align 4, !tbaa !9
  store float %6, ptr %15, align 4, !tbaa !9
  store float %7, ptr %16, align 4, !tbaa !9
  %31 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %32 = getelementptr inbounds %class.ImageContent, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = lshr i32 %33, 1
  store i32 %34, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %35 = getelementptr inbounds %class.ImageContent, ptr %31, i32 0, i32 1
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %37 = lshr i32 %36, 1
  store i32 %37, ptr %24, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %38)
  %40 = sub i32 %39, 1
  store i32 %40, ptr %25, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %41)
  %43 = sub i32 %42, 1
  store i32 %43, ptr %26, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #4
  store i8 0, ptr %27, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %44 = load i32, ptr %24, align 4, !tbaa !14
  %45 = sub nsw i32 0, %44
  store i32 %45, ptr %28, align 4, !tbaa !14
  br label %46

46:                                               ; preds = %210, %8
  %47 = load i32, ptr %28, align 4, !tbaa !14
  %48 = load i32, ptr %24, align 4, !tbaa !14
  %49 = icmp sle i32 %47, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  store i32 2, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %213

51:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %52 = load i32, ptr %23, align 4, !tbaa !14
  %53 = sub nsw i32 0, %52
  store i32 %53, ptr %30, align 4, !tbaa !14
  br label %54

54:                                               ; preds = %206, %51
  %55 = load i32, ptr %30, align 4, !tbaa !14
  %56 = load i32, ptr %23, align 4, !tbaa !14
  %57 = icmp sle i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  store i32 5, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %209

59:                                               ; preds = %54
  %60 = load float, ptr %11, align 4, !tbaa !9
  %61 = load i32, ptr %30, align 4, !tbaa !14
  %62 = sitofp i32 %61 to float
  %63 = load float, ptr %13, align 4, !tbaa !9
  %64 = call float @llvm.fmuladd.f32(float %62, float %63, float %60)
  %65 = load i32, ptr %28, align 4, !tbaa !14
  %66 = sitofp i32 %65 to float
  %67 = load float, ptr %14, align 4, !tbaa !9
  %68 = call float @llvm.fmuladd.f32(float %66, float %67, float %64)
  store float %68, ptr %17, align 4, !tbaa !9
  %69 = load float, ptr %12, align 4, !tbaa !9
  %70 = load i32, ptr %30, align 4, !tbaa !14
  %71 = sitofp i32 %70 to float
  %72 = load float, ptr %15, align 4, !tbaa !9
  %73 = call float @llvm.fmuladd.f32(float %71, float %72, float %69)
  %74 = load i32, ptr %28, align 4, !tbaa !14
  %75 = sitofp i32 %74 to float
  %76 = load float, ptr %16, align 4, !tbaa !9
  %77 = call float @llvm.fmuladd.f32(float %75, float %76, float %73)
  store float %77, ptr %18, align 4, !tbaa !9
  %78 = load float, ptr %17, align 4, !tbaa !9
  %79 = call noundef float @_ZSt5floorf(float noundef %78)
  %80 = fptosi float %79 to i32
  store i32 %80, ptr %21, align 4, !tbaa !14
  %81 = load float, ptr %18, align 4, !tbaa !9
  %82 = call noundef float @_ZSt5floorf(float noundef %81)
  %83 = fptosi float %82 to i32
  store i32 %83, ptr %22, align 4, !tbaa !14
  %84 = load float, ptr %17, align 4, !tbaa !9
  %85 = load i32, ptr %21, align 4, !tbaa !14
  %86 = sitofp i32 %85 to float
  %87 = fsub float %84, %86
  store float %87, ptr %19, align 4, !tbaa !9
  %88 = load float, ptr %18, align 4, !tbaa !9
  %89 = load i32, ptr %22, align 4, !tbaa !14
  %90 = sitofp i32 %89 to float
  %91 = fsub float %88, %90
  store float %91, ptr %20, align 4, !tbaa !9
  %92 = load i32, ptr %21, align 4, !tbaa !14
  %93 = icmp sge i32 %92, 0
  br i1 %93, label %94, label %191

94:                                               ; preds = %59
  %95 = load i32, ptr %22, align 4, !tbaa !14
  %96 = icmp sge i32 %95, 0
  br i1 %96, label %97, label %191

97:                                               ; preds = %94
  %98 = load i32, ptr %21, align 4, !tbaa !14
  %99 = load i32, ptr %25, align 4, !tbaa !14
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %101, label %191

101:                                              ; preds = %97
  %102 = load i32, ptr %22, align 4, !tbaa !14
  %103 = load i32, ptr %26, align 4, !tbaa !14
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %105, label %191

105:                                              ; preds = %101
  %106 = load float, ptr %20, align 4, !tbaa !9
  %107 = fpext float %106 to double
  %108 = fsub double 1.000000e+00, %107
  %109 = load float, ptr %19, align 4, !tbaa !9
  %110 = fpext float %109 to double
  %111 = fsub double 1.000000e+00, %110
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = getelementptr inbounds %class.ImageContent, ptr %112, i32 0, i32 4
  %114 = load ptr, ptr %113, align 8, !tbaa !18
  %115 = load i32, ptr %22, align 4, !tbaa !14
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds ptr, ptr %114, i64 %116
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = load i32, ptr %21, align 4, !tbaa !14
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds float, ptr %118, i64 %120
  %122 = load float, ptr %121, align 4, !tbaa !9
  %123 = fpext float %122 to double
  %124 = load float, ptr %19, align 4, !tbaa !9
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = getelementptr inbounds %class.ImageContent, ptr %125, i32 0, i32 4
  %127 = load ptr, ptr %126, align 8, !tbaa !18
  %128 = load i32, ptr %22, align 4, !tbaa !14
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds ptr, ptr %127, i64 %129
  %131 = load ptr, ptr %130, align 8, !tbaa !5
  %132 = load i32, ptr %21, align 4, !tbaa !14
  %133 = add nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds float, ptr %131, i64 %134
  %136 = load float, ptr %135, align 4, !tbaa !9
  %137 = fmul float %124, %136
  %138 = fpext float %137 to double
  %139 = call double @llvm.fmuladd.f64(double %111, double %123, double %138)
  %140 = load float, ptr %20, align 4, !tbaa !9
  %141 = fpext float %140 to double
  %142 = load float, ptr %19, align 4, !tbaa !9
  %143 = fpext float %142 to double
  %144 = fsub double 1.000000e+00, %143
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = getelementptr inbounds %class.ImageContent, ptr %145, i32 0, i32 4
  %147 = load ptr, ptr %146, align 8, !tbaa !18
  %148 = load i32, ptr %22, align 4, !tbaa !14
  %149 = add nsw i32 %148, 1
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds ptr, ptr %147, i64 %150
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = load i32, ptr %21, align 4, !tbaa !14
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds float, ptr %152, i64 %154
  %156 = load float, ptr %155, align 4, !tbaa !9
  %157 = fpext float %156 to double
  %158 = load float, ptr %19, align 4, !tbaa !9
  %159 = load ptr, ptr %10, align 8, !tbaa !5
  %160 = getelementptr inbounds %class.ImageContent, ptr %159, i32 0, i32 4
  %161 = load ptr, ptr %160, align 8, !tbaa !18
  %162 = load i32, ptr %22, align 4, !tbaa !14
  %163 = add nsw i32 %162, 1
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds ptr, ptr %161, i64 %164
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = load i32, ptr %21, align 4, !tbaa !14
  %168 = add nsw i32 %167, 1
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds float, ptr %166, i64 %169
  %171 = load float, ptr %170, align 4, !tbaa !9
  %172 = fmul float %158, %171
  %173 = fpext float %172 to double
  %174 = call double @llvm.fmuladd.f64(double %144, double %157, double %173)
  %175 = fmul double %141, %174
  %176 = call double @llvm.fmuladd.f64(double %108, double %139, double %175)
  %177 = fptrunc double %176 to float
  %178 = getelementptr inbounds %class.ImageContent, ptr %31, i32 0, i32 4
  %179 = load ptr, ptr %178, align 8, !tbaa !18
  %180 = load i32, ptr %28, align 4, !tbaa !14
  %181 = load i32, ptr %24, align 4, !tbaa !14
  %182 = add nsw i32 %180, %181
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds ptr, ptr %179, i64 %183
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = load i32, ptr %30, align 4, !tbaa !14
  %187 = load i32, ptr %23, align 4, !tbaa !14
  %188 = add nsw i32 %186, %187
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds float, ptr %185, i64 %189
  store float %177, ptr %190, align 4, !tbaa !9
  br label %205

191:                                              ; preds = %101, %97, %94, %59
  %192 = getelementptr inbounds %class.ImageContent, ptr %31, i32 0, i32 4
  %193 = load ptr, ptr %192, align 8, !tbaa !18
  %194 = load i32, ptr %28, align 4, !tbaa !14
  %195 = load i32, ptr %24, align 4, !tbaa !14
  %196 = add nsw i32 %194, %195
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds ptr, ptr %193, i64 %197
  %199 = load ptr, ptr %198, align 8, !tbaa !5
  %200 = load i32, ptr %30, align 4, !tbaa !14
  %201 = load i32, ptr %23, align 4, !tbaa !14
  %202 = add nsw i32 %200, %201
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds float, ptr %199, i64 %203
  store float 0.000000e+00, ptr %204, align 4, !tbaa !9
  store i8 1, ptr %27, align 1, !tbaa !16
  br label %205

205:                                              ; preds = %191, %105
  br label %206

206:                                              ; preds = %205
  %207 = load i32, ptr %30, align 4, !tbaa !14
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %30, align 4, !tbaa !14
  br label %54, !llvm.loop !19

209:                                              ; preds = %58
  br label %210

210:                                              ; preds = %209
  %211 = load i32, ptr %28, align 4, !tbaa !14
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %28, align 4, !tbaa !14
  br label %46, !llvm.loop !21

213:                                              ; preds = %50
  %214 = load i8, ptr %27, align 1, !tbaa !16, !range !22, !noundef !23
  %215 = trunc i8 %214 to i1
  store i32 1, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  ret i1 %215
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS12ImageContent", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 4}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!12, !6, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{i8 0, i8 2}
!23 = !{}


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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5floorf(float noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN12ImageContent11interpolateEPS_ffffff(ptr nocapture noundef nonnull readonly align 8 dereferenceable(80) %0, ptr noundef nonnull %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7) local_unnamed_addr #2 align 2 {
.lr.ph.preheader:
  %8 = load i32, ptr %0, align 8, !tbaa !5
  %9 = lshr i32 %8, 1
  %10 = getelementptr inbounds i8, ptr %0, i64 4
  %11 = load i32, ptr %10, align 4, !tbaa !11
  %12 = lshr i32 %11, 1
  %13 = tail call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %1)
  %14 = add i32 %13, -1
  %15 = tail call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %1)
  %16 = add i32 %15, -1
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = getelementptr inbounds i8, ptr %1, i64 16
  %19 = sub nsw i32 0, %9
  %20 = sub nsw i32 0, %12
  %21 = sext i32 %19 to i64
  %22 = zext nneg i32 %9 to i64
  %23 = add nuw i32 %9, 1
  %24 = sext i32 %20 to i64
  %25 = zext nneg i32 %12 to i64
  %26 = add nuw i32 %12, 1
  br label %.lr.ph

._crit_edge77:                                    ; preds = %._crit_edge
  ret i1 %.2

.lr.ph:                                           ; preds = %.lr.ph.preheader, %._crit_edge
  %indvars.iv80 = phi i64 [ %24, %.lr.ph.preheader ], [ %indvars.iv.next81, %._crit_edge ]
  %.06173 = phi i1 [ false, %.lr.ph.preheader ], [ %.2, %._crit_edge ]
  %27 = trunc nsw i64 %indvars.iv80 to i32
  %28 = sitofp i32 %27 to float
  br label %29

._crit_edge:                                      ; preds = %81
  %indvars.iv.next81 = add nsw i64 %indvars.iv80, 1
  %lftr.wideiv82 = trunc i64 %indvars.iv.next81 to i32
  %exitcond83.not = icmp eq i32 %26, %lftr.wideiv82
  br i1 %exitcond83.not, label %._crit_edge77, label %.lr.ph, !llvm.loop !12

29:                                               ; preds = %.lr.ph, %81
  %indvars.iv = phi i64 [ %21, %.lr.ph ], [ %indvars.iv.next, %81 ]
  %.170 = phi i1 [ %.06173, %.lr.ph ], [ %.2, %81 ]
  %30 = trunc nsw i64 %indvars.iv to i32
  %31 = sitofp i32 %30 to float
  %32 = tail call float @llvm.fmuladd.f32(float %31, float %4, float %2)
  %33 = tail call float @llvm.fmuladd.f32(float %28, float %5, float %32)
  %34 = tail call float @llvm.fmuladd.f32(float %31, float %6, float %3)
  %35 = tail call float @llvm.fmuladd.f32(float %28, float %7, float %34)
  %36 = tail call noundef float @_ZSt5floorf(float noundef %33)
  %37 = fptosi float %36 to i32
  %38 = tail call noundef float @_ZSt5floorf(float noundef %35)
  %39 = fptosi float %38 to i32
  %40 = icmp sgt i32 %37, -1
  %41 = icmp sgt i32 %39, -1
  %or.cond = select i1 %40, i1 %41, i1 false
  %42 = icmp sgt i32 %14, %37
  %or.cond67 = and i1 %42, %or.cond
  %43 = icmp sgt i32 %16, %39
  %or.cond68 = select i1 %or.cond67, i1 %43, i1 false
  br i1 %or.cond68, label %44, label %81

44:                                               ; preds = %29
  %45 = uitofp nneg i32 %39 to float
  %46 = fsub float %35, %45
  %47 = uitofp nneg i32 %37 to float
  %48 = fsub float %33, %47
  %49 = fpext float %46 to double
  %50 = fsub double 1.000000e+00, %49
  %51 = fpext float %48 to double
  %52 = fsub double 1.000000e+00, %51
  %53 = load ptr, ptr %18, align 8, !tbaa !14
  %54 = zext nneg i32 %39 to i64
  %55 = getelementptr inbounds ptr, ptr %53, i64 %54
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = zext nneg i32 %37 to i64
  %58 = getelementptr inbounds float, ptr %56, i64 %57
  %59 = load float, ptr %58, align 4, !tbaa !16
  %60 = fpext float %59 to double
  %61 = add nuw nsw i32 %37, 1
  %62 = zext nneg i32 %61 to i64
  %63 = getelementptr inbounds float, ptr %56, i64 %62
  %64 = load float, ptr %63, align 4, !tbaa !16
  %65 = fmul float %48, %64
  %66 = fpext float %65 to double
  %67 = tail call double @llvm.fmuladd.f64(double %52, double %60, double %66)
  %68 = getelementptr inbounds i8, ptr %55, i64 8
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = getelementptr inbounds float, ptr %69, i64 %57
  %71 = load float, ptr %70, align 4, !tbaa !16
  %72 = fpext float %71 to double
  %73 = getelementptr inbounds float, ptr %69, i64 %62
  %74 = load float, ptr %73, align 4, !tbaa !16
  %75 = fmul float %48, %74
  %76 = fpext float %75 to double
  %77 = tail call double @llvm.fmuladd.f64(double %52, double %72, double %76)
  %78 = fmul double %77, %49
  %79 = tail call double @llvm.fmuladd.f64(double %50, double %67, double %78)
  %80 = fptrunc double %79 to float
  br label %81

81:                                               ; preds = %29, %44
  %.sink = phi float [ %80, %44 ], [ 0.000000e+00, %29 ]
  %.2 = phi i1 [ %.170, %44 ], [ true, %29 ]
  %82 = load ptr, ptr %17, align 8, !tbaa !14
  %83 = getelementptr ptr, ptr %82, i64 %indvars.iv80
  %84 = getelementptr ptr, ptr %83, i64 %25
  %85 = load ptr, ptr %84, align 8, !tbaa !15
  %86 = getelementptr float, ptr %85, i64 %indvars.iv
  %87 = getelementptr float, ptr %86, i64 %22
  store float %.sink, ptr %87, align 4, !tbaa !16
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %23, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %29, !llvm.loop !18
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

attributes #0 = { inlinehint mustprogress 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress 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" }

!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 0}
!6 = !{!"_ZTS12ImageContent", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!6, !10, i64 16}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !8, i64 0}
!18 = distinct !{!18, !13}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass