; LLVM IR from AnneLivia/Competitive-Programming :: Data Structures/Deque/Deque (Dynamic) (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.DynamicDeque = type <{ ptr, ptr, i32, [4 x i8] }>

@_ZTIPKc = external constant ptr
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [34 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8

; 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.DynamicDeque, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #7
  invoke void @_ZN12DynamicDequeIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %8 unwind label %14

8:                                                ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #7
  store i8 65, ptr %5, align 1, !tbaa !5
  br label %9

9:                                                ; preds = %21, %8
  %10 = load i8, ptr %5, align 1, !tbaa !5
  %11 = sext i8 %10 to i32
  %12 = icmp sle i32 %11, 90
  br i1 %12, label %18, label %13

13:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  br label %28

14:                                               ; preds = %0
  %15 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  %16 = extractvalue { ptr, i32 } %15, 0
  store ptr %16, ptr %3, align 8
  %17 = extractvalue { ptr, i32 } %15, 1
  store i32 %17, ptr %4, align 4
  br label %104

18:                                               ; preds = %9
  %19 = load i8, ptr %5, align 1, !tbaa !5
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %2, i8 noundef signext %19)
          to label %20 unwind label %24

20:                                               ; preds = %18
  br label %21

21:                                               ; preds = %20
  %22 = load i8, ptr %5, align 1, !tbaa !5
  %23 = add i8 %22, 1
  store i8 %23, ptr %5, align 1, !tbaa !5
  br label %9, !llvm.loop !8

24:                                               ; preds = %18
  %25 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %3, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  br label %103

28:                                               ; preds = %13
  %29 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !10
  %30 = getelementptr i8, ptr %29, i64 -24
  %31 = load i64, ptr %30, align 8
  %32 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %31
  %33 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %32, i32 noundef 1)
          to label %34 unwind label %65

34:                                               ; preds = %28
  %35 = 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 %36 unwind label %65

36:                                               ; preds = %34
  %37 = invoke noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %38 unwind label %65

38:                                               ; preds = %36
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %35, i1 noundef zeroext %37)
          to label %40 unwind label %65

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %42 unwind label %65

42:                                               ; preds = %40
  %43 = 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 %44 unwind label %65

44:                                               ; preds = %42
  %45 = invoke noundef i32 @_ZNK12DynamicDequeIcE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %46 unwind label %65

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %43, i32 noundef %45)
          to label %48 unwind label %65

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %50 unwind label %65

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %52 unwind label %65

52:                                               ; preds = %50
  br label %53

53:                                               ; preds = %64, %52
  %54 = invoke noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %55 unwind label %65

55:                                               ; preds = %53
  %56 = xor i1 %54, true
  br i1 %56, label %57, label %69

57:                                               ; preds = %55
  %58 = invoke noundef signext i8 @_ZNK12DynamicDequeIcE8getFrontEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %59 unwind label %65

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %58)
          to label %61 unwind label %65

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %63 unwind label %65

63:                                               ; preds = %61
  invoke void @_ZN12DynamicDequeIcE11removeFrontEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %64 unwind label %65

64:                                               ; preds = %63
  br label %53, !llvm.loop !12

65:                                               ; preds = %100, %98, %96, %94, %92, %88, %85, %63, %61, %59, %57, %53, %50, %48, %46, %44, %42, %40, %38, %36, %34, %28
  %66 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %3, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %4, align 4
  br label %103

69:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  store i8 65, ptr %6, align 1, !tbaa !5
  br label %70

70:                                               ; preds = %78, %69
  %71 = load i8, ptr %6, align 1, !tbaa !5
  %72 = sext i8 %71 to i32
  %73 = icmp sle i32 %72, 90
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %85

75:                                               ; preds = %70
  %76 = load i8, ptr %6, align 1, !tbaa !5
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %2, i8 noundef signext %76)
          to label %77 unwind label %81

77:                                               ; preds = %75
  br label %78

78:                                               ; preds = %77
  %79 = load i8, ptr %6, align 1, !tbaa !5
  %80 = add i8 %79, 1
  store i8 %80, ptr %6, align 1, !tbaa !5
  br label %70, !llvm.loop !13

81:                                               ; preds = %75
  %82 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %3, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %103

85:                                               ; preds = %74
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %87 unwind label %65

87:                                               ; preds = %85
  br label %88

88:                                               ; preds = %99, %87
  %89 = invoke noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %90 unwind label %65

90:                                               ; preds = %88
  %91 = xor i1 %89, true
  br i1 %91, label %92, label %100

92:                                               ; preds = %90
  %93 = invoke noundef signext i8 @_ZNK12DynamicDequeIcE7getRearEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %94 unwind label %65

94:                                               ; preds = %92
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %93)
          to label %96 unwind label %65

96:                                               ; preds = %94
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %98 unwind label %65

98:                                               ; preds = %96
  invoke void @_ZN12DynamicDequeIcE10removeBackEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %99 unwind label %65

99:                                               ; preds = %98
  br label %88, !llvm.loop !14

100:                                              ; preds = %90
  %101 = invoke noundef signext i8 @_ZNK12DynamicDequeIcE8getFrontEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %102 unwind label %65

102:                                              ; preds = %100
  call void @_ZN12DynamicDequeIcED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #7
  br label %117

103:                                              ; preds = %81, %65, %24
  call void @_ZN12DynamicDequeIcED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %2) #7
  br label %104

104:                                              ; preds = %103, %14
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #7
  br label %105

105:                                              ; preds = %104
  %106 = load i32, ptr %4, align 4
  %107 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIPKc) #7
  %108 = icmp eq i32 %106, %107
  br i1 %108, label %109, label %122

109:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %110 = load ptr, ptr %3, align 8
  %111 = call ptr @__cxa_begin_catch(ptr %110) #7
  store ptr %111, ptr %7, align 8
  %112 = load ptr, ptr %7, align 8, !tbaa !15
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %112)
          to label %114 unwind label %118

114:                                              ; preds = %109
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %116 unwind label %118

116:                                              ; preds = %114
  call void @__cxa_end_catch() #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %117

117:                                              ; preds = %116, %102
  ret i32 0

118:                                              ; preds = %114, %109
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %3, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %4, align 4
  call void @__cxa_end_catch() #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %122

122:                                              ; preds = %118, %105
  %123 = load ptr, ptr %3, align 8
  %124 = load i32, ptr %4, align 4
  %125 = insertvalue { ptr, i32 } poison, ptr %123, 0
  %126 = insertvalue { ptr, i32 } %125, i32 %124, 1
  resume { ptr, i32 } %126
}

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20), i8 noundef signext) #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 noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216), i32 noundef) #3 align 2

; 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 @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #3 align 2

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

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12DynamicDequeIcE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(20)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i8 @_ZNK12DynamicDequeIcE8getFrontEv(ptr noundef nonnull align 8 dereferenceable(20)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i8 @_ZNK12DynamicDequeIcE7getRearEv(ptr noundef nonnull align 8 dereferenceable(20)) #3 align 2

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

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 = { "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 #6 = { nounwind memory(none) }
attributes #7 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !11, i64 0}
!11 = !{!"vtable pointer", !7, i64 0}
!12 = distinct !{!12, !9}
!13 = distinct !{!13, !9}
!14 = distinct !{!14, !9}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !6, i64 0}


; 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.DynamicDeque = type <{ ptr, ptr, i32, [4 x i8] }>

@_ZTIPKc = external constant ptr
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [34 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %class.DynamicDeque, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #7
  call void @_ZN12DynamicDequeIcEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %1)
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 65)
          to label %2 unwind label %33

2:                                                ; preds = %0
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 66)
          to label %3 unwind label %33

3:                                                ; preds = %2
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 67)
          to label %4 unwind label %33

4:                                                ; preds = %3
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 68)
          to label %5 unwind label %33

5:                                                ; preds = %4
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 69)
          to label %6 unwind label %33

6:                                                ; preds = %5
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 70)
          to label %7 unwind label %33

7:                                                ; preds = %6
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 71)
          to label %8 unwind label %33

8:                                                ; preds = %7
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 72)
          to label %9 unwind label %33

9:                                                ; preds = %8
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 73)
          to label %10 unwind label %33

10:                                               ; preds = %9
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 74)
          to label %11 unwind label %33

11:                                               ; preds = %10
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 75)
          to label %12 unwind label %33

12:                                               ; preds = %11
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 76)
          to label %13 unwind label %33

13:                                               ; preds = %12
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 77)
          to label %14 unwind label %33

14:                                               ; preds = %13
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 78)
          to label %15 unwind label %33

15:                                               ; preds = %14
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 79)
          to label %16 unwind label %33

16:                                               ; preds = %15
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 80)
          to label %17 unwind label %33

17:                                               ; preds = %16
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 81)
          to label %18 unwind label %33

18:                                               ; preds = %17
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 82)
          to label %19 unwind label %33

19:                                               ; preds = %18
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 83)
          to label %20 unwind label %33

20:                                               ; preds = %19
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 84)
          to label %21 unwind label %33

21:                                               ; preds = %20
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 85)
          to label %22 unwind label %33

22:                                               ; preds = %21
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 86)
          to label %23 unwind label %33

23:                                               ; preds = %22
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 87)
          to label %24 unwind label %33

24:                                               ; preds = %23
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 88)
          to label %25 unwind label %33

25:                                               ; preds = %24
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 89)
          to label %26 unwind label %33

26:                                               ; preds = %25
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 90)
          to label %27 unwind label %33

27:                                               ; preds = %26
  %28 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %30
  %32 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %31, i32 noundef 1)
          to label %35 unwind label %.loopexit.split-lp.loopexit.split-lp

33:                                               ; preds = %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2, %0
  %34 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  br label %.loopexit.split-lp

35:                                               ; preds = %27
  %36 = 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 %37 unwind label %.loopexit.split-lp.loopexit.split-lp

37:                                               ; preds = %35
  %38 = call noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %36, i1 noundef zeroext %38)
          to label %40 unwind label %.loopexit.split-lp.loopexit.split-lp

40:                                               ; preds = %37
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %42 unwind label %.loopexit.split-lp.loopexit.split-lp

42:                                               ; preds = %40
  %43 = 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 %44 unwind label %.loopexit.split-lp.loopexit.split-lp

44:                                               ; preds = %42
  %45 = call noundef i32 @_ZNK12DynamicDequeIcE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %43, i32 noundef %45)
          to label %47 unwind label %.loopexit.split-lp.loopexit.split-lp

47:                                               ; preds = %44
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %49 unwind label %.loopexit.split-lp.loopexit.split-lp

49:                                               ; preds = %47
  %50 = 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.2)
          to label %.preheader16 unwind label %.loopexit.split-lp.loopexit.split-lp

.preheader16:                                     ; preds = %49
  %51 = call noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  br i1 %51, label %.preheader15, label %.lr.ph

.preheader15:                                     ; preds = %57, %.preheader16
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 65)
          to label %60 unwind label %87

.lr.ph:                                           ; preds = %.preheader16, %57
  %52 = invoke noundef signext i8 @_ZNK12DynamicDequeIcE8getFrontEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
          to label %53 unwind label %.loopexit.split-lp.loopexit

53:                                               ; preds = %.lr.ph
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %52)
          to label %55 unwind label %.loopexit.split-lp.loopexit

55:                                               ; preds = %53
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %57 unwind label %.loopexit.split-lp.loopexit

57:                                               ; preds = %55
  call void @_ZN12DynamicDequeIcE11removeFrontEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  %58 = call noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  br i1 %58, label %.preheader15, label %.lr.ph, !llvm.loop !8

.loopexit:                                        ; preds = %.lr.ph22, %90, %92
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %55, %53, %.lr.ph
  %lpad.loopexit17 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %._crit_edge, %85, %49, %47, %44, %42, %40, %37, %35, %27
  %lpad.loopexit.split-lp18 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  br label %.loopexit.split-lp

.preheader:                                       ; preds = %85
  %59 = call noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  br i1 %59, label %._crit_edge, label %.lr.ph22

60:                                               ; preds = %.preheader15
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 66)
          to label %61 unwind label %87

61:                                               ; preds = %60
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 67)
          to label %62 unwind label %87

62:                                               ; preds = %61
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 68)
          to label %63 unwind label %87

63:                                               ; preds = %62
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 69)
          to label %64 unwind label %87

64:                                               ; preds = %63
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 70)
          to label %65 unwind label %87

65:                                               ; preds = %64
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 71)
          to label %66 unwind label %87

66:                                               ; preds = %65
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 72)
          to label %67 unwind label %87

67:                                               ; preds = %66
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 73)
          to label %68 unwind label %87

68:                                               ; preds = %67
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 74)
          to label %69 unwind label %87

69:                                               ; preds = %68
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 75)
          to label %70 unwind label %87

70:                                               ; preds = %69
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 76)
          to label %71 unwind label %87

71:                                               ; preds = %70
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 77)
          to label %72 unwind label %87

72:                                               ; preds = %71
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 78)
          to label %73 unwind label %87

73:                                               ; preds = %72
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 79)
          to label %74 unwind label %87

74:                                               ; preds = %73
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 80)
          to label %75 unwind label %87

75:                                               ; preds = %74
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 81)
          to label %76 unwind label %87

76:                                               ; preds = %75
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 82)
          to label %77 unwind label %87

77:                                               ; preds = %76
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 83)
          to label %78 unwind label %87

78:                                               ; preds = %77
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 84)
          to label %79 unwind label %87

79:                                               ; preds = %78
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 85)
          to label %80 unwind label %87

80:                                               ; preds = %79
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 86)
          to label %81 unwind label %87

81:                                               ; preds = %80
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 87)
          to label %82 unwind label %87

82:                                               ; preds = %81
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 88)
          to label %83 unwind label %87

83:                                               ; preds = %82
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 89)
          to label %84 unwind label %87

84:                                               ; preds = %83
  invoke void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20) %1, i8 noundef signext 90)
          to label %85 unwind label %87

85:                                               ; preds = %84
  %86 = 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.3)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit.split-lp

87:                                               ; preds = %84, %83, %82, %81, %80, %79, %78, %77, %76, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %.preheader15
  %88 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIPKc
  br label %.loopexit.split-lp

.lr.ph22:                                         ; preds = %.preheader, %94
  %89 = invoke noundef signext i8 @_ZNK12DynamicDequeIcE7getRearEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
          to label %90 unwind label %.loopexit

90:                                               ; preds = %.lr.ph22
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %89)
          to label %92 unwind label %.loopexit

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

94:                                               ; preds = %92
  call void @_ZN12DynamicDequeIcE10removeBackEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  %95 = call noundef zeroext i1 @_ZNK12DynamicDequeIcE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
  br i1 %95, label %._crit_edge, label %.lr.ph22, !llvm.loop !10

._crit_edge:                                      ; preds = %94, %.preheader
  %96 = invoke noundef signext i8 @_ZNK12DynamicDequeIcE8getFrontEv(ptr noundef nonnull align 8 dereferenceable(20) %1)
          to label %97 unwind label %.loopexit.split-lp.loopexit.split-lp

97:                                               ; preds = %._crit_edge
  call void @_ZN12DynamicDequeIcED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %1) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #7
  br label %106

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %87, %33
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %88, %87 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit17, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp18, %.loopexit.split-lp.loopexit.split-lp ]
  %.012 = extractvalue { ptr, i32 } %.pn, 1
  call void @_ZN12DynamicDequeIcED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %1) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #7
  %98 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIPKc) #7
  %99 = icmp eq i32 %.012, %98
  br i1 %99, label %100, label %109

100:                                              ; preds = %.loopexit.split-lp
  %.0 = extractvalue { ptr, i32 } %.pn, 0
  %101 = call ptr @__cxa_begin_catch(ptr %.0) #7
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %101)
          to label %103 unwind label %107

103:                                              ; preds = %100
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %105 unwind label %107

105:                                              ; preds = %103
  call void @__cxa_end_catch() #7
  br label %106

106:                                              ; preds = %105, %97
  ret i32 0

107:                                              ; preds = %103, %100
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_end_catch() #7
  br label %109

109:                                              ; preds = %107, %.loopexit.split-lp
  %.merged = phi { ptr, i32 } [ %108, %107 ], [ %.pn, %.loopexit.split-lp ]
  resume { ptr, i32 } %.merged
}

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12DynamicDequeIcE10insertBackEc(ptr noundef nonnull align 8 dereferenceable(20), i8 noundef signext) 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 noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216), i32 noundef) local_unnamed_addr #3 align 2

; 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 @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #3 align 2

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

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12DynamicDequeIcE7getSizeEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i8 @_ZNK12DynamicDequeIcE8getFrontEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i8 @_ZNK12DynamicDequeIcE7getRearEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

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 = { "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 #6 = { nofree nosync nounwind memory(none) }
attributes #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}


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