; LLVM IR from awawa-dev/HyperHDR :: sources/hyperimage/HyperImage.ll (ZN10HyperImage11conicalFillEdRKSt6vectorIhSaIhEEb)

; 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.ColorRgb = type { i8, i8, i8 }
%class.HyperImage = type { %class.Image, %struct.ColorRgb, [5 x i8] }
%class.Image = type <{ %"class.std::shared_ptr", i32, [4 x i8] }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10HyperImage5widthEv(ptr noundef nonnull align 8 dereferenceable(27)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10HyperImage6heightEv(ptr noundef nonnull align 8 dereferenceable(27)) #2 align 2

declare noundef ptr @_ZN5ImageI8ColorRgbE6rawMemEv(ptr noundef nonnull align 8 dereferenceable(20)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8ColorRgbC2Ev(ptr noundef nonnull align 1 dereferenceable(3)) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef) #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8ColorRgbC2Ehhh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5roundf(float noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HyperImage11conicalFillEdRKSt6vectorIhSaIhEEb(ptr noundef nonnull align 8 dereferenceable(27) %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %struct.ColorRgb, align 1
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %struct.ColorRgb, align 1
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca %struct.ColorRgb, align 1
  %29 = alloca i32, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store double %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %35 = zext i1 %3 to i8
  store i8 %35, ptr %8, align 1, !tbaa !11
  %36 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %37 = getelementptr inbounds %class.HyperImage, ptr %36, i32 0, i32 0
  %38 = call noundef ptr @_ZN5ImageI8ColorRgbE6rawMemEv(ptr noundef nonnull align 8 dereferenceable(20) %37)
  store ptr %38, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %39 = call noundef i32 @_ZNK10HyperImage6heightEv(ptr noundef nonnull align 8 dereferenceable(27) %36)
  store i32 %39, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %40 = call noundef i32 @_ZNK10HyperImage5widthEv(ptr noundef nonnull align 8 dereferenceable(27) %36)
  store i32 %40, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %41 = call noundef double @_ZSt4atanIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef 1)
  %42 = fmul double %41, 4.000000e+00
  %43 = fptrunc double %42 to float
  store float %43, ptr %12, align 4, !tbaa !15
  %44 = load i8, ptr %8, align 1, !tbaa !11, !range !17, !noundef !18
  %45 = trunc i8 %44 to i1
  br i1 %45, label %46, label %54

46:                                               ; preds = %4
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = load i32, ptr %11, align 4, !tbaa !13
  %49 = sext i32 %48 to i64
  %50 = mul nsw i64 3, %49
  %51 = load i32, ptr %10, align 4, !tbaa !13
  %52 = sext i32 %51 to i64
  %53 = mul nsw i64 %50, %52
  call void @llvm.memset.p0.i64(ptr align 1 %47, i8 0, i64 %53, i1 false)
  br label %54

54:                                               ; preds = %46, %4
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #9
  %57 = icmp ult i64 %56, 5
  br i1 %57, label %63, label %58

58:                                               ; preds = %54
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  %61 = urem i64 %60, 5
  %62 = icmp ne i64 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %58, %54
  store i32 1, ptr %13, align 4
  br label %479

64:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 0, ptr %14, align 4, !tbaa !13
  br label %65

65:                                               ; preds = %475, %64
  %66 = load i32, ptr %14, align 4, !tbaa !13
  %67 = load i32, ptr %10, align 4, !tbaa !13
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %478

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !13
  br label %71

71:                                               ; preds = %471, %70
  %72 = load i32, ptr %15, align 4, !tbaa !13
  %73 = load i32, ptr %11, align 4, !tbaa !13
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %71
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %474

76:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 3, ptr %16) #9
  call void @_ZN8ColorRgbC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %16) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %77 = load i32, ptr %15, align 4, !tbaa !13
  %78 = load i32, ptr %11, align 4, !tbaa !13
  %79 = sdiv i32 %78, 2
  %80 = sub nsw i32 %77, %79
  %81 = sitofp i32 %80 to float
  store float %81, ptr %17, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %82 = load i32, ptr %10, align 4, !tbaa !13
  %83 = sdiv i32 %82, 2
  %84 = load i32, ptr %14, align 4, !tbaa !13
  %85 = sub nsw i32 %83, %84
  %86 = sitofp i32 %85 to float
  store float %86, ptr %18, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %87 = load float, ptr %17, align 4, !tbaa !15
  %88 = load float, ptr %17, align 4, !tbaa !15
  %89 = load float, ptr %18, align 4, !tbaa !15
  %90 = load float, ptr %18, align 4, !tbaa !15
  %91 = fmul float %89, %90
  %92 = call float @llvm.fmuladd.f32(float %87, float %88, float %91)
  store float %92, ptr %19, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %93 = load double, ptr %6, align 8, !tbaa !9
  %94 = fptrunc double %93 to float
  store float %94, ptr %20, align 4, !tbaa !15
  %95 = load float, ptr %19, align 4, !tbaa !15
  %96 = fpext float %95 to double
  %97 = fcmp ogt double %96, 0.000000e+00
  br i1 %97, label %98, label %117

98:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %99 = call double @atan2(double noundef 1.000000e+00, double noundef 0.000000e+00) #9
  %100 = load float, ptr %18, align 4, !tbaa !15
  %101 = fpext float %100 to double
  %102 = load float, ptr %17, align 4, !tbaa !15
  %103 = fpext float %102 to double
  %104 = call double @atan2(double noundef %101, double noundef %103) #9
  %105 = fsub double %99, %104
  store double %105, ptr %21, align 8, !tbaa !9
  %106 = load double, ptr %21, align 8, !tbaa !9
  %107 = fmul double %106, 3.600000e+02
  %108 = load float, ptr %12, align 4, !tbaa !15
  %109 = fmul float 2.000000e+00, %108
  %110 = fpext float %109 to double
  %111 = fdiv double %107, %110
  store double %111, ptr %21, align 8, !tbaa !9
  %112 = load double, ptr %21, align 8, !tbaa !9
  %113 = load float, ptr %20, align 4, !tbaa !15
  %114 = fpext float %113 to double
  %115 = fadd double %114, %112
  %116 = fptrunc double %115 to float
  store float %116, ptr %20, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %117

117:                                              ; preds = %98, %76
  br label %118

118:                                              ; preds = %122, %117
  %119 = load float, ptr %20, align 4, !tbaa !15
  %120 = fpext float %119 to double
  %121 = fcmp ogt double %120, 3.600000e+02
  br i1 %121, label %122, label %127

122:                                              ; preds = %118
  %123 = load float, ptr %20, align 4, !tbaa !15
  %124 = fpext float %123 to double
  %125 = fsub double %124, 3.600000e+02
  %126 = fptrunc double %125 to float
  store float %126, ptr %20, align 4, !tbaa !15
  br label %118, !llvm.loop !19

127:                                              ; preds = %118
  br label %128

128:                                              ; preds = %132, %127
  %129 = load float, ptr %20, align 4, !tbaa !15
  %130 = fpext float %129 to double
  %131 = fcmp olt double %130, 0.000000e+00
  br i1 %131, label %132, label %137

132:                                              ; preds = %128
  %133 = load float, ptr %20, align 4, !tbaa !15
  %134 = fpext float %133 to double
  %135 = fadd double %134, 3.600000e+02
  %136 = fptrunc double %135 to float
  store float %136, ptr %20, align 4, !tbaa !15
  br label %128, !llvm.loop !21

137:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %138 = load float, ptr %20, align 4, !tbaa !15
  %139 = fmul float %138, 2.550000e+02
  %140 = fpext float %139 to double
  %141 = fdiv double %140, 3.600000e+02
  %142 = call double @llvm.round.f64(double %141)
  %143 = fptosi double %142 to i32
  %144 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %143)
  %145 = zext i8 %144 to i32
  store i32 %145, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 0, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store i32 0, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 3, ptr %25) #9
  call void @_ZN8ColorRgbC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %25) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  store i64 0, ptr %26, align 8, !tbaa !22
  br label %146

146:                                              ; preds = %390, %137
  %147 = load i64, ptr %26, align 8, !tbaa !22
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %148) #9
  %150 = icmp ult i64 %147, %149
  br i1 %150, label %152, label %151

151:                                              ; preds = %146
  store i32 12, ptr %13, align 4
  br label %393

152:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = load i64, ptr %26, align 8, !tbaa !22
  %155 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %154) #9
  %156 = load i8, ptr %155, align 1, !tbaa !24
  %157 = zext i8 %156 to i32
  store i32 %157, ptr %27, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 3, ptr %28) #9
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = load i64, ptr %26, align 8, !tbaa !22
  %160 = add i64 %159, 1
  %161 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %158, i64 noundef %160) #9
  %162 = load i8, ptr %161, align 1, !tbaa !24
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = load i64, ptr %26, align 8, !tbaa !22
  %165 = add i64 %164, 2
  %166 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %165) #9
  %167 = load i8, ptr %166, align 1, !tbaa !24
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = load i64, ptr %26, align 8, !tbaa !22
  %170 = add i64 %169, 3
  %171 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %168, i64 noundef %170) #9
  %172 = load i8, ptr %171, align 1, !tbaa !24
  call void @_ZN8ColorRgbC2Ehhh(ptr noundef nonnull align 1 dereferenceable(3) %28, i8 noundef zeroext %162, i8 noundef zeroext %167, i8 noundef zeroext %172)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = load i64, ptr %26, align 8, !tbaa !22
  %175 = add i64 %174, 4
  %176 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %175) #9
  %177 = load i8, ptr %176, align 1, !tbaa !24
  %178 = zext i8 %177 to i32
  store i32 %178, ptr %29, align 4, !tbaa !13
  %179 = load i64, ptr %26, align 8, !tbaa !22
  %180 = icmp ugt i64 %179, 0
  br i1 %180, label %181, label %384

181:                                              ; preds = %152
  %182 = load i32, ptr %23, align 4, !tbaa !13
  %183 = load i32, ptr %22, align 4, !tbaa !13
  %184 = icmp sle i32 %182, %183
  br i1 %184, label %185, label %383

185:                                              ; preds = %181
  %186 = load i32, ptr %22, align 4, !tbaa !13
  %187 = load i32, ptr %27, align 4, !tbaa !13
  %188 = icmp sle i32 %186, %187
  br i1 %188, label %189, label %383

189:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %190 = load i32, ptr %27, align 4, !tbaa !13
  %191 = load i32, ptr %23, align 4, !tbaa !13
  %192 = sub nsw i32 %190, %191
  %193 = sitofp i32 %192 to float
  store float %193, ptr %30, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %194 = load i32, ptr %22, align 4, !tbaa !13
  %195 = load i32, ptr %23, align 4, !tbaa !13
  %196 = sub nsw i32 %194, %195
  %197 = sitofp i32 %196 to float
  %198 = load float, ptr %30, align 4, !tbaa !15
  %199 = fdiv float %197, %198
  store float %199, ptr %31, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  %200 = load float, ptr %31, align 4, !tbaa !15
  %201 = fpext float %200 to double
  %202 = fsub double 1.000000e+00, %201
  %203 = fptrunc double %202 to float
  store float %203, ptr %32, align 4, !tbaa !15
  %204 = load i32, ptr %29, align 4, !tbaa !13
  %205 = icmp sgt i32 %204, 0
  br i1 %205, label %206, label %272

206:                                              ; preds = %189
  %207 = load i32, ptr %24, align 4, !tbaa !13
  %208 = icmp sgt i32 %207, 0
  br i1 %208, label %209, label %272

209:                                              ; preds = %206
  %210 = getelementptr inbounds %struct.ColorRgb, ptr %25, i32 0, i32 0
  %211 = load i8, ptr %210, align 1, !tbaa !25
  %212 = zext i8 %211 to i32
  %213 = sitofp i32 %212 to float
  %214 = load float, ptr %32, align 4, !tbaa !15
  %215 = getelementptr inbounds %struct.ColorRgb, ptr %28, i32 0, i32 0
  %216 = load i8, ptr %215, align 1, !tbaa !25
  %217 = zext i8 %216 to i32
  %218 = sitofp i32 %217 to float
  %219 = load float, ptr %31, align 4, !tbaa !15
  %220 = fmul float %218, %219
  %221 = call float @llvm.fmuladd.f32(float %213, float %214, float %220)
  %222 = fptosi float %221 to i32
  %223 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %222)
  %224 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 0
  store i8 %223, ptr %224, align 1, !tbaa !25
  %225 = getelementptr inbounds %struct.ColorRgb, ptr %25, i32 0, i32 1
  %226 = load i8, ptr %225, align 1, !tbaa !27
  %227 = zext i8 %226 to i32
  %228 = sitofp i32 %227 to float
  %229 = load float, ptr %32, align 4, !tbaa !15
  %230 = getelementptr inbounds %struct.ColorRgb, ptr %28, i32 0, i32 1
  %231 = load i8, ptr %230, align 1, !tbaa !27
  %232 = zext i8 %231 to i32
  %233 = sitofp i32 %232 to float
  %234 = load float, ptr %31, align 4, !tbaa !15
  %235 = fmul float %233, %234
  %236 = call float @llvm.fmuladd.f32(float %228, float %229, float %235)
  %237 = fptosi float %236 to i32
  %238 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %237)
  %239 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 1
  store i8 %238, ptr %239, align 1, !tbaa !27
  %240 = getelementptr inbounds %struct.ColorRgb, ptr %25, i32 0, i32 2
  %241 = load i8, ptr %240, align 1, !tbaa !28
  %242 = zext i8 %241 to i32
  %243 = sitofp i32 %242 to float
  %244 = load float, ptr %32, align 4, !tbaa !15
  %245 = getelementptr inbounds %struct.ColorRgb, ptr %28, i32 0, i32 2
  %246 = load i8, ptr %245, align 1, !tbaa !28
  %247 = zext i8 %246 to i32
  %248 = sitofp i32 %247 to float
  %249 = load float, ptr %31, align 4, !tbaa !15
  %250 = fmul float %248, %249
  %251 = call float @llvm.fmuladd.f32(float %243, float %244, float %250)
  %252 = fptosi float %251 to i32
  %253 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %252)
  %254 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 2
  store i8 %253, ptr %254, align 1, !tbaa !28
  %255 = load i32, ptr %29, align 4, !tbaa !13
  %256 = load i32, ptr %24, align 4, !tbaa !13
  %257 = icmp ne i32 %255, %256
  br i1 %257, label %258, label %271

258:                                              ; preds = %209
  %259 = load i32, ptr %29, align 4, !tbaa !13
  %260 = sitofp i32 %259 to float
  %261 = load float, ptr %31, align 4, !tbaa !15
  %262 = load i32, ptr %24, align 4, !tbaa !13
  %263 = sitofp i32 %262 to float
  %264 = load float, ptr %32, align 4, !tbaa !15
  %265 = fmul float %263, %264
  %266 = call float @llvm.fmuladd.f32(float %260, float %261, float %265)
  %267 = call noundef float @_ZSt5roundf(float noundef %266)
  %268 = fptosi float %267 to i32
  %269 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %268)
  %270 = zext i8 %269 to i32
  store i32 %270, ptr %24, align 4, !tbaa !13
  br label %271

271:                                              ; preds = %258, %209
  br label %382

272:                                              ; preds = %206, %189
  %273 = load i32, ptr %29, align 4, !tbaa !13
  %274 = icmp sgt i32 %273, 0
  br i1 %274, label %275, label %326

275:                                              ; preds = %272
  %276 = getelementptr inbounds %struct.ColorRgb, ptr %28, i32 0, i32 0
  %277 = load i8, ptr %276, align 1, !tbaa !25
  %278 = zext i8 %277 to i32
  %279 = sitofp i32 %278 to float
  %280 = load float, ptr %31, align 4, !tbaa !15
  %281 = fmul float %279, %280
  %282 = load i32, ptr %29, align 4, !tbaa !13
  %283 = sitofp i32 %282 to float
  %284 = fmul float %281, %283
  %285 = fpext float %284 to double
  %286 = fdiv double %285, 2.550000e+02
  %287 = fptosi double %286 to i32
  %288 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %287)
  %289 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 0
  store i8 %288, ptr %289, align 1, !tbaa !25
  %290 = getelementptr inbounds %struct.ColorRgb, ptr %28, i32 0, i32 1
  %291 = load i8, ptr %290, align 1, !tbaa !27
  %292 = zext i8 %291 to i32
  %293 = sitofp i32 %292 to float
  %294 = load float, ptr %31, align 4, !tbaa !15
  %295 = fmul float %293, %294
  %296 = load i32, ptr %29, align 4, !tbaa !13
  %297 = sitofp i32 %296 to float
  %298 = fmul float %295, %297
  %299 = fpext float %298 to double
  %300 = fdiv double %299, 2.550000e+02
  %301 = fptosi double %300 to i32
  %302 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %301)
  %303 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 1
  store i8 %302, ptr %303, align 1, !tbaa !27
  %304 = getelementptr inbounds %struct.ColorRgb, ptr %28, i32 0, i32 2
  %305 = load i8, ptr %304, align 1, !tbaa !28
  %306 = zext i8 %305 to i32
  %307 = sitofp i32 %306 to float
  %308 = load float, ptr %31, align 4, !tbaa !15
  %309 = fmul float %307, %308
  %310 = load i32, ptr %29, align 4, !tbaa !13
  %311 = sitofp i32 %310 to float
  %312 = fmul float %309, %311
  %313 = fpext float %312 to double
  %314 = fdiv double %313, 2.550000e+02
  %315 = fptosi double %314 to i32
  %316 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %315)
  %317 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 2
  store i8 %316, ptr %317, align 1, !tbaa !28
  %318 = load i32, ptr %29, align 4, !tbaa !13
  %319 = sitofp i32 %318 to float
  %320 = load float, ptr %31, align 4, !tbaa !15
  %321 = fmul float %319, %320
  %322 = call noundef float @_ZSt5roundf(float noundef %321)
  %323 = fptosi float %322 to i32
  %324 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %323)
  %325 = zext i8 %324 to i32
  store i32 %325, ptr %24, align 4, !tbaa !13
  br label %381

326:                                              ; preds = %272
  %327 = load i32, ptr %24, align 4, !tbaa !13
  %328 = icmp sgt i32 %327, 0
  br i1 %328, label %329, label %380

329:                                              ; preds = %326
  %330 = getelementptr inbounds %struct.ColorRgb, ptr %25, i32 0, i32 0
  %331 = load i8, ptr %330, align 1, !tbaa !25
  %332 = zext i8 %331 to i32
  %333 = sitofp i32 %332 to float
  %334 = load float, ptr %32, align 4, !tbaa !15
  %335 = fmul float %333, %334
  %336 = load i32, ptr %24, align 4, !tbaa !13
  %337 = sitofp i32 %336 to float
  %338 = fmul float %335, %337
  %339 = fpext float %338 to double
  %340 = fdiv double %339, 2.550000e+02
  %341 = fptosi double %340 to i32
  %342 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %341)
  %343 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 0
  store i8 %342, ptr %343, align 1, !tbaa !25
  %344 = getelementptr inbounds %struct.ColorRgb, ptr %25, i32 0, i32 1
  %345 = load i8, ptr %344, align 1, !tbaa !27
  %346 = zext i8 %345 to i32
  %347 = sitofp i32 %346 to float
  %348 = load float, ptr %32, align 4, !tbaa !15
  %349 = fmul float %347, %348
  %350 = load i32, ptr %24, align 4, !tbaa !13
  %351 = sitofp i32 %350 to float
  %352 = fmul float %349, %351
  %353 = fpext float %352 to double
  %354 = fdiv double %353, 2.550000e+02
  %355 = fptosi double %354 to i32
  %356 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %355)
  %357 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 1
  store i8 %356, ptr %357, align 1, !tbaa !27
  %358 = getelementptr inbounds %struct.ColorRgb, ptr %25, i32 0, i32 2
  %359 = load i8, ptr %358, align 1, !tbaa !28
  %360 = zext i8 %359 to i32
  %361 = sitofp i32 %360 to float
  %362 = load float, ptr %32, align 4, !tbaa !15
  %363 = fmul float %361, %362
  %364 = load i32, ptr %24, align 4, !tbaa !13
  %365 = sitofp i32 %364 to float
  %366 = fmul float %363, %365
  %367 = fpext float %366 to double
  %368 = fdiv double %367, 2.550000e+02
  %369 = fptosi double %368 to i32
  %370 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %369)
  %371 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 2
  store i8 %370, ptr %371, align 1, !tbaa !28
  %372 = load i32, ptr %24, align 4, !tbaa !13
  %373 = sitofp i32 %372 to float
  %374 = load float, ptr %32, align 4, !tbaa !15
  %375 = fmul float %373, %374
  %376 = call noundef float @_ZSt5roundf(float noundef %375)
  %377 = fptosi float %376 to i32
  %378 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %377)
  %379 = zext i8 %378 to i32
  store i32 %379, ptr %24, align 4, !tbaa !13
  br label %380

380:                                              ; preds = %329, %326
  br label %381

381:                                              ; preds = %380, %275
  br label %382

382:                                              ; preds = %381, %271
  store i32 12, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %387

383:                                              ; preds = %185, %181
  br label %384

384:                                              ; preds = %383, %152
  %385 = load i32, ptr %27, align 4, !tbaa !13
  store i32 %385, ptr %23, align 4, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %25, ptr align 1 %28, i64 3, i1 false), !tbaa.struct !29
  %386 = load i32, ptr %29, align 4, !tbaa !13
  store i32 %386, ptr %24, align 4, !tbaa !13
  store i32 0, ptr %13, align 4
  br label %387

387:                                              ; preds = %384, %382
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 3, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  %388 = load i32, ptr %13, align 4
  switch i32 %388, label %393 [
    i32 0, label %389
  ]

389:                                              ; preds = %387
  br label %390

390:                                              ; preds = %389
  %391 = load i64, ptr %26, align 8, !tbaa !22
  %392 = add i64 %391, 5
  store i64 %392, ptr %26, align 8, !tbaa !22
  br label %146, !llvm.loop !30

393:                                              ; preds = %387, %151
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %394

394:                                              ; preds = %393
  %395 = load i32, ptr %24, align 4, !tbaa !13
  %396 = icmp eq i32 %395, 255
  br i1 %396, label %397, label %410

397:                                              ; preds = %394
  %398 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 0
  %399 = load i8, ptr %398, align 1, !tbaa !25
  %400 = load ptr, ptr %9, align 8, !tbaa !5
  %401 = getelementptr inbounds i8, ptr %400, i64 0
  store i8 %399, ptr %401, align 1, !tbaa !24
  %402 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 1
  %403 = load i8, ptr %402, align 1, !tbaa !27
  %404 = load ptr, ptr %9, align 8, !tbaa !5
  %405 = getelementptr inbounds i8, ptr %404, i64 1
  store i8 %403, ptr %405, align 1, !tbaa !24
  %406 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 2
  %407 = load i8, ptr %406, align 1, !tbaa !28
  %408 = load ptr, ptr %9, align 8, !tbaa !5
  %409 = getelementptr inbounds i8, ptr %408, i64 2
  store i8 %407, ptr %409, align 1, !tbaa !24
  br label %468

410:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %411 = load i32, ptr %24, align 4, !tbaa !13
  %412 = sitofp i32 %411 to double
  %413 = fdiv double %412, 2.550000e+02
  %414 = fptrunc double %413 to float
  store float %414, ptr %33, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %415 = load float, ptr %33, align 4, !tbaa !15
  %416 = fsub float 1.000000e+00, %415
  store float %416, ptr %34, align 4, !tbaa !15
  %417 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 0
  %418 = load i8, ptr %417, align 1, !tbaa !25
  %419 = zext i8 %418 to i32
  %420 = sitofp i32 %419 to float
  %421 = load float, ptr %33, align 4, !tbaa !15
  %422 = load ptr, ptr %9, align 8, !tbaa !5
  %423 = getelementptr inbounds i8, ptr %422, i64 0
  %424 = load i8, ptr %423, align 1, !tbaa !24
  %425 = zext i8 %424 to i32
  %426 = sitofp i32 %425 to float
  %427 = load float, ptr %34, align 4, !tbaa !15
  %428 = fmul float %426, %427
  %429 = call float @llvm.fmuladd.f32(float %420, float %421, float %428)
  %430 = fptosi float %429 to i32
  %431 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %430)
  %432 = load ptr, ptr %9, align 8, !tbaa !5
  %433 = getelementptr inbounds i8, ptr %432, i64 0
  store i8 %431, ptr %433, align 1, !tbaa !24
  %434 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 1
  %435 = load i8, ptr %434, align 1, !tbaa !27
  %436 = zext i8 %435 to i32
  %437 = sitofp i32 %436 to float
  %438 = load float, ptr %33, align 4, !tbaa !15
  %439 = load ptr, ptr %9, align 8, !tbaa !5
  %440 = getelementptr inbounds i8, ptr %439, i64 1
  %441 = load i8, ptr %440, align 1, !tbaa !24
  %442 = zext i8 %441 to i32
  %443 = sitofp i32 %442 to float
  %444 = load float, ptr %34, align 4, !tbaa !15
  %445 = fmul float %443, %444
  %446 = call float @llvm.fmuladd.f32(float %437, float %438, float %445)
  %447 = fptosi float %446 to i32
  %448 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %447)
  %449 = load ptr, ptr %9, align 8, !tbaa !5
  %450 = getelementptr inbounds i8, ptr %449, i64 1
  store i8 %448, ptr %450, align 1, !tbaa !24
  %451 = getelementptr inbounds %struct.ColorRgb, ptr %16, i32 0, i32 2
  %452 = load i8, ptr %451, align 1, !tbaa !28
  %453 = zext i8 %452 to i32
  %454 = sitofp i32 %453 to float
  %455 = load float, ptr %33, align 4, !tbaa !15
  %456 = load ptr, ptr %9, align 8, !tbaa !5
  %457 = getelementptr inbounds i8, ptr %456, i64 2
  %458 = load i8, ptr %457, align 1, !tbaa !24
  %459 = zext i8 %458 to i32
  %460 = sitofp i32 %459 to float
  %461 = load float, ptr %34, align 4, !tbaa !15
  %462 = fmul float %460, %461
  %463 = call float @llvm.fmuladd.f32(float %454, float %455, float %462)
  %464 = fptosi float %463 to i32
  %465 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %464)
  %466 = load ptr, ptr %9, align 8, !tbaa !5
  %467 = getelementptr inbounds i8, ptr %466, i64 2
  store i8 %465, ptr %467, align 1, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %468

468:                                              ; preds = %410, %397
  %469 = load ptr, ptr %9, align 8, !tbaa !5
  %470 = getelementptr inbounds i8, ptr %469, i64 3
  store ptr %470, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 3, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 3, ptr %16) #9
  br label %471

471:                                              ; preds = %468
  %472 = load i32, ptr %15, align 4, !tbaa !13
  %473 = add nsw i32 %472, 1
  store i32 %473, ptr %15, align 4, !tbaa !13
  br label %71, !llvm.loop !31

474:                                              ; preds = %75
  br label %475

475:                                              ; preds = %474
  %476 = load i32, ptr %14, align 4, !tbaa !13
  %477 = add nsw i32 %476, 1
  store i32 %477, ptr %14, align 4, !tbaa !13
  br label %65, !llvm.loop !32

478:                                              ; preds = %69
  store i32 0, ptr %13, align 4
  br label %479

479:                                              ; preds = %478, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  %480 = load i32, ptr %13, align 4
  switch i32 %480, label %482 [
    i32 0, label %481
    i32 1, label %481
  ]

481:                                              ; preds = %479, %479
  ret void

482:                                              ; preds = %479
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4atanIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #6

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #8

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 #9 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!7, !7, i64 0}
!25 = !{!26, !7, i64 0}
!26 = !{!"_ZTS8ColorRgb", !7, i64 0, !7, i64 1, !7, i64 2}
!27 = !{!26, !7, i64 1}
!28 = !{!26, !7, i64 2}
!29 = !{i64 0, i64 1, !24, i64 1, i64 1, !24, i64 2, i64 1, !24}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}


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

%struct.ColorRgb = type { i8, i8, i8 }

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10HyperImage5widthEv(ptr noundef nonnull align 8 dereferenceable(27)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK10HyperImage6heightEv(ptr noundef nonnull align 8 dereferenceable(27)) local_unnamed_addr #2 align 2

declare noundef ptr @_ZN5ImageI8ColorRgbE6rawMemEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8ColorRgbC2Ev(ptr noundef nonnull align 1 dereferenceable(3)) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8ColorRgbC2Ehhh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt5roundf(float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HyperImage11conicalFillEdRKSt6vectorIhSaIhEEb(ptr noundef nonnull align 8 dereferenceable(27) %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) local_unnamed_addr #2 align 2 {
  %5 = alloca %struct.ColorRgb, align 1
  %6 = alloca %struct.ColorRgb, align 1
  %7 = alloca %struct.ColorRgb, align 1
  %8 = tail call noundef ptr @_ZN5ImageI8ColorRgbE6rawMemEv(ptr noundef nonnull align 8 dereferenceable(20) %0)
  %9 = tail call noundef i32 @_ZNK10HyperImage6heightEv(ptr noundef nonnull align 8 dereferenceable(27) %0)
  %10 = tail call noundef i32 @_ZNK10HyperImage5widthEv(ptr noundef nonnull align 8 dereferenceable(27) %0)
  %11 = tail call noundef double @_ZSt4atanIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef 1)
  %12 = fmul double %11, 4.000000e+00
  %13 = fptrunc double %12 to float
  br i1 %3, label %14, label %19

14:                                               ; preds = %4
  %15 = sext i32 %10 to i64
  %16 = sext i32 %9 to i64
  %17 = mul nsw i64 %16, 3
  %18 = mul i64 %17, %15
  tail call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 %18, i1 false)
  br label %19

19:                                               ; preds = %14, %4
  %20 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  %21 = icmp ult i64 %20, 5
  br i1 %21, label %.loopexit142, label %22

22:                                               ; preds = %19
  %23 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  %24 = urem i64 %23, 5
  %.not = icmp eq i64 %24, 0
  %25 = icmp sgt i32 %9, 0
  %or.cond = and i1 %.not, %25
  br i1 %or.cond, label %.preheader140.lr.ph, label %.loopexit142

.preheader140.lr.ph:                              ; preds = %22
  %26 = icmp sgt i32 %10, 0
  %.neg = sdiv i32 %10, -2
  %27 = lshr i32 %9, 1
  %28 = fptrunc double %1 to float
  %29 = fmul float %13, 2.000000e+00
  %30 = fpext float %29 to double
  %31 = fpext float %28 to double
  %32 = getelementptr inbounds i8, ptr %6, i64 1
  %33 = getelementptr inbounds i8, ptr %5, i64 1
  %34 = getelementptr inbounds i8, ptr %6, i64 2
  %35 = getelementptr inbounds i8, ptr %5, i64 2
  %36 = getelementptr inbounds i8, ptr %7, i64 1
  %37 = getelementptr inbounds i8, ptr %7, i64 2
  br i1 %26, label %.preheader140.us, label %.loopexit142

.preheader140.us:                                 ; preds = %.preheader140.lr.ph, %._crit_edge160.us
  %.0163.us = phi ptr [ %218, %._crit_edge160.us ], [ %8, %.preheader140.lr.ph ]
  %.0113162.us = phi i32 [ %229, %._crit_edge160.us ], [ 0, %.preheader140.lr.ph ]
  %38 = sub nsw i32 %27, %.0113162.us
  %39 = sitofp i32 %38 to float
  %40 = fmul float %39, %39
  %41 = fpext float %39 to double
  br label %42

42:                                               ; preds = %.preheader140.us, %217
  %.1158.us = phi ptr [ %.0163.us, %.preheader140.us ], [ %218, %217 ]
  %.0114157.us = phi i32 [ 0, %.preheader140.us ], [ %219, %217 ]
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %5) #9
  call void @_ZN8ColorRgbC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %5) #9
  %43 = add i32 %.0114157.us, %.neg
  %44 = sitofp i32 %43 to float
  %45 = call float @llvm.fmuladd.f32(float %44, float %44, float %40)
  %46 = fcmp ogt float %45, 0.000000e+00
  br i1 %46, label %47, label %55

47:                                               ; preds = %42
  %48 = fpext float %44 to double
  %49 = call double @atan2(double noundef %41, double noundef %48) #9
  %50 = fsub double 0x3FF921FB54442D18, %49
  %51 = fmul double %50, 3.600000e+02
  %52 = fdiv double %51, %30
  %53 = fadd double %52, %31
  %54 = fptrunc double %53 to float
  br label %55

55:                                               ; preds = %47, %42
  %.0115.us = phi float [ %54, %47 ], [ %28, %42 ]
  %56 = fcmp ogt float %.0115.us, 3.600000e+02
  br i1 %56, label %.lr.ph.us, label %.preheader.us

._crit_edge.us:                                   ; preds = %.lr.ph149.us, %.preheader.us
  %.2.lcssa.us = phi float [ %.1116.lcssa.us, %.preheader.us ], [ %224, %.lr.ph149.us ]
  %57 = fmul float %.2.lcssa.us, 2.550000e+02
  %58 = fpext float %57 to double
  %59 = fdiv double %58, 3.600000e+02
  %60 = call double @llvm.round.f64(double %59)
  %61 = fptosi double %60 to i32
  %62 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %61)
  %63 = zext i8 %62 to i32
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %6) #9
  call void @_ZN8ColorRgbC2Ev(ptr noundef nonnull align 1 dereferenceable(3) %6) #9
  %64 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  %.not164 = icmp eq i64 %64, 0
  br i1 %.not164, label %.loopexit.us.thread, label %.lr.ph155.us

.lr.ph155.us:                                     ; preds = %._crit_edge.us, %220
  %.0117153.us = phi i32 [ %67, %220 ], [ 0, %._crit_edge.us ]
  %.0119152.us = phi i32 [ %80, %220 ], [ 0, %._crit_edge.us ]
  %.0122151.us = phi i64 [ %221, %220 ], [ 0, %._crit_edge.us ]
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0122151.us) #9
  %66 = load i8, ptr %65, align 1, !tbaa !5
  %67 = zext i8 %66 to i32
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %7) #9
  %68 = add nuw i64 %.0122151.us, 1
  %69 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %68) #9
  %70 = load i8, ptr %69, align 1, !tbaa !5
  %71 = add i64 %.0122151.us, 2
  %72 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %71) #9
  %73 = load i8, ptr %72, align 1, !tbaa !5
  %74 = add i64 %.0122151.us, 3
  %75 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %74) #9
  %76 = load i8, ptr %75, align 1, !tbaa !5
  call void @_ZN8ColorRgbC2Ehhh(ptr noundef nonnull align 1 dereferenceable(3) %7, i8 noundef zeroext %70, i8 noundef zeroext %73, i8 noundef zeroext %76)
  %77 = add i64 %.0122151.us, 4
  %78 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %77) #9
  %79 = load i8, ptr %78, align 1, !tbaa !5
  %80 = zext i8 %79 to i32
  %.not131.us = icmp eq i64 %.0122151.us, 0
  %.not132.us = icmp ugt i32 %.0117153.us, %63
  %or.cond135.us = select i1 %.not131.us, i1 true, i1 %.not132.us
  %.not133.us = icmp ugt i8 %62, %66
  %or.cond136.us = select i1 %or.cond135.us, i1 true, i1 %.not133.us
  br i1 %or.cond136.us, label %220, label %81

81:                                               ; preds = %.lr.ph155.us
  %82 = sub nsw i32 %67, %.0117153.us
  %83 = sitofp i32 %82 to float
  %84 = sub nsw i32 %63, %.0117153.us
  %85 = sitofp i32 %84 to float
  %86 = fdiv float %85, %83
  %87 = fsub float 1.000000e+00, %86
  %88 = icmp ne i8 %79, 0
  %89 = icmp ne i32 %.0119152.us, 0
  %or.cond.us = select i1 %88, i1 %89, i1 false
  br i1 %or.cond.us, label %146, label %90

90:                                               ; preds = %81
  br i1 %88, label %119, label %91

91:                                               ; preds = %90
  br i1 %89, label %92, label %.thread.us

92:                                               ; preds = %91
  %93 = load i8, ptr %6, align 1, !tbaa !8
  %94 = uitofp i8 %93 to float
  %95 = fmul float %87, %94
  %96 = uitofp nneg i32 %.0119152.us to float
  %97 = fmul float %95, %96
  %98 = fpext float %97 to double
  %99 = fdiv double %98, 2.550000e+02
  %100 = fptosi double %99 to i32
  %101 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %100)
  store i8 %101, ptr %5, align 1, !tbaa !8
  %102 = load i8, ptr %32, align 1, !tbaa !10
  %103 = uitofp i8 %102 to float
  %104 = fmul float %87, %103
  %105 = fmul float %104, %96
  %106 = fpext float %105 to double
  %107 = fdiv double %106, 2.550000e+02
  %108 = fptosi double %107 to i32
  %109 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %108)
  store i8 %109, ptr %33, align 1, !tbaa !10
  %110 = load i8, ptr %34, align 1, !tbaa !11
  %111 = uitofp i8 %110 to float
  %112 = fmul float %87, %111
  %113 = fmul float %112, %96
  %114 = fpext float %113 to double
  %115 = fdiv double %114, 2.550000e+02
  %116 = fptosi double %115 to i32
  %117 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %116)
  store i8 %117, ptr %35, align 1, !tbaa !11
  %118 = fmul float %87, %96
  br label %.thread.us.sink.split

119:                                              ; preds = %90
  %120 = load i8, ptr %7, align 1, !tbaa !8
  %121 = uitofp i8 %120 to float
  %122 = fmul float %86, %121
  %123 = uitofp i8 %79 to float
  %124 = fmul float %122, %123
  %125 = fpext float %124 to double
  %126 = fdiv double %125, 2.550000e+02
  %127 = fptosi double %126 to i32
  %128 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %127)
  store i8 %128, ptr %5, align 1, !tbaa !8
  %129 = load i8, ptr %36, align 1, !tbaa !10
  %130 = uitofp i8 %129 to float
  %131 = fmul float %86, %130
  %132 = fmul float %131, %123
  %133 = fpext float %132 to double
  %134 = fdiv double %133, 2.550000e+02
  %135 = fptosi double %134 to i32
  %136 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %135)
  store i8 %136, ptr %33, align 1, !tbaa !10
  %137 = load i8, ptr %37, align 1, !tbaa !11
  %138 = uitofp i8 %137 to float
  %139 = fmul float %86, %138
  %140 = fmul float %139, %123
  %141 = fpext float %140 to double
  %142 = fdiv double %141, 2.550000e+02
  %143 = fptosi double %142 to i32
  %144 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %143)
  store i8 %144, ptr %35, align 1, !tbaa !11
  %145 = fmul float %86, %123
  br label %.thread.us.sink.split

146:                                              ; preds = %81
  %147 = load i8, ptr %6, align 1, !tbaa !8
  %148 = uitofp i8 %147 to float
  %149 = load i8, ptr %7, align 1, !tbaa !8
  %150 = uitofp i8 %149 to float
  %151 = fmul float %86, %150
  %152 = call float @llvm.fmuladd.f32(float %148, float %87, float %151)
  %153 = fptosi float %152 to i32
  %154 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %153)
  store i8 %154, ptr %5, align 1, !tbaa !8
  %155 = load i8, ptr %32, align 1, !tbaa !10
  %156 = uitofp i8 %155 to float
  %157 = load i8, ptr %36, align 1, !tbaa !10
  %158 = uitofp i8 %157 to float
  %159 = fmul float %86, %158
  %160 = call float @llvm.fmuladd.f32(float %156, float %87, float %159)
  %161 = fptosi float %160 to i32
  %162 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %161)
  store i8 %162, ptr %33, align 1, !tbaa !10
  %163 = load i8, ptr %34, align 1, !tbaa !11
  %164 = uitofp i8 %163 to float
  %165 = load i8, ptr %37, align 1, !tbaa !11
  %166 = uitofp i8 %165 to float
  %167 = fmul float %86, %166
  %168 = call float @llvm.fmuladd.f32(float %164, float %87, float %167)
  %169 = fptosi float %168 to i32
  %170 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %169)
  store i8 %170, ptr %35, align 1, !tbaa !11
  %.not134.us = icmp eq i32 %.0119152.us, %80
  br i1 %.not134.us, label %.thread.us, label %171

171:                                              ; preds = %146
  %172 = uitofp i8 %79 to float
  %173 = uitofp nneg i32 %.0119152.us to float
  %174 = fmul float %87, %173
  %175 = call float @llvm.fmuladd.f32(float %172, float %86, float %174)
  br label %.thread.us.sink.split

.thread.us.sink.split:                            ; preds = %92, %119, %171
  %.sink190 = phi float [ %175, %171 ], [ %145, %119 ], [ %118, %92 ]
  %176 = call noundef float @_ZSt5roundf(float noundef %.sink190)
  %177 = fptosi float %176 to i32
  %178 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %177)
  %179 = zext i8 %178 to i32
  br label %.thread.us

.thread.us:                                       ; preds = %.thread.us.sink.split, %146, %91
  %.2121.ph.us = phi i32 [ 0, %91 ], [ %.0119152.us, %146 ], [ %179, %.thread.us.sink.split ]
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #9
  br label %.loopexit.us

.loopexit.us:                                     ; preds = %220, %.thread.us
  %.3.us = phi i32 [ %.2121.ph.us, %.thread.us ], [ %80, %220 ]
  %180 = icmp eq i32 %.3.us, 255
  br i1 %180, label %211, label %.loopexit.us.thread

.loopexit.us.thread:                              ; preds = %._crit_edge.us, %.loopexit.us
  %.3.us178 = phi i32 [ %.3.us, %.loopexit.us ], [ 0, %._crit_edge.us ]
  %181 = uitofp nneg i32 %.3.us178 to double
  %182 = fdiv double %181, 2.550000e+02
  %183 = fptrunc double %182 to float
  %184 = fsub float 1.000000e+00, %183
  %185 = load i8, ptr %5, align 1, !tbaa !8
  %186 = uitofp i8 %185 to float
  %187 = load i8, ptr %.1158.us, align 1, !tbaa !5
  %188 = uitofp i8 %187 to float
  %189 = fmul float %184, %188
  %190 = call float @llvm.fmuladd.f32(float %186, float %183, float %189)
  %191 = fptosi float %190 to i32
  %192 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %191)
  store i8 %192, ptr %.1158.us, align 1, !tbaa !5
  %193 = load i8, ptr %33, align 1, !tbaa !10
  %194 = uitofp i8 %193 to float
  %195 = getelementptr inbounds i8, ptr %.1158.us, i64 1
  %196 = load i8, ptr %195, align 1, !tbaa !5
  %197 = uitofp i8 %196 to float
  %198 = fmul float %184, %197
  %199 = call float @llvm.fmuladd.f32(float %194, float %183, float %198)
  %200 = fptosi float %199 to i32
  %201 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %200)
  store i8 %201, ptr %195, align 1, !tbaa !5
  %202 = load i8, ptr %35, align 1, !tbaa !11
  %203 = uitofp i8 %202 to float
  %204 = getelementptr inbounds i8, ptr %.1158.us, i64 2
  %205 = load i8, ptr %204, align 1, !tbaa !5
  %206 = uitofp i8 %205 to float
  %207 = fmul float %184, %206
  %208 = call float @llvm.fmuladd.f32(float %203, float %183, float %207)
  %209 = fptosi float %208 to i32
  %210 = call noundef zeroext i8 @_ZN8ColorRgb5clampEi(i32 noundef %209)
  store i8 %210, ptr %204, align 1, !tbaa !5
  br label %217

211:                                              ; preds = %.loopexit.us
  %212 = load i8, ptr %5, align 1, !tbaa !8
  store i8 %212, ptr %.1158.us, align 1, !tbaa !5
  %213 = load i8, ptr %33, align 1, !tbaa !10
  %214 = getelementptr inbounds i8, ptr %.1158.us, i64 1
  store i8 %213, ptr %214, align 1, !tbaa !5
  %215 = load i8, ptr %35, align 1, !tbaa !11
  %216 = getelementptr inbounds i8, ptr %.1158.us, i64 2
  store i8 %215, ptr %216, align 1, !tbaa !5
  br label %217

217:                                              ; preds = %211, %.loopexit.us.thread
  %218 = getelementptr inbounds i8, ptr %.1158.us, i64 3
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %5) #9
  %219 = add nuw nsw i32 %.0114157.us, 1
  %exitcond.not = icmp eq i32 %219, %10
  br i1 %exitcond.not, label %._crit_edge160.us, label %42, !llvm.loop !12

220:                                              ; preds = %.lr.ph155.us
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %6, ptr noundef nonnull align 1 dereferenceable(3) %7, i64 3, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %7) #9
  %221 = add i64 %.0122151.us, 5
  %222 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  %223 = icmp ult i64 %221, %222
  br i1 %223, label %.lr.ph155.us, label %.loopexit.us, !llvm.loop !15

.lr.ph149.us:                                     ; preds = %.preheader.us, %.lr.ph149.us
  %.2148.us = phi float [ %224, %.lr.ph149.us ], [ %.1116.lcssa.us, %.preheader.us ]
  %224 = fadd float %.2148.us, 3.600000e+02
  %225 = fcmp olt float %224, 0.000000e+00
  br i1 %225, label %.lr.ph149.us, label %._crit_edge.us, !llvm.loop !16

.lr.ph.us:                                        ; preds = %55, %.lr.ph.us
  %.1116147.us = phi float [ %226, %.lr.ph.us ], [ %.0115.us, %55 ]
  %226 = fadd float %.1116147.us, -3.600000e+02
  %227 = fcmp ogt float %226, 3.600000e+02
  br i1 %227, label %.lr.ph.us, label %.preheader.us, !llvm.loop !17

.preheader.us:                                    ; preds = %.lr.ph.us, %55
  %.1116.lcssa.us = phi float [ %.0115.us, %55 ], [ %226, %.lr.ph.us ]
  %228 = fcmp olt float %.1116.lcssa.us, 0.000000e+00
  br i1 %228, label %.lr.ph149.us, label %._crit_edge.us

._crit_edge160.us:                                ; preds = %217
  %229 = add nuw nsw i32 %.0113162.us, 1
  %exitcond176.not = icmp eq i32 %229, %9
  br i1 %exitcond176.not, label %.loopexit142, label %.preheader140.us, !llvm.loop !18

.loopexit142:                                     ; preds = %._crit_edge160.us, %.preheader140.lr.ph, %19, %22
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4atanIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

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

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 #9 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !6, i64 0}
!9 = !{!"_ZTS8ColorRgb", !6, i64 0, !6, i64 1, !6, i64 2}
!10 = !{!9, !6, i64 1}
!11 = !{!9, !6, i64 2}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{i64 0, i64 1, !5, i64 1, i64 1, !5, i64 2, i64 1, !5}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}


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