; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear ImGui/imgui_widgets.ll (ZN5ImGui23DataTypeApplyOpFromTextEPKcS1_iPvS1_)

; 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.ImGuiDataTypeTempStorage = type { [8 x i8] }
%struct.ImGuiDataTypeInfo = type { i64, ptr, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [4 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui23DataTypeApplyOpFromTextEPKcS1_iPvS1_ = external hidden unnamed_addr constant [101 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui23DataTypeApplyOpFromTextEPKcS1_iPvS1_(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #4 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %struct.ImGuiDataTypeTempStorage, align 1
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca ptr, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  br label %27

27:                                               ; preds = %31, %5
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = load i8, ptr %28, align 1, !tbaa !11
  %30 = call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %29)
  br i1 %30, label %31, label %34

31:                                               ; preds = %27
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i32 1
  store ptr %33, ptr %7, align 8, !tbaa !5
  br label %27, !llvm.loop !12

34:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 0
  %37 = load i8, ptr %36, align 1, !tbaa !11
  store i8 %37, ptr %12, align 1, !tbaa !11
  %38 = load i8, ptr %12, align 1, !tbaa !11
  %39 = sext i8 %38 to i32
  %40 = icmp eq i32 %39, 43
  br i1 %40, label %49, label %41

41:                                               ; preds = %34
  %42 = load i8, ptr %12, align 1, !tbaa !11
  %43 = sext i8 %42 to i32
  %44 = icmp eq i32 %43, 42
  br i1 %44, label %49, label %45

45:                                               ; preds = %41
  %46 = load i8, ptr %12, align 1, !tbaa !11
  %47 = sext i8 %46 to i32
  %48 = icmp eq i32 %47, 47
  br i1 %48, label %49, label %60

49:                                               ; preds = %45, %41, %34
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i32 1
  store ptr %51, ptr %7, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %56, %49
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = load i8, ptr %53, align 1, !tbaa !11
  %55 = call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %54)
  br i1 %55, label %56, label %59

56:                                               ; preds = %52
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i32 1
  store ptr %58, ptr %7, align 8, !tbaa !5
  br label %52, !llvm.loop !14

59:                                               ; preds = %52
  br label %61

60:                                               ; preds = %45
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %61

61:                                               ; preds = %60, %59
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i64 0
  %64 = load i8, ptr %63, align 1, !tbaa !11
  %65 = icmp ne i8 %64, 0
  br i1 %65, label %67, label %66

66:                                               ; preds = %61
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %355

67:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = call noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef %68)
  store ptr %69, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %71, i32 0, i32 0
  %73 = load i64, ptr %72, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 %70, i64 %73, i1 false)
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = icmp eq ptr %74, null
  br i1 %75, label %76, label %80

76:                                               ; preds = %67
  %77 = load ptr, ptr %14, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %77, i32 0, i32 3
  %79 = load ptr, ptr %78, align 8, !tbaa !18
  store ptr %79, ptr %11, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %76, %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 0, ptr %16, align 4, !tbaa !9
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = icmp eq i32 %81, 4
  br i1 %82, label %83, label %159

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %84, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  %86 = load i32, ptr %85, align 4, !tbaa !9
  store i32 %86, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store float 0.000000e+00, ptr %19, align 4, !tbaa !19
  %87 = load i8, ptr %12, align 1, !tbaa !11
  %88 = icmp ne i8 %87, 0
  br i1 %88, label %89, label %95

89:                                               ; preds = %83
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %90, ptr noundef %91, ptr noundef %18) #8
  %93 = icmp slt i32 %92, 1
  br i1 %93, label %94, label %95

94:                                               ; preds = %89
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %156

95:                                               ; preds = %89, %83
  %96 = load i8, ptr %12, align 1, !tbaa !11
  %97 = sext i8 %96 to i32
  %98 = icmp eq i32 %97, 43
  br i1 %98, label %99, label %109

99:                                               ; preds = %95
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %100, ptr noundef @.str.34, ptr noundef %16) #8
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %108

103:                                              ; preds = %99
  %104 = load i32, ptr %18, align 4, !tbaa !9
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = add nsw i32 %104, %105
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  store i32 %106, ptr %107, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %103, %99
  br label %155

109:                                              ; preds = %95
  %110 = load i8, ptr %12, align 1, !tbaa !11
  %111 = sext i8 %110 to i32
  %112 = icmp eq i32 %111, 42
  br i1 %112, label %113, label %125

113:                                              ; preds = %109
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %114, ptr noundef @.str.35, ptr noundef %19) #8
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %124

117:                                              ; preds = %113
  %118 = load i32, ptr %18, align 4, !tbaa !9
  %119 = sitofp i32 %118 to float
  %120 = load float, ptr %19, align 4, !tbaa !19
  %121 = fmul float %119, %120
  %122 = fptosi float %121 to i32
  %123 = load ptr, ptr %17, align 8, !tbaa !5
  store i32 %122, ptr %123, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %117, %113
  br label %154

125:                                              ; preds = %109
  %126 = load i8, ptr %12, align 1, !tbaa !11
  %127 = sext i8 %126 to i32
  %128 = icmp eq i32 %127, 47
  br i1 %128, label %129, label %144

129:                                              ; preds = %125
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %130, ptr noundef @.str.35, ptr noundef %19) #8
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %143

133:                                              ; preds = %129
  %134 = load float, ptr %19, align 4, !tbaa !19
  %135 = fcmp une float %134, 0.000000e+00
  br i1 %135, label %136, label %143

136:                                              ; preds = %133
  %137 = load i32, ptr %18, align 4, !tbaa !9
  %138 = sitofp i32 %137 to float
  %139 = load float, ptr %19, align 4, !tbaa !19
  %140 = fdiv float %138, %139
  %141 = fptosi float %140 to i32
  %142 = load ptr, ptr %17, align 8, !tbaa !5
  store i32 %141, ptr %142, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %136, %133, %129
  br label %153

144:                                              ; preds = %125
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = load ptr, ptr %11, align 8, !tbaa !5
  %147 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %145, ptr noundef %146, ptr noundef %16) #8
  %148 = icmp eq i32 %147, 1
  br i1 %148, label %149, label %152

149:                                              ; preds = %144
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = load ptr, ptr %17, align 8, !tbaa !5
  store i32 %150, ptr %151, align 4, !tbaa !9
  br label %152

152:                                              ; preds = %149, %144
  br label %153

153:                                              ; preds = %152, %143
  br label %154

154:                                              ; preds = %153, %124
  br label %155

155:                                              ; preds = %154, %108
  store i32 0, ptr %13, align 4
  br label %156

156:                                              ; preds = %155, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  %157 = load i32, ptr %13, align 4
  switch i32 %157, label %354 [
    i32 0, label %158
  ]

158:                                              ; preds = %156
  br label %347

159:                                              ; preds = %80
  %160 = load i32, ptr %9, align 4, !tbaa !9
  %161 = icmp eq i32 %160, 8
  br i1 %161, label %162, label %220

162:                                              ; preds = %159
  store ptr @.str.35, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %163, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %164 = load ptr, ptr %20, align 8, !tbaa !5
  %165 = load float, ptr %164, align 4, !tbaa !19
  store float %165, ptr %21, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store float 0.000000e+00, ptr %22, align 4, !tbaa !19
  %166 = load i8, ptr %12, align 1, !tbaa !11
  %167 = icmp ne i8 %166, 0
  br i1 %167, label %168, label %174

168:                                              ; preds = %162
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %169, ptr noundef %170, ptr noundef %21) #8
  %172 = icmp slt i32 %171, 1
  br i1 %172, label %173, label %174

173:                                              ; preds = %168
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %217

174:                                              ; preds = %168, %162
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %175, ptr noundef %176, ptr noundef %22) #8
  %178 = icmp slt i32 %177, 1
  br i1 %178, label %179, label %180

179:                                              ; preds = %174
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %217

180:                                              ; preds = %174
  %181 = load i8, ptr %12, align 1, !tbaa !11
  %182 = sext i8 %181 to i32
  %183 = icmp eq i32 %182, 43
  br i1 %183, label %184, label %189

184:                                              ; preds = %180
  %185 = load float, ptr %21, align 4, !tbaa !19
  %186 = load float, ptr %22, align 4, !tbaa !19
  %187 = fadd float %185, %186
  %188 = load ptr, ptr %20, align 8, !tbaa !5
  store float %187, ptr %188, align 4, !tbaa !19
  br label %216

189:                                              ; preds = %180
  %190 = load i8, ptr %12, align 1, !tbaa !11
  %191 = sext i8 %190 to i32
  %192 = icmp eq i32 %191, 42
  br i1 %192, label %193, label %198

193:                                              ; preds = %189
  %194 = load float, ptr %21, align 4, !tbaa !19
  %195 = load float, ptr %22, align 4, !tbaa !19
  %196 = fmul float %194, %195
  %197 = load ptr, ptr %20, align 8, !tbaa !5
  store float %196, ptr %197, align 4, !tbaa !19
  br label %215

198:                                              ; preds = %189
  %199 = load i8, ptr %12, align 1, !tbaa !11
  %200 = sext i8 %199 to i32
  %201 = icmp eq i32 %200, 47
  br i1 %201, label %202, label %211

202:                                              ; preds = %198
  %203 = load float, ptr %22, align 4, !tbaa !19
  %204 = fcmp une float %203, 0.000000e+00
  br i1 %204, label %205, label %210

205:                                              ; preds = %202
  %206 = load float, ptr %21, align 4, !tbaa !19
  %207 = load float, ptr %22, align 4, !tbaa !19
  %208 = fdiv float %206, %207
  %209 = load ptr, ptr %20, align 8, !tbaa !5
  store float %208, ptr %209, align 4, !tbaa !19
  br label %210

210:                                              ; preds = %205, %202
  br label %214

211:                                              ; preds = %198
  %212 = load float, ptr %22, align 4, !tbaa !19
  %213 = load ptr, ptr %20, align 8, !tbaa !5
  store float %212, ptr %213, align 4, !tbaa !19
  br label %214

214:                                              ; preds = %211, %210
  br label %215

215:                                              ; preds = %214, %193
  br label %216

216:                                              ; preds = %215, %184
  store i32 0, ptr %13, align 4
  br label %217

217:                                              ; preds = %216, %179, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  %218 = load i32, ptr %13, align 4
  switch i32 %218, label %354 [
    i32 0, label %219
  ]

219:                                              ; preds = %217
  br label %346

220:                                              ; preds = %159
  %221 = load i32, ptr %9, align 4, !tbaa !9
  %222 = icmp eq i32 %221, 9
  br i1 %222, label %223, label %281

223:                                              ; preds = %220
  store ptr @.str.36, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %224 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %224, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %225 = load ptr, ptr %23, align 8, !tbaa !5
  %226 = load double, ptr %225, align 8, !tbaa !21
  store double %226, ptr %24, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  store double 0.000000e+00, ptr %25, align 8, !tbaa !21
  %227 = load i8, ptr %12, align 1, !tbaa !11
  %228 = icmp ne i8 %227, 0
  br i1 %228, label %229, label %235

229:                                              ; preds = %223
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %230, ptr noundef %231, ptr noundef %24) #8
  %233 = icmp slt i32 %232, 1
  br i1 %233, label %234, label %235

234:                                              ; preds = %229
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %278

235:                                              ; preds = %229, %223
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %236, ptr noundef %237, ptr noundef %25) #8
  %239 = icmp slt i32 %238, 1
  br i1 %239, label %240, label %241

240:                                              ; preds = %235
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %278

241:                                              ; preds = %235
  %242 = load i8, ptr %12, align 1, !tbaa !11
  %243 = sext i8 %242 to i32
  %244 = icmp eq i32 %243, 43
  br i1 %244, label %245, label %250

245:                                              ; preds = %241
  %246 = load double, ptr %24, align 8, !tbaa !21
  %247 = load double, ptr %25, align 8, !tbaa !21
  %248 = fadd double %246, %247
  %249 = load ptr, ptr %23, align 8, !tbaa !5
  store double %248, ptr %249, align 8, !tbaa !21
  br label %277

250:                                              ; preds = %241
  %251 = load i8, ptr %12, align 1, !tbaa !11
  %252 = sext i8 %251 to i32
  %253 = icmp eq i32 %252, 42
  br i1 %253, label %254, label %259

254:                                              ; preds = %250
  %255 = load double, ptr %24, align 8, !tbaa !21
  %256 = load double, ptr %25, align 8, !tbaa !21
  %257 = fmul double %255, %256
  %258 = load ptr, ptr %23, align 8, !tbaa !5
  store double %257, ptr %258, align 8, !tbaa !21
  br label %276

259:                                              ; preds = %250
  %260 = load i8, ptr %12, align 1, !tbaa !11
  %261 = sext i8 %260 to i32
  %262 = icmp eq i32 %261, 47
  br i1 %262, label %263, label %272

263:                                              ; preds = %259
  %264 = load double, ptr %25, align 8, !tbaa !21
  %265 = fcmp une double %264, 0.000000e+00
  br i1 %265, label %266, label %271

266:                                              ; preds = %263
  %267 = load double, ptr %24, align 8, !tbaa !21
  %268 = load double, ptr %25, align 8, !tbaa !21
  %269 = fdiv double %267, %268
  %270 = load ptr, ptr %23, align 8, !tbaa !5
  store double %269, ptr %270, align 8, !tbaa !21
  br label %271

271:                                              ; preds = %266, %263
  br label %275

272:                                              ; preds = %259
  %273 = load double, ptr %25, align 8, !tbaa !21
  %274 = load ptr, ptr %23, align 8, !tbaa !5
  store double %273, ptr %274, align 8, !tbaa !21
  br label %275

275:                                              ; preds = %272, %271
  br label %276

276:                                              ; preds = %275, %254
  br label %277

277:                                              ; preds = %276, %245
  store i32 0, ptr %13, align 4
  br label %278

278:                                              ; preds = %277, %240, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  %279 = load i32, ptr %13, align 4
  switch i32 %279, label %354 [
    i32 0, label %280
  ]

280:                                              ; preds = %278
  br label %345

281:                                              ; preds = %220
  %282 = load i32, ptr %9, align 4, !tbaa !9
  %283 = icmp eq i32 %282, 5
  br i1 %283, label %290, label %284

284:                                              ; preds = %281
  %285 = load i32, ptr %9, align 4, !tbaa !9
  %286 = icmp eq i32 %285, 6
  br i1 %286, label %290, label %287

287:                                              ; preds = %284
  %288 = load i32, ptr %9, align 4, !tbaa !9
  %289 = icmp eq i32 %288, 7
  br i1 %289, label %290, label %298

290:                                              ; preds = %287, %284, %281
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  %292 = load ptr, ptr %11, align 8, !tbaa !5
  %293 = load ptr, ptr %10, align 8, !tbaa !5
  %294 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %291, ptr noundef %292, ptr noundef %293) #8
  %295 = icmp slt i32 %294, 1
  br i1 %295, label %296, label %297

296:                                              ; preds = %290
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %354

297:                                              ; preds = %290
  br label %344

298:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %299 = load ptr, ptr %7, align 8, !tbaa !5
  %300 = load ptr, ptr %11, align 8, !tbaa !5
  %301 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %299, ptr noundef %300, ptr noundef %26) #8
  %302 = icmp slt i32 %301, 1
  br i1 %302, label %303, label %304

303:                                              ; preds = %298
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %341

304:                                              ; preds = %298
  %305 = load i32, ptr %9, align 4, !tbaa !9
  %306 = icmp eq i32 %305, 0
  br i1 %306, label %307, label %312

307:                                              ; preds = %304
  %308 = load i32, ptr %26, align 4, !tbaa !9
  %309 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %308, i32 noundef -128, i32 noundef 127)
  %310 = trunc i32 %309 to i8
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  store i8 %310, ptr %311, align 1, !tbaa !11
  br label %340

312:                                              ; preds = %304
  %313 = load i32, ptr %9, align 4, !tbaa !9
  %314 = icmp eq i32 %313, 1
  br i1 %314, label %315, label %320

315:                                              ; preds = %312
  %316 = load i32, ptr %26, align 4, !tbaa !9
  %317 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %316, i32 noundef 0, i32 noundef 255)
  %318 = trunc i32 %317 to i8
  %319 = load ptr, ptr %10, align 8, !tbaa !5
  store i8 %318, ptr %319, align 1, !tbaa !11
  br label %339

320:                                              ; preds = %312
  %321 = load i32, ptr %9, align 4, !tbaa !9
  %322 = icmp eq i32 %321, 2
  br i1 %322, label %323, label %328

323:                                              ; preds = %320
  %324 = load i32, ptr %26, align 4, !tbaa !9
  %325 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %324, i32 noundef -32768, i32 noundef 32767)
  %326 = trunc i32 %325 to i16
  %327 = load ptr, ptr %10, align 8, !tbaa !5
  store i16 %326, ptr %327, align 2, !tbaa !23
  br label %338

328:                                              ; preds = %320
  %329 = load i32, ptr %9, align 4, !tbaa !9
  %330 = icmp eq i32 %329, 3
  br i1 %330, label %331, label %336

331:                                              ; preds = %328
  %332 = load i32, ptr %26, align 4, !tbaa !9
  %333 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %332, i32 noundef 0, i32 noundef 65535)
  %334 = trunc i32 %333 to i16
  %335 = load ptr, ptr %10, align 8, !tbaa !5
  store i16 %334, ptr %335, align 2, !tbaa !23
  br label %337

336:                                              ; preds = %328
  call void @__assert_fail(ptr noundef @.str.29, ptr noundef @.str.1, i32 noundef 2071, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui23DataTypeApplyOpFromTextEPKcS1_iPvS1_) #9
  unreachable

337:                                              ; preds = %331
  br label %338

338:                                              ; preds = %337, %323
  br label %339

339:                                              ; preds = %338, %315
  br label %340

340:                                              ; preds = %339, %307
  store i32 0, ptr %13, align 4
  br label %341

341:                                              ; preds = %340, %303
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  %342 = load i32, ptr %13, align 4
  switch i32 %342, label %354 [
    i32 0, label %343
  ]

343:                                              ; preds = %341
  br label %344

344:                                              ; preds = %343, %297
  br label %345

345:                                              ; preds = %344, %280
  br label %346

346:                                              ; preds = %345, %219
  br label %347

347:                                              ; preds = %346, %158
  %348 = load ptr, ptr %10, align 8, !tbaa !5
  %349 = load ptr, ptr %14, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %349, i32 0, i32 0
  %351 = load i64, ptr %350, align 8, !tbaa !15
  %352 = call i32 @memcmp(ptr noundef %15, ptr noundef %348, i64 noundef %351) #10
  %353 = icmp ne i32 %352, 0
  store i1 %353, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %354

354:                                              ; preds = %347, %341, %296, %278, %217, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %355

355:                                              ; preds = %354, %66
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  %356 = load i1, ptr %6, align 1
  ret i1 %356
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext) #5

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTS17ImGuiDataTypeInfo", !17, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"long", !7, i64 0}
!18 = !{!16, !6, i64 24}
!19 = !{!20, !20, i64 0}
!20 = !{!"float", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"short", !7, i64 0}


; 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.ImGuiDataTypeTempStorage = type { [8 x i8] }

@.str.1 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [4 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui23DataTypeApplyOpFromTextEPKcS1_iPvS1_ = external hidden unnamed_addr constant [101 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui23DataTypeApplyOpFromTextEPKcS1_iPvS1_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3, ptr noundef readonly %4) local_unnamed_addr #3 {
  %6 = alloca %struct.ImGuiDataTypeTempStorage, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  br label %15

15:                                               ; preds = %15, %5
  %.099 = phi ptr [ %0, %5 ], [ %18, %15 ]
  %16 = load i8, ptr %.099, align 1, !tbaa !5
  %17 = tail call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %16)
  %18 = getelementptr inbounds i8, ptr %.099, i64 1
  br i1 %17, label %15, label %19, !llvm.loop !8

19:                                               ; preds = %15
  %20 = load i8, ptr %.099, align 1, !tbaa !5
  switch i8 %20, label %24 [
    i8 47, label %.preheader
    i8 43, label %.preheader
    i8 42, label %.preheader
  ]

.preheader:                                       ; preds = %19, %19, %19
  br label %21

21:                                               ; preds = %.preheader, %21
  %.099.pn = phi ptr [ %.1100, %21 ], [ %.099, %.preheader ]
  %.1100 = getelementptr inbounds i8, ptr %.099.pn, i64 1
  %22 = load i8, ptr %.1100, align 1, !tbaa !5
  %23 = tail call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %22)
  br i1 %23, label %21, label %thread-pre-split, !llvm.loop !10

thread-pre-split:                                 ; preds = %21
  %.pr = load i8, ptr %.1100, align 1, !tbaa !5
  br label %24

24:                                               ; preds = %thread-pre-split, %19
  %25 = phi i8 [ %.pr, %thread-pre-split ], [ %20, %19 ]
  %.0103 = phi i8 [ %20, %thread-pre-split ], [ 0, %19 ]
  %.2101 = phi ptr [ %.1100, %thread-pre-split ], [ %.099, %19 ]
  %.not = icmp eq i8 %25, 0
  br i1 %.not, label %153, label %26

26:                                               ; preds = %24
  %27 = tail call noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %28 = load i64, ptr %27, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %6, ptr align 1 %3, i64 %28, i1 false)
  %29 = icmp eq ptr %4, null
  br i1 %29, label %30, label %33

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %27, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !15
  br label %33

33:                                               ; preds = %30, %26
  %.0102 = phi ptr [ %32, %30 ], [ %4, %26 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 0, ptr %7, align 4, !tbaa !16
  switch i32 %2, label %122 [
    i32 4, label %34
    i32 8, label %70
    i32 9, label %96
  ]

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %35 = load i32, ptr %3, align 4, !tbaa !16
  store i32 %35, ptr %8, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store float 0.000000e+00, ptr %9, align 4, !tbaa !18
  %cond = icmp eq i8 %.0103, 0
  br i1 %cond, label %64, label %36

36:                                               ; preds = %34
  %37 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %1, ptr noundef %.0102, ptr noundef nonnull %8) #7
  %38 = icmp slt i32 %37, 1
  br i1 %38, label %.critedge, label %39

39:                                               ; preds = %36
  switch i8 %.0103, label %64 [
    i8 43, label %40
    i8 42, label %46
    i8 47, label %54
  ]

40:                                               ; preds = %39
  %41 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef nonnull @.str.34, ptr noundef nonnull %7) #7
  %.not119 = icmp eq i32 %41, 0
  br i1 %.not119, label %69, label %42

42:                                               ; preds = %40
  %43 = load i32, ptr %8, align 4, !tbaa !16
  %44 = load i32, ptr %7, align 4, !tbaa !16
  %45 = add nsw i32 %44, %43
  br label %.sink.split

46:                                               ; preds = %39
  %47 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef nonnull @.str.35, ptr noundef nonnull %9) #7
  %.not118 = icmp eq i32 %47, 0
  br i1 %.not118, label %69, label %48

48:                                               ; preds = %46
  %49 = load i32, ptr %8, align 4, !tbaa !16
  %50 = sitofp i32 %49 to float
  %51 = load float, ptr %9, align 4, !tbaa !18
  %52 = fmul float %51, %50
  %53 = fptosi float %52 to i32
  br label %.sink.split

54:                                               ; preds = %39
  %55 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef nonnull @.str.35, ptr noundef nonnull %9) #7
  %56 = icmp ne i32 %55, 0
  %57 = load float, ptr %9, align 4
  %58 = fcmp une float %57, 0.000000e+00
  %or.cond10 = select i1 %56, i1 %58, i1 false
  br i1 %or.cond10, label %59, label %69

59:                                               ; preds = %54
  %60 = load i32, ptr %8, align 4, !tbaa !16
  %61 = sitofp i32 %60 to float
  %62 = fdiv float %61, %57
  %63 = fptosi float %62 to i32
  br label %.sink.split

64:                                               ; preds = %34, %39
  %65 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef %.0102, ptr noundef nonnull %7) #7
  %66 = icmp eq i32 %65, 1
  br i1 %66, label %67, label %69

67:                                               ; preds = %64
  %68 = load i32, ptr %7, align 4, !tbaa !16
  br label %.sink.split

.sink.split:                                      ; preds = %48, %67, %59, %42
  %.sink = phi i32 [ %45, %42 ], [ %63, %59 ], [ %68, %67 ], [ %53, %48 ]
  store i32 %.sink, ptr %3, align 4, !tbaa !16
  br label %69

69:                                               ; preds = %.sink.split, %40, %54, %64, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %149

70:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %71 = load float, ptr %3, align 4, !tbaa !18
  store float %71, ptr %10, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store float 0.000000e+00, ptr %11, align 4, !tbaa !18
  %.not116 = icmp eq i8 %.0103, 0
  br i1 %.not116, label %75, label %72

72:                                               ; preds = %70
  %73 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %1, ptr noundef nonnull @.str.35, ptr noundef nonnull %10) #7
  %74 = icmp slt i32 %73, 1
  br i1 %74, label %.critedge121, label %75

75:                                               ; preds = %72, %70
  %76 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef nonnull @.str.35, ptr noundef nonnull %11) #7
  %77 = icmp slt i32 %76, 1
  br i1 %77, label %.critedge121, label %78

78:                                               ; preds = %75
  switch i8 %.0103, label %93 [
    i8 43, label %79
    i8 42, label %83
    i8 47, label %87
  ]

79:                                               ; preds = %78
  %80 = load float, ptr %10, align 4, !tbaa !18
  %81 = load float, ptr %11, align 4, !tbaa !18
  %82 = fadd float %80, %81
  br label %.sink.split126

83:                                               ; preds = %78
  %84 = load float, ptr %10, align 4, !tbaa !18
  %85 = load float, ptr %11, align 4, !tbaa !18
  %86 = fmul float %84, %85
  br label %.sink.split126

87:                                               ; preds = %78
  %88 = load float, ptr %11, align 4, !tbaa !18
  %89 = fcmp une float %88, 0.000000e+00
  br i1 %89, label %90, label %95

90:                                               ; preds = %87
  %91 = load float, ptr %10, align 4, !tbaa !18
  %92 = fdiv float %91, %88
  br label %.sink.split126

93:                                               ; preds = %78
  %94 = load float, ptr %11, align 4, !tbaa !18
  br label %.sink.split126

.sink.split126:                                   ; preds = %83, %90, %93, %79
  %.sink127 = phi float [ %82, %79 ], [ %94, %93 ], [ %92, %90 ], [ %86, %83 ]
  store float %.sink127, ptr %3, align 4, !tbaa !18
  br label %95

95:                                               ; preds = %.sink.split126, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %149

96:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %97 = load double, ptr %3, align 8, !tbaa !20
  store double %97, ptr %12, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store double 0.000000e+00, ptr %13, align 8, !tbaa !20
  %.not115 = icmp eq i8 %.0103, 0
  br i1 %.not115, label %101, label %98

98:                                               ; preds = %96
  %99 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %1, ptr noundef nonnull @.str.36, ptr noundef nonnull %12) #7
  %100 = icmp slt i32 %99, 1
  br i1 %100, label %.critedge123, label %101

101:                                              ; preds = %98, %96
  %102 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef nonnull @.str.36, ptr noundef nonnull %13) #7
  %103 = icmp slt i32 %102, 1
  br i1 %103, label %.critedge123, label %104

104:                                              ; preds = %101
  switch i8 %.0103, label %119 [
    i8 43, label %105
    i8 42, label %109
    i8 47, label %113
  ]

105:                                              ; preds = %104
  %106 = load double, ptr %12, align 8, !tbaa !20
  %107 = load double, ptr %13, align 8, !tbaa !20
  %108 = fadd double %106, %107
  br label %.sink.split128

109:                                              ; preds = %104
  %110 = load double, ptr %12, align 8, !tbaa !20
  %111 = load double, ptr %13, align 8, !tbaa !20
  %112 = fmul double %110, %111
  br label %.sink.split128

113:                                              ; preds = %104
  %114 = load double, ptr %13, align 8, !tbaa !20
  %115 = fcmp une double %114, 0.000000e+00
  br i1 %115, label %116, label %121

116:                                              ; preds = %113
  %117 = load double, ptr %12, align 8, !tbaa !20
  %118 = fdiv double %117, %114
  br label %.sink.split128

119:                                              ; preds = %104
  %120 = load double, ptr %13, align 8, !tbaa !20
  br label %.sink.split128

.sink.split128:                                   ; preds = %109, %116, %119, %105
  %.sink129 = phi double [ %108, %105 ], [ %120, %119 ], [ %118, %116 ], [ %112, %109 ]
  store double %.sink129, ptr %3, align 8, !tbaa !20
  br label %121

121:                                              ; preds = %.sink.split128, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %149

122:                                              ; preds = %33
  %123 = add i32 %2, -5
  %or.cond14 = icmp ult i32 %123, 3
  br i1 %or.cond14, label %124, label %127

124:                                              ; preds = %122
  %125 = tail call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef %.0102, ptr noundef %3) #7
  %126 = icmp slt i32 %125, 1
  br i1 %126, label %152, label %149

127:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  %128 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %.2101, ptr noundef %.0102, ptr noundef nonnull %14) #7
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %130, label %.critedge125

130:                                              ; preds = %127
  switch i32 %2, label %147 [
    i32 0, label %131
    i32 1, label %135
    i32 2, label %139
    i32 3, label %143
  ]

131:                                              ; preds = %130
  %132 = load i32, ptr %14, align 4, !tbaa !16
  %133 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %132, i32 noundef -128, i32 noundef 127)
  %134 = trunc i32 %133 to i8
  store i8 %134, ptr %3, align 1, !tbaa !5
  br label %148

135:                                              ; preds = %130
  %136 = load i32, ptr %14, align 4, !tbaa !16
  %137 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %136, i32 noundef 0, i32 noundef 255)
  %138 = trunc i32 %137 to i8
  store i8 %138, ptr %3, align 1, !tbaa !5
  br label %148

139:                                              ; preds = %130
  %140 = load i32, ptr %14, align 4, !tbaa !16
  %141 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %140, i32 noundef -32768, i32 noundef 32767)
  %142 = trunc i32 %141 to i16
  store i16 %142, ptr %3, align 2, !tbaa !22
  br label %148

143:                                              ; preds = %130
  %144 = load i32, ptr %14, align 4, !tbaa !16
  %145 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %144, i32 noundef 0, i32 noundef 65535)
  %146 = trunc i32 %145 to i16
  store i16 %146, ptr %3, align 2, !tbaa !22
  br label %148

147:                                              ; preds = %130
  call void @__assert_fail(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.1, i32 noundef 2071, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui23DataTypeApplyOpFromTextEPKcS1_iPvS1_) #8
  unreachable

148:                                              ; preds = %131, %139, %143, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br label %149

149:                                              ; preds = %148, %121, %95, %69, %124
  %150 = load i64, ptr %27, align 8, !tbaa !11
  %bcmp = call i32 @bcmp(ptr nonnull %6, ptr %3, i64 %150)
  %151 = icmp ne i32 %bcmp, 0
  br label %152

.critedge:                                        ; preds = %36
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %152

.critedge121:                                     ; preds = %75, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %152

.critedge123:                                     ; preds = %101, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %152

.critedge125:                                     ; preds = %127
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  br label %152

152:                                              ; preds = %.critedge125, %124, %.critedge123, %.critedge121, %.critedge, %149
  %.4 = phi i1 [ %151, %149 ], [ false, %.critedge ], [ false, %.critedge121 ], [ false, %.critedge123 ], [ false, %124 ], [ false, %.critedge125 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %153

153:                                              ; preds = %24, %152
  %.5 = phi i1 [ %.4, %152 ], [ false, %24 ]
  ret i1 %.5
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS17ImGuiDataTypeInfo", !13, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!13 = !{!"long", !6, i64 0}
!14 = !{!"any pointer", !6, i64 0}
!15 = !{!12, !14, i64 24}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !6, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !6, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !6, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"short", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass