; LLVM IR from caryll/otfcc :: src (otfccdump)

; 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.option = type { ptr, i32, ptr, i32 }
%struct.__caryll_elementinterface_otfcc_Font = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.timespec = type { i64, i64 }
%struct.json_serialize_opts = type { i32, i32, i32 }
%struct.otfcc_Options = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr }
%struct.otfcc_ILogger = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.otfcc_SplineFontContainer = type { i32, i32, ptr, ptr }
%struct.otfcc_IFontBuilder = type { ptr, ptr }
%struct.otfcc_IFontSerializer = type { ptr, ptr }

@stdout = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [20 x i8], align 1
@__const.main.longopts = external hidden unnamed_addr constant [21 x %struct.option], align 16
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@optarg = external global ptr, align 8
@optind = external global i32, align 4
@.str.24 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [12 x i8], align 1
@otfcc_iFont = external constant %struct.__caryll_elementinterface_otfcc_Font, align 8
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @printInfo() #0

; Function Attrs: nounwind uwtable
declare dso_local void @printHelp() #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca [21 x %struct.option], align 16
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %struct.timespec, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i8, align 1
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i8, align 1
  %26 = alloca ptr, align 8
  %27 = alloca i8, align 1
  %28 = alloca ptr, align 8
  %29 = alloca i8, align 1
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i64, align 8
  %33 = alloca i8, align 1
  %34 = alloca %struct.json_serialize_opts, align 4
  %35 = alloca { i64, i32 }, align 4
  %36 = alloca { i64, i32 }, align 4
  %37 = alloca i8, align 1
  %38 = alloca ptr, align 8
  %39 = alloca i64, align 8
  %40 = alloca i8, align 1
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #10
  store i8 0, ptr %6, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #10
  store i8 0, ptr %7, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #10
  store i8 0, ptr %8, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #10
  store i8 0, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #10
  store i8 0, ptr %10, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #10
  store i8 0, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 672, ptr %13) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.main.longopts, i64 672, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %41 = call ptr (...) @otfcc_newOptions()
  store ptr %41, ptr %14, align 8, !tbaa !9
  %42 = call ptr (...) @otfcc_newStdErrTarget()
  %43 = call ptr @otfcc_newLogger(ptr noundef %42)
  %44 = load ptr, ptr %14, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.otfcc_Options, ptr %44, i32 0, i32 24
  store ptr %43, ptr %45, align 8, !tbaa !13
  %46 = load ptr, ptr %14, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.otfcc_Options, ptr %46, i32 0, i32 24
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = getelementptr inbounds %struct.otfcc_ILogger, ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !15
  %51 = load ptr, ptr %14, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.otfcc_Options, ptr %51, i32 0, i32 24
  %53 = load ptr, ptr %52, align 8, !tbaa !13
  call void %50(ptr noundef %53, ptr noundef @.str.22)
  %54 = load ptr, ptr %14, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.otfcc_Options, ptr %54, i32 0, i32 20
  store i8 1, ptr %55, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  store ptr null, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  store ptr null, ptr %18, align 8, !tbaa !9
  br label %56

56:                                               ; preds = %262, %2
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = load ptr, ptr %5, align 8, !tbaa !9
  %59 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 0
  %60 = call i32 @getopt_long(i32 noundef %57, ptr noundef %58, ptr noundef @.str.23, ptr noundef %59, ptr noundef %15)
  store i32 %60, ptr %16, align 4, !tbaa !5
  %61 = icmp ne i32 %60, -1
  br i1 %61, label %62, label %263

62:                                               ; preds = %56
  %63 = load i32, ptr %16, align 4, !tbaa !5
  switch i32 %63, label %262 [
    i32 0, label %64
    i32 118, label %247
    i32 105, label %248
    i32 104, label %251
    i32 112, label %252
    i32 111, label %253
    i32 113, label %256
    i32 110, label %259
  ]

64:                                               ; preds = %62
  %65 = load i32, ptr %15, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %66
  %68 = getelementptr inbounds %struct.option, ptr %67, i32 0, i32 2
  %69 = load ptr, ptr %68, align 16, !tbaa !18
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %72

71:                                               ; preds = %64
  br label %262

72:                                               ; preds = %64
  %73 = load i32, ptr %15, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %74
  %76 = getelementptr inbounds %struct.option, ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 16, !tbaa !20
  %78 = call i32 @strcmp(ptr noundef %77, ptr noundef @.str.5) #11
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %80, label %81

80:                                               ; preds = %72
  store i8 1, ptr %9, align 1, !tbaa !11
  br label %245

81:                                               ; preds = %72
  %82 = load i32, ptr %15, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %83
  %85 = getelementptr inbounds %struct.option, ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 16, !tbaa !20
  %87 = call i32 @strcmp(ptr noundef %86, ptr noundef @.str.6) #11
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %81
  br label %244

90:                                               ; preds = %81
  %91 = load i32, ptr %15, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %92
  %94 = getelementptr inbounds %struct.option, ptr %93, i32 0, i32 0
  %95 = load ptr, ptr %94, align 16, !tbaa !20
  %96 = call i32 @strcmp(ptr noundef %95, ptr noundef @.str.17) #11
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %90
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %243

99:                                               ; preds = %90
  %100 = load i32, ptr %15, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %101
  %103 = getelementptr inbounds %struct.option, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 16, !tbaa !20
  %105 = call i32 @strcmp(ptr noundef %104, ptr noundef @.str.18) #11
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %99
  store i8 1, ptr %11, align 1, !tbaa !11
  br label %242

108:                                              ; preds = %99
  %109 = load i32, ptr %15, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %110
  %112 = getelementptr inbounds %struct.option, ptr %111, i32 0, i32 0
  %113 = load ptr, ptr %112, align 16, !tbaa !20
  %114 = call i32 @strcmp(ptr noundef %113, ptr noundef @.str.7) #11
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %119

116:                                              ; preds = %108
  %117 = load ptr, ptr %14, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.otfcc_Options, ptr %117, i32 0, i32 1
  store i8 1, ptr %118, align 1, !tbaa !21
  br label %241

119:                                              ; preds = %108
  %120 = load i32, ptr %15, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %121
  %123 = getelementptr inbounds %struct.option, ptr %122, i32 0, i32 0
  %124 = load ptr, ptr %123, align 16, !tbaa !20
  %125 = call i32 @strcmp(ptr noundef %124, ptr noundef @.str.15) #11
  %126 = icmp eq i32 %125, 0
  br i1 %126, label %127, label %130

127:                                              ; preds = %119
  %128 = load ptr, ptr %14, align 8, !tbaa !9
  %129 = getelementptr inbounds %struct.otfcc_Options, ptr %128, i32 0, i32 11
  store i8 1, ptr %129, align 1, !tbaa !22
  br label %240

130:                                              ; preds = %119
  %131 = load i32, ptr %15, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %132
  %134 = getelementptr inbounds %struct.option, ptr %133, i32 0, i32 0
  %135 = load ptr, ptr %134, align 16, !tbaa !20
  %136 = call i32 @strcmp(ptr noundef %135, ptr noundef @.str.16) #11
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %138, label %141

138:                                              ; preds = %130
  %139 = load ptr, ptr %14, align 8, !tbaa !9
  %140 = getelementptr inbounds %struct.otfcc_Options, ptr %139, i32 0, i32 12
  store i8 1, ptr %140, align 4, !tbaa !23
  br label %239

141:                                              ; preds = %130
  %142 = load i32, ptr %15, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %143
  %145 = getelementptr inbounds %struct.option, ptr %144, i32 0, i32 0
  %146 = load ptr, ptr %145, align 16, !tbaa !20
  %147 = call i32 @strcmp(ptr noundef %146, ptr noundef @.str.8) #11
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %152

149:                                              ; preds = %141
  %150 = load ptr, ptr %14, align 8, !tbaa !9
  %151 = getelementptr inbounds %struct.otfcc_Options, ptr %150, i32 0, i32 2
  store i8 1, ptr %151, align 2, !tbaa !24
  br label %238

152:                                              ; preds = %141
  %153 = load i32, ptr %15, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %154
  %156 = getelementptr inbounds %struct.option, ptr %155, i32 0, i32 0
  %157 = load ptr, ptr %156, align 16, !tbaa !20
  %158 = call i32 @strcmp(ptr noundef %157, ptr noundef @.str.10) #11
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %163

160:                                              ; preds = %152
  %161 = load ptr, ptr %14, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct.otfcc_Options, ptr %161, i32 0, i32 20
  store i8 1, ptr %162, align 4, !tbaa !17
  br label %237

163:                                              ; preds = %152
  %164 = load i32, ptr %15, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %165
  %167 = getelementptr inbounds %struct.option, ptr %166, i32 0, i32 0
  %168 = load ptr, ptr %167, align 16, !tbaa !20
  %169 = call i32 @strcmp(ptr noundef %168, ptr noundef @.str.9) #11
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %171, label %174

171:                                              ; preds = %163
  %172 = load ptr, ptr %14, align 8, !tbaa !9
  %173 = getelementptr inbounds %struct.otfcc_Options, ptr %172, i32 0, i32 20
  store i8 0, ptr %173, align 4, !tbaa !17
  br label %236

174:                                              ; preds = %163
  %175 = load i32, ptr %15, align 4, !tbaa !5
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %176
  %178 = getelementptr inbounds %struct.option, ptr %177, i32 0, i32 0
  %179 = load ptr, ptr %178, align 16, !tbaa !20
  %180 = call i32 @strcmp(ptr noundef %179, ptr noundef @.str.12) #11
  %181 = icmp eq i32 %180, 0
  br i1 %181, label %182, label %185

182:                                              ; preds = %174
  %183 = load ptr, ptr %14, align 8, !tbaa !9
  %184 = getelementptr inbounds %struct.otfcc_Options, ptr %183, i32 0, i32 21
  store i8 1, ptr %184, align 1, !tbaa !25
  br label %235

185:                                              ; preds = %174
  %186 = load i32, ptr %15, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %187
  %189 = getelementptr inbounds %struct.option, ptr %188, i32 0, i32 0
  %190 = load ptr, ptr %189, align 16, !tbaa !20
  %191 = call i32 @strcmp(ptr noundef %190, ptr noundef @.str.13) #11
  %192 = icmp eq i32 %191, 0
  br i1 %192, label %193, label %196

193:                                              ; preds = %185
  %194 = load ptr, ptr %14, align 8, !tbaa !9
  %195 = getelementptr inbounds %struct.otfcc_Options, ptr %194, i32 0, i32 22
  store i8 1, ptr %195, align 2, !tbaa !26
  br label %234

196:                                              ; preds = %185
  %197 = load i32, ptr %15, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %198
  %200 = getelementptr inbounds %struct.option, ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %200, align 16, !tbaa !20
  %202 = call i32 @strcmp(ptr noundef %201, ptr noundef @.str.11) #11
  %203 = icmp eq i32 %202, 0
  br i1 %203, label %204, label %207

204:                                              ; preds = %196
  %205 = load ptr, ptr %14, align 8, !tbaa !9
  %206 = getelementptr inbounds %struct.otfcc_Options, ptr %205, i32 0, i32 10
  store i8 1, ptr %206, align 2, !tbaa !27
  br label %233

207:                                              ; preds = %196
  %208 = load i32, ptr %15, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %209
  %211 = getelementptr inbounds %struct.option, ptr %210, i32 0, i32 0
  %212 = load ptr, ptr %211, align 16, !tbaa !20
  %213 = call i32 @strcmp(ptr noundef %212, ptr noundef @.str.14) #11
  %214 = icmp eq i32 %213, 0
  br i1 %214, label %215, label %220

215:                                              ; preds = %207
  %216 = load ptr, ptr @optarg, align 8, !tbaa !9
  %217 = call noalias ptr @strdup(ptr noundef %216) #10
  %218 = load ptr, ptr %14, align 8, !tbaa !9
  %219 = getelementptr inbounds %struct.otfcc_Options, ptr %218, i32 0, i32 23
  store ptr %217, ptr %219, align 8, !tbaa !28
  br label %232

220:                                              ; preds = %207
  %221 = load i32, ptr %15, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [21 x %struct.option], ptr %13, i64 0, i64 %222
  %224 = getelementptr inbounds %struct.option, ptr %223, i32 0, i32 0
  %225 = load ptr, ptr %224, align 16, !tbaa !20
  %226 = call i32 @strcmp(ptr noundef %225, ptr noundef @.str.21) #11
  %227 = icmp eq i32 %226, 0
  br i1 %227, label %228, label %231

228:                                              ; preds = %220
  %229 = load ptr, ptr %14, align 8, !tbaa !9
  %230 = getelementptr inbounds %struct.otfcc_Options, ptr %229, i32 0, i32 0
  store i8 1, ptr %230, align 8, !tbaa !29
  br label %231

231:                                              ; preds = %228, %220
  br label %232

232:                                              ; preds = %231, %215
  br label %233

233:                                              ; preds = %232, %204
  br label %234

234:                                              ; preds = %233, %193
  br label %235

235:                                              ; preds = %234, %182
  br label %236

236:                                              ; preds = %235, %171
  br label %237

237:                                              ; preds = %236, %160
  br label %238

238:                                              ; preds = %237, %149
  br label %239

239:                                              ; preds = %238, %138
  br label %240

240:                                              ; preds = %239, %127
  br label %241

241:                                              ; preds = %240, %116
  br label %242

242:                                              ; preds = %241, %107
  br label %243

243:                                              ; preds = %242, %98
  br label %244

244:                                              ; preds = %243, %89
  br label %245

245:                                              ; preds = %244, %80
  br label %246

246:                                              ; preds = %245
  br label %262

247:                                              ; preds = %62
  store i8 1, ptr %7, align 1, !tbaa !11
  br label %262

248:                                              ; preds = %62
  %249 = load ptr, ptr %14, align 8, !tbaa !9
  %250 = getelementptr inbounds %struct.otfcc_Options, ptr %249, i32 0, i32 1
  store i8 1, ptr %250, align 1, !tbaa !21
  br label %262

251:                                              ; preds = %62
  store i8 1, ptr %6, align 1, !tbaa !11
  br label %262

252:                                              ; preds = %62
  store i8 1, ptr %8, align 1, !tbaa !11
  br label %262

253:                                              ; preds = %62
  %254 = load ptr, ptr @optarg, align 8, !tbaa !9
  %255 = call ptr @sdsnew(ptr noundef %254)
  store ptr %255, ptr %17, align 8, !tbaa !9
  br label %262

256:                                              ; preds = %62
  %257 = load ptr, ptr %14, align 8, !tbaa !9
  %258 = getelementptr inbounds %struct.otfcc_Options, ptr %257, i32 0, i32 12
  store i8 1, ptr %258, align 4, !tbaa !23
  br label %262

259:                                              ; preds = %62
  %260 = load ptr, ptr @optarg, align 8, !tbaa !9
  %261 = call i32 @atoi(ptr noundef %260) #11
  store i32 %261, ptr %12, align 4, !tbaa !5
  br label %262

262:                                              ; preds = %259, %256, %253, %252, %251, %248, %247, %246, %71, %62
  br label %56, !llvm.loop !30

263:                                              ; preds = %56
  %264 = load ptr, ptr %14, align 8, !tbaa !9
  %265 = getelementptr inbounds %struct.otfcc_Options, ptr %264, i32 0, i32 0
  %266 = load i8, ptr %265, align 8, !tbaa !29, !range !32, !noundef !33
  %267 = trunc i8 %266 to i1
  br i1 %267, label %268, label %270

268:                                              ; preds = %263
  %269 = call i32 @getchar()
  br label %270

270:                                              ; preds = %268, %263
  %271 = load ptr, ptr %14, align 8, !tbaa !9
  %272 = getelementptr inbounds %struct.otfcc_Options, ptr %271, i32 0, i32 24
  %273 = load ptr, ptr %272, align 8, !tbaa !13
  %274 = getelementptr inbounds %struct.otfcc_ILogger, ptr %273, i32 0, i32 10
  %275 = load ptr, ptr %274, align 8, !tbaa !34
  %276 = load ptr, ptr %14, align 8, !tbaa !9
  %277 = getelementptr inbounds %struct.otfcc_Options, ptr %276, i32 0, i32 24
  %278 = load ptr, ptr %277, align 8, !tbaa !13
  %279 = load ptr, ptr %14, align 8, !tbaa !9
  %280 = getelementptr inbounds %struct.otfcc_Options, ptr %279, i32 0, i32 12
  %281 = load i8, ptr %280, align 4, !tbaa !23, !range !32, !noundef !33
  %282 = trunc i8 %281 to i1
  br i1 %282, label %283, label %284

283:                                              ; preds = %270
  br label %291

284:                                              ; preds = %270
  %285 = load ptr, ptr %14, align 8, !tbaa !9
  %286 = getelementptr inbounds %struct.otfcc_Options, ptr %285, i32 0, i32 11
  %287 = load i8, ptr %286, align 1, !tbaa !22, !range !32, !noundef !33
  %288 = trunc i8 %287 to i1
  %289 = zext i1 %288 to i64
  %290 = select i1 %288, i32 255, i32 1
  br label %291

291:                                              ; preds = %284, %283
  %292 = phi i32 [ 0, %283 ], [ %290, %284 ]
  %293 = trunc i32 %292 to i8
  call void %275(ptr noundef %278, i8 noundef zeroext %293)
  %294 = load i8, ptr %6, align 1, !tbaa !11, !range !32, !noundef !33
  %295 = trunc i8 %294 to i1
  br i1 %295, label %296, label %297

296:                                              ; preds = %291
  call void @printInfo()
  call void @printHelp()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %804

297:                                              ; preds = %291
  %298 = load i8, ptr %7, align 1, !tbaa !11, !range !32, !noundef !33
  %299 = trunc i8 %298 to i1
  br i1 %299, label %300, label %301

300:                                              ; preds = %297
  call void @printInfo()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %804

301:                                              ; preds = %297
  %302 = load i32, ptr @optind, align 4, !tbaa !5
  %303 = load i32, ptr %4, align 4, !tbaa !5
  %304 = icmp sge i32 %302, %303
  br i1 %304, label %305, label %316

305:                                              ; preds = %301
  %306 = load ptr, ptr %14, align 8, !tbaa !9
  %307 = getelementptr inbounds %struct.otfcc_Options, ptr %306, i32 0, i32 24
  %308 = load ptr, ptr %307, align 8, !tbaa !13
  %309 = getelementptr inbounds %struct.otfcc_ILogger, ptr %308, i32 0, i32 6
  %310 = load ptr, ptr %309, align 8, !tbaa !35
  %311 = load ptr, ptr %14, align 8, !tbaa !9
  %312 = getelementptr inbounds %struct.otfcc_Options, ptr %311, i32 0, i32 24
  %313 = load ptr, ptr %312, align 8, !tbaa !13
  %314 = call ptr @sdsempty()
  %315 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %314, ptr noundef @.str.24)
  call void %310(ptr noundef %313, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %315)
  call void @printHelp()
  call void @exit(i32 noundef 1) #12
  unreachable

316:                                              ; preds = %301
  %317 = load ptr, ptr %5, align 8, !tbaa !9
  %318 = load i32, ptr @optind, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds ptr, ptr %317, i64 %319
  %321 = load ptr, ptr %320, align 8, !tbaa !9
  %322 = call ptr @sdsnew(ptr noundef %321)
  store ptr %322, ptr %18, align 8, !tbaa !9
  br label %323

323:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  call void @time_now(ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  %324 = load ptr, ptr %14, align 8, !tbaa !9
  %325 = getelementptr inbounds %struct.otfcc_Options, ptr %324, i32 0, i32 24
  %326 = load ptr, ptr %325, align 8, !tbaa !13
  %327 = getelementptr inbounds %struct.otfcc_ILogger, ptr %326, i32 0, i32 4
  %328 = load ptr, ptr %327, align 8, !tbaa !36
  %329 = load ptr, ptr %14, align 8, !tbaa !9
  %330 = getelementptr inbounds %struct.otfcc_Options, ptr %329, i32 0, i32 24
  %331 = load ptr, ptr %330, align 8, !tbaa !13
  %332 = call ptr @sdsempty()
  %333 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %332, ptr noundef @.str.25)
  call void %328(ptr noundef %331, ptr noundef %333)
  store i8 1, ptr %22, align 1, !tbaa !11
  br label %334

334:                                              ; preds = %406, %323
  %335 = load i8, ptr %22, align 1, !tbaa !11, !range !32, !noundef !33
  %336 = trunc i8 %335 to i1
  br i1 %336, label %338, label %337

337:                                              ; preds = %334
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  br label %415

338:                                              ; preds = %334
  %339 = load ptr, ptr %14, align 8, !tbaa !9
  %340 = getelementptr inbounds %struct.otfcc_Options, ptr %339, i32 0, i32 24
  %341 = load ptr, ptr %340, align 8, !tbaa !13
  %342 = getelementptr inbounds %struct.otfcc_ILogger, ptr %341, i32 0, i32 6
  %343 = load ptr, ptr %342, align 8, !tbaa !35
  %344 = load ptr, ptr %14, align 8, !tbaa !9
  %345 = getelementptr inbounds %struct.otfcc_Options, ptr %344, i32 0, i32 24
  %346 = load ptr, ptr %345, align 8, !tbaa !13
  %347 = call ptr @sdsempty()
  %348 = load ptr, ptr %18, align 8, !tbaa !9
  %349 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %347, ptr noundef @.str.26, ptr noundef %348)
  call void %343(ptr noundef %346, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %349)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %350 = load ptr, ptr %18, align 8, !tbaa !9
  %351 = call noalias ptr @fopen(ptr noundef %350, ptr noundef @.str.27)
  store ptr %351, ptr %23, align 8, !tbaa !9
  %352 = load ptr, ptr %23, align 8, !tbaa !9
  %353 = call ptr @otfcc_readSFNT(ptr noundef %352)
  store ptr %353, ptr %21, align 8, !tbaa !9
  %354 = load ptr, ptr %21, align 8, !tbaa !9
  %355 = icmp ne ptr %354, null
  br i1 %355, label %356, label %361

356:                                              ; preds = %338
  %357 = load ptr, ptr %21, align 8, !tbaa !9
  %358 = getelementptr inbounds %struct.otfcc_SplineFontContainer, ptr %357, i32 0, i32 1
  %359 = load i32, ptr %358, align 4, !tbaa !37
  %360 = icmp eq i32 %359, 0
  br i1 %360, label %361, label %373

361:                                              ; preds = %356, %338
  %362 = load ptr, ptr %14, align 8, !tbaa !9
  %363 = getelementptr inbounds %struct.otfcc_Options, ptr %362, i32 0, i32 24
  %364 = load ptr, ptr %363, align 8, !tbaa !13
  %365 = getelementptr inbounds %struct.otfcc_ILogger, ptr %364, i32 0, i32 6
  %366 = load ptr, ptr %365, align 8, !tbaa !35
  %367 = load ptr, ptr %14, align 8, !tbaa !9
  %368 = getelementptr inbounds %struct.otfcc_Options, ptr %367, i32 0, i32 24
  %369 = load ptr, ptr %368, align 8, !tbaa !13
  %370 = call ptr @sdsempty()
  %371 = load ptr, ptr %18, align 8, !tbaa !9
  %372 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %370, ptr noundef @.str.28, ptr noundef %371)
  call void %366(ptr noundef %369, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %372)
  call void @exit(i32 noundef 1) #12
  unreachable

373:                                              ; preds = %356
  %374 = load i32, ptr %12, align 4, !tbaa !5
  %375 = load ptr, ptr %21, align 8, !tbaa !9
  %376 = getelementptr inbounds %struct.otfcc_SplineFontContainer, ptr %375, i32 0, i32 1
  %377 = load i32, ptr %376, align 4, !tbaa !37
  %378 = icmp uge i32 %374, %377
  br i1 %378, label %379, label %396

379:                                              ; preds = %373
  %380 = load ptr, ptr %14, align 8, !tbaa !9
  %381 = getelementptr inbounds %struct.otfcc_Options, ptr %380, i32 0, i32 24
  %382 = load ptr, ptr %381, align 8, !tbaa !13
  %383 = getelementptr inbounds %struct.otfcc_ILogger, ptr %382, i32 0, i32 6
  %384 = load ptr, ptr %383, align 8, !tbaa !35
  %385 = load ptr, ptr %14, align 8, !tbaa !9
  %386 = getelementptr inbounds %struct.otfcc_Options, ptr %385, i32 0, i32 24
  %387 = load ptr, ptr %386, align 8, !tbaa !13
  %388 = call ptr @sdsempty()
  %389 = load i32, ptr %12, align 4, !tbaa !5
  %390 = load ptr, ptr %18, align 8, !tbaa !9
  %391 = load ptr, ptr %21, align 8, !tbaa !9
  %392 = getelementptr inbounds %struct.otfcc_SplineFontContainer, ptr %391, i32 0, i32 1
  %393 = load i32, ptr %392, align 4, !tbaa !37
  %394 = sub i32 %393, 1
  %395 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %388, ptr noundef @.str.29, i32 noundef %389, ptr noundef %390, i32 noundef %394)
  call void %384(ptr noundef %387, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %395)
  call void @exit(i32 noundef 1) #12
  unreachable

396:                                              ; preds = %373
  %397 = load ptr, ptr %14, align 8, !tbaa !9
  %398 = getelementptr inbounds %struct.otfcc_Options, ptr %397, i32 0, i32 24
  %399 = load ptr, ptr %398, align 8, !tbaa !13
  %400 = getelementptr inbounds %struct.otfcc_ILogger, ptr %399, i32 0, i32 6
  %401 = load ptr, ptr %400, align 8, !tbaa !35
  %402 = load ptr, ptr %14, align 8, !tbaa !9
  %403 = getelementptr inbounds %struct.otfcc_Options, ptr %402, i32 0, i32 24
  %404 = load ptr, ptr %403, align 8, !tbaa !13
  %405 = call ptr @push_stopwatch(ptr noundef %20)
  call void %401(ptr noundef %404, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %405)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %406

406:                                              ; preds = %396
  store i8 0, ptr %22, align 1, !tbaa !11
  %407 = load ptr, ptr %14, align 8, !tbaa !9
  %408 = getelementptr inbounds %struct.otfcc_Options, ptr %407, i32 0, i32 24
  %409 = load ptr, ptr %408, align 8, !tbaa !13
  %410 = getelementptr inbounds %struct.otfcc_ILogger, ptr %409, i32 0, i32 8
  %411 = load ptr, ptr %410, align 8, !tbaa !39
  %412 = load ptr, ptr %14, align 8, !tbaa !9
  %413 = getelementptr inbounds %struct.otfcc_Options, ptr %412, i32 0, i32 24
  %414 = load ptr, ptr %413, align 8, !tbaa !13
  call void %411(ptr noundef %414)
  br label %334, !llvm.loop !40

415:                                              ; preds = %337
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #10
  %416 = load ptr, ptr %14, align 8, !tbaa !9
  %417 = getelementptr inbounds %struct.otfcc_Options, ptr %416, i32 0, i32 24
  %418 = load ptr, ptr %417, align 8, !tbaa !13
  %419 = getelementptr inbounds %struct.otfcc_ILogger, ptr %418, i32 0, i32 4
  %420 = load ptr, ptr %419, align 8, !tbaa !36
  %421 = load ptr, ptr %14, align 8, !tbaa !9
  %422 = getelementptr inbounds %struct.otfcc_Options, ptr %421, i32 0, i32 24
  %423 = load ptr, ptr %422, align 8, !tbaa !13
  %424 = call ptr @sdsempty()
  %425 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %424, ptr noundef @.str.30)
  call void %420(ptr noundef %423, ptr noundef %425)
  store i8 1, ptr %25, align 1, !tbaa !11
  br label %426

426:                                              ; preds = %472, %415
  %427 = load i8, ptr %25, align 1, !tbaa !11, !range !32, !noundef !33
  %428 = trunc i8 %427 to i1
  br i1 %428, label %430, label %429

429:                                              ; preds = %426
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #10
  br label %481

430:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %431 = call ptr (...) @otfcc_newOTFReader()
  store ptr %431, ptr %26, align 8, !tbaa !9
  %432 = load ptr, ptr %26, align 8, !tbaa !9
  %433 = getelementptr inbounds %struct.otfcc_IFontBuilder, ptr %432, i32 0, i32 0
  %434 = load ptr, ptr %433, align 8, !tbaa !41
  %435 = load ptr, ptr %21, align 8, !tbaa !9
  %436 = load i32, ptr %12, align 4, !tbaa !5
  %437 = load ptr, ptr %14, align 8, !tbaa !9
  %438 = call ptr %434(ptr noundef %435, i32 noundef %436, ptr noundef %437)
  store ptr %438, ptr %24, align 8, !tbaa !9
  %439 = load ptr, ptr %24, align 8, !tbaa !9
  %440 = icmp ne ptr %439, null
  br i1 %440, label %453, label %441

441:                                              ; preds = %430
  %442 = load ptr, ptr %14, align 8, !tbaa !9
  %443 = getelementptr inbounds %struct.otfcc_Options, ptr %442, i32 0, i32 24
  %444 = load ptr, ptr %443, align 8, !tbaa !13
  %445 = getelementptr inbounds %struct.otfcc_ILogger, ptr %444, i32 0, i32 6
  %446 = load ptr, ptr %445, align 8, !tbaa !35
  %447 = load ptr, ptr %14, align 8, !tbaa !9
  %448 = getelementptr inbounds %struct.otfcc_Options, ptr %447, i32 0, i32 24
  %449 = load ptr, ptr %448, align 8, !tbaa !13
  %450 = call ptr @sdsempty()
  %451 = load ptr, ptr %18, align 8, !tbaa !9
  %452 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %450, ptr noundef @.str.31, ptr noundef %451)
  call void %446(ptr noundef %449, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %452)
  call void @exit(i32 noundef 1) #12
  unreachable

453:                                              ; preds = %430
  %454 = load ptr, ptr %26, align 8, !tbaa !9
  %455 = getelementptr inbounds %struct.otfcc_IFontBuilder, ptr %454, i32 0, i32 1
  %456 = load ptr, ptr %455, align 8, !tbaa !43
  %457 = load ptr, ptr %26, align 8, !tbaa !9
  call void %456(ptr noundef %457)
  %458 = load ptr, ptr %21, align 8, !tbaa !9
  %459 = icmp ne ptr %458, null
  br i1 %459, label %460, label %462

460:                                              ; preds = %453
  %461 = load ptr, ptr %21, align 8, !tbaa !9
  call void @otfcc_deleteSFNT(ptr noundef %461)
  br label %462

462:                                              ; preds = %460, %453
  %463 = load ptr, ptr %14, align 8, !tbaa !9
  %464 = getelementptr inbounds %struct.otfcc_Options, ptr %463, i32 0, i32 24
  %465 = load ptr, ptr %464, align 8, !tbaa !13
  %466 = getelementptr inbounds %struct.otfcc_ILogger, ptr %465, i32 0, i32 6
  %467 = load ptr, ptr %466, align 8, !tbaa !35
  %468 = load ptr, ptr %14, align 8, !tbaa !9
  %469 = getelementptr inbounds %struct.otfcc_Options, ptr %468, i32 0, i32 24
  %470 = load ptr, ptr %469, align 8, !tbaa !13
  %471 = call ptr @push_stopwatch(ptr noundef %20)
  call void %467(ptr noundef %470, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %471)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %472

472:                                              ; preds = %462
  store i8 0, ptr %25, align 1, !tbaa !11
  %473 = load ptr, ptr %14, align 8, !tbaa !9
  %474 = getelementptr inbounds %struct.otfcc_Options, ptr %473, i32 0, i32 24
  %475 = load ptr, ptr %474, align 8, !tbaa !13
  %476 = getelementptr inbounds %struct.otfcc_ILogger, ptr %475, i32 0, i32 8
  %477 = load ptr, ptr %476, align 8, !tbaa !39
  %478 = load ptr, ptr %14, align 8, !tbaa !9
  %479 = getelementptr inbounds %struct.otfcc_Options, ptr %478, i32 0, i32 24
  %480 = load ptr, ptr %479, align 8, !tbaa !13
  call void %477(ptr noundef %480)
  br label %426, !llvm.loop !44

481:                                              ; preds = %429
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #10
  %482 = load ptr, ptr %14, align 8, !tbaa !9
  %483 = getelementptr inbounds %struct.otfcc_Options, ptr %482, i32 0, i32 24
  %484 = load ptr, ptr %483, align 8, !tbaa !13
  %485 = getelementptr inbounds %struct.otfcc_ILogger, ptr %484, i32 0, i32 4
  %486 = load ptr, ptr %485, align 8, !tbaa !36
  %487 = load ptr, ptr %14, align 8, !tbaa !9
  %488 = getelementptr inbounds %struct.otfcc_Options, ptr %487, i32 0, i32 24
  %489 = load ptr, ptr %488, align 8, !tbaa !13
  %490 = call ptr @sdsempty()
  %491 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %490, ptr noundef @.str.32)
  call void %486(ptr noundef %489, ptr noundef %491)
  store i8 1, ptr %27, align 1, !tbaa !11
  br label %492

492:                                              ; preds = %509, %481
  %493 = load i8, ptr %27, align 1, !tbaa !11, !range !32, !noundef !33
  %494 = trunc i8 %493 to i1
  br i1 %494, label %496, label %495

495:                                              ; preds = %492
  store i32 11, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #10
  br label %518

496:                                              ; preds = %492
  %497 = load ptr, ptr getelementptr inbounds (%struct.__caryll_elementinterface_otfcc_Font, ptr @otfcc_iFont, i32 0, i32 8), align 8, !tbaa !45
  %498 = load ptr, ptr %24, align 8, !tbaa !9
  %499 = load ptr, ptr %14, align 8, !tbaa !9
  call void %497(ptr noundef %498, ptr noundef %499)
  %500 = load ptr, ptr %14, align 8, !tbaa !9
  %501 = getelementptr inbounds %struct.otfcc_Options, ptr %500, i32 0, i32 24
  %502 = load ptr, ptr %501, align 8, !tbaa !13
  %503 = getelementptr inbounds %struct.otfcc_ILogger, ptr %502, i32 0, i32 6
  %504 = load ptr, ptr %503, align 8, !tbaa !35
  %505 = load ptr, ptr %14, align 8, !tbaa !9
  %506 = getelementptr inbounds %struct.otfcc_Options, ptr %505, i32 0, i32 24
  %507 = load ptr, ptr %506, align 8, !tbaa !13
  %508 = call ptr @push_stopwatch(ptr noundef %20)
  call void %504(ptr noundef %507, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %508)
  br label %509

509:                                              ; preds = %496
  store i8 0, ptr %27, align 1, !tbaa !11
  %510 = load ptr, ptr %14, align 8, !tbaa !9
  %511 = getelementptr inbounds %struct.otfcc_Options, ptr %510, i32 0, i32 24
  %512 = load ptr, ptr %511, align 8, !tbaa !13
  %513 = getelementptr inbounds %struct.otfcc_ILogger, ptr %512, i32 0, i32 8
  %514 = load ptr, ptr %513, align 8, !tbaa !39
  %515 = load ptr, ptr %14, align 8, !tbaa !9
  %516 = getelementptr inbounds %struct.otfcc_Options, ptr %515, i32 0, i32 24
  %517 = load ptr, ptr %516, align 8, !tbaa !13
  call void %514(ptr noundef %517)
  br label %492, !llvm.loop !47

518:                                              ; preds = %495
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #10
  %519 = load ptr, ptr %14, align 8, !tbaa !9
  %520 = getelementptr inbounds %struct.otfcc_Options, ptr %519, i32 0, i32 24
  %521 = load ptr, ptr %520, align 8, !tbaa !13
  %522 = getelementptr inbounds %struct.otfcc_ILogger, ptr %521, i32 0, i32 4
  %523 = load ptr, ptr %522, align 8, !tbaa !36
  %524 = load ptr, ptr %14, align 8, !tbaa !9
  %525 = getelementptr inbounds %struct.otfcc_Options, ptr %524, i32 0, i32 24
  %526 = load ptr, ptr %525, align 8, !tbaa !13
  %527 = call ptr @sdsempty()
  %528 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %527, ptr noundef @.str.33)
  call void %523(ptr noundef %526, ptr noundef %528)
  store i8 1, ptr %29, align 1, !tbaa !11
  br label %529

529:                                              ; preds = %569, %518
  %530 = load i8, ptr %29, align 1, !tbaa !11, !range !32, !noundef !33
  %531 = trunc i8 %530 to i1
  br i1 %531, label %533, label %532

532:                                              ; preds = %529
  store i32 14, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #10
  br label %578

533:                                              ; preds = %529
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %534 = call ptr (...) @otfcc_newJsonWriter()
  store ptr %534, ptr %30, align 8, !tbaa !9
  %535 = load ptr, ptr %30, align 8, !tbaa !9
  %536 = getelementptr inbounds %struct.otfcc_IFontSerializer, ptr %535, i32 0, i32 0
  %537 = load ptr, ptr %536, align 8, !tbaa !48
  %538 = load ptr, ptr %24, align 8, !tbaa !9
  %539 = load ptr, ptr %14, align 8, !tbaa !9
  %540 = call ptr %537(ptr noundef %538, ptr noundef %539)
  store ptr %540, ptr %28, align 8, !tbaa !9
  %541 = load ptr, ptr %28, align 8, !tbaa !9
  %542 = icmp ne ptr %541, null
  br i1 %542, label %555, label %543

543:                                              ; preds = %533
  %544 = load ptr, ptr %14, align 8, !tbaa !9
  %545 = getelementptr inbounds %struct.otfcc_Options, ptr %544, i32 0, i32 24
  %546 = load ptr, ptr %545, align 8, !tbaa !13
  %547 = getelementptr inbounds %struct.otfcc_ILogger, ptr %546, i32 0, i32 6
  %548 = load ptr, ptr %547, align 8, !tbaa !35
  %549 = load ptr, ptr %14, align 8, !tbaa !9
  %550 = getelementptr inbounds %struct.otfcc_Options, ptr %549, i32 0, i32 24
  %551 = load ptr, ptr %550, align 8, !tbaa !13
  %552 = call ptr @sdsempty()
  %553 = load ptr, ptr %18, align 8, !tbaa !9
  %554 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %552, ptr noundef @.str.31, ptr noundef %553)
  call void %548(ptr noundef %551, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %554)
  call void @exit(i32 noundef 1) #12
  unreachable

555:                                              ; preds = %533
  %556 = load ptr, ptr %14, align 8, !tbaa !9
  %557 = getelementptr inbounds %struct.otfcc_Options, ptr %556, i32 0, i32 24
  %558 = load ptr, ptr %557, align 8, !tbaa !13
  %559 = getelementptr inbounds %struct.otfcc_ILogger, ptr %558, i32 0, i32 6
  %560 = load ptr, ptr %559, align 8, !tbaa !35
  %561 = load ptr, ptr %14, align 8, !tbaa !9
  %562 = getelementptr inbounds %struct.otfcc_Options, ptr %561, i32 0, i32 24
  %563 = load ptr, ptr %562, align 8, !tbaa !13
  %564 = call ptr @push_stopwatch(ptr noundef %20)
  call void %560(ptr noundef %563, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %564)
  %565 = load ptr, ptr %30, align 8, !tbaa !9
  %566 = getelementptr inbounds %struct.otfcc_IFontSerializer, ptr %565, i32 0, i32 1
  %567 = load ptr, ptr %566, align 8, !tbaa !50
  %568 = load ptr, ptr %30, align 8, !tbaa !9
  call void %567(ptr noundef %568)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %569

569:                                              ; preds = %555
  store i8 0, ptr %29, align 1, !tbaa !11
  %570 = load ptr, ptr %14, align 8, !tbaa !9
  %571 = getelementptr inbounds %struct.otfcc_Options, ptr %570, i32 0, i32 24
  %572 = load ptr, ptr %571, align 8, !tbaa !13
  %573 = getelementptr inbounds %struct.otfcc_ILogger, ptr %572, i32 0, i32 8
  %574 = load ptr, ptr %573, align 8, !tbaa !39
  %575 = load ptr, ptr %14, align 8, !tbaa !9
  %576 = getelementptr inbounds %struct.otfcc_Options, ptr %575, i32 0, i32 24
  %577 = load ptr, ptr %576, align 8, !tbaa !13
  call void %574(ptr noundef %577)
  br label %529, !llvm.loop !51

578:                                              ; preds = %532
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #10
  %579 = load ptr, ptr %14, align 8, !tbaa !9
  %580 = getelementptr inbounds %struct.otfcc_Options, ptr %579, i32 0, i32 24
  %581 = load ptr, ptr %580, align 8, !tbaa !13
  %582 = getelementptr inbounds %struct.otfcc_ILogger, ptr %581, i32 0, i32 4
  %583 = load ptr, ptr %582, align 8, !tbaa !36
  %584 = load ptr, ptr %14, align 8, !tbaa !9
  %585 = getelementptr inbounds %struct.otfcc_Options, ptr %584, i32 0, i32 24
  %586 = load ptr, ptr %585, align 8, !tbaa !13
  %587 = call ptr @sdsempty()
  %588 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %587, ptr noundef @.str.34)
  call void %583(ptr noundef %586, ptr noundef %588)
  store i8 1, ptr %33, align 1, !tbaa !11
  br label %589

589:                                              ; preds = %638, %578
  %590 = load i8, ptr %33, align 1, !tbaa !11, !range !32, !noundef !33
  %591 = trunc i8 %590 to i1
  br i1 %591, label %593, label %592

592:                                              ; preds = %589
  store i32 17, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #10
  br label %647

593:                                              ; preds = %589
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #10
  %594 = getelementptr inbounds %struct.json_serialize_opts, ptr %34, i32 0, i32 0
  store i32 2, ptr %594, align 4, !tbaa !52
  %595 = getelementptr inbounds %struct.json_serialize_opts, ptr %34, i32 0, i32 1
  store i32 0, ptr %595, align 4, !tbaa !54
  %596 = getelementptr inbounds %struct.json_serialize_opts, ptr %34, i32 0, i32 2
  store i32 4, ptr %596, align 4, !tbaa !55
  %597 = load i8, ptr %8, align 1, !tbaa !11, !range !32, !noundef !33
  %598 = trunc i8 %597 to i1
  br i1 %598, label %607, label %599

599:                                              ; preds = %593
  %600 = load ptr, ptr %17, align 8, !tbaa !9
  %601 = icmp ne ptr %600, null
  br i1 %601, label %609, label %602

602:                                              ; preds = %599
  %603 = load ptr, ptr @stdout, align 8, !tbaa !9
  %604 = call i32 @fileno(ptr noundef %603) #10
  %605 = call i32 @isatty(i32 noundef %604) #10
  %606 = icmp ne i32 %605, 0
  br i1 %606, label %607, label %609

607:                                              ; preds = %602, %593
  %608 = getelementptr inbounds %struct.json_serialize_opts, ptr %34, i32 0, i32 0
  store i32 0, ptr %608, align 4, !tbaa !52
  br label %609

609:                                              ; preds = %607, %602, %599
  %610 = load i8, ptr %9, align 1, !tbaa !11, !range !32, !noundef !33
  %611 = trunc i8 %610 to i1
  br i1 %611, label %612, label %614

612:                                              ; preds = %609
  %613 = getelementptr inbounds %struct.json_serialize_opts, ptr %34, i32 0, i32 0
  store i32 2, ptr %613, align 4, !tbaa !52
  br label %614

614:                                              ; preds = %612, %609
  %615 = load ptr, ptr %28, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %34, i64 12, i1 false)
  %616 = getelementptr inbounds { i64, i32 }, ptr %35, i32 0, i32 0
  %617 = load i64, ptr %616, align 4
  %618 = getelementptr inbounds { i64, i32 }, ptr %35, i32 0, i32 1
  %619 = load i32, ptr %618, align 4
  %620 = call i64 @json_measure_ex(ptr noundef %615, i64 %617, i32 %619)
  store i64 %620, ptr %32, align 8, !tbaa !56
  %621 = load i64, ptr %32, align 8, !tbaa !56
  %622 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %621) #13
  store ptr %622, ptr %31, align 8, !tbaa !9
  %623 = load ptr, ptr %31, align 8, !tbaa !9
  %624 = load ptr, ptr %28, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %34, i64 12, i1 false)
  %625 = getelementptr inbounds { i64, i32 }, ptr %36, i32 0, i32 0
  %626 = load i64, ptr %625, align 4
  %627 = getelementptr inbounds { i64, i32 }, ptr %36, i32 0, i32 1
  %628 = load i32, ptr %627, align 4
  call void @json_serialize_ex(ptr noundef %623, ptr noundef %624, i64 %626, i32 %628)
  %629 = load ptr, ptr %14, align 8, !tbaa !9
  %630 = getelementptr inbounds %struct.otfcc_Options, ptr %629, i32 0, i32 24
  %631 = load ptr, ptr %630, align 8, !tbaa !13
  %632 = getelementptr inbounds %struct.otfcc_ILogger, ptr %631, i32 0, i32 6
  %633 = load ptr, ptr %632, align 8, !tbaa !35
  %634 = load ptr, ptr %14, align 8, !tbaa !9
  %635 = getelementptr inbounds %struct.otfcc_Options, ptr %634, i32 0, i32 24
  %636 = load ptr, ptr %635, align 8, !tbaa !13
  %637 = call ptr @push_stopwatch(ptr noundef %20)
  call void %633(ptr noundef %636, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %637)
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #10
  br label %638

638:                                              ; preds = %614
  store i8 0, ptr %33, align 1, !tbaa !11
  %639 = load ptr, ptr %14, align 8, !tbaa !9
  %640 = getelementptr inbounds %struct.otfcc_Options, ptr %639, i32 0, i32 24
  %641 = load ptr, ptr %640, align 8, !tbaa !13
  %642 = getelementptr inbounds %struct.otfcc_ILogger, ptr %641, i32 0, i32 8
  %643 = load ptr, ptr %642, align 8, !tbaa !39
  %644 = load ptr, ptr %14, align 8, !tbaa !9
  %645 = getelementptr inbounds %struct.otfcc_Options, ptr %644, i32 0, i32 24
  %646 = load ptr, ptr %645, align 8, !tbaa !13
  call void %643(ptr noundef %646)
  br label %589, !llvm.loop !58

647:                                              ; preds = %592
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #10
  %648 = load ptr, ptr %14, align 8, !tbaa !9
  %649 = getelementptr inbounds %struct.otfcc_Options, ptr %648, i32 0, i32 24
  %650 = load ptr, ptr %649, align 8, !tbaa !13
  %651 = getelementptr inbounds %struct.otfcc_ILogger, ptr %650, i32 0, i32 4
  %652 = load ptr, ptr %651, align 8, !tbaa !36
  %653 = load ptr, ptr %14, align 8, !tbaa !9
  %654 = getelementptr inbounds %struct.otfcc_Options, ptr %653, i32 0, i32 24
  %655 = load ptr, ptr %654, align 8, !tbaa !13
  %656 = call ptr @sdsempty()
  %657 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %656, ptr noundef @.str.35)
  call void %652(ptr noundef %655, ptr noundef %657)
  store i8 1, ptr %37, align 1, !tbaa !11
  br label %658

658:                                              ; preds = %737, %647
  %659 = load i8, ptr %37, align 1, !tbaa !11, !range !32, !noundef !33
  %660 = trunc i8 %659 to i1
  br i1 %660, label %662, label %661

661:                                              ; preds = %658
  store i32 20, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #10
  br label %746

662:                                              ; preds = %658
  %663 = load ptr, ptr %17, align 8, !tbaa !9
  %664 = icmp ne ptr %663, null
  br i1 %664, label %665, label %713

665:                                              ; preds = %662
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %666 = load ptr, ptr %17, align 8, !tbaa !9
  %667 = call noalias ptr @fopen(ptr noundef %666, ptr noundef @.str.36)
  store ptr %667, ptr %38, align 8, !tbaa !9
  %668 = load ptr, ptr %38, align 8, !tbaa !9
  %669 = icmp ne ptr %668, null
  br i1 %669, label %682, label %670

670:                                              ; preds = %665
  %671 = load ptr, ptr %14, align 8, !tbaa !9
  %672 = getelementptr inbounds %struct.otfcc_Options, ptr %671, i32 0, i32 24
  %673 = load ptr, ptr %672, align 8, !tbaa !13
  %674 = getelementptr inbounds %struct.otfcc_ILogger, ptr %673, i32 0, i32 6
  %675 = load ptr, ptr %674, align 8, !tbaa !35
  %676 = load ptr, ptr %14, align 8, !tbaa !9
  %677 = getelementptr inbounds %struct.otfcc_Options, ptr %676, i32 0, i32 24
  %678 = load ptr, ptr %677, align 8, !tbaa !13
  %679 = call ptr @sdsempty()
  %680 = load ptr, ptr %17, align 8, !tbaa !9
  %681 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %679, ptr noundef @.str.37, ptr noundef %680)
  call void %675(ptr noundef %678, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %681)
  call void @exit(i32 noundef 1) #12
  unreachable

682:                                              ; preds = %665
  %683 = load i8, ptr %10, align 1, !tbaa !11, !range !32, !noundef !33
  %684 = trunc i8 %683 to i1
  br i1 %684, label %685, label %692

685:                                              ; preds = %682
  %686 = load ptr, ptr %38, align 8, !tbaa !9
  %687 = call i32 @fputc(i32 noundef 239, ptr noundef %686)
  %688 = load ptr, ptr %38, align 8, !tbaa !9
  %689 = call i32 @fputc(i32 noundef 187, ptr noundef %688)
  %690 = load ptr, ptr %38, align 8, !tbaa !9
  %691 = call i32 @fputc(i32 noundef 191, ptr noundef %690)
  br label %692

692:                                              ; preds = %685, %682
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #10
  %693 = load i64, ptr %32, align 8, !tbaa !56
  %694 = sub i64 %693, 1
  store i64 %694, ptr %39, align 8, !tbaa !56
  br label %695

695:                                              ; preds = %702, %692
  %696 = load ptr, ptr %31, align 8, !tbaa !9
  %697 = load i64, ptr %39, align 8, !tbaa !56
  %698 = getelementptr inbounds i8, ptr %696, i64 %697
  %699 = load i8, ptr %698, align 1, !tbaa !59
  %700 = icmp ne i8 %699, 0
  %701 = xor i1 %700, true
  br i1 %701, label %702, label %705

702:                                              ; preds = %695
  %703 = load i64, ptr %39, align 8, !tbaa !56
  %704 = sub i64 %703, 1
  store i64 %704, ptr %39, align 8, !tbaa !56
  br label %695, !llvm.loop !60

705:                                              ; preds = %695
  %706 = load ptr, ptr %31, align 8, !tbaa !9
  %707 = load i64, ptr %39, align 8, !tbaa !56
  %708 = add i64 %707, 1
  %709 = load ptr, ptr %38, align 8, !tbaa !9
  %710 = call i64 @fwrite(ptr noundef %706, i64 noundef 1, i64 noundef %708, ptr noundef %709)
  %711 = load ptr, ptr %38, align 8, !tbaa !9
  %712 = call i32 @fclose(ptr noundef %711)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %727

713:                                              ; preds = %662
  %714 = load i8, ptr %10, align 1, !tbaa !11, !range !32, !noundef !33
  %715 = trunc i8 %714 to i1
  br i1 %715, label %716, label %723

716:                                              ; preds = %713
  %717 = load ptr, ptr @stdout, align 8, !tbaa !9
  %718 = call i32 @fputc(i32 noundef 239, ptr noundef %717)
  %719 = load ptr, ptr @stdout, align 8, !tbaa !9
  %720 = call i32 @fputc(i32 noundef 187, ptr noundef %719)
  %721 = load ptr, ptr @stdout, align 8, !tbaa !9
  %722 = call i32 @fputc(i32 noundef 191, ptr noundef %721)
  br label %723

723:                                              ; preds = %716, %713
  %724 = load ptr, ptr %31, align 8, !tbaa !9
  %725 = load ptr, ptr @stdout, align 8, !tbaa !9
  %726 = call i32 @fputs(ptr noundef %724, ptr noundef %725)
  br label %727

727:                                              ; preds = %723, %705
  %728 = load ptr, ptr %14, align 8, !tbaa !9
  %729 = getelementptr inbounds %struct.otfcc_Options, ptr %728, i32 0, i32 24
  %730 = load ptr, ptr %729, align 8, !tbaa !13
  %731 = getelementptr inbounds %struct.otfcc_ILogger, ptr %730, i32 0, i32 6
  %732 = load ptr, ptr %731, align 8, !tbaa !35
  %733 = load ptr, ptr %14, align 8, !tbaa !9
  %734 = getelementptr inbounds %struct.otfcc_Options, ptr %733, i32 0, i32 24
  %735 = load ptr, ptr %734, align 8, !tbaa !13
  %736 = call ptr @push_stopwatch(ptr noundef %20)
  call void %732(ptr noundef %735, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %736)
  br label %737

737:                                              ; preds = %727
  store i8 0, ptr %37, align 1, !tbaa !11
  %738 = load ptr, ptr %14, align 8, !tbaa !9
  %739 = getelementptr inbounds %struct.otfcc_Options, ptr %738, i32 0, i32 24
  %740 = load ptr, ptr %739, align 8, !tbaa !13
  %741 = getelementptr inbounds %struct.otfcc_ILogger, ptr %740, i32 0, i32 8
  %742 = load ptr, ptr %741, align 8, !tbaa !39
  %743 = load ptr, ptr %14, align 8, !tbaa !9
  %744 = getelementptr inbounds %struct.otfcc_Options, ptr %743, i32 0, i32 24
  %745 = load ptr, ptr %744, align 8, !tbaa !13
  call void %742(ptr noundef %745)
  br label %658, !llvm.loop !61

746:                                              ; preds = %661
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #10
  %747 = load ptr, ptr %14, align 8, !tbaa !9
  %748 = getelementptr inbounds %struct.otfcc_Options, ptr %747, i32 0, i32 24
  %749 = load ptr, ptr %748, align 8, !tbaa !13
  %750 = getelementptr inbounds %struct.otfcc_ILogger, ptr %749, i32 0, i32 4
  %751 = load ptr, ptr %750, align 8, !tbaa !36
  %752 = load ptr, ptr %14, align 8, !tbaa !9
  %753 = getelementptr inbounds %struct.otfcc_Options, ptr %752, i32 0, i32 24
  %754 = load ptr, ptr %753, align 8, !tbaa !13
  %755 = call ptr @sdsempty()
  %756 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %755, ptr noundef @.str.38)
  call void %751(ptr noundef %754, ptr noundef %756)
  store i8 1, ptr %40, align 1, !tbaa !11
  br label %757

757:                                              ; preds = %793, %746
  %758 = load i8, ptr %40, align 1, !tbaa !11, !range !32, !noundef !33
  %759 = trunc i8 %758 to i1
  br i1 %759, label %761, label %760

760:                                              ; preds = %757
  store i32 25, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #10
  br label %802

761:                                              ; preds = %757
  %762 = load ptr, ptr %31, align 8, !tbaa !9
  call void @free(ptr noundef %762) #10
  %763 = load ptr, ptr %24, align 8, !tbaa !9
  %764 = icmp ne ptr %763, null
  br i1 %764, label %765, label %768

765:                                              ; preds = %761
  %766 = load ptr, ptr getelementptr inbounds (%struct.__caryll_elementinterface_otfcc_Font, ptr @otfcc_iFont, i32 0, i32 7), align 8, !tbaa !62
  %767 = load ptr, ptr %24, align 8, !tbaa !9
  call void %766(ptr noundef %767)
  br label %768

768:                                              ; preds = %765, %761
  %769 = load ptr, ptr %28, align 8, !tbaa !9
  %770 = icmp ne ptr %769, null
  br i1 %770, label %771, label %773

771:                                              ; preds = %768
  %772 = load ptr, ptr %28, align 8, !tbaa !9
  call void @json_builder_free(ptr noundef %772)
  br label %773

773:                                              ; preds = %771, %768
  %774 = load ptr, ptr %18, align 8, !tbaa !9
  %775 = icmp ne ptr %774, null
  br i1 %775, label %776, label %778

776:                                              ; preds = %773
  %777 = load ptr, ptr %18, align 8, !tbaa !9
  call void @sdsfree(ptr noundef %777)
  br label %778

778:                                              ; preds = %776, %773
  %779 = load ptr, ptr %17, align 8, !tbaa !9
  %780 = icmp ne ptr %779, null
  br i1 %780, label %781, label %783

781:                                              ; preds = %778
  %782 = load ptr, ptr %17, align 8, !tbaa !9
  call void @sdsfree(ptr noundef %782)
  br label %783

783:                                              ; preds = %781, %778
  %784 = load ptr, ptr %14, align 8, !tbaa !9
  %785 = getelementptr inbounds %struct.otfcc_Options, ptr %784, i32 0, i32 24
  %786 = load ptr, ptr %785, align 8, !tbaa !13
  %787 = getelementptr inbounds %struct.otfcc_ILogger, ptr %786, i32 0, i32 6
  %788 = load ptr, ptr %787, align 8, !tbaa !35
  %789 = load ptr, ptr %14, align 8, !tbaa !9
  %790 = getelementptr inbounds %struct.otfcc_Options, ptr %789, i32 0, i32 24
  %791 = load ptr, ptr %790, align 8, !tbaa !13
  %792 = call ptr @push_stopwatch(ptr noundef %20)
  call void %788(ptr noundef %791, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %792)
  br label %793

793:                                              ; preds = %783
  store i8 0, ptr %40, align 1, !tbaa !11
  %794 = load ptr, ptr %14, align 8, !tbaa !9
  %795 = getelementptr inbounds %struct.otfcc_Options, ptr %794, i32 0, i32 24
  %796 = load ptr, ptr %795, align 8, !tbaa !13
  %797 = getelementptr inbounds %struct.otfcc_ILogger, ptr %796, i32 0, i32 8
  %798 = load ptr, ptr %797, align 8, !tbaa !39
  %799 = load ptr, ptr %14, align 8, !tbaa !9
  %800 = getelementptr inbounds %struct.otfcc_Options, ptr %799, i32 0, i32 24
  %801 = load ptr, ptr %800, align 8, !tbaa !13
  call void %798(ptr noundef %801)
  br label %757, !llvm.loop !63

802:                                              ; preds = %760
  %803 = load ptr, ptr %14, align 8, !tbaa !9
  call void @otfcc_deleteOptions(ptr noundef %803)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  br label %804

804:                                              ; preds = %802, %300, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 672, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #10
  %805 = load i32, ptr %3, align 4
  ret i32 %805
}

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

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

declare ptr @otfcc_newOptions(...) #3

declare ptr @otfcc_newLogger(ptr noundef) #3

declare ptr @otfcc_newStdErrTarget(...) #3

declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #5

declare ptr @sdsnew(ptr noundef) #3

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #6

; Function Attrs: inlinehint nounwind uwtable
declare i32 @getchar() #7

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

declare ptr @sdsempty() #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #8

declare void @time_now(ptr noundef) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

declare ptr @otfcc_readSFNT(ptr noundef) #3

declare ptr @push_stopwatch(ptr noundef) #3

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

declare ptr @otfcc_newOTFReader(...) #3

declare void @otfcc_deleteSFNT(ptr noundef) #3

declare ptr @otfcc_newJsonWriter(...) #3

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) #5

; Function Attrs: nounwind
declare i32 @fileno(ptr noundef) #5

declare i64 @json_measure_ex(ptr noundef, i64, i32) #3

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #9

declare void @json_serialize_ex(ptr noundef, ptr noundef, i64, i32) #3

declare i32 @fputc(i32 noundef, ptr noundef) #3

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

declare i32 @fclose(ptr noundef) #3

declare i32 @fputs(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

declare void @json_builder_free(ptr noundef) #3

declare void @sdsfree(ptr noundef) #3

declare void @otfcc_deleteOptions(ptr noundef) #3

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!14, !10, i64 32}
!14 = !{!"", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !12, i64 8, !12, i64 9, !12, i64 10, !12, i64 11, !12, i64 12, !12, i64 13, !12, i64 14, !12, i64 15, !12, i64 16, !12, i64 17, !12, i64 18, !12, i64 19, !12, i64 20, !12, i64 21, !12, i64 22, !10, i64 24, !10, i64 32}
!15 = !{!16, !10, i64 8}
!16 = !{!"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}
!17 = !{!14, !12, i64 20}
!18 = !{!19, !10, i64 16}
!19 = !{!"option", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24}
!20 = !{!19, !10, i64 0}
!21 = !{!14, !12, i64 1}
!22 = !{!14, !12, i64 11}
!23 = !{!14, !12, i64 12}
!24 = !{!14, !12, i64 2}
!25 = !{!14, !12, i64 21}
!26 = !{!14, !12, i64 22}
!27 = !{!14, !12, i64 10}
!28 = !{!14, !10, i64 24}
!29 = !{!14, !12, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!16, !10, i64 80}
!35 = !{!16, !10, i64 48}
!36 = !{!16, !10, i64 32}
!37 = !{!38, !6, i64 4}
!38 = !{!"", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16}
!39 = !{!16, !10, i64 64}
!40 = distinct !{!40, !31}
!41 = !{!42, !10, i64 0}
!42 = !{!"otfcc_IFontBuilder", !10, i64 0, !10, i64 8}
!43 = !{!42, !10, i64 8}
!44 = distinct !{!44, !31}
!45 = !{!46, !10, i64 64}
!46 = !{!"__caryll_elementinterface_otfcc_Font", !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}
!47 = distinct !{!47, !31}
!48 = !{!49, !10, i64 0}
!49 = !{!"otfcc_IFontSerializer", !10, i64 0, !10, i64 8}
!50 = !{!49, !10, i64 8}
!51 = distinct !{!51, !31}
!52 = !{!53, !6, i64 0}
!53 = !{!"json_serialize_opts", !6, i64 0, !6, i64 4, !6, i64 8}
!54 = !{!53, !6, i64 4}
!55 = !{!53, !6, i64 8}
!56 = !{!57, !57, i64 0}
!57 = !{!"long", !7, i64 0}
!58 = distinct !{!58, !31}
!59 = !{!7, !7, i64 0}
!60 = distinct !{!60, !31}
!61 = distinct !{!61, !31}
!62 = !{!46, !10, i64 56}
!63 = distinct !{!63, !31}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.option = type { ptr, i32, ptr, i32 }
%struct.__caryll_elementinterface_otfcc_Font = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.timespec = type { i64, i64 }

@stdout = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [20 x i8], align 1
@__const.main.longopts = external hidden unnamed_addr constant [21 x %struct.option], align 16
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@optind = external local_unnamed_addr global i32, align 4
@.str.24 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [12 x i8], align 1
@otfcc_iFont = external local_unnamed_addr constant %struct.__caryll_elementinterface_otfcc_Font, align 8
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @printInfo() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @printHelp() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca [21 x %struct.option], align 16
  %4 = alloca i32, align 4
  %5 = alloca %struct.timespec, align 8
  call void @llvm.lifetime.start.p0(i64 672, ptr nonnull %3) #13
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(672) %3, ptr noundef nonnull align 16 dereferenceable(672) @__const.main.longopts, i64 672, i1 false)
  %6 = tail call ptr (...) @otfcc_newOptions() #13
  %7 = tail call ptr (...) @otfcc_newStdErrTarget() #13
  %8 = tail call ptr @otfcc_newLogger(ptr noundef %7) #13
  %9 = getelementptr inbounds i8, ptr %6, i64 32
  store ptr %8, ptr %9, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %8, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !11
  tail call void %11(ptr noundef %8, ptr noundef nonnull @.str.22) #13
  %12 = getelementptr inbounds i8, ptr %6, i64 20
  store i8 1, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #13
  store i32 0, ptr %4, align 4, !tbaa !14
  %13 = getelementptr inbounds i8, ptr %6, i64 12
  %14 = getelementptr inbounds i8, ptr %6, i64 1
  %15 = getelementptr inbounds i8, ptr %6, i64 24
  %16 = getelementptr inbounds i8, ptr %6, i64 10
  %17 = getelementptr inbounds i8, ptr %6, i64 22
  %18 = getelementptr inbounds i8, ptr %6, i64 21
  %19 = getelementptr inbounds i8, ptr %6, i64 2
  %20 = getelementptr inbounds i8, ptr %6, i64 11
  br label %21

21:                                               ; preds = %.backedge, %2
  %.0190 = phi ptr [ null, %2 ], [ %.0190.be, %.backedge ]
  %.0186 = phi i32 [ 0, %2 ], [ %.0186.be, %.backedge ]
  %.0178 = phi i8 [ 0, %2 ], [ %.0178.be, %.backedge ]
  %.0176 = phi i1 [ false, %2 ], [ %.0176.be, %.backedge ]
  %.0174 = phi i1 [ false, %2 ], [ %.0174.be, %.backedge ]
  %.0172 = phi i1 [ false, %2 ], [ %.0172.be, %.backedge ]
  %.0171 = phi i1 [ false, %2 ], [ %.0171.be, %.backedge ]
  %22 = call i32 @getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.23, ptr noundef nonnull %3, ptr noundef nonnull %4) #13
  switch i32 %22, label %.backedge [
    i32 -1, label %99
    i32 0, label %23
    i32 118, label %88
    i32 105, label %89
    i32 104, label %90
    i32 112, label %91
    i32 111, label %92
    i32 113, label %95
    i32 110, label %96
  ]

23:                                               ; preds = %21
  %24 = load i32, ptr %4, align 4, !tbaa !14
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [21 x %struct.option], ptr %3, i64 0, i64 %25
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  %28 = load ptr, ptr %27, align 16, !tbaa !16
  %.not217 = icmp eq ptr %28, null
  br i1 %.not217, label %29, label %.backedge

29:                                               ; preds = %23
  %30 = load ptr, ptr %26, align 16, !tbaa !18
  %31 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.5) #14
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %.backedge, label %33

33:                                               ; preds = %29
  %34 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.6) #14
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %.backedge, label %36

36:                                               ; preds = %33
  %37 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.17) #14
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %.backedge, label %39

39:                                               ; preds = %36
  %40 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.18) #14
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %.backedge, label %42

.backedge:                                        ; preds = %39, %36, %29, %21, %33, %49, %57, %65, %73, %81, %87, %84, %77, %69, %61, %53, %45, %23, %96, %95, %92, %91, %90, %89, %88
  %.0190.be = phi ptr [ %.0190, %96 ], [ %.0190, %95 ], [ %94, %92 ], [ %.0190, %91 ], [ %.0190, %90 ], [ %.0190, %89 ], [ %.0190, %88 ], [ %.0190, %23 ], [ %.0190, %33 ], [ %.0190, %45 ], [ %.0190, %49 ], [ %.0190, %53 ], [ %.0190, %57 ], [ %.0190, %61 ], [ %.0190, %65 ], [ %.0190, %69 ], [ %.0190, %73 ], [ %.0190, %77 ], [ %.0190, %81 ], [ %.0190, %87 ], [ %.0190, %84 ], [ %.0190, %21 ], [ %.0190, %29 ], [ %.0190, %36 ], [ %.0190, %39 ]
  %.0186.be = phi i32 [ %98, %96 ], [ %.0186, %95 ], [ %.0186, %92 ], [ %.0186, %91 ], [ %.0186, %90 ], [ %.0186, %89 ], [ %.0186, %88 ], [ %.0186, %23 ], [ %.0186, %33 ], [ %.0186, %45 ], [ %.0186, %49 ], [ %.0186, %53 ], [ %.0186, %57 ], [ %.0186, %61 ], [ %.0186, %65 ], [ %.0186, %69 ], [ %.0186, %73 ], [ %.0186, %77 ], [ %.0186, %81 ], [ %.0186, %87 ], [ %.0186, %84 ], [ %.0186, %21 ], [ %.0186, %29 ], [ %.0186, %36 ], [ %.0186, %39 ]
  %.0178.be = phi i8 [ %.0178, %96 ], [ %.0178, %95 ], [ %.0178, %92 ], [ %.0178, %91 ], [ %.0178, %90 ], [ %.0178, %89 ], [ %.0178, %88 ], [ %.0178, %23 ], [ %.0178, %33 ], [ %.0178, %45 ], [ %.0178, %49 ], [ %.0178, %53 ], [ %.0178, %57 ], [ %.0178, %61 ], [ %.0178, %65 ], [ %.0178, %69 ], [ %.0178, %73 ], [ %.0178, %77 ], [ %.0178, %81 ], [ %.0178, %87 ], [ %.0178, %84 ], [ %.0178, %21 ], [ %.0178, %29 ], [ 1, %36 ], [ %.0178, %39 ]
  %.0176.be = phi i1 [ %.0176, %96 ], [ %.0176, %95 ], [ %.0176, %92 ], [ %.0176, %91 ], [ %.0176, %90 ], [ %.0176, %89 ], [ %.0176, %88 ], [ %.0176, %23 ], [ %.0176, %33 ], [ %.0176, %45 ], [ %.0176, %49 ], [ %.0176, %53 ], [ %.0176, %57 ], [ %.0176, %61 ], [ %.0176, %65 ], [ %.0176, %69 ], [ %.0176, %73 ], [ %.0176, %77 ], [ %.0176, %81 ], [ %.0176, %87 ], [ %.0176, %84 ], [ %.0176, %21 ], [ true, %29 ], [ %.0176, %36 ], [ %.0176, %39 ]
  %.0174.be = phi i1 [ %.0174, %96 ], [ %.0174, %95 ], [ %.0174, %92 ], [ true, %91 ], [ %.0174, %90 ], [ %.0174, %89 ], [ %.0174, %88 ], [ %.0174, %23 ], [ %.0174, %33 ], [ %.0174, %45 ], [ %.0174, %49 ], [ %.0174, %53 ], [ %.0174, %57 ], [ %.0174, %61 ], [ %.0174, %65 ], [ %.0174, %69 ], [ %.0174, %73 ], [ %.0174, %77 ], [ %.0174, %81 ], [ %.0174, %87 ], [ %.0174, %84 ], [ %.0174, %21 ], [ %.0174, %29 ], [ %.0174, %36 ], [ %.0174, %39 ]
  %.0172.be = phi i1 [ %.0172, %96 ], [ %.0172, %95 ], [ %.0172, %92 ], [ %.0172, %91 ], [ %.0172, %90 ], [ %.0172, %89 ], [ true, %88 ], [ %.0172, %23 ], [ %.0172, %33 ], [ %.0172, %45 ], [ %.0172, %49 ], [ %.0172, %53 ], [ %.0172, %57 ], [ %.0172, %61 ], [ %.0172, %65 ], [ %.0172, %69 ], [ %.0172, %73 ], [ %.0172, %77 ], [ %.0172, %81 ], [ %.0172, %87 ], [ %.0172, %84 ], [ %.0172, %21 ], [ %.0172, %29 ], [ %.0172, %36 ], [ %.0172, %39 ]
  %.0171.be = phi i1 [ %.0171, %96 ], [ %.0171, %95 ], [ %.0171, %92 ], [ %.0171, %91 ], [ true, %90 ], [ %.0171, %89 ], [ %.0171, %88 ], [ %.0171, %23 ], [ %.0171, %33 ], [ %.0171, %45 ], [ %.0171, %49 ], [ %.0171, %53 ], [ %.0171, %57 ], [ %.0171, %61 ], [ %.0171, %65 ], [ %.0171, %69 ], [ %.0171, %73 ], [ %.0171, %77 ], [ %.0171, %81 ], [ %.0171, %87 ], [ %.0171, %84 ], [ %.0171, %21 ], [ %.0171, %29 ], [ %.0171, %36 ], [ %.0171, %39 ]
  br label %21, !llvm.loop !19

42:                                               ; preds = %39
  %43 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.7) #14
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %42
  store i8 1, ptr %14, align 1, !tbaa !21
  br label %.backedge

46:                                               ; preds = %42
  %47 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.15) #14
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %46
  store i8 1, ptr %20, align 1, !tbaa !22
  br label %.backedge

50:                                               ; preds = %46
  %51 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.16) #14
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %54

53:                                               ; preds = %50
  store i8 1, ptr %13, align 4, !tbaa !23
  br label %.backedge

54:                                               ; preds = %50
  %55 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.8) #14
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %58

57:                                               ; preds = %54
  store i8 1, ptr %19, align 2, !tbaa !24
  br label %.backedge

58:                                               ; preds = %54
  %59 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.10) #14
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %58
  store i8 1, ptr %12, align 4, !tbaa !13
  br label %.backedge

62:                                               ; preds = %58
  %63 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.9) #14
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %66

65:                                               ; preds = %62
  store i8 0, ptr %12, align 4, !tbaa !13
  br label %.backedge

66:                                               ; preds = %62
  %67 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.12) #14
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %66
  store i8 1, ptr %18, align 1, !tbaa !25
  br label %.backedge

70:                                               ; preds = %66
  %71 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.13) #14
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %70
  store i8 1, ptr %17, align 2, !tbaa !26
  br label %.backedge

74:                                               ; preds = %70
  %75 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.11) #14
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %74
  store i8 1, ptr %16, align 2, !tbaa !27
  br label %.backedge

78:                                               ; preds = %74
  %79 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.14) #14
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %84

81:                                               ; preds = %78
  %82 = load ptr, ptr @optarg, align 8, !tbaa !28
  %83 = call noalias ptr @strdup(ptr noundef %82) #13
  store ptr %83, ptr %15, align 8, !tbaa !29
  br label %.backedge

84:                                               ; preds = %78
  %85 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %30, ptr noundef nonnull dereferenceable(1) @.str.21) #14
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %87, label %.backedge

87:                                               ; preds = %84
  store i8 1, ptr %6, align 8, !tbaa !30
  br label %.backedge

88:                                               ; preds = %21
  br label %.backedge

89:                                               ; preds = %21
  store i8 1, ptr %14, align 1, !tbaa !21
  br label %.backedge

90:                                               ; preds = %21
  br label %.backedge

91:                                               ; preds = %21
  br label %.backedge

92:                                               ; preds = %21
  %93 = load ptr, ptr @optarg, align 8, !tbaa !28
  %94 = call ptr @sdsnew(ptr noundef %93) #13
  br label %.backedge

95:                                               ; preds = %21
  store i8 1, ptr %13, align 4, !tbaa !23
  br label %.backedge

96:                                               ; preds = %21
  %97 = load ptr, ptr @optarg, align 8, !tbaa !28
  %98 = call i32 @atoi(ptr nocapture noundef %97) #14
  br label %.backedge

99:                                               ; preds = %21
  %100 = load i8, ptr %6, align 8, !tbaa !30, !range !31, !noundef !32
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %102, label %104

102:                                              ; preds = %99
  %103 = call i32 @getchar()
  br label %104

104:                                              ; preds = %102, %99
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 80
  %107 = load ptr, ptr %106, align 8, !tbaa !33
  %108 = load i8, ptr %13, align 4, !tbaa !23, !range !31, !noundef !32
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %114, label %110

110:                                              ; preds = %104
  %111 = load i8, ptr %20, align 1, !tbaa !22, !range !31, !noundef !32
  %112 = trunc nuw i8 %111 to i1
  %113 = select i1 %112, i8 -1, i8 1
  br label %114

114:                                              ; preds = %104, %110
  %115 = phi i8 [ %113, %110 ], [ 0, %104 ]
  call void %107(ptr noundef nonnull %105, i8 noundef zeroext %115) #13
  br i1 %.0171, label %116, label %117

116:                                              ; preds = %114
  call void @printInfo()
  call void @printHelp()
  br label %307

117:                                              ; preds = %114
  br i1 %.0172, label %118, label %119

118:                                              ; preds = %117
  call void @printInfo()
  br label %307

119:                                              ; preds = %117
  %120 = load i32, ptr @optind, align 4, !tbaa !14
  %.not202 = icmp slt i32 %120, %0
  br i1 %.not202, label %127, label %121

121:                                              ; preds = %119
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 48
  %124 = load ptr, ptr %123, align 8, !tbaa !34
  %125 = call ptr @sdsempty() #13
  %126 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %125, ptr noundef nonnull @.str.24) #13
  call void %124(ptr noundef %122, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %126) #13
  call void @printHelp()
  call void @exit(i32 noundef 1) #15
  unreachable

127:                                              ; preds = %119
  %128 = sext i32 %120 to i64
  %129 = getelementptr inbounds ptr, ptr %1, i64 %128
  %130 = load ptr, ptr %129, align 8, !tbaa !28
  %131 = call ptr @sdsnew(ptr noundef %130) #13
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #13
  call void @time_now(ptr noundef nonnull %5) #13
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %132, i64 32
  %134 = load ptr, ptr %133, align 8, !tbaa !35
  %135 = call ptr @sdsempty() #13
  %136 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %135, ptr noundef nonnull @.str.25) #13
  call void %134(ptr noundef %132, ptr noundef %136) #13
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %137, i64 48
  %139 = load ptr, ptr %138, align 8, !tbaa !34
  %140 = call ptr @sdsempty() #13
  %141 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %140, ptr noundef nonnull @.str.26, ptr noundef %131) #13
  call void %139(ptr noundef %137, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %141) #13
  %142 = call noalias ptr @fopen(ptr noundef %131, ptr noundef nonnull @.str.27)
  %143 = call ptr @otfcc_readSFNT(ptr noundef %142) #13
  %.not215 = icmp eq ptr %143, null
  br i1 %.not215, label %148, label %144

144:                                              ; preds = %127
  %145 = getelementptr inbounds i8, ptr %143, i64 4
  %146 = load i32, ptr %145, align 4, !tbaa !36
  %147 = icmp eq i32 %146, 0
  br i1 %147, label %148, label %154

148:                                              ; preds = %144, %127
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %149, i64 48
  %151 = load ptr, ptr %150, align 8, !tbaa !34
  %152 = call ptr @sdsempty() #13
  %153 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %152, ptr noundef nonnull @.str.28, ptr noundef %131) #13
  call void %151(ptr noundef %149, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %153) #13
  call void @exit(i32 noundef 1) #15
  unreachable

154:                                              ; preds = %144
  %.not216 = icmp ult i32 %.0186, %146
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %155, i64 48
  %157 = load ptr, ptr %156, align 8, !tbaa !34
  br i1 %.not216, label %163, label %158

158:                                              ; preds = %154
  %159 = call ptr @sdsempty() #13
  %160 = load i32, ptr %145, align 4, !tbaa !36
  %161 = add i32 %160, -1
  %162 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %159, ptr noundef nonnull @.str.29, i32 noundef %.0186, ptr noundef %131, i32 noundef %161) #13
  call void %157(ptr noundef %155, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %162) #13
  call void @exit(i32 noundef 1) #15
  unreachable

163:                                              ; preds = %154
  %164 = call ptr @push_stopwatch(ptr noundef nonnull %5) #13
  call void %157(ptr noundef %155, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %164) #13
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %165, i64 64
  %167 = load ptr, ptr %166, align 8, !tbaa !38
  call void %167(ptr noundef %165) #13
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 32
  %170 = load ptr, ptr %169, align 8, !tbaa !35
  %171 = call ptr @sdsempty() #13
  %172 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %171, ptr noundef nonnull @.str.30) #13
  call void %170(ptr noundef %168, ptr noundef %172) #13
  %173 = call ptr (...) @otfcc_newOTFReader() #13
  %174 = load ptr, ptr %173, align 8, !tbaa !39
  %175 = call ptr %174(ptr noundef nonnull %143, i32 noundef %.0186, ptr noundef nonnull %6) #13
  %.not213 = icmp eq ptr %175, null
  br i1 %.not213, label %176, label %.critedge

176:                                              ; preds = %163
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = getelementptr inbounds i8, ptr %177, i64 48
  %179 = load ptr, ptr %178, align 8, !tbaa !34
  %180 = call ptr @sdsempty() #13
  %181 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %180, ptr noundef nonnull @.str.31, ptr noundef %131) #13
  call void %179(ptr noundef %177, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %181) #13
  call void @exit(i32 noundef 1) #15
  unreachable

.critedge:                                        ; preds = %163
  %182 = getelementptr inbounds i8, ptr %173, i64 8
  %183 = load ptr, ptr %182, align 8, !tbaa !41
  call void %183(ptr noundef nonnull %173) #13
  call void @otfcc_deleteSFNT(ptr noundef nonnull %143) #13
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %184, i64 48
  %186 = load ptr, ptr %185, align 8, !tbaa !34
  %187 = call ptr @push_stopwatch(ptr noundef nonnull %5) #13
  call void %186(ptr noundef %184, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %187) #13
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = getelementptr inbounds i8, ptr %188, i64 64
  %190 = load ptr, ptr %189, align 8, !tbaa !38
  call void %190(ptr noundef %188) #13
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = getelementptr inbounds i8, ptr %191, i64 32
  %193 = load ptr, ptr %192, align 8, !tbaa !35
  %194 = call ptr @sdsempty() #13
  %195 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %194, ptr noundef nonnull @.str.32) #13
  call void %193(ptr noundef %191, ptr noundef %195) #13
  %196 = load ptr, ptr getelementptr inbounds (i8, ptr @otfcc_iFont, i64 64), align 8, !tbaa !42
  call void %196(ptr noundef nonnull %175, ptr noundef nonnull %6) #13
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = getelementptr inbounds i8, ptr %197, i64 48
  %199 = load ptr, ptr %198, align 8, !tbaa !34
  %200 = call ptr @push_stopwatch(ptr noundef nonnull %5) #13
  call void %199(ptr noundef %197, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %200) #13
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = getelementptr inbounds i8, ptr %201, i64 64
  %203 = load ptr, ptr %202, align 8, !tbaa !38
  call void %203(ptr noundef %201) #13
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds i8, ptr %204, i64 32
  %206 = load ptr, ptr %205, align 8, !tbaa !35
  %207 = call ptr @sdsempty() #13
  %208 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %207, ptr noundef nonnull @.str.33) #13
  call void %206(ptr noundef %204, ptr noundef %208) #13
  %209 = call ptr (...) @otfcc_newJsonWriter() #13
  %210 = load ptr, ptr %209, align 8, !tbaa !44
  %211 = call ptr %210(ptr noundef nonnull %175, ptr noundef nonnull %6) #13
  %.not212 = icmp eq ptr %211, null
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = getelementptr inbounds i8, ptr %212, i64 48
  %214 = load ptr, ptr %213, align 8, !tbaa !34
  br i1 %.not212, label %215, label %218

215:                                              ; preds = %.critedge
  %216 = call ptr @sdsempty() #13
  %217 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %216, ptr noundef nonnull @.str.31, ptr noundef %131) #13
  call void %214(ptr noundef %212, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %217) #13
  call void @exit(i32 noundef 1) #15
  unreachable

218:                                              ; preds = %.critedge
  %219 = call ptr @push_stopwatch(ptr noundef nonnull %5) #13
  call void %214(ptr noundef %212, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %219) #13
  %220 = getelementptr inbounds i8, ptr %209, i64 8
  %221 = load ptr, ptr %220, align 8, !tbaa !46
  call void %221(ptr noundef nonnull %209) #13
  %222 = load ptr, ptr %9, align 8, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %222, i64 64
  %224 = load ptr, ptr %223, align 8, !tbaa !38
  call void %224(ptr noundef %222) #13
  %225 = load ptr, ptr %9, align 8, !tbaa !5
  %226 = getelementptr inbounds i8, ptr %225, i64 32
  %227 = load ptr, ptr %226, align 8, !tbaa !35
  %228 = call ptr @sdsempty() #13
  %229 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %228, ptr noundef nonnull @.str.34) #13
  call void %227(ptr noundef %225, ptr noundef %229) #13
  br i1 %.0174, label %235, label %230

230:                                              ; preds = %218
  %.not210 = icmp eq ptr %.0190, null
  br i1 %.not210, label %231, label %.critedge219

231:                                              ; preds = %230
  %232 = load ptr, ptr @stdout, align 8, !tbaa !28
  %233 = call i32 @fileno(ptr noundef %232) #13
  %234 = call i32 @isatty(i32 noundef %233) #13
  %.not211 = icmp eq i32 %234, 0
  br i1 %.not211, label %.critedge219, label %235

235:                                              ; preds = %231, %218
  br label %.critedge219

.critedge219:                                     ; preds = %235, %231, %230
  %.sroa.012.1 = phi i64 [ 0, %235 ], [ 2, %230 ], [ 2, %231 ]
  %spec.select = select i1 %.0176, i64 2, i64 %.sroa.012.1
  %236 = call i64 @json_measure_ex(ptr noundef nonnull %211, i64 %spec.select, i32 4) #13
  %237 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %236) #16
  call void @json_serialize_ex(ptr noundef %237, ptr noundef nonnull %211, i64 %spec.select, i32 4) #13
  %238 = load ptr, ptr %9, align 8, !tbaa !5
  %239 = getelementptr inbounds i8, ptr %238, i64 48
  %240 = load ptr, ptr %239, align 8, !tbaa !34
  %241 = call ptr @push_stopwatch(ptr noundef nonnull %5) #13
  call void %240(ptr noundef %238, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %241) #13
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = getelementptr inbounds i8, ptr %242, i64 64
  %244 = load ptr, ptr %243, align 8, !tbaa !38
  call void %244(ptr noundef %242) #13
  %245 = load ptr, ptr %9, align 8, !tbaa !5
  %246 = getelementptr inbounds i8, ptr %245, i64 32
  %247 = load ptr, ptr %246, align 8, !tbaa !35
  %248 = call ptr @sdsempty() #13
  %249 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %248, ptr noundef nonnull @.str.35) #13
  call void %247(ptr noundef %245, ptr noundef %249) #13
  %.not207 = icmp eq ptr %.0190, null
  br i1 %.not207, label %270, label %250

250:                                              ; preds = %.critedge219
  %251 = call noalias ptr @fopen(ptr noundef nonnull %.0190, ptr noundef nonnull @.str.36)
  %.not208 = icmp eq ptr %251, null
  br i1 %.not208, label %252, label %258

252:                                              ; preds = %250
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = getelementptr inbounds i8, ptr %253, i64 48
  %255 = load ptr, ptr %254, align 8, !tbaa !34
  %256 = call ptr @sdsempty() #13
  %257 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %256, ptr noundef nonnull @.str.37, ptr noundef nonnull %.0190) #13
  call void %255(ptr noundef %253, i8 noundef zeroext 0, i32 noundef 0, ptr noundef %257) #13
  call void @exit(i32 noundef 1) #15
  unreachable

258:                                              ; preds = %250
  %259 = trunc nuw i8 %.0178 to i1
  br i1 %259, label %260, label %.preheader

260:                                              ; preds = %258
  %261 = call i32 @fputc(i32 noundef 239, ptr noundef nonnull %251)
  %262 = call i32 @fputc(i32 noundef 187, ptr noundef nonnull %251)
  %263 = call i32 @fputc(i32 noundef 191, ptr noundef nonnull %251)
  br label %.preheader

.preheader:                                       ; preds = %260, %258
  br label %264

264:                                              ; preds = %.preheader, %264
  %.0168.in = phi i64 [ %.0168, %264 ], [ %236, %.preheader ]
  %.0168 = add i64 %.0168.in, -1
  %265 = getelementptr inbounds i8, ptr %237, i64 %.0168
  %266 = load i8, ptr %265, align 1, !tbaa !47
  %.not209 = icmp eq i8 %266, 0
  br i1 %.not209, label %264, label %267, !llvm.loop !48

267:                                              ; preds = %264
  %268 = call i64 @fwrite(ptr noundef nonnull %237, i64 noundef 1, i64 noundef %.0168.in, ptr noundef nonnull %251)
  %269 = call i32 @fclose(ptr noundef nonnull %251)
  br label %282

270:                                              ; preds = %.critedge219
  %271 = trunc nuw i8 %.0178 to i1
  br i1 %271, label %272, label %279

272:                                              ; preds = %270
  %273 = load ptr, ptr @stdout, align 8, !tbaa !28
  %274 = call i32 @fputc(i32 noundef 239, ptr noundef %273)
  %275 = load ptr, ptr @stdout, align 8, !tbaa !28
  %276 = call i32 @fputc(i32 noundef 187, ptr noundef %275)
  %277 = load ptr, ptr @stdout, align 8, !tbaa !28
  %278 = call i32 @fputc(i32 noundef 191, ptr noundef %277)
  br label %279

279:                                              ; preds = %272, %270
  %280 = load ptr, ptr @stdout, align 8, !tbaa !28
  %281 = call i32 @fputs(ptr noundef %237, ptr noundef %280)
  br label %282

282:                                              ; preds = %279, %267
  %283 = load ptr, ptr %9, align 8, !tbaa !5
  %284 = getelementptr inbounds i8, ptr %283, i64 48
  %285 = load ptr, ptr %284, align 8, !tbaa !34
  %286 = call ptr @push_stopwatch(ptr noundef nonnull %5) #13
  call void %285(ptr noundef %283, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %286) #13
  %287 = load ptr, ptr %9, align 8, !tbaa !5
  %288 = getelementptr inbounds i8, ptr %287, i64 64
  %289 = load ptr, ptr %288, align 8, !tbaa !38
  call void %289(ptr noundef %287) #13
  %290 = load ptr, ptr %9, align 8, !tbaa !5
  %291 = getelementptr inbounds i8, ptr %290, i64 32
  %292 = load ptr, ptr %291, align 8, !tbaa !35
  %293 = call ptr @sdsempty() #13
  %294 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %293, ptr noundef nonnull @.str.38) #13
  call void %292(ptr noundef %290, ptr noundef %294) #13
  call void @free(ptr noundef %237) #13
  %295 = load ptr, ptr getelementptr inbounds (i8, ptr @otfcc_iFont, i64 56), align 8, !tbaa !49
  call void %295(ptr noundef nonnull %175) #13
  call void @json_builder_free(ptr noundef nonnull %211) #13
  %.not205 = icmp eq ptr %131, null
  br i1 %.not205, label %297, label %296

296:                                              ; preds = %282
  call void @sdsfree(ptr noundef nonnull %131) #13
  br label %297

297:                                              ; preds = %296, %282
  br i1 %.not207, label %299, label %298

298:                                              ; preds = %297
  call void @sdsfree(ptr noundef nonnull %.0190) #13
  br label %299

299:                                              ; preds = %298, %297
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = getelementptr inbounds i8, ptr %300, i64 48
  %302 = load ptr, ptr %301, align 8, !tbaa !34
  %303 = call ptr @push_stopwatch(ptr noundef nonnull %5) #13
  call void %302(ptr noundef %300, i8 noundef zeroext 10, i32 noundef 3, ptr noundef %303) #13
  %304 = load ptr, ptr %9, align 8, !tbaa !5
  %305 = getelementptr inbounds i8, ptr %304, i64 64
  %306 = load ptr, ptr %305, align 8, !tbaa !38
  call void %306(ptr noundef %304) #13
  call void @otfcc_deleteOptions(ptr noundef nonnull %6) #13
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #13
  br label %307

307:                                              ; preds = %299, %118, %116
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #13
  call void @llvm.lifetime.end.p0(i64 672, ptr nonnull %3) #13
  ret i32 0
}

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

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

declare ptr @otfcc_newOptions(...) local_unnamed_addr #3

declare ptr @otfcc_newLogger(ptr noundef) local_unnamed_addr #3

declare ptr @otfcc_newStdErrTarget(...) local_unnamed_addr #3

declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #5

declare ptr @sdsnew(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #6

; Function Attrs: inlinehint nofree nounwind uwtable
declare noundef i32 @getchar() local_unnamed_addr #7

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

declare ptr @sdsempty() local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #8

declare void @time_now(ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #9

declare ptr @otfcc_readSFNT(ptr noundef) local_unnamed_addr #3

declare ptr @push_stopwatch(ptr noundef) local_unnamed_addr #3

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

declare ptr @otfcc_newOTFReader(...) local_unnamed_addr #3

declare void @otfcc_deleteSFNT(ptr noundef) local_unnamed_addr #3

declare ptr @otfcc_newJsonWriter(...) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) local_unnamed_addr #10

; Function Attrs: nofree nounwind
declare noundef i32 @fileno(ptr nocapture noundef) local_unnamed_addr #9

declare i64 @json_measure_ex(ptr noundef, i64, i32) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #11

declare void @json_serialize_ex(ptr noundef, ptr noundef, i64, i32) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #12

declare void @json_builder_free(ptr noundef) local_unnamed_addr #3

declare void @sdsfree(ptr noundef) local_unnamed_addr #3

declare void @otfcc_deleteOptions(ptr noundef) local_unnamed_addr #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #7 = { inlinehint nofree 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 #8 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #12 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #13 = { nounwind }
attributes #14 = { nounwind willreturn memory(read) }
attributes #15 = { noreturn nounwind }
attributes #16 = { nounwind allocsize(0,1) }

!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 8}
!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 = !{!6, !7, i64 20}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !10, i64 16}
!17 = !{!"option", !10, i64 0, !15, i64 8, !10, i64 16, !15, i64 24}
!18 = !{!17, !10, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !7, i64 1}
!22 = !{!6, !7, i64 11}
!23 = !{!6, !7, i64 12}
!24 = !{!6, !7, i64 2}
!25 = !{!6, !7, i64 21}
!26 = !{!6, !7, i64 22}
!27 = !{!6, !7, i64 10}
!28 = !{!10, !10, i64 0}
!29 = !{!6, !10, i64 24}
!30 = !{!6, !7, i64 0}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!12, !10, i64 80}
!34 = !{!12, !10, i64 48}
!35 = !{!12, !10, i64 32}
!36 = !{!37, !15, i64 4}
!37 = !{!"", !15, i64 0, !15, i64 4, !10, i64 8, !10, i64 16}
!38 = !{!12, !10, i64 64}
!39 = !{!40, !10, i64 0}
!40 = !{!"otfcc_IFontBuilder", !10, i64 0, !10, i64 8}
!41 = !{!40, !10, i64 8}
!42 = !{!43, !10, i64 64}
!43 = !{!"__caryll_elementinterface_otfcc_Font", !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}
!44 = !{!45, !10, i64 0}
!45 = !{!"otfcc_IFontSerializer", !10, i64 0, !10, i64 8}
!46 = !{!45, !10, i64 8}
!47 = !{!8, !8, i64 0}
!48 = distinct !{!48, !20}
!49 = !{!43, !10, i64 56}


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