; LLVM IR from ftylitak/qzxing :: src/zxing/bigint/BigUnsigned.ll (ZN11BigUnsigned19divideWithRemainderERKS_RS_)

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

%class.BigUnsigned = type { %class.NumberlikeArray }
%class.NumberlikeArray = type { i32, i32, ptr }

@_ZTIPKc = external constant ptr
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11BigUnsigned15zapLeadingZerosEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15NumberlikeArrayImE15allocateAndCopyEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15NumberlikeArrayImE8allocateEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1 align 2

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z15getShiftedBlockRK11BigUnsignedjj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11BigUnsigned19divideWithRemainderERKS_RS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.BigUnsigned, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %4, align 8
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp eq ptr %19, %20
  br i1 %21, label %22, label %24

22:                                               ; preds = %3
  %23 = call ptr @__cxa_allocate_exception(i64 8) #7
  store ptr @.str.1, ptr %23, align 16, !tbaa !5
  call void @__cxa_throw(ptr %23, ptr @_ZTIPKc, ptr null) #8
  unreachable

24:                                               ; preds = %3
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = icmp eq ptr %19, %25
  br i1 %26, label %31, label %27

27:                                               ; preds = %24
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = icmp eq ptr %28, %29
  br i1 %30, label %31, label %39

31:                                               ; preds = %27, %24
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN11BigUnsignedC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11BigUnsigned19divideWithRemainderERKS_RS_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %34 unwind label %35

34:                                               ; preds = %31
  call void @_ZN15NumberlikeArrayImED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  br label %275

35:                                               ; preds = %31
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %8, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %9, align 4
  call void @_ZN15NumberlikeArrayImED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  br label %276

39:                                               ; preds = %27
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %class.NumberlikeArray, ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %47

44:                                               ; preds = %39
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.NumberlikeArray, ptr %45, i32 0, i32 1
  store i32 0, ptr %46, align 4, !tbaa !9
  br label %275

47:                                               ; preds = %39
  %48 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !9
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.NumberlikeArray, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 4, !tbaa !9
  %53 = icmp ult i32 %49, %52
  br i1 %53, label %54, label %57

54:                                               ; preds = %47
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %class.NumberlikeArray, ptr %55, i32 0, i32 1
  store i32 0, ptr %56, align 4, !tbaa !9
  br label %275

57:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %58 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 1
  %59 = load i32, ptr %58, align 4, !tbaa !9
  store i32 %59, ptr %17, align 4, !tbaa !12
  %60 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 1
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = add i32 %61, 1
  call void @_ZN15NumberlikeArrayImE15allocateAndCopyEj(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef %62)
  %63 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = add i32 %64, 1
  store i32 %65, ptr %63, align 4, !tbaa !9
  %66 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 2
  %67 = load ptr, ptr %66, align 8, !tbaa !13
  %68 = load i32, ptr %17, align 4, !tbaa !12
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds i64, ptr %67, i64 %69
  store i64 0, ptr %70, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %71 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 1
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %73, i64 8)
  %75 = extractvalue { i64, i1 } %74, 1
  %76 = extractvalue { i64, i1 } %74, 0
  %77 = select i1 %75, i64 -1, i64 %76
  %78 = call noalias noundef nonnull ptr @_Znam(i64 noundef %77) #9
  store ptr %78, ptr %18, align 8, !tbaa !5
  %79 = load i32, ptr %17, align 4, !tbaa !12
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %class.NumberlikeArray, ptr %80, i32 0, i32 1
  %82 = load i32, ptr %81, align 4, !tbaa !9
  %83 = sub i32 %79, %82
  %84 = add i32 %83, 1
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds %class.NumberlikeArray, ptr %85, i32 0, i32 1
  store i32 %84, ptr %86, align 4, !tbaa !9
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %class.NumberlikeArray, ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !9
  call void @_ZN15NumberlikeArrayImE8allocateEj(ptr noundef nonnull align 8 dereferenceable(16) %87, i32 noundef %90)
  store i32 0, ptr %10, align 4, !tbaa !12
  br label %91

91:                                               ; preds = %104, %57
  %92 = load i32, ptr %10, align 4, !tbaa !12
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %class.NumberlikeArray, ptr %93, i32 0, i32 1
  %95 = load i32, ptr %94, align 4, !tbaa !9
  %96 = icmp ult i32 %92, %95
  br i1 %96, label %97, label %107

97:                                               ; preds = %91
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %class.NumberlikeArray, ptr %98, i32 0, i32 2
  %100 = load ptr, ptr %99, align 8, !tbaa !13
  %101 = load i32, ptr %10, align 4, !tbaa !12
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds i64, ptr %100, i64 %102
  store i64 0, ptr %103, align 8, !tbaa !14
  br label %104

104:                                              ; preds = %97
  %105 = load i32, ptr %10, align 4, !tbaa !12
  %106 = add i32 %105, 1
  store i32 %106, ptr %10, align 4, !tbaa !12
  br label %91, !llvm.loop !16

107:                                              ; preds = %91
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %class.NumberlikeArray, ptr %108, i32 0, i32 1
  %110 = load i32, ptr %109, align 4, !tbaa !9
  store i32 %110, ptr %10, align 4, !tbaa !12
  br label %111

111:                                              ; preds = %252, %107
  %112 = load i32, ptr %10, align 4, !tbaa !12
  %113 = icmp ugt i32 %112, 0
  br i1 %113, label %114, label %253

114:                                              ; preds = %111
  %115 = load i32, ptr %10, align 4, !tbaa !12
  %116 = add i32 %115, -1
  store i32 %116, ptr %10, align 4, !tbaa !12
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %class.NumberlikeArray, ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !13
  %120 = load i32, ptr %10, align 4, !tbaa !12
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds i64, ptr %119, i64 %121
  store i64 0, ptr %122, align 8, !tbaa !14
  store i32 64, ptr %13, align 4, !tbaa !12
  br label %123

123:                                              ; preds = %251, %114
  %124 = load i32, ptr %13, align 4, !tbaa !12
  %125 = icmp ugt i32 %124, 0
  br i1 %125, label %126, label %252

126:                                              ; preds = %123
  %127 = load i32, ptr %13, align 4, !tbaa !12
  %128 = add i32 %127, -1
  store i32 %128, ptr %13, align 4, !tbaa !12
  store i32 0, ptr %11, align 4, !tbaa !12
  %129 = load i32, ptr %10, align 4, !tbaa !12
  store i32 %129, ptr %12, align 4, !tbaa !12
  store i8 0, ptr %15, align 1, !tbaa !18
  br label %130

130:                                              ; preds = %180, %126
  %131 = load i32, ptr %11, align 4, !tbaa !12
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %class.NumberlikeArray, ptr %132, i32 0, i32 1
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = icmp ule i32 %131, %134
  br i1 %135, label %136, label %185

136:                                              ; preds = %130
  %137 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 2
  %138 = load ptr, ptr %137, align 8, !tbaa !13
  %139 = load i32, ptr %12, align 4, !tbaa !12
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds i64, ptr %138, i64 %140
  %142 = load i64, ptr %141, align 8, !tbaa !14
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = load i32, ptr %11, align 4, !tbaa !12
  %145 = load i32, ptr %13, align 4, !tbaa !12
  %146 = call noundef i64 @_Z15getShiftedBlockRK11BigUnsignedjj(ptr noundef nonnull align 8 dereferenceable(16) %143, i32 noundef %144, i32 noundef %145)
  %147 = sub i64 %142, %146
  store i64 %147, ptr %14, align 8, !tbaa !14
  %148 = load i64, ptr %14, align 8, !tbaa !14
  %149 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 2
  %150 = load ptr, ptr %149, align 8, !tbaa !13
  %151 = load i32, ptr %12, align 4, !tbaa !12
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds i64, ptr %150, i64 %152
  %154 = load i64, ptr %153, align 8, !tbaa !14
  %155 = icmp ugt i64 %148, %154
  %156 = zext i1 %155 to i8
  store i8 %156, ptr %16, align 1, !tbaa !18
  %157 = load i8, ptr %15, align 1, !tbaa !18, !range !20, !noundef !21
  %158 = trunc i8 %157 to i1
  br i1 %158, label %159, label %171

159:                                              ; preds = %136
  %160 = load i64, ptr %14, align 8, !tbaa !14
  %161 = icmp eq i64 %160, 0
  %162 = zext i1 %161 to i32
  %163 = load i8, ptr %16, align 1, !tbaa !18, !range !20, !noundef !21
  %164 = trunc i8 %163 to i1
  %165 = zext i1 %164 to i32
  %166 = or i32 %165, %162
  %167 = icmp ne i32 %166, 0
  %168 = zext i1 %167 to i8
  store i8 %168, ptr %16, align 1, !tbaa !18
  %169 = load i64, ptr %14, align 8, !tbaa !14
  %170 = add i64 %169, -1
  store i64 %170, ptr %14, align 8, !tbaa !14
  br label %171

171:                                              ; preds = %159, %136
  %172 = load i64, ptr %14, align 8, !tbaa !14
  %173 = load ptr, ptr %18, align 8, !tbaa !5
  %174 = load i32, ptr %12, align 4, !tbaa !12
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds i64, ptr %173, i64 %175
  store i64 %172, ptr %176, align 8, !tbaa !14
  %177 = load i8, ptr %16, align 1, !tbaa !18, !range !20, !noundef !21
  %178 = trunc i8 %177 to i1
  %179 = zext i1 %178 to i8
  store i8 %179, ptr %15, align 1, !tbaa !18
  br label %180

180:                                              ; preds = %171
  %181 = load i32, ptr %11, align 4, !tbaa !12
  %182 = add i32 %181, 1
  store i32 %182, ptr %11, align 4, !tbaa !12
  %183 = load i32, ptr %12, align 4, !tbaa !12
  %184 = add i32 %183, 1
  store i32 %184, ptr %12, align 4, !tbaa !12
  br label %130, !llvm.loop !22

185:                                              ; preds = %130
  br label %186

186:                                              ; preds = %215, %185
  %187 = load i32, ptr %12, align 4, !tbaa !12
  %188 = load i32, ptr %17, align 4, !tbaa !12
  %189 = icmp ult i32 %187, %188
  br i1 %189, label %190, label %193

190:                                              ; preds = %186
  %191 = load i8, ptr %15, align 1, !tbaa !18, !range !20, !noundef !21
  %192 = trunc i8 %191 to i1
  br label %193

193:                                              ; preds = %190, %186
  %194 = phi i1 [ false, %186 ], [ %192, %190 ]
  br i1 %194, label %195, label %218

195:                                              ; preds = %193
  %196 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 2
  %197 = load ptr, ptr %196, align 8, !tbaa !13
  %198 = load i32, ptr %12, align 4, !tbaa !12
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds i64, ptr %197, i64 %199
  %201 = load i64, ptr %200, align 8, !tbaa !14
  %202 = icmp eq i64 %201, 0
  %203 = zext i1 %202 to i8
  store i8 %203, ptr %15, align 1, !tbaa !18
  %204 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 2
  %205 = load ptr, ptr %204, align 8, !tbaa !13
  %206 = load i32, ptr %12, align 4, !tbaa !12
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds i64, ptr %205, i64 %207
  %209 = load i64, ptr %208, align 8, !tbaa !14
  %210 = sub i64 %209, 1
  %211 = load ptr, ptr %18, align 8, !tbaa !5
  %212 = load i32, ptr %12, align 4, !tbaa !12
  %213 = zext i32 %212 to i64
  %214 = getelementptr inbounds i64, ptr %211, i64 %213
  store i64 %210, ptr %214, align 8, !tbaa !14
  br label %215

215:                                              ; preds = %195
  %216 = load i32, ptr %12, align 4, !tbaa !12
  %217 = add i32 %216, 1
  store i32 %217, ptr %12, align 4, !tbaa !12
  br label %186, !llvm.loop !23

218:                                              ; preds = %193
  %219 = load i8, ptr %15, align 1, !tbaa !18, !range !20, !noundef !21
  %220 = trunc i8 %219 to i1
  br i1 %220, label %251, label %221

221:                                              ; preds = %218
  %222 = load i32, ptr %13, align 4, !tbaa !12
  %223 = zext i32 %222 to i64
  %224 = shl i64 1, %223
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %class.NumberlikeArray, ptr %225, i32 0, i32 2
  %227 = load ptr, ptr %226, align 8, !tbaa !13
  %228 = load i32, ptr %10, align 4, !tbaa !12
  %229 = zext i32 %228 to i64
  %230 = getelementptr inbounds i64, ptr %227, i64 %229
  %231 = load i64, ptr %230, align 8, !tbaa !14
  %232 = or i64 %231, %224
  store i64 %232, ptr %230, align 8, !tbaa !14
  br label %233

233:                                              ; preds = %237, %221
  %234 = load i32, ptr %12, align 4, !tbaa !12
  %235 = load i32, ptr %10, align 4, !tbaa !12
  %236 = icmp ugt i32 %234, %235
  br i1 %236, label %237, label %250

237:                                              ; preds = %233
  %238 = load i32, ptr %12, align 4, !tbaa !12
  %239 = add i32 %238, -1
  store i32 %239, ptr %12, align 4, !tbaa !12
  %240 = load ptr, ptr %18, align 8, !tbaa !5
  %241 = load i32, ptr %12, align 4, !tbaa !12
  %242 = zext i32 %241 to i64
  %243 = getelementptr inbounds i64, ptr %240, i64 %242
  %244 = load i64, ptr %243, align 8, !tbaa !14
  %245 = getelementptr inbounds %class.NumberlikeArray, ptr %19, i32 0, i32 2
  %246 = load ptr, ptr %245, align 8, !tbaa !13
  %247 = load i32, ptr %12, align 4, !tbaa !12
  %248 = zext i32 %247 to i64
  %249 = getelementptr inbounds i64, ptr %246, i64 %248
  store i64 %244, ptr %249, align 8, !tbaa !14
  br label %233, !llvm.loop !24

250:                                              ; preds = %233
  br label %251

251:                                              ; preds = %250, %218
  br label %123, !llvm.loop !25

252:                                              ; preds = %123
  br label %111, !llvm.loop !26

253:                                              ; preds = %111
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = getelementptr inbounds %class.NumberlikeArray, ptr %254, i32 0, i32 2
  %256 = load ptr, ptr %255, align 8, !tbaa !13
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %class.NumberlikeArray, ptr %257, i32 0, i32 1
  %259 = load i32, ptr %258, align 4, !tbaa !9
  %260 = sub i32 %259, 1
  %261 = zext i32 %260 to i64
  %262 = getelementptr inbounds i64, ptr %256, i64 %261
  %263 = load i64, ptr %262, align 8, !tbaa !14
  %264 = icmp eq i64 %263, 0
  br i1 %264, label %265, label %270

265:                                              ; preds = %253
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %class.NumberlikeArray, ptr %266, i32 0, i32 1
  %268 = load i32, ptr %267, align 4, !tbaa !9
  %269 = add i32 %268, -1
  store i32 %269, ptr %267, align 4, !tbaa !9
  br label %270

270:                                              ; preds = %265, %253
  call void @_ZN11BigUnsigned15zapLeadingZerosEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  %271 = load ptr, ptr %18, align 8, !tbaa !5
  %272 = icmp eq ptr %271, null
  br i1 %272, label %274, label %273

273:                                              ; preds = %270
  call void @_ZdaPv(ptr noundef %271) #10
  br label %274

274:                                              ; preds = %273, %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %275

275:                                              ; preds = %274, %54, %44, %34
  ret void

276:                                              ; preds = %35
  %277 = load ptr, ptr %8, align 8
  %278 = load i32, ptr %9, align 4
  %279 = insertvalue { ptr, i32 } poison, ptr %277, 0
  %280 = insertvalue { ptr, i32 } %279, i32 %278, 1
  resume { ptr, i32 } %280
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11BigUnsignedC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #6

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nobuiltin allocsize(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 #6 = { nobuiltin 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 #7 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !11, i64 4}
!10 = !{!"_ZTS15NumberlikeArrayImE", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !19, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}
!25 = distinct !{!25, !17}
!26 = distinct !{!26, !17}


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

%class.BigUnsigned = type { %class.NumberlikeArray }
%class.NumberlikeArray = type { i32, i32, ptr }

@_ZTIPKc = external constant ptr
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11BigUnsigned15zapLeadingZerosEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15NumberlikeArrayImE15allocateAndCopyEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15NumberlikeArrayImE8allocateEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z15getShiftedBlockRK11BigUnsignedjj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11BigUnsigned19divideWithRemainderERKS_RS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.BigUnsigned, align 8
  %5 = icmp eq ptr %0, %2
  br i1 %5, label %6, label %8

6:                                                ; preds = %3
  %7 = tail call ptr @__cxa_allocate_exception(i64 8) #7
  store ptr @.str.1, ptr %7, align 16, !tbaa !5
  tail call void @__cxa_throw(ptr nonnull %7, ptr nonnull @_ZTIPKc, ptr null) #8
  unreachable

8:                                                ; preds = %3
  %9 = icmp eq ptr %0, %1
  %10 = icmp eq ptr %2, %1
  %or.cond = or i1 %9, %10
  br i1 %or.cond, label %11, label %15

11:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @_ZN11BigUnsignedC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZN11BigUnsigned19divideWithRemainderERKS_RS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %12 unwind label %13

12:                                               ; preds = %11
  call void @_ZN15NumberlikeArrayImED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %122

13:                                               ; preds = %11
  %14 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN15NumberlikeArrayImED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  resume { ptr, i32 } %14

15:                                               ; preds = %8
  %16 = getelementptr inbounds i8, ptr %1, i64 4
  %17 = load i32, ptr %16, align 4, !tbaa !9
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %21

19:                                               ; preds = %15
  %20 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %122

21:                                               ; preds = %15
  %22 = getelementptr inbounds i8, ptr %0, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !9
  %24 = icmp ult i32 %23, %17
  br i1 %24, label %25, label %27

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %122

27:                                               ; preds = %21
  %28 = add i32 %23, 1
  tail call void @_ZN15NumberlikeArrayImE15allocateAndCopyEj(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %28)
  %29 = load i32, ptr %22, align 4, !tbaa !9
  %30 = add i32 %29, 1
  store i32 %30, ptr %22, align 4, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !12
  %33 = zext i32 %23 to i64
  %34 = getelementptr inbounds i64, ptr %32, i64 %33
  store i64 0, ptr %34, align 8, !tbaa !13
  %35 = zext i32 %30 to i64
  %36 = shl nuw nsw i64 %35, 3
  %37 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %36) #9
  %38 = ptrtoint ptr %37 to i64
  %39 = load i32, ptr %16, align 4, !tbaa !9
  %40 = sub i32 %23, %39
  %41 = add i32 %40, 1
  %42 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %41, ptr %42, align 4, !tbaa !9
  tail call void @_ZN15NumberlikeArrayImE8allocateEj(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %41)
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %.not106 = icmp eq i32 %43, 0
  br i1 %.not106, label %._crit_edge105, label %.lr.ph104

.lr.ph104:                                        ; preds = %27
  %44 = getelementptr inbounds i8, ptr %2, i64 8
  %45 = load ptr, ptr %44, align 8, !tbaa !12
  %46 = zext i32 %43 to i64
  %47 = shl nuw nsw i64 %46, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %45, i8 0, i64 %47, i1 false), !tbaa !13
  %48 = getelementptr inbounds i8, ptr %2, i64 8
  %49 = zext i32 %43 to i64
  %.pre.pre.pre = load ptr, ptr %31, align 8, !tbaa !12
  %50 = add i32 %43, -1
  %51 = zext i32 %50 to i64
  br label %52

.loopexit87:                                      ; preds = %.loopexit
  %.not = icmp eq i32 %indvars, 0
  %indvar.next = add i64 %indvar, 1
  br i1 %.not, label %._crit_edge105.loopexit, label %52, !llvm.loop !15

52:                                               ; preds = %.lr.ph104, %.loopexit87
  %indvar = phi i64 [ 0, %.lr.ph104 ], [ %indvar.next, %.loopexit87 ]
  %.pre.pre = phi ptr [ %.pre.pre.pre, %.lr.ph104 ], [ %70, %.loopexit87 ]
  %indvars.iv121 = phi i64 [ %49, %.lr.ph104 ], [ %indvars.iv.next122, %.loopexit87 ]
  %53 = sub i64 %indvar, %51
  %indvars.iv.next122 = add nsw i64 %indvars.iv121, -1
  %indvars = trunc i64 %indvars.iv.next122 to i32
  %54 = load ptr, ptr %48, align 8, !tbaa !12
  %55 = and i64 %indvars.iv.next122, 4294967295
  %56 = getelementptr inbounds i64, ptr %54, i64 %55
  store i64 0, ptr %56, align 8, !tbaa !13
  %57 = trunc nuw i64 %indvars.iv121 to i32
  br label %58

58:                                               ; preds = %52, %.loopexit
  %.pre = phi ptr [ %.pre.pre, %52 ], [ %70, %.loopexit ]
  %indvars.iv118 = phi i64 [ 64, %52 ], [ %indvars.iv.next119, %.loopexit ]
  %indvars.iv.next119 = add nsw i64 %indvars.iv118, -1
  %59 = trunc nuw nsw i64 %indvars.iv.next119 to i32
  br label %63

.preheader:                                       ; preds = %63
  %.lcssa130132 = ptrtoint ptr %70 to i64
  %60 = icmp ult i32 %78, %23
  %61 = select i1 %60, i1 %.072.in, i1 false
  br i1 %61, label %.lr.ph95, label %._crit_edge

.lr.ph95:                                         ; preds = %.preheader
  %62 = zext i32 %indvars.iv to i64
  br label %80

63:                                               ; preds = %58, %63
  %64 = phi ptr [ %.pre, %58 ], [ %70, %63 ]
  %indvars.iv = phi i32 [ %57, %58 ], [ %indvars.iv.next, %63 ]
  %.07193 = phi i32 [ 0, %58 ], [ %77, %63 ]
  %.07392 = phi i1 [ false, %58 ], [ %.072.in, %63 ]
  %.07791 = phi i32 [ %indvars, %58 ], [ %78, %63 ]
  %65 = zext i32 %.07791 to i64
  %66 = getelementptr inbounds i64, ptr %64, i64 %65
  %67 = load i64, ptr %66, align 8, !tbaa !13
  %68 = tail call noundef i64 @_Z15getShiftedBlockRK11BigUnsignedjj(ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %.07193, i32 noundef %59)
  %69 = sub i64 %67, %68
  %70 = load ptr, ptr %31, align 8, !tbaa !12
  %71 = getelementptr inbounds i64, ptr %70, i64 %65
  %72 = load i64, ptr %71, align 8, !tbaa !13
  %73 = icmp ugt i64 %69, %72
  %74 = add i64 %69, -1
  %75 = icmp uge i64 %74, %72
  %.075 = select i1 %.07392, i64 %74, i64 %69
  %.072.in = select i1 %.07392, i1 %75, i1 %73
  %76 = getelementptr inbounds i64, ptr %37, i64 %65
  store i64 %.075, ptr %76, align 8, !tbaa !13
  %77 = add i32 %.07193, 1
  %78 = add i32 %.07791, 1
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %.not86 = icmp ugt i32 %77, %79
  %indvars.iv.next = add i32 %indvars.iv, 1
  br i1 %.not86, label %.preheader, label %63, !llvm.loop !17

80:                                               ; preds = %.lr.ph95, %80
  %indvars.iv111 = phi i64 [ %62, %.lr.ph95 ], [ %indvars.iv.next112, %80 ]
  %81 = getelementptr inbounds i64, ptr %70, i64 %indvars.iv111
  %82 = load i64, ptr %81, align 8, !tbaa !13
  %83 = icmp eq i64 %82, 0
  %84 = add i64 %82, -1
  %85 = getelementptr inbounds i64, ptr %37, i64 %indvars.iv111
  store i64 %84, ptr %85, align 8, !tbaa !13
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %86 = icmp ult i64 %indvars.iv.next112, %33
  %87 = select i1 %86, i1 %83, i1 false
  br i1 %87, label %80, label %._crit_edge.loopexit, !llvm.loop !18

._crit_edge.loopexit:                             ; preds = %80
  %88 = trunc nuw i64 %indvars.iv.next112 to i32
  br i1 %83, label %.loopexit, label %89

._crit_edge:                                      ; preds = %.preheader
  br i1 %.072.in, label %.loopexit, label %89

89:                                               ; preds = %._crit_edge.loopexit, %._crit_edge
  %.178.lcssa127 = phi i32 [ %88, %._crit_edge.loopexit ], [ %78, %._crit_edge ]
  %90 = shl nuw i64 1, %indvars.iv.next119
  %91 = load ptr, ptr %48, align 8, !tbaa !12
  %92 = getelementptr inbounds i64, ptr %91, i64 %55
  %93 = load i64, ptr %92, align 8, !tbaa !13
  %94 = or i64 %93, %90
  store i64 %94, ptr %92, align 8, !tbaa !13
  %95 = icmp ugt i32 %.178.lcssa127, %indvars
  br i1 %95, label %.lr.ph100, label %.loopexit

.lr.ph100:                                        ; preds = %89
  %96 = zext i32 %.178.lcssa127 to i64
  %97 = add i64 %53, %96
  %min.iters.check = icmp ult i64 %97, 4
  %98 = sub i64 %38, %.lcssa130132
  %diff.check = icmp ult i64 %98, 32
  %or.cond137 = or i1 %min.iters.check, %diff.check
  br i1 %or.cond137, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph100
  %n.vec = and i64 %97, -4
  %ind.end = sub i64 %96, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %99 = xor i64 %index, -1
  %100 = add i64 %99, %96
  %101 = getelementptr inbounds i64, ptr %37, i64 %100
  %102 = getelementptr inbounds i8, ptr %101, i64 -8
  %103 = getelementptr inbounds i8, ptr %101, i64 -24
  %wide.load = load <2 x i64>, ptr %102, align 8, !tbaa !13
  %wide.load133 = load <2 x i64>, ptr %103, align 8, !tbaa !13
  %104 = getelementptr inbounds i64, ptr %70, i64 %100
  %105 = getelementptr inbounds i8, ptr %104, i64 -8
  %106 = getelementptr inbounds i8, ptr %104, i64 -24
  store <2 x i64> %wide.load, ptr %105, align 8, !tbaa !13
  store <2 x i64> %wide.load133, ptr %106, align 8, !tbaa !13
  %index.next = add nuw i64 %index, 4
  %107 = icmp eq i64 %index.next, %n.vec
  br i1 %107, label %middle.block, label %vector.body, !llvm.loop !19

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %97, %n.vec
  br i1 %cmp.n, label %.loopexit, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph100
  %indvars.iv115.ph = phi i64 [ %96, %.lr.ph100 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv115 = phi i64 [ %108, %scalar.ph ], [ %indvars.iv115.ph, %scalar.ph.preheader ]
  %108 = add nsw i64 %indvars.iv115, -1
  %109 = getelementptr inbounds i64, ptr %37, i64 %108
  %110 = load i64, ptr %109, align 8, !tbaa !13
  %111 = getelementptr inbounds i64, ptr %70, i64 %108
  store i64 %110, ptr %111, align 8, !tbaa !13
  %.wide = icmp ugt i64 %108, %55
  br i1 %.wide, label %scalar.ph, label %.loopexit, !llvm.loop !22

.loopexit:                                        ; preds = %scalar.ph, %middle.block, %._crit_edge.loopexit, %89, %._crit_edge
  %.not85 = icmp eq i64 %indvars.iv.next119, 0
  br i1 %.not85, label %.loopexit87, label %58, !llvm.loop !23

._crit_edge105.loopexit:                          ; preds = %.loopexit87
  %.pre124 = load i32, ptr %42, align 4, !tbaa !9
  %112 = add i32 %.pre124, -1
  br label %._crit_edge105

._crit_edge105:                                   ; preds = %27, %._crit_edge105.loopexit
  %113 = phi i32 [ %112, %._crit_edge105.loopexit ], [ -1, %27 ]
  %114 = getelementptr inbounds i8, ptr %2, i64 8
  %115 = load ptr, ptr %114, align 8, !tbaa !12
  %116 = zext i32 %113 to i64
  %117 = getelementptr inbounds i64, ptr %115, i64 %116
  %118 = load i64, ptr %117, align 8, !tbaa !13
  %119 = icmp eq i64 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %._crit_edge105
  store i32 %113, ptr %42, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %120, %._crit_edge105
  tail call void @_ZN11BigUnsigned15zapLeadingZerosEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  tail call void @_ZdaPv(ptr noundef nonnull %37) #10
  br label %122

122:                                              ; preds = %121, %25, %19, %12
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11BigUnsignedC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #4

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nobuiltin allocsize(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 = { nobuiltin 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 nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { noreturn }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !11, i64 4}
!10 = !{!"_ZTS15NumberlikeArrayImE", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16, !20, !21}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !16, !20}
!23 = distinct !{!23, !16}


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