; LLVM IR from kacperks/Fractal_Engine :: Engine/Thirdparty/cmake/Engine/Thirdparty/cmake/openal-soft/common/ringbuffer_d3b6b543 (ZN10RingBuffer6CreateEmmi)

; 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::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%struct.RingBuffer = type { %"struct.std::atomic", %"struct.std::atomic", i64, i64, i64, [8 x i8], %"struct.al::FlexArray" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i64 }
%"struct.al::FlexArray" = type { %"struct.al::FlexArrayStorage" }
%"struct.al::FlexArrayStorage" = type { i64, [8 x i8], %union.anon.2 }
%union.anon.2 = type { i8, [15 x i8] }

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@_ZTISt14overflow_error = external constant ptr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10RingBuffer6CreateEmmi(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr") align 8 %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i1, align 1
  store ptr %0, ptr %5, align 8
  store i64 %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !5
  %14 = load i64, ptr %6, align 8, !tbaa !5
  %15 = icmp ugt i64 %14, 0
  br i1 %15, label %16, label %42

16:                                               ; preds = %4
  %17 = load i64, ptr %6, align 8, !tbaa !5
  store i64 %17, ptr %9, align 8, !tbaa !5
  %18 = load i64, ptr %9, align 8, !tbaa !5
  %19 = lshr i64 %18, 1
  %20 = load i64, ptr %9, align 8, !tbaa !5
  %21 = or i64 %20, %19
  store i64 %21, ptr %9, align 8, !tbaa !5
  %22 = load i64, ptr %9, align 8, !tbaa !5
  %23 = lshr i64 %22, 2
  %24 = load i64, ptr %9, align 8, !tbaa !5
  %25 = or i64 %24, %23
  store i64 %25, ptr %9, align 8, !tbaa !5
  %26 = load i64, ptr %9, align 8, !tbaa !5
  %27 = lshr i64 %26, 4
  %28 = load i64, ptr %9, align 8, !tbaa !5
  %29 = or i64 %28, %27
  store i64 %29, ptr %9, align 8, !tbaa !5
  %30 = load i64, ptr %9, align 8, !tbaa !5
  %31 = lshr i64 %30, 8
  %32 = load i64, ptr %9, align 8, !tbaa !5
  %33 = or i64 %32, %31
  store i64 %33, ptr %9, align 8, !tbaa !5
  %34 = load i64, ptr %9, align 8, !tbaa !5
  %35 = lshr i64 %34, 16
  %36 = load i64, ptr %9, align 8, !tbaa !5
  %37 = or i64 %36, %35
  store i64 %37, ptr %9, align 8, !tbaa !5
  %38 = load i64, ptr %9, align 8, !tbaa !5
  %39 = lshr i64 %38, 32
  %40 = load i64, ptr %9, align 8, !tbaa !5
  %41 = or i64 %40, %39
  store i64 %41, ptr %9, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %16, %4
  %43 = load i64, ptr %9, align 8, !tbaa !5
  %44 = add i64 %43, 1
  store i64 %44, ptr %9, align 8, !tbaa !5
  %45 = load i64, ptr %9, align 8, !tbaa !5
  %46 = load i64, ptr %6, align 8, !tbaa !5
  %47 = icmp ule i64 %45, %46
  br i1 %47, label %54, label %48

48:                                               ; preds = %42
  %49 = load i64, ptr %9, align 8, !tbaa !5
  %50 = call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #5
  %51 = load i64, ptr %7, align 8, !tbaa !5
  %52 = udiv i64 %50, %51
  %53 = icmp ugt i64 %49, %52
  br i1 %53, label %54, label %61

54:                                               ; preds = %48, %42
  %55 = call ptr @__cxa_allocate_exception(i64 16) #5
  invoke void @_ZNSt14overflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef @.str)
          to label %56 unwind label %57

56:                                               ; preds = %54
  call void @__cxa_throw(ptr %55, ptr @_ZTISt14overflow_error, ptr @_ZNSt14overflow_errorD1Ev) #6
  unreachable

57:                                               ; preds = %54
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %10, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %11, align 4
  call void @__cxa_free_exception(ptr %55) #5
  br label %94

61:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %62 = load i64, ptr %9, align 8, !tbaa !5
  %63 = load i64, ptr %7, align 8, !tbaa !5
  %64 = mul i64 %62, %63
  store i64 %64, ptr %12, align 8, !tbaa !5
  store i1 false, ptr %13, align 1
  %65 = load i64, ptr %12, align 8, !tbaa !5
  %66 = call noundef ptr @_ZN10RingBuffernwEm8FamCount(i64 noundef 80, i64 noundef %65)
  %67 = load i64, ptr %12, align 8, !tbaa !5
  invoke void @_ZN10RingBufferC2Em(ptr noundef nonnull align 16 dereferenceable(80) %66, i64 noundef %67)
          to label %68 unwind label %88

68:                                               ; preds = %61
  call void @_ZNSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %66) #5
  %69 = load i32, ptr %8, align 4, !tbaa !9
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %73

71:                                               ; preds = %68
  %72 = load i64, ptr %6, align 8, !tbaa !5
  br label %76

73:                                               ; preds = %68
  %74 = load i64, ptr %9, align 8, !tbaa !5
  %75 = sub i64 %74, 1
  br label %76

76:                                               ; preds = %73, %71
  %77 = phi i64 [ %72, %71 ], [ %75, %73 ]
  %78 = call noundef ptr @_ZNKSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  %79 = getelementptr inbounds %struct.RingBuffer, ptr %78, i32 0, i32 2
  store i64 %77, ptr %79, align 16, !tbaa !11
  %80 = load i64, ptr %9, align 8, !tbaa !5
  %81 = sub i64 %80, 1
  %82 = call noundef ptr @_ZNKSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  %83 = getelementptr inbounds %struct.RingBuffer, ptr %82, i32 0, i32 3
  store i64 %81, ptr %83, align 8, !tbaa !17
  %84 = load i64, ptr %7, align 8, !tbaa !5
  %85 = call noundef ptr @_ZNKSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  %86 = getelementptr inbounds %struct.RingBuffer, ptr %85, i32 0, i32 4
  store i64 %84, ptr %86, align 16, !tbaa !18
  store i1 true, ptr %13, align 1
  %87 = load i1, ptr %13, align 1
  br i1 %87, label %93, label %92

88:                                               ; preds = %61
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %10, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %11, align 4
  call void @_ZN10RingBufferdlEPv8FamCount(ptr noundef %66, i64 noundef %65) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %94

92:                                               ; preds = %76
  call void @_ZNSt10unique_ptrI10RingBufferSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  br label %93

93:                                               ; preds = %92, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void

94:                                               ; preds = %88, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %95

95:                                               ; preds = %94
  %96 = load ptr, ptr %10, align 8
  %97 = load i32, ptr %11, align 4
  %98 = insertvalue { ptr, i32 } poison, ptr %96, 0
  %99 = insertvalue { ptr, i32 } %98, i32 %97, 1
  resume { ptr, i32 } %99
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #2 align 2

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt14overflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt14overflow_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN10RingBuffernwEm8FamCount(i64 noundef, i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10RingBufferC2Em(ptr noundef nonnull align 16 dereferenceable(80), i64 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10RingBufferdlEPv8FamCount(ptr noundef, i64 noundef) #2 align 2

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

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

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

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

attributes #0 = { 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 #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 = { "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 "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 }
attributes #6 = { noreturn }

!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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTS10RingBuffer", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !15, i64 48}
!13 = !{!"_ZTSSt6atomicImE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseImE", !6, i64 0}
!15 = !{!"_ZTSN2al9FlexArrayINS_4byteELm16EEE", !16, i64 0}
!16 = !{!"_ZTSN2al16FlexArrayStorageINS_4byteELm16ELb1EEE", !6, i64 0, !7, i64 16}
!17 = !{!12, !6, i64 24}
!18 = !{!12, !6, i64 32}


; 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::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@_ZTISt14overflow_error = external constant ptr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10RingBuffer6CreateEmmi(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr") align 8 %0, i64 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %.not = icmp eq i64 %1, 0
  br i1 %.not, label %18, label %5

5:                                                ; preds = %4
  %6 = lshr i64 %1, 1
  %7 = or i64 %6, %1
  %8 = lshr i64 %7, 2
  %9 = or i64 %8, %7
  %10 = lshr i64 %9, 4
  %11 = or i64 %10, %9
  %12 = lshr i64 %11, 8
  %13 = or i64 %12, %11
  %14 = lshr i64 %13, 16
  %15 = or i64 %14, %13
  %16 = lshr i64 %15, 32
  %17 = or i64 %16, %15
  br label %18

18:                                               ; preds = %5, %4
  %.0 = phi i64 [ %17, %5 ], [ 0, %4 ]
  %19 = add i64 %.0, 1
  %.not34 = icmp ugt i64 %19, %1
  br i1 %.not34, label %20, label %24

20:                                               ; preds = %18
  %21 = tail call noundef i64 @_ZNSt14numeric_limitsImE3maxEv() #4
  %22 = udiv i64 %21, %2
  %23 = icmp ugt i64 %19, %22
  br i1 %23, label %24, label %29

24:                                               ; preds = %20, %18
  %25 = tail call ptr @__cxa_allocate_exception(i64 16) #4
  invoke void @_ZNSt14overflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull @.str)
          to label %26 unwind label %27

26:                                               ; preds = %24
  tail call void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTISt14overflow_error, ptr nonnull @_ZNSt14overflow_errorD1Ev) #5
  unreachable

27:                                               ; preds = %24
  %28 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %25) #4
  br label %42

29:                                               ; preds = %20
  %30 = mul i64 %19, %2
  %31 = tail call noundef ptr @_ZN10RingBuffernwEm8FamCount(i64 noundef 80, i64 noundef %30)
  invoke void @_ZN10RingBufferC2Em(ptr noundef nonnull align 16 dereferenceable(80) %31, i64 noundef %30)
          to label %32 unwind label %40

32:                                               ; preds = %29
  tail call void @_ZNSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %31) #4
  %.not35 = icmp eq i32 %3, 0
  %33 = select i1 %.not35, i64 %.0, i64 %1
  %34 = tail call noundef ptr @_ZNKSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  %35 = getelementptr inbounds i8, ptr %34, i64 16
  store i64 %33, ptr %35, align 16, !tbaa !5
  %36 = tail call noundef ptr @_ZNKSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  %37 = getelementptr inbounds i8, ptr %36, i64 24
  store i64 %.0, ptr %37, align 8, !tbaa !14
  %38 = tail call noundef ptr @_ZNKSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  %39 = getelementptr inbounds i8, ptr %38, i64 32
  store i64 %2, ptr %39, align 16, !tbaa !15
  ret void

40:                                               ; preds = %29
  %41 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN10RingBufferdlEPv8FamCount(ptr noundef %31, i64 noundef %30) #4
  br label %42

42:                                               ; preds = %40, %27
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %41, %40 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE3maxEv() local_unnamed_addr #1 align 2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt14overflow_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt14overflow_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN10RingBuffernwEm8FamCount(i64 noundef, i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10RingBufferC2Em(ptr noundef nonnull align 16 dereferenceable(80), i64 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10RingBufferdlEPv8FamCount(ptr noundef, i64 noundef) local_unnamed_addr #1 align 2

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

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

attributes #0 = { 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 #1 = { 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 #2 = { "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 = { nounwind "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 }
attributes #5 = { noreturn }

!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, !9, i64 16}
!6 = !{!"_ZTS10RingBuffer", !7, i64 0, !7, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !12, i64 48}
!7 = !{!"_ZTSSt6atomicImE", !8, i64 0}
!8 = !{!"_ZTSSt13__atomic_baseImE", !9, i64 0}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN2al9FlexArrayINS_4byteELm16EEE", !13, i64 0}
!13 = !{!"_ZTSN2al16FlexArrayStorageINS_4byteELm16ELb1EEE", !9, i64 0, !10, i64 16}
!14 = !{!6, !9, i64 24}
!15 = !{!6, !9, i64 32}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass