; LLVM IR from caryll/otfcc :: lib/table/otl/subtables (gpos-pair)

; 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_subtable_gpos_pair = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__otfcc_IClassDef = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otl_PositionValue = type { double, double, double, double }
%struct.subtable_gpos_pair = type { ptr, ptr, ptr, ptr }
%struct.otl_ClassDef = type { i16, i32, i16, ptr, ptr }
%struct._json_value = type { ptr, i32, %union.anon.0, %union.anon.4 }
%union.anon.0 = type { %struct.anon.1 }
%struct.anon.1 = type { i32, ptr }
%union.anon.4 = type { ptr }
%struct.anon.3 = type { i32, ptr }

@iSubtable_gpos_pair = external dso_local constant %struct.__caryll_elementinterface_subtable_gpos_pair, align 8
@otl_iClassDef = external constant %struct.__otfcc_IClassDef, align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

declare void @position_zero(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8, ...) #2

; 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) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @otl_gpos_parse_pair(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i16, align 2
  %9 = alloca i16, align 2
  %10 = alloca i16, align 2
  %11 = alloca i32, align 4
  %12 = alloca i16, align 2
  %13 = alloca %struct.otl_PositionValue, align 8
  %14 = alloca %struct.otl_PositionValue, align 8
  %15 = alloca i16, align 2
  %16 = alloca ptr, align 8
  %17 = alloca i16, align 2
  %18 = alloca ptr, align 8
  %19 = alloca %struct.otl_PositionValue, align 8
  %20 = alloca %struct.otl_PositionValue, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %21 = load ptr, ptr getelementptr inbounds (%struct.__caryll_elementinterface_subtable_gpos_pair, ptr @iSubtable_gpos_pair, i32 0, i32 6), align 8, !tbaa !9
  %22 = call ptr (...) %21()
  store ptr %22, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = call ptr @json_obj_get_type(ptr noundef %23, ptr noundef @.str.2, i32 noundef 2)
  store ptr %24, ptr %7, align 8, !tbaa !5
  %25 = load ptr, ptr getelementptr inbounds (%struct.__otfcc_IClassDef, ptr @otl_iClassDef, i32 0, i32 12), align 8, !tbaa !11
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = call ptr @json_obj_get_type(ptr noundef %26, ptr noundef @.str, i32 noundef 1)
  %28 = call ptr %25(ptr noundef %27)
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %29, i32 0, i32 0
  store ptr %28, ptr %30, align 8, !tbaa !13
  %31 = load ptr, ptr getelementptr inbounds (%struct.__otfcc_IClassDef, ptr @otl_iClassDef, i32 0, i32 12), align 8, !tbaa !11
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = call ptr @json_obj_get_type(ptr noundef %32, ptr noundef @.str.1, i32 noundef 1)
  %34 = call ptr %31(ptr noundef %33)
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %35, i32 0, i32 1
  store ptr %34, ptr %36, align 8, !tbaa !15
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %49

39:                                               ; preds = %2
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %40, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !13
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %49

44:                                               ; preds = %39
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %45, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8, !tbaa !15
  %48 = icmp ne ptr %47, null
  br i1 %48, label %50, label %49

49:                                               ; preds = %44, %39, %2
  br label %289

50:                                               ; preds = %44
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %51, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8, !tbaa !13
  %54 = getelementptr inbounds %struct.otl_ClassDef, ptr %53, i32 0, i32 2
  %55 = load i16, ptr %54, align 8, !tbaa !16
  %56 = zext i16 %55 to i32
  %57 = add nsw i32 %56, 1
  %58 = trunc i32 %57 to i16
  store i16 %58, ptr %8, align 2, !tbaa !20
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !15
  %62 = getelementptr inbounds %struct.otl_ClassDef, ptr %61, i32 0, i32 2
  %63 = load i16, ptr %62, align 8, !tbaa !16
  %64 = zext i16 %63 to i32
  %65 = add nsw i32 %64, 1
  %66 = trunc i32 %65 to i16
  store i16 %66, ptr %9, align 2, !tbaa !20
  %67 = load i16, ptr %8, align 2, !tbaa !20
  %68 = zext i16 %67 to i64
  %69 = mul i64 8, %68
  %70 = call ptr @__caryll_allocate_clean(i64 noundef %69, i64 noundef 224)
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %71, i32 0, i32 2
  store ptr %70, ptr %72, align 8, !tbaa !21
  %73 = load i16, ptr %8, align 2, !tbaa !20
  %74 = zext i16 %73 to i64
  %75 = mul i64 8, %74
  %76 = call ptr @__caryll_allocate_clean(i64 noundef %75, i64 noundef 225)
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %77, i32 0, i32 3
  store ptr %76, ptr %78, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #5
  store i16 0, ptr %10, align 2, !tbaa !20
  br label %79

79:                                               ; preds = %139, %50
  %80 = load i16, ptr %10, align 2, !tbaa !20
  %81 = zext i16 %80 to i32
  %82 = load i16, ptr %8, align 2, !tbaa !20
  %83 = zext i16 %82 to i32
  %84 = icmp slt i32 %81, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %79
  store i32 3, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #5
  br label %142

86:                                               ; preds = %79
  %87 = load i16, ptr %9, align 2, !tbaa !20
  %88 = zext i16 %87 to i64
  %89 = mul i64 32, %88
  %90 = call ptr @__caryll_allocate_clean(i64 noundef %89, i64 noundef 228)
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %91, i32 0, i32 2
  %93 = load ptr, ptr %92, align 8, !tbaa !21
  %94 = load i16, ptr %10, align 2, !tbaa !20
  %95 = zext i16 %94 to i64
  %96 = getelementptr inbounds ptr, ptr %93, i64 %95
  store ptr %90, ptr %96, align 8, !tbaa !5
  %97 = load i16, ptr %9, align 2, !tbaa !20
  %98 = zext i16 %97 to i64
  %99 = mul i64 32, %98
  %100 = call ptr @__caryll_allocate_clean(i64 noundef %99, i64 noundef 229)
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %101, i32 0, i32 3
  %103 = load ptr, ptr %102, align 8, !tbaa !22
  %104 = load i16, ptr %10, align 2, !tbaa !20
  %105 = zext i16 %104 to i64
  %106 = getelementptr inbounds ptr, ptr %103, i64 %105
  store ptr %100, ptr %106, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #5
  store i16 0, ptr %12, align 2, !tbaa !20
  br label %107

107:                                              ; preds = %135, %86
  %108 = load i16, ptr %12, align 2, !tbaa !20
  %109 = zext i16 %108 to i32
  %110 = load i16, ptr %9, align 2, !tbaa !20
  %111 = zext i16 %110 to i32
  %112 = icmp slt i32 %109, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %107
  store i32 6, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #5
  br label %138

114:                                              ; preds = %107
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %115, i32 0, i32 2
  %117 = load ptr, ptr %116, align 8, !tbaa !21
  %118 = load i16, ptr %10, align 2, !tbaa !20
  %119 = zext i16 %118 to i64
  %120 = getelementptr inbounds ptr, ptr %117, i64 %119
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = load i16, ptr %12, align 2, !tbaa !20
  %123 = zext i16 %122 to i64
  %124 = getelementptr inbounds %struct.otl_PositionValue, ptr %121, i64 %123
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  call void (ptr, ...) @position_zero(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8 %13)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %124, ptr align 8 %13, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %125, i32 0, i32 3
  %127 = load ptr, ptr %126, align 8, !tbaa !22
  %128 = load i16, ptr %10, align 2, !tbaa !20
  %129 = zext i16 %128 to i64
  %130 = getelementptr inbounds ptr, ptr %127, i64 %129
  %131 = load ptr, ptr %130, align 8, !tbaa !5
  %132 = load i16, ptr %12, align 2, !tbaa !20
  %133 = zext i16 %132 to i64
  %134 = getelementptr inbounds %struct.otl_PositionValue, ptr %131, i64 %133
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  call void (ptr, ...) @position_zero(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8 %14)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %134, ptr align 8 %14, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  br label %135

135:                                              ; preds = %114
  %136 = load i16, ptr %12, align 2, !tbaa !20
  %137 = add i16 %136, 1
  store i16 %137, ptr %12, align 2, !tbaa !20
  br label %107, !llvm.loop !26

138:                                              ; preds = %113
  br label %139

139:                                              ; preds = %138
  %140 = load i16, ptr %10, align 2, !tbaa !20
  %141 = add i16 %140, 1
  store i16 %141, ptr %10, align 2, !tbaa !20
  br label %79, !llvm.loop !28

142:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #5
  store i16 0, ptr %15, align 2, !tbaa !20
  br label %143

143:                                              ; preds = %284, %142
  %144 = load i16, ptr %15, align 2, !tbaa !20
  %145 = zext i16 %144 to i32
  %146 = load i16, ptr %8, align 2, !tbaa !20
  %147 = zext i16 %146 to i32
  %148 = icmp slt i32 %145, %147
  br i1 %148, label %149, label %157

149:                                              ; preds = %143
  %150 = load i16, ptr %15, align 2, !tbaa !20
  %151 = zext i16 %150 to i32
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct._json_value, ptr %152, i32 0, i32 2
  %154 = getelementptr inbounds %struct.anon.3, ptr %153, i32 0, i32 0
  %155 = load i32, ptr %154, align 8, !tbaa !29
  %156 = icmp ult i32 %151, %155
  br label %157

157:                                              ; preds = %149, %143
  %158 = phi i1 [ false, %143 ], [ %156, %149 ]
  br i1 %158, label %160, label %159

159:                                              ; preds = %157
  store i32 9, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #5
  br label %287

160:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._json_value, ptr %161, i32 0, i32 2
  %163 = getelementptr inbounds %struct.anon.3, ptr %162, i32 0, i32 1
  %164 = load ptr, ptr %163, align 8, !tbaa !29
  %165 = load i16, ptr %15, align 2, !tbaa !20
  %166 = zext i16 %165 to i64
  %167 = getelementptr inbounds ptr, ptr %164, i64 %166
  %168 = load ptr, ptr %167, align 8, !tbaa !5
  store ptr %168, ptr %16, align 8, !tbaa !5
  %169 = load ptr, ptr %16, align 8, !tbaa !5
  %170 = icmp ne ptr %169, null
  br i1 %170, label %171, label %176

171:                                              ; preds = %160
  %172 = load ptr, ptr %16, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct._json_value, ptr %172, i32 0, i32 1
  %174 = load i32, ptr %173, align 8, !tbaa !30
  %175 = icmp ne i32 %174, 2
  br i1 %175, label %176, label %177

176:                                              ; preds = %171, %160
  store i32 11, ptr %11, align 4
  br label %281

177:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #5
  store i16 0, ptr %17, align 2, !tbaa !20
  br label %178

178:                                              ; preds = %277, %177
  %179 = load i16, ptr %17, align 2, !tbaa !20
  %180 = zext i16 %179 to i32
  %181 = load i16, ptr %9, align 2, !tbaa !20
  %182 = zext i16 %181 to i32
  %183 = icmp slt i32 %180, %182
  br i1 %183, label %184, label %192

184:                                              ; preds = %178
  %185 = load i16, ptr %17, align 2, !tbaa !20
  %186 = zext i16 %185 to i32
  %187 = load ptr, ptr %16, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct._json_value, ptr %187, i32 0, i32 2
  %189 = getelementptr inbounds %struct.anon.3, ptr %188, i32 0, i32 0
  %190 = load i32, ptr %189, align 8, !tbaa !29
  %191 = icmp ult i32 %186, %190
  br label %192

192:                                              ; preds = %184, %178
  %193 = phi i1 [ false, %178 ], [ %191, %184 ]
  br i1 %193, label %195, label %194

194:                                              ; preds = %192
  store i32 12, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #5
  br label %280

195:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %196 = load ptr, ptr %16, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct._json_value, ptr %196, i32 0, i32 2
  %198 = getelementptr inbounds %struct.anon.3, ptr %197, i32 0, i32 1
  %199 = load ptr, ptr %198, align 8, !tbaa !29
  %200 = load i16, ptr %17, align 2, !tbaa !20
  %201 = zext i16 %200 to i64
  %202 = getelementptr inbounds ptr, ptr %199, i64 %201
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  store ptr %203, ptr %18, align 8, !tbaa !5
  %204 = load ptr, ptr %18, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct._json_value, ptr %204, i32 0, i32 1
  %206 = load i32, ptr %205, align 8, !tbaa !30
  %207 = icmp eq i32 %206, 3
  br i1 %207, label %208, label %224

208:                                              ; preds = %195
  %209 = load ptr, ptr %18, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct._json_value, ptr %209, i32 0, i32 2
  %211 = load i64, ptr %210, align 8, !tbaa !29
  %212 = sitofp i64 %211 to double
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %213, i32 0, i32 2
  %215 = load ptr, ptr %214, align 8, !tbaa !21
  %216 = load i16, ptr %15, align 2, !tbaa !20
  %217 = zext i16 %216 to i64
  %218 = getelementptr inbounds ptr, ptr %215, i64 %217
  %219 = load ptr, ptr %218, align 8, !tbaa !5
  %220 = load i16, ptr %17, align 2, !tbaa !20
  %221 = zext i16 %220 to i64
  %222 = getelementptr inbounds %struct.otl_PositionValue, ptr %219, i64 %221
  %223 = getelementptr inbounds %struct.otl_PositionValue, ptr %222, i32 0, i32 2
  store double %212, ptr %223, align 8, !tbaa !32
  br label %276

224:                                              ; preds = %195
  %225 = load ptr, ptr %18, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct._json_value, ptr %225, i32 0, i32 1
  %227 = load i32, ptr %226, align 8, !tbaa !30
  %228 = icmp eq i32 %227, 4
  br i1 %228, label %229, label %244

229:                                              ; preds = %224
  %230 = load ptr, ptr %18, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct._json_value, ptr %230, i32 0, i32 2
  %232 = load double, ptr %231, align 8, !tbaa !29
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %233, i32 0, i32 2
  %235 = load ptr, ptr %234, align 8, !tbaa !21
  %236 = load i16, ptr %15, align 2, !tbaa !20
  %237 = zext i16 %236 to i64
  %238 = getelementptr inbounds ptr, ptr %235, i64 %237
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = load i16, ptr %17, align 2, !tbaa !20
  %241 = zext i16 %240 to i64
  %242 = getelementptr inbounds %struct.otl_PositionValue, ptr %239, i64 %241
  %243 = getelementptr inbounds %struct.otl_PositionValue, ptr %242, i32 0, i32 2
  store double %232, ptr %243, align 8, !tbaa !32
  br label %275

244:                                              ; preds = %224
  %245 = load ptr, ptr %18, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct._json_value, ptr %245, i32 0, i32 1
  %247 = load i32, ptr %246, align 8, !tbaa !30
  %248 = icmp eq i32 %247, 1
  br i1 %248, label %249, label %274

249:                                              ; preds = %244
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %250, i32 0, i32 2
  %252 = load ptr, ptr %251, align 8, !tbaa !21
  %253 = load i16, ptr %15, align 2, !tbaa !20
  %254 = zext i16 %253 to i64
  %255 = getelementptr inbounds ptr, ptr %252, i64 %254
  %256 = load ptr, ptr %255, align 8, !tbaa !5
  %257 = load i16, ptr %17, align 2, !tbaa !20
  %258 = zext i16 %257 to i64
  %259 = getelementptr inbounds %struct.otl_PositionValue, ptr %256, i64 %258
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #5
  %260 = load ptr, ptr %18, align 8, !tbaa !5
  %261 = call ptr @json_obj_get(ptr noundef %260, ptr noundef @.str)
  call void @gpos_parse_value(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8 %19, ptr noundef %261)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %259, ptr align 8 %19, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.subtable_gpos_pair, ptr %262, i32 0, i32 3
  %264 = load ptr, ptr %263, align 8, !tbaa !22
  %265 = load i16, ptr %15, align 2, !tbaa !20
  %266 = zext i16 %265 to i64
  %267 = getelementptr inbounds ptr, ptr %264, i64 %266
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  %269 = load i16, ptr %17, align 2, !tbaa !20
  %270 = zext i16 %269 to i64
  %271 = getelementptr inbounds %struct.otl_PositionValue, ptr %268, i64 %270
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #5
  %272 = load ptr, ptr %18, align 8, !tbaa !5
  %273 = call ptr @json_obj_get(ptr noundef %272, ptr noundef @.str.1)
  call void @gpos_parse_value(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8 %20, ptr noundef %273)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %271, ptr align 8 %20, i64 32, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  br label %274

274:                                              ; preds = %249, %244
  br label %275

275:                                              ; preds = %274, %229
  br label %276

276:                                              ; preds = %275, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %277

277:                                              ; preds = %276
  %278 = load i16, ptr %17, align 2, !tbaa !20
  %279 = add i16 %278, 1
  store i16 %279, ptr %17, align 2, !tbaa !20
  br label %178, !llvm.loop !34

280:                                              ; preds = %194
  store i32 0, ptr %11, align 4
  br label %281

281:                                              ; preds = %280, %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %282 = load i32, ptr %11, align 4
  switch i32 %282, label %294 [
    i32 0, label %283
    i32 11, label %284
  ]

283:                                              ; preds = %281
  br label %284

284:                                              ; preds = %283, %281
  %285 = load i16, ptr %15, align 2, !tbaa !20
  %286 = add i16 %285, 1
  store i16 %286, ptr %15, align 2, !tbaa !20
  br label %143, !llvm.loop !35

287:                                              ; preds = %159
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %288, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %292

289:                                              ; preds = %49
  %290 = load ptr, ptr getelementptr inbounds (%struct.__caryll_elementinterface_subtable_gpos_pair, ptr @iSubtable_gpos_pair, i32 0, i32 7), align 8, !tbaa !36
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  call void %290(ptr noundef %291)
  store ptr null, ptr %3, align 8
  store i32 1, ptr %11, align 4
  br label %292

292:                                              ; preds = %289, %287
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %293 = load ptr, ptr %3, align 8
  ret ptr %293

294:                                              ; preds = %281
  unreachable
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @json_obj_get_type(ptr noundef, ptr noundef, i32 noundef) #1

declare void @gpos_parse_value(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8, ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @json_obj_get(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!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, !6, i64 48}
!10 = !{!"__caryll_elementinterface_subtable_gpos_pair", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!11 = !{!12, !6, i64 96}
!12 = !{!"__otfcc_IClassDef", !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}
!13 = !{!14, !6, i64 0}
!14 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!14, !6, i64 8}
!16 = !{!17, !18, i64 8}
!17 = !{!"", !18, i64 0, !19, i64 4, !18, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"short", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!18, !18, i64 0}
!21 = !{!14, !6, i64 16}
!22 = !{!14, !6, i64 24}
!23 = !{i64 0, i64 8, !24, i64 8, i64 8, !24, i64 16, i64 8, !24, i64 24, i64 8, !24}
!24 = !{!25, !25, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = !{!7, !7, i64 0}
!30 = !{!31, !19, i64 8}
!31 = !{!"_json_value", !6, i64 0, !19, i64 8, !7, i64 16, !7, i64 32}
!32 = !{!33, !25, i64 16}
!33 = !{!"", !25, i64 0, !25, i64 8, !25, i64 16, !25, i64 24}
!34 = distinct !{!34, !27}
!35 = distinct !{!35, !27}
!36 = !{!10, !6, i64 56}


; 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_subtable_gpos_pair = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__otfcc_IClassDef = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otl_PositionValue = type { double, double, double, double }

@iSubtable_gpos_pair = external dso_local local_unnamed_addr constant %struct.__caryll_elementinterface_subtable_gpos_pair, align 8
@otl_iClassDef = external local_unnamed_addr constant %struct.__otfcc_IClassDef, align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

declare void @position_zero(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8, ...) local_unnamed_addr #2

; Function Attrs: mustprogress 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) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @otl_gpos_parse_pair(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #4 {
  %3 = alloca %struct.otl_PositionValue, align 8
  %4 = alloca %struct.otl_PositionValue, align 8
  %5 = alloca %struct.otl_PositionValue, align 8
  %6 = alloca %struct.otl_PositionValue, align 8
  %7 = load ptr, ptr getelementptr inbounds (i8, ptr @iSubtable_gpos_pair, i64 48), align 8, !tbaa !5
  %8 = tail call ptr (...) %7() #5
  %9 = tail call ptr @json_obj_get_type(ptr noundef %0, ptr noundef nonnull @.str.2, i32 noundef 2)
  %10 = load ptr, ptr getelementptr inbounds (i8, ptr @otl_iClassDef, i64 96), align 8, !tbaa !10
  %11 = tail call ptr @json_obj_get_type(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1)
  %12 = tail call ptr %10(ptr noundef %11) #5
  store ptr %12, ptr %8, align 8, !tbaa !12
  %13 = tail call ptr @json_obj_get_type(ptr noundef %0, ptr noundef nonnull @.str.1, i32 noundef 1)
  %14 = tail call ptr %10(ptr noundef %13) #5
  %15 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %14, ptr %15, align 8, !tbaa !14
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %105, label %16

16:                                               ; preds = %2
  %17 = load ptr, ptr %8, align 8, !tbaa !12
  %.not83 = icmp eq ptr %17, null
  %.not84 = icmp eq ptr %14, null
  %or.cond = select i1 %.not83, i1 true, i1 %.not84
  br i1 %or.cond, label %105, label %18

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %17, i64 8
  %20 = load i16, ptr %19, align 8, !tbaa !15
  %21 = add i16 %20, 1
  %22 = getelementptr inbounds i8, ptr %14, i64 8
  %23 = load i16, ptr %22, align 8, !tbaa !15
  %.fr = freeze i16 %23
  %24 = add i16 %.fr, 1
  %25 = zext i16 %21 to i64
  %26 = shl nuw nsw i64 %25, 3
  %27 = tail call ptr @__caryll_allocate_clean(i64 noundef %26, i64 noundef 224)
  %28 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %27, ptr %28, align 8, !tbaa !19
  %29 = tail call ptr @__caryll_allocate_clean(i64 noundef %26, i64 noundef 225)
  %30 = getelementptr inbounds i8, ptr %8, i64 24
  store ptr %29, ptr %30, align 8, !tbaa !20
  %.not99 = icmp eq i16 %21, 0
  br i1 %.not99, label %.critedge, label %.lr.ph91

.lr.ph91:                                         ; preds = %18
  %31 = zext i16 %24 to i64
  %32 = shl nuw nsw i64 %31, 5
  %.not101 = icmp eq i16 %24, 0
  br i1 %.not101, label %.lr.ph91.split, label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph91, %._crit_edge.us
  %indvars.iv107 = phi i64 [ %indvars.iv.next108, %._crit_edge.us ], [ 0, %.lr.ph91 ]
  %33 = call ptr @__caryll_allocate_clean(i64 noundef %32, i64 noundef 228)
  %34 = load ptr, ptr %28, align 8, !tbaa !19
  %35 = getelementptr inbounds ptr, ptr %34, i64 %indvars.iv107
  store ptr %33, ptr %35, align 8, !tbaa !21
  %36 = call ptr @__caryll_allocate_clean(i64 noundef %32, i64 noundef 229)
  %37 = load ptr, ptr %30, align 8, !tbaa !20
  %38 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv107
  store ptr %36, ptr %38, align 8, !tbaa !21
  br label %39

39:                                               ; preds = %.lr.ph.us, %39
  %indvars.iv = phi i64 [ 0, %.lr.ph.us ], [ %indvars.iv.next, %39 ]
  %40 = load ptr, ptr %28, align 8, !tbaa !19
  %41 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv107
  %42 = load ptr, ptr %41, align 8, !tbaa !21
  %43 = getelementptr inbounds %struct.otl_PositionValue, ptr %42, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void (ptr, ...) @position_zero(ptr dead_on_unwind nonnull writable sret(%struct.otl_PositionValue) align 8 %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 32, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  %44 = load ptr, ptr %30, align 8, !tbaa !20
  %45 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv107
  %46 = load ptr, ptr %45, align 8, !tbaa !21
  %47 = getelementptr inbounds %struct.otl_PositionValue, ptr %46, i64 %indvars.iv
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  call void (ptr, ...) @position_zero(ptr dead_on_unwind nonnull writable sret(%struct.otl_PositionValue) align 8 %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 32, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %31
  br i1 %exitcond.not, label %._crit_edge.us, label %39, !llvm.loop !25

._crit_edge.us:                                   ; preds = %39
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %exitcond111.not = icmp eq i64 %indvars.iv.next108, %25
  br i1 %exitcond111.not, label %.preheader87, label %.lr.ph.us, !llvm.loop !27

.preheader87:                                     ; preds = %._crit_edge.us, %.lr.ph91.split
  br i1 %.not99, label %.critedge, label %.lr.ph95

.lr.ph95:                                         ; preds = %.preheader87
  %48 = getelementptr inbounds i8, ptr %9, i64 16
  %49 = getelementptr inbounds i8, ptr %9, i64 24
  %.not103 = icmp eq i16 %24, 0
  br i1 %.not103, label %.critedge, label %.lr.ph95.split.us.preheader

.lr.ph95.split.us.preheader:                      ; preds = %.lr.ph95
  %wide.trip.count120 = zext i16 %24 to i64
  br label %.lr.ph95.split.us

.lr.ph95.split.us:                                ; preds = %.lr.ph95.split.us.preheader, %.critedge2.us
  %indvars.iv122 = phi i64 [ 0, %.lr.ph95.split.us.preheader ], [ %indvars.iv.next123, %.critedge2.us ]
  %50 = trunc nuw i64 %indvars.iv122 to i32
  %51 = load i32, ptr %48, align 8, !tbaa !28
  %52 = icmp ugt i32 %51, %50
  br i1 %52, label %53, label %.critedge

53:                                               ; preds = %.lr.ph95.split.us
  %54 = load ptr, ptr %49, align 8, !tbaa !28
  %55 = getelementptr inbounds ptr, ptr %54, i64 %indvars.iv122
  %56 = load ptr, ptr %55, align 8, !tbaa !21
  %.not85.us = icmp eq ptr %56, null
  br i1 %.not85.us, label %.critedge2.us, label %57

57:                                               ; preds = %53
  %58 = getelementptr inbounds i8, ptr %56, i64 8
  %59 = load i32, ptr %58, align 8, !tbaa !29
  %.not86.us = icmp eq i32 %59, 2
  br i1 %.not86.us, label %.preheader.us, label %.critedge2.us

60:                                               ; preds = %.preheader.us, %96
  %indvars.iv117 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next118, %96 ]
  %61 = trunc nuw i64 %indvars.iv117 to i32
  %62 = load i32, ptr %97, align 8, !tbaa !28
  %63 = icmp ugt i32 %62, %61
  br i1 %63, label %64, label %.critedge2.us

64:                                               ; preds = %60
  %65 = load ptr, ptr %98, align 8, !tbaa !28
  %66 = getelementptr inbounds ptr, ptr %65, i64 %indvars.iv117
  %67 = load ptr, ptr %66, align 8, !tbaa !21
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = load i32, ptr %68, align 8, !tbaa !29
  switch i32 %69, label %96 [
    i32 3, label %88
    i32 4, label %81
    i32 1, label %70
  ]

70:                                               ; preds = %64
  %71 = load ptr, ptr %28, align 8, !tbaa !19
  %72 = getelementptr inbounds ptr, ptr %71, i64 %indvars.iv122
  %73 = load ptr, ptr %72, align 8, !tbaa !21
  %74 = getelementptr inbounds %struct.otl_PositionValue, ptr %73, i64 %indvars.iv117
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  %75 = call ptr @json_obj_get(ptr noundef nonnull %67, ptr noundef nonnull @.str)
  call void @gpos_parse_value(ptr dead_on_unwind nonnull writable sret(%struct.otl_PositionValue) align 8 %5, ptr noundef %75) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull align 8 dereferenceable(32) %5, i64 32, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  %76 = load ptr, ptr %30, align 8, !tbaa !20
  %77 = getelementptr inbounds ptr, ptr %76, i64 %indvars.iv122
  %78 = load ptr, ptr %77, align 8, !tbaa !21
  %79 = getelementptr inbounds %struct.otl_PositionValue, ptr %78, i64 %indvars.iv117
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  %80 = call ptr @json_obj_get(ptr noundef nonnull %67, ptr noundef nonnull @.str.1)
  call void @gpos_parse_value(ptr dead_on_unwind nonnull writable sret(%struct.otl_PositionValue) align 8 %6, ptr noundef %80) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  br label %96

81:                                               ; preds = %64
  %82 = getelementptr inbounds i8, ptr %67, i64 16
  %83 = load double, ptr %82, align 8, !tbaa !28
  %84 = load ptr, ptr %28, align 8, !tbaa !19
  %85 = getelementptr inbounds ptr, ptr %84, i64 %indvars.iv122
  %86 = load ptr, ptr %85, align 8, !tbaa !21
  %87 = getelementptr inbounds %struct.otl_PositionValue, ptr %86, i64 %indvars.iv117, i32 2
  store double %83, ptr %87, align 8, !tbaa !31
  br label %96

88:                                               ; preds = %64
  %89 = getelementptr inbounds i8, ptr %67, i64 16
  %90 = load i64, ptr %89, align 8, !tbaa !28
  %91 = sitofp i64 %90 to double
  %92 = load ptr, ptr %28, align 8, !tbaa !19
  %93 = getelementptr inbounds ptr, ptr %92, i64 %indvars.iv122
  %94 = load ptr, ptr %93, align 8, !tbaa !21
  %95 = getelementptr inbounds %struct.otl_PositionValue, ptr %94, i64 %indvars.iv117, i32 2
  store double %91, ptr %95, align 8, !tbaa !31
  br label %96

96:                                               ; preds = %88, %81, %70, %64
  %indvars.iv.next118 = add nuw nsw i64 %indvars.iv117, 1
  %exitcond121.not = icmp eq i64 %indvars.iv.next118, %wide.trip.count120
  br i1 %exitcond121.not, label %.critedge2.us, label %60, !llvm.loop !33

.critedge2.us:                                    ; preds = %60, %96, %57, %53
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %exitcond126.not = icmp eq i64 %indvars.iv.next123, %25
  br i1 %exitcond126.not, label %.critedge, label %.lr.ph95.split.us, !llvm.loop !34

.preheader.us:                                    ; preds = %57
  %97 = getelementptr inbounds i8, ptr %56, i64 16
  %98 = getelementptr inbounds i8, ptr %56, i64 24
  br label %60

.lr.ph91.split:                                   ; preds = %.lr.ph91, %.lr.ph91.split
  %indvars.iv112 = phi i64 [ %indvars.iv.next113, %.lr.ph91.split ], [ 0, %.lr.ph91 ]
  %99 = tail call ptr @__caryll_allocate_clean(i64 noundef %32, i64 noundef 228)
  %100 = load ptr, ptr %28, align 8, !tbaa !19
  %101 = getelementptr inbounds ptr, ptr %100, i64 %indvars.iv112
  store ptr %99, ptr %101, align 8, !tbaa !21
  %102 = tail call ptr @__caryll_allocate_clean(i64 noundef %32, i64 noundef 229)
  %103 = load ptr, ptr %30, align 8, !tbaa !20
  %104 = getelementptr inbounds ptr, ptr %103, i64 %indvars.iv112
  store ptr %102, ptr %104, align 8, !tbaa !21
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %exitcond116.not = icmp eq i64 %indvars.iv.next113, %25
  br i1 %exitcond116.not, label %.preheader87, label %.lr.ph91.split, !llvm.loop !27

105:                                              ; preds = %2, %16
  %106 = load ptr, ptr getelementptr inbounds (i8, ptr @iSubtable_gpos_pair, i64 56), align 8, !tbaa !35
  tail call void %106(ptr noundef nonnull %8) #5
  br label %.critedge

.critedge:                                        ; preds = %.critedge2.us, %.lr.ph95.split.us, %18, %.lr.ph95, %.preheader87, %105
  %.0 = phi ptr [ null, %105 ], [ %8, %.preheader87 ], [ %8, %.lr.ph95 ], [ %8, %18 ], [ %8, %.lr.ph95.split.us ], [ %8, %.critedge2.us ]
  ret ptr %.0
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @json_obj_get_type(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @gpos_parse_value(ptr dead_on_unwind writable sret(%struct.otl_PositionValue) align 8, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @json_obj_get(ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 48}
!6 = !{!"__caryll_elementinterface_subtable_gpos_pair", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 96}
!11 = !{!"__otfcc_IClassDef", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112}
!12 = !{!13, !7, i64 0}
!13 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!14 = !{!13, !7, i64 8}
!15 = !{!16, !17, i64 8}
!16 = !{!"", !17, i64 0, !18, i64 4, !17, i64 8, !7, i64 16, !7, i64 24}
!17 = !{!"short", !8, i64 0}
!18 = !{!"int", !8, i64 0}
!19 = !{!13, !7, i64 16}
!20 = !{!13, !7, i64 24}
!21 = !{!7, !7, i64 0}
!22 = !{i64 0, i64 8, !23, i64 8, i64 8, !23, i64 16, i64 8, !23, i64 24, i64 8, !23}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !8, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!8, !8, i64 0}
!29 = !{!30, !18, i64 8}
!30 = !{!"_json_value", !7, i64 0, !18, i64 8, !8, i64 16, !8, i64 32}
!31 = !{!32, !24, i64 16}
!32 = !{!"", !24, i64 0, !24, i64 8, !24, i64 16, !24, i64 24}
!33 = distinct !{!33, !26}
!34 = distinct !{!34, !26}
!35 = !{!6, !7, i64 56}


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