; LLVM IR from ahampriyanshu/algo-ds-101 :: Data-Structures/LinkedList/Doubly_Linked_List/DoublyLinkedList_C++_Template (main)

; 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 }
%class.DLL = type { ptr, ptr }
%class.Sentinel = type { ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %class.DLL, align 8
  %3 = alloca %class.Sentinel, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #5
  call void @_ZN3DLLIiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  invoke void @_ZN8SentinelIiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %20 unwind label %29

20:                                               ; preds = %0
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %22 unwind label %33

22:                                               ; preds = %20
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %24 unwind label %33

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %40, %24
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 3
  br i1 %27, label %37, label %28

28:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %47

29:                                               ; preds = %0
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %4, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %5, align 4
  br label %291

33:                                               ; preds = %287, %271, %248, %232, %216, %193, %177, %160, %158, %157, %141, %118, %102, %86, %63, %47, %22, %20
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %4, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %5, align 4
  br label %290

37:                                               ; preds = %25
  invoke void @_ZN3DLLIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %38 unwind label %43

38:                                               ; preds = %37
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %39 unwind label %43

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %6, align 4, !tbaa !5
  br label %25, !llvm.loop !9

43:                                               ; preds = %38, %37
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %4, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %290

47:                                               ; preds = %28
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %48 unwind label %33

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 3, ptr %7, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %56, %48
  %50 = load i32, ptr %7, align 4, !tbaa !5
  %51 = icmp slt i32 %50, 6
  br i1 %51, label %53, label %52

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

53:                                               ; preds = %49
  invoke void @_ZN3DLLIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %54 unwind label %59

54:                                               ; preds = %53
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %55 unwind label %59

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr %7, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %7, align 4, !tbaa !5
  br label %49, !llvm.loop !11

59:                                               ; preds = %54, %53
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %4, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %290

63:                                               ; preds = %52
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %64 unwind label %33

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %83, %64
  %66 = load i32, ptr %8, align 4, !tbaa !5
  %67 = icmp slt i32 %66, 7
  br i1 %67, label %69, label %68

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

69:                                               ; preds = %65
  %70 = load i32, ptr %8, align 4, !tbaa !5
  %71 = srem i32 %70, 2
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %79

73:                                               ; preds = %69
  invoke void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %74 unwind label %75

74:                                               ; preds = %73
  br label %81

75:                                               ; preds = %81, %79, %73
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %4, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %290

79:                                               ; preds = %69
  invoke void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %80 unwind label %75

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80, %74
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %82 unwind label %75

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  %84 = load i32, ptr %8, align 4, !tbaa !5
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %8, align 4, !tbaa !5
  br label %65, !llvm.loop !12

86:                                               ; preds = %68
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %87 unwind label %33

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

88:                                               ; preds = %95, %87
  %89 = load i32, ptr %9, align 4, !tbaa !5
  %90 = icmp slt i32 %89, 3
  br i1 %90, label %92, label %91

91:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %102

92:                                               ; preds = %88
  invoke void @_ZN3DLLIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %93 unwind label %98

93:                                               ; preds = %92
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %94 unwind label %98

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %9, align 4, !tbaa !5
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %9, align 4, !tbaa !5
  br label %88, !llvm.loop !13

98:                                               ; preds = %93, %92
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %4, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %290

102:                                              ; preds = %91
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %103 unwind label %33

103:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 3, ptr %10, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %111, %103
  %105 = load i32, ptr %10, align 4, !tbaa !5
  %106 = icmp slt i32 %105, 6
  br i1 %106, label %108, label %107

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

108:                                              ; preds = %104
  invoke void @_ZN3DLLIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %109 unwind label %114

109:                                              ; preds = %108
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %110 unwind label %114

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %10, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %10, align 4, !tbaa !5
  br label %104, !llvm.loop !14

114:                                              ; preds = %109, %108
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %4, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %290

118:                                              ; preds = %107
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %119 unwind label %33

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %138, %119
  %121 = load i32, ptr %11, align 4, !tbaa !5
  %122 = icmp slt i32 %121, 7
  br i1 %122, label %124, label %123

123:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %141

124:                                              ; preds = %120
  %125 = load i32, ptr %11, align 4, !tbaa !5
  %126 = srem i32 %125, 2
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %134

128:                                              ; preds = %124
  invoke void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %129 unwind label %130

129:                                              ; preds = %128
  br label %136

130:                                              ; preds = %136, %134, %128
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %4, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %290

134:                                              ; preds = %124
  invoke void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %135 unwind label %130

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135, %129
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %137 unwind label %130

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %11, align 4, !tbaa !5
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %11, align 4, !tbaa !5
  br label %120, !llvm.loop !15

141:                                              ; preds = %123
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %142 unwind label %33

142:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %143

143:                                              ; preds = %150, %142
  %144 = load i32, ptr %12, align 4, !tbaa !5
  %145 = icmp slt i32 %144, 3
  br i1 %145, label %147, label %146

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

147:                                              ; preds = %143
  invoke void @_ZN3DLLIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %148 unwind label %153

148:                                              ; preds = %147
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %149 unwind label %153

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %12, align 4, !tbaa !5
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %12, align 4, !tbaa !5
  br label %143, !llvm.loop !16

153:                                              ; preds = %148, %147
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %4, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %290

157:                                              ; preds = %146
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %158 unwind label %33

158:                                              ; preds = %157
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %160 unwind label %33

160:                                              ; preds = %158
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %162 unwind label %33

162:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %170, %162
  %164 = load i32, ptr %13, align 4, !tbaa !5
  %165 = icmp slt i32 %164, 3
  br i1 %165, label %167, label %166

166:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %177

167:                                              ; preds = %163
  invoke void @_ZN8SentinelIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %168 unwind label %173

168:                                              ; preds = %167
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %169 unwind label %173

169:                                              ; preds = %168
  br label %170

170:                                              ; preds = %169
  %171 = load i32, ptr %13, align 4, !tbaa !5
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %13, align 4, !tbaa !5
  br label %163, !llvm.loop !17

173:                                              ; preds = %168, %167
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %4, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %290

177:                                              ; preds = %166
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %178 unwind label %33

178:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 3, ptr %14, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %186, %178
  %180 = load i32, ptr %14, align 4, !tbaa !5
  %181 = icmp slt i32 %180, 6
  br i1 %181, label %183, label %182

182:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %193

183:                                              ; preds = %179
  invoke void @_ZN8SentinelIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %184 unwind label %189

184:                                              ; preds = %183
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %185 unwind label %189

185:                                              ; preds = %184
  br label %186

186:                                              ; preds = %185
  %187 = load i32, ptr %14, align 4, !tbaa !5
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %14, align 4, !tbaa !5
  br label %179, !llvm.loop !18

189:                                              ; preds = %184, %183
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %4, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %290

193:                                              ; preds = %182
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %194 unwind label %33

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %195

195:                                              ; preds = %213, %194
  %196 = load i32, ptr %15, align 4, !tbaa !5
  %197 = icmp slt i32 %196, 7
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %216

199:                                              ; preds = %195
  %200 = load i32, ptr %15, align 4, !tbaa !5
  %201 = srem i32 %200, 2
  %202 = icmp eq i32 %201, 0
  br i1 %202, label %203, label %209

203:                                              ; preds = %199
  invoke void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %204 unwind label %205

204:                                              ; preds = %203
  br label %211

205:                                              ; preds = %211, %209, %203
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %4, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %290

209:                                              ; preds = %199
  invoke void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %210 unwind label %205

210:                                              ; preds = %209
  br label %211

211:                                              ; preds = %210, %204
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %212 unwind label %205

212:                                              ; preds = %211
  br label %213

213:                                              ; preds = %212
  %214 = load i32, ptr %15, align 4, !tbaa !5
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %15, align 4, !tbaa !5
  br label %195, !llvm.loop !19

216:                                              ; preds = %198
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %217 unwind label %33

217:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %218

218:                                              ; preds = %225, %217
  %219 = load i32, ptr %16, align 4, !tbaa !5
  %220 = icmp slt i32 %219, 3
  br i1 %220, label %222, label %221

221:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %232

222:                                              ; preds = %218
  invoke void @_ZN8SentinelIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %223 unwind label %228

223:                                              ; preds = %222
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %224 unwind label %228

224:                                              ; preds = %223
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %16, align 4, !tbaa !5
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %16, align 4, !tbaa !5
  br label %218, !llvm.loop !20

228:                                              ; preds = %223, %222
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %4, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %290

232:                                              ; preds = %221
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %233 unwind label %33

233:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 3, ptr %17, align 4, !tbaa !5
  br label %234

234:                                              ; preds = %241, %233
  %235 = load i32, ptr %17, align 4, !tbaa !5
  %236 = icmp slt i32 %235, 6
  br i1 %236, label %238, label %237

237:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %248

238:                                              ; preds = %234
  invoke void @_ZN8SentinelIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %239 unwind label %244

239:                                              ; preds = %238
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %240 unwind label %244

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  %242 = load i32, ptr %17, align 4, !tbaa !5
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %17, align 4, !tbaa !5
  br label %234, !llvm.loop !21

244:                                              ; preds = %239, %238
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %4, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %290

248:                                              ; preds = %237
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %249 unwind label %33

249:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %250

250:                                              ; preds = %268, %249
  %251 = load i32, ptr %18, align 4, !tbaa !5
  %252 = icmp slt i32 %251, 7
  br i1 %252, label %254, label %253

253:                                              ; preds = %250
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %271

254:                                              ; preds = %250
  %255 = load i32, ptr %18, align 4, !tbaa !5
  %256 = srem i32 %255, 2
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %258, label %264

258:                                              ; preds = %254
  invoke void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %259 unwind label %260

259:                                              ; preds = %258
  br label %266

260:                                              ; preds = %266, %264, %258
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %4, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %290

264:                                              ; preds = %254
  invoke void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %265 unwind label %260

265:                                              ; preds = %264
  br label %266

266:                                              ; preds = %265, %259
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %267 unwind label %260

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267
  %269 = load i32, ptr %18, align 4, !tbaa !5
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %18, align 4, !tbaa !5
  br label %250, !llvm.loop !22

271:                                              ; preds = %253
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %272 unwind label %33

272:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %273

273:                                              ; preds = %280, %272
  %274 = load i32, ptr %19, align 4, !tbaa !5
  %275 = icmp slt i32 %274, 3
  br i1 %275, label %277, label %276

276:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %287

277:                                              ; preds = %273
  invoke void @_ZN8SentinelIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %278 unwind label %283

278:                                              ; preds = %277
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %279 unwind label %283

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279
  %281 = load i32, ptr %19, align 4, !tbaa !5
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %19, align 4, !tbaa !5
  br label %273, !llvm.loop !23

283:                                              ; preds = %278, %277
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %4, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %290

287:                                              ; preds = %276
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %288 unwind label %33

288:                                              ; preds = %287
  store i32 0, ptr %1, align 4
  call void @_ZN8SentinelIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  call void @_ZN3DLLIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #5
  %289 = load i32, ptr %1, align 4
  ret i32 %289

290:                                              ; preds = %283, %260, %244, %228, %205, %189, %173, %153, %130, %114, %98, %75, %59, %43, %33
  call void @_ZN8SentinelIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  br label %291

291:                                              ; preds = %290, %29
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  call void @_ZN3DLLIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #5
  br label %292

292:                                              ; preds = %291
  %293 = load ptr, ptr %4, align 8
  %294 = load i32, ptr %5, align 4
  %295 = insertvalue { ptr, i32 } poison, ptr %293, 0
  %296 = insertvalue { ptr, i32 } %295, i32 %294, 1
  resume { ptr, i32 } %296
}

; 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 void @_ZN3DLLIiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3DLLIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 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 uwtable
declare dso_local void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3DLLIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8SentinelIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8SentinelIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !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 }
%class.DLL = type { ptr, ptr }
%class.Sentinel = type { ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %class.DLL, align 8
  %2 = alloca %class.Sentinel, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #5
  call void @_ZN3DLLIiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  invoke void @_ZN8SentinelIiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %13 unwind label %19

13:                                               ; preds = %0
  %14 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %15 unwind label %21

15:                                               ; preds = %13
  %16 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %17 unwind label %21

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %23

18:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %31 unwind label %21

19:                                               ; preds = %0
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %167

21:                                               ; preds = %156, %154, %136, %126, %124, %106, %96, %93, %91, %82, %80, %62, %52, %50, %32, %18, %15, %13
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %166

23:                                               ; preds = %17, %25
  invoke void @_ZN3DLLIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %24 unwind label %29

24:                                               ; preds = %23
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %25 unwind label %29

25:                                               ; preds = %24
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %3, align 4, !tbaa !5
  %28 = icmp slt i32 %26, 2
  br i1 %28, label %23, label %18, !llvm.loop !9

29:                                               ; preds = %24, %23
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  br label %166

31:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  store i32 3, ptr %4, align 4, !tbaa !5
  br label %33

32:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %43 unwind label %21

33:                                               ; preds = %31, %35
  invoke void @_ZN3DLLIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %34 unwind label %39

34:                                               ; preds = %33
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %35 unwind label %39

35:                                               ; preds = %34
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %4, align 4, !tbaa !5
  %38 = icmp slt i32 %36, 5
  br i1 %38, label %33, label %32, !llvm.loop !11

39:                                               ; preds = %34, %33
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %166

41:                                               ; preds = %49, %48, %47, %46, %45, %44, %43
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %166

43:                                               ; preds = %32
  call void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %44 unwind label %41

44:                                               ; preds = %43
  call void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %45 unwind label %41

45:                                               ; preds = %44
  call void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %46 unwind label %41

46:                                               ; preds = %45
  call void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %47 unwind label %41

47:                                               ; preds = %46
  call void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %48 unwind label %41

48:                                               ; preds = %47
  call void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %49 unwind label %41

49:                                               ; preds = %48
  call void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %50 unwind label %41

50:                                               ; preds = %49
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %51 unwind label %21

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %53

52:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %61 unwind label %21

53:                                               ; preds = %51, %55
  invoke void @_ZN3DLLIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %54 unwind label %59

54:                                               ; preds = %53
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %55 unwind label %59

55:                                               ; preds = %54
  %56 = load i32, ptr %5, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %5, align 4, !tbaa !5
  %58 = icmp slt i32 %56, 2
  br i1 %58, label %53, label %52, !llvm.loop !12

59:                                               ; preds = %54, %53
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %166

61:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 3, ptr %6, align 4, !tbaa !5
  br label %63

62:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %73 unwind label %21

63:                                               ; preds = %61, %65
  invoke void @_ZN3DLLIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %64 unwind label %69

64:                                               ; preds = %63
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %65 unwind label %69

65:                                               ; preds = %64
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %6, align 4, !tbaa !5
  %68 = icmp slt i32 %66, 5
  br i1 %68, label %63, label %62, !llvm.loop !13

69:                                               ; preds = %64, %63
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %166

71:                                               ; preds = %79, %78, %77, %76, %75, %74, %73
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %166

73:                                               ; preds = %62
  call void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %74 unwind label %71

74:                                               ; preds = %73
  call void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %75 unwind label %71

75:                                               ; preds = %74
  call void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %76 unwind label %71

76:                                               ; preds = %75
  call void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %77 unwind label %71

77:                                               ; preds = %76
  call void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %78 unwind label %71

78:                                               ; preds = %77
  call void @_ZN3DLLIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %79 unwind label %71

79:                                               ; preds = %78
  call void @_ZN3DLLIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %80 unwind label %71

80:                                               ; preds = %79
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %81 unwind label %21

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

82:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  invoke void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %91 unwind label %21

83:                                               ; preds = %81, %85
  invoke void @_ZN3DLLIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %84 unwind label %89

84:                                               ; preds = %83
  invoke void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %85 unwind label %89

85:                                               ; preds = %84
  %86 = load i32, ptr %7, align 4, !tbaa !5
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %7, align 4, !tbaa !5
  %88 = icmp slt i32 %86, 2
  br i1 %88, label %83, label %82, !llvm.loop !14

89:                                               ; preds = %84, %83
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %166

91:                                               ; preds = %82
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %93 unwind label %21

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %95 unwind label %21

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %97

96:                                               ; preds = %99
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %105 unwind label %21

97:                                               ; preds = %95, %99
  invoke void @_ZN8SentinelIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %98 unwind label %103

98:                                               ; preds = %97
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %99 unwind label %103

99:                                               ; preds = %98
  %100 = load i32, ptr %8, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %8, align 4, !tbaa !5
  %102 = icmp slt i32 %100, 2
  br i1 %102, label %97, label %96, !llvm.loop !15

103:                                              ; preds = %98, %97
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %166

105:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 3, ptr %9, align 4, !tbaa !5
  br label %107

106:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %117 unwind label %21

107:                                              ; preds = %105, %109
  invoke void @_ZN8SentinelIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %108 unwind label %113

108:                                              ; preds = %107
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %109 unwind label %113

109:                                              ; preds = %108
  %110 = load i32, ptr %9, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %9, align 4, !tbaa !5
  %112 = icmp slt i32 %110, 5
  br i1 %112, label %107, label %106, !llvm.loop !16

113:                                              ; preds = %108, %107
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %166

115:                                              ; preds = %123, %122, %121, %120, %119, %118, %117
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %166

117:                                              ; preds = %106
  call void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %118 unwind label %115

118:                                              ; preds = %117
  call void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %119 unwind label %115

119:                                              ; preds = %118
  call void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %120 unwind label %115

120:                                              ; preds = %119
  call void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %121 unwind label %115

121:                                              ; preds = %120
  call void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %122 unwind label %115

122:                                              ; preds = %121
  call void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %123 unwind label %115

123:                                              ; preds = %122
  call void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %124 unwind label %115

124:                                              ; preds = %123
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %125 unwind label %21

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %127

126:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %135 unwind label %21

127:                                              ; preds = %125, %129
  invoke void @_ZN8SentinelIiE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %128 unwind label %133

128:                                              ; preds = %127
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %129 unwind label %133

129:                                              ; preds = %128
  %130 = load i32, ptr %10, align 4, !tbaa !5
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %10, align 4, !tbaa !5
  %132 = icmp slt i32 %130, 2
  br i1 %132, label %127, label %126, !llvm.loop !17

133:                                              ; preds = %128, %127
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %166

135:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 3, ptr %11, align 4, !tbaa !5
  br label %137

136:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %147 unwind label %21

137:                                              ; preds = %135, %139
  invoke void @_ZN8SentinelIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %138 unwind label %143

138:                                              ; preds = %137
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %139 unwind label %143

139:                                              ; preds = %138
  %140 = load i32, ptr %11, align 4, !tbaa !5
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %11, align 4, !tbaa !5
  %142 = icmp slt i32 %140, 5
  br i1 %142, label %137, label %136, !llvm.loop !18

143:                                              ; preds = %138, %137
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br label %166

145:                                              ; preds = %153, %152, %151, %150, %149, %148, %147
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %166

147:                                              ; preds = %136
  call void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %148 unwind label %145

148:                                              ; preds = %147
  call void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %149 unwind label %145

149:                                              ; preds = %148
  call void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %150 unwind label %145

150:                                              ; preds = %149
  call void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %151 unwind label %145

151:                                              ; preds = %150
  call void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %152 unwind label %145

152:                                              ; preds = %151
  call void @_ZN8SentinelIiE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %153 unwind label %145

153:                                              ; preds = %152
  call void @_ZN8SentinelIiE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %154 unwind label %145

154:                                              ; preds = %153
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %155 unwind label %21

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %157

156:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  invoke void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %165 unwind label %21

157:                                              ; preds = %155, %159
  invoke void @_ZN8SentinelIiE10push_frontERKi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %158 unwind label %163

158:                                              ; preds = %157
  invoke void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %159 unwind label %163

159:                                              ; preds = %158
  %160 = load i32, ptr %12, align 4, !tbaa !5
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %12, align 4, !tbaa !5
  %162 = icmp slt i32 %160, 2
  br i1 %162, label %157, label %156, !llvm.loop !19

163:                                              ; preds = %158, %157
  %164 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br label %166

165:                                              ; preds = %156
  call void @_ZN8SentinelIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @_ZN3DLLIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #5
  ret i32 0

166:                                              ; preds = %163, %145, %143, %133, %115, %113, %103, %89, %71, %69, %59, %41, %39, %29, %21
  %.pn = phi { ptr, i32 } [ %30, %29 ], [ %40, %39 ], [ %42, %41 ], [ %60, %59 ], [ %70, %69 ], [ %72, %71 ], [ %90, %89 ], [ %104, %103 ], [ %114, %113 ], [ %116, %115 ], [ %134, %133 ], [ %144, %143 ], [ %146, %145 ], [ %164, %163 ], [ %22, %21 ]
  call void @_ZN8SentinelIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #5
  br label %167

167:                                              ; preds = %166, %19
  %.pn.pn = phi { ptr, i32 } [ %.pn, %166 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @_ZN3DLLIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn.pn
}

; 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 void @_ZN3DLLIiEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

; 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 #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3DLLIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 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 uwtable
declare dso_local void @_ZNK3DLLIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8SentinelIiE5printEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8SentinelIiE12reversePrintEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

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

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass