; LLVM IR from HarshCasper/NeoAlgo :: C-Plus-Plus/cp/Rotten_Oranges.ll (Z10rotOrangesPSt6vectorIiSaIiEEi)

; 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::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl" }
%"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl" = type { %"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl_data" }
%"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%struct.cell = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@__const._Z10rotOrangesPSt6vectorIiSaIiEEi.xindex = external hidden unnamed_addr constant [4 x i32], align 16
@__const._Z10rotOrangesPSt6vectorIiSaIiEEi.yindex = external hidden unnamed_addr constant [4 x i32], align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7isValidiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z8checkallPSt6vectorIiSaIiEEi(ptr noundef, i32 noundef) #0

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z9checkzeroPSt6vectorIiSaIiEEi(ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z10rotOrangesPSt6vectorIiSaIiEEi(ptr noundef %0, i32 noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::queue", align 8
  %7 = alloca %struct.cell, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca [4 x i32], align 16
  %15 = alloca [4 x i32], align 16
  %16 = alloca i32, align 4
  %17 = alloca %struct.cell, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %struct.cell, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 80, ptr %6) #5
  call void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 -1, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.xindex, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.yindex, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"class.std::vector", ptr %23, i64 0
  %25 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  %26 = trunc i64 %25 to i32
  store i32 %26, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %61, %2
  %28 = load i32, ptr %12, align 4, !tbaa !9
  %29 = load i32, ptr %5, align 4, !tbaa !9
  %30 = icmp slt i32 %28, %29
  br i1 %30, label %31, label %64

31:                                               ; preds = %27
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %57, %31
  %33 = load i32, ptr %13, align 4, !tbaa !9
  %34 = load i32, ptr %16, align 4, !tbaa !9
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %36, label %60

36:                                               ; preds = %32
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = load i32, ptr %12, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds %"class.std::vector", ptr %37, i64 %39
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %42) #5
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = icmp eq i32 %44, 2
  br i1 %45, label %46, label %56

46:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %47 = getelementptr inbounds %struct.cell, ptr %17, i32 0, i32 0
  %48 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %48, ptr %47, align 4, !tbaa !11
  %49 = getelementptr inbounds %struct.cell, ptr %17, i32 0, i32 1
  %50 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %50, ptr %49, align 4, !tbaa !13
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %51 unwind label %52

51:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %56

52:                                               ; preds = %46
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %18, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %159

56:                                               ; preds = %51, %36
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %13, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %13, align 4, !tbaa !9
  br label %32, !llvm.loop !14

60:                                               ; preds = %32
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %12, align 4, !tbaa !9
  br label %27, !llvm.loop !16

64:                                               ; preds = %27
  br label %65

65:                                               ; preds = %144, %64
  %66 = invoke noundef zeroext i1 @_ZNKSt5queueI4cellSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %67 unwind label %87

67:                                               ; preds = %65
  %68 = xor i1 %66, true
  br i1 %68, label %69, label %145

69:                                               ; preds = %67
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %8, align 4, !tbaa !9
  %72 = invoke noundef i64 @_ZNKSt5queueI4cellSt5dequeIS0_SaIS0_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %73 unwind label %87

73:                                               ; preds = %69
  %74 = trunc i64 %72 to i32
  store i32 %74, ptr %9, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %143, %73
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = add nsw i32 %76, -1
  store i32 %77, ptr %9, align 4, !tbaa !9
  %78 = icmp ne i32 %76, 0
  br i1 %78, label %79, label %144

79:                                               ; preds = %75
  %80 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %81 unwind label %87

81:                                               ; preds = %79
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %80, i64 8, i1 false), !tbaa.struct !17
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %6)
          to label %82 unwind label %87

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %140, %82
  %84 = load i32, ptr %20, align 4, !tbaa !9
  %85 = icmp slt i32 %84, 4
  br i1 %85, label %91, label %86

86:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %143

87:                                               ; preds = %81, %79, %69, %65
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %18, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %19, align 4
  br label %159

91:                                               ; preds = %83
  %92 = getelementptr inbounds %struct.cell, ptr %7, i32 0, i32 0
  %93 = load i32, ptr %92, align 4, !tbaa !11
  %94 = load i32, ptr %20, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = add nsw i32 %93, %97
  store i32 %98, ptr %10, align 4, !tbaa !9
  %99 = getelementptr inbounds %struct.cell, ptr %7, i32 0, i32 1
  %100 = load i32, ptr %99, align 4, !tbaa !13
  %101 = load i32, ptr %20, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !9
  %105 = add nsw i32 %100, %104
  store i32 %105, ptr %11, align 4, !tbaa !9
  %106 = load i32, ptr %10, align 4, !tbaa !9
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = load i32, ptr %5, align 4, !tbaa !9
  %109 = load i32, ptr %16, align 4, !tbaa !9
  %110 = call noundef zeroext i1 @_Z7isValidiiii(i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109)
  br i1 %110, label %112, label %111

111:                                              ; preds = %91
  br label %140

112:                                              ; preds = %91
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds %"class.std::vector", ptr %113, i64 %115
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118) #5
  %120 = load i32, ptr %119, align 4, !tbaa !9
  %121 = icmp eq i32 %120, 1
  br i1 %121, label %122, label %139

122:                                              ; preds = %112
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = load i32, ptr %10, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds %"class.std::vector", ptr %123, i64 %125
  %127 = load i32, ptr %11, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #5
  store i32 2, ptr %129, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %130 = getelementptr inbounds %struct.cell, ptr %21, i32 0, i32 0
  %131 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %131, ptr %130, align 4, !tbaa !11
  %132 = getelementptr inbounds %struct.cell, ptr %21, i32 0, i32 1
  %133 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %133, ptr %132, align 4, !tbaa !13
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80) %6, ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %134 unwind label %135

134:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %139

135:                                              ; preds = %122
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %18, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %159

139:                                              ; preds = %134, %112
  br label %140

140:                                              ; preds = %139, %111
  %141 = load i32, ptr %20, align 4, !tbaa !9
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %20, align 4, !tbaa !9
  br label %83, !llvm.loop !18

143:                                              ; preds = %86
  br label %75, !llvm.loop !19

144:                                              ; preds = %75
  br label %65, !llvm.loop !20

145:                                              ; preds = %67
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = load i32, ptr %5, align 4, !tbaa !9
  %148 = call noundef zeroext i1 @_Z9checkzeroPSt6vectorIiSaIiEEi(ptr noundef %146, i32 noundef %147)
  br i1 %148, label %149, label %150

149:                                              ; preds = %145
  store i32 0, ptr %3, align 4
  store i32 1, ptr %22, align 4
  br label %157

150:                                              ; preds = %145
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = load i32, ptr %5, align 4, !tbaa !9
  %153 = call noundef zeroext i1 @_Z8checkallPSt6vectorIiSaIiEEi(ptr noundef %151, i32 noundef %152)
  br i1 %153, label %154, label %155

154:                                              ; preds = %150
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %22, align 4
  br label %157

155:                                              ; preds = %150
  %156 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %156, ptr %3, align 4
  store i32 1, ptr %22, align 4
  br label %157

157:                                              ; preds = %155, %154, %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %6) #5
  %158 = load i32, ptr %3, align 4
  ret i32 %158

159:                                              ; preds = %135, %87, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %6) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %6) #5
  br label %160

160:                                              ; preds = %159
  %161 = load ptr, ptr %18, align 8
  %162 = load i32, ptr %19, align 4
  %163 = insertvalue { ptr, i32 } poison, ptr %161, 0
  %164 = insertvalue { ptr, i32 } %163, i32 %162, 1
  resume { ptr, i32 } %164
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 align 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: mustprogress uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueI4cellSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #4 align 2

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS4cell", !10, i64 0, !10, i64 4}
!13 = !{!12, !10, i64 4}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}


; 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::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl" }
%"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl" = type { %"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl_data" }
%"struct.std::_Deque_base<cell, std::allocator<cell>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%struct.cell = type { i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@__const._Z10rotOrangesPSt6vectorIiSaIiEEi.xindex = external hidden unnamed_addr constant [4 x i32], align 16
@__const._Z10rotOrangesPSt6vectorIiSaIiEEi.yindex = external hidden unnamed_addr constant [4 x i32], align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z7isValidiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z8checkallPSt6vectorIiSaIiEEi(ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z9checkzeroPSt6vectorIiSaIiEEi(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z10rotOrangesPSt6vectorIiSaIiEEi(ptr noundef %0, i32 noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::queue", align 8
  %4 = alloca %struct.cell, align 4
  %5 = alloca %struct.cell, align 4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #4
  call void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %6 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %7 = trunc i64 %6 to i32
  %8 = icmp sgt i32 %1, 0
  br i1 %8, label %.preheader46.lr.ph, label %.preheader

.preheader46.lr.ph:                               ; preds = %2
  %9 = icmp sgt i32 %7, 0
  %10 = getelementptr inbounds i8, ptr %4, i64 4
  br i1 %9, label %.preheader46.us.preheader, label %.preheader

.preheader46.us.preheader:                        ; preds = %.preheader46.lr.ph
  %wide.trip.count60 = zext nneg i32 %1 to i64
  %wide.trip.count = and i64 %6, 2147483647
  br label %.preheader46.us

.preheader46.us:                                  ; preds = %.preheader46.us.preheader, %._crit_edge.us
  %indvars.iv57 = phi i64 [ 0, %.preheader46.us.preheader ], [ %indvars.iv.next58, %._crit_edge.us ]
  %11 = getelementptr inbounds %"class.std::vector", ptr %0, i64 %indvars.iv57
  %12 = trunc nuw nsw i64 %indvars.iv57 to i32
  br label %13

13:                                               ; preds = %.preheader46.us, %20
  %indvars.iv = phi i64 [ 0, %.preheader46.us ], [ %indvars.iv.next, %20 ]
  %14 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv) #4
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = icmp eq i32 %15, 2
  br i1 %16, label %17, label %20

17:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  store i32 %12, ptr %4, align 4, !tbaa !9
  %18 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %18, ptr %10, align 4, !tbaa !11
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 4 dereferenceable(8) %4)
          to label %19 unwind label %.split.us

19:                                               ; preds = %17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %20

20:                                               ; preds = %19, %13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.us, label %13, !llvm.loop !12

._crit_edge.us:                                   ; preds = %20
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond61.not = icmp eq i64 %indvars.iv.next58, %wide.trip.count60
  br i1 %exitcond61.not, label %.preheader, label %.preheader46.us, !llvm.loop !14

.split.us:                                        ; preds = %17
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %98

.preheader:                                       ; preds = %._crit_edge.us, %.preheader46.lr.ph, %2
  %22 = call noundef zeroext i1 @_ZNKSt5queueI4cellSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  br i1 %22, label %._crit_edge, label %.lr.ph53

.lr.ph53:                                         ; preds = %.preheader
  %23 = getelementptr inbounds i8, ptr %5, i64 4
  %.pre = load i32, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.xindex, align 16
  %.pre66 = load i32, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.yindex, align 16
  %24 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.xindex, i64 4), align 4
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.yindex, i64 4), align 4
  %26 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.xindex, i64 8), align 8
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.yindex, i64 8), align 8
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.xindex, i64 12), align 4
  %29 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z10rotOrangesPSt6vectorIiSaIiEEi.yindex, i64 12), align 4
  br label %31

.loopexit45:                                      ; preds = %.loopexit, %31
  %30 = call noundef zeroext i1 @_ZNKSt5queueI4cellSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  br i1 %30, label %._crit_edge, label %31, !llvm.loop !15

31:                                               ; preds = %.lr.ph53, %.loopexit45
  %.04252 = phi i32 [ -1, %.lr.ph53 ], [ %32, %.loopexit45 ]
  %32 = add nsw i32 %.04252, 1
  %33 = call noundef i64 @_ZNKSt5queueI4cellSt5dequeIS0_SaIS0_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %34 = trunc i64 %33 to i32
  %.not51 = icmp eq i32 %34, 0
  br i1 %.not51, label %.loopexit45, label %.lr.ph

.lr.ph:                                           ; preds = %31, %.loopexit
  %.in = phi i32 [ %35, %.loopexit ], [ %34, %31 ]
  %35 = add nsw i32 %.in, -1
  %36 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %.sroa.0.0.copyload = load i32, ptr %36, align 4, !tbaa !5
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 4
  %.sroa.5.0.copyload = load i32, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !5
  call void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %37 = add nsw i32 %.pre, %.sroa.0.0.copyload
  %38 = add nsw i32 %.pre66, %.sroa.5.0.copyload
  %39 = call noundef zeroext i1 @_Z7isValidiiii(i32 noundef %37, i32 noundef %38, i32 noundef %1, i32 noundef %7)
  br i1 %39, label %40, label %52

40:                                               ; preds = %.lr.ph
  %41 = sext i32 %37 to i64
  %42 = getelementptr inbounds %"class.std::vector", ptr %0, i64 %41
  %43 = sext i32 %38 to i64
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %43) #4
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = icmp eq i32 %45, 1
  br i1 %46, label %47, label %52

47:                                               ; preds = %40
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %43) #4
  store i32 2, ptr %48, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  store i32 %37, ptr %5, align 4, !tbaa !9
  store i32 %38, ptr %23, align 4, !tbaa !11
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %49 unwind label %50

49:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %52

50:                                               ; preds = %91, %77, %63, %47
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %98

52:                                               ; preds = %40, %49, %.lr.ph
  %53 = add nsw i32 %24, %.sroa.0.0.copyload
  %54 = add nsw i32 %25, %.sroa.5.0.copyload
  %55 = call noundef zeroext i1 @_Z7isValidiiii(i32 noundef %53, i32 noundef %54, i32 noundef %1, i32 noundef %7)
  br i1 %55, label %56, label %66

56:                                               ; preds = %52
  %57 = sext i32 %53 to i64
  %58 = getelementptr inbounds %"class.std::vector", ptr %0, i64 %57
  %59 = sext i32 %54 to i64
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %59) #4
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = icmp eq i32 %61, 1
  br i1 %62, label %63, label %66

63:                                               ; preds = %56
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %59) #4
  store i32 2, ptr %64, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  store i32 %53, ptr %5, align 4, !tbaa !9
  store i32 %54, ptr %23, align 4, !tbaa !11
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %65 unwind label %50

65:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %66

66:                                               ; preds = %65, %56, %52
  %67 = add nsw i32 %26, %.sroa.0.0.copyload
  %68 = add nsw i32 %27, %.sroa.5.0.copyload
  %69 = call noundef zeroext i1 @_Z7isValidiiii(i32 noundef %67, i32 noundef %68, i32 noundef %1, i32 noundef %7)
  br i1 %69, label %70, label %80

70:                                               ; preds = %66
  %71 = sext i32 %67 to i64
  %72 = getelementptr inbounds %"class.std::vector", ptr %0, i64 %71
  %73 = sext i32 %68 to i64
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %73) #4
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = icmp eq i32 %75, 1
  br i1 %76, label %77, label %80

77:                                               ; preds = %70
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %73) #4
  store i32 2, ptr %78, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  store i32 %67, ptr %5, align 4, !tbaa !9
  store i32 %68, ptr %23, align 4, !tbaa !11
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %79 unwind label %50

79:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %80

80:                                               ; preds = %79, %70, %66
  %81 = add nsw i32 %28, %.sroa.0.0.copyload
  %82 = add nsw i32 %29, %.sroa.5.0.copyload
  %83 = call noundef zeroext i1 @_Z7isValidiiii(i32 noundef %81, i32 noundef %82, i32 noundef %1, i32 noundef %7)
  br i1 %83, label %84, label %.loopexit

84:                                               ; preds = %80
  %85 = sext i32 %81 to i64
  %86 = getelementptr inbounds %"class.std::vector", ptr %0, i64 %85
  %87 = sext i32 %82 to i64
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %87) #4
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = icmp eq i32 %89, 1
  br i1 %90, label %91, label %.loopexit

91:                                               ; preds = %84
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %87) #4
  store i32 2, ptr %92, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  store i32 %81, ptr %5, align 4, !tbaa !9
  store i32 %82, ptr %23, align 4, !tbaa !11
  invoke void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %93 unwind label %50

93:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %.loopexit

.loopexit:                                        ; preds = %93, %84, %80
  %.not = icmp eq i32 %35, 0
  br i1 %.not, label %.loopexit45, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %.loopexit45, %.preheader
  %.042.lcssa = phi i32 [ -1, %.preheader ], [ %32, %.loopexit45 ]
  %94 = call noundef zeroext i1 @_Z9checkzeroPSt6vectorIiSaIiEEi(ptr noundef nonnull %0, i32 noundef %1)
  br i1 %94, label %97, label %95

95:                                               ; preds = %._crit_edge
  %96 = call noundef zeroext i1 @_Z8checkallPSt6vectorIiSaIiEEi(ptr noundef nonnull %0, i32 noundef %1)
  %..042 = select i1 %96, i32 -1, i32 %.042.lcssa
  br label %97

97:                                               ; preds = %95, %._crit_edge
  %.039 = phi i32 [ 0, %._crit_edge ], [ %..042, %95 ]
  call void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #4
  ret i32 %.039

98:                                               ; preds = %50, %.split.us
  %.pn = phi { ptr, i32 } [ %21, %.split.us ], [ %51, %50 ]
  call void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEEC2IS3_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE4pushEOS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueI4cellSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueI4cellSt5dequeIS0_SaIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

attributes #0 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = !{!10, !6, i64 0}
!10 = !{!"_ZTS4cell", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}


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