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

; 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.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 }
%struct.table_OS_2 = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, [10 x i8], i32, i32, i32, i32, [4 x i8], i16, i16, i16, i16, i16, i16, i16, i16, i32, i32, i16, i16, i16, i16, i16, i16, i16 }

@fsTypeLabels = external dso_local global [11 x ptr], align 16
@fsSelectionLabels = external dso_local global [11 x ptr], align 16
@codePageLabels1 = external dso_local global [33 x ptr], align 16
@codePageLabels2 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels1 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels2 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels3 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels4 = external dso_local global [28 x ptr], align 16
@.str.208 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.220 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.234 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.235 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.236 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.237 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.238 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.239 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.240 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.243 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.244 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.245 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.247 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [5 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

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

declare ptr @sdsempty() #1

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

; Function Attrs: nounwind uwtable
define dso_local void @otfcc_dumpOS_2(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = icmp ne ptr %13, null
  br i1 %14, label %16, label %15

15:                                               ; preds = %3
  br label %331

16:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.otfcc_Options, ptr %17, i32 0, i32 24
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.otfcc_ILogger, ptr %19, i32 0, i32 4
  %21 = load ptr, ptr %20, align 8, !tbaa !12
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.otfcc_Options, ptr %22, i32 0, i32 24
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = call ptr @sdsempty()
  %26 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %25, ptr noundef @.str.208)
  call void %21(ptr noundef %24, ptr noundef %26)
  store i8 1, ptr %7, align 1, !tbaa !14
  br label %27

27:                                               ; preds = %322, %16
  %28 = load i8, ptr %7, align 1, !tbaa !14, !range !15, !noundef !16
  %29 = trunc i8 %28 to i1
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  br label %331

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %32 = call ptr @json_object_new(i64 noundef 30)
  store ptr %32, ptr %9, align 8, !tbaa !5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.table_OS_2, ptr %34, i32 0, i32 0
  %36 = load i16, ptr %35, align 4, !tbaa !17
  %37 = zext i16 %36 to i64
  %38 = call ptr @json_integer_new(i64 noundef %37)
  %39 = call ptr @json_object_push(ptr noundef %33, ptr noundef @.str.209, ptr noundef %38)
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.table_OS_2, ptr %41, i32 0, i32 1
  %43 = load i16, ptr %42, align 2, !tbaa !21
  %44 = sext i16 %43 to i64
  %45 = call ptr @json_integer_new(i64 noundef %44)
  %46 = call ptr @json_object_push(ptr noundef %40, ptr noundef @.str.210, ptr noundef %45)
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.table_OS_2, ptr %48, i32 0, i32 2
  %50 = load i16, ptr %49, align 4, !tbaa !22
  %51 = zext i16 %50 to i64
  %52 = call ptr @json_integer_new(i64 noundef %51)
  %53 = call ptr @json_object_push(ptr noundef %47, ptr noundef @.str.211, ptr noundef %52)
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.table_OS_2, ptr %55, i32 0, i32 3
  %57 = load i16, ptr %56, align 2, !tbaa !23
  %58 = zext i16 %57 to i64
  %59 = call ptr @json_integer_new(i64 noundef %58)
  %60 = call ptr @json_object_push(ptr noundef %54, ptr noundef @.str.212, ptr noundef %59)
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.table_OS_2, ptr %62, i32 0, i32 4
  %64 = load i16, ptr %63, align 4, !tbaa !24
  %65 = zext i16 %64 to i32
  %66 = call ptr @otfcc_dump_flags(i32 noundef %65, ptr noundef @fsTypeLabels)
  %67 = call ptr @json_object_push(ptr noundef %61, ptr noundef @.str.213, ptr noundef %66)
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.table_OS_2, ptr %69, i32 0, i32 5
  %71 = load i16, ptr %70, align 2, !tbaa !25
  %72 = sext i16 %71 to i64
  %73 = call ptr @json_integer_new(i64 noundef %72)
  %74 = call ptr @json_object_push(ptr noundef %68, ptr noundef @.str.214, ptr noundef %73)
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.table_OS_2, ptr %76, i32 0, i32 6
  %78 = load i16, ptr %77, align 4, !tbaa !26
  %79 = sext i16 %78 to i64
  %80 = call ptr @json_integer_new(i64 noundef %79)
  %81 = call ptr @json_object_push(ptr noundef %75, ptr noundef @.str.215, ptr noundef %80)
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.table_OS_2, ptr %83, i32 0, i32 7
  %85 = load i16, ptr %84, align 2, !tbaa !27
  %86 = sext i16 %85 to i64
  %87 = call ptr @json_integer_new(i64 noundef %86)
  %88 = call ptr @json_object_push(ptr noundef %82, ptr noundef @.str.216, ptr noundef %87)
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.table_OS_2, ptr %90, i32 0, i32 8
  %92 = load i16, ptr %91, align 4, !tbaa !28
  %93 = sext i16 %92 to i64
  %94 = call ptr @json_integer_new(i64 noundef %93)
  %95 = call ptr @json_object_push(ptr noundef %89, ptr noundef @.str.217, ptr noundef %94)
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.table_OS_2, ptr %97, i32 0, i32 9
  %99 = load i16, ptr %98, align 2, !tbaa !29
  %100 = sext i16 %99 to i64
  %101 = call ptr @json_integer_new(i64 noundef %100)
  %102 = call ptr @json_object_push(ptr noundef %96, ptr noundef @.str.218, ptr noundef %101)
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.table_OS_2, ptr %104, i32 0, i32 10
  %106 = load i16, ptr %105, align 4, !tbaa !30
  %107 = sext i16 %106 to i64
  %108 = call ptr @json_integer_new(i64 noundef %107)
  %109 = call ptr @json_object_push(ptr noundef %103, ptr noundef @.str.219, ptr noundef %108)
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.table_OS_2, ptr %111, i32 0, i32 11
  %113 = load i16, ptr %112, align 2, !tbaa !31
  %114 = sext i16 %113 to i64
  %115 = call ptr @json_integer_new(i64 noundef %114)
  %116 = call ptr @json_object_push(ptr noundef %110, ptr noundef @.str.220, ptr noundef %115)
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.table_OS_2, ptr %118, i32 0, i32 12
  %120 = load i16, ptr %119, align 4, !tbaa !32
  %121 = sext i16 %120 to i64
  %122 = call ptr @json_integer_new(i64 noundef %121)
  %123 = call ptr @json_object_push(ptr noundef %117, ptr noundef @.str.221, ptr noundef %122)
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.table_OS_2, ptr %125, i32 0, i32 13
  %127 = load i16, ptr %126, align 2, !tbaa !33
  %128 = sext i16 %127 to i64
  %129 = call ptr @json_integer_new(i64 noundef %128)
  %130 = call ptr @json_object_push(ptr noundef %124, ptr noundef @.str.222, ptr noundef %129)
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.table_OS_2, ptr %132, i32 0, i32 14
  %134 = load i16, ptr %133, align 4, !tbaa !34
  %135 = sext i16 %134 to i64
  %136 = call ptr @json_integer_new(i64 noundef %135)
  %137 = call ptr @json_object_push(ptr noundef %131, ptr noundef @.str.223, ptr noundef %136)
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.table_OS_2, ptr %139, i32 0, i32 15
  %141 = load i16, ptr %140, align 2, !tbaa !35
  %142 = sext i16 %141 to i64
  %143 = call ptr @json_integer_new(i64 noundef %142)
  %144 = call ptr @json_object_push(ptr noundef %138, ptr noundef @.str.224, ptr noundef %143)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %145 = call ptr @json_array_new(i64 noundef 10)
  store ptr %145, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  store i8 0, ptr %11, align 1, !tbaa !36
  br label %146

146:                                              ; preds = %162, %31
  %147 = load i8, ptr %11, align 1, !tbaa !36
  %148 = zext i8 %147 to i32
  %149 = icmp slt i32 %148, 10
  br i1 %149, label %151, label %150

150:                                              ; preds = %146
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  br label %165

151:                                              ; preds = %146
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.table_OS_2, ptr %153, i32 0, i32 16
  %155 = load i8, ptr %11, align 1, !tbaa !36
  %156 = zext i8 %155 to i64
  %157 = getelementptr inbounds [10 x i8], ptr %154, i64 0, i64 %156
  %158 = load i8, ptr %157, align 1, !tbaa !36
  %159 = zext i8 %158 to i64
  %160 = call ptr @json_integer_new(i64 noundef %159)
  %161 = call ptr @json_array_push(ptr noundef %152, ptr noundef %160)
  br label %162

162:                                              ; preds = %151
  %163 = load i8, ptr %11, align 1, !tbaa !36
  %164 = add i8 %163, 1
  store i8 %164, ptr %11, align 1, !tbaa !36
  br label %146, !llvm.loop !37

165:                                              ; preds = %150
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  %168 = call ptr @json_object_push(ptr noundef %166, ptr noundef @.str.225, ptr noundef %167)
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.table_OS_2, ptr %170, i32 0, i32 17
  %172 = load i32, ptr %171, align 4, !tbaa !39
  %173 = call ptr @otfcc_dump_flags(i32 noundef %172, ptr noundef @unicodeRangeLabels1)
  %174 = call ptr @json_object_push(ptr noundef %169, ptr noundef @.str.226, ptr noundef %173)
  %175 = load ptr, ptr %9, align 8, !tbaa !5
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.table_OS_2, ptr %176, i32 0, i32 18
  %178 = load i32, ptr %177, align 4, !tbaa !40
  %179 = call ptr @otfcc_dump_flags(i32 noundef %178, ptr noundef @unicodeRangeLabels2)
  %180 = call ptr @json_object_push(ptr noundef %175, ptr noundef @.str.227, ptr noundef %179)
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.table_OS_2, ptr %182, i32 0, i32 19
  %184 = load i32, ptr %183, align 4, !tbaa !41
  %185 = call ptr @otfcc_dump_flags(i32 noundef %184, ptr noundef @unicodeRangeLabels3)
  %186 = call ptr @json_object_push(ptr noundef %181, ptr noundef @.str.228, ptr noundef %185)
  %187 = load ptr, ptr %9, align 8, !tbaa !5
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.table_OS_2, ptr %188, i32 0, i32 20
  %190 = load i32, ptr %189, align 4, !tbaa !42
  %191 = call ptr @otfcc_dump_flags(i32 noundef %190, ptr noundef @unicodeRangeLabels4)
  %192 = call ptr @json_object_push(ptr noundef %187, ptr noundef @.str.229, ptr noundef %191)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.table_OS_2, ptr %193, i32 0, i32 21
  %195 = getelementptr inbounds [4 x i8], ptr %194, i64 0, i64 0
  %196 = call ptr @sdsnewlen(ptr noundef %195, i64 noundef 4)
  store ptr %196, ptr %12, align 8, !tbaa !5
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = load ptr, ptr %12, align 8, !tbaa !5
  %199 = call ptr @json_string_new(ptr noundef %198)
  %200 = call ptr @json_object_push(ptr noundef %197, ptr noundef @.str.230, ptr noundef %199)
  %201 = load ptr, ptr %12, align 8, !tbaa !5
  call void @sdsfree(ptr noundef %201)
  %202 = load ptr, ptr %9, align 8, !tbaa !5
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.table_OS_2, ptr %203, i32 0, i32 22
  %205 = load i16, ptr %204, align 4, !tbaa !43
  %206 = zext i16 %205 to i32
  %207 = call ptr @otfcc_dump_flags(i32 noundef %206, ptr noundef @fsSelectionLabels)
  %208 = call ptr @json_object_push(ptr noundef %202, ptr noundef @.str.231, ptr noundef %207)
  %209 = load ptr, ptr %9, align 8, !tbaa !5
  %210 = load ptr, ptr %4, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.table_OS_2, ptr %210, i32 0, i32 23
  %212 = load i16, ptr %211, align 2, !tbaa !44
  %213 = zext i16 %212 to i64
  %214 = call ptr @json_integer_new(i64 noundef %213)
  %215 = call ptr @json_object_push(ptr noundef %209, ptr noundef @.str.232, ptr noundef %214)
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.table_OS_2, ptr %217, i32 0, i32 24
  %219 = load i16, ptr %218, align 4, !tbaa !45
  %220 = zext i16 %219 to i64
  %221 = call ptr @json_integer_new(i64 noundef %220)
  %222 = call ptr @json_object_push(ptr noundef %216, ptr noundef @.str.233, ptr noundef %221)
  %223 = load ptr, ptr %9, align 8, !tbaa !5
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.table_OS_2, ptr %224, i32 0, i32 25
  %226 = load i16, ptr %225, align 2, !tbaa !46
  %227 = sext i16 %226 to i64
  %228 = call ptr @json_integer_new(i64 noundef %227)
  %229 = call ptr @json_object_push(ptr noundef %223, ptr noundef @.str.234, ptr noundef %228)
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.table_OS_2, ptr %231, i32 0, i32 26
  %233 = load i16, ptr %232, align 4, !tbaa !47
  %234 = sext i16 %233 to i64
  %235 = call ptr @json_integer_new(i64 noundef %234)
  %236 = call ptr @json_object_push(ptr noundef %230, ptr noundef @.str.235, ptr noundef %235)
  %237 = load ptr, ptr %9, align 8, !tbaa !5
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.table_OS_2, ptr %238, i32 0, i32 27
  %240 = load i16, ptr %239, align 2, !tbaa !48
  %241 = sext i16 %240 to i64
  %242 = call ptr @json_integer_new(i64 noundef %241)
  %243 = call ptr @json_object_push(ptr noundef %237, ptr noundef @.str.236, ptr noundef %242)
  %244 = load ptr, ptr %9, align 8, !tbaa !5
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.table_OS_2, ptr %245, i32 0, i32 28
  %247 = load i16, ptr %246, align 4, !tbaa !49
  %248 = zext i16 %247 to i64
  %249 = call ptr @json_integer_new(i64 noundef %248)
  %250 = call ptr @json_object_push(ptr noundef %244, ptr noundef @.str.237, ptr noundef %249)
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.table_OS_2, ptr %252, i32 0, i32 29
  %254 = load i16, ptr %253, align 2, !tbaa !50
  %255 = zext i16 %254 to i64
  %256 = call ptr @json_integer_new(i64 noundef %255)
  %257 = call ptr @json_object_push(ptr noundef %251, ptr noundef @.str.238, ptr noundef %256)
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = load ptr, ptr %4, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.table_OS_2, ptr %259, i32 0, i32 30
  %261 = load i32, ptr %260, align 4, !tbaa !51
  %262 = call ptr @otfcc_dump_flags(i32 noundef %261, ptr noundef @codePageLabels1)
  %263 = call ptr @json_object_push(ptr noundef %258, ptr noundef @.str.239, ptr noundef %262)
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = load ptr, ptr %4, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.table_OS_2, ptr %265, i32 0, i32 31
  %267 = load i32, ptr %266, align 4, !tbaa !52
  %268 = call ptr @otfcc_dump_flags(i32 noundef %267, ptr noundef @codePageLabels2)
  %269 = call ptr @json_object_push(ptr noundef %264, ptr noundef @.str.240, ptr noundef %268)
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = load ptr, ptr %4, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.table_OS_2, ptr %271, i32 0, i32 32
  %273 = load i16, ptr %272, align 4, !tbaa !53
  %274 = sext i16 %273 to i64
  %275 = call ptr @json_integer_new(i64 noundef %274)
  %276 = call ptr @json_object_push(ptr noundef %270, ptr noundef @.str.241, ptr noundef %275)
  %277 = load ptr, ptr %9, align 8, !tbaa !5
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.table_OS_2, ptr %278, i32 0, i32 33
  %280 = load i16, ptr %279, align 2, !tbaa !54
  %281 = sext i16 %280 to i64
  %282 = call ptr @json_integer_new(i64 noundef %281)
  %283 = call ptr @json_object_push(ptr noundef %277, ptr noundef @.str.242, ptr noundef %282)
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  %285 = load ptr, ptr %4, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.table_OS_2, ptr %285, i32 0, i32 34
  %287 = load i16, ptr %286, align 4, !tbaa !55
  %288 = zext i16 %287 to i64
  %289 = call ptr @json_integer_new(i64 noundef %288)
  %290 = call ptr @json_object_push(ptr noundef %284, ptr noundef @.str.243, ptr noundef %289)
  %291 = load ptr, ptr %9, align 8, !tbaa !5
  %292 = load ptr, ptr %4, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.table_OS_2, ptr %292, i32 0, i32 35
  %294 = load i16, ptr %293, align 2, !tbaa !56
  %295 = zext i16 %294 to i64
  %296 = call ptr @json_integer_new(i64 noundef %295)
  %297 = call ptr @json_object_push(ptr noundef %291, ptr noundef @.str.244, ptr noundef %296)
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = load ptr, ptr %4, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.table_OS_2, ptr %299, i32 0, i32 36
  %301 = load i16, ptr %300, align 4, !tbaa !57
  %302 = zext i16 %301 to i64
  %303 = call ptr @json_integer_new(i64 noundef %302)
  %304 = call ptr @json_object_push(ptr noundef %298, ptr noundef @.str.245, ptr noundef %303)
  %305 = load ptr, ptr %9, align 8, !tbaa !5
  %306 = load ptr, ptr %4, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.table_OS_2, ptr %306, i32 0, i32 37
  %308 = load i16, ptr %307, align 2, !tbaa !58
  %309 = zext i16 %308 to i64
  %310 = call ptr @json_integer_new(i64 noundef %309)
  %311 = call ptr @json_object_push(ptr noundef %305, ptr noundef @.str.246, ptr noundef %310)
  %312 = load ptr, ptr %9, align 8, !tbaa !5
  %313 = load ptr, ptr %4, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.table_OS_2, ptr %313, i32 0, i32 38
  %315 = load i16, ptr %314, align 4, !tbaa !59
  %316 = zext i16 %315 to i64
  %317 = call ptr @json_integer_new(i64 noundef %316)
  %318 = call ptr @json_object_push(ptr noundef %312, ptr noundef @.str.247, ptr noundef %317)
  %319 = load ptr, ptr %5, align 8, !tbaa !5
  %320 = load ptr, ptr %9, align 8, !tbaa !5
  %321 = call ptr @json_object_push(ptr noundef %319, ptr noundef @.str.248, ptr noundef %320)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %322

322:                                              ; preds = %165
  store i8 0, ptr %7, align 1, !tbaa !14
  %323 = load ptr, ptr %6, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.otfcc_Options, ptr %323, i32 0, i32 24
  %325 = load ptr, ptr %324, align 8, !tbaa !9
  %326 = getelementptr inbounds %struct.otfcc_ILogger, ptr %325, i32 0, i32 8
  %327 = load ptr, ptr %326, align 8, !tbaa !60
  %328 = load ptr, ptr %6, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.otfcc_Options, ptr %328, i32 0, i32 24
  %330 = load ptr, ptr %329, align 8, !tbaa !9
  call void %327(ptr noundef %330)
  br label %27, !llvm.loop !61

331:                                              ; preds = %30, %15
  ret void
}

declare ptr @json_object_new(i64 noundef) #1

declare ptr @json_object_push(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @json_integer_new(i64 noundef) #1

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

declare ptr @json_array_new(i64 noundef) #1

declare ptr @json_array_push(ptr noundef, ptr noundef) #1

declare ptr @sdsnewlen(ptr noundef, i64 noundef) #1

declare ptr @json_string_new(ptr noundef) #1

declare void @sdsfree(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { 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 = { 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 32}
!10 = !{!"", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !11, i64 9, !11, i64 10, !11, i64 11, !11, i64 12, !11, i64 13, !11, i64 14, !11, i64 15, !11, i64 16, !11, i64 17, !11, i64 18, !11, i64 19, !11, i64 20, !11, i64 21, !11, i64 22, !6, i64 24, !6, i64 32}
!11 = !{!"_Bool", !7, i64 0}
!12 = !{!13, !6, i64 32}
!13 = !{!"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}
!14 = !{!11, !11, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !19, i64 0}
!18 = !{!"", !19, i64 0, !19, i64 2, !19, i64 4, !19, i64 6, !19, i64 8, !19, i64 10, !19, i64 12, !19, i64 14, !19, i64 16, !19, i64 18, !19, i64 20, !19, i64 22, !19, i64 24, !19, i64 26, !19, i64 28, !19, i64 30, !7, i64 32, !20, i64 44, !20, i64 48, !20, i64 52, !20, i64 56, !7, i64 60, !19, i64 64, !19, i64 66, !19, i64 68, !19, i64 70, !19, i64 72, !19, i64 74, !19, i64 76, !19, i64 78, !20, i64 80, !20, i64 84, !19, i64 88, !19, i64 90, !19, i64 92, !19, i64 94, !19, i64 96, !19, i64 98, !19, i64 100}
!19 = !{!"short", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!18, !19, i64 2}
!22 = !{!18, !19, i64 4}
!23 = !{!18, !19, i64 6}
!24 = !{!18, !19, i64 8}
!25 = !{!18, !19, i64 10}
!26 = !{!18, !19, i64 12}
!27 = !{!18, !19, i64 14}
!28 = !{!18, !19, i64 16}
!29 = !{!18, !19, i64 18}
!30 = !{!18, !19, i64 20}
!31 = !{!18, !19, i64 22}
!32 = !{!18, !19, i64 24}
!33 = !{!18, !19, i64 26}
!34 = !{!18, !19, i64 28}
!35 = !{!18, !19, i64 30}
!36 = !{!7, !7, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!18, !20, i64 44}
!40 = !{!18, !20, i64 48}
!41 = !{!18, !20, i64 52}
!42 = !{!18, !20, i64 56}
!43 = !{!18, !19, i64 64}
!44 = !{!18, !19, i64 66}
!45 = !{!18, !19, i64 68}
!46 = !{!18, !19, i64 70}
!47 = !{!18, !19, i64 72}
!48 = !{!18, !19, i64 74}
!49 = !{!18, !19, i64 76}
!50 = !{!18, !19, i64 78}
!51 = !{!18, !20, i64 80}
!52 = !{!18, !20, i64 84}
!53 = !{!18, !19, i64 88}
!54 = !{!18, !19, i64 90}
!55 = !{!18, !19, i64 92}
!56 = !{!18, !19, i64 94}
!57 = !{!18, !19, i64 96}
!58 = !{!18, !19, i64 98}
!59 = !{!18, !19, i64 100}
!60 = !{!13, !6, i64 64}
!61 = distinct !{!61, !38}


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

@fsTypeLabels = external dso_local global [11 x ptr], align 16
@fsSelectionLabels = external dso_local global [11 x ptr], align 16
@codePageLabels1 = external dso_local global [33 x ptr], align 16
@codePageLabels2 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels1 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels2 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels3 = external dso_local global [33 x ptr], align 16
@unicodeRangeLabels4 = external dso_local global [28 x ptr], align 16
@.str.208 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.220 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.234 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.235 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.236 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.237 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.238 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.239 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.240 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.243 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.244 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.245 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.247 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [5 x i8], align 1

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

declare ptr @sdsempty() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @otfcc_dumpOS_2(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #1 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %249, label %.critedge

.critedge:                                        ; preds = %3
  %4 = getelementptr inbounds i8, ptr %2, i64 32
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 32
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  %8 = tail call ptr @sdsempty() #3
  %9 = tail call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %8, ptr noundef nonnull @.str.208) #3
  tail call void %7(ptr noundef %5, ptr noundef %9) #3
  %10 = tail call ptr @json_object_new(i64 noundef 30) #3
  %11 = load i16, ptr %0, align 4, !tbaa !13
  %12 = zext i16 %11 to i64
  %13 = tail call ptr @json_integer_new(i64 noundef %12) #3
  %14 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.209, ptr noundef %13) #3
  %15 = getelementptr inbounds i8, ptr %0, i64 2
  %16 = load i16, ptr %15, align 2, !tbaa !17
  %17 = sext i16 %16 to i64
  %18 = tail call ptr @json_integer_new(i64 noundef %17) #3
  %19 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.210, ptr noundef %18) #3
  %20 = getelementptr inbounds i8, ptr %0, i64 4
  %21 = load i16, ptr %20, align 4, !tbaa !18
  %22 = zext i16 %21 to i64
  %23 = tail call ptr @json_integer_new(i64 noundef %22) #3
  %24 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.211, ptr noundef %23) #3
  %25 = getelementptr inbounds i8, ptr %0, i64 6
  %26 = load i16, ptr %25, align 2, !tbaa !19
  %27 = zext i16 %26 to i64
  %28 = tail call ptr @json_integer_new(i64 noundef %27) #3
  %29 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.212, ptr noundef %28) #3
  %30 = getelementptr inbounds i8, ptr %0, i64 8
  %31 = load i16, ptr %30, align 4, !tbaa !20
  %32 = zext i16 %31 to i32
  %33 = tail call ptr @otfcc_dump_flags(i32 noundef %32, ptr noundef nonnull @fsTypeLabels)
  %34 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.213, ptr noundef %33) #3
  %35 = getelementptr inbounds i8, ptr %0, i64 10
  %36 = load i16, ptr %35, align 2, !tbaa !21
  %37 = sext i16 %36 to i64
  %38 = tail call ptr @json_integer_new(i64 noundef %37) #3
  %39 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.214, ptr noundef %38) #3
  %40 = getelementptr inbounds i8, ptr %0, i64 12
  %41 = load i16, ptr %40, align 4, !tbaa !22
  %42 = sext i16 %41 to i64
  %43 = tail call ptr @json_integer_new(i64 noundef %42) #3
  %44 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.215, ptr noundef %43) #3
  %45 = getelementptr inbounds i8, ptr %0, i64 14
  %46 = load i16, ptr %45, align 2, !tbaa !23
  %47 = sext i16 %46 to i64
  %48 = tail call ptr @json_integer_new(i64 noundef %47) #3
  %49 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.216, ptr noundef %48) #3
  %50 = getelementptr inbounds i8, ptr %0, i64 16
  %51 = load i16, ptr %50, align 4, !tbaa !24
  %52 = sext i16 %51 to i64
  %53 = tail call ptr @json_integer_new(i64 noundef %52) #3
  %54 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.217, ptr noundef %53) #3
  %55 = getelementptr inbounds i8, ptr %0, i64 18
  %56 = load i16, ptr %55, align 2, !tbaa !25
  %57 = sext i16 %56 to i64
  %58 = tail call ptr @json_integer_new(i64 noundef %57) #3
  %59 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.218, ptr noundef %58) #3
  %60 = getelementptr inbounds i8, ptr %0, i64 20
  %61 = load i16, ptr %60, align 4, !tbaa !26
  %62 = sext i16 %61 to i64
  %63 = tail call ptr @json_integer_new(i64 noundef %62) #3
  %64 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.219, ptr noundef %63) #3
  %65 = getelementptr inbounds i8, ptr %0, i64 22
  %66 = load i16, ptr %65, align 2, !tbaa !27
  %67 = sext i16 %66 to i64
  %68 = tail call ptr @json_integer_new(i64 noundef %67) #3
  %69 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.220, ptr noundef %68) #3
  %70 = getelementptr inbounds i8, ptr %0, i64 24
  %71 = load i16, ptr %70, align 4, !tbaa !28
  %72 = sext i16 %71 to i64
  %73 = tail call ptr @json_integer_new(i64 noundef %72) #3
  %74 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.221, ptr noundef %73) #3
  %75 = getelementptr inbounds i8, ptr %0, i64 26
  %76 = load i16, ptr %75, align 2, !tbaa !29
  %77 = sext i16 %76 to i64
  %78 = tail call ptr @json_integer_new(i64 noundef %77) #3
  %79 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.222, ptr noundef %78) #3
  %80 = getelementptr inbounds i8, ptr %0, i64 28
  %81 = load i16, ptr %80, align 4, !tbaa !30
  %82 = sext i16 %81 to i64
  %83 = tail call ptr @json_integer_new(i64 noundef %82) #3
  %84 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.223, ptr noundef %83) #3
  %85 = getelementptr inbounds i8, ptr %0, i64 30
  %86 = load i16, ptr %85, align 2, !tbaa !31
  %87 = sext i16 %86 to i64
  %88 = tail call ptr @json_integer_new(i64 noundef %87) #3
  %89 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.224, ptr noundef %88) #3
  %90 = tail call ptr @json_array_new(i64 noundef 10) #3
  %91 = getelementptr inbounds i8, ptr %0, i64 32
  %92 = load i8, ptr %91, align 1, !tbaa !32
  %93 = zext i8 %92 to i64
  %94 = tail call ptr @json_integer_new(i64 noundef %93) #3
  %95 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %94) #3
  %96 = getelementptr inbounds i8, ptr %0, i64 33
  %97 = load i8, ptr %96, align 1, !tbaa !32
  %98 = zext i8 %97 to i64
  %99 = tail call ptr @json_integer_new(i64 noundef %98) #3
  %100 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %99) #3
  %101 = getelementptr inbounds i8, ptr %0, i64 34
  %102 = load i8, ptr %101, align 1, !tbaa !32
  %103 = zext i8 %102 to i64
  %104 = tail call ptr @json_integer_new(i64 noundef %103) #3
  %105 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %104) #3
  %106 = getelementptr inbounds i8, ptr %0, i64 35
  %107 = load i8, ptr %106, align 1, !tbaa !32
  %108 = zext i8 %107 to i64
  %109 = tail call ptr @json_integer_new(i64 noundef %108) #3
  %110 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %109) #3
  %111 = getelementptr inbounds i8, ptr %0, i64 36
  %112 = load i8, ptr %111, align 1, !tbaa !32
  %113 = zext i8 %112 to i64
  %114 = tail call ptr @json_integer_new(i64 noundef %113) #3
  %115 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %114) #3
  %116 = getelementptr inbounds i8, ptr %0, i64 37
  %117 = load i8, ptr %116, align 1, !tbaa !32
  %118 = zext i8 %117 to i64
  %119 = tail call ptr @json_integer_new(i64 noundef %118) #3
  %120 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %119) #3
  %121 = getelementptr inbounds i8, ptr %0, i64 38
  %122 = load i8, ptr %121, align 1, !tbaa !32
  %123 = zext i8 %122 to i64
  %124 = tail call ptr @json_integer_new(i64 noundef %123) #3
  %125 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %124) #3
  %126 = getelementptr inbounds i8, ptr %0, i64 39
  %127 = load i8, ptr %126, align 1, !tbaa !32
  %128 = zext i8 %127 to i64
  %129 = tail call ptr @json_integer_new(i64 noundef %128) #3
  %130 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %129) #3
  %131 = getelementptr inbounds i8, ptr %0, i64 40
  %132 = load i8, ptr %131, align 1, !tbaa !32
  %133 = zext i8 %132 to i64
  %134 = tail call ptr @json_integer_new(i64 noundef %133) #3
  %135 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %134) #3
  %136 = getelementptr inbounds i8, ptr %0, i64 41
  %137 = load i8, ptr %136, align 1, !tbaa !32
  %138 = zext i8 %137 to i64
  %139 = tail call ptr @json_integer_new(i64 noundef %138) #3
  %140 = tail call ptr @json_array_push(ptr noundef %90, ptr noundef %139) #3
  %141 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.225, ptr noundef %90) #3
  %142 = getelementptr inbounds i8, ptr %0, i64 44
  %143 = load i32, ptr %142, align 4, !tbaa !33
  %144 = tail call ptr @otfcc_dump_flags(i32 noundef %143, ptr noundef nonnull @unicodeRangeLabels1)
  %145 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.226, ptr noundef %144) #3
  %146 = getelementptr inbounds i8, ptr %0, i64 48
  %147 = load i32, ptr %146, align 4, !tbaa !34
  %148 = tail call ptr @otfcc_dump_flags(i32 noundef %147, ptr noundef nonnull @unicodeRangeLabels2)
  %149 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.227, ptr noundef %148) #3
  %150 = getelementptr inbounds i8, ptr %0, i64 52
  %151 = load i32, ptr %150, align 4, !tbaa !35
  %152 = tail call ptr @otfcc_dump_flags(i32 noundef %151, ptr noundef nonnull @unicodeRangeLabels3)
  %153 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.228, ptr noundef %152) #3
  %154 = getelementptr inbounds i8, ptr %0, i64 56
  %155 = load i32, ptr %154, align 4, !tbaa !36
  %156 = tail call ptr @otfcc_dump_flags(i32 noundef %155, ptr noundef nonnull @unicodeRangeLabels4)
  %157 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.229, ptr noundef %156) #3
  %158 = getelementptr inbounds i8, ptr %0, i64 60
  %159 = tail call ptr @sdsnewlen(ptr noundef nonnull %158, i64 noundef 4) #3
  %160 = tail call ptr @json_string_new(ptr noundef %159) #3
  %161 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.230, ptr noundef %160) #3
  tail call void @sdsfree(ptr noundef %159) #3
  %162 = getelementptr inbounds i8, ptr %0, i64 64
  %163 = load i16, ptr %162, align 4, !tbaa !37
  %164 = zext i16 %163 to i32
  %165 = tail call ptr @otfcc_dump_flags(i32 noundef %164, ptr noundef nonnull @fsSelectionLabels)
  %166 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.231, ptr noundef %165) #3
  %167 = getelementptr inbounds i8, ptr %0, i64 66
  %168 = load i16, ptr %167, align 2, !tbaa !38
  %169 = zext i16 %168 to i64
  %170 = tail call ptr @json_integer_new(i64 noundef %169) #3
  %171 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.232, ptr noundef %170) #3
  %172 = getelementptr inbounds i8, ptr %0, i64 68
  %173 = load i16, ptr %172, align 4, !tbaa !39
  %174 = zext i16 %173 to i64
  %175 = tail call ptr @json_integer_new(i64 noundef %174) #3
  %176 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.233, ptr noundef %175) #3
  %177 = getelementptr inbounds i8, ptr %0, i64 70
  %178 = load i16, ptr %177, align 2, !tbaa !40
  %179 = sext i16 %178 to i64
  %180 = tail call ptr @json_integer_new(i64 noundef %179) #3
  %181 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.234, ptr noundef %180) #3
  %182 = getelementptr inbounds i8, ptr %0, i64 72
  %183 = load i16, ptr %182, align 4, !tbaa !41
  %184 = sext i16 %183 to i64
  %185 = tail call ptr @json_integer_new(i64 noundef %184) #3
  %186 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.235, ptr noundef %185) #3
  %187 = getelementptr inbounds i8, ptr %0, i64 74
  %188 = load i16, ptr %187, align 2, !tbaa !42
  %189 = sext i16 %188 to i64
  %190 = tail call ptr @json_integer_new(i64 noundef %189) #3
  %191 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.236, ptr noundef %190) #3
  %192 = getelementptr inbounds i8, ptr %0, i64 76
  %193 = load i16, ptr %192, align 4, !tbaa !43
  %194 = zext i16 %193 to i64
  %195 = tail call ptr @json_integer_new(i64 noundef %194) #3
  %196 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.237, ptr noundef %195) #3
  %197 = getelementptr inbounds i8, ptr %0, i64 78
  %198 = load i16, ptr %197, align 2, !tbaa !44
  %199 = zext i16 %198 to i64
  %200 = tail call ptr @json_integer_new(i64 noundef %199) #3
  %201 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.238, ptr noundef %200) #3
  %202 = getelementptr inbounds i8, ptr %0, i64 80
  %203 = load i32, ptr %202, align 4, !tbaa !45
  %204 = tail call ptr @otfcc_dump_flags(i32 noundef %203, ptr noundef nonnull @codePageLabels1)
  %205 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.239, ptr noundef %204) #3
  %206 = getelementptr inbounds i8, ptr %0, i64 84
  %207 = load i32, ptr %206, align 4, !tbaa !46
  %208 = tail call ptr @otfcc_dump_flags(i32 noundef %207, ptr noundef nonnull @codePageLabels2)
  %209 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.240, ptr noundef %208) #3
  %210 = getelementptr inbounds i8, ptr %0, i64 88
  %211 = load i16, ptr %210, align 4, !tbaa !47
  %212 = sext i16 %211 to i64
  %213 = tail call ptr @json_integer_new(i64 noundef %212) #3
  %214 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.241, ptr noundef %213) #3
  %215 = getelementptr inbounds i8, ptr %0, i64 90
  %216 = load i16, ptr %215, align 2, !tbaa !48
  %217 = sext i16 %216 to i64
  %218 = tail call ptr @json_integer_new(i64 noundef %217) #3
  %219 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.242, ptr noundef %218) #3
  %220 = getelementptr inbounds i8, ptr %0, i64 92
  %221 = load i16, ptr %220, align 4, !tbaa !49
  %222 = zext i16 %221 to i64
  %223 = tail call ptr @json_integer_new(i64 noundef %222) #3
  %224 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.243, ptr noundef %223) #3
  %225 = getelementptr inbounds i8, ptr %0, i64 94
  %226 = load i16, ptr %225, align 2, !tbaa !50
  %227 = zext i16 %226 to i64
  %228 = tail call ptr @json_integer_new(i64 noundef %227) #3
  %229 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.244, ptr noundef %228) #3
  %230 = getelementptr inbounds i8, ptr %0, i64 96
  %231 = load i16, ptr %230, align 4, !tbaa !51
  %232 = zext i16 %231 to i64
  %233 = tail call ptr @json_integer_new(i64 noundef %232) #3
  %234 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.245, ptr noundef %233) #3
  %235 = getelementptr inbounds i8, ptr %0, i64 98
  %236 = load i16, ptr %235, align 2, !tbaa !52
  %237 = zext i16 %236 to i64
  %238 = tail call ptr @json_integer_new(i64 noundef %237) #3
  %239 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.246, ptr noundef %238) #3
  %240 = getelementptr inbounds i8, ptr %0, i64 100
  %241 = load i16, ptr %240, align 4, !tbaa !53
  %242 = zext i16 %241 to i64
  %243 = tail call ptr @json_integer_new(i64 noundef %242) #3
  %244 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.247, ptr noundef %243) #3
  %245 = tail call ptr @json_object_push(ptr noundef %1, ptr noundef nonnull @.str.248, ptr noundef %10) #3
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = getelementptr inbounds i8, ptr %246, i64 64
  %248 = load ptr, ptr %247, align 8, !tbaa !54
  tail call void %248(ptr noundef %246) #3
  br label %249

249:                                              ; preds = %3, %.critedge
  ret void
}

declare ptr @json_object_new(i64 noundef) local_unnamed_addr #0

declare ptr @json_object_push(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @json_integer_new(i64 noundef) local_unnamed_addr #0

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

declare ptr @json_array_new(i64 noundef) local_unnamed_addr #0

declare ptr @json_array_push(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @sdsnewlen(ptr noundef, i64 noundef) local_unnamed_addr #0

declare ptr @json_string_new(ptr noundef) local_unnamed_addr #0

declare void @sdsfree(ptr noundef) local_unnamed_addr #0

attributes #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 = { 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 = { 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 = { 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, !10, i64 32}
!6 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22, !10, i64 24, !10, i64 32}
!7 = !{!"_Bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 32}
!12 = !{!"otfcc_ILogger", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88}
!13 = !{!14, !15, i64 0}
!14 = !{!"", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !15, i64 18, !15, i64 20, !15, i64 22, !15, i64 24, !15, i64 26, !15, i64 28, !15, i64 30, !8, i64 32, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !8, i64 60, !15, i64 64, !15, i64 66, !15, i64 68, !15, i64 70, !15, i64 72, !15, i64 74, !15, i64 76, !15, i64 78, !16, i64 80, !16, i64 84, !15, i64 88, !15, i64 90, !15, i64 92, !15, i64 94, !15, i64 96, !15, i64 98, !15, i64 100}
!15 = !{!"short", !8, i64 0}
!16 = !{!"int", !8, i64 0}
!17 = !{!14, !15, i64 2}
!18 = !{!14, !15, i64 4}
!19 = !{!14, !15, i64 6}
!20 = !{!14, !15, i64 8}
!21 = !{!14, !15, i64 10}
!22 = !{!14, !15, i64 12}
!23 = !{!14, !15, i64 14}
!24 = !{!14, !15, i64 16}
!25 = !{!14, !15, i64 18}
!26 = !{!14, !15, i64 20}
!27 = !{!14, !15, i64 22}
!28 = !{!14, !15, i64 24}
!29 = !{!14, !15, i64 26}
!30 = !{!14, !15, i64 28}
!31 = !{!14, !15, i64 30}
!32 = !{!8, !8, i64 0}
!33 = !{!14, !16, i64 44}
!34 = !{!14, !16, i64 48}
!35 = !{!14, !16, i64 52}
!36 = !{!14, !16, i64 56}
!37 = !{!14, !15, i64 64}
!38 = !{!14, !15, i64 66}
!39 = !{!14, !15, i64 68}
!40 = !{!14, !15, i64 70}
!41 = !{!14, !15, i64 72}
!42 = !{!14, !15, i64 74}
!43 = !{!14, !15, i64 76}
!44 = !{!14, !15, i64 78}
!45 = !{!14, !16, i64 80}
!46 = !{!14, !16, i64 84}
!47 = !{!14, !15, i64 88}
!48 = !{!14, !15, i64 90}
!49 = !{!14, !15, i64 92}
!50 = !{!14, !15, i64 94}
!51 = !{!14, !15, i64 96}
!52 = !{!14, !15, i64 98}
!53 = !{!14, !15, i64 100}
!54 = !{!12, !10, i64 64}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass