; LLVM IR from tangjz/acm-icpc :: codeforces/complete/536E.ll (Z7seg_queiiii)

; 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.Segment = type { i32, i32, i32 }

@f = external dso_local global [100001 x i32], align 16
@seg = external dso_local global [200003 x %struct.Segment], align 16

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7seg_idxii(i32 noundef, i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local { i64, i32 } @_Z7seg_queiiii(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3 {
  %5 = alloca %struct.Segment, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca { i64, i32 }, align 8
  %12 = alloca i32, align 4
  %13 = alloca { i64, i32 }, align 8
  %14 = alloca { i64, i32 }, align 8
  %15 = alloca %struct.Segment, align 4
  %16 = alloca { i64, i32 }, align 8
  %17 = alloca { i64, i32 }, align 8
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !5
  %18 = load i32, ptr %8, align 4, !tbaa !5
  %19 = load i32, ptr %6, align 4, !tbaa !5
  %20 = icmp sle i32 %18, %19
  br i1 %20, label %21, label %31

21:                                               ; preds = %4
  %22 = load i32, ptr %7, align 4, !tbaa !5
  %23 = load i32, ptr %9, align 4, !tbaa !5
  %24 = icmp sle i32 %22, %23
  br i1 %24, label %25, label %31

25:                                               ; preds = %21
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = load i32, ptr %7, align 4, !tbaa !5
  %28 = call noundef i32 @_Z7seg_idxii(i32 noundef %26, i32 noundef %27)
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [200003 x %struct.Segment], ptr @seg, i64 0, i64 %29
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %30, i64 12, i1 false), !tbaa.struct !9
  br label %131

31:                                               ; preds = %21, %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %32 = load i32, ptr %6, align 4, !tbaa !5
  %33 = load i32, ptr %7, align 4, !tbaa !5
  %34 = add nsw i32 %32, %33
  %35 = ashr i32 %34, 1
  store i32 %35, ptr %10, align 4, !tbaa !5
  %36 = load i32, ptr %9, align 4, !tbaa !5
  %37 = load i32, ptr %10, align 4, !tbaa !5
  %38 = icmp sle i32 %36, %37
  br i1 %38, label %39, label %45

39:                                               ; preds = %31
  %40 = load i32, ptr %6, align 4, !tbaa !5
  %41 = load i32, ptr %10, align 4, !tbaa !5
  %42 = load i32, ptr %8, align 4, !tbaa !5
  %43 = load i32, ptr %9, align 4, !tbaa !5
  %44 = call { i64, i32 } @_Z7seg_queiiii(i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43)
  store { i64, i32 } %44, ptr %11, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 8 %11, i64 12, i1 false)
  store i32 1, ptr %12, align 4
  br label %130

45:                                               ; preds = %31
  %46 = load i32, ptr %8, align 4, !tbaa !5
  %47 = load i32, ptr %10, align 4, !tbaa !5
  %48 = icmp sgt i32 %46, %47
  br i1 %48, label %49, label %56

49:                                               ; preds = %45
  %50 = load i32, ptr %10, align 4, !tbaa !5
  %51 = add nsw i32 %50, 1
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = load i32, ptr %8, align 4, !tbaa !5
  %54 = load i32, ptr %9, align 4, !tbaa !5
  %55 = call { i64, i32 } @_Z7seg_queiiii(i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54)
  store { i64, i32 } %55, ptr %13, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 8 %13, i64 12, i1 false)
  store i32 1, ptr %12, align 4
  br label %130

56:                                               ; preds = %45
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = load i32, ptr %10, align 4, !tbaa !5
  %59 = load i32, ptr %8, align 4, !tbaa !5
  %60 = load i32, ptr %9, align 4, !tbaa !5
  %61 = call { i64, i32 } @_Z7seg_queiiii(i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60)
  store { i64, i32 } %61, ptr %14, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 8 %14, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #4
  %62 = load i32, ptr %10, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  %64 = load i32, ptr %7, align 4, !tbaa !5
  %65 = load i32, ptr %8, align 4, !tbaa !5
  %66 = load i32, ptr %9, align 4, !tbaa !5
  %67 = call { i64, i32 } @_Z7seg_queiiii(i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66)
  store { i64, i32 } %67, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 8 %16, i64 12, i1 false)
  %68 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 0
  %69 = load i32, ptr %68, align 4, !tbaa !10
  %70 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 2
  %71 = load i32, ptr %70, align 4, !tbaa !12
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [100001 x i32], ptr @f, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = sub nsw i32 %69, %74
  %76 = getelementptr inbounds %struct.Segment, ptr %15, i32 0, i32 0
  %77 = load i32, ptr %76, align 4, !tbaa !10
  %78 = add nsw i32 %75, %77
  %79 = getelementptr inbounds %struct.Segment, ptr %15, i32 0, i32 1
  %80 = load i32, ptr %79, align 4, !tbaa !13
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [100001 x i32], ptr @f, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = sub nsw i32 %78, %83
  %85 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 2
  %86 = load i32, ptr %85, align 4, !tbaa !12
  %87 = getelementptr inbounds %struct.Segment, ptr %15, i32 0, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !13
  %89 = add nsw i32 %86, %88
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [100001 x i32], ptr @f, i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = add nsw i32 %84, %92
  %94 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 0
  store i32 %93, ptr %94, align 4, !tbaa !10
  %95 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 1
  %96 = load i32, ptr %95, align 4, !tbaa !13
  %97 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 1
  %98 = load i32, ptr %97, align 4, !tbaa !13
  %99 = load i32, ptr %10, align 4, !tbaa !5
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = sub nsw i32 %99, %101
  %103 = add nsw i32 %102, 1
  %104 = icmp eq i32 %98, %103
  br i1 %104, label %105, label %108

105:                                              ; preds = %56
  %106 = getelementptr inbounds %struct.Segment, ptr %15, i32 0, i32 1
  %107 = load i32, ptr %106, align 4, !tbaa !13
  br label %109

108:                                              ; preds = %56
  br label %109

109:                                              ; preds = %108, %105
  %110 = phi i32 [ %107, %105 ], [ 0, %108 ]
  %111 = add nsw i32 %96, %110
  %112 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 1
  store i32 %111, ptr %112, align 4, !tbaa !13
  %113 = getelementptr inbounds %struct.Segment, ptr %15, i32 0, i32 2
  %114 = load i32, ptr %113, align 4, !tbaa !12
  %115 = getelementptr inbounds %struct.Segment, ptr %15, i32 0, i32 2
  %116 = load i32, ptr %115, align 4, !tbaa !12
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = load i32, ptr %10, align 4, !tbaa !5
  %120 = sub nsw i32 %118, %119
  %121 = icmp eq i32 %116, %120
  br i1 %121, label %122, label %125

122:                                              ; preds = %109
  %123 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 2
  %124 = load i32, ptr %123, align 4, !tbaa !12
  br label %126

125:                                              ; preds = %109
  br label %126

126:                                              ; preds = %125, %122
  %127 = phi i32 [ %124, %122 ], [ 0, %125 ]
  %128 = add nsw i32 %114, %127
  %129 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 2
  store i32 %128, ptr %129, align 4, !tbaa !12
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #4
  br label %130

130:                                              ; preds = %126, %49, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %131

131:                                              ; preds = %130, %25
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 4 %5, i64 12, i1 false)
  %132 = load { i64, i32 }, ptr %17, align 8
  ret { i64, i32 } %132
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

!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 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5}
!10 = !{!11, !6, i64 0}
!11 = !{!"_ZTS7Segment", !6, i64 0, !6, i64 4, !6, i64 8}
!12 = !{!11, !6, i64 8}
!13 = !{!11, !6, i64 4}


; 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.Segment = type { i32, i32, i32 }

@f = external dso_local local_unnamed_addr global [100001 x i32], align 16
@seg = external dso_local local_unnamed_addr global [200003 x %struct.Segment], align 16

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7seg_idxii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local { i64, i32 } @_Z7seg_queiiii(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 %0, ptr %5, align 4, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !5
  %.not = icmp sgt i32 %2, %0
  %.not52 = icmp sgt i32 %1, %3
  %or.cond = or i1 %.not, %.not52
  br i1 %or.cond, label %13, label %9

9:                                                ; preds = %4
  %10 = tail call noundef i32 @_Z7seg_idxii(i32 noundef %0, i32 noundef %1)
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [200003 x %struct.Segment], ptr @seg, i64 0, i64 %11
  %.sroa.030.0.copyload = load i64, ptr %12, align 4
  %.sroa.030.sroa.0.0.extract.trunc39 = trunc i64 %.sroa.030.0.copyload to i32
  %.sroa.030.sroa.7.0.extract.shift44 = lshr i64 %.sroa.030.0.copyload, 32
  %.sroa.10.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.10.0.copyload = load i32, ptr %.sroa.10.0..sroa_idx, align 4, !tbaa !5
  br label %54

13:                                               ; preds = %4
  %14 = add nsw i32 %1, %0
  %15 = ashr i32 %14, 1
  %.not53 = icmp slt i32 %15, %3
  br i1 %.not53, label %18, label %16

16:                                               ; preds = %13
  %17 = tail call { i64, i32 } @_Z7seg_queiiii(i32 noundef %0, i32 noundef %15, i32 noundef %2, i32 noundef %3)
  %.fca.0.extract19 = extractvalue { i64, i32 } %17, 0
  %.fca.1.extract20 = extractvalue { i64, i32 } %17, 1
  %.sroa.030.sroa.0.0.extract.trunc38 = trunc i64 %.fca.0.extract19 to i32
  %.sroa.030.sroa.7.0.extract.shift42 = lshr i64 %.fca.0.extract19, 32
  br label %54

18:                                               ; preds = %13
  %19 = icmp slt i32 %15, %2
  br i1 %19, label %20, label %23

20:                                               ; preds = %18
  %21 = add nsw i32 %15, 1
  %22 = tail call { i64, i32 } @_Z7seg_queiiii(i32 noundef %21, i32 noundef %1, i32 noundef %2, i32 noundef %3)
  %.fca.0.extract15 = extractvalue { i64, i32 } %22, 0
  %.fca.1.extract16 = extractvalue { i64, i32 } %22, 1
  %.sroa.030.sroa.0.0.extract.trunc37 = trunc i64 %.fca.0.extract15 to i32
  %.sroa.030.sroa.7.0.extract.shift40 = lshr i64 %.fca.0.extract15, 32
  br label %54

23:                                               ; preds = %18
  %24 = tail call { i64, i32 } @_Z7seg_queiiii(i32 noundef %0, i32 noundef %15, i32 noundef %2, i32 noundef %3)
  %.fca.0.extract11 = extractvalue { i64, i32 } %24, 0
  %.fca.1.extract12 = extractvalue { i64, i32 } %24, 1
  %.sroa.030.sroa.0.0.extract.trunc = trunc i64 %.fca.0.extract11 to i32
  %.sroa.030.sroa.7.0.extract.shift = lshr i64 %.fca.0.extract11, 32
  %.sroa.030.sroa.7.0.extract.trunc = trunc nuw i64 %.sroa.030.sroa.7.0.extract.shift to i32
  %25 = add nsw i32 %15, 1
  %26 = tail call { i64, i32 } @_Z7seg_queiiii(i32 noundef %25, i32 noundef %1, i32 noundef %2, i32 noundef %3)
  %.fca.0.extract = extractvalue { i64, i32 } %26, 0
  %.fca.1.extract = extractvalue { i64, i32 } %26, 1
  %27 = sext i32 %.fca.1.extract12 to i64
  %28 = getelementptr inbounds [100001 x i32], ptr @f, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %.sroa.03.0.extract.trunc = trunc i64 %.fca.0.extract to i32
  %.sroa.03.4.extract.shift = lshr i64 %.fca.0.extract, 32
  %.sroa.03.4.extract.trunc = trunc nuw i64 %.sroa.03.4.extract.shift to i32
  %30 = ashr i64 %.fca.0.extract, 32
  %31 = getelementptr inbounds [100001 x i32], ptr @f, i64 0, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = add nsw i32 %.fca.1.extract12, %.sroa.03.4.extract.trunc
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [100001 x i32], ptr @f, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = add i32 %.sroa.030.sroa.0.0.extract.trunc, %.sroa.03.0.extract.trunc
  %38 = add i32 %29, %32
  %39 = sub i32 %37, %38
  %40 = add nsw i32 %39, %36
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = sub i32 %25, %42
  %44 = icmp eq i32 %43, %.sroa.030.sroa.7.0.extract.trunc
  %45 = select i1 %44, i64 %.sroa.03.4.extract.shift, i64 0
  %46 = add nuw nsw i64 %45, %.sroa.030.sroa.7.0.extract.shift
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = sub nsw i32 %48, %15
  %50 = icmp eq i32 %.fca.1.extract, %49
  %51 = select i1 %50, i32 %.fca.1.extract12, i32 0
  %52 = add nsw i32 %51, %.fca.1.extract
  %53 = and i64 %46, 4294967295
  br label %54

54:                                               ; preds = %16, %20, %23, %9
  %.sroa.10.1 = phi i32 [ %.sroa.10.0.copyload, %9 ], [ %.fca.1.extract20, %16 ], [ %.fca.1.extract16, %20 ], [ %52, %23 ]
  %.sroa.030.sroa.0.1 = phi i32 [ %.sroa.030.sroa.0.0.extract.trunc39, %9 ], [ %.sroa.030.sroa.0.0.extract.trunc38, %16 ], [ %.sroa.030.sroa.0.0.extract.trunc37, %20 ], [ %40, %23 ]
  %.sroa.030.sroa.7.1 = phi i64 [ %.sroa.030.sroa.7.0.extract.shift44, %9 ], [ %.sroa.030.sroa.7.0.extract.shift42, %16 ], [ %.sroa.030.sroa.7.0.extract.shift40, %20 ], [ %53, %23 ]
  %.sroa.030.sroa.7.0.insert.shift = shl nuw i64 %.sroa.030.sroa.7.1, 32
  %.sroa.030.sroa.0.0.insert.ext = zext i32 %.sroa.030.sroa.0.1 to i64
  %.sroa.030.sroa.0.0.insert.insert = or disjoint i64 %.sroa.030.sroa.7.0.insert.shift, %.sroa.030.sroa.0.0.insert.ext
  %.fca.0.insert = insertvalue { i64, i32 } poison, i64 %.sroa.030.sroa.0.0.insert.insert, 0
  %.fca.1.insert = insertvalue { i64, i32 } %.fca.0.insert, i32 %.sroa.10.1, 1
  ret { i64, i32 } %.fca.1.insert
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

attributes #0 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass