; LLVM IR from NVIDIA/DALI :: dali/util (random_crop_generator)

; 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.dali::CropWindow" = type { %"struct.dali::TensorShape", %"struct.dali::TensorShape" }
%"struct.dali::TensorShape" = type { %"struct.dali::TensorShapeBase" }
%"struct.dali::TensorShapeBase" = type { %"class.dali::SmallVector" }
%"class.dali::SmallVector" = type { %union.anon, i64 }
%union.anon = type { %struct.anon, [32 x i8] }
%struct.anon = type { ptr, i64 }
%"class.std::uniform_int_distribution" = type { %"struct.std::uniform_int_distribution<>::param_type" }
%"struct.std::uniform_int_distribution<>::param_type" = type { i32, i32 }
%"class.dali::RandomCropGenerator" = type <{ %"struct.std::pair", %"class.std::uniform_real_distribution", %"class.std::uniform_real_distribution", %"class.std::mersenne_twister_engine", i64, i32, [4 x i8] }>
%"struct.std::pair" = type { float, float }
%"class.std::uniform_real_distribution" = type { %"struct.std::uniform_real_distribution<float>::param_type" }
%"struct.std::uniform_real_distribution<float>::param_type" = type { float, float }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali19RandomCropGenerator22GenerateCropWindowImplERKNS_11TensorShapeILin1EEE = external hidden unnamed_addr constant [84 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali19RandomCropGenerator22GenerateCropWindowImplERKNS_11TensorShapeILin1EEE(ptr dead_on_unwind noalias writable sret(%"struct.dali::CropWindow") align 8 %0, ptr noundef nonnull align 8 dereferenceable(5036) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"struct.dali::TensorShape", align 8
  %24 = alloca %"struct.dali::TensorShape", align 8
  %25 = alloca i32, align 4
  %26 = alloca float, align 4
  %27 = alloca i64, align 8
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"struct.dali::TensorShape", align 8
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca %"struct.dali::TensorShape", align 8
  %36 = alloca %"struct.dali::TensorShape", align 8
  %37 = alloca %"struct.dali::TensorShape", align 8
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca %"class.std::uniform_int_distribution", align 4
  %46 = alloca %"class.std::uniform_int_distribution", align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %47 = load ptr, ptr %5, align 8
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = call noundef i32 @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %48) #7
  %50 = icmp eq i32 %49, 2
  br i1 %50, label %51, label %52

51:                                               ; preds = %3
  br label %54

52:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 36, ptr noundef @__PRETTY_FUNCTION__._ZN4dali19RandomCropGenerator22GenerateCropWindowImplERKNS_11TensorShapeILin1EEE) #8
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  store i1 false, ptr %7, align 1
  call void @_ZN4dali10CropWindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %55, i32 noundef 0)
          to label %57 unwind label %71

57:                                               ; preds = %54
  %58 = load i64, ptr %56, align 8, !tbaa !9
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %60, i32 noundef 1)
          to label %62 unwind label %75

62:                                               ; preds = %57
  %63 = load i64, ptr %61, align 8, !tbaa !9
  %64 = trunc i64 %63 to i32
  store i32 %64, ptr %11, align 4, !tbaa !11
  %65 = load i32, ptr %11, align 4, !tbaa !11
  %66 = icmp sle i32 %65, 0
  br i1 %66, label %70, label %67

67:                                               ; preds = %62
  %68 = load i32, ptr %8, align 4, !tbaa !11
  %69 = icmp sle i32 %68, 0
  br i1 %69, label %70, label %79

70:                                               ; preds = %67, %62
  store i1 true, ptr %7, align 1
  store i32 1, ptr %12, align 4
  br label %436

71:                                               ; preds = %54
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %9, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %10, align 4
  br label %439

75:                                               ; preds = %57
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  br label %438

79:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %80 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 0
  %81 = getelementptr inbounds %"struct.std::pair", ptr %80, i32 0, i32 0
  %82 = load float, ptr %81, align 8, !tbaa !13
  store float %82, ptr %13, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %83 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 0
  %84 = getelementptr inbounds %"struct.std::pair", ptr %83, i32 0, i32 1
  %85 = load float, ptr %84, align 4, !tbaa !21
  store float %85, ptr %14, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %86 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 0
  %87 = getelementptr inbounds %"struct.std::pair", ptr %86, i32 0, i32 0
  %88 = load float, ptr %87, align 8, !tbaa !13
  %89 = fdiv float 1.000000e+00, %88
  store float %89, ptr %15, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %90 = load i32, ptr %11, align 4, !tbaa !11
  %91 = load i32, ptr %8, align 4, !tbaa !11
  %92 = mul nsw i32 %90, %91
  %93 = sitofp i32 %92 to float
  %94 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 2
  %95 = invoke noundef float @_ZNKSt25uniform_real_distributionIfE1aEv(ptr noundef nonnull align 4 dereferenceable(8) %94)
          to label %96 unwind label %126

96:                                               ; preds = %79
  %97 = fmul float %93, %95
  store float %97, ptr %16, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 1, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %98 = load i32, ptr %8, align 4, !tbaa !11
  %99 = sitofp i32 %98 to float
  %100 = load float, ptr %14, align 4, !tbaa !20
  %101 = fmul float %99, %100
  %102 = fptosi float %101 to i32
  store i32 %102, ptr %19, align 4, !tbaa !11
  %103 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %104 unwind label %130

104:                                              ; preds = %96
  %105 = load i32, ptr %103, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  store i32 %105, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 1, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %106 = load i32, ptr %11, align 4, !tbaa !11
  %107 = sitofp i32 %106 to float
  %108 = load float, ptr %15, align 4, !tbaa !20
  %109 = fmul float %107, %108
  %110 = fptosi float %109 to i32
  store i32 %110, ptr %22, align 4, !tbaa !11
  %111 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %112 unwind label %134

112:                                              ; preds = %104
  %113 = load i32, ptr %111, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  store i32 %113, ptr %20, align 4, !tbaa !11
  %114 = load i32, ptr %8, align 4, !tbaa !11
  %115 = load i32, ptr %17, align 4, !tbaa !11
  %116 = mul nsw i32 %114, %115
  %117 = sitofp i32 %116 to float
  %118 = load float, ptr %16, align 4, !tbaa !20
  %119 = fcmp olt float %117, %118
  br i1 %119, label %120, label %146

120:                                              ; preds = %112
  %121 = load i32, ptr %8, align 4, !tbaa !11
  %122 = sext i32 %121 to i64
  %123 = load i32, ptr %17, align 4, !tbaa !11
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %23, i64 noundef %122, i32 noundef %123)
          to label %124 unwind label %138

124:                                              ; preds = %120
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %23)
          to label %125 unwind label %142

125:                                              ; preds = %124
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %23) #7
  br label %392

126:                                              ; preds = %79
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %9, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %10, align 4
  br label %435

130:                                              ; preds = %96
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %9, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %434

134:                                              ; preds = %104
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %9, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %433

138:                                              ; preds = %153, %120
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %9, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %10, align 4
  br label %433

142:                                              ; preds = %124
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %9, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %10, align 4
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %23) #7
  br label %433

146:                                              ; preds = %112
  %147 = load i32, ptr %11, align 4, !tbaa !11
  %148 = load i32, ptr %20, align 4, !tbaa !11
  %149 = mul nsw i32 %147, %148
  %150 = sitofp i32 %149 to float
  %151 = load float, ptr %16, align 4, !tbaa !20
  %152 = fcmp olt float %150, %151
  br i1 %152, label %153, label %163

153:                                              ; preds = %146
  %154 = load i32, ptr %20, align 4, !tbaa !11
  %155 = sext i32 %154 to i64
  %156 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %24, i64 noundef %155, i32 noundef %156)
          to label %157 unwind label %138

157:                                              ; preds = %153
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %24)
          to label %158 unwind label %159

158:                                              ; preds = %157
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #7
  br label %391

159:                                              ; preds = %157
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %9, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %10, align 4
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #7
  br label %433

163:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %164 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 5
  %165 = load i32, ptr %164, align 8, !tbaa !22
  store i32 %165, ptr %25, align 4, !tbaa !11
  br label %166

166:                                              ; preds = %254, %163
  %167 = load i32, ptr %25, align 4, !tbaa !11
  %168 = icmp sgt i32 %167, 0
  br i1 %168, label %169, label %260

169:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %170 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 2
  %171 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 3
  %172 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %170, ptr noundef nonnull align 8 dereferenceable(5000) %171)
          to label %173 unwind label %203

173:                                              ; preds = %169
  store float %172, ptr %26, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %174 = load i32, ptr %8, align 4, !tbaa !11
  %175 = load i32, ptr %11, align 4, !tbaa !11
  %176 = mul nsw i32 %174, %175
  %177 = sext i32 %176 to i64
  store i64 %177, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %178 = load float, ptr %26, align 4, !tbaa !20
  %179 = load i64, ptr %27, align 8, !tbaa !9
  %180 = uitofp i64 %179 to float
  %181 = fmul float %178, %180
  store float %181, ptr %28, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %182 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 1
  %183 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 3
  %184 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %182, ptr noundef nonnull align 8 dereferenceable(5000) %183)
          to label %185 unwind label %207

185:                                              ; preds = %173
  %186 = invoke noundef float @_ZSt3expf(float noundef %184)
          to label %187 unwind label %207

187:                                              ; preds = %185
  store float %186, ptr %29, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %188 = load float, ptr %28, align 4, !tbaa !20
  %189 = load float, ptr %29, align 4, !tbaa !20
  %190 = fmul float %188, %189
  %191 = call float @sqrtf(float noundef %190) #7
  %192 = call float @llvm.round.f32(float %191)
  %193 = fptosi float %192 to i32
  store i32 %193, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %194 = load float, ptr %28, align 4, !tbaa !20
  %195 = load float, ptr %29, align 4, !tbaa !20
  %196 = fdiv float %194, %195
  %197 = call float @sqrtf(float noundef %196) #7
  %198 = call float @llvm.round.f32(float %197)
  %199 = fptosi float %198 to i32
  store i32 %199, ptr %31, align 4, !tbaa !11
  %200 = load i32, ptr %30, align 4, !tbaa !11
  %201 = icmp slt i32 %200, 1
  br i1 %201, label %202, label %211

202:                                              ; preds = %187
  store i32 1, ptr %30, align 4, !tbaa !11
  br label %211

203:                                              ; preds = %169
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %9, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %10, align 4
  br label %259

207:                                              ; preds = %185, %173
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %9, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %10, align 4
  br label %258

211:                                              ; preds = %202, %187
  %212 = load i32, ptr %31, align 4, !tbaa !11
  %213 = icmp slt i32 %212, 1
  br i1 %213, label %214, label %215

214:                                              ; preds = %211
  store i32 1, ptr %31, align 4, !tbaa !11
  br label %215

215:                                              ; preds = %214, %211
  %216 = load i32, ptr %31, align 4, !tbaa !11
  %217 = sext i32 %216 to i64
  %218 = load i32, ptr %30, align 4, !tbaa !11
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %32, i64 noundef %217, i32 noundef %218)
          to label %219 unwind label %242

219:                                              ; preds = %215
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %32)
          to label %220 unwind label %246

220:                                              ; preds = %219
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #7
  %221 = load i32, ptr %30, align 4, !tbaa !11
  %222 = sitofp i32 %221 to float
  %223 = load i32, ptr %31, align 4, !tbaa !11
  %224 = sitofp i32 %223 to float
  %225 = fdiv float %222, %224
  store float %225, ptr %29, align 4, !tbaa !20
  %226 = load i32, ptr %30, align 4, !tbaa !11
  %227 = load i32, ptr %11, align 4, !tbaa !11
  %228 = icmp sle i32 %226, %227
  br i1 %228, label %229, label %250

229:                                              ; preds = %220
  %230 = load i32, ptr %31, align 4, !tbaa !11
  %231 = load i32, ptr %8, align 4, !tbaa !11
  %232 = icmp sle i32 %230, %231
  br i1 %232, label %233, label %250

233:                                              ; preds = %229
  %234 = load float, ptr %29, align 4, !tbaa !20
  %235 = load float, ptr %13, align 4, !tbaa !20
  %236 = fcmp oge float %234, %235
  br i1 %236, label %237, label %250

237:                                              ; preds = %233
  %238 = load float, ptr %29, align 4, !tbaa !20
  %239 = load float, ptr %14, align 4, !tbaa !20
  %240 = fcmp ole float %238, %239
  br i1 %240, label %241, label %250

241:                                              ; preds = %237
  store i32 2, ptr %12, align 4
  br label %251

242:                                              ; preds = %215
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %9, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %10, align 4
  br label %257

246:                                              ; preds = %219
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %9, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %10, align 4
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %32) #7
  br label %257

250:                                              ; preds = %237, %233, %229, %220
  store i32 0, ptr %12, align 4
  br label %251

251:                                              ; preds = %250, %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  %252 = load i32, ptr %12, align 4
  switch i32 %252, label %447 [
    i32 0, label %253
    i32 2, label %260
  ]

253:                                              ; preds = %251
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr %25, align 4, !tbaa !11
  %256 = add nsw i32 %255, -1
  store i32 %256, ptr %25, align 4, !tbaa !11
  br label %166, !llvm.loop !23

257:                                              ; preds = %246, %242
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %258

258:                                              ; preds = %257, %207
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %259

259:                                              ; preds = %258, %203
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %390

260:                                              ; preds = %251, %166
  %261 = load i32, ptr %25, align 4, !tbaa !11
  %262 = icmp sle i32 %261, 0
  br i1 %262, label %263, label %389

263:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %264 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 2
  %265 = invoke noundef float @_ZNKSt25uniform_real_distributionIfE1bEv(ptr noundef nonnull align 4 dereferenceable(8) %264)
          to label %266 unwind label %287

266:                                              ; preds = %263
  %267 = load i32, ptr %11, align 4, !tbaa !11
  %268 = sitofp i32 %267 to float
  %269 = fmul float %265, %268
  %270 = load i32, ptr %8, align 4, !tbaa !11
  %271 = sitofp i32 %270 to float
  %272 = fmul float %269, %271
  store float %272, ptr %33, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %273 = load i32, ptr %11, align 4, !tbaa !11
  %274 = sitofp i32 %273 to float
  %275 = load i32, ptr %8, align 4, !tbaa !11
  %276 = sitofp i32 %275 to float
  %277 = fdiv float %274, %276
  store float %277, ptr %34, align 4, !tbaa !20
  %278 = load float, ptr %34, align 4, !tbaa !20
  %279 = load float, ptr %14, align 4, !tbaa !20
  %280 = fcmp ogt float %278, %279
  br i1 %280, label %281, label %299

281:                                              ; preds = %266
  %282 = load i32, ptr %8, align 4, !tbaa !11
  %283 = sext i32 %282 to i64
  %284 = load i32, ptr %17, align 4, !tbaa !11
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %35, i64 noundef %283, i32 noundef %284)
          to label %285 unwind label %291

285:                                              ; preds = %281
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %35)
          to label %286 unwind label %295

286:                                              ; preds = %285
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #7
  br label %324

287:                                              ; preds = %263
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %9, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %10, align 4
  br label %388

291:                                              ; preds = %313, %303, %281
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %9, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %10, align 4
  br label %387

295:                                              ; preds = %285
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %9, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %10, align 4
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %35) #7
  br label %387

299:                                              ; preds = %266
  %300 = load float, ptr %34, align 4, !tbaa !20
  %301 = load float, ptr %13, align 4, !tbaa !20
  %302 = fcmp olt float %300, %301
  br i1 %302, label %303, label %313

303:                                              ; preds = %299
  %304 = load i32, ptr %20, align 4, !tbaa !11
  %305 = sext i32 %304 to i64
  %306 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %36, i64 noundef %305, i32 noundef %306)
          to label %307 unwind label %291

307:                                              ; preds = %303
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %36)
          to label %308 unwind label %309

308:                                              ; preds = %307
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %36) #7
  br label %323

309:                                              ; preds = %307
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %9, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %10, align 4
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %36) #7
  br label %387

313:                                              ; preds = %299
  %314 = load i32, ptr %8, align 4, !tbaa !11
  %315 = sext i32 %314 to i64
  %316 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %37, i64 noundef %315, i32 noundef %316)
          to label %317 unwind label %291

317:                                              ; preds = %313
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef %37)
          to label %318 unwind label %319

318:                                              ; preds = %317
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #7
  br label %323

319:                                              ; preds = %317
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %9, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %10, align 4
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #7
  br label %387

323:                                              ; preds = %318, %308
  br label %324

324:                                              ; preds = %323, %286
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  store float 1.000000e+00, ptr %39, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  %325 = load float, ptr %33, align 4, !tbaa !20
  %326 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %326, i32 noundef 0)
          to label %328 unwind label %374

328:                                              ; preds = %324
  %329 = load i64, ptr %327, align 8, !tbaa !9
  %330 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %330, i32 noundef 1)
          to label %332 unwind label %374

332:                                              ; preds = %328
  %333 = load i64, ptr %331, align 8, !tbaa !9
  %334 = mul nsw i64 %329, %333
  %335 = sitofp i64 %334 to float
  %336 = fdiv float %325, %335
  store float %336, ptr %40, align 4, !tbaa !20
  %337 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %338 unwind label %374

338:                                              ; preds = %332
  %339 = load float, ptr %337, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  store float %339, ptr %38, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  store i32 1, ptr %41, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  %340 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %340, i32 noundef 0)
          to label %342 unwind label %378

342:                                              ; preds = %338
  %343 = load i64, ptr %341, align 8, !tbaa !9
  %344 = sitofp i64 %343 to float
  %345 = load float, ptr %38, align 4, !tbaa !20
  %346 = invoke noundef float @_ZSt4sqrtf(float noundef %345)
          to label %347 unwind label %378

347:                                              ; preds = %342
  %348 = fmul float %344, %346
  %349 = fptosi float %348 to i32
  store i32 %349, ptr %42, align 4, !tbaa !11
  %350 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %351 unwind label %378

351:                                              ; preds = %347
  %352 = load i32, ptr %350, align 4, !tbaa !11
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %354, i32 noundef 0)
          to label %356 unwind label %378

356:                                              ; preds = %351
  store i64 %353, ptr %355, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  store i32 1, ptr %43, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  %357 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %358 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %357, i32 noundef 1)
          to label %359 unwind label %382

359:                                              ; preds = %356
  %360 = load i64, ptr %358, align 8, !tbaa !9
  %361 = sitofp i64 %360 to float
  %362 = load float, ptr %38, align 4, !tbaa !20
  %363 = invoke noundef float @_ZSt4sqrtf(float noundef %362)
          to label %364 unwind label %382

364:                                              ; preds = %359
  %365 = fmul float %361, %363
  %366 = fptosi float %365 to i32
  store i32 %366, ptr %44, align 4, !tbaa !11
  %367 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %368 unwind label %382

368:                                              ; preds = %364
  %369 = load i32, ptr %367, align 4, !tbaa !11
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %371, i32 noundef 1)
          to label %373 unwind label %382

373:                                              ; preds = %368
  store i64 %370, ptr %372, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %389

374:                                              ; preds = %332, %328, %324
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %9, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %386

378:                                              ; preds = %351, %347, %342, %338
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %9, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %386

382:                                              ; preds = %368, %364, %359, %356
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %9, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  br label %386

386:                                              ; preds = %382, %378, %374
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %387

387:                                              ; preds = %386, %319, %309, %295, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %388

388:                                              ; preds = %387, %287
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %390

389:                                              ; preds = %373, %260
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %391

390:                                              ; preds = %388, %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %433

391:                                              ; preds = %389, %158
  br label %392

392:                                              ; preds = %391, %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  %393 = load i32, ptr %8, align 4, !tbaa !11
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %396 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %395, i32 noundef 0)
          to label %397 unwind label %425

397:                                              ; preds = %392
  %398 = load i64, ptr %396, align 8, !tbaa !9
  %399 = sub nsw i64 %394, %398
  %400 = trunc i64 %399 to i32
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %45, i32 noundef 0, i32 noundef %400)
          to label %401 unwind label %425

401:                                              ; preds = %397
  %402 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 3
  %403 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(5000) %402)
          to label %404 unwind label %425

404:                                              ; preds = %401
  %405 = sext i32 %403 to i64
  %406 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 0
  %407 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %406, i32 noundef 0)
          to label %408 unwind label %425

408:                                              ; preds = %404
  store i64 %405, ptr %407, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %409 = load i32, ptr %11, align 4, !tbaa !11
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 1
  %412 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %411, i32 noundef 1)
          to label %413 unwind label %429

413:                                              ; preds = %408
  %414 = load i64, ptr %412, align 8, !tbaa !9
  %415 = sub nsw i64 %410, %414
  %416 = trunc i64 %415 to i32
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %46, i32 noundef 0, i32 noundef %416)
          to label %417 unwind label %429

417:                                              ; preds = %413
  %418 = getelementptr inbounds %"class.dali::RandomCropGenerator", ptr %47, i32 0, i32 3
  %419 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(5000) %418)
          to label %420 unwind label %429

420:                                              ; preds = %417
  %421 = sext i32 %419 to i64
  %422 = getelementptr inbounds %"struct.dali::CropWindow", ptr %0, i32 0, i32 0
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %422, i32 noundef 1)
          to label %424 unwind label %429

424:                                              ; preds = %420
  store i64 %421, ptr %423, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  store i1 true, ptr %7, align 1
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %436

425:                                              ; preds = %404, %401, %397, %392
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %9, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  br label %433

429:                                              ; preds = %420, %417, %413, %408
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %9, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  br label %433

433:                                              ; preds = %429, %425, %390, %159, %142, %138, %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %434

434:                                              ; preds = %433, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %435

435:                                              ; preds = %434, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %438

436:                                              ; preds = %424, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  %437 = load i1, ptr %7, align 1
  br i1 %437, label %441, label %440

438:                                              ; preds = %435, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %439

439:                                              ; preds = %438, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @_ZN4dali10CropWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #7
  br label %442

440:                                              ; preds = %436
  call void @_ZN4dali10CropWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #7
  br label %441

441:                                              ; preds = %440, %436
  ret void

442:                                              ; preds = %439
  %443 = load ptr, ptr %9, align 8
  %444 = load i32, ptr %10, align 4
  %445 = insertvalue { ptr, i32 } poison, ptr %443, 0
  %446 = insertvalue { ptr, i32 } %445, i32 %444, 1
  resume { ptr, i32 } %446

447:                                              ; preds = %251
  unreachable
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali10CropWindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNKSt25uniform_real_distributionIfE1aEv(ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNSt25uniform_real_distributionIfEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(5000)) #0 align 2

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

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNKSt25uniform_real_distributionIfE1bEv(ptr noundef nonnull align 4 dereferenceable(8)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(5000)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali10CropWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #4 align 2

attributes #0 = { 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 #1 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"_ZTSN4dali19RandomCropGeneratorE", !15, i64 0, !17, i64 8, !17, i64 16, !19, i64 24, !10, i64 5024, !12, i64 5032}
!15 = !{!"_ZTSSt4pairIffE", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTSSt25uniform_real_distributionIfE", !18, i64 0}
!18 = !{!"_ZTSNSt25uniform_real_distributionIfE10param_typeE", !16, i64 0, !16, i64 4}
!19 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !7, i64 0, !10, i64 4992}
!20 = !{!16, !16, i64 0}
!21 = !{!14, !16, i64 4}
!22 = !{!14, !12, i64 5032}
!23 = distinct !{!23, !24}
!24 = !{!"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"

%"struct.dali::CropWindow" = type { %"struct.dali::TensorShape", %"struct.dali::TensorShape" }
%"struct.dali::TensorShape" = type { %"struct.dali::TensorShapeBase" }
%"struct.dali::TensorShapeBase" = type { %"class.dali::SmallVector" }
%"class.dali::SmallVector" = type { %union.anon, i64 }
%union.anon = type { %struct.anon, [32 x i8] }
%struct.anon = type { ptr, i64 }
%"class.std::uniform_int_distribution" = type { %"struct.std::uniform_int_distribution<>::param_type" }
%"struct.std::uniform_int_distribution<>::param_type" = type { i32, i32 }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._ZN4dali19RandomCropGenerator22GenerateCropWindowImplERKNS_11TensorShapeILin1EEE = external hidden unnamed_addr constant [84 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4dali19RandomCropGenerator22GenerateCropWindowImplERKNS_11TensorShapeILin1EEE(ptr dead_on_unwind noalias writable sret(%"struct.dali::CropWindow") align 8 %0, ptr noundef nonnull align 8 dereferenceable(5036) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.dali::TensorShape", align 8
  %9 = alloca %"struct.dali::TensorShape", align 8
  %10 = alloca %"struct.dali::TensorShape", align 8
  %11 = alloca %"struct.dali::TensorShape", align 8
  %12 = alloca %"struct.dali::TensorShape", align 8
  %13 = alloca %"struct.dali::TensorShape", align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::uniform_int_distribution", align 4
  %21 = alloca %"class.std::uniform_int_distribution", align 4
  %22 = tail call noundef i32 @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #8
  %23 = icmp eq i32 %22, 2
  br i1 %23, label %25, label %24

24:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 36, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4dali19RandomCropGenerator22GenerateCropWindowImplERKNS_11TensorShapeILin1EEE) #9
  unreachable

25:                                               ; preds = %3
  tail call void @_ZN4dali10CropWindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %2, i32 noundef 0)
          to label %27 unwind label %36

27:                                               ; preds = %25
  %28 = load i64, ptr %26, align 8, !tbaa !5
  %29 = trunc i64 %28 to i32
  %30 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %2, i32 noundef 1)
          to label %31 unwind label %38

31:                                               ; preds = %27
  %32 = load i64, ptr %30, align 8, !tbaa !5
  %33 = trunc i64 %32 to i32
  %34 = icmp slt i32 %33, 1
  %35 = icmp slt i32 %29, 1
  %or.cond = select i1 %34, i1 true, i1 %35
  br i1 %or.cond, label %220, label %40

36:                                               ; preds = %25
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %219

38:                                               ; preds = %27
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %219

40:                                               ; preds = %31
  %41 = load float, ptr %1, align 8, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %1, i64 4
  %43 = load float, ptr %42, align 4, !tbaa !17
  %44 = getelementptr inbounds i8, ptr %1, i64 16
  %45 = invoke noundef float @_ZNKSt25uniform_real_distributionIfE1aEv(ptr noundef nonnull align 4 dereferenceable(8) %44)
          to label %46 unwind label %68

46:                                               ; preds = %40
  %47 = mul nuw nsw i32 %33, %29
  %48 = uitofp nneg i32 %47 to float
  %49 = fdiv float 1.000000e+00, %41
  %50 = fmul float %45, %48
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 1, ptr %4, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  %51 = uitofp nneg i32 %29 to float
  %52 = fmul float %43, %51
  %53 = fptosi float %52 to i32
  store i32 %53, ptr %5, align 4, !tbaa !18
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %55 = load i32, ptr %54, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  store i32 1, ptr %6, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %56 = uitofp nneg i32 %33 to float
  %57 = fmul float %49, %56
  %58 = fptosi float %57 to i32
  store i32 %58, ptr %7, align 4, !tbaa !18
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %60 = load i32, ptr %59, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  %61 = mul nsw i32 %55, %29
  %62 = sitofp i32 %61 to float
  %63 = fcmp ogt float %50, %62
  br i1 %63, label %64, label %74

64:                                               ; preds = %46
  %65 = and i64 %28, 2147483647
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %8, i64 noundef %65, i32 noundef %55)
          to label %66 unwind label %70

66:                                               ; preds = %64
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %8)
          to label %67 unwind label %72

67:                                               ; preds = %66
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #8
  br label %.loopexit

68:                                               ; preds = %40
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %219

70:                                               ; preds = %78, %64
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %219

72:                                               ; preds = %66
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #8
  br label %219

74:                                               ; preds = %46
  %75 = mul nsw i32 %60, %33
  %76 = sitofp i32 %75 to float
  %77 = fcmp ogt float %50, %76
  br i1 %77, label %78, label %84

78:                                               ; preds = %74
  %79 = sext i32 %60 to i64
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %9, i64 noundef %79, i32 noundef %33)
          to label %80 unwind label %70

80:                                               ; preds = %78
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %9)
          to label %81 unwind label %82

81:                                               ; preds = %80
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #8
  br label %.loopexit

82:                                               ; preds = %80
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #8
  br label %219

84:                                               ; preds = %74
  %85 = getelementptr inbounds i8, ptr %1, i64 5032
  %86 = load i32, ptr %85, align 8, !tbaa !19
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %84
  %88 = getelementptr inbounds i8, ptr %1, i64 24
  %89 = getelementptr inbounds i8, ptr %1, i64 8
  br label %93

90:                                               ; preds = %114
  %91 = add nsw i32 %.083104, -1
  %92 = icmp sgt i32 %.083104, 1
  br i1 %92, label %93, label %._crit_edge, !llvm.loop !20

93:                                               ; preds = %.lr.ph, %90
  %.083104 = phi i32 [ %86, %.lr.ph ], [ %91, %90 ]
  %94 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(5000) %88)
          to label %95 unwind label %109

95:                                               ; preds = %93
  %96 = invoke noundef float @_ZNSt25uniform_real_distributionIfEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8) %89, ptr noundef nonnull align 8 dereferenceable(5000) %88)
          to label %97 unwind label %111

97:                                               ; preds = %95
  %98 = fmul float %94, %48
  %99 = call noundef float @_ZSt3expf(float noundef %96)
  %100 = fmul float %98, %99
  %101 = call float @sqrtf(float noundef %100) #8
  %102 = call float @llvm.round.f32(float %101)
  %103 = fptosi float %102 to i32
  %104 = fdiv float %98, %99
  %105 = call float @sqrtf(float noundef %104) #8
  %106 = call float @llvm.round.f32(float %105)
  %107 = fptosi float %106 to i32
  %spec.store.select2 = call i32 @llvm.smax.i32(i32 %103, i32 1)
  %spec.store.select = call i32 @llvm.smax.i32(i32 %107, i32 1)
  %108 = zext nneg i32 %spec.store.select to i64
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %10, i64 noundef %108, i32 noundef %spec.store.select2)
          to label %113 unwind label %120

109:                                              ; preds = %93
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %219

111:                                              ; preds = %95
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %219

113:                                              ; preds = %97
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %10)
          to label %114 unwind label %122

114:                                              ; preds = %113
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #8
  %115 = uitofp nneg i32 %spec.store.select2 to float
  %116 = uitofp nneg i32 %spec.store.select to float
  %117 = fdiv float %115, %116
  %.not = icmp sgt i32 %spec.store.select2, %33
  %.not91 = icmp sgt i32 %spec.store.select, %29
  %or.cond101 = select i1 %.not, i1 true, i1 %.not91
  %118 = fcmp ult float %117, %41
  %or.cond102 = select i1 %or.cond101, i1 true, i1 %118
  %119 = fcmp ugt float %117, %43
  %or.cond103 = select i1 %or.cond102, i1 true, i1 %119
  br i1 %or.cond103, label %90, label %.loopexit

120:                                              ; preds = %97
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %219

122:                                              ; preds = %113
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #8
  br label %219

._crit_edge:                                      ; preds = %90, %84
  %124 = call noundef float @_ZNKSt25uniform_real_distributionIfE1bEv(ptr noundef nonnull align 4 dereferenceable(8) %44)
  %125 = fmul float %124, %56
  %126 = fmul float %125, %51
  %127 = fdiv float %56, %51
  %128 = fcmp ogt float %127, %43
  br i1 %128, label %129, label %136

129:                                              ; preds = %._crit_edge
  %130 = and i64 %28, 2147483647
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %11, i64 noundef %130, i32 noundef %55)
          to label %131 unwind label %132

131:                                              ; preds = %129
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %11)
          to label %148 unwind label %134

132:                                              ; preds = %143, %138, %129
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %219

134:                                              ; preds = %131
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #8
  br label %219

136:                                              ; preds = %._crit_edge
  %137 = fcmp olt float %127, %41
  br i1 %137, label %138, label %143

138:                                              ; preds = %136
  %139 = sext i32 %60 to i64
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %12, i64 noundef %139, i32 noundef %33)
          to label %140 unwind label %132

140:                                              ; preds = %138
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %12)
          to label %148 unwind label %141

141:                                              ; preds = %140
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  br label %219

143:                                              ; preds = %136
  %144 = and i64 %28, 2147483647
  invoke void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56) %13, i64 noundef %144, i32 noundef %33)
          to label %145 unwind label %132

145:                                              ; preds = %143
  invoke void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull %13)
          to label %148 unwind label %146

146:                                              ; preds = %145
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #8
  br label %219

148:                                              ; preds = %145, %140, %131
  %.sink = phi ptr [ %11, %131 ], [ %12, %140 ], [ %13, %145 ]
  call void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %.sink) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  store float 1.000000e+00, ptr %14, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  %149 = getelementptr inbounds i8, ptr %0, i64 56
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %149, i32 noundef 0)
          to label %151 unwind label %185

151:                                              ; preds = %148
  %152 = load i64, ptr %150, align 8, !tbaa !5
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %149, i32 noundef 1)
          to label %154 unwind label %185

154:                                              ; preds = %151
  %155 = load i64, ptr %153, align 8, !tbaa !5
  %156 = mul nsw i64 %155, %152
  %157 = sitofp i64 %156 to float
  %158 = fdiv float %126, %157
  store float %158, ptr %15, align 4, !tbaa !22
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %160 = load float, ptr %159, align 4, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  store i32 1, ptr %16, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %149, i32 noundef 0)
          to label %162 unwind label %187

162:                                              ; preds = %154
  %163 = load i64, ptr %161, align 8, !tbaa !5
  %164 = sitofp i64 %163 to float
  %165 = call noundef float @_ZSt4sqrtf(float noundef %160)
  %166 = fmul float %165, %164
  %167 = fptosi float %166 to i32
  store i32 %167, ptr %17, align 4, !tbaa !18
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %169 = load i32, ptr %168, align 4, !tbaa !18
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %149, i32 noundef 0)
          to label %171 unwind label %187

171:                                              ; preds = %162
  %172 = sext i32 %169 to i64
  store i64 %172, ptr %170, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #8
  store i32 1, ptr %18, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %149, i32 noundef 1)
          to label %174 unwind label %189

174:                                              ; preds = %171
  %175 = load i64, ptr %173, align 8, !tbaa !5
  %176 = sitofp i64 %175 to float
  %177 = call noundef float @_ZSt4sqrtf(float noundef %160)
  %178 = fmul float %177, %176
  %179 = fptosi float %178 to i32
  store i32 %179, ptr %19, align 4, !tbaa !18
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %181 = load i32, ptr %180, align 4, !tbaa !18
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %149, i32 noundef 1)
          to label %183 unwind label %189

183:                                              ; preds = %174
  %184 = sext i32 %181 to i64
  store i64 %184, ptr %182, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  br label %.loopexit

185:                                              ; preds = %151, %148
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  br label %219

187:                                              ; preds = %162, %154
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  br label %219

189:                                              ; preds = %174, %171
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  br label %219

.loopexit:                                        ; preds = %114, %183, %81, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %191 = getelementptr inbounds i8, ptr %0, i64 56
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %191, i32 noundef 0)
          to label %193 unwind label %215

193:                                              ; preds = %.loopexit
  %194 = load i64, ptr %192, align 8, !tbaa !5
  %195 = sub i64 %28, %194
  %196 = trunc i64 %195 to i32
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %20, i32 noundef 0, i32 noundef %196)
          to label %197 unwind label %215

197:                                              ; preds = %193
  %198 = getelementptr inbounds i8, ptr %1, i64 24
  %199 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(5000) %198)
          to label %200 unwind label %215

200:                                              ; preds = %197
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef 0)
          to label %202 unwind label %215

202:                                              ; preds = %200
  %203 = sext i32 %199 to i64
  store i64 %203, ptr %201, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %191, i32 noundef 1)
          to label %205 unwind label %217

205:                                              ; preds = %202
  %206 = load i64, ptr %204, align 8, !tbaa !5
  %207 = sub i64 %32, %206
  %208 = trunc i64 %207 to i32
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef 0, i32 noundef %208)
          to label %209 unwind label %217

209:                                              ; preds = %205
  %210 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(5000) %198)
          to label %211 unwind label %217

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef 1)
          to label %213 unwind label %217

213:                                              ; preds = %211
  %214 = sext i32 %210 to i64
  store i64 %214, ptr %212, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %220

215:                                              ; preds = %200, %197, %193, %.loopexit
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %219

217:                                              ; preds = %211, %209, %205, %202
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %219

219:                                              ; preds = %38, %70, %72, %82, %215, %217, %132, %134, %141, %146, %189, %187, %185, %109, %120, %122, %111, %68, %36
  %.pn96.pn.pn.pn = phi { ptr, i32 } [ %37, %36 ], [ %39, %38 ], [ %69, %68 ], [ %218, %217 ], [ %216, %215 ], [ %73, %72 ], [ %71, %70 ], [ %83, %82 ], [ %110, %109 ], [ %112, %111 ], [ %123, %122 ], [ %121, %120 ], [ %135, %134 ], [ %133, %132 ], [ %142, %141 ], [ %147, %146 ], [ %190, %189 ], [ %188, %187 ], [ %186, %185 ]
  call void @_ZN4dali10CropWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %0) #8
  resume { ptr, i32 } %.pn96.pn.pn.pn

220:                                              ; preds = %213, %31
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali10CropWindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNKSt25uniform_real_distributionIfE1aEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali10CropWindow8SetShapeENS_11TensorShapeILin1EEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4dali11TensorShapeILin1EEC2IJiEvEElDpT_(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNSt25uniform_real_distributionIfEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEfRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(5000)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sqrtf(float noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNKSt25uniform_real_distributionIfE1bEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4dali15TensorShapeBaseINS_11SmallVectorIlLm6ESaIlEEELin1EEixEi(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(5000)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4dali10CropWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #4 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #7

attributes #0 = { 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 #1 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { noreturn 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 0}
!10 = !{!"_ZTSN4dali19RandomCropGeneratorE", !11, i64 0, !13, i64 8, !13, i64 16, !15, i64 24, !6, i64 5024, !16, i64 5032}
!11 = !{!"_ZTSSt4pairIffE", !12, i64 0, !12, i64 4}
!12 = !{!"float", !7, i64 0}
!13 = !{!"_ZTSSt25uniform_real_distributionIfE", !14, i64 0}
!14 = !{!"_ZTSNSt25uniform_real_distributionIfE10param_typeE", !12, i64 0, !12, i64 4}
!15 = !{!"_ZTSSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EE", !7, i64 0, !6, i64 4992}
!16 = !{!"int", !7, i64 0}
!17 = !{!10, !12, i64 4}
!18 = !{!16, !16, i64 0}
!19 = !{!10, !16, i64 5032}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !12, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass