; LLVM IR from BurntSushi/clibs :: libopt (parse)

; 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.opt_config = type { ptr, i32, i8, i8, ptr }
%struct.opt_args = type { i32, ptr }
%struct.opt_flag = type { i8, i32, ptr, ptr, %union.anon, %union.anon.0 }
%union.anon = type { ptr }
%union.anon.0 = type { double }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@__PRETTY_FUNCTION__.opt_config_parse = external hidden unnamed_addr constant [69 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@stderr = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local ptr @opt_config_parse(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 1, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  store i8 0, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  store i8 0, ptr %12, align 1, !tbaa !11
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.opt_config, ptr %15, i32 0, i32 2
  %17 = load i8, ptr %16, align 4, !tbaa !13, !range !15, !noundef !16
  %18 = trunc i8 %17 to i1
  br i1 %18, label %20, label %19

19:                                               ; preds = %3
  br label %21

20:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 21, ptr noundef @__PRETTY_FUNCTION__.opt_config_parse) #9
  unreachable

21:                                               ; preds = %19
  %22 = call noalias ptr @malloc(i64 noundef 16) #10
  store ptr %22, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %21
  br label %27

26:                                               ; preds = %21
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 24, ptr noundef @__PRETTY_FUNCTION__.opt_config_parse) #9
  unreachable

27:                                               ; preds = %25
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.opt_args, ptr %28, i32 0, i32 0
  store i32 0, ptr %29, align 8, !tbaa !17
  br label %30

30:                                               ; preds = %271, %84, %49, %27
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = load i32, ptr %5, align 4, !tbaa !9
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %34, label %272

34:                                               ; preds = %30
  %35 = load i8, ptr %11, align 1, !tbaa !11, !range !15, !noundef !16
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %56

37:                                               ; preds = %34
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.opt_args, ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 8, !tbaa !17
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %49

42:                                               ; preds = %37
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds ptr, ptr %43, i64 %45
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.opt_args, ptr %47, i32 0, i32 1
  store ptr %46, ptr %48, align 8, !tbaa !19
  br label %49

49:                                               ; preds = %42, %37
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.opt_args, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !17
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %51, align 8, !tbaa !17
  %54 = load i32, ptr %9, align 4, !tbaa !9
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %9, align 4, !tbaa !9
  br label %30, !llvm.loop !20

56:                                               ; preds = %34
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds ptr, ptr %57, i64 %59
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = call i64 @strlen(ptr noundef %61) #11
  %63 = icmp ult i64 %62, 3
  br i1 %63, label %84, label %64

64:                                               ; preds = %56
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds ptr, ptr %65, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %69, i64 0
  %71 = load i8, ptr %70, align 1, !tbaa !22
  %72 = sext i8 %71 to i32
  %73 = icmp ne i32 %72, 45
  br i1 %73, label %84, label %74

74:                                               ; preds = %64
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds ptr, ptr %75, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 1
  %81 = load i8, ptr %80, align 1, !tbaa !22
  %82 = sext i8 %81 to i32
  %83 = icmp ne i32 %82, 45
  br i1 %83, label %84, label %85

84:                                               ; preds = %74, %64, %56
  store i8 1, ptr %11, align 1, !tbaa !11
  br label %30, !llvm.loop !20

85:                                               ; preds = %74
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds ptr, ptr %86, i64 %88
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 2
  store ptr %91, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %12, align 1, !tbaa !11
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %260, %85
  %93 = load i32, ptr %10, align 4, !tbaa !9
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.opt_config, ptr %94, i32 0, i32 1
  %96 = load i32, ptr %95, align 8, !tbaa !23
  %97 = icmp slt i32 %93, %96
  br i1 %97, label %98, label %263

98:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !9
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.opt_config, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !24
  %103 = load i32, ptr %10, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds ptr, ptr %102, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.opt_flag, ptr %106, i32 0, i32 2
  %108 = load ptr, ptr %107, align 8, !tbaa !25
  %109 = call i32 @strcmp(ptr noundef %99, ptr noundef %108) #11
  %110 = icmp ne i32 0, %109
  br i1 %110, label %111, label %112

111:                                              ; preds = %98
  store i32 6, ptr %14, align 4
  br label %258

112:                                              ; preds = %98
  store i8 1, ptr %12, align 1, !tbaa !11
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.opt_config, ptr %113, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !24
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds ptr, ptr %115, i64 %117
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.opt_flag, ptr %119, i32 0, i32 1
  %121 = load i32, ptr %120, align 4, !tbaa !27
  switch i32 %121, label %253 [
    i32 0, label %122
    i32 1, label %140
    i32 2, label %178
    i32 3, label %216
  ]

122:                                              ; preds = %112
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.opt_config, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !24
  %126 = load i32, ptr %10, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds ptr, ptr %125, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.opt_flag, ptr %129, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !22
  store i8 1, ptr %131, align 1, !tbaa !11
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.opt_config, ptr %132, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8, !tbaa !24
  %135 = load i32, ptr %10, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds ptr, ptr %134, i64 %136
  %138 = load ptr, ptr %137, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.opt_flag, ptr %138, i32 0, i32 0
  store i8 1, ptr %139, align 8, !tbaa !28
  store i32 1, ptr %13, align 4, !tbaa !9
  br label %254

140:                                              ; preds = %112
  %141 = load ptr, ptr %4, align 8, !tbaa !5
  %142 = load i32, ptr %5, align 4, !tbaa !9
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = load i32, ptr %9, align 4, !tbaa !9
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.opt_config, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !24
  %148 = load i32, ptr %10, align 4, !tbaa !9
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds ptr, ptr %147, i64 %149
  %151 = load ptr, ptr %150, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.opt_flag, ptr %151, i32 0, i32 2
  %153 = load ptr, ptr %152, align 8, !tbaa !25
  call void @expect_next_arg(ptr noundef %141, i32 noundef %142, ptr noundef %143, i32 noundef %144, ptr noundef %153, ptr noundef @.str.3)
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = load i32, ptr %9, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds ptr, ptr %154, i64 %157
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = call i32 @atoi(ptr noundef %159) #11
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.opt_config, ptr %161, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8, !tbaa !24
  %164 = load i32, ptr %10, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds ptr, ptr %163, i64 %165
  %167 = load ptr, ptr %166, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.opt_flag, ptr %167, i32 0, i32 4
  %169 = load ptr, ptr %168, align 8, !tbaa !22
  store i32 %160, ptr %169, align 4, !tbaa !9
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.opt_config, ptr %170, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8, !tbaa !24
  %173 = load i32, ptr %10, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds ptr, ptr %172, i64 %174
  %176 = load ptr, ptr %175, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.opt_flag, ptr %176, i32 0, i32 0
  store i8 1, ptr %177, align 8, !tbaa !28
  store i32 2, ptr %13, align 4, !tbaa !9
  br label %254

178:                                              ; preds = %112
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = load i32, ptr %5, align 4, !tbaa !9
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = load i32, ptr %9, align 4, !tbaa !9
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.opt_config, ptr %183, i32 0, i32 0
  %185 = load ptr, ptr %184, align 8, !tbaa !24
  %186 = load i32, ptr %10, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds ptr, ptr %185, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.opt_flag, ptr %189, i32 0, i32 2
  %191 = load ptr, ptr %190, align 8, !tbaa !25
  call void @expect_next_arg(ptr noundef %179, i32 noundef %180, ptr noundef %181, i32 noundef %182, ptr noundef %191, ptr noundef @.str.4)
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = load i32, ptr %9, align 4, !tbaa !9
  %194 = add nsw i32 %193, 1
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds ptr, ptr %192, i64 %195
  %197 = load ptr, ptr %196, align 8, !tbaa !5
  %198 = call double @atof(ptr noundef %197) #11
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.opt_config, ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !24
  %202 = load i32, ptr %10, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds ptr, ptr %201, i64 %203
  %205 = load ptr, ptr %204, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.opt_flag, ptr %205, i32 0, i32 4
  %207 = load ptr, ptr %206, align 8, !tbaa !22
  store double %198, ptr %207, align 8, !tbaa !29
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.opt_config, ptr %208, i32 0, i32 0
  %210 = load ptr, ptr %209, align 8, !tbaa !24
  %211 = load i32, ptr %10, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds ptr, ptr %210, i64 %212
  %214 = load ptr, ptr %213, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.opt_flag, ptr %214, i32 0, i32 0
  store i8 1, ptr %215, align 8, !tbaa !28
  store i32 2, ptr %13, align 4, !tbaa !9
  br label %254

216:                                              ; preds = %112
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = load i32, ptr %5, align 4, !tbaa !9
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = load i32, ptr %9, align 4, !tbaa !9
  %221 = load ptr, ptr %4, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.opt_config, ptr %221, i32 0, i32 0
  %223 = load ptr, ptr %222, align 8, !tbaa !24
  %224 = load i32, ptr %10, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds ptr, ptr %223, i64 %225
  %227 = load ptr, ptr %226, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.opt_flag, ptr %227, i32 0, i32 2
  %229 = load ptr, ptr %228, align 8, !tbaa !25
  call void @expect_next_arg(ptr noundef %217, i32 noundef %218, ptr noundef %219, i32 noundef %220, ptr noundef %229, ptr noundef @.str.5)
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = load i32, ptr %9, align 4, !tbaa !9
  %232 = add nsw i32 %231, 1
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds ptr, ptr %230, i64 %233
  %235 = load ptr, ptr %234, align 8, !tbaa !5
  %236 = load ptr, ptr %4, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.opt_config, ptr %236, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8, !tbaa !24
  %239 = load i32, ptr %10, align 4, !tbaa !9
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds ptr, ptr %238, i64 %240
  %242 = load ptr, ptr %241, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.opt_flag, ptr %242, i32 0, i32 4
  %244 = load ptr, ptr %243, align 8, !tbaa !22
  store ptr %235, ptr %244, align 8, !tbaa !5
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.opt_config, ptr %245, i32 0, i32 0
  %247 = load ptr, ptr %246, align 8, !tbaa !24
  %248 = load i32, ptr %10, align 4, !tbaa !9
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds ptr, ptr %247, i64 %249
  %251 = load ptr, ptr %250, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.opt_flag, ptr %251, i32 0, i32 0
  store i8 1, ptr %252, align 8, !tbaa !28
  store i32 2, ptr %13, align 4, !tbaa !9
  br label %254

253:                                              ; preds = %112
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 80, ptr noundef @__PRETTY_FUNCTION__.opt_config_parse) #9
  unreachable

254:                                              ; preds = %216, %178, %140, %122
  %255 = load i32, ptr %13, align 4, !tbaa !9
  %256 = load i32, ptr %9, align 4, !tbaa !9
  %257 = add nsw i32 %256, %255
  store i32 %257, ptr %9, align 4, !tbaa !9
  store i32 4, ptr %14, align 4
  br label %258

258:                                              ; preds = %254, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  %259 = load i32, ptr %14, align 4
  switch i32 %259, label %395 [
    i32 6, label %260
    i32 4, label %263
  ]

260:                                              ; preds = %258
  %261 = load i32, ptr %10, align 4, !tbaa !9
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %10, align 4, !tbaa !9
  br label %92, !llvm.loop !31

263:                                              ; preds = %258, %92
  %264 = load i8, ptr %12, align 1, !tbaa !11, !range !15, !noundef !16
  %265 = trunc i8 %264 to i1
  br i1 %265, label %271, label %266

266:                                              ; preds = %263
  %267 = load ptr, ptr @stderr, align 8, !tbaa !5
  %268 = load ptr, ptr %8, align 8, !tbaa !5
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.7, ptr noundef %268) #8
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  call void @opt_config_print_usage(ptr noundef %270)
  call void @exit(i32 noundef 1) #9
  unreachable

271:                                              ; preds = %263
  br label %30, !llvm.loop !20

272:                                              ; preds = %30
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %273

273:                                              ; preds = %381, %272
  %274 = load i32, ptr %9, align 4, !tbaa !9
  %275 = load ptr, ptr %4, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.opt_config, ptr %275, i32 0, i32 1
  %277 = load i32, ptr %276, align 8, !tbaa !23
  %278 = icmp slt i32 %274, %277
  br i1 %278, label %279, label %384

279:                                              ; preds = %273
  %280 = load ptr, ptr %4, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.opt_config, ptr %280, i32 0, i32 0
  %282 = load ptr, ptr %281, align 8, !tbaa !24
  %283 = load i32, ptr %9, align 4, !tbaa !9
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds ptr, ptr %282, i64 %284
  %286 = load ptr, ptr %285, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.opt_flag, ptr %286, i32 0, i32 0
  %288 = load i8, ptr %287, align 8, !tbaa !28, !range !15, !noundef !16
  %289 = trunc i8 %288 to i1
  br i1 %289, label %380, label %290

290:                                              ; preds = %279
  %291 = load ptr, ptr %4, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.opt_config, ptr %291, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !24
  %294 = load i32, ptr %9, align 4, !tbaa !9
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds ptr, ptr %293, i64 %295
  %297 = load ptr, ptr %296, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.opt_flag, ptr %297, i32 0, i32 1
  %299 = load i32, ptr %298, align 4, !tbaa !27
  switch i32 %299, label %378 [
    i32 0, label %300
    i32 1, label %321
    i32 2, label %340
    i32 3, label %359
  ]

300:                                              ; preds = %290
  %301 = load ptr, ptr %4, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.opt_config, ptr %301, i32 0, i32 0
  %303 = load ptr, ptr %302, align 8, !tbaa !24
  %304 = load i32, ptr %9, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds ptr, ptr %303, i64 %305
  %307 = load ptr, ptr %306, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.opt_flag, ptr %307, i32 0, i32 5
  %309 = load i8, ptr %308, align 8, !tbaa !22, !range !15, !noundef !16
  %310 = trunc i8 %309 to i1
  %311 = load ptr, ptr %4, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.opt_config, ptr %311, i32 0, i32 0
  %313 = load ptr, ptr %312, align 8, !tbaa !24
  %314 = load i32, ptr %9, align 4, !tbaa !9
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds ptr, ptr %313, i64 %315
  %317 = load ptr, ptr %316, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.opt_flag, ptr %317, i32 0, i32 4
  %319 = load ptr, ptr %318, align 8, !tbaa !22
  %320 = zext i1 %310 to i8
  store i8 %320, ptr %319, align 1, !tbaa !11
  br label %379

321:                                              ; preds = %290
  %322 = load ptr, ptr %4, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.opt_config, ptr %322, i32 0, i32 0
  %324 = load ptr, ptr %323, align 8, !tbaa !24
  %325 = load i32, ptr %9, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds ptr, ptr %324, i64 %326
  %328 = load ptr, ptr %327, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.opt_flag, ptr %328, i32 0, i32 5
  %330 = load i32, ptr %329, align 8, !tbaa !22
  %331 = load ptr, ptr %4, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.opt_config, ptr %331, i32 0, i32 0
  %333 = load ptr, ptr %332, align 8, !tbaa !24
  %334 = load i32, ptr %9, align 4, !tbaa !9
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds ptr, ptr %333, i64 %335
  %337 = load ptr, ptr %336, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.opt_flag, ptr %337, i32 0, i32 4
  %339 = load ptr, ptr %338, align 8, !tbaa !22
  store i32 %330, ptr %339, align 4, !tbaa !9
  br label %379

340:                                              ; preds = %290
  %341 = load ptr, ptr %4, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.opt_config, ptr %341, i32 0, i32 0
  %343 = load ptr, ptr %342, align 8, !tbaa !24
  %344 = load i32, ptr %9, align 4, !tbaa !9
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds ptr, ptr %343, i64 %345
  %347 = load ptr, ptr %346, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.opt_flag, ptr %347, i32 0, i32 5
  %349 = load double, ptr %348, align 8, !tbaa !22
  %350 = load ptr, ptr %4, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.opt_config, ptr %350, i32 0, i32 0
  %352 = load ptr, ptr %351, align 8, !tbaa !24
  %353 = load i32, ptr %9, align 4, !tbaa !9
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds ptr, ptr %352, i64 %354
  %356 = load ptr, ptr %355, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.opt_flag, ptr %356, i32 0, i32 4
  %358 = load ptr, ptr %357, align 8, !tbaa !22
  store double %349, ptr %358, align 8, !tbaa !29
  br label %379

359:                                              ; preds = %290
  %360 = load ptr, ptr %4, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.opt_config, ptr %360, i32 0, i32 0
  %362 = load ptr, ptr %361, align 8, !tbaa !24
  %363 = load i32, ptr %9, align 4, !tbaa !9
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds ptr, ptr %362, i64 %364
  %366 = load ptr, ptr %365, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.opt_flag, ptr %366, i32 0, i32 5
  %368 = load ptr, ptr %367, align 8, !tbaa !22
  %369 = load ptr, ptr %4, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.opt_config, ptr %369, i32 0, i32 0
  %371 = load ptr, ptr %370, align 8, !tbaa !24
  %372 = load i32, ptr %9, align 4, !tbaa !9
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds ptr, ptr %371, i64 %373
  %375 = load ptr, ptr %374, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.opt_flag, ptr %375, i32 0, i32 4
  %377 = load ptr, ptr %376, align 8, !tbaa !22
  store ptr %368, ptr %377, align 8, !tbaa !5
  br label %379

378:                                              ; preds = %290
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 113, ptr noundef @__PRETTY_FUNCTION__.opt_config_parse) #9
  unreachable

379:                                              ; preds = %359, %340, %321, %300
  br label %380

380:                                              ; preds = %379, %279
  br label %381

381:                                              ; preds = %380
  %382 = load i32, ptr %9, align 4, !tbaa !9
  %383 = add nsw i32 %382, 1
  store i32 %383, ptr %9, align 4, !tbaa !9
  br label %273, !llvm.loop !32

384:                                              ; preds = %273
  %385 = load ptr, ptr %4, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.opt_config, ptr %385, i32 0, i32 2
  store i8 1, ptr %386, align 4, !tbaa !13
  %387 = load ptr, ptr %4, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.opt_config, ptr %387, i32 0, i32 3
  %389 = load i8, ptr %388, align 1, !tbaa !33, !range !15, !noundef !16
  %390 = trunc i8 %389 to i1
  br i1 %390, label %391, label %393

391:                                              ; preds = %384
  %392 = load ptr, ptr %4, align 8, !tbaa !5
  call void @opt_config_print_usage(ptr noundef %392)
  call void @exit(i32 noundef 1) #9
  unreachable

393:                                              ; preds = %384
  %394 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret ptr %394

395:                                              ; preds = %258
  unreachable
}

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

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

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

; Function Attrs: nounwind uwtable
declare hidden void @expect_next_arg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #5

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

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

declare void @opt_config_print_usage(ptr noundef) #7

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

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 = { 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 #3 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind 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 = { 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 #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 = { "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 allocsize(0) }
attributes #11 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!14, !12, i64 12}
!14 = !{!"opt_config", !6, i64 0, !10, i64 8, !12, i64 12, !12, i64 13, !6, i64 16}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !10, i64 0}
!18 = !{!"opt_args", !10, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!7, !7, i64 0}
!23 = !{!14, !10, i64 8}
!24 = !{!14, !6, i64 0}
!25 = !{!26, !6, i64 8}
!26 = !{!"opt_flag", !12, i64 0, !10, i64 4, !6, i64 8, !6, i64 16, !7, i64 24, !7, i64 32}
!27 = !{!26, !10, i64 4}
!28 = !{!26, !12, i64 0}
!29 = !{!30, !30, i64 0}
!30 = !{!"double", !7, i64 0}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}
!33 = !{!14, !12, i64 13}


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

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@__PRETTY_FUNCTION__.opt_config_parse = external hidden unnamed_addr constant [69 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noalias noundef ptr @opt_config_parse(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 12
  %5 = load i8, ptr %4, align 4, !tbaa !5, !range !12, !noundef !13
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %7, label %8

7:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 21, ptr noundef nonnull @__PRETTY_FUNCTION__.opt_config_parse) #7
  unreachable

8:                                                ; preds = %3
  %9 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #8
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %10, label %11

10:                                               ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 24, ptr noundef nonnull @__PRETTY_FUNCTION__.opt_config_parse) #7
  unreachable

11:                                               ; preds = %8
  store i32 0, ptr %9, align 8, !tbaa !14
  %invariant.gep = getelementptr i8, ptr %2, i64 8
  %12 = icmp sgt i32 %1, 1
  br i1 %12, label %.lr.ph.lr.ph, label %.preheader

.lr.ph.lr.ph:                                     ; preds = %11
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = getelementptr inbounds i8, ptr %9, i64 8
  br label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.outer.backedge, %.lr.ph.lr.ph
  %15 = phi i32 [ 0, %.lr.ph.lr.ph ], [ %32, %.outer.backedge ]
  %.0102.ph156 = phi i1 [ false, %.lr.ph.lr.ph ], [ %.0102121, %.outer.backedge ]
  %.0104.ph155 = phi i32 [ 1, %.lr.ph.lr.ph ], [ %.0104.ph.be, %.outer.backedge ]
  %16 = sext i32 %.0104.ph155 to i64
  %17 = getelementptr inbounds ptr, ptr %2, i64 %16
  br i1 %.0102.ph156, label %.split.us, label %.lr.ph135

.lr.ph135:                                        ; preds = %.lr.ph.split.us
  %18 = load ptr, ptr %17, align 8, !tbaa !16
  %19 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %18) #9
  %20 = icmp ult i64 %19, 3
  %21 = getelementptr inbounds i8, ptr %18, i64 1
  br i1 %20, label %.split.us, label %.lr.ph135.split

.lr.ph135.split:                                  ; preds = %.lr.ph135
  %22 = load i8, ptr %18, align 1, !tbaa !17
  %.not109.us = icmp eq i8 %22, 45
  br i1 %.not109.us, label %.lr.ph135.split.split.us, label %.split.us

.lr.ph135.split.split.us:                         ; preds = %.lr.ph135.split
  %23 = load i8, ptr %21, align 1, !tbaa !17
  %.not110.us.us = icmp eq i8 %23, 45
  br i1 %.not110.us.us, label %.split131.us.split.us, label %.split.us

.preheader:                                       ; preds = %.outer.backedge, %11
  %24 = getelementptr inbounds i8, ptr %0, i64 8
  %25 = load i32, ptr %24, align 8, !tbaa !18
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph158, label %._crit_edge

.split.us:                                        ; preds = %.lr.ph.split.us, %.lr.ph135.split.split.us, %.lr.ph135.split, %.lr.ph135
  %27 = icmp eq i32 %15, 0
  br i1 %27, label %28, label %29

28:                                               ; preds = %.split.us
  store ptr %17, ptr %14, align 8, !tbaa !19
  br label %29

29:                                               ; preds = %28, %.split.us
  %30 = add nsw i32 %15, 1
  store i32 %30, ptr %9, align 8, !tbaa !14
  %31 = add nsw i32 %.0104.ph155, 1
  br label %.outer.backedge

.outer.backedge:                                  ; preds = %82, %29, %.loopexit
  %32 = phi i32 [ %15, %.loopexit ], [ %30, %29 ], [ %15, %82 ]
  %.0102121 = phi i1 [ %.0102.ph156, %.loopexit ], [ true, %29 ], [ %.0102.ph156, %82 ]
  %.0104.ph.be = phi i32 [ %.0104.ph155, %.loopexit ], [ %31, %29 ], [ %83, %82 ]
  %33 = icmp slt i32 %.0104.ph.be, %1
  br i1 %33, label %.lr.ph.split.us, label %.preheader, !llvm.loop !20

.split131.us.split.us:                            ; preds = %.lr.ph135.split.split.us
  %34 = getelementptr inbounds i8, ptr %18, i64 2
  %35 = load i32, ptr %13, align 8, !tbaa !18
  %36 = icmp sgt i32 %35, 0
  br i1 %36, label %.lr.ph149, label %.loopexit.thread

.lr.ph149:                                        ; preds = %.split131.us.split.us
  %37 = load ptr, ptr %0, align 8, !tbaa !22
  %38 = zext nneg i32 %35 to i64
  %wide.trip.count = zext nneg i32 %35 to i64
  %39 = load ptr, ptr %37, align 8, !tbaa !16
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = load ptr, ptr %40, align 8, !tbaa !23
  %42 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %34, ptr noundef nonnull dereferenceable(1) %41) #9
  %.not111191 = icmp eq i32 %42, 0
  br i1 %.not111191, label %._crit_edge193, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph149, %43
  %indvars.iv192 = phi i64 [ %indvars.iv.next, %43 ], [ 0, %.lr.ph149 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv192, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %43, !llvm.loop !25

43:                                               ; preds = %.lr.ph
  %44 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv.next
  %45 = load ptr, ptr %44, align 8, !tbaa !16
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  %47 = load ptr, ptr %46, align 8, !tbaa !23
  %48 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %34, ptr noundef nonnull dereferenceable(1) %47) #9
  %.not111 = icmp eq i32 %48, 0
  br i1 %.not111, label %._crit_edge193.loopexit, label %.lr.ph, !llvm.loop !25

._crit_edge193.loopexit:                          ; preds = %43
  %49 = icmp ult i64 %indvars.iv.next, %38
  br label %._crit_edge193

._crit_edge193:                                   ; preds = %._crit_edge193.loopexit, %.lr.ph149
  %indvars.iv.lcssa = phi i64 [ 0, %.lr.ph149 ], [ %indvars.iv.next, %._crit_edge193.loopexit ]
  %.lcssa185 = phi i1 [ true, %.lr.ph149 ], [ %49, %._crit_edge193.loopexit ]
  %.lcssa183 = phi ptr [ %39, %.lr.ph149 ], [ %45, %._crit_edge193.loopexit ]
  %.lcssa = phi ptr [ %41, %.lr.ph149 ], [ %47, %._crit_edge193.loopexit ]
  %50 = getelementptr inbounds i8, ptr %.lcssa183, i64 4
  %51 = load i32, ptr %50, align 4, !tbaa !26
  switch i32 %51, label %81 [
    i32 0, label %52
    i32 1, label %55
    i32 2, label %63
    i32 3, label %71
  ]

52:                                               ; preds = %._crit_edge193
  %53 = getelementptr inbounds i8, ptr %.lcssa183, i64 24
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  store i8 1, ptr %54, align 1, !tbaa !27
  br label %82

55:                                               ; preds = %._crit_edge193
  tail call void @expect_next_arg(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, i32 noundef %.0104.ph155, ptr noundef %.lcssa, ptr noundef nonnull @.str.3)
  %gep154 = getelementptr ptr, ptr %invariant.gep, i64 %16
  %56 = load ptr, ptr %gep154, align 8, !tbaa !16
  %57 = tail call i32 @atoi(ptr nocapture noundef %56) #9
  %58 = load ptr, ptr %0, align 8, !tbaa !22
  %59 = getelementptr inbounds ptr, ptr %58, i64 %indvars.iv.lcssa
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = getelementptr inbounds i8, ptr %60, i64 24
  %62 = load ptr, ptr %61, align 8, !tbaa !17
  store i32 %57, ptr %62, align 4, !tbaa !28
  br label %82

63:                                               ; preds = %._crit_edge193
  tail call void @expect_next_arg(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, i32 noundef %.0104.ph155, ptr noundef %.lcssa, ptr noundef nonnull @.str.4)
  %gep152 = getelementptr ptr, ptr %invariant.gep, i64 %16
  %64 = load ptr, ptr %gep152, align 8, !tbaa !16
  %65 = tail call double @atof(ptr noundef %64) #9
  %66 = load ptr, ptr %0, align 8, !tbaa !22
  %67 = getelementptr inbounds ptr, ptr %66, i64 %indvars.iv.lcssa
  %68 = load ptr, ptr %67, align 8, !tbaa !16
  %69 = getelementptr inbounds i8, ptr %68, i64 24
  %70 = load ptr, ptr %69, align 8, !tbaa !17
  store double %65, ptr %70, align 8, !tbaa !29
  br label %82

71:                                               ; preds = %._crit_edge193
  tail call void @expect_next_arg(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, i32 noundef %.0104.ph155, ptr noundef %.lcssa, ptr noundef nonnull @.str.5)
  %gep = getelementptr ptr, ptr %invariant.gep, i64 %16
  %72 = load ptr, ptr %gep, align 8, !tbaa !16
  %73 = load ptr, ptr %0, align 8, !tbaa !22
  %74 = getelementptr inbounds ptr, ptr %73, i64 %indvars.iv.lcssa
  %75 = load ptr, ptr %74, align 8, !tbaa !16
  %76 = getelementptr inbounds i8, ptr %75, i64 24
  %77 = load ptr, ptr %76, align 8, !tbaa !17
  store ptr %72, ptr %77, align 8, !tbaa !16
  %78 = load ptr, ptr %0, align 8, !tbaa !22
  %79 = getelementptr inbounds ptr, ptr %78, i64 %indvars.iv.lcssa
  %80 = load ptr, ptr %79, align 8, !tbaa !16
  br label %82

81:                                               ; preds = %._crit_edge193
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 80, ptr noundef nonnull @__PRETTY_FUNCTION__.opt_config_parse) #7
  unreachable

82:                                               ; preds = %52, %55, %63, %71
  %.lcssa174.sink = phi ptr [ %.lcssa183, %52 ], [ %60, %55 ], [ %68, %63 ], [ %80, %71 ]
  %.0100 = phi i32 [ 1, %52 ], [ 2, %55 ], [ 2, %63 ], [ 2, %71 ]
  store i8 1, ptr %.lcssa174.sink, align 8, !tbaa !31
  %83 = add nsw i32 %.0100, %.0104.ph155
  br i1 %.lcssa185, label %.outer.backedge, label %.loopexit.thread

.loopexit:                                        ; preds = %.lr.ph
  %84 = icmp ult i64 %indvars.iv.next, %38
  br i1 %84, label %.outer.backedge, label %.loopexit.thread

.loopexit.thread:                                 ; preds = %.split131.us.split.us, %82, %.loopexit
  %85 = load ptr, ptr @stderr, align 8, !tbaa !16
  %86 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str.7, ptr noundef nonnull %34) #10
  tail call void @opt_config_print_usage(ptr noundef nonnull %0) #11
  tail call void @exit(i32 noundef 1) #7
  unreachable

.lr.ph158:                                        ; preds = %.preheader, %117
  %87 = phi i32 [ %118, %117 ], [ %25, %.preheader ]
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %117 ], [ 0, %.preheader ]
  %88 = load ptr, ptr %0, align 8, !tbaa !22
  %89 = getelementptr inbounds ptr, ptr %88, i64 %indvars.iv169
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = load i8, ptr %90, align 8, !tbaa !31, !range !12, !noundef !13
  %92 = trunc nuw i8 %91 to i1
  br i1 %92, label %117, label %93

93:                                               ; preds = %.lr.ph158
  %94 = getelementptr inbounds i8, ptr %90, i64 4
  %95 = load i32, ptr %94, align 4, !tbaa !26
  switch i32 %95, label %116 [
    i32 0, label %96
    i32 1, label %101
    i32 2, label %106
    i32 3, label %111
  ]

96:                                               ; preds = %93
  %97 = getelementptr inbounds i8, ptr %90, i64 32
  %98 = load i8, ptr %97, align 8, !tbaa !17, !range !12, !noundef !13
  %99 = getelementptr inbounds i8, ptr %90, i64 24
  %100 = load ptr, ptr %99, align 8, !tbaa !17
  store i8 %98, ptr %100, align 1, !tbaa !27
  br label %117

101:                                              ; preds = %93
  %102 = getelementptr inbounds i8, ptr %90, i64 32
  %103 = load i32, ptr %102, align 8, !tbaa !17
  %104 = getelementptr inbounds i8, ptr %90, i64 24
  %105 = load ptr, ptr %104, align 8, !tbaa !17
  store i32 %103, ptr %105, align 4, !tbaa !28
  %.pre = load i32, ptr %24, align 8, !tbaa !18
  br label %117

106:                                              ; preds = %93
  %107 = getelementptr inbounds i8, ptr %90, i64 32
  %108 = load double, ptr %107, align 8, !tbaa !17
  %109 = getelementptr inbounds i8, ptr %90, i64 24
  %110 = load ptr, ptr %109, align 8, !tbaa !17
  store double %108, ptr %110, align 8, !tbaa !29
  br label %117

111:                                              ; preds = %93
  %112 = getelementptr inbounds i8, ptr %90, i64 32
  %113 = load ptr, ptr %112, align 8, !tbaa !17
  %114 = getelementptr inbounds i8, ptr %90, i64 24
  %115 = load ptr, ptr %114, align 8, !tbaa !17
  store ptr %113, ptr %115, align 8, !tbaa !16
  br label %117

116:                                              ; preds = %93
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 113, ptr noundef nonnull @__PRETTY_FUNCTION__.opt_config_parse) #7
  unreachable

117:                                              ; preds = %.lr.ph158, %111, %106, %101, %96
  %118 = phi i32 [ %87, %.lr.ph158 ], [ %87, %111 ], [ %87, %106 ], [ %.pre, %101 ], [ %87, %96 ]
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %119 = sext i32 %118 to i64
  %120 = icmp slt i64 %indvars.iv.next170, %119
  br i1 %120, label %.lr.ph158, label %._crit_edge, !llvm.loop !32

._crit_edge:                                      ; preds = %117, %.preheader
  store i8 1, ptr %4, align 4, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %0, i64 13
  %122 = load i8, ptr %121, align 1, !tbaa !33, !range !12, !noundef !13
  %123 = trunc nuw i8 %122 to i1
  br i1 %123, label %124, label %125

124:                                              ; preds = %._crit_edge
  tail call void @opt_config_print_usage(ptr noundef nonnull %0) #11
  tail call void @exit(i32 noundef 1) #7
  unreachable

125:                                              ; preds = %._crit_edge
  ret ptr %9
}

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture 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 #3

; Function Attrs: nounwind uwtable
declare hidden void @expect_next_arg(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

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

declare void @opt_config_print_usage(ptr noundef) local_unnamed_addr #6

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

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 = { 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) 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 #3 = { 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 #4 = { 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 #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 = { "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 = { noreturn nounwind }
attributes #8 = { nounwind allocsize(0) }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { cold nounwind }
attributes #11 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 12}
!6 = !{!"opt_config", !7, i64 0, !10, i64 8, !11, i64 12, !11, i64 13, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!15, !10, i64 0}
!15 = !{!"opt_args", !10, i64 0, !7, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!6, !10, i64 8}
!19 = !{!15, !7, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !7, i64 0}
!23 = !{!24, !7, i64 8}
!24 = !{!"opt_flag", !11, i64 0, !10, i64 4, !7, i64 8, !7, i64 16, !8, i64 24, !8, i64 32}
!25 = distinct !{!25, !21}
!26 = !{!24, !10, i64 4}
!27 = !{!11, !11, i64 0}
!28 = !{!10, !10, i64 0}
!29 = !{!30, !30, i64 0}
!30 = !{!"double", !8, i64 0}
!31 = !{!24, !11, i64 0}
!32 = distinct !{!32, !21}
!33 = !{!6, !11, i64 13}


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