; LLVM IR from caryll/otfcc :: lib/table (COLR)

; 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.__caryll_vectorinterface_colr_LayerList = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_elementinterface_colr_Mapping = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_table_COLR = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_HandlePackage = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_Packet = type { i32, i16, i16, i16, i16, ptr }
%struct.otfcc_PacketPiece = type { i32, i32, i32, i32, ptr }
%struct.colr_Mapping = type { %struct.otfcc_Handle, %struct.colr_LayerList }
%struct.otfcc_Handle = type { i32, i16, ptr }
%struct.colr_LayerList = type { i64, i64, ptr }
%struct.colr_Layer = type { %struct.otfcc_Handle, i16 }
%struct.otfcc_Options = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr }
%struct.otfcc_ILogger = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@colr_iLayerList = external dso_local constant %struct.__caryll_vectorinterface_colr_LayerList, align 8
@colr_iMapping = external dso_local constant %struct.__caryll_elementinterface_colr_Mapping, align 8
@table_iCOLR = external dso_local constant %struct.__caryll_vectorinterface_table_COLR, align 8
@otfcc_iHandle = external constant %struct.otfcc_HandlePackage, align 8
@.str = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @otfcc_readCOLR(ptr noundef byval(%struct.otfcc_Packet) align 8 %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.otfcc_PacketPiece, align 8
  %11 = alloca i32, align 4
  %12 = alloca i16, align 2
  %13 = alloca i16, align 2
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i16, align 2
  %19 = alloca i16, align 2
  %20 = alloca %struct.colr_Mapping, align 8
  %21 = alloca i16, align 2
  %22 = alloca i16, align 2
  %23 = alloca i16, align 2
  %24 = alloca %struct.otfcc_Handle, align 8
  %25 = alloca i16, align 2
  %26 = alloca %struct.colr_Layer, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %291, %2
  %28 = load i32, ptr %8, align 4, !tbaa !9
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %39

30:                                               ; preds = %27
  %31 = load i32, ptr %6, align 4, !tbaa !9
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %39

33:                                               ; preds = %30
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = getelementptr inbounds %struct.otfcc_Packet, ptr %0, i32 0, i32 1
  %36 = load i16, ptr %35, align 4, !tbaa !11
  %37 = zext i16 %36 to i32
  %38 = icmp slt i32 %34, %37
  br label %39

39:                                               ; preds = %33, %30, %27
  %40 = phi i1 [ false, %30 ], [ false, %27 ], [ %38, %33 ]
  br i1 %40, label %42, label %41

41:                                               ; preds = %39
  store i32 2, ptr %9, align 4
  br label %298

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  %43 = getelementptr inbounds %struct.otfcc_Packet, ptr %0, i32 0, i32 5
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  %45 = load i32, ptr %7, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %44, i64 %46
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %47, i64 24, i1 false), !tbaa.struct !15
  br label %48

48:                                               ; preds = %283, %42
  %49 = load i32, ptr %6, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %52, label %51

51:                                               ; preds = %48
  store i32 5, ptr %9, align 4
  br label %288

52:                                               ; preds = %48
  %53 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 0
  %54 = load i32, ptr %53, align 8, !tbaa !16
  %55 = icmp eq i32 %54, 1129270354
  br i1 %55, label %56, label %282

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %278, %56
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  store i32 8, ptr %9, align 4
  br label %279

61:                                               ; preds = %57
  %62 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 3
  %63 = load i32, ptr %62, align 4, !tbaa !18
  %64 = icmp ult i32 %63, 14
  br i1 %64, label %65, label %66

65:                                               ; preds = %61
  br label %265

66:                                               ; preds = %61
  %67 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  %69 = getelementptr inbounds i8, ptr %68, i64 2
  %70 = call zeroext i16 @read_16u(ptr noundef %69)
  store i16 %70, ptr %12, align 2, !tbaa !20
  %71 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %72 = load ptr, ptr %71, align 8, !tbaa !19
  %73 = getelementptr inbounds i8, ptr %72, i64 12
  %74 = call zeroext i16 @read_16u(ptr noundef %73)
  store i16 %74, ptr %13, align 2, !tbaa !20
  %75 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %76 = load ptr, ptr %75, align 8, !tbaa !19
  %77 = getelementptr inbounds i8, ptr %76, i64 4
  %78 = call i32 @read_32u(ptr noundef %77)
  store i32 %78, ptr %14, align 4, !tbaa !9
  %79 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %80 = load ptr, ptr %79, align 8, !tbaa !19
  %81 = getelementptr inbounds i8, ptr %80, i64 8
  %82 = call i32 @read_32u(ptr noundef %81)
  store i32 %82, ptr %15, align 4, !tbaa !9
  %83 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 3
  %84 = load i32, ptr %83, align 4, !tbaa !18
  %85 = zext i32 %84 to i64
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = load i16, ptr %12, align 2, !tbaa !20
  %89 = zext i16 %88 to i64
  %90 = mul i64 6, %89
  %91 = add i64 %87, %90
  %92 = icmp ult i64 %85, %91
  br i1 %92, label %93, label %94

93:                                               ; preds = %66
  br label %265

94:                                               ; preds = %66
  %95 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 3
  %96 = load i32, ptr %95, align 4, !tbaa !18
  %97 = zext i32 %96 to i64
  %98 = load i32, ptr %15, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = load i16, ptr %13, align 2, !tbaa !20
  %101 = zext i16 %100 to i64
  %102 = mul i64 4, %101
  %103 = add i64 %99, %102
  %104 = icmp ult i64 %97, %103
  br i1 %104, label %105, label %106

105:                                              ; preds = %94
  br label %265

106:                                              ; preds = %94
  %107 = load i16, ptr %13, align 2, !tbaa !20
  %108 = zext i16 %107 to i64
  %109 = mul i64 2, %108
  %110 = call ptr @__caryll_allocate_clean(i64 noundef %109, i64 noundef 52)
  store ptr %110, ptr %16, align 8, !tbaa !5
  %111 = load i16, ptr %13, align 2, !tbaa !20
  %112 = zext i16 %111 to i64
  %113 = mul i64 2, %112
  %114 = call ptr @__caryll_allocate_clean(i64 noundef %113, i64 noundef 53)
  store ptr %114, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %18) #5
  store i16 0, ptr %18, align 2, !tbaa !20
  br label %115

115:                                              ; preds = %152, %106
  %116 = load i16, ptr %18, align 2, !tbaa !20
  %117 = zext i16 %116 to i32
  %118 = load i16, ptr %13, align 2, !tbaa !20
  %119 = zext i16 %118 to i32
  %120 = icmp slt i32 %117, %119
  br i1 %120, label %122, label %121

121:                                              ; preds = %115
  store i32 12, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %18) #5
  br label %155

122:                                              ; preds = %115
  %123 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %124 = load ptr, ptr %123, align 8, !tbaa !19
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds i8, ptr %124, i64 %126
  %128 = load i16, ptr %18, align 2, !tbaa !20
  %129 = zext i16 %128 to i64
  %130 = mul i64 4, %129
  %131 = getelementptr inbounds i8, ptr %127, i64 %130
  %132 = call zeroext i16 @read_16u(ptr noundef %131)
  %133 = load ptr, ptr %16, align 8, !tbaa !5
  %134 = load i16, ptr %18, align 2, !tbaa !20
  %135 = zext i16 %134 to i64
  %136 = getelementptr inbounds i16, ptr %133, i64 %135
  store i16 %132, ptr %136, align 2, !tbaa !20
  %137 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %138 = load ptr, ptr %137, align 8, !tbaa !19
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds i8, ptr %138, i64 %140
  %142 = load i16, ptr %18, align 2, !tbaa !20
  %143 = zext i16 %142 to i64
  %144 = mul i64 4, %143
  %145 = getelementptr inbounds i8, ptr %141, i64 %144
  %146 = getelementptr inbounds i8, ptr %145, i64 2
  %147 = call zeroext i16 @read_16u(ptr noundef %146)
  %148 = load ptr, ptr %17, align 8, !tbaa !5
  %149 = load i16, ptr %18, align 2, !tbaa !20
  %150 = zext i16 %149 to i64
  %151 = getelementptr inbounds i16, ptr %148, i64 %150
  store i16 %147, ptr %151, align 2, !tbaa !20
  br label %152

152:                                              ; preds = %122
  %153 = load i16, ptr %18, align 2, !tbaa !20
  %154 = add i16 %153, 1
  store i16 %154, ptr %18, align 2, !tbaa !20
  br label %115, !llvm.loop !21

155:                                              ; preds = %121
  %156 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_table_COLR, ptr @table_iCOLR, i32 0, i32 6), align 8, !tbaa !23
  %157 = call ptr (...) %156()
  store ptr %157, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %19) #5
  store i16 0, ptr %19, align 2, !tbaa !20
  br label %158

158:                                              ; preds = %260, %155
  %159 = load i16, ptr %19, align 2, !tbaa !20
  %160 = zext i16 %159 to i32
  %161 = load i16, ptr %12, align 2, !tbaa !20
  %162 = zext i16 %161 to i32
  %163 = icmp slt i32 %160, %162
  br i1 %163, label %165, label %164

164:                                              ; preds = %158
  store i32 15, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #5
  br label %263

165:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #5
  %166 = load ptr, ptr @colr_iMapping, align 8, !tbaa !25
  call void %166(ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 2, ptr %21) #5
  %167 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %168 = load ptr, ptr %167, align 8, !tbaa !19
  %169 = load i32, ptr %14, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds i8, ptr %168, i64 %170
  %172 = load i16, ptr %19, align 2, !tbaa !20
  %173 = zext i16 %172 to i64
  %174 = mul i64 6, %173
  %175 = getelementptr inbounds i8, ptr %171, i64 %174
  %176 = call zeroext i16 @read_16u(ptr noundef %175)
  store i16 %176, ptr %21, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 2, ptr %22) #5
  %177 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %178 = load ptr, ptr %177, align 8, !tbaa !19
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds i8, ptr %178, i64 %180
  %182 = load i16, ptr %19, align 2, !tbaa !20
  %183 = zext i16 %182 to i64
  %184 = mul i64 6, %183
  %185 = getelementptr inbounds i8, ptr %181, i64 %184
  %186 = getelementptr inbounds i8, ptr %185, i64 2
  %187 = call zeroext i16 @read_16u(ptr noundef %186)
  store i16 %187, ptr %22, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 2, ptr %23) #5
  %188 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %189 = load ptr, ptr %188, align 8, !tbaa !19
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds i8, ptr %189, i64 %191
  %193 = load i16, ptr %19, align 2, !tbaa !20
  %194 = zext i16 %193 to i64
  %195 = mul i64 6, %194
  %196 = getelementptr inbounds i8, ptr %192, i64 %195
  %197 = getelementptr inbounds i8, ptr %196, i64 4
  %198 = call zeroext i16 @read_16u(ptr noundef %197)
  store i16 %198, ptr %23, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %199 = load ptr, ptr getelementptr inbounds (%struct.otfcc_HandlePackage, ptr @otfcc_iHandle, i32 0, i32 8), align 8, !tbaa !27
  %200 = load i16, ptr %21, align 2, !tbaa !20
  %201 = call { i64, ptr } %199(i16 noundef zeroext %200)
  %202 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 0
  %203 = extractvalue { i64, ptr } %201, 0
  store i64 %203, ptr %202, align 8
  %204 = getelementptr inbounds { i64, ptr }, ptr %24, i32 0, i32 1
  %205 = extractvalue { i64, ptr } %201, 1
  store ptr %205, ptr %204, align 8
  %206 = load ptr, ptr getelementptr inbounds (%struct.otfcc_HandlePackage, ptr @otfcc_iHandle, i32 0, i32 2), align 8, !tbaa !29
  %207 = getelementptr inbounds %struct.colr_Mapping, ptr %20, i32 0, i32 0
  call void %206(ptr noundef %207, ptr noundef %24)
  call void @llvm.lifetime.start.p0(i64 2, ptr %25) #5
  store i16 0, ptr %25, align 2, !tbaa !20
  br label %208

208:                                              ; preds = %254, %165
  %209 = load i16, ptr %25, align 2, !tbaa !20
  %210 = zext i16 %209 to i32
  %211 = load i16, ptr %23, align 2, !tbaa !20
  %212 = zext i16 %211 to i32
  %213 = icmp slt i32 %210, %212
  br i1 %213, label %215, label %214

214:                                              ; preds = %208
  store i32 18, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %25) #5
  br label %257

215:                                              ; preds = %208
  %216 = load i16, ptr %25, align 2, !tbaa !20
  %217 = zext i16 %216 to i32
  %218 = load i16, ptr %22, align 2, !tbaa !20
  %219 = zext i16 %218 to i32
  %220 = add nsw i32 %217, %219
  %221 = load i16, ptr %13, align 2, !tbaa !20
  %222 = zext i16 %221 to i32
  %223 = icmp slt i32 %220, %222
  br i1 %223, label %224, label %253

224:                                              ; preds = %215
  %225 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_colr_LayerList, ptr @colr_iLayerList, i32 0, i32 13), align 8, !tbaa !30
  %226 = getelementptr inbounds %struct.colr_Mapping, ptr %20, i32 0, i32 1
  %227 = getelementptr inbounds %struct.colr_Layer, ptr %26, i32 0, i32 0
  %228 = load ptr, ptr getelementptr inbounds (%struct.otfcc_HandlePackage, ptr @otfcc_iHandle, i32 0, i32 8), align 8, !tbaa !27
  %229 = load ptr, ptr %16, align 8, !tbaa !5
  %230 = load i16, ptr %25, align 2, !tbaa !20
  %231 = zext i16 %230 to i32
  %232 = load i16, ptr %22, align 2, !tbaa !20
  %233 = zext i16 %232 to i32
  %234 = add nsw i32 %231, %233
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds i16, ptr %229, i64 %235
  %237 = load i16, ptr %236, align 2, !tbaa !20
  %238 = call { i64, ptr } %228(i16 noundef zeroext %237)
  %239 = getelementptr inbounds { i64, ptr }, ptr %227, i32 0, i32 0
  %240 = extractvalue { i64, ptr } %238, 0
  store i64 %240, ptr %239, align 8
  %241 = getelementptr inbounds { i64, ptr }, ptr %227, i32 0, i32 1
  %242 = extractvalue { i64, ptr } %238, 1
  store ptr %242, ptr %241, align 8
  %243 = getelementptr inbounds %struct.colr_Layer, ptr %26, i32 0, i32 1
  %244 = load ptr, ptr %17, align 8, !tbaa !5
  %245 = load i16, ptr %25, align 2, !tbaa !20
  %246 = zext i16 %245 to i32
  %247 = load i16, ptr %22, align 2, !tbaa !20
  %248 = zext i16 %247 to i32
  %249 = add nsw i32 %246, %248
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds i16, ptr %244, i64 %250
  %252 = load i16, ptr %251, align 2, !tbaa !20
  store i16 %252, ptr %243, align 8, !tbaa !32
  call void %225(ptr noundef %226, ptr noundef byval(%struct.colr_Layer) align 8 %26)
  br label %253

253:                                              ; preds = %224, %215
  br label %254

254:                                              ; preds = %253
  %255 = load i16, ptr %25, align 2, !tbaa !20
  %256 = add i16 %255, 1
  store i16 %256, ptr %25, align 2, !tbaa !20
  br label %208, !llvm.loop !35

257:                                              ; preds = %214
  %258 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_table_COLR, ptr @table_iCOLR, i32 0, i32 13), align 8, !tbaa !36
  %259 = load ptr, ptr %5, align 8, !tbaa !5
  call void %258(ptr noundef %259, ptr noundef byval(%struct.colr_Mapping) align 8 %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #5
  br label %260

260:                                              ; preds = %257
  %261 = load i16, ptr %19, align 2, !tbaa !20
  %262 = add i16 %261, 1
  store i16 %262, ptr %19, align 2, !tbaa !20
  br label %158, !llvm.loop !37

263:                                              ; preds = %164
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %264, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %279

265:                                              ; preds = %105, %93, %65
  %266 = load ptr, ptr %4, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.otfcc_Options, ptr %266, i32 0, i32 24
  %268 = load ptr, ptr %267, align 8, !tbaa !38
  %269 = getelementptr inbounds %struct.otfcc_ILogger, ptr %268, i32 0, i32 6
  %270 = load ptr, ptr %269, align 8, !tbaa !41
  %271 = load ptr, ptr %4, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.otfcc_Options, ptr %271, i32 0, i32 24
  %273 = load ptr, ptr %272, align 8, !tbaa !38
  %274 = call ptr @sdsempty()
  %275 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %274, ptr noundef @.str)
  call void %270(ptr noundef %273, i8 noundef zeroext 1, i32 noundef 1, ptr noundef %275)
  %276 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_table_COLR, ptr @table_iCOLR, i32 0, i32 7), align 8, !tbaa !43
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  call void %276(ptr noundef %277)
  store ptr null, ptr %5, align 8, !tbaa !5
  br label %278

278:                                              ; preds = %265
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %57, !llvm.loop !44

279:                                              ; preds = %263, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %280 = load i32, ptr %9, align 4
  switch i32 %280, label %288 [
    i32 8, label %281
  ]

281:                                              ; preds = %279
  br label %282

282:                                              ; preds = %281, %52
  br label %283

283:                                              ; preds = %282
  %284 = load i32, ptr %6, align 4, !tbaa !9
  %285 = icmp ne i32 %284, 0
  %286 = xor i1 %285, true
  %287 = zext i1 %286 to i32
  store i32 %287, ptr %6, align 4, !tbaa !9
  br label %48, !llvm.loop !45

288:                                              ; preds = %279, %51
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  %289 = load i32, ptr %9, align 4
  switch i32 %289, label %298 [
    i32 5, label %290
  ]

290:                                              ; preds = %288
  br label %291

291:                                              ; preds = %290
  %292 = load i32, ptr %6, align 4, !tbaa !9
  %293 = icmp ne i32 %292, 0
  %294 = xor i1 %293, true
  %295 = zext i1 %294 to i32
  store i32 %295, ptr %6, align 4, !tbaa !9
  %296 = load i32, ptr %7, align 4, !tbaa !9
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %7, align 4, !tbaa !9
  br label %27, !llvm.loop !46

298:                                              ; preds = %288, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %299 = load i32, ptr %9, align 4
  switch i32 %299, label %302 [
    i32 2, label %300
  ]

300:                                              ; preds = %298
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %301, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %302

302:                                              ; preds = %300, %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %303 = load ptr, ptr %3, align 8
  ret ptr %303
}

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i16 @read_16u(ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @read_32u(ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @__caryll_allocate_clean(i64 noundef, i64 noundef) #3

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

declare ptr @sdscatprintf(ptr noundef, ptr noundef, ...) #4

declare ptr @sdsempty() #4

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint 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 = { "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 }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"", !10, i64 0, !13, i64 4, !13, i64 6, !13, i64 8, !13, i64 10, !6, i64 16}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !6, i64 16}
!15 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 8, !5}
!16 = !{!17, !10, i64 0}
!17 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16}
!18 = !{!17, !10, i64 12}
!19 = !{!17, !6, i64 16}
!20 = !{!13, !13, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !6, i64 48}
!24 = !{!"__caryll_vectorinterface_table_COLR", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144}
!25 = !{!26, !6, i64 0}
!26 = !{!"__caryll_elementinterface_colr_Mapping", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!27 = !{!28, !6, i64 64}
!28 = !{!"otfcc_HandlePackage", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!29 = !{!28, !6, i64 16}
!30 = !{!31, !6, i64 104}
!31 = !{!"__caryll_vectorinterface_colr_LayerList", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144}
!32 = !{!33, !13, i64 16}
!33 = !{!"", !34, i64 0, !13, i64 16}
!34 = !{!"otfcc_Handle", !10, i64 0, !13, i64 4, !6, i64 8}
!35 = distinct !{!35, !22}
!36 = !{!24, !6, i64 104}
!37 = distinct !{!37, !22}
!38 = !{!39, !6, i64 32}
!39 = !{!"", !40, i64 0, !40, i64 1, !40, i64 2, !40, i64 3, !40, i64 4, !40, i64 5, !40, i64 6, !40, i64 7, !40, i64 8, !40, i64 9, !40, i64 10, !40, i64 11, !40, i64 12, !40, i64 13, !40, i64 14, !40, i64 15, !40, i64 16, !40, i64 17, !40, i64 18, !40, i64 19, !40, i64 20, !40, i64 21, !40, i64 22, !6, i64 24, !6, i64 32}
!40 = !{!"_Bool", !7, i64 0}
!41 = !{!42, !6, i64 48}
!42 = !{!"otfcc_ILogger", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!43 = !{!24, !6, i64 56}
!44 = distinct !{!44, !22}
!45 = distinct !{!45, !22}
!46 = distinct !{!46, !22}


; 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.__caryll_vectorinterface_colr_LayerList = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_elementinterface_colr_Mapping = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_table_COLR = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_HandlePackage = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_Packet = type { i32, i16, i16, i16, i16, ptr }
%struct.colr_Mapping = type { %struct.otfcc_Handle, %struct.colr_LayerList }
%struct.otfcc_Handle = type { i32, i16, ptr }
%struct.colr_LayerList = type { i64, i64, ptr }
%struct.colr_Layer = type { %struct.otfcc_Handle, i16 }
%struct.otfcc_PacketPiece = type { i32, i32, i32, i32, ptr }

@colr_iLayerList = external dso_local local_unnamed_addr constant %struct.__caryll_vectorinterface_colr_LayerList, align 8
@colr_iMapping = external dso_local local_unnamed_addr constant %struct.__caryll_elementinterface_colr_Mapping, align 8
@table_iCOLR = external dso_local local_unnamed_addr constant %struct.__caryll_vectorinterface_table_COLR, align 8
@otfcc_iHandle = external local_unnamed_addr constant %struct.otfcc_HandlePackage, align 8
@.str = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @otfcc_readCOLR(ptr nocapture noundef readonly byval(%struct.otfcc_Packet) align 8 %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.colr_Mapping, align 8
  %4 = alloca %struct.otfcc_Handle, align 8
  %5 = alloca %struct.colr_Layer, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 4
  %7 = load i16, ptr %6, align 4
  %.not = icmp eq i16 %7, 0
  br i1 %.not, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = getelementptr inbounds i8, ptr %1, i64 32
  %10 = load ptr, ptr getelementptr inbounds (i8, ptr @table_iCOLR, i64 56), align 8
  %11 = load ptr, ptr getelementptr inbounds (i8, ptr @table_iCOLR, i64 48), align 8
  %12 = load ptr, ptr @colr_iMapping, align 8
  %13 = load ptr, ptr getelementptr inbounds (i8, ptr @otfcc_iHandle, i64 64), align 8
  %14 = getelementptr inbounds i8, ptr %4, i64 8
  %15 = load ptr, ptr getelementptr inbounds (i8, ptr @otfcc_iHandle, i64 16), align 8
  %16 = load ptr, ptr getelementptr inbounds (i8, ptr @colr_iLayerList, i64 104), align 8
  %17 = getelementptr inbounds i8, ptr %3, i64 16
  %18 = getelementptr inbounds i8, ptr %5, i64 8
  %19 = getelementptr inbounds i8, ptr %5, i64 16
  %20 = load ptr, ptr getelementptr inbounds (i8, ptr @table_iCOLR, i64 104), align 8
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = load i16, ptr %6, align 4
  %23 = zext i16 %22 to i64
  br label %24

24:                                               ; preds = %.lr.ph, %.thread104
  %indvars.iv178 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next179, %.thread104 ]
  %25 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %21, i64 %indvars.iv178
  %.sroa.0.0.copyload = load i32, ptr %25, align 8, !tbaa !12
  %26 = icmp eq i32 %.sroa.0.0.copyload, 1129270354
  br i1 %26, label %.split.us, label %.thread104

.split.us:                                        ; preds = %24
  %.sroa.442.0..sroa_idx.le = getelementptr inbounds i8, ptr %25, i64 12
  %.sroa.442.0.copyload.le = load i32, ptr %.sroa.442.0..sroa_idx.le, align 4, !tbaa !12
  %.sroa.7.0..sroa_idx.le = getelementptr inbounds i8, ptr %25, i64 16
  %.sroa.7.0.copyload.le = load ptr, ptr %.sroa.7.0..sroa_idx.le, align 8, !tbaa !13
  %27 = zext i32 %.sroa.442.0.copyload.le to i64
  %28 = icmp ult i32 %.sroa.442.0.copyload.le, 14
  br i1 %28, label %.critedge.sink.split, label %.preheader.us

.preheader.us:                                    ; preds = %.split.us
  %29 = getelementptr inbounds i8, ptr %.sroa.7.0.copyload.le, i64 8
  %30 = getelementptr inbounds i8, ptr %.sroa.7.0.copyload.le, i64 4
  %31 = getelementptr inbounds i8, ptr %.sroa.7.0.copyload.le, i64 12
  %32 = getelementptr inbounds i8, ptr %.sroa.7.0.copyload.le, i64 2
  %33 = tail call zeroext i16 @read_16u(ptr noundef nonnull %32)
  %34 = tail call zeroext i16 @read_16u(ptr noundef nonnull %31)
  %35 = tail call i32 @read_32u(ptr noundef nonnull %30)
  %36 = tail call i32 @read_32u(ptr noundef nonnull %29)
  %37 = zext i32 %35 to i64
  %38 = zext i16 %33 to i64
  %39 = mul nuw nsw i64 %38, 6
  %40 = add nuw nsw i64 %39, %37
  %41 = icmp ugt i64 %40, %27
  br i1 %41, label %.critedge.sink.split, label %42

42:                                               ; preds = %.preheader.us
  %43 = zext i32 %36 to i64
  %44 = zext i16 %34 to i64
  %45 = shl nuw nsw i64 %44, 2
  %46 = add nuw nsw i64 %45, %43
  %47 = icmp ugt i64 %46, %27
  br i1 %47, label %.critedge.sink.split, label %48

48:                                               ; preds = %42
  %49 = shl nuw nsw i64 %44, 1
  %50 = tail call ptr @__caryll_allocate_clean(i64 noundef %49, i64 noundef 52)
  %51 = tail call ptr @__caryll_allocate_clean(i64 noundef %49, i64 noundef 53)
  %.not162 = icmp eq i16 %34, 0
  br i1 %.not162, label %._crit_edge.us, label %.lr.ph.us

._crit_edge.us:                                   ; preds = %76, %48
  %52 = tail call ptr (...) %11() #4
  %.not163 = icmp eq i16 %33, 0
  br i1 %.not163, label %.critedge, label %.lr.ph139.us

53:                                               ; preds = %.lr.ph139.us, %._crit_edge136.us
  %indvars.iv173 = phi i64 [ 0, %.lr.ph139.us ], [ %indvars.iv.next174, %._crit_edge136.us ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
  call void %12(ptr noundef nonnull %3) #4
  %54 = mul nuw nsw i64 %indvars.iv173, 6
  %55 = getelementptr inbounds i8, ptr %86, i64 %54
  %56 = call zeroext i16 @read_16u(ptr noundef %55)
  %57 = getelementptr inbounds i8, ptr %55, i64 2
  %58 = call zeroext i16 @read_16u(ptr noundef nonnull %57)
  %59 = getelementptr inbounds i8, ptr %55, i64 4
  %60 = call zeroext i16 @read_16u(ptr noundef nonnull %59)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  %61 = call { i64, ptr } %13(i16 noundef zeroext %56) #4
  %62 = extractvalue { i64, ptr } %61, 0
  store i64 %62, ptr %4, align 8
  %63 = extractvalue { i64, ptr } %61, 1
  store ptr %63, ptr %14, align 8
  call void %15(ptr noundef nonnull %3, ptr noundef nonnull %4) #4
  %.not164 = icmp eq i16 %60, 0
  br i1 %.not164, label %._crit_edge136.us, label %.lr.ph135.us

._crit_edge136.us:                                ; preds = %75, %53
  call void %20(ptr noundef %52, ptr noundef nonnull byval(%struct.colr_Mapping) align 8 %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %exitcond177.not = icmp eq i64 %indvars.iv.next174, %38
  br i1 %exitcond177.not, label %.critedge, label %53, !llvm.loop !14

64:                                               ; preds = %.lr.ph135.us, %75
  %indvars.iv168 = phi i64 [ 0, %.lr.ph135.us ], [ %indvars.iv.next169, %75 ]
  %65 = add nuw nsw i64 %indvars.iv168, %85
  %66 = icmp ult i64 %65, %87
  br i1 %66, label %67, label %75

67:                                               ; preds = %64
  %68 = getelementptr inbounds i16, ptr %50, i64 %65
  %69 = load i16, ptr %68, align 2, !tbaa !16
  %70 = call { i64, ptr } %13(i16 noundef zeroext %69) #4
  %71 = extractvalue { i64, ptr } %70, 0
  store i64 %71, ptr %5, align 8
  %72 = extractvalue { i64, ptr } %70, 1
  store ptr %72, ptr %18, align 8
  %73 = getelementptr inbounds i16, ptr %51, i64 %65
  %74 = load i16, ptr %73, align 2, !tbaa !16
  store i16 %74, ptr %19, align 8, !tbaa !17
  call void %16(ptr noundef nonnull %17, ptr noundef nonnull byval(%struct.colr_Layer) align 8 %5) #4
  br label %75

75:                                               ; preds = %67, %64
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %exitcond172.not = icmp eq i64 %indvars.iv.next169, %wide.trip.count171
  br i1 %exitcond172.not, label %._crit_edge136.us, label %64, !llvm.loop !20

76:                                               ; preds = %.lr.ph.us, %76
  %indvars.iv = phi i64 [ 0, %.lr.ph.us ], [ %indvars.iv.next, %76 ]
  %77 = shl nuw nsw i64 %indvars.iv, 2
  %78 = getelementptr inbounds i8, ptr %84, i64 %77
  %79 = tail call zeroext i16 @read_16u(ptr noundef %78)
  %80 = getelementptr inbounds i16, ptr %50, i64 %indvars.iv
  store i16 %79, ptr %80, align 2, !tbaa !16
  %81 = getelementptr inbounds i8, ptr %78, i64 2
  %82 = tail call zeroext i16 @read_16u(ptr noundef nonnull %81)
  %83 = getelementptr inbounds i16, ptr %51, i64 %indvars.iv
  store i16 %82, ptr %83, align 2, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %44
  br i1 %exitcond.not, label %._crit_edge.us, label %76, !llvm.loop !21

.lr.ph.us:                                        ; preds = %48
  %84 = getelementptr inbounds i8, ptr %.sroa.7.0.copyload.le, i64 %43
  br label %76

.lr.ph135.us:                                     ; preds = %53
  %85 = zext i16 %58 to i64
  %wide.trip.count171 = zext i16 %60 to i64
  br label %64

.lr.ph139.us:                                     ; preds = %._crit_edge.us
  %86 = getelementptr inbounds i8, ptr %.sroa.7.0.copyload.le, i64 %37
  %87 = zext i16 %34 to i64
  br label %53

.thread104:                                       ; preds = %24
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %88 = icmp ult i64 %indvars.iv.next179, %23
  br i1 %88, label %24, label %.critedge, !llvm.loop !22

.critedge.sink.split:                             ; preds = %.preheader.us, %42, %.split.us
  %89 = load ptr, ptr %9, align 8, !tbaa !23
  %90 = getelementptr inbounds i8, ptr %89, i64 48
  %91 = load ptr, ptr %90, align 8, !tbaa !26
  %92 = tail call ptr @sdsempty() #4
  %93 = tail call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %92, ptr noundef nonnull @.str) #4
  tail call void %91(ptr noundef %89, i8 noundef zeroext 1, i32 noundef 1, ptr noundef %93) #4
  tail call void %10(ptr noundef null) #4
  br label %.critedge

.critedge:                                        ; preds = %.thread104, %._crit_edge136.us, %.critedge.sink.split, %._crit_edge.us, %2
  %94 = phi ptr [ null, %2 ], [ %52, %._crit_edge.us ], [ null, %.critedge.sink.split ], [ %52, %._crit_edge136.us ], [ null, %.thread104 ]
  ret ptr %94
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i16 @read_16u(ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @read_32u(ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @__caryll_allocate_clean(i64 noundef, i64 noundef) local_unnamed_addr #2

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

declare ptr @sdscatprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #3

declare ptr @sdsempty() local_unnamed_addr #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !11, i64 16}
!6 = !{!"", !7, i64 0, !10, i64 4, !10, i64 6, !10, i64 8, !10, i64 10, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !10, i64 16}
!18 = !{!"", !19, i64 0, !10, i64 16}
!19 = !{!"otfcc_Handle", !7, i64 0, !10, i64 4, !11, i64 8}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = !{!24, !11, i64 32}
!24 = !{!"", !25, i64 0, !25, i64 1, !25, i64 2, !25, i64 3, !25, i64 4, !25, i64 5, !25, i64 6, !25, i64 7, !25, i64 8, !25, i64 9, !25, i64 10, !25, i64 11, !25, i64 12, !25, i64 13, !25, i64 14, !25, i64 15, !25, i64 16, !25, i64 17, !25, i64 18, !25, i64 19, !25, i64 20, !25, i64 21, !25, i64 22, !11, i64 24, !11, i64 32}
!25 = !{!"_Bool", !8, i64 0}
!26 = !{!27, !11, i64 48}
!27 = !{!"otfcc_ILogger", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88}


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