; LLVM IR from HRI-EU/Rcs :: bin (TestMath)

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

%"class.Rcs::CmdLineParser" = type { i8 }

@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@RcsLogLevel = external global i32, align 4
@.str.3 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@RCS_GLOBAL_RLOG_CB = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@stderr = external global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.Rcs::CmdLineParser", align 1
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  %12 = load i32, ptr %4, align 4, !tbaa !5
  %13 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %12, ptr noundef %13)
  %14 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %15 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef @.str.2, ptr noundef @RcsLogLevel, ptr noundef @.str.3, i32 noundef %14)
  %16 = load i32, ptr %7, align 4, !tbaa !5
  %17 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef @.str.4, ptr noundef %7, ptr noundef @.str.5, i32 noundef %16)
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 1, ptr %9, align 1, !tbaa !11
  %18 = load i32, ptr %7, align 4, !tbaa !5
  %19 = icmp eq i32 %18, -1
  br i1 %19, label %20, label %49

20:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %45, %20
  %22 = load i32, ptr %10, align 4, !tbaa !5
  %23 = icmp sle i32 %22, 18
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %48

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  %26 = load i32, ptr %10, align 4, !tbaa !5
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef %26, i32 noundef %27, ptr noundef %28)
  %30 = zext i1 %29 to i8
  store i8 %30, ptr %11, align 1, !tbaa !11
  %31 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %32 = trunc i8 %31 to i1
  br i1 %32, label %36, label %33

33:                                               ; preds = %25
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %6, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %33, %25
  %37 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %42

39:                                               ; preds = %36
  %40 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %41 = trunc i8 %40 to i1
  br label %42

42:                                               ; preds = %39, %36
  %43 = phi i1 [ false, %36 ], [ %41, %39 ]
  %44 = zext i1 %43 to i8
  store i8 %44, ptr %9, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  br label %45

45:                                               ; preds = %42
  %46 = load i32, ptr %10, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %10, align 4, !tbaa !5
  br label %21, !llvm.loop !15

48:                                               ; preds = %24
  br label %55

49:                                               ; preds = %2
  %50 = load i32, ptr %7, align 4, !tbaa !5
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !9
  %53 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef %50, i32 noundef %51, ptr noundef %52)
  %54 = zext i1 %53 to i8
  store i8 %54, ptr %9, align 1, !tbaa !11
  br label %55

55:                                               ; preds = %49, %48
  %56 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef @.str.6, ptr noundef null)
  br i1 %56, label %57, label %58

57:                                               ; preds = %55
  call void @_ZN3Rcs13CmdLineParser5printEv()
  br label %85

58:                                               ; preds = %55
  br label %59

59:                                               ; preds = %58
  %60 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %68

62:                                               ; preds = %59
  %63 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %64 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %65 = trunc i8 %64 to i1
  %66 = zext i1 %65 to i64
  %67 = select i1 %65, ptr @.str.9, ptr @.str.10
  call void (i32, ptr, ptr, i32, ptr, ...) %63(i32 noundef 1, ptr noundef @.str.7, ptr noundef @__func__.main, i32 noundef 281, ptr noundef @.str.8, ptr noundef %67)
  br label %68

68:                                               ; preds = %62, %59
  %69 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %70 = icmp sle i32 1, %69
  br i1 %70, label %71, label %82

71:                                               ; preds = %68
  %72 = load ptr, ptr @stderr, align 8, !tbaa !9
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.11, ptr noundef @__func__.main, i32 noundef 281) #5
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %76 = trunc i8 %75 to i1
  %77 = zext i1 %76 to i64
  %78 = select i1 %76, ptr @.str.9, ptr @.str.10
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.8, ptr noundef %78) #5
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.12) #5
  br label %82

82:                                               ; preds = %71, %68
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84, %57
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = call i32 @Math_iClip(i32 noundef %86, i32 noundef 0, i32 noundef 255)
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  ret i32 %87
}

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef, i32 noundef, ptr noundef) #3

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ...) #2

declare void @_ZN3Rcs13CmdLineParser5printEv() #2

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

declare i32 @Math_iClip(i32 noundef, i32 noundef, i32 noundef) #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"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"

%"class.Rcs::CmdLineParser" = type { i8 }

@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@RcsLogLevel = external global i32, align 4
@.str.3 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@RCS_GLOBAL_RLOG_CB = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [1 x i8], align 1
@__func__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.Rcs::CmdLineParser", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %4, i32 noundef %0, ptr noundef %1)
  %5 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %6 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.2, ptr noundef nonnull @RcsLogLevel, ptr noundef nonnull @.str.3, i32 noundef %5)
  %7 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.4, ptr noundef nonnull %3, ptr noundef nonnull @.str.5, i32 noundef 0)
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = icmp eq i32 %8, -1
  br i1 %9, label %.preheader.preheader, label %58

.preheader.preheader:                             ; preds = %2
  %10 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 1, i32 noundef %0, ptr noundef %1)
  %11 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 2, i32 noundef %0, ptr noundef %1)
  %spec.select.1 = and i1 %11, %10
  %12 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 3, i32 noundef %0, ptr noundef %1)
  %spec.select.2 = and i1 %12, %spec.select.1
  %13 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 4, i32 noundef %0, ptr noundef %1)
  %spec.select.3 = and i1 %13, %spec.select.2
  %14 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 5, i32 noundef %0, ptr noundef %1)
  %spec.select.4 = and i1 %14, %spec.select.3
  %15 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 6, i32 noundef %0, ptr noundef %1)
  %spec.select.5 = and i1 %15, %spec.select.4
  %16 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 7, i32 noundef %0, ptr noundef %1)
  %spec.select.6 = and i1 %16, %spec.select.5
  %17 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 8, i32 noundef %0, ptr noundef %1)
  %spec.select.7 = and i1 %17, %spec.select.6
  %18 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 9, i32 noundef %0, ptr noundef %1)
  %spec.select.8 = and i1 %18, %spec.select.7
  %19 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 10, i32 noundef %0, ptr noundef %1)
  %20 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 11, i32 noundef %0, ptr noundef %1)
  %21 = and i1 %20, %19
  %22 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 12, i32 noundef %0, ptr noundef %1)
  %23 = and i1 %22, %21
  %24 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 13, i32 noundef %0, ptr noundef %1)
  %25 = and i1 %24, %23
  %26 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 14, i32 noundef %0, ptr noundef %1)
  %27 = and i1 %26, %25
  %28 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 15, i32 noundef %0, ptr noundef %1)
  %29 = and i1 %28, %27
  %30 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 16, i32 noundef %0, ptr noundef %1)
  %31 = and i1 %30, %29
  %32 = insertelement <16 x i1> poison, i1 %10, i64 0
  %33 = insertelement <16 x i1> %32, i1 %11, i64 1
  %34 = insertelement <16 x i1> %33, i1 %12, i64 2
  %35 = insertelement <16 x i1> %34, i1 %13, i64 3
  %36 = insertelement <16 x i1> %35, i1 %14, i64 4
  %37 = insertelement <16 x i1> %36, i1 %15, i64 5
  %38 = insertelement <16 x i1> %37, i1 %16, i64 6
  %39 = insertelement <16 x i1> %38, i1 %17, i64 7
  %40 = insertelement <16 x i1> %39, i1 %18, i64 8
  %41 = insertelement <16 x i1> %40, i1 %19, i64 9
  %42 = insertelement <16 x i1> %41, i1 %20, i64 10
  %43 = insertelement <16 x i1> %42, i1 %22, i64 11
  %44 = insertelement <16 x i1> %43, i1 %24, i64 12
  %45 = insertelement <16 x i1> %44, i1 %26, i64 13
  %46 = insertelement <16 x i1> %45, i1 %28, i64 14
  %47 = insertelement <16 x i1> %46, i1 %30, i64 15
  %48 = xor <16 x i1> %47, <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>
  %49 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 17, i32 noundef %0, ptr noundef %1)
  %50 = and i1 %49, %31
  %not..16 = xor i1 %49, true
  %51 = zext i1 %not..16 to i32
  %52 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef 18, i32 noundef %0, ptr noundef %1)
  %53 = and i1 %52, %50
  %spec.select.17 = select i1 %53, i1 %spec.select.8, i1 false
  %not..17 = xor i1 %52, true
  %54 = zext i1 %not..17 to i32
  %55 = bitcast <16 x i1> %48 to i16
  %56 = call range(i16 0, 17) i16 @llvm.ctpop.i16(i16 %55)
  %57 = zext nneg i16 %56 to i32
  %op.rdx = add nuw nsw i32 %57, %51
  %op.rdx24 = add nuw nsw i32 %op.rdx, %54
  br label %.loopexit

58:                                               ; preds = %2
  %59 = call noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef %8, i32 noundef %0, ptr noundef %1)
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.preheader, %58
  %.117 = phi i1 [ %59, %58 ], [ %spec.select.17, %.preheader.preheader ]
  %.2 = phi i32 [ 0, %58 ], [ %op.rdx24, %.preheader.preheader ]
  %60 = call noundef zeroext i1 (ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull @.str.6, ptr noundef null)
  br i1 %60, label %61, label %62

61:                                               ; preds = %.loopexit
  call void @_ZN3Rcs13CmdLineParser5printEv()
  br label %77

62:                                               ; preds = %.loopexit
  %63 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %.not = icmp eq ptr %63, null
  br i1 %.not, label %66, label %64

64:                                               ; preds = %62
  %65 = select i1 %.117, ptr @.str.9, ptr @.str.10
  call void (i32, ptr, ptr, i32, ptr, ...) %63(i32 noundef 1, ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__.main, i32 noundef 281, ptr noundef nonnull @.str.8, ptr noundef nonnull %65)
  br label %66

66:                                               ; preds = %64, %62
  %67 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %69, label %77

69:                                               ; preds = %66
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull @.str.11, ptr noundef nonnull @__func__.main, i32 noundef 281) #7
  %72 = load ptr, ptr @stderr, align 8, !tbaa !9
  %73 = select i1 %.117, ptr @.str.9, ptr @.str.10
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef nonnull @.str.8, ptr noundef nonnull %73) #7
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef nonnull @.str.12) #7
  br label %77

77:                                               ; preds = %66, %69, %61
  %78 = call i32 @Math_iClip(i32 noundef %.2, i32 noundef 0, i32 noundef 255)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  ret i32 %78
}

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL8testModeiiPPc(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11hasArgumentEPKcS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ...) local_unnamed_addr #2

declare void @_ZN3Rcs13CmdLineParser5printEv() local_unnamed_addr #2

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

declare i32 @Math_iClip(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.ctpop.i16(i16) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass