; LLVM IR from eyangch/competitive-programming :: Codeforces/1726/e.ll (Z4isapv)

; 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.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 }

@N = external dso_local global i64, align 8
@A = external dso_local global [300000 x i64], align 16
@B = external dso_local global [300000 x i64], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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 uwtable
define dso_local noundef zeroext i1 @_Z4isapv() #1 {
  %1 = alloca i1, align 1
  %2 = alloca i64, align 8
  %3 = alloca i8, align 1
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  store i64 0, ptr %2, align 8, !tbaa !5
  br label %8

8:                                                ; preds = %19, %0
  %9 = load i64, ptr %2, align 8, !tbaa !5
  %10 = load i64, ptr @N, align 8, !tbaa !5
  %11 = icmp slt i64 %9, %10
  br i1 %11, label %13, label %12

12:                                               ; preds = %8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  br label %22

13:                                               ; preds = %8
  %14 = load i64, ptr %2, align 8, !tbaa !5
  %15 = load i64, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %15
  %17 = load i64, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %17
  store i64 %14, ptr %18, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %13
  %20 = load i64, ptr %2, align 8, !tbaa !5
  %21 = add nsw i64 %20, 1
  store i64 %21, ptr %2, align 8, !tbaa !5
  br label %8, !llvm.loop !9

22:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #4
  store i8 0, ptr %3, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %23

23:                                               ; preds = %51, %22
  %24 = load i64, ptr %4, align 8, !tbaa !5
  %25 = load i64, ptr @N, align 8, !tbaa !5
  %26 = icmp slt i64 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  store i32 5, ptr %5, align 4
  br label %54

28:                                               ; preds = %23
  %29 = load i64, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %29
  %31 = load i64, ptr %30, align 8, !tbaa !5
  %32 = load i64, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %32
  %34 = load i64, ptr %33, align 8, !tbaa !5
  %35 = sub nsw i64 %31, %34
  %36 = call noundef i64 @_ZSt3absx(i64 noundef %35)
  %37 = icmp sgt i64 %36, 1
  br i1 %37, label %38, label %39

38:                                               ; preds = %28
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %54

39:                                               ; preds = %28
  %40 = load i64, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %40
  %42 = load i64, ptr %41, align 8, !tbaa !5
  %43 = load i64, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %43
  %45 = load i64, ptr %44, align 8, !tbaa !5
  %46 = sub nsw i64 %42, %45
  %47 = call noundef i64 @_ZSt3absx(i64 noundef %46)
  %48 = icmp eq i64 %47, 1
  br i1 %48, label %49, label %50

49:                                               ; preds = %39
  store i8 1, ptr %3, align 1, !tbaa !11
  br label %50

50:                                               ; preds = %49, %39
  br label %51

51:                                               ; preds = %50
  %52 = load i64, ptr %4, align 8, !tbaa !5
  %53 = add nsw i64 %52, 1
  store i64 %53, ptr %4, align 8, !tbaa !5
  br label %23, !llvm.loop !13

54:                                               ; preds = %38, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  %55 = load i32, ptr %5, align 4
  switch i32 %55, label %94 [
    i32 5, label %56
  ]

56:                                               ; preds = %54
  %57 = load i8, ptr %3, align 1, !tbaa !11, !range !14, !noundef !15
  %58 = trunc i8 %57 to i1
  br i1 %58, label %59, label %93

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %71, %59
  %61 = load i64, ptr %6, align 8, !tbaa !5
  %62 = load i64, ptr @N, align 8, !tbaa !5
  %63 = icmp slt i64 %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %74

65:                                               ; preds = %60
  %66 = load i64, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %66
  %68 = load i64, ptr %67, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %68)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %69, i8 noundef signext 32)
  br label %71

71:                                               ; preds = %65
  %72 = load i64, ptr %6, align 8, !tbaa !5
  %73 = add nsw i64 %72, 1
  store i64 %73, ptr %6, align 8, !tbaa !5
  br label %60, !llvm.loop !16

74:                                               ; preds = %64
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !5
  br label %76

76:                                               ; preds = %87, %74
  %77 = load i64, ptr %7, align 8, !tbaa !5
  %78 = load i64, ptr @N, align 8, !tbaa !5
  %79 = icmp slt i64 %77, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %90

81:                                               ; preds = %76
  %82 = load i64, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %82
  %84 = load i64, ptr %83, align 8, !tbaa !5
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %84)
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %85, i8 noundef signext 32)
  br label %87

87:                                               ; preds = %81
  %88 = load i64, ptr %7, align 8, !tbaa !5
  %89 = add nsw i64 %88, 1
  store i64 %89, ptr %7, align 8, !tbaa !5
  br label %76, !llvm.loop !17

90:                                               ; preds = %80
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  store i1 true, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %94

93:                                               ; preds = %56
  store i1 false, ptr %1, align 1
  store i32 1, ptr %5, align 4
  br label %94

94:                                               ; preds = %93, %90, %54
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #4
  %95 = load i1, ptr %1, align 1
  ret i1 %95
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}


; 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.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 }

@N = external dso_local local_unnamed_addr global i64, align 8
@A = external dso_local local_unnamed_addr global [300000 x i64], align 16
@B = external dso_local local_unnamed_addr global [300000 x i64], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z4isapv() local_unnamed_addr #0 {
  %1 = load i64, ptr @N, align 8, !tbaa !5
  %2 = icmp sgt i64 %1, 0
  br i1 %2, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %0
  %xtraiter = and i64 %1, 3
  %3 = icmp ult i64 %1, 4
  br i1 %3, label %.preheader25.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %1, 9223372036854775804
  br label %.lr.ph

.preheader25.unr-lcssa:                           ; preds = %.lr.ph, %.lr.ph.preheader
  %.02227.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %23, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader25, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader25.unr-lcssa, %.lr.ph.epil
  %.02227.epil = phi i64 [ %7, %.lr.ph.epil ], [ %.02227.unr, %.preheader25.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %.preheader25.unr-lcssa ]
  %4 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %.02227.epil
  %5 = load i64, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %5
  store i64 %.02227.epil, ptr %6, align 8, !tbaa !5
  %7 = add nuw nsw i64 %.02227.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader25, label %.lr.ph.epil, !llvm.loop !9

.preheader25:                                     ; preds = %.lr.ph.epil, %.preheader25.unr-lcssa
  br i1 %2, label %.lr.ph31, label %.loopexit

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.02227 = phi i64 [ 0, %.lr.ph.preheader.new ], [ %23, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %8 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %.02227
  %9 = load i64, ptr %8, align 16, !tbaa !5
  %10 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %9
  store i64 %.02227, ptr %10, align 8, !tbaa !5
  %11 = or disjoint i64 %.02227, 1
  %12 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %11
  %13 = load i64, ptr %12, align 8, !tbaa !5
  %14 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %13
  store i64 %11, ptr %14, align 8, !tbaa !5
  %15 = or disjoint i64 %.02227, 2
  %16 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %15
  %17 = load i64, ptr %16, align 16, !tbaa !5
  %18 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %17
  store i64 %15, ptr %18, align 8, !tbaa !5
  %19 = or disjoint i64 %.02227, 3
  %20 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %19
  %21 = load i64, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %21
  store i64 %19, ptr %22, align 8, !tbaa !5
  %23 = add nuw nsw i64 %.02227, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader25.unr-lcssa, label %.lr.ph, !llvm.loop !11

.lr.ph31:                                         ; preds = %.preheader25, %31
  %.02030 = phi i64 [ %37, %31 ], [ 0, %.preheader25 ]
  %.02129 = phi i1 [ %spec.select, %31 ], [ false, %.preheader25 ]
  %24 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %.02030
  %25 = load i64, ptr %24, align 8, !tbaa !5
  %26 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %.02030
  %27 = load i64, ptr %26, align 8, !tbaa !5
  %28 = sub nsw i64 %25, %27
  %29 = tail call noundef i64 @_ZSt3absx(i64 noundef %28)
  %30 = icmp sgt i64 %29, 1
  br i1 %30, label %.loopexit, label %31

31:                                               ; preds = %.lr.ph31
  %32 = load i64, ptr %24, align 8, !tbaa !5
  %33 = load i64, ptr %26, align 8, !tbaa !5
  %34 = sub nsw i64 %32, %33
  %35 = tail call noundef i64 @_ZSt3absx(i64 noundef %34)
  %36 = icmp eq i64 %35, 1
  %spec.select = select i1 %36, i1 true, i1 %.02129
  %37 = add nuw nsw i64 %.02030, 1
  %38 = load i64, ptr @N, align 8, !tbaa !5
  %.not = icmp slt i64 %37, %38
  br i1 %.not, label %.lr.ph31, label %.critedge, !llvm.loop !13

.critedge:                                        ; preds = %31
  br i1 %spec.select, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %.critedge
  %39 = icmp sgt i64 %38, 0
  br i1 %39, label %.lr.ph33, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph33, %.preheader
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  %41 = load i64, ptr @N, align 8, !tbaa !5
  %42 = icmp sgt i64 %41, 0
  br i1 %42, label %.lr.ph36, label %._crit_edge37

.lr.ph33:                                         ; preds = %.preheader, %.lr.ph33
  %.01832 = phi i64 [ %47, %.lr.ph33 ], [ 0, %.preheader ]
  %43 = getelementptr inbounds [300000 x i64], ptr @A, i64 0, i64 %.01832
  %44 = load i64, ptr %43, align 8, !tbaa !5
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %44)
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %45, i8 noundef signext 32)
  %47 = add nuw nsw i64 %.01832, 1
  %48 = load i64, ptr @N, align 8, !tbaa !5
  %49 = icmp slt i64 %47, %48
  br i1 %49, label %.lr.ph33, label %._crit_edge, !llvm.loop !14

._crit_edge37:                                    ; preds = %.lr.ph36, %._crit_edge
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  br label %.loopexit

.lr.ph36:                                         ; preds = %._crit_edge, %.lr.ph36
  %.034 = phi i64 [ %56, %.lr.ph36 ], [ 0, %._crit_edge ]
  %52 = getelementptr inbounds [300000 x i64], ptr @B, i64 0, i64 %.034
  %53 = load i64, ptr %52, align 8, !tbaa !5
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %53)
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %54, i8 noundef signext 32)
  %56 = add nuw nsw i64 %.034, 1
  %57 = load i64, ptr @N, align 8, !tbaa !5
  %58 = icmp slt i64 %56, %57
  br i1 %58, label %.lr.ph36, label %._crit_edge37, !llvm.loop !15

.loopexit:                                        ; preds = %.lr.ph31, %0, %.preheader25, %.critedge, %._crit_edge37
  %.124 = phi i1 [ true, %._crit_edge37 ], [ false, %.critedge ], [ false, %.preheader25 ], [ false, %0 ], [ false, %.lr.ph31 ]
  ret i1 %.124
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #2

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

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 = { 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 = { 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" }

!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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.unroll.disable"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


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