; LLVM IR from xhub/reshop :: gui/external/imgui/imgui_draw.ll (Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv)

; 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.ImVector.13 = type { i32, i32, ptr }
%struct.ImFontAtlas = type <{ i32, [4 x i8], i64, i32, i32, i8, [7 x i8], ptr, i8, i8, [6 x i8], ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, [64 x %struct.ImVec4], ptr, i32, i32, i32, [4 x i8] }>
%struct.ImVec2 = type { float, float }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImFontAtlasCustomRect = type { i16, i16, i16, i16, i32, float, %struct.ImVec2, ptr }
%struct.stbrp_rect = type { i32, i32, i32, i32, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv = external hidden unnamed_addr constant [60 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [112 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv(ptr noundef %0, ptr noundef %1) #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.ImVector.13, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %13, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %17

16:                                               ; preds = %2
  br label %19

17:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.43, ptr noundef @.str.1, i32 noundef 3167, ptr noundef @__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv) #7
  unreachable

18:                                               ; No predecessors!
  br label %19

19:                                               ; preds = %18, %16
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImFontAtlas, ptr %20, i32 0, i32 18
  store ptr %21, ptr %6, align 8, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImVector.10, ptr %22, i32 0, i32 0
  %24 = load i32, ptr %23, align 8, !tbaa !9
  %25 = icmp sge i32 %24, 1
  br i1 %25, label %26, label %27

26:                                               ; preds = %19
  br label %29

27:                                               ; preds = %19
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str.1, i32 noundef 3170, ptr noundef @__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv) #7
  unreachable

28:                                               ; No predecessors!
  br label %29

29:                                               ; preds = %28, %26
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImVector.10, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !9
  %33 = icmp slt i32 %32, 1
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  unreachable

35:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImFontAtlas, ptr %36, i32 0, i32 4
  %38 = load i32, ptr %37, align 4, !tbaa !12
  store i32 %38, ptr %7, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  call void @_ZN8ImVectorI10stbrp_rectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImVector.10, ptr %39, i32 0, i32 0
  %41 = load i32, ptr %40, align 8, !tbaa !9
  invoke void @_ZN8ImVectorI10stbrp_rectE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %41)
          to label %42 unwind label %55

42:                                               ; preds = %35
  %43 = getelementptr inbounds %struct.ImVector.13, ptr %8, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !21
  %45 = invoke noundef i32 @_ZNK8ImVectorI10stbrp_rectE13size_in_bytesEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %46 unwind label %55

46:                                               ; preds = %42
  %47 = sext i32 %45 to i64
  call void @llvm.memset.p0.i64(ptr align 4 %44, i8 0, i64 %47, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !20
  br label %48

48:                                               ; preds = %86, %46
  %49 = load i32, ptr %11, align 4, !tbaa !20
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImVector.10, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !9
  %53 = icmp slt i32 %49, %52
  br i1 %53, label %59, label %54

54:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %93

55:                                               ; preds = %96, %93, %42, %35
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %9, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %10, align 4
  br label %201

59:                                               ; preds = %48
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load i32, ptr %11, align 4, !tbaa !20
  %62 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %60, i32 noundef %61)
          to label %63 unwind label %89

63:                                               ; preds = %59
  %64 = getelementptr inbounds %struct.ImFontAtlasCustomRect, ptr %62, i32 0, i32 2
  %65 = load i16, ptr %64, align 4, !tbaa !23
  %66 = zext i16 %65 to i32
  %67 = load i32, ptr %7, align 4, !tbaa !20
  %68 = add nsw i32 %66, %67
  %69 = load i32, ptr %11, align 4, !tbaa !20
  %70 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %69)
          to label %71 unwind label %89

71:                                               ; preds = %63
  %72 = getelementptr inbounds %struct.stbrp_rect, ptr %70, i32 0, i32 1
  store i32 %68, ptr %72, align 4, !tbaa !26
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load i32, ptr %11, align 4, !tbaa !20
  %75 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %73, i32 noundef %74)
          to label %76 unwind label %89

76:                                               ; preds = %71
  %77 = getelementptr inbounds %struct.ImFontAtlasCustomRect, ptr %75, i32 0, i32 3
  %78 = load i16, ptr %77, align 2, !tbaa !28
  %79 = zext i16 %78 to i32
  %80 = load i32, ptr %7, align 4, !tbaa !20
  %81 = add nsw i32 %79, %80
  %82 = load i32, ptr %11, align 4, !tbaa !20
  %83 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %82)
          to label %84 unwind label %89

84:                                               ; preds = %76
  %85 = getelementptr inbounds %struct.stbrp_rect, ptr %83, i32 0, i32 2
  store i32 %81, ptr %85, align 4, !tbaa !29
  br label %86

86:                                               ; preds = %84
  %87 = load i32, ptr %11, align 4, !tbaa !20
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %11, align 4, !tbaa !20
  br label %48, !llvm.loop !30

89:                                               ; preds = %76, %71, %63, %59
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %9, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %201

93:                                               ; preds = %54
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef 0)
          to label %96 unwind label %55

96:                                               ; preds = %93
  %97 = getelementptr inbounds %struct.ImVector.13, ptr %8, i32 0, i32 0
  %98 = load i32, ptr %97, align 8, !tbaa !32
  %99 = invoke noundef i32 @_ZL16stbrp_pack_rectsP13stbrp_contextP10stbrp_recti(ptr noundef %94, ptr noundef %95, i32 noundef %98)
          to label %100 unwind label %55

100:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !20
  br label %101

101:                                              ; preds = %197, %100
  %102 = load i32, ptr %12, align 4, !tbaa !20
  %103 = getelementptr inbounds %struct.ImVector.13, ptr %8, i32 0, i32 0
  %104 = load i32, ptr %103, align 8, !tbaa !32
  %105 = icmp slt i32 %102, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %200

107:                                              ; preds = %101
  %108 = load i32, ptr %12, align 4, !tbaa !20
  %109 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %108)
          to label %110 unwind label %172

110:                                              ; preds = %107
  %111 = getelementptr inbounds %struct.stbrp_rect, ptr %109, i32 0, i32 5
  %112 = load i32, ptr %111, align 4, !tbaa !33
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %196

114:                                              ; preds = %110
  %115 = load i32, ptr %12, align 4, !tbaa !20
  %116 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %115)
          to label %117 unwind label %172

117:                                              ; preds = %114
  %118 = getelementptr inbounds %struct.stbrp_rect, ptr %116, i32 0, i32 3
  %119 = load i32, ptr %118, align 4, !tbaa !34
  %120 = trunc i32 %119 to i16
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = load i32, ptr %12, align 4, !tbaa !20
  %123 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %121, i32 noundef %122)
          to label %124 unwind label %172

124:                                              ; preds = %117
  %125 = getelementptr inbounds %struct.ImFontAtlasCustomRect, ptr %123, i32 0, i32 0
  store i16 %120, ptr %125, align 8, !tbaa !35
  %126 = load i32, ptr %12, align 4, !tbaa !20
  %127 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %126)
          to label %128 unwind label %172

128:                                              ; preds = %124
  %129 = getelementptr inbounds %struct.stbrp_rect, ptr %127, i32 0, i32 4
  %130 = load i32, ptr %129, align 4, !tbaa !36
  %131 = trunc i32 %130 to i16
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = load i32, ptr %12, align 4, !tbaa !20
  %134 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %132, i32 noundef %133)
          to label %135 unwind label %172

135:                                              ; preds = %128
  %136 = getelementptr inbounds %struct.ImFontAtlasCustomRect, ptr %134, i32 0, i32 1
  store i16 %131, ptr %136, align 2, !tbaa !37
  %137 = load i32, ptr %12, align 4, !tbaa !20
  %138 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %137)
          to label %139 unwind label %172

139:                                              ; preds = %135
  %140 = getelementptr inbounds %struct.stbrp_rect, ptr %138, i32 0, i32 1
  %141 = load i32, ptr %140, align 4, !tbaa !26
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = load i32, ptr %12, align 4, !tbaa !20
  %144 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %142, i32 noundef %143)
          to label %145 unwind label %172

145:                                              ; preds = %139
  %146 = getelementptr inbounds %struct.ImFontAtlasCustomRect, ptr %144, i32 0, i32 2
  %147 = load i16, ptr %146, align 4, !tbaa !23
  %148 = zext i16 %147 to i32
  %149 = load i32, ptr %7, align 4, !tbaa !20
  %150 = add nsw i32 %148, %149
  %151 = icmp eq i32 %141, %150
  br i1 %151, label %152, label %168

152:                                              ; preds = %145
  %153 = load i32, ptr %12, align 4, !tbaa !20
  %154 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %153)
          to label %155 unwind label %172

155:                                              ; preds = %152
  %156 = getelementptr inbounds %struct.stbrp_rect, ptr %154, i32 0, i32 2
  %157 = load i32, ptr %156, align 4, !tbaa !29
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = load i32, ptr %12, align 4, !tbaa !20
  %160 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %158, i32 noundef %159)
          to label %161 unwind label %172

161:                                              ; preds = %155
  %162 = getelementptr inbounds %struct.ImFontAtlasCustomRect, ptr %160, i32 0, i32 3
  %163 = load i16, ptr %162, align 2, !tbaa !28
  %164 = zext i16 %163 to i32
  %165 = load i32, ptr %7, align 4, !tbaa !20
  %166 = add nsw i32 %164, %165
  %167 = icmp eq i32 %157, %166
  br label %168

168:                                              ; preds = %161, %145
  %169 = phi i1 [ false, %145 ], [ %167, %161 ]
  br i1 %169, label %170, label %171

170:                                              ; preds = %168
  br label %177

171:                                              ; preds = %168
  call void @__assert_fail(ptr noundef @.str.45, ptr noundef @.str.1, i32 noundef 3190, ptr noundef @__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv) #7
  unreachable

172:                                              ; preds = %188, %183, %177, %155, %152, %139, %135, %128, %124, %117, %114, %107
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %9, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %201

176:                                              ; No predecessors!
  br label %177

177:                                              ; preds = %176, %170
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImFontAtlas, ptr %178, i32 0, i32 14
  %180 = load i32, ptr %179, align 4, !tbaa !38
  %181 = load i32, ptr %12, align 4, !tbaa !20
  %182 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %181)
          to label %183 unwind label %172

183:                                              ; preds = %177
  %184 = getelementptr inbounds %struct.stbrp_rect, ptr %182, i32 0, i32 4
  %185 = load i32, ptr %184, align 4, !tbaa !36
  %186 = load i32, ptr %12, align 4, !tbaa !20
  %187 = invoke noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %186)
          to label %188 unwind label %172

188:                                              ; preds = %183
  %189 = getelementptr inbounds %struct.stbrp_rect, ptr %187, i32 0, i32 2
  %190 = load i32, ptr %189, align 4, !tbaa !29
  %191 = add nsw i32 %185, %190
  %192 = invoke noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %180, i32 noundef %191)
          to label %193 unwind label %172

193:                                              ; preds = %188
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.ImFontAtlas, ptr %194, i32 0, i32 14
  store i32 %192, ptr %195, align 4, !tbaa !38
  br label %196

196:                                              ; preds = %193, %110
  br label %197

197:                                              ; preds = %196
  %198 = load i32, ptr %12, align 4, !tbaa !20
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %12, align 4, !tbaa !20
  br label %101, !llvm.loop !39

200:                                              ; preds = %106
  call void @_ZN8ImVectorI10stbrp_rectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

201:                                              ; preds = %172, %89, %55
  call void @_ZN8ImVectorI10stbrp_rectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %202

202:                                              ; preds = %201
  %203 = load ptr, ptr %9, align 8
  %204 = load i32, ptr %10, align 4
  %205 = insertvalue { ptr, i32 } poison, ptr %203, 0
  %206 = insertvalue { ptr, i32 } %205, i32 %204, 1
  resume { ptr, i32 } %206
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16stbrp_pack_rectsP13stbrp_contextP10stbrp_recti(ptr noundef, ptr noundef, i32 noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = { 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 #5 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { 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, !11, i64 0}
!10 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !11, i64 0, !11, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 20}
!13 = !{!"_ZTS11ImFontAtlas", !11, i64 0, !14, i64 8, !11, i64 16, !11, i64 20, !15, i64 24, !6, i64 32, !15, i64 40, !15, i64 41, !6, i64 48, !6, i64 56, !11, i64 64, !11, i64 68, !16, i64 72, !16, i64 80, !18, i64 88, !10, i64 104, !19, i64 120, !7, i64 136, !6, i64 1160, !11, i64 1168, !11, i64 1172, !11, i64 1176}
!14 = !{!"long long", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS6ImVec2", !17, i64 0, !17, i64 4}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI12ImFontConfigE", !11, i64 0, !11, i64 4, !6, i64 8}
!20 = !{!11, !11, i64 0}
!21 = !{!22, !6, i64 8}
!22 = !{!"_ZTS8ImVectorI10stbrp_rectE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!24, !25, i64 4}
!24 = !{!"_ZTS21ImFontAtlasCustomRect", !25, i64 0, !25, i64 2, !25, i64 4, !25, i64 6, !11, i64 8, !11, i64 11, !17, i64 12, !16, i64 16, !6, i64 24}
!25 = !{!"short", !7, i64 0}
!26 = !{!27, !11, i64 4}
!27 = !{!"_ZTS10stbrp_rect", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!28 = !{!24, !25, i64 6}
!29 = !{!27, !11, i64 8}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!22, !11, i64 0}
!33 = !{!27, !11, i64 20}
!34 = !{!27, !11, i64 12}
!35 = !{!24, !25, i64 0}
!36 = !{!27, !11, i64 16}
!37 = !{!24, !25, i64 2}
!38 = !{!13, !11, i64 68}
!39 = distinct !{!39, !31}


; 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.ImVector.13 = type { i32, i32, ptr }

@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv = external hidden unnamed_addr constant [60 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [112 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv(ptr noundef %0, ptr noundef %1) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.ImVector.13, align 8
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %4, label %5

4:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.43, ptr noundef nonnull @.str.1, i32 noundef 3167, ptr noundef nonnull @__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv) #6
  unreachable

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %10, label %9

9:                                                ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.1, i32 noundef 3170, ptr noundef nonnull @__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv) #6
  unreachable

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 20
  %12 = load i32, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZN8ImVectorI10stbrp_rectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %13 = load i32, ptr %6, align 8, !tbaa !5
  invoke void @_ZN8ImVectorI10stbrp_rectE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %13)
          to label %14 unwind label %27

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %3, i64 8
  %16 = load ptr, ptr %15, align 8, !tbaa !19
  %17 = call noundef i32 @_ZNK8ImVectorI10stbrp_rectE13size_in_bytesEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %18 = sext i32 %17 to i64
  call void @llvm.memset.p0.i64(ptr align 4 %16, i8 0, i64 %18, i1 false)
  %19 = load i32, ptr %6, align 8, !tbaa !5
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %14
  %21 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef 0)
  %22 = load i32, ptr %3, align 8, !tbaa !21
  %23 = invoke noundef i32 @_ZL16stbrp_pack_rectsP13stbrp_contextP10stbrp_recti(ptr noundef nonnull %1, ptr noundef nonnull %21, i32 noundef %22)
          to label %.preheader unwind label %27

.preheader:                                       ; preds = %._crit_edge
  %24 = load i32, ptr %3, align 8, !tbaa !21
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph46, label %._crit_edge47

.lr.ph46:                                         ; preds = %.preheader
  %26 = getelementptr inbounds i8, ptr %0, i64 68
  br label %46

27:                                               ; preds = %._crit_edge, %10
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8ImVectorI10stbrp_rectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  resume { ptr, i32 } %28

.lr.ph:                                           ; preds = %14, %.lr.ph
  %.04144 = phi i32 [ %43, %.lr.ph ], [ 0, %14 ]
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.04144)
  %30 = getelementptr inbounds i8, ptr %29, i64 4
  %31 = load i16, ptr %30, align 4, !tbaa !22
  %32 = zext i16 %31 to i32
  %33 = add nsw i32 %12, %32
  %34 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.04144)
  %35 = getelementptr inbounds i8, ptr %34, i64 4
  store i32 %33, ptr %35, align 4, !tbaa !25
  %36 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.04144)
  %37 = getelementptr inbounds i8, ptr %36, i64 6
  %38 = load i16, ptr %37, align 2, !tbaa !27
  %39 = zext i16 %38 to i32
  %40 = add nsw i32 %12, %39
  %41 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.04144)
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  store i32 %40, ptr %42, align 4, !tbaa !28
  %43 = add nuw nsw i32 %.04144, 1
  %44 = load i32, ptr %6, align 8, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %.lr.ph, label %._crit_edge, !llvm.loop !29

._crit_edge47:                                    ; preds = %91, %.preheader
  call void @_ZN8ImVectorI10stbrp_rectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  ret void

46:                                               ; preds = %.lr.ph46, %91
  %.045 = phi i32 [ 0, %.lr.ph46 ], [ %92, %91 ]
  %47 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.045)
  %48 = getelementptr inbounds i8, ptr %47, i64 20
  %49 = load i32, ptr %48, align 4, !tbaa !31
  %.not43 = icmp eq i32 %49, 0
  br i1 %.not43, label %91, label %50

50:                                               ; preds = %46
  %51 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.045)
  %52 = getelementptr inbounds i8, ptr %51, i64 12
  %53 = load i32, ptr %52, align 4, !tbaa !32
  %54 = trunc i32 %53 to i16
  %55 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.045)
  store i16 %54, ptr %55, align 8, !tbaa !33
  %56 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.045)
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  %58 = load i32, ptr %57, align 4, !tbaa !34
  %59 = trunc i32 %58 to i16
  %60 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.045)
  %61 = getelementptr inbounds i8, ptr %60, i64 2
  store i16 %59, ptr %61, align 2, !tbaa !35
  %62 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.045)
  %63 = getelementptr inbounds i8, ptr %62, i64 4
  %64 = load i32, ptr %63, align 4, !tbaa !25
  %65 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.045)
  %66 = getelementptr inbounds i8, ptr %65, i64 4
  %67 = load i16, ptr %66, align 4, !tbaa !22
  %68 = zext i16 %67 to i32
  %69 = add nsw i32 %12, %68
  %70 = icmp eq i32 %64, %69
  br i1 %70, label %71, label %.critedge

71:                                               ; preds = %50
  %72 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.045)
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = load i32, ptr %73, align 4, !tbaa !28
  %75 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN8ImVectorI21ImFontAtlasCustomRectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %.045)
  %76 = getelementptr inbounds i8, ptr %75, i64 6
  %77 = load i16, ptr %76, align 2, !tbaa !27
  %78 = zext i16 %77 to i32
  %79 = add nsw i32 %12, %78
  %80 = icmp eq i32 %74, %79
  br i1 %80, label %81, label %.critedge

.critedge:                                        ; preds = %50, %71
  call void @__assert_fail(ptr noundef nonnull @.str.45, ptr noundef nonnull @.str.1, i32 noundef 3190, ptr noundef nonnull @__PRETTY_FUNCTION__._Z31ImFontAtlasBuildPackCustomRectsP11ImFontAtlasPv) #6
  unreachable

81:                                               ; preds = %71
  %82 = load i32, ptr %26, align 4, !tbaa !36
  %83 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.045)
  %84 = getelementptr inbounds i8, ptr %83, i64 16
  %85 = load i32, ptr %84, align 4, !tbaa !34
  %86 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN8ImVectorI10stbrp_rectEixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.045)
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  %88 = load i32, ptr %87, align 4, !tbaa !28
  %89 = add nsw i32 %88, %85
  %90 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %82, i32 noundef %89)
  store i32 %90, ptr %26, align 4, !tbaa !36
  br label %91

91:                                               ; preds = %46, %81
  %92 = add nuw nsw i32 %.045, 1
  %93 = load i32, ptr %3, align 8, !tbaa !21
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %46, label %._crit_edge47, !llvm.loop !37
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16stbrp_pack_rectsP13stbrp_contextP10stbrp_recti(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = { 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 #5 = { inlinehint 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 #6 = { noreturn nounwind }
attributes #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !7, i64 20}
!12 = !{!"_ZTS11ImFontAtlas", !7, i64 0, !13, i64 8, !7, i64 16, !7, i64 20, !14, i64 24, !10, i64 32, !14, i64 40, !14, i64 41, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 68, !15, i64 72, !15, i64 80, !17, i64 88, !6, i64 104, !18, i64 120, !8, i64 136, !10, i64 1160, !7, i64 1168, !7, i64 1172, !7, i64 1176}
!13 = !{!"long long", !8, i64 0}
!14 = !{!"bool", !8, i64 0}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !8, i64 0}
!17 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !10, i64 8}
!18 = !{!"_ZTS8ImVectorI12ImFontConfigE", !7, i64 0, !7, i64 4, !10, i64 8}
!19 = !{!20, !10, i64 8}
!20 = !{!"_ZTS8ImVectorI10stbrp_rectE", !7, i64 0, !7, i64 4, !10, i64 8}
!21 = !{!20, !7, i64 0}
!22 = !{!23, !24, i64 4}
!23 = !{!"_ZTS21ImFontAtlasCustomRect", !24, i64 0, !24, i64 2, !24, i64 4, !24, i64 6, !7, i64 8, !7, i64 11, !16, i64 12, !15, i64 16, !10, i64 24}
!24 = !{!"short", !8, i64 0}
!25 = !{!26, !7, i64 4}
!26 = !{!"_ZTS10stbrp_rect", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!27 = !{!23, !24, i64 6}
!28 = !{!26, !7, i64 8}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!26, !7, i64 20}
!32 = !{!26, !7, i64 12}
!33 = !{!23, !24, i64 0}
!34 = !{!26, !7, i64 16}
!35 = !{!23, !24, i64 2}
!36 = !{!12, !7, i64 68}
!37 = distinct !{!37, !30}


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