; LLVM IR from bqi343/cp-notebook :: Implementations/content/geometry (13)/3D (death_conveyor)

; 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::vector.5" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::array" = type { [4 x x86_fp80] }
%"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 }
%"struct.std::pair" = type <{ x86_fp80, i32, [12 x i8] }>
%"struct.std::_Setprecision" = type { i32 }

@_ZL2PI = external hidden global x86_fp80, align 16
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@verts = external dso_local global %"class.std::vector.5", align 8
@n = external dso_local global i32, align 4
@tot = external dso_local global %"struct.std::array", align 16
@_ZL3INF = external hidden constant i64, align 8
@_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: 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) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3veceee(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) #2

; 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) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z3absRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZmLRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(16)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZdVRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(16)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZmiSt5arrayIeLm4EERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, ptr noundef byval(%"struct.std::array") align 16, ptr noundef nonnull align 16 dereferenceable(64)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZmlRKSt5arrayIeLm4EES2_(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11minRotationRKSt5arrayIeLm4EES2_(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z8getAngleRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3posi(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4initv() #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt5arrayIeLm4EESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #7 {
  %1 = alloca i32, align 4
  %2 = alloca x86_fp80, align 16
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca x86_fp80, align 16
  %6 = alloca x86_fp80, align 16
  %7 = alloca x86_fp80, align 16
  %8 = alloca %"struct.std::array", align 16
  %9 = alloca x86_fp80, align 16
  %10 = alloca x86_fp80, align 16
  %11 = alloca %"struct.std::pair", align 16
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca x86_fp80, align 16
  %15 = alloca %"struct.std::array", align 16
  %16 = alloca %"struct.std::array", align 16
  %17 = alloca %"struct.std::pair", align 16
  %18 = alloca %"struct.std::array", align 16
  %19 = alloca %"struct.std::array", align 16
  %20 = alloca x86_fp80, align 16
  %21 = alloca %"struct.std::array", align 16
  %22 = alloca %"struct.std::_Setprecision", align 4
  store i32 0, ptr %1, align 4
  call void @_Z4initv()
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #8
  store x86_fp80 0xK00000000000000000000, ptr %2, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %80, %0
  %24 = load i32, ptr %3, align 4, !tbaa !9
  %25 = load i32, ptr @n, align 4, !tbaa !9
  %26 = icmp slt i32 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %83

28:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  call void @_Z2reIeJeeEEvRT_DpRT0_(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %7)
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #8
  %29 = load x86_fp80, ptr %5, align 16, !tbaa !5
  %30 = load x86_fp80, ptr %6, align 16, !tbaa !5
  %31 = load x86_fp80, ptr %7, align 16, !tbaa !5
  call void @_Z3veceee(ptr dead_on_unwind writable sret(%"struct.std::array") align 16 %8, x86_fp80 noundef %29, x86_fp80 noundef %30, x86_fp80 noundef %31)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  %32 = call noundef x86_fp80 @_Z3absRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64) %8)
  store x86_fp80 %32, ptr %9, align 16, !tbaa !5
  %33 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZdVRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64) %8, ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  store x86_fp80 0xKBFFF8000000000000000, ptr %10, align 16, !tbaa !5
  %34 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZmLRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64) %8, ptr noundef nonnull align 16 dereferenceable(16) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 -1, ptr %12, align 4, !tbaa !9
  call void @_ZNSt4pairIeiEC2IRKxiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20) %11, ptr noundef nonnull align 8 dereferenceable(8) @_ZL3INF, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %45, %28
  %36 = load i32, ptr %13, align 4, !tbaa !9
  %37 = call noundef i64 @_ZNKSt6vectorISt5arrayIeLm4EESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @verts) #8
  %38 = trunc i64 %37 to i32
  %39 = icmp slt i32 %36, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %35
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %48

41:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #8
  %42 = load i32, ptr %13, align 4, !tbaa !9
  call void @_Z3posi(ptr dead_on_unwind writable sret(%"struct.std::array") align 16 %16, i32 noundef %42)
  call void @_ZmiSt5arrayIeLm4EERKS0_(ptr dead_on_unwind writable sret(%"struct.std::array") align 16 %15, ptr noundef byval(%"struct.std::array") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %8)
  %43 = call noundef x86_fp80 @_Z3absRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64) %15)
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #8
  store x86_fp80 %43, ptr %14, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  call void @_ZNSt4pairIeiEC2IReRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20) %17, ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %44 = call noundef zeroext i1 @_Z5ckminISt4pairIeiEEbRT_RKS2_(ptr noundef nonnull align 16 dereferenceable(20) %11, ptr noundef nonnull align 16 dereferenceable(20) %17)
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %45

45:                                               ; preds = %41
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %13, align 4, !tbaa !9
  br label %35, !llvm.loop !11

48:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #8
  %49 = getelementptr inbounds %"struct.std::pair", ptr %11, i32 0, i32 1
  %50 = load i32, ptr %49, align 16, !tbaa !13
  call void @_Z3posi(ptr dead_on_unwind writable sret(%"struct.std::array") align 16 %19, i32 noundef %50)
  call void @_Z11minRotationRKSt5arrayIeLm4EES2_(ptr dead_on_unwind writable sret(%"struct.std::array") align 16 %18, ptr noundef nonnull align 16 dereferenceable(64) %19, ptr noundef nonnull align 16 dereferenceable(64) %8)
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %51 = call noundef x86_fp80 @_Z8getAngleRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64) %18)
  store x86_fp80 %51, ptr %20, align 16, !tbaa !5
  %52 = load x86_fp80, ptr %20, align 16, !tbaa !5
  %53 = load x86_fp80, ptr @_ZL2PI, align 16, !tbaa !5
  %54 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %53, x86_fp80 %52)
  %55 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %54)
  %56 = load x86_fp80, ptr %20, align 16, !tbaa !5
  %57 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %56)
  %58 = fcmp olt x86_fp80 %55, %57
  br i1 %58, label %59, label %63

59:                                               ; preds = %48
  %60 = load x86_fp80, ptr @_ZL2PI, align 16, !tbaa !5
  %61 = load x86_fp80, ptr %20, align 16, !tbaa !5
  %62 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %60, x86_fp80 %61)
  store x86_fp80 %62, ptr %20, align 16, !tbaa !5
  br label %63

63:                                               ; preds = %59, %48
  %64 = load x86_fp80, ptr %20, align 16, !tbaa !5
  %65 = load x86_fp80, ptr @_ZL2PI, align 16, !tbaa !5
  %66 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xKC0008000000000000000, x86_fp80 %65, x86_fp80 %64)
  %67 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %66)
  %68 = load x86_fp80, ptr %20, align 16, !tbaa !5
  %69 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %68)
  %70 = fcmp olt x86_fp80 %67, %69
  br i1 %70, label %71, label %75

71:                                               ; preds = %63
  %72 = load x86_fp80, ptr @_ZL2PI, align 16, !tbaa !5
  %73 = load x86_fp80, ptr %20, align 16, !tbaa !5
  %74 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xKC0008000000000000000, x86_fp80 %72, x86_fp80 %73)
  store x86_fp80 %74, ptr %20, align 16, !tbaa !5
  br label %75

75:                                               ; preds = %71, %63
  %76 = load x86_fp80, ptr %20, align 16, !tbaa !5
  %77 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %76)
  %78 = load x86_fp80, ptr %2, align 16, !tbaa !5
  %79 = fadd x86_fp80 %78, %77
  store x86_fp80 %79, ptr %2, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #8
  call void @_ZmlRKSt5arrayIeLm4EES2_(ptr dead_on_unwind writable sret(%"struct.std::array") align 16 %21, ptr noundef nonnull align 16 dereferenceable(64) %18, ptr noundef nonnull align 16 dereferenceable(64) @tot)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @tot, ptr align 16 %21, i64 64, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #8
  br label %80

80:                                               ; preds = %75
  %81 = load i32, ptr %3, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %3, align 4, !tbaa !9
  br label %23, !llvm.loop !17

83:                                               ; preds = %27
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
  %85 = call i32 @_ZSt12setprecisioni(i32 noundef 5)
  %86 = getelementptr inbounds %"struct.std::_Setprecision", ptr %22, i32 0, i32 0
  store i32 %85, ptr %86, align 4
  %87 = getelementptr inbounds %"struct.std::_Setprecision", ptr %22, i32 0, i32 0
  %88 = load i32, ptr %87, align 4
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %84, i32 %88)
  %90 = load x86_fp80, ptr %2, align 16, !tbaa !5
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %89, x86_fp80 noundef %90)
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef @.str.8)
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #8
  %93 = load i32, ptr %1, align 4
  ret i32 %93
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2reIeJeeEEvRT_DpRT0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIeiEC2IRKxiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5ckminISt4pairIeiEEbRT_RKS2_(ptr noundef nonnull align 16 dereferenceable(20), ptr noundef nonnull align 16 dereferenceable(20)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIeiEC2IReRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8), x86_fp80 noundef) #6 align 2

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


; 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::vector.5" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<long double, 4>, std::allocator<std::array<long double, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::array" = type { [4 x x86_fp80] }
%"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 }
%"struct.std::pair" = type <{ x86_fp80, i32, [12 x i8] }>

@_ZL2PI = external hidden local_unnamed_addr global x86_fp80, align 16
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@verts = external dso_local global %"class.std::vector.5", align 8
@n = external dso_local local_unnamed_addr global i32, align 4
@tot = external dso_local global %"struct.std::array", align 16
@_ZL3INF = external hidden constant i64, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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: 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 #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3veceee(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress 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) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z3absRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZmLRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(64) ptr @_ZdVRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZmiSt5arrayIeLm4EERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, ptr noundef byval(%"struct.std::array") align 16, ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZmlRKSt5arrayIeLm4EES2_(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11minRotationRKSt5arrayIeLm4EES2_(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z8getAngleRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3posi(ptr dead_on_unwind noalias writable sret(%"struct.std::array") align 16, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4initv() local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt5arrayIeLm4EESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #7 {
  %1 = alloca x86_fp80, align 16
  %2 = alloca x86_fp80, align 16
  %3 = alloca x86_fp80, align 16
  %4 = alloca %"struct.std::array", align 16
  %5 = alloca x86_fp80, align 16
  %6 = alloca x86_fp80, align 16
  %7 = alloca %"struct.std::pair", align 16
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca x86_fp80, align 16
  %11 = alloca %"struct.std::array", align 16
  %12 = alloca %"struct.std::array", align 16
  %13 = alloca %"struct.std::pair", align 16
  %14 = alloca %"struct.std::array", align 16
  %15 = alloca %"struct.std::array", align 16
  %16 = alloca %"struct.std::array", align 16
  tail call void @_Z4initv()
  %17 = load i32, ptr @n, align 4, !tbaa !5
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph16, label %._crit_edge17

.lr.ph16:                                         ; preds = %0
  %19 = getelementptr inbounds i8, ptr %7, i64 16
  br label %25

._crit_edge17:                                    ; preds = %._crit_edge, %0
  %.0.lcssa = phi x86_fp80 [ 0xK00000000000000000000, %0 ], [ %51, %._crit_edge ]
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %21 = call i32 @_ZSt12setprecisioni(i32 noundef 5)
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 %21)
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %22, x86_fp80 noundef %.0.lcssa)
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @.str.8)
  ret i32 0

25:                                               ; preds = %.lr.ph16, %._crit_edge
  %.014 = phi x86_fp80 [ 0xK00000000000000000000, %.lr.ph16 ], [ %51, %._crit_edge ]
  %.01213 = phi i32 [ 0, %.lr.ph16 ], [ %52, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  call void @_Z2reIeJeeEEvRT_DpRT0_(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #8
  %26 = load x86_fp80, ptr %1, align 16, !tbaa !9
  %27 = load x86_fp80, ptr %2, align 16, !tbaa !9
  %28 = load x86_fp80, ptr %3, align 16, !tbaa !9
  call void @_Z3veceee(ptr dead_on_unwind nonnull writable sret(%"struct.std::array") align 16 %4, x86_fp80 noundef %26, x86_fp80 noundef %27, x86_fp80 noundef %28)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  %29 = call noundef x86_fp80 @_Z3absRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64) %4)
  store x86_fp80 %29, ptr %5, align 16, !tbaa !9
  %30 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZdVRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64) %4, ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  store x86_fp80 0xKBFFF8000000000000000, ptr %6, align 16, !tbaa !9
  %31 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZmLRSt5arrayIeLm4EERKe(ptr noundef nonnull align 16 dereferenceable(64) %4, ptr noundef nonnull align 16 dereferenceable(16) %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  store i32 -1, ptr %8, align 4, !tbaa !5
  call void @_ZNSt4pairIeiEC2IRKxiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZL3INF, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  store i32 0, ptr %9, align 4, !tbaa !5
  %32 = call noundef i64 @_ZNKSt6vectorISt5arrayIeLm4EESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @verts) #8
  %33 = trunc i64 %32 to i32
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %25
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #8
  %35 = load i32, ptr %19, align 16, !tbaa !11
  call void @_Z3posi(ptr dead_on_unwind nonnull writable sret(%"struct.std::array") align 16 %15, i32 noundef %35)
  call void @_Z11minRotationRKSt5arrayIeLm4EES2_(ptr dead_on_unwind nonnull writable sret(%"struct.std::array") align 16 %14, ptr noundef nonnull align 16 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(64) %4)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #8
  %36 = call noundef x86_fp80 @_Z8getAngleRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64) %14)
  %37 = load x86_fp80, ptr @_ZL2PI, align 16, !tbaa !9
  %38 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %37, x86_fp80 0xK40008000000000000000, x86_fp80 %36)
  %39 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %38)
  %40 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %36)
  %41 = fcmp olt x86_fp80 %39, %40
  %42 = load x86_fp80, ptr @_ZL2PI, align 16
  %43 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %42, x86_fp80 0xK40008000000000000000, x86_fp80 %36)
  %.011 = select i1 %41, x86_fp80 %43, x86_fp80 %36
  %44 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %42, x86_fp80 0xKC0008000000000000000, x86_fp80 %.011)
  %45 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %44)
  %46 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %.011)
  %47 = fcmp olt x86_fp80 %45, %46
  %48 = load x86_fp80, ptr @_ZL2PI, align 16
  %49 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %48, x86_fp80 0xKC0008000000000000000, x86_fp80 %.011)
  %.1 = select i1 %47, x86_fp80 %49, x86_fp80 %.011
  %50 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %.1)
  %51 = fadd x86_fp80 %.014, %50
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #8
  call void @_ZmlRKSt5arrayIeLm4EES2_(ptr dead_on_unwind nonnull writable sret(%"struct.std::array") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %14, ptr noundef nonnull align 16 dereferenceable(64) @tot)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) @tot, ptr noundef nonnull align 16 dereferenceable(64) %16, i64 64, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #8
  %52 = add nuw nsw i32 %.01213, 1
  %53 = load i32, ptr @n, align 4, !tbaa !5
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %25, label %._crit_edge17, !llvm.loop !15

.lr.ph:                                           ; preds = %25, %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #8
  %55 = load i32, ptr %9, align 4, !tbaa !5
  call void @_Z3posi(ptr dead_on_unwind nonnull writable sret(%"struct.std::array") align 16 %12, i32 noundef %55)
  call void @_ZmiSt5arrayIeLm4EERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.std::array") align 16 %11, ptr noundef nonnull byval(%"struct.std::array") align 16 %12, ptr noundef nonnull align 16 dereferenceable(64) %4)
  %56 = call noundef x86_fp80 @_Z3absRKSt5arrayIeLm4EE(ptr noundef nonnull align 16 dereferenceable(64) %11)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #8
  store x86_fp80 %56, ptr %10, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  call void @_ZNSt4pairIeiEC2IReRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20) %13, ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %57 = call noundef zeroext i1 @_Z5ckminISt4pairIeiEEbRT_RKS2_(ptr noundef nonnull align 16 dereferenceable(20) %7, ptr noundef nonnull align 16 dereferenceable(20) %13)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  %58 = load i32, ptr %9, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %9, align 4, !tbaa !5
  %60 = call noundef i64 @_ZNKSt6vectorISt5arrayIeLm4EESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @verts) #8
  %61 = trunc i64 %60 to i32
  %62 = icmp slt i32 %59, %61
  br i1 %62, label %.lr.ph, label %._crit_edge, !llvm.loop !17
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z2reIeJeeEEvRT_DpRT0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIeiEC2IRKxiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5ckminISt4pairIeiEEbRT_RKS2_(ptr noundef nonnull align 16 dereferenceable(20), ptr noundef nonnull align 16 dereferenceable(20)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIeiEC2IReRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 16 dereferenceable(20), ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 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 #8 = { 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 = !{!"long double", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTSSt4pairIeiE", !10, i64 0, !6, i64 16}
!13 = !{i64 0, i64 64, !14}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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