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

; 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_elementinterface_fvar_Instance = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_fvar_InstanceList = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_elementinterface_table_fvar = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_vf_Axes = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_VV = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, 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.vf_Axis = type { i32, double, double, double, i16, i16 }
%struct.fvar_Instance = type { i16, i16, %struct.VV, i16 }
%struct.VV = type { i64, i64, ptr }
%struct.FVARHeader = type { i16, i16, i16, i16, i16, i16, i16, i16 }
%struct.VariationAxisRecord = type { i32, i32, i32, i32, i16, i16 }
%struct.table_fvar = type { i16, i16, %struct.vf_Axes, %struct.fvar_InstanceList, ptr }
%struct.vf_Axes = type { i64, i64, ptr }
%struct.fvar_InstanceList = type { i64, i64, ptr }
%struct.InstanceRecord = type { i16, i16, [0 x i32] }
%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 }

@fvar_iInstance = external dso_local constant %struct.__caryll_elementinterface_fvar_Instance, align 8
@fvar_iInstanceList = external dso_local constant %struct.__caryll_vectorinterface_fvar_InstanceList, align 8
@table_iFvar = external dso_local constant %struct.__caryll_elementinterface_table_fvar, align 8
@vf_iAxes = external constant %struct.__caryll_vectorinterface_vf_Axes, align 8
@iVV = external constant %struct.__caryll_vectorinterface_VV, align 8
@.str = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @otfcc_readFvar(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 ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i16, align 2
  %15 = alloca i16, align 2
  %16 = alloca i16, align 2
  %17 = alloca ptr, align 8
  %18 = alloca i16, align 2
  %19 = alloca %struct.vf_Axis, align 8
  %20 = alloca i16, align 2
  %21 = alloca i8, align 1
  %22 = alloca ptr, align 8
  %23 = alloca i16, align 2
  %24 = alloca %struct.fvar_Instance, align 8
  %25 = alloca i16, align 2
  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 %26

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

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

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

38:                                               ; preds = %32, %29, %26
  %39 = phi i1 [ false, %29 ], [ false, %26 ], [ %37, %32 ]
  br i1 %39, label %41, label %40

40:                                               ; preds = %38
  store i32 2, ptr %9, align 4
  br label %357

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

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

50:                                               ; preds = %47
  store i32 5, ptr %9, align 4
  br label %347

51:                                               ; preds = %47
  %52 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !16
  %54 = icmp eq i32 %53, 1719034226
  br i1 %54, label %55, label %341

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

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

59:                                               ; preds = %56
  store i32 8, ptr %9, align 4
  br label %338

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %61 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 4
  %62 = load ptr, ptr %61, align 8, !tbaa !18
  store ptr %62, ptr %12, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 3
  %64 = load i32, ptr %63, align 4, !tbaa !19
  %65 = zext i32 %64 to i64
  %66 = icmp ult i64 %65, 16
  br i1 %66, label %67, label %68

67:                                               ; preds = %60
  br label %321

68:                                               ; preds = %60
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %69, ptr %13, align 8, !tbaa !5
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.FVARHeader, ptr %70, i32 0, i32 0
  %72 = load i16, ptr %71, align 1, !tbaa !20
  %73 = call zeroext i16 @be16(i16 noundef zeroext %72)
  %74 = zext i16 %73 to i32
  %75 = icmp ne i32 %74, 1
  br i1 %75, label %76, label %77

76:                                               ; preds = %68
  br label %321

77:                                               ; preds = %68
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.FVARHeader, ptr %78, i32 0, i32 1
  %80 = load i16, ptr %79, align 1, !tbaa !22
  %81 = call zeroext i16 @be16(i16 noundef zeroext %80)
  %82 = zext i16 %81 to i32
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %77
  br label %321

85:                                               ; preds = %77
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.FVARHeader, ptr %86, i32 0, i32 2
  %88 = load i16, ptr %87, align 1, !tbaa !23
  %89 = call zeroext i16 @be16(i16 noundef zeroext %88)
  %90 = zext i16 %89 to i32
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %85
  br label %321

93:                                               ; preds = %85
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.FVARHeader, ptr %94, i32 0, i32 4
  %96 = load i16, ptr %95, align 1, !tbaa !24
  %97 = call zeroext i16 @be16(i16 noundef zeroext %96)
  %98 = zext i16 %97 to i32
  %99 = icmp eq i32 %98, 0
  br i1 %99, label %100, label %101

100:                                              ; preds = %93
  br label %321

101:                                              ; preds = %93
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.FVARHeader, ptr %102, i32 0, i32 5
  %104 = load i16, ptr %103, align 1, !tbaa !25
  %105 = call zeroext i16 @be16(i16 noundef zeroext %104)
  %106 = zext i16 %105 to i64
  %107 = icmp ne i64 %106, 20
  br i1 %107, label %108, label %109

108:                                              ; preds = %101
  br label %321

109:                                              ; preds = %101
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.FVARHeader, ptr %110, i32 0, i32 4
  %112 = load i16, ptr %111, align 1, !tbaa !24
  %113 = call zeroext i16 @be16(i16 noundef zeroext %112)
  store i16 %113, ptr %14, align 2, !tbaa !26
  %114 = load i16, ptr %14, align 2, !tbaa !26
  %115 = zext i16 %114 to i64
  %116 = mul i64 %115, 4
  %117 = add i64 4, %116
  %118 = trunc i64 %117 to i16
  store i16 %118, ptr %15, align 2, !tbaa !26
  %119 = load i16, ptr %15, align 2, !tbaa !26
  %120 = zext i16 %119 to i32
  %121 = add nsw i32 2, %120
  %122 = trunc i32 %121 to i16
  store i16 %122, ptr %16, align 2, !tbaa !26
  %123 = load ptr, ptr %13, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.FVARHeader, ptr %123, i32 0, i32 7
  %125 = load i16, ptr %124, align 1, !tbaa !27
  %126 = call zeroext i16 @be16(i16 noundef zeroext %125)
  %127 = zext i16 %126 to i32
  %128 = load i16, ptr %15, align 2, !tbaa !26
  %129 = zext i16 %128 to i32
  %130 = icmp ne i32 %127, %129
  br i1 %130, label %131, label %141

131:                                              ; preds = %109
  %132 = load ptr, ptr %13, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.FVARHeader, ptr %132, i32 0, i32 7
  %134 = load i16, ptr %133, align 1, !tbaa !27
  %135 = call zeroext i16 @be16(i16 noundef zeroext %134)
  %136 = zext i16 %135 to i32
  %137 = load i16, ptr %16, align 2, !tbaa !26
  %138 = zext i16 %137 to i32
  %139 = icmp ne i32 %136, %138
  br i1 %139, label %140, label %141

140:                                              ; preds = %131
  br label %321

141:                                              ; preds = %131, %109
  %142 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %10, i32 0, i32 3
  %143 = load i32, ptr %142, align 4, !tbaa !19
  %144 = zext i32 %143 to i64
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.FVARHeader, ptr %145, i32 0, i32 2
  %147 = load i16, ptr %146, align 1, !tbaa !23
  %148 = call zeroext i16 @be16(i16 noundef zeroext %147)
  %149 = zext i16 %148 to i64
  %150 = load i16, ptr %14, align 2, !tbaa !26
  %151 = zext i16 %150 to i64
  %152 = mul i64 20, %151
  %153 = add i64 %149, %152
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.FVARHeader, ptr %154, i32 0, i32 7
  %156 = load i16, ptr %155, align 1, !tbaa !27
  %157 = call zeroext i16 @be16(i16 noundef zeroext %156)
  %158 = zext i16 %157 to i32
  %159 = load ptr, ptr %13, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.FVARHeader, ptr %159, i32 0, i32 6
  %161 = load i16, ptr %160, align 1, !tbaa !28
  %162 = call zeroext i16 @be16(i16 noundef zeroext %161)
  %163 = zext i16 %162 to i32
  %164 = mul nsw i32 %158, %163
  %165 = sext i32 %164 to i64
  %166 = add i64 %153, %165
  %167 = icmp ult i64 %144, %166
  br i1 %167, label %168, label %169

168:                                              ; preds = %141
  br label %321

169:                                              ; preds = %141
  %170 = load ptr, ptr getelementptr inbounds (%struct.__caryll_elementinterface_table_fvar, ptr @table_iFvar, i32 0, i32 6), align 8, !tbaa !29
  %171 = call ptr (...) %170()
  store ptr %171, ptr %5, align 8, !tbaa !5
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = load ptr, ptr %13, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.FVARHeader, ptr %173, i32 0, i32 2
  %175 = load i16, ptr %174, align 1, !tbaa !23
  %176 = call zeroext i16 @be16(i16 noundef zeroext %175)
  %177 = zext i16 %176 to i32
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds i8, ptr %172, i64 %178
  store ptr %179, 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 !26
  br label %180

180:                                              ; preds = %226, %169
  %181 = load i16, ptr %18, align 2, !tbaa !26
  %182 = zext i16 %181 to i32
  %183 = load i16, ptr %14, align 2, !tbaa !26
  %184 = zext i16 %183 to i32
  %185 = icmp slt i32 %182, %184
  br i1 %185, label %187, label %186

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

187:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #5
  %188 = getelementptr inbounds %struct.vf_Axis, ptr %19, i32 0, i32 0
  %189 = load ptr, ptr %17, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.VariationAxisRecord, ptr %189, i32 0, i32 0
  %191 = load i32, ptr %190, align 1, !tbaa !31
  %192 = call i32 @be32(i32 noundef %191)
  store i32 %192, ptr %188, align 8, !tbaa !33
  %193 = getelementptr inbounds %struct.vf_Axis, ptr %19, i32 0, i32 1
  %194 = load ptr, ptr %17, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.VariationAxisRecord, ptr %194, i32 0, i32 1
  %196 = load i32, ptr %195, align 1, !tbaa !36
  %197 = call i32 @be32(i32 noundef %196)
  %198 = call double @otfcc_from_fixed(i32 noundef %197)
  store double %198, ptr %193, align 8, !tbaa !37
  %199 = getelementptr inbounds %struct.vf_Axis, ptr %19, i32 0, i32 2
  %200 = load ptr, ptr %17, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.VariationAxisRecord, ptr %200, i32 0, i32 2
  %202 = load i32, ptr %201, align 1, !tbaa !38
  %203 = call i32 @be32(i32 noundef %202)
  %204 = call double @otfcc_from_fixed(i32 noundef %203)
  store double %204, ptr %199, align 8, !tbaa !39
  %205 = getelementptr inbounds %struct.vf_Axis, ptr %19, i32 0, i32 3
  %206 = load ptr, ptr %17, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.VariationAxisRecord, ptr %206, i32 0, i32 3
  %208 = load i32, ptr %207, align 1, !tbaa !40
  %209 = call i32 @be32(i32 noundef %208)
  %210 = call double @otfcc_from_fixed(i32 noundef %209)
  store double %210, ptr %205, align 8, !tbaa !41
  %211 = getelementptr inbounds %struct.vf_Axis, ptr %19, i32 0, i32 4
  %212 = load ptr, ptr %17, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.VariationAxisRecord, ptr %212, i32 0, i32 4
  %214 = load i16, ptr %213, align 1, !tbaa !42
  %215 = call zeroext i16 @be16(i16 noundef zeroext %214)
  store i16 %215, ptr %211, align 8, !tbaa !43
  %216 = getelementptr inbounds %struct.vf_Axis, ptr %19, i32 0, i32 5
  %217 = load ptr, ptr %17, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.VariationAxisRecord, ptr %217, i32 0, i32 5
  %219 = load i16, ptr %218, align 1, !tbaa !44
  %220 = call zeroext i16 @be16(i16 noundef zeroext %219)
  store i16 %220, ptr %216, align 2, !tbaa !45
  %221 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_vf_Axes, ptr @vf_iAxes, i32 0, i32 13), align 8, !tbaa !46
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.table_fvar, ptr %222, i32 0, i32 2
  call void %221(ptr noundef %223, ptr noundef byval(%struct.vf_Axis) align 8 %19)
  %224 = load ptr, ptr %17, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.VariationAxisRecord, ptr %224, i32 1
  store ptr %225, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #5
  br label %226

226:                                              ; preds = %187
  %227 = load i16, ptr %18, align 2, !tbaa !26
  %228 = add i16 %227, 1
  store i16 %228, ptr %18, align 2, !tbaa !26
  br label %180, !llvm.loop !48

229:                                              ; preds = %186
  %230 = load ptr, ptr %13, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.FVARHeader, ptr %230, i32 0, i32 6
  %232 = load i16, ptr %231, align 1, !tbaa !28
  %233 = call zeroext i16 @be16(i16 noundef zeroext %232)
  store i16 %233, ptr %20, align 2, !tbaa !26
  %234 = load ptr, ptr %13, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.FVARHeader, ptr %234, i32 0, i32 7
  %236 = load i16, ptr %235, align 1, !tbaa !27
  %237 = call zeroext i16 @be16(i16 noundef zeroext %236)
  %238 = zext i16 %237 to i32
  %239 = load i16, ptr %16, align 2, !tbaa !26
  %240 = zext i16 %239 to i32
  %241 = icmp eq i32 %238, %240
  %242 = zext i1 %241 to i8
  store i8 %242, ptr %21, align 1, !tbaa !50
  %243 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %243, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %23) #5
  store i16 0, ptr %23, align 2, !tbaa !26
  br label %244

244:                                              ; preds = %310, %229
  %245 = load i16, ptr %23, align 2, !tbaa !26
  %246 = zext i16 %245 to i32
  %247 = load i16, ptr %20, align 2, !tbaa !26
  %248 = zext i16 %247 to i32
  %249 = icmp slt i32 %246, %248
  br i1 %249, label %251, label %250

250:                                              ; preds = %244
  store i32 15, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #5
  br label %313

251:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #5
  %252 = load ptr, ptr @fvar_iInstance, align 8, !tbaa !52
  call void %252(ptr noundef %24)
  %253 = load ptr, ptr %22, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.InstanceRecord, ptr %253, i32 0, i32 0
  %255 = load i16, ptr %254, align 1, !tbaa !26
  %256 = call zeroext i16 @be16(i16 noundef zeroext %255)
  %257 = getelementptr inbounds %struct.fvar_Instance, ptr %24, i32 0, i32 0
  store i16 %256, ptr %257, align 8, !tbaa !54
  %258 = load ptr, ptr %22, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.InstanceRecord, ptr %258, i32 0, i32 1
  %260 = load i16, ptr %259, align 1, !tbaa !26
  %261 = call zeroext i16 @be16(i16 noundef zeroext %260)
  %262 = getelementptr inbounds %struct.fvar_Instance, ptr %24, i32 0, i32 1
  store i16 %261, ptr %262, align 2, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 2, ptr %25) #5
  store i16 0, ptr %25, align 2, !tbaa !26
  br label %263

263:                                              ; preds = %281, %251
  %264 = load i16, ptr %25, align 2, !tbaa !26
  %265 = zext i16 %264 to i32
  %266 = load i16, ptr %14, align 2, !tbaa !26
  %267 = zext i16 %266 to i32
  %268 = icmp slt i32 %265, %267
  br i1 %268, label %270, label %269

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

270:                                              ; preds = %263
  %271 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_VV, ptr @iVV, i32 0, i32 13), align 8, !tbaa !59
  %272 = getelementptr inbounds %struct.fvar_Instance, ptr %24, i32 0, i32 2
  %273 = load ptr, ptr %22, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.InstanceRecord, ptr %273, i32 0, i32 2
  %275 = load i16, ptr %25, align 2, !tbaa !26
  %276 = zext i16 %275 to i64
  %277 = getelementptr inbounds [0 x i32], ptr %274, i64 0, i64 %276
  %278 = load i32, ptr %277, align 1, !tbaa !9
  %279 = call i32 @be32(i32 noundef %278)
  %280 = call double @otfcc_from_fixed(i32 noundef %279)
  call void %271(ptr noundef %272, double noundef %280)
  br label %281

281:                                              ; preds = %270
  %282 = load i16, ptr %25, align 2, !tbaa !26
  %283 = add i16 %282, 1
  store i16 %283, ptr %25, align 2, !tbaa !26
  br label %263, !llvm.loop !61

284:                                              ; preds = %269
  %285 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_VV, ptr @iVV, i32 0, i32 14), align 8, !tbaa !62
  %286 = getelementptr inbounds %struct.fvar_Instance, ptr %24, i32 0, i32 2
  call void %285(ptr noundef %286)
  %287 = load i8, ptr %21, align 1, !tbaa !50, !range !63, !noundef !64
  %288 = trunc i8 %287 to i1
  br i1 %288, label %289, label %298

289:                                              ; preds = %284
  %290 = load ptr, ptr %22, align 8, !tbaa !5
  %291 = load i16, ptr %15, align 2, !tbaa !26
  %292 = zext i16 %291 to i32
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds i8, ptr %290, i64 %293
  %295 = load i16, ptr %294, align 2, !tbaa !26
  %296 = call zeroext i16 @be16(i16 noundef zeroext %295)
  %297 = getelementptr inbounds %struct.fvar_Instance, ptr %24, i32 0, i32 3
  store i16 %296, ptr %297, align 8, !tbaa !65
  br label %298

298:                                              ; preds = %289, %284
  %299 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_fvar_InstanceList, ptr @fvar_iInstanceList, i32 0, i32 13), align 8, !tbaa !66
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.table_fvar, ptr %300, i32 0, i32 3
  call void %299(ptr noundef %301, ptr noundef byval(%struct.fvar_Instance) align 8 %24)
  %302 = load ptr, ptr %22, align 8, !tbaa !5
  %303 = load ptr, ptr %13, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.FVARHeader, ptr %303, i32 0, i32 7
  %305 = load i16, ptr %304, align 1, !tbaa !27
  %306 = call zeroext i16 @be16(i16 noundef zeroext %305)
  %307 = zext i16 %306 to i32
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds i8, ptr %302, i64 %308
  store ptr %309, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #5
  br label %310

310:                                              ; preds = %298
  %311 = load i16, ptr %23, align 2, !tbaa !26
  %312 = add i16 %311, 1
  store i16 %312, ptr %23, align 2, !tbaa !26
  br label %244, !llvm.loop !68

313:                                              ; preds = %250
  %314 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_vf_Axes, ptr @vf_iAxes, i32 0, i32 14), align 8, !tbaa !69
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.table_fvar, ptr %315, i32 0, i32 2
  call void %314(ptr noundef %316)
  %317 = load ptr, ptr getelementptr inbounds (%struct.__caryll_vectorinterface_fvar_InstanceList, ptr @fvar_iInstanceList, i32 0, i32 14), align 8, !tbaa !70
  %318 = load ptr, ptr %5, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.table_fvar, ptr %318, i32 0, i32 3
  call void %317(ptr noundef %319)
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %320, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %334

321:                                              ; preds = %168, %140, %108, %100, %92, %84, %76, %67
  %322 = load ptr, ptr %4, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.otfcc_Options, ptr %322, i32 0, i32 24
  %324 = load ptr, ptr %323, align 8, !tbaa !71
  %325 = getelementptr inbounds %struct.otfcc_ILogger, ptr %324, i32 0, i32 6
  %326 = load ptr, ptr %325, align 8, !tbaa !73
  %327 = load ptr, ptr %4, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.otfcc_Options, ptr %327, i32 0, i32 24
  %329 = load ptr, ptr %328, align 8, !tbaa !71
  %330 = call ptr @sdsempty()
  %331 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %330, ptr noundef @.str)
  call void %326(ptr noundef %329, i8 noundef zeroext 1, i32 noundef 1, ptr noundef %331)
  %332 = load ptr, ptr getelementptr inbounds (%struct.__caryll_elementinterface_table_fvar, ptr @table_iFvar, i32 0, i32 7), align 8, !tbaa !75
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  call void %332(ptr noundef %333)
  store ptr null, ptr %5, align 8, !tbaa !5
  store i32 0, ptr %9, align 4
  br label %334

334:                                              ; preds = %321, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %335 = load i32, ptr %9, align 4
  switch i32 %335, label %338 [
    i32 0, label %336
  ]

336:                                              ; preds = %334
  br label %337

337:                                              ; preds = %336
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %56, !llvm.loop !76

338:                                              ; preds = %334, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %339 = load i32, ptr %9, align 4
  switch i32 %339, label %347 [
    i32 8, label %340
  ]

340:                                              ; preds = %338
  br label %341

341:                                              ; preds = %340, %51
  br label %342

342:                                              ; preds = %341
  %343 = load i32, ptr %6, align 4, !tbaa !9
  %344 = icmp ne i32 %343, 0
  %345 = xor i1 %344, true
  %346 = zext i1 %345 to i32
  store i32 %346, ptr %6, align 4, !tbaa !9
  br label %47, !llvm.loop !77

347:                                              ; preds = %338, %50
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  %348 = load i32, ptr %9, align 4
  switch i32 %348, label %357 [
    i32 5, label %349
  ]

349:                                              ; preds = %347
  br label %350

350:                                              ; preds = %349
  %351 = load i32, ptr %6, align 4, !tbaa !9
  %352 = icmp ne i32 %351, 0
  %353 = xor i1 %352, true
  %354 = zext i1 %353 to i32
  store i32 %354, ptr %6, align 4, !tbaa !9
  %355 = load i32, ptr %7, align 4, !tbaa !9
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %7, align 4, !tbaa !9
  br label %26, !llvm.loop !78

357:                                              ; preds = %347, %40
  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
  %358 = load i32, ptr %9, align 4
  switch i32 %358, label %360 [
    i32 2, label %359
  ]

359:                                              ; preds = %357
  store ptr null, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %360

360:                                              ; preds = %359, %357
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %361 = load ptr, ptr %3, align 8
  ret ptr %361
}

; 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 @be16(i16 noundef zeroext) #3

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

declare double @otfcc_from_fixed(i32 noundef) #4

; 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, !6, i64 16}
!19 = !{!17, !10, i64 12}
!20 = !{!21, !13, i64 0}
!21 = !{!"FVARHeader", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8, !13, i64 10, !13, i64 12, !13, i64 14}
!22 = !{!21, !13, i64 2}
!23 = !{!21, !13, i64 4}
!24 = !{!21, !13, i64 8}
!25 = !{!21, !13, i64 10}
!26 = !{!13, !13, i64 0}
!27 = !{!21, !13, i64 14}
!28 = !{!21, !13, i64 12}
!29 = !{!30, !6, i64 48}
!30 = !{!"__caryll_elementinterface_table_fvar", !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}
!31 = !{!32, !10, i64 0}
!32 = !{!"VariationAxisRecord", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 18}
!33 = !{!34, !10, i64 0}
!34 = !{!"", !10, i64 0, !35, i64 8, !35, i64 16, !35, i64 24, !13, i64 32, !13, i64 34}
!35 = !{!"double", !7, i64 0}
!36 = !{!32, !10, i64 4}
!37 = !{!34, !35, i64 8}
!38 = !{!32, !10, i64 8}
!39 = !{!34, !35, i64 16}
!40 = !{!32, !10, i64 12}
!41 = !{!34, !35, i64 24}
!42 = !{!32, !13, i64 16}
!43 = !{!34, !13, i64 32}
!44 = !{!32, !13, i64 18}
!45 = !{!34, !13, i64 34}
!46 = !{!47, !6, i64 104}
!47 = !{!"__caryll_vectorinterface_vf_Axes", !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}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = !{!51, !51, i64 0}
!51 = !{!"_Bool", !7, i64 0}
!52 = !{!53, !6, i64 0}
!53 = !{!"__caryll_elementinterface_fvar_Instance", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!54 = !{!55, !13, i64 0}
!55 = !{!"", !13, i64 0, !13, i64 2, !56, i64 8, !13, i64 32}
!56 = !{!"", !57, i64 0, !57, i64 8, !6, i64 16}
!57 = !{!"long", !7, i64 0}
!58 = !{!55, !13, i64 2}
!59 = !{!60, !6, i64 104}
!60 = !{!"__caryll_vectorinterface_VV", !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, !6, i64 152}
!61 = distinct !{!61, !49}
!62 = !{!60, !6, i64 112}
!63 = !{i8 0, i8 2}
!64 = !{}
!65 = !{!55, !13, i64 32}
!66 = !{!67, !6, i64 104}
!67 = !{!"__caryll_vectorinterface_fvar_InstanceList", !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}
!68 = distinct !{!68, !49}
!69 = !{!47, !6, i64 112}
!70 = !{!67, !6, i64 112}
!71 = !{!72, !6, i64 32}
!72 = !{!"", !51, i64 0, !51, i64 1, !51, i64 2, !51, i64 3, !51, i64 4, !51, i64 5, !51, i64 6, !51, i64 7, !51, i64 8, !51, i64 9, !51, i64 10, !51, i64 11, !51, i64 12, !51, i64 13, !51, i64 14, !51, i64 15, !51, i64 16, !51, i64 17, !51, i64 18, !51, i64 19, !51, i64 20, !51, i64 21, !51, i64 22, !6, i64 24, !6, i64 32}
!73 = !{!74, !6, i64 48}
!74 = !{!"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}
!75 = !{!30, !6, i64 56}
!76 = distinct !{!76, !49}
!77 = distinct !{!77, !49}
!78 = distinct !{!78, !49}


; 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_elementinterface_fvar_Instance = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_fvar_InstanceList = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_elementinterface_table_fvar = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_vf_Axes = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__caryll_vectorinterface_VV = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_Packet = type { i32, i16, i16, i16, i16, ptr }
%struct.vf_Axis = type { i32, double, double, double, i16, i16 }
%struct.fvar_Instance = type { i16, i16, %struct.VV, i16 }
%struct.VV = type { i64, i64, ptr }
%struct.otfcc_PacketPiece = type { i32, i32, i32, i32, ptr }

@fvar_iInstance = external dso_local local_unnamed_addr constant %struct.__caryll_elementinterface_fvar_Instance, align 8
@fvar_iInstanceList = external dso_local local_unnamed_addr constant %struct.__caryll_vectorinterface_fvar_InstanceList, align 8
@table_iFvar = external dso_local local_unnamed_addr constant %struct.__caryll_elementinterface_table_fvar, align 8
@vf_iAxes = external local_unnamed_addr constant %struct.__caryll_vectorinterface_vf_Axes, align 8
@iVV = external local_unnamed_addr constant %struct.__caryll_vectorinterface_VV, align 8
@.str = external hidden unnamed_addr constant [25 x i8], align 1

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

.lr.ph:                                           ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = getelementptr inbounds i8, ptr %1, i64 32
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @table_iFvar, i64 56), align 8
  %10 = load ptr, ptr getelementptr inbounds (i8, ptr @table_iFvar, i64 48), align 8
  %11 = getelementptr inbounds i8, ptr %3, i64 8
  %12 = getelementptr inbounds i8, ptr %3, i64 16
  %13 = getelementptr inbounds i8, ptr %3, i64 24
  %14 = getelementptr inbounds i8, ptr %3, i64 32
  %15 = getelementptr inbounds i8, ptr %3, i64 34
  %16 = load ptr, ptr getelementptr inbounds (i8, ptr @vf_iAxes, i64 104), align 8
  %17 = load ptr, ptr @fvar_iInstance, align 8
  %18 = getelementptr inbounds i8, ptr %4, i64 2
  %19 = load ptr, ptr getelementptr inbounds (i8, ptr @iVV, i64 104), align 8
  %20 = getelementptr inbounds i8, ptr %4, i64 8
  %21 = load ptr, ptr getelementptr inbounds (i8, ptr @iVV, i64 112), align 8
  %22 = getelementptr inbounds i8, ptr %4, i64 32
  %23 = load ptr, ptr getelementptr inbounds (i8, ptr @fvar_iInstanceList, i64 104), align 8
  %24 = load ptr, ptr getelementptr inbounds (i8, ptr @vf_iAxes, i64 112), align 8
  %25 = load ptr, ptr getelementptr inbounds (i8, ptr @fvar_iInstanceList, i64 112), align 8
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = load i16, ptr %5, align 4
  %28 = zext i16 %27 to i64
  br label %29

29:                                               ; preds = %.lr.ph, %.thread118
  %indvars.iv181 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next182, %.thread118 ]
  %30 = getelementptr inbounds %struct.otfcc_PacketPiece, ptr %26, i64 %indvars.iv181
  %.sroa.0.0.copyload = load i32, ptr %30, align 8, !tbaa !12
  %.not211 = icmp eq i32 %.sroa.0.0.copyload, 1719034226
  br i1 %.not211, label %.split.us, label %.thread118

.split.us:                                        ; preds = %29
  %.sroa.452.0..sroa_idx.le = getelementptr inbounds i8, ptr %30, i64 12
  %.sroa.452.0.copyload.le = load i32, ptr %.sroa.452.0..sroa_idx.le, align 4, !tbaa !12
  %.sroa.6.0..sroa_idx.le = getelementptr inbounds i8, ptr %30, i64 16
  %.sroa.6.0.copyload.le = load ptr, ptr %.sroa.6.0..sroa_idx.le, align 8, !tbaa !13
  %31 = zext i32 %.sroa.452.0.copyload.le to i64
  %32 = getelementptr inbounds i8, ptr %.sroa.6.0.copyload.le, i64 2
  %33 = getelementptr inbounds i8, ptr %.sroa.6.0.copyload.le, i64 4
  %34 = getelementptr inbounds i8, ptr %.sroa.6.0.copyload.le, i64 8
  %35 = getelementptr inbounds i8, ptr %.sroa.6.0.copyload.le, i64 10
  %36 = getelementptr inbounds i8, ptr %.sroa.6.0.copyload.le, i64 14
  %37 = getelementptr inbounds i8, ptr %.sroa.6.0.copyload.le, i64 12
  %38 = icmp ult i32 %.sroa.452.0.copyload.le, 16
  br i1 %38, label %.preheader.us.us, label %.preheader.us

.preheader.us.us:                                 ; preds = %.split.us
  %39 = load ptr, ptr %8, align 8, !tbaa !14
  %40 = getelementptr inbounds i8, ptr %39, i64 48
  %41 = load ptr, ptr %40, align 8, !tbaa !17
  %42 = tail call ptr @sdsempty() #4
  %43 = tail call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %42, ptr noundef nonnull @.str) #4
  tail call void %41(ptr noundef %39, i8 noundef zeroext 1, i32 noundef 1, ptr noundef %43) #4
  tail call void %9(ptr noundef null) #4
  br label %.critedge

.preheader.us:                                    ; preds = %.split.us
  %44 = load i16, ptr %.sroa.6.0.copyload.le, align 1, !tbaa !19
  %45 = tail call zeroext i16 @be16(i16 noundef zeroext %44)
  %.not103.us = icmp eq i16 %45, 1
  br i1 %.not103.us, label %46, label %.thread115.loopexit.split.us160

46:                                               ; preds = %.preheader.us
  %47 = load i16, ptr %32, align 1, !tbaa !21
  %48 = tail call zeroext i16 @be16(i16 noundef zeroext %47)
  %.not104.us = icmp eq i16 %48, 0
  br i1 %.not104.us, label %49, label %.thread115.loopexit.split.us160

49:                                               ; preds = %46
  %50 = load i16, ptr %33, align 1, !tbaa !22
  %51 = tail call zeroext i16 @be16(i16 noundef zeroext %50)
  %52 = icmp eq i16 %51, 0
  br i1 %52, label %.thread115.loopexit.split.us160, label %53

53:                                               ; preds = %49
  %54 = load i16, ptr %34, align 1, !tbaa !23
  %55 = tail call zeroext i16 @be16(i16 noundef zeroext %54)
  %56 = icmp eq i16 %55, 0
  br i1 %56, label %.thread115.loopexit.split.us160, label %57

57:                                               ; preds = %53
  %58 = load i16, ptr %35, align 1, !tbaa !24
  %59 = tail call zeroext i16 @be16(i16 noundef zeroext %58)
  %.not105.us = icmp eq i16 %59, 20
  br i1 %.not105.us, label %60, label %.thread115.loopexit.split.us160

60:                                               ; preds = %57
  %61 = load i16, ptr %34, align 1, !tbaa !23
  %62 = tail call zeroext i16 @be16(i16 noundef zeroext %61)
  %63 = zext i16 %62 to i64
  %64 = shl i16 %62, 2
  %65 = add i16 %64, 4
  %66 = or disjoint i16 %65, 2
  %67 = load i16, ptr %36, align 1, !tbaa !25
  %68 = tail call zeroext i16 @be16(i16 noundef zeroext %67)
  %.not106.us = icmp eq i16 %68, %65
  br i1 %.not106.us, label %72, label %69

69:                                               ; preds = %60
  %70 = load i16, ptr %36, align 1, !tbaa !25
  %71 = tail call zeroext i16 @be16(i16 noundef zeroext %70)
  %.not107.us = icmp eq i16 %71, %66
  br i1 %.not107.us, label %72, label %.thread115.loopexit.split.us160

72:                                               ; preds = %69, %60
  %73 = load i16, ptr %33, align 1, !tbaa !22
  %74 = tail call zeroext i16 @be16(i16 noundef zeroext %73)
  %75 = zext i16 %74 to i64
  %76 = mul nuw nsw i64 %63, 20
  %77 = add nuw nsw i64 %76, %75
  %78 = load i16, ptr %36, align 1, !tbaa !25
  %79 = tail call zeroext i16 @be16(i16 noundef zeroext %78)
  %80 = zext i16 %79 to i64
  %81 = load i16, ptr %37, align 1, !tbaa !26
  %82 = tail call zeroext i16 @be16(i16 noundef zeroext %81)
  %83 = zext i16 %82 to i64
  %84 = mul nuw nsw i64 %83, %80
  %85 = add nuw nsw i64 %77, %84
  %86 = icmp ugt i64 %85, %31
  br i1 %86, label %.thread115.loopexit.split.us160, label %87

87:                                               ; preds = %72
  %88 = tail call ptr (...) %10() #4
  %89 = load i16, ptr %33, align 1, !tbaa !22
  %90 = tail call zeroext i16 @be16(i16 noundef zeroext %89)
  %91 = zext i16 %90 to i64
  %92 = getelementptr inbounds i8, ptr %.sroa.6.0.copyload.le, i64 %91
  %.not175 = icmp eq i16 %62, 0
  br i1 %.not175, label %._crit_edge.us, label %.lr.ph.us

._crit_edge.us:                                   ; preds = %121, %87
  %.086.lcssa.us = phi ptr [ %92, %87 ], [ %142, %121 ]
  %93 = load i16, ptr %37, align 1, !tbaa !26
  %94 = tail call zeroext i16 @be16(i16 noundef zeroext %93)
  %95 = load i16, ptr %36, align 1, !tbaa !25
  %96 = tail call zeroext i16 @be16(i16 noundef zeroext %95)
  %97 = icmp eq i16 %96, %66
  %.not176 = icmp eq i16 %94, 0
  br i1 %.not176, label %._crit_edge154.us, label %.lr.ph153.us

._crit_edge154.us:                                ; preds = %110, %._crit_edge.us
  %98 = getelementptr inbounds i8, ptr %88, i64 8
  call void %24(ptr noundef nonnull %98) #4
  %99 = getelementptr inbounds i8, ptr %88, i64 32
  call void %25(ptr noundef nonnull %99) #4
  br label %.critedge

100:                                              ; preds = %.lr.ph153.us, %110
  %.075151.us = phi i16 [ 0, %.lr.ph153.us ], [ %115, %110 ]
  %.076150.us = phi ptr [ %.086.lcssa.us, %.lr.ph153.us ], [ %114, %110 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #4
  call void %17(ptr noundef nonnull %4) #4
  %101 = load i16, ptr %.076150.us, align 1, !tbaa !27
  %102 = call zeroext i16 @be16(i16 noundef zeroext %101)
  store i16 %102, ptr %4, align 8, !tbaa !28
  %103 = getelementptr inbounds i8, ptr %.076150.us, i64 2
  %104 = load i16, ptr %103, align 1, !tbaa !27
  %105 = call zeroext i16 @be16(i16 noundef zeroext %104)
  store i16 %105, ptr %18, align 2, !tbaa !32
  br i1 %.not175, label %._crit_edge149.us, label %.lr.ph148.us

._crit_edge149.us:                                ; preds = %116, %100
  call void %21(ptr noundef nonnull %20) #4
  br i1 %97, label %106, label %110

106:                                              ; preds = %._crit_edge149.us
  %107 = getelementptr inbounds i8, ptr %.076150.us, i64 %151
  %108 = load i16, ptr %107, align 2, !tbaa !27
  %109 = call zeroext i16 @be16(i16 noundef zeroext %108)
  store i16 %109, ptr %22, align 8, !tbaa !33
  br label %110

110:                                              ; preds = %106, %._crit_edge149.us
  call void %23(ptr noundef nonnull %152, ptr noundef nonnull byval(%struct.fvar_Instance) align 8 %4) #4
  %111 = load i16, ptr %36, align 1, !tbaa !25
  %112 = call zeroext i16 @be16(i16 noundef zeroext %111)
  %113 = zext i16 %112 to i64
  %114 = getelementptr inbounds i8, ptr %.076150.us, i64 %113
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #4
  %115 = add nuw i16 %.075151.us, 1
  %exitcond180.not = icmp eq i16 %115, %94
  br i1 %exitcond180.not, label %._crit_edge154.us, label %100, !llvm.loop !34

116:                                              ; preds = %.lr.ph148.us, %116
  %indvars.iv = phi i64 [ 0, %.lr.ph148.us ], [ %indvars.iv.next, %116 ]
  %117 = getelementptr inbounds [0 x i32], ptr %150, i64 0, i64 %indvars.iv
  %118 = load i32, ptr %117, align 1, !tbaa !12
  %119 = call i32 @be32(i32 noundef %118)
  %120 = call double @otfcc_from_fixed(i32 noundef %119) #4
  call void %19(ptr noundef nonnull %20, double noundef %120) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond179.not = icmp eq i64 %indvars.iv.next, %63
  br i1 %exitcond179.not, label %._crit_edge149.us, label %116, !llvm.loop !36

121:                                              ; preds = %.lr.ph.us, %121
  %.085145.us = phi i16 [ 0, %.lr.ph.us ], [ %143, %121 ]
  %.086144.us = phi ptr [ %92, %.lr.ph.us ], [ %142, %121 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
  %122 = load i32, ptr %.086144.us, align 1, !tbaa !37
  %123 = tail call i32 @be32(i32 noundef %122)
  store i32 %123, ptr %3, align 8, !tbaa !39
  %124 = getelementptr inbounds i8, ptr %.086144.us, i64 4
  %125 = load i32, ptr %124, align 1, !tbaa !42
  %126 = tail call i32 @be32(i32 noundef %125)
  %127 = tail call double @otfcc_from_fixed(i32 noundef %126) #4
  store double %127, ptr %11, align 8, !tbaa !43
  %128 = getelementptr inbounds i8, ptr %.086144.us, i64 8
  %129 = load i32, ptr %128, align 1, !tbaa !44
  %130 = tail call i32 @be32(i32 noundef %129)
  %131 = tail call double @otfcc_from_fixed(i32 noundef %130) #4
  store double %131, ptr %12, align 8, !tbaa !45
  %132 = getelementptr inbounds i8, ptr %.086144.us, i64 12
  %133 = load i32, ptr %132, align 1, !tbaa !46
  %134 = tail call i32 @be32(i32 noundef %133)
  %135 = tail call double @otfcc_from_fixed(i32 noundef %134) #4
  store double %135, ptr %13, align 8, !tbaa !47
  %136 = getelementptr inbounds i8, ptr %.086144.us, i64 16
  %137 = load i16, ptr %136, align 1, !tbaa !48
  %138 = tail call zeroext i16 @be16(i16 noundef zeroext %137)
  store i16 %138, ptr %14, align 8, !tbaa !49
  %139 = getelementptr inbounds i8, ptr %.086144.us, i64 18
  %140 = load i16, ptr %139, align 1, !tbaa !50
  %141 = tail call zeroext i16 @be16(i16 noundef zeroext %140)
  store i16 %141, ptr %15, align 2, !tbaa !51
  tail call void %16(ptr noundef nonnull %149, ptr noundef nonnull byval(%struct.vf_Axis) align 8 %3) #4
  %142 = getelementptr inbounds i8, ptr %.086144.us, i64 20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  %143 = add nuw i16 %.085145.us, 1
  %exitcond.not = icmp eq i16 %143, %62
  br i1 %exitcond.not, label %._crit_edge.us, label %121, !llvm.loop !52

.thread115.loopexit.split.us160:                  ; preds = %72, %69, %57, %53, %49, %46, %.preheader.us
  %144 = load ptr, ptr %8, align 8, !tbaa !14
  %145 = getelementptr inbounds i8, ptr %144, i64 48
  %146 = load ptr, ptr %145, align 8, !tbaa !17
  %147 = tail call ptr @sdsempty() #4
  %148 = tail call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %147, ptr noundef nonnull @.str) #4
  tail call void %146(ptr noundef %144, i8 noundef zeroext 1, i32 noundef 1, ptr noundef %148) #4
  tail call void %9(ptr noundef null) #4
  br label %.critedge

.lr.ph.us:                                        ; preds = %87
  %149 = getelementptr inbounds i8, ptr %88, i64 8
  br label %121

.lr.ph148.us:                                     ; preds = %100
  %150 = getelementptr inbounds i8, ptr %.076150.us, i64 4
  br label %116

.lr.ph153.us:                                     ; preds = %._crit_edge.us
  %151 = zext i16 %65 to i64
  %152 = getelementptr inbounds i8, ptr %88, i64 32
  br label %100

.thread118:                                       ; preds = %29
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  %153 = icmp ult i64 %indvars.iv.next182, %28
  br i1 %153, label %29, label %.critedge, !llvm.loop !53

.critedge:                                        ; preds = %.thread118, %.preheader.us.us, %.thread115.loopexit.split.us160, %._crit_edge154.us, %2
  %154 = phi ptr [ null, %2 ], [ %88, %._crit_edge154.us ], [ null, %.thread115.loopexit.split.us160 ], [ null, %.preheader.us.us ], [ null, %.thread118 ]
  ret ptr %154
}

; 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 @be16(i16 noundef zeroext) local_unnamed_addr #2

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

declare double @otfcc_from_fixed(i32 noundef) local_unnamed_addr #3

; 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 = !{!15, !11, i64 32}
!15 = !{!"", !16, i64 0, !16, i64 1, !16, i64 2, !16, i64 3, !16, i64 4, !16, i64 5, !16, i64 6, !16, i64 7, !16, i64 8, !16, i64 9, !16, i64 10, !16, i64 11, !16, i64 12, !16, i64 13, !16, i64 14, !16, i64 15, !16, i64 16, !16, i64 17, !16, i64 18, !16, i64 19, !16, i64 20, !16, i64 21, !16, i64 22, !11, i64 24, !11, i64 32}
!16 = !{!"_Bool", !8, i64 0}
!17 = !{!18, !11, i64 48}
!18 = !{!"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}
!19 = !{!20, !10, i64 0}
!20 = !{!"FVARHeader", !10, i64 0, !10, i64 2, !10, i64 4, !10, i64 6, !10, i64 8, !10, i64 10, !10, i64 12, !10, i64 14}
!21 = !{!20, !10, i64 2}
!22 = !{!20, !10, i64 4}
!23 = !{!20, !10, i64 8}
!24 = !{!20, !10, i64 10}
!25 = !{!20, !10, i64 14}
!26 = !{!20, !10, i64 12}
!27 = !{!10, !10, i64 0}
!28 = !{!29, !10, i64 0}
!29 = !{!"", !10, i64 0, !10, i64 2, !30, i64 8, !10, i64 32}
!30 = !{!"", !31, i64 0, !31, i64 8, !11, i64 16}
!31 = !{!"long", !8, i64 0}
!32 = !{!29, !10, i64 2}
!33 = !{!29, !10, i64 32}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = !{!38, !7, i64 0}
!38 = !{!"VariationAxisRecord", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 18}
!39 = !{!40, !7, i64 0}
!40 = !{!"", !7, i64 0, !41, i64 8, !41, i64 16, !41, i64 24, !10, i64 32, !10, i64 34}
!41 = !{!"double", !8, i64 0}
!42 = !{!38, !7, i64 4}
!43 = !{!40, !41, i64 8}
!44 = !{!38, !7, i64 8}
!45 = !{!40, !41, i64 16}
!46 = !{!38, !7, i64 12}
!47 = !{!40, !41, i64 24}
!48 = !{!38, !10, i64 16}
!49 = !{!40, !10, i64 32}
!50 = !{!38, !10, i64 18}
!51 = !{!40, !10, i64 34}
!52 = distinct !{!52, !35}
!53 = distinct !{!53, !35}


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