; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/plugins/SISCone/siscone/examples/op_5cf28e15 (optionsEiPPc)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.option = type { ptr, i32, ptr, i32 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.Coptions = type { i32, i32, i32, i32, double, double, double, ptr, i32, i32 }

@_ZZN8Coptions13parse_optionsEiPPcE15siscone_options = external hidden global [12 x %struct.option], align 16
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@optarg = external global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.13 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [130 x i8], align 1
@stderr = external global ptr, align 8
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8Coptions13parse_optionsEiPPc(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %1, ptr noundef %2) #0 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca [512 x i8], align 16
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #2
  store i8 0, ptr %10, align 1, !tbaa !11
  %14 = load atomic i8, ptr @_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options acquire, align 8
  %15 = icmp eq i8 %14, 0
  br i1 %15, label %16, label %24, !prof !13

16:                                               ; preds = %3
  %17 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options) #2
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %24

19:                                               ; preds = %16
  store ptr @.str, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, align 16, !tbaa !14
  store i32 0, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i32 0, i32 1), align 8, !tbaa !16
  %20 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 2
  store ptr %20, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i32 0, i32 2), align 16, !tbaa !17
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.1, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 1), align 16, !tbaa !14
  store i32 0, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 1), i32 0, i32 1), align 8, !tbaa !16
  %21 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 2
  store ptr %21, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 1), i32 0, i32 2), align 16, !tbaa !17
  store i32 0, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 1), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.2, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 2), align 16, !tbaa !14
  store i32 0, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 2), i32 0, i32 1), align 8, !tbaa !16
  %22 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 0
  store ptr %22, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 2), i32 0, i32 2), align 16, !tbaa !17
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 2), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.3, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 3), align 16, !tbaa !14
  store i32 0, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 3), i32 0, i32 1), align 8, !tbaa !16
  %23 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 1
  store ptr %23, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 3), i32 0, i32 2), align 16, !tbaa !17
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 3), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.4, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 4), align 16, !tbaa !14
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 4), i32 0, i32 1), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 4), i32 0, i32 2), align 16, !tbaa !17
  store i32 78, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 4), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.5, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 5), align 16, !tbaa !14
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 5), i32 0, i32 1), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 5), i32 0, i32 2), align 16, !tbaa !17
  store i32 82, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 5), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.6, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 6), align 16, !tbaa !14
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 6), i32 0, i32 1), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 6), i32 0, i32 2), align 16, !tbaa !17
  store i32 102, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 6), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.7, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 7), align 16, !tbaa !14
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 7), i32 0, i32 1), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 7), i32 0, i32 2), align 16, !tbaa !17
  store i32 112, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 7), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.8, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 8), align 16, !tbaa !14
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 8), i32 0, i32 1), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 8), i32 0, i32 2), align 16, !tbaa !17
  store i32 110, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 8), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.9, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 9), align 16, !tbaa !14
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 9), i32 0, i32 1), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 9), i32 0, i32 2), align 16, !tbaa !17
  store i32 101, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 9), i32 0, i32 3), align 8, !tbaa !18
  store ptr @.str.10, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 10), align 16, !tbaa !14
  store i32 1, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 10), i32 0, i32 1), align 8, !tbaa !16
  store ptr null, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 10), i32 0, i32 2), align 16, !tbaa !17
  store i32 115, ptr getelementptr inbounds (%struct.option, ptr getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 10), i32 0, i32 3), align 8, !tbaa !18
  call void @llvm.memset.p0.i64(ptr align 16 getelementptr inbounds (%struct.option, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 11), i8 0, i64 32, i1 false)
  call void @__cxa_guard_release(ptr @_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options) #2
  br label %24

24:                                               ; preds = %19, %16, %3
  br label %25

25:                                               ; preds = %168, %24
  store i32 0, ptr %9, align 4, !tbaa !9
  %26 = load i32, ptr %6, align 4, !tbaa !9
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = call i32 @getopt_long(i32 noundef %26, ptr noundef %27, ptr noundef @.str.11, ptr noundef @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, ptr noundef %9) #2
  store i32 %28, ptr %8, align 4, !tbaa !9
  %29 = load i32, ptr %8, align 4, !tbaa !9
  %30 = icmp eq i32 %29, -1
  br i1 %30, label %31, label %32

31:                                               ; preds = %25
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %32

32:                                               ; preds = %31, %25
  %33 = load i32, ptr %8, align 4, !tbaa !9
  switch i32 %33, label %158 [
    i32 104, label %34
    i32 118, label %36
    i32 113, label %38
    i32 78, label %40
    i32 82, label %52
    i32 102, label %64
    i32 112, label %80
    i32 110, label %92
    i32 101, label %104
    i32 115, label %119
    i32 0, label %154
    i32 -1, label %154
    i32 63, label %155
  ]

34:                                               ; preds = %32
  %35 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 0
  store i32 1, ptr %35, align 8, !tbaa !19
  br label %167

36:                                               ; preds = %32
  %37 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 2
  store i32 1, ptr %37, align 8, !tbaa !23
  br label %167

38:                                               ; preds = %32
  %39 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 2
  store i32 0, ptr %39, align 8, !tbaa !23
  br label %167

40:                                               ; preds = %32
  %41 = load ptr, ptr @optarg, align 8, !tbaa !5
  %42 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 3
  %43 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %41, ptr noundef @.str.12, ptr noundef %42) #2
  %44 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 3
  %45 = load i32, ptr %44, align 4, !tbaa !24
  %46 = icmp sle i32 %45, 0
  br i1 %46, label %47, label %51

47:                                               ; preds = %40
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.13)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %50 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 3
  store i32 -1, ptr %50, align 4, !tbaa !24
  br label %51

51:                                               ; preds = %47, %40
  br label %167

52:                                               ; preds = %32
  %53 = load ptr, ptr @optarg, align 8, !tbaa !5
  %54 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 4
  %55 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %53, ptr noundef @.str.14, ptr noundef %54) #2
  %56 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 4
  %57 = load double, ptr %56, align 8, !tbaa !25
  %58 = fcmp ole double %57, 0.000000e+00
  br i1 %58, label %59, label %63

59:                                               ; preds = %52
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.15)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %62 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 4
  store double 0x3FE6666666666666, ptr %62, align 8, !tbaa !25
  br label %63

63:                                               ; preds = %59, %52
  br label %167

64:                                               ; preds = %32
  %65 = load ptr, ptr @optarg, align 8, !tbaa !5
  %66 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 5
  %67 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %65, ptr noundef @.str.14, ptr noundef %66) #2
  %68 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 5
  %69 = load double, ptr %68, align 8, !tbaa !26
  %70 = fcmp olt double %69, 0.000000e+00
  br i1 %70, label %75, label %71

71:                                               ; preds = %64
  %72 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 5
  %73 = load double, ptr %72, align 8, !tbaa !26
  %74 = fcmp ogt double %73, 1.000000e+00
  br i1 %74, label %75, label %79

75:                                               ; preds = %71, %64
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %78 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 5
  store double 5.000000e-01, ptr %78, align 8, !tbaa !26
  br label %79

79:                                               ; preds = %75, %71
  br label %167

80:                                               ; preds = %32
  %81 = load ptr, ptr @optarg, align 8, !tbaa !5
  %82 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 6
  %83 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %81, ptr noundef @.str.14, ptr noundef %82) #2
  %84 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 6
  %85 = load double, ptr %84, align 8, !tbaa !27
  %86 = fcmp olt double %85, 0.000000e+00
  br i1 %86, label %87, label %91

87:                                               ; preds = %80
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.17)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %90 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 6
  store double 0.000000e+00, ptr %90, align 8, !tbaa !27
  br label %91

91:                                               ; preds = %87, %80
  br label %167

92:                                               ; preds = %32
  %93 = load ptr, ptr @optarg, align 8, !tbaa !5
  %94 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 8
  %95 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %93, ptr noundef @.str.12, ptr noundef %94) #2
  %96 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 8
  %97 = load i32, ptr %96, align 8, !tbaa !28
  %98 = icmp slt i32 %97, 0
  br i1 %98, label %99, label %103

99:                                               ; preds = %92
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %102 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 8
  store i32 0, ptr %102, align 8, !tbaa !28
  br label %103

103:                                              ; preds = %99, %92
  br label %167

104:                                              ; preds = %32
  %105 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 7
  %106 = load ptr, ptr %105, align 8, !tbaa !29
  %107 = icmp eq ptr %106, null
  br i1 %107, label %108, label %118

108:                                              ; preds = %104
  %109 = load ptr, ptr @optarg, align 8, !tbaa !5
  %110 = call i64 @strlen(ptr noundef %109) #8
  %111 = add i64 %110, 1
  %112 = call noalias noundef nonnull ptr @_Znam(i64 noundef %111) #9
  %113 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 7
  store ptr %112, ptr %113, align 8, !tbaa !29
  %114 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 7
  %115 = load ptr, ptr %114, align 8, !tbaa !29
  %116 = load ptr, ptr @optarg, align 8, !tbaa !5
  %117 = call ptr @strcpy(ptr noundef %115, ptr noundef %116) #2
  br label %118

118:                                              ; preds = %108, %104
  br label %167

119:                                              ; preds = %32
  %120 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0
  %121 = load ptr, ptr @optarg, align 8, !tbaa !5
  %122 = call ptr @strcpy(ptr noundef %120, ptr noundef %121) #2
  %123 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0
  %124 = call i32 @strcmp(ptr noundef %123, ptr noundef @.str.19) #8
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %128

126:                                              ; preds = %119
  %127 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 9
  store i32 3, ptr %127, align 4, !tbaa !30
  br label %153

128:                                              ; preds = %119
  %129 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0
  %130 = call i32 @strcmp(ptr noundef %129, ptr noundef @.str.20) #8
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %134

132:                                              ; preds = %128
  %133 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 9
  store i32 2, ptr %133, align 4, !tbaa !30
  br label %152

134:                                              ; preds = %128
  %135 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0
  %136 = call i32 @strcmp(ptr noundef %135, ptr noundef @.str.21) #8
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %138, label %140

138:                                              ; preds = %134
  %139 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 9
  store i32 0, ptr %139, align 4, !tbaa !30
  br label %151

140:                                              ; preds = %134
  %141 = getelementptr inbounds [512 x i8], ptr %11, i64 0, i64 0
  %142 = call i32 @strcmp(ptr noundef %141, ptr noundef @.str.22) #8
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %146

144:                                              ; preds = %140
  %145 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 9
  store i32 1, ptr %145, align 4, !tbaa !30
  br label %150

146:                                              ; preds = %140
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.23)
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %149 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 9
  store i32 3, ptr %149, align 4, !tbaa !30
  br label %150

150:                                              ; preds = %146, %144
  br label %151

151:                                              ; preds = %150, %138
  br label %152

152:                                              ; preds = %151, %132
  br label %153

153:                                              ; preds = %152, %126
  br label %167

154:                                              ; preds = %32, %32
  br label %167

155:                                              ; preds = %32
  %156 = load ptr, ptr @stderr, align 8, !tbaa !5
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %156, ptr noundef @.str.24) #2
  store i32 1, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %183

158:                                              ; preds = %32
  %159 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 0
  %160 = load i32, ptr %159, align 8, !tbaa !19
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %166, label %162

162:                                              ; preds = %158
  %163 = load ptr, ptr @stderr, align 8, !tbaa !5
  %164 = load i32, ptr %8, align 4, !tbaa !9
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef @.str.25, i32 noundef %164) #2
  store i32 1, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %183

166:                                              ; preds = %158
  br label %167

167:                                              ; preds = %166, %154, %153, %118, %103, %91, %79, %63, %51, %38, %36, %34
  br label %168

168:                                              ; preds = %167
  %169 = load i8, ptr %10, align 1, !tbaa !11, !range !31, !noundef !32
  %170 = trunc i8 %169 to i1
  %171 = xor i1 %170, true
  br i1 %171, label %25, label %172, !llvm.loop !33

172:                                              ; preds = %168
  %173 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 7
  %174 = load ptr, ptr %173, align 8, !tbaa !29
  %175 = icmp eq ptr %174, null
  br i1 %175, label %176, label %182

176:                                              ; preds = %172
  %177 = call noalias noundef nonnull ptr @_Znam(i64 noundef 24) #9
  %178 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 7
  store ptr %177, ptr %178, align 8, !tbaa !29
  %179 = getelementptr inbounds %class.Coptions, ptr %13, i32 0, i32 7
  %180 = load ptr, ptr %179, align 8, !tbaa !29
  %181 = call ptr @strcpy(ptr noundef %180, ptr noundef @.str.26) #2
  br label %182

182:                                              ; preds = %176, %172
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %183

183:                                              ; preds = %182, %162, %155
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  %184 = load i32, ptr %4, align 4
  ret i32 %184
}

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

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #2

; Function Attrs: nounwind
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #7

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #4

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { inlinehint 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 #6 = { 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 #7 = { nobuiltin 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 #8 = { nounwind willreturn memory(read) }
attributes #9 = { builtin allocsize(0) }

!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 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"branch_weights", i32 1, i32 1048575}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTS6option", !6, i64 0, !10, i64 8, !6, i64 16, !10, i64 24}
!16 = !{!15, !10, i64 8}
!17 = !{!15, !6, i64 16}
!18 = !{!15, !10, i64 24}
!19 = !{!20, !10, i64 0}
!20 = !{!"_ZTS8Coptions", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !21, i64 16, !21, i64 24, !21, i64 32, !6, i64 40, !10, i64 48, !22, i64 52}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTSN7siscone18Esplit_merge_scaleE", !7, i64 0}
!23 = !{!20, !10, i64 8}
!24 = !{!20, !10, i64 12}
!25 = !{!20, !21, i64 16}
!26 = !{!20, !21, i64 24}
!27 = !{!20, !21, i64 32}
!28 = !{!20, !10, i64 48}
!29 = !{!20, !6, i64 40}
!30 = !{!20, !22, i64 52}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}


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

%struct.option = type { ptr, i32, ptr, i32 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZZN8Coptions13parse_optionsEiPPcE15siscone_options = external hidden global [12 x %struct.option], align 16
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options = external hidden global i64, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.13 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [130 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN8Coptions13parse_optionsEiPPc(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca [512 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  %6 = load atomic i8, ptr @_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options acquire, align 8
  %7 = icmp eq i8 %6, 0
  br i1 %7, label %8, label %13, !prof !5

8:                                                ; preds = %3
  %9 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options) #10
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %13, label %10

10:                                               ; preds = %8
  store ptr @.str, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, align 16, !tbaa !6
  store i32 0, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 8), align 8, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %11, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 16), align 16, !tbaa !13
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 24), align 8, !tbaa !14
  store ptr @.str.1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 32), align 16, !tbaa !6
  store i32 0, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 40), align 8, !tbaa !12
  store ptr %11, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 48), align 16, !tbaa !13
  store i32 0, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 56), align 8, !tbaa !14
  store ptr @.str.2, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 64), align 16, !tbaa !6
  store i32 0, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 72), align 8, !tbaa !12
  store ptr %0, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 80), align 16, !tbaa !13
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 88), align 8, !tbaa !14
  store ptr @.str.3, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 96), align 16, !tbaa !6
  store i32 0, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 104), align 8, !tbaa !12
  %12 = getelementptr inbounds i8, ptr %0, i64 4
  store ptr %12, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 112), align 16, !tbaa !13
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 120), align 8, !tbaa !14
  store ptr @.str.4, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 128), align 16, !tbaa !6
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 136), align 8, !tbaa !12
  store ptr null, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 144), align 16, !tbaa !13
  store i32 78, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 152), align 8, !tbaa !14
  store ptr @.str.5, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 160), align 16, !tbaa !6
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 168), align 8, !tbaa !12
  store ptr null, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 176), align 16, !tbaa !13
  store i32 82, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 184), align 8, !tbaa !14
  store ptr @.str.6, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 192), align 16, !tbaa !6
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 200), align 8, !tbaa !12
  store ptr null, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 208), align 16, !tbaa !13
  store i32 102, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 216), align 8, !tbaa !14
  store ptr @.str.7, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 224), align 16, !tbaa !6
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 232), align 8, !tbaa !12
  store ptr null, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 240), align 16, !tbaa !13
  store i32 112, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 248), align 8, !tbaa !14
  store ptr @.str.8, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 256), align 16, !tbaa !6
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 264), align 8, !tbaa !12
  store ptr null, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 272), align 16, !tbaa !13
  store i32 110, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 280), align 8, !tbaa !14
  store ptr @.str.9, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 288), align 16, !tbaa !6
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 296), align 8, !tbaa !12
  store ptr null, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 304), align 16, !tbaa !13
  store i32 101, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 312), align 8, !tbaa !14
  store ptr @.str.10, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 320), align 16, !tbaa !6
  store i32 1, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 328), align 8, !tbaa !12
  store ptr null, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 336), align 16, !tbaa !13
  store i32 115, ptr getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 344), align 8, !tbaa !14
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) getelementptr inbounds (i8, ptr @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, i64 352), i8 0, i64 32, i1 false)
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN8Coptions13parse_optionsEiPPcE15siscone_options) #10
  br label %13

13:                                               ; preds = %10, %8, %3
  %14 = getelementptr inbounds i8, ptr %0, i64 52
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  %16 = getelementptr inbounds i8, ptr %0, i64 48
  %17 = getelementptr inbounds i8, ptr %0, i64 32
  %18 = getelementptr inbounds i8, ptr %0, i64 24
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  %20 = getelementptr inbounds i8, ptr %0, i64 12
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %13
  store i32 0, ptr %4, align 4, !tbaa !15
  %22 = call i32 @getopt_long(i32 noundef %1, ptr noundef %2, ptr noundef nonnull @.str.11, ptr noundef nonnull @_ZZN8Coptions13parse_optionsEiPPcE15siscone_options, ptr noundef nonnull %4) #10
  %23 = icmp eq i32 %22, -1
  switch i32 %22, label %101 [
    i32 104, label %24
    i32 118, label %25
    i32 113, label %26
    i32 78, label %27
    i32 82, label %35
    i32 102, label %43
    i32 112, label %52
    i32 110, label %60
    i32 101, label %68
    i32 115, label %77
    i32 63, label %98
    i32 -1, label %107
    i32 0, label %.backedge.backedge
  ]

24:                                               ; preds = %.backedge
  store i32 1, ptr %0, align 8, !tbaa !16
  br label %106

25:                                               ; preds = %.backedge
  store i32 1, ptr %21, align 8, !tbaa !20
  br label %106

26:                                               ; preds = %.backedge
  store i32 0, ptr %21, align 8, !tbaa !20
  br label %106

27:                                               ; preds = %.backedge
  %28 = load ptr, ptr @optarg, align 8, !tbaa !21
  %29 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %28, ptr noundef nonnull @.str.12, ptr noundef nonnull %20) #10
  %30 = load i32, ptr %20, align 4, !tbaa !22
  %31 = icmp slt i32 %30, 1
  br i1 %31, label %32, label %106

32:                                               ; preds = %27
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.13)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 -1, ptr %20, align 4, !tbaa !22
  br label %106

35:                                               ; preds = %.backedge
  %36 = load ptr, ptr @optarg, align 8, !tbaa !21
  %37 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %36, ptr noundef nonnull @.str.14, ptr noundef nonnull %19) #10
  %38 = load double, ptr %19, align 8, !tbaa !23
  %39 = fcmp ugt double %38, 0.000000e+00
  br i1 %39, label %106, label %40

40:                                               ; preds = %35
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.15)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store double 0x3FE6666666666666, ptr %19, align 8, !tbaa !23
  br label %106

43:                                               ; preds = %.backedge
  %44 = load ptr, ptr @optarg, align 8, !tbaa !21
  %45 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %44, ptr noundef nonnull @.str.14, ptr noundef nonnull %18) #10
  %46 = load double, ptr %18, align 8, !tbaa !24
  %47 = fcmp olt double %46, 0.000000e+00
  %48 = fcmp ogt double %46, 1.000000e+00
  %or.cond = or i1 %47, %48
  br i1 %or.cond, label %49, label %106

49:                                               ; preds = %43
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.16)
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store double 5.000000e-01, ptr %18, align 8, !tbaa !24
  br label %106

52:                                               ; preds = %.backedge
  %53 = load ptr, ptr @optarg, align 8, !tbaa !21
  %54 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %53, ptr noundef nonnull @.str.14, ptr noundef nonnull %17) #10
  %55 = load double, ptr %17, align 8, !tbaa !25
  %56 = fcmp olt double %55, 0.000000e+00
  br i1 %56, label %57, label %106

57:                                               ; preds = %52
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.17)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store double 0.000000e+00, ptr %17, align 8, !tbaa !25
  br label %106

60:                                               ; preds = %.backedge
  %61 = load ptr, ptr @optarg, align 8, !tbaa !21
  %62 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %61, ptr noundef nonnull @.str.12, ptr noundef nonnull %16) #10
  %63 = load i32, ptr %16, align 8, !tbaa !26
  %64 = icmp slt i32 %63, 0
  br i1 %64, label %65, label %106

65:                                               ; preds = %60
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.18)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %16, align 8, !tbaa !26
  br label %106

68:                                               ; preds = %.backedge
  %69 = load ptr, ptr %15, align 8, !tbaa !27
  %70 = icmp eq ptr %69, null
  br i1 %70, label %71, label %106

71:                                               ; preds = %68
  %72 = load ptr, ptr @optarg, align 8, !tbaa !21
  %73 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %72) #11
  %74 = add i64 %73, 1
  %75 = call noalias noundef nonnull ptr @_Znam(i64 noundef %74) #12
  store ptr %75, ptr %15, align 8, !tbaa !27
  %76 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %75, ptr noundef nonnull dereferenceable(1) %72) #10
  br label %106

77:                                               ; preds = %.backedge
  %78 = load ptr, ptr @optarg, align 8, !tbaa !21
  %79 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %78) #10
  %80 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.19) #11
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %82, label %83

82:                                               ; preds = %77
  store i32 3, ptr %14, align 4, !tbaa !28
  br label %106

83:                                               ; preds = %77
  %84 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.20) #11
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  store i32 2, ptr %14, align 4, !tbaa !28
  br label %106

87:                                               ; preds = %83
  %88 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.21) #11
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %91

90:                                               ; preds = %87
  store i32 0, ptr %14, align 4, !tbaa !28
  br label %106

91:                                               ; preds = %87
  %92 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.22) #11
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %91
  store i32 1, ptr %14, align 4, !tbaa !28
  br label %106

95:                                               ; preds = %91
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.23)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 3, ptr %14, align 4, !tbaa !28
  br label %106

98:                                               ; preds = %.backedge
  %99 = load ptr, ptr @stderr, align 8, !tbaa !21
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef nonnull @.str.24) #13
  br label %113

101:                                              ; preds = %.backedge
  %102 = load i32, ptr %0, align 8, !tbaa !16
  %.not9 = icmp eq i32 %102, 0
  br i1 %.not9, label %103, label %106

103:                                              ; preds = %101
  %104 = load ptr, ptr @stderr, align 8, !tbaa !21
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef nonnull @.str.25, i32 noundef %22) #13
  br label %113

106:                                              ; preds = %43, %24, %25, %26, %32, %27, %40, %35, %49, %57, %52, %65, %60, %71, %68, %86, %94, %95, %90, %82, %101
  br i1 %23, label %107, label %.backedge.backedge

.backedge.backedge:                               ; preds = %106, %.backedge
  br label %.backedge, !llvm.loop !29

107:                                              ; preds = %.backedge, %106
  %108 = load ptr, ptr %15, align 8, !tbaa !27
  %109 = icmp eq ptr %108, null
  br i1 %109, label %110, label %113

110:                                              ; preds = %107
  %111 = call noalias noundef nonnull dereferenceable(24) ptr @_Znam(i64 noundef 24) #12
  store ptr %111, ptr %15, align 8, !tbaa !27
  %112 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %111, ptr noundef nonnull dereferenceable(1) @.str.26) #10
  br label %113

113:                                              ; preds = %107, %110, %103, %98
  %.07 = phi i32 [ 1, %103 ], [ 1, %98 ], [ 0, %110 ], [ 0, %107 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  ret i32 %.07
}

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) 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 uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #9

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #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 = { inlinehint 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 #7 = { 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 #8 = { nobuiltin 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 #9 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { cold 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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !8, i64 0}
!7 = !{!"_ZTS6option", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!7, !11, i64 8}
!13 = !{!7, !8, i64 16}
!14 = !{!7, !11, i64 24}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 0}
!17 = !{!"_ZTS8Coptions", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !18, i64 16, !18, i64 24, !18, i64 32, !8, i64 40, !11, i64 48, !19, i64 52}
!18 = !{!"double", !9, i64 0}
!19 = !{!"_ZTSN7siscone18Esplit_merge_scaleE", !9, i64 0}
!20 = !{!17, !11, i64 8}
!21 = !{!8, !8, i64 0}
!22 = !{!17, !11, i64 12}
!23 = !{!17, !18, i64 16}
!24 = !{!17, !18, i64 24}
!25 = !{!17, !18, i64 32}
!26 = !{!17, !11, i64 48}
!27 = !{!17, !8, i64 40}
!28 = !{!17, !19, i64 52}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass