; LLVM IR from kazunetakahashi/atcoder :: 2019/0714_AGC035/E.ll (Z9solve_oddxx)

; 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.Mint = type { i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl" }
%"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl" = type { %"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #0 align 2

; 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 @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local i64 @_Z9solve_oddxx(i64 noundef %0, i64 noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.Mint, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca %"class.std::vector.5", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::allocator.7", align 1
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = alloca %"class.std::vector.0", align 8
  %15 = alloca %"class.std::vector.5", align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::allocator.7", align 1
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca %class.Mint, align 8
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::vector.0", align 8
  %24 = alloca %"class.std::vector.5", align 8
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca %"class.std::allocator.7", align 1
  %28 = alloca %"class.std::allocator.2", align 1
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca %class.Mint, align 8
  %35 = alloca i64, align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  store i64 %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  %39 = load i64, ptr %4, align 8, !tbaa !5
  %40 = add nsw i64 %39, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %41 = load i64, ptr %4, align 8, !tbaa !5
  %42 = add nsw i64 %41, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  %43 = load i64, ptr %4, align 8, !tbaa !5
  %44 = add nsw i64 %43, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  call void @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %44, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %45 unwind label %67

45:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %42, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %46 unwind label %71

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  call void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  invoke void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %40, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %47 unwind label %75

47:                                               ; preds = %46
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  %48 = load i64, ptr %4, align 8, !tbaa !5
  %49 = add nsw i64 %48, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  %50 = load i64, ptr %4, align 8, !tbaa !5
  %51 = add nsw i64 %50, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %52 = load i64, ptr %4, align 8, !tbaa !5
  %53 = add nsw i64 %52, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  invoke void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %53, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %54 unwind label %81

54:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #5
  call void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %51, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %55 unwind label %85

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %49, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %56 unwind label %89

56:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  invoke void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef 1)
          to label %57 unwind label %95

57:                                               ; preds = %56
  %58 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0) #5
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef 0) #5
  %60 = load i64, ptr %4, align 8, !tbaa !5
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %60) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %61, ptr align 8 %20, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  store i64 0, ptr %21, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %249, %57
  %63 = load i64, ptr %21, align 8, !tbaa !5
  %64 = load i64, ptr %4, align 8, !tbaa !5
  %65 = icmp slt i64 %63, %64
  br i1 %65, label %99, label %66

66:                                               ; preds = %62
  store i32 2, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %253

67:                                               ; preds = %2
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  br label %80

71:                                               ; preds = %45
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %10, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %11, align 4
  br label %79

75:                                               ; preds = %46
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %10, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %11, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %79

79:                                               ; preds = %75, %71
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %80

80:                                               ; preds = %79, %67
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  br label %295

81:                                               ; preds = %47
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %10, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %11, align 4
  br label %94

85:                                               ; preds = %54
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %10, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %11, align 4
  br label %93

89:                                               ; preds = %55
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %10, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %11, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %93

93:                                               ; preds = %89, %85
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #5
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  br label %94

94:                                               ; preds = %93, %81
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %294

95:                                               ; preds = %56
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %10, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %293

99:                                               ; preds = %62
  call void @_ZSt4swapISt6vectorIS0_I4MintSaIS1_EESaIS3_EESaIS5_EEvRS0_IT_T0_ESA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #5
  %100 = load i64, ptr %4, align 8, !tbaa !5
  %101 = add nsw i64 %100, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #5
  %102 = load i64, ptr %4, align 8, !tbaa !5
  %103 = add nsw i64 %102, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #5
  %104 = load i64, ptr %4, align 8, !tbaa !5
  %105 = add nsw i64 %104, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #5
  call void @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  invoke void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %105, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %106 unwind label %121

106:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  call void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  invoke void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %103, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %107 unwind label %125

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #5
  call void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  invoke void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %101, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %108 unwind label %129

108:                                              ; preds = %107
  %109 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %110 = load i64, ptr %21, align 8, !tbaa !5
  %111 = sdiv i64 %110, 2
  %112 = add nsw i64 %111, 1
  store i64 %112, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %113 = load i64, ptr %21, align 8, !tbaa !5
  %114 = add nsw i64 %113, 1
  %115 = sdiv i64 %114, 2
  store i64 %115, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  store i64 0, ptr %31, align 8, !tbaa !5
  br label %116

116:                                              ; preds = %245, %108
  %117 = load i64, ptr %31, align 8, !tbaa !5
  %118 = load i64, ptr %29, align 8, !tbaa !5
  %119 = icmp sle i64 %117, %118
  br i1 %119, label %135, label %120

120:                                              ; preds = %116
  store i32 5, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %248

121:                                              ; preds = %99
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %10, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %11, align 4
  br label %134

125:                                              ; preds = %106
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %10, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %11, align 4
  br label %133

129:                                              ; preds = %107
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %10, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %11, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  br label %134

134:                                              ; preds = %133, %121
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #5
  br label %252

135:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  store i64 0, ptr %32, align 8, !tbaa !5
  br label %136

136:                                              ; preds = %241, %135
  %137 = load i64, ptr %32, align 8, !tbaa !5
  %138 = load i64, ptr %30, align 8, !tbaa !5
  %139 = icmp sle i64 %137, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 8, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %244

141:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %142 = load i64, ptr %21, align 8, !tbaa !5
  store i64 %142, ptr %33, align 8, !tbaa !5
  br label %143

143:                                              ; preds = %235, %141
  %144 = load i64, ptr %33, align 8, !tbaa !5
  %145 = load i64, ptr %4, align 8, !tbaa !5
  %146 = icmp sle i64 %144, %145
  br i1 %146, label %148, label %147

147:                                              ; preds = %143
  store i32 11, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %240

148:                                              ; preds = %143
  %149 = load i64, ptr %31, align 8, !tbaa !5
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %149) #5
  %151 = load i64, ptr %32, align 8, !tbaa !5
  %152 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %151) #5
  %153 = load i64, ptr %33, align 8, !tbaa !5
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %153) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  invoke void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %34, i64 noundef 0)
          to label %155 unwind label %159

155:                                              ; preds = %148
  %156 = invoke noundef zeroext i1 @_ZNK4MinteqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %157 unwind label %159

157:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br i1 %156, label %158, label %163

158:                                              ; preds = %157
  br label %235

159:                                              ; preds = %155, %148
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %10, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %239

163:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %164 = load i64, ptr %33, align 8, !tbaa !5
  %165 = srem i64 %164, 2
  %166 = load i64, ptr %21, align 8, !tbaa !5
  %167 = srem i64 %166, 2
  %168 = icmp eq i64 %165, %167
  br i1 %168, label %169, label %171

169:                                              ; preds = %163
  %170 = load i64, ptr %4, align 8, !tbaa !5
  br label %173

171:                                              ; preds = %163
  %172 = load i64, ptr %33, align 8, !tbaa !5
  br label %173

173:                                              ; preds = %171, %169
  %174 = phi i64 [ %170, %169 ], [ %172, %171 ]
  store i64 %174, ptr %35, align 8, !tbaa !5
  %175 = load i64, ptr %31, align 8, !tbaa !5
  %176 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %175) #5
  %177 = load i64, ptr %32, align 8, !tbaa !5
  %178 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %176, i64 noundef %177) #5
  %179 = load i64, ptr %33, align 8, !tbaa !5
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %179) #5
  %181 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0) #5
  %182 = load i64, ptr %31, align 8, !tbaa !5
  %183 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef %182) #5
  %184 = load i64, ptr %35, align 8, !tbaa !5
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %183, i64 noundef %184) #5
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull align 8 dereferenceable(8) %180)
          to label %187 unwind label %226

187:                                              ; preds = %173
  %188 = load i64, ptr %33, align 8, !tbaa !5
  %189 = load i64, ptr %21, align 8, !tbaa !5
  %190 = icmp ne i64 %188, %189
  br i1 %190, label %191, label %234

191:                                              ; preds = %187
  %192 = load i64, ptr %31, align 8, !tbaa !5
  %193 = load i64, ptr %5, align 8, !tbaa !5
  %194 = sdiv i64 %193, 2
  %195 = add nsw i64 %194, 1
  %196 = icmp sge i64 %192, %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  br i1 %196, label %197, label %207

197:                                              ; preds = %191
  %198 = load i64, ptr %21, align 8, !tbaa !5
  %199 = load i64, ptr %32, align 8, !tbaa !5
  %200 = mul nsw i64 2, %199
  %201 = sub nsw i64 %198, %200
  %202 = load i64, ptr %5, align 8, !tbaa !5
  %203 = add nsw i64 %201, %202
  store i64 %203, ptr %36, align 8, !tbaa !5
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %205 unwind label %230

205:                                              ; preds = %197
  %206 = load i64, ptr %204, align 8, !tbaa !5
  br label %209

207:                                              ; preds = %191
  %208 = load i64, ptr %33, align 8, !tbaa !5
  br label %209

209:                                              ; preds = %207, %205
  %210 = phi i64 [ %206, %205 ], [ %208, %207 ]
  store i64 %210, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  %211 = load i64, ptr %31, align 8, !tbaa !5
  %212 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %211) #5
  %213 = load i64, ptr %32, align 8, !tbaa !5
  %214 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %212, i64 noundef %213) #5
  %215 = load i64, ptr %33, align 8, !tbaa !5
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %214, i64 noundef %215) #5
  %217 = load i64, ptr %32, align 8, !tbaa !5
  %218 = add nsw i64 %217, 1
  %219 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %218) #5
  %220 = load i64, ptr %31, align 8, !tbaa !5
  %221 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %219, i64 noundef %220) #5
  %222 = load i64, ptr %35, align 8, !tbaa !5
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %221, i64 noundef %222) #5
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull align 8 dereferenceable(8) %216)
          to label %225 unwind label %226

225:                                              ; preds = %209
  br label %234

226:                                              ; preds = %209, %173
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %10, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %11, align 4
  br label %238

230:                                              ; preds = %197
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %10, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br label %238

234:                                              ; preds = %225, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %235

235:                                              ; preds = %234, %158
  %236 = load i64, ptr %33, align 8, !tbaa !5
  %237 = add nsw i64 %236, 1
  store i64 %237, ptr %33, align 8, !tbaa !5
  br label %143, !llvm.loop !10

238:                                              ; preds = %230, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %239

239:                                              ; preds = %238, %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %252

240:                                              ; preds = %147
  br label %241

241:                                              ; preds = %240
  %242 = load i64, ptr %32, align 8, !tbaa !5
  %243 = add nsw i64 %242, 1
  store i64 %243, ptr %32, align 8, !tbaa !5
  br label %136, !llvm.loop !12

244:                                              ; preds = %140
  br label %245

245:                                              ; preds = %244
  %246 = load i64, ptr %31, align 8, !tbaa !5
  %247 = add nsw i64 %246, 1
  store i64 %247, ptr %31, align 8, !tbaa !5
  br label %116, !llvm.loop !13

248:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %249

249:                                              ; preds = %248
  %250 = load i64, ptr %21, align 8, !tbaa !5
  %251 = add nsw i64 %250, 1
  store i64 %251, ptr %21, align 8, !tbaa !5
  br label %62, !llvm.loop !14

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

253:                                              ; preds = %66
  invoke void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %254 unwind label %260

254:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  store i64 0, ptr %37, align 8, !tbaa !5
  br label %255

255:                                              ; preds = %287, %254
  %256 = load i64, ptr %37, align 8, !tbaa !5
  %257 = load i64, ptr %4, align 8, !tbaa !5
  %258 = icmp sle i64 %256, %257
  br i1 %258, label %264, label %259

259:                                              ; preds = %255
  store i32 14, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br label %290

260:                                              ; preds = %253
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %10, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %11, align 4
  br label %293

264:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  store i64 0, ptr %38, align 8, !tbaa !5
  br label %265

265:                                              ; preds = %279, %264
  %266 = load i64, ptr %38, align 8, !tbaa !5
  %267 = load i64, ptr %4, align 8, !tbaa !5
  %268 = icmp sle i64 %266, %267
  br i1 %268, label %270, label %269

269:                                              ; preds = %265
  store i32 17, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %286

270:                                              ; preds = %265
  %271 = load i64, ptr %37, align 8, !tbaa !5
  %272 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %271) #5
  %273 = load i64, ptr %38, align 8, !tbaa !5
  %274 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef %273) #5
  %275 = load i64, ptr %4, align 8, !tbaa !5
  %276 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %274, i64 noundef %275) #5
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %276)
          to label %278 unwind label %282

278:                                              ; preds = %270
  br label %279

279:                                              ; preds = %278
  %280 = load i64, ptr %38, align 8, !tbaa !5
  %281 = add nsw i64 %280, 1
  store i64 %281, ptr %38, align 8, !tbaa !5
  br label %265, !llvm.loop !15

282:                                              ; preds = %270
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %10, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br label %293

286:                                              ; preds = %269
  br label %287

287:                                              ; preds = %286
  %288 = load i64, ptr %37, align 8, !tbaa !5
  %289 = add nsw i64 %288, 1
  store i64 %289, ptr %37, align 8, !tbaa !5
  br label %255, !llvm.loop !16

290:                                              ; preds = %259
  store i32 1, ptr %22, align 4
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  %291 = getelementptr inbounds %class.Mint, ptr %3, i32 0, i32 0
  %292 = load i64, ptr %291, align 8
  ret i64 %292

293:                                              ; preds = %282, %260, %252, %95
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  br label %294

294:                                              ; preds = %293, %94
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %295

295:                                              ; preds = %294, %80
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  br label %296

296:                                              ; preds = %295
  %297 = load ptr, ptr %10, align 8
  %298 = load i32, ptr %11, align 4
  %299 = insertvalue { ptr, i32 } poison, ptr %297, 0
  %300 = insertvalue { ptr, i32 } %299, i32 %298, 1
  resume { ptr, i32 } %300
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapISt6vectorIS0_I4MintSaIS1_EESaIS3_EESaIS5_EEvRS0_IT_T0_ESA_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; 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.Mint = type { i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint>>, std::allocator<std::vector<std::vector<Mint>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<Mint>, std::allocator<std::vector<Mint>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl" }
%"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl" = type { %"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Mint, std::allocator<Mint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #0 align 2

; 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 @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local i64 @_Z9solve_oddxx(i64 noundef %0, i64 noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.Mint, align 8
  %4 = alloca %"class.std::vector.0", align 8
  %5 = alloca %"class.std::vector.5", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::allocator.7", align 1
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca %"class.std::vector.5", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::allocator.7", align 1
  %15 = alloca %"class.std::allocator.2", align 1
  %16 = alloca %class.Mint, align 8
  %17 = alloca %"class.std::vector.0", align 8
  %18 = alloca %"class.std::vector.5", align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::allocator.7", align 1
  %22 = alloca %"class.std::allocator.2", align 1
  %23 = alloca i64, align 8
  %24 = alloca %class.Mint, align 8
  %25 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  %26 = add i64 %0, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  call void @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  invoke void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %26, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %27 unwind label %39

27:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  invoke void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %28 unwind label %41

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #4
  call void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  invoke void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %29 unwind label %43

29:                                               ; preds = %28
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #4
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #4
  call void @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  invoke void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %26, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %30 unwind label %47

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #4
  call void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  invoke void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %31 unwind label %49

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #4
  call void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  invoke void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %32 unwind label %51

32:                                               ; preds = %31
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  call void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %16, i64 noundef 1)
  %33 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #4
  %34 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef 0) #4
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %0) #4
  %36 = load i64, ptr %16, align 8, !tbaa !5
  store i64 %36, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  %37 = icmp sgt i64 %0, 0
  br i1 %37, label %.lr.ph90, label %._crit_edge91

.lr.ph90:                                         ; preds = %32
  %38 = sdiv i64 %1, 2
  br label %55

.loopexit:                                        ; preds = %.split
  %indvars.iv.next = add nuw i64 %indvars.iv, 1
  %exitcond104.not = icmp eq i64 %61, %0
  br i1 %exitcond104.not, label %._crit_edge91, label %55, !llvm.loop !9

._crit_edge91:                                    ; preds = %.loopexit, %32
  call void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
  %.not96 = icmp slt i64 %0, 0
  br i1 %.not96, label %._crit_edge98, label %.preheader

39:                                               ; preds = %2
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %46

41:                                               ; preds = %27
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %45

43:                                               ; preds = %28
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #4
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %45

45:                                               ; preds = %43, %41
  %.pn = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br label %46

46:                                               ; preds = %45, %39
  %.pn.pn = phi { ptr, i32 } [ %.pn, %45 ], [ %40, %39 ]
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  br label %121

47:                                               ; preds = %29
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %54

49:                                               ; preds = %30
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %53

51:                                               ; preds = %31
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br label %53

53:                                               ; preds = %51, %49
  %.pn69 = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ]
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %54

54:                                               ; preds = %53, %47
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %53 ], [ %48, %47 ]
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  br label %120

55:                                               ; preds = %.lr.ph90, %.loopexit
  %indvars.iv = phi i64 [ 1, %.lr.ph90 ], [ %indvars.iv.next, %.loopexit ]
  %.06488 = phi i64 [ 0, %.lr.ph90 ], [ %61, %.loopexit ]
  %56 = lshr i64 %.06488, 1
  %57 = lshr i64 %indvars.iv, 1
  call void @_ZSt4swapISt6vectorIS0_I4MintSaIS1_EESaIS3_EESaIS5_EEvRS0_IT_T0_ESA_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #4
  call void @_ZNSaI4MintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  invoke void @_ZNSt6vectorI4MintSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %26, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %58 unwind label %65

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #4
  call void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #4
  invoke void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %59 unwind label %67

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #4
  call void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #4
  invoke void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %26, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %.preheader83.preheader unwind label %69

.preheader83.preheader:                           ; preds = %59
  %60 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEaSEOS6_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #4
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #4
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #4
  %61 = add nuw nsw i64 %.06488, 1
  %62 = and i64 %.06488, 1
  %63 = add i64 %.06488, %1
  %64 = add nuw nsw i64 %56, 1
  br label %.preheader83

.preheader83:                                     ; preds = %.preheader83.preheader, %.split
  %.05486 = phi i64 [ %73, %.split ], [ 0, %.preheader83.preheader ]
  %.not82.not = icmp sgt i64 %.05486, %38
  br label %.lr.ph

65:                                               ; preds = %55
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %72

67:                                               ; preds = %58
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %59
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #4
  call void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  br label %71

71:                                               ; preds = %69, %67
  %.pn73 = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #4
  call void @_ZNSt6vectorI4MintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  br label %72

72:                                               ; preds = %71, %65
  %.pn73.pn = phi { ptr, i32 } [ %.pn73, %71 ], [ %66, %65 ]
  call void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #4
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %120

.split:                                           ; preds = %._crit_edge
  %73 = add nuw nsw i64 %.05486, 1
  %exitcond101 = icmp eq i64 %.05486, %64
  br i1 %exitcond101, label %.loopexit, label %.preheader83, !llvm.loop !11

.lr.ph:                                           ; preds = %.preheader83, %._crit_edge
  %.05385 = phi i64 [ 0, %.preheader83 ], [ %76, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  store i64 %.06488, ptr %23, align 8, !tbaa !5
  %74 = shl nuw i64 %.05385, 1
  %75 = sub i64 %63, %74
  %76 = add nuw nsw i64 %.05385, 1
  br label %77

._crit_edge:                                      ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  %exitcond.not = icmp eq i64 %.05385, %57
  br i1 %exitcond.not, label %.split, label %.lr.ph, !llvm.loop !12

77:                                               ; preds = %.lr.ph, %109
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.05486) #4
  %79 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %.05385) #4
  %80 = load i64, ptr %23, align 8, !tbaa !5
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %80) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  call void @_ZN4MintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %24, i64 noundef 0)
  %82 = call noundef zeroext i1 @_ZNK4MinteqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  %.pre108 = load i64, ptr %23, align 8
  br i1 %82, label %109, label %83

83:                                               ; preds = %77
  %84 = srem i64 %.pre108, 2
  %85 = icmp eq i64 %84, %62
  %86 = select i1 %85, i64 %0, i64 %.pre108
  %87 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.05486) #4
  %88 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %.05385) #4
  %89 = load i64, ptr %23, align 8, !tbaa !5
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %89) #4
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0) #4
  %92 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %.05486) #4
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %86) #4
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 8 dereferenceable(8) %90)
  %95 = load i64, ptr %23, align 8, !tbaa !5
  %.not81 = icmp eq i64 %95, %.06488
  br i1 %.not81, label %109, label %96

96:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  br i1 %.not82.not, label %97, label %99

97:                                               ; preds = %96
  store i64 %75, ptr %25, align 8, !tbaa !5
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %25)
  %.pre = load i64, ptr %98, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %96, %97
  %100 = phi i64 [ %.pre, %97 ], [ %95, %96 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  %101 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.05486) #4
  %102 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %.05385) #4
  %103 = load i64, ptr %23, align 8, !tbaa !5
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %103) #4
  %105 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %76) #4
  %106 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %.05486) #4
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %100) #4
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull align 8 dereferenceable(8) %104)
  %.pre107 = load i64, ptr %23, align 8, !tbaa !5
  br label %109

109:                                              ; preds = %83, %99, %77
  %110 = phi i64 [ %.06488, %83 ], [ %.pre107, %99 ], [ %.pre108, %77 ]
  %111 = add nsw i64 %110, 1
  store i64 %111, ptr %23, align 8, !tbaa !5
  %.not80.not = icmp slt i64 %110, %0
  br i1 %.not80.not, label %77, label %._crit_edge, !llvm.loop !13

.preheader:                                       ; preds = %._crit_edge91, %._crit_edge95
  %.05297 = phi i64 [ %113, %._crit_edge95 ], [ 0, %._crit_edge91 ]
  br label %114

._crit_edge98:                                    ; preds = %._crit_edge95, %._crit_edge91
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  %112 = load i64, ptr %3, align 8
  ret i64 %112

._crit_edge95:                                    ; preds = %114
  %113 = add nuw i64 %.05297, 1
  %exitcond106.not = icmp eq i64 %.05297, %0
  br i1 %exitcond106.not, label %._crit_edge98, label %.preheader, !llvm.loop !14

114:                                              ; preds = %.preheader, %114
  %.093 = phi i64 [ 0, %.preheader ], [ %119, %114 ]
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.05297) #4
  %116 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef %.093) #4
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %0) #4
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %117)
  %119 = add nuw i64 %.093, 1
  %exitcond105.not = icmp eq i64 %.093, %0
  br i1 %exitcond105.not, label %._crit_edge95, label %114, !llvm.loop !15

120:                                              ; preds = %72, %54
  %.pn73.pn.pn = phi { ptr, i32 } [ %.pn73.pn, %72 ], [ %.pn69.pn, %54 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  call void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  br label %121

121:                                              ; preds = %120, %46
  %.pn73.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn, %120 ], [ %.pn.pn, %46 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn73.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorI4MintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_I4MintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorIS_I4MintSaIS0_EESaIS2_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IS_I4MintSaIS0_EESaIS2_EESaIS4_EEC2EmRKS4_RKS5_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapISt6vectorIS0_I4MintSaIS1_EESaIS3_EESaIS5_EEvRS0_IT_T0_ESA_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorI4MintED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorI4MintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIS0_I4MintSaIS1_EESaIS3_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !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}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass