; LLVM IR from libxsmm/libxsmm :: src (libxsmm_malloc)

; 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"

%union.libxsmm_malloc_function = type { ptr }
%union.libxsmm_free_function = type { ptr }

@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@libxsmm_verbosity = external global i32, align 4
@stderr = external global ptr, align 8
@libxsmm_ninit = external global i32, align 4
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@libxsmm_default_allocator_context = external global ptr, align 8
@libxsmm_default_malloc_fn = external global %union.libxsmm_malloc_function, align 8
@libxsmm_default_free_fn = external global %union.libxsmm_free_function, align 8
@.str.25 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_xget_default_allocator = external hidden unnamed_addr constant [118 x i8], align 1
@libxsmm_xget_default_allocator.error_once = external hidden global i32, align 4
@.str.27 = external hidden unnamed_addr constant [76 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #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

declare void @libxsmm_init() #4

; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #5

; Function Attrs: nounwind
declare i32 @sched_yield() #2

; Function Attrs: nounwind uwtable
define dso_local i32 @libxsmm_xget_default_allocator(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #6 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = icmp ne ptr null, %12
  br i1 %13, label %20, label %14

14:                                               ; preds = %4
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = icmp ne ptr null, %15
  br i1 %16, label %20, label %17

17:                                               ; preds = %14
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = icmp ne ptr null, %18
  br i1 %19, label %20, label %103

20:                                               ; preds = %17, %14, %4
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = icmp ne ptr null, %21
  br i1 %22, label %23, label %75

23:                                               ; preds = %20
  %24 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %25 = icmp ugt i32 2, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %23
  call void @libxsmm_init()
  br label %27

27:                                               ; preds = %26, %23
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = ptrtoint ptr %28 to i64
  %30 = and i64 %29, 3
  %31 = icmp eq i64 0, %30
  br i1 %31, label %32, label %33

32:                                               ; preds = %27
  br label %34

33:                                               ; preds = %27
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.1, i32 noundef 1432, ptr noundef @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #7
  unreachable

34:                                               ; preds = %32
  br label %35

35:                                               ; preds = %67, %34
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = atomicrmw or ptr %36, i32 1 seq_cst, align 4
  %38 = icmp eq i32 0, %37
  %39 = xor i1 %38, true
  br i1 %39, label %40, label %68

40:                                               ; preds = %35
  br label %41

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %60, %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %43

43:                                               ; preds = %48, %42
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %47, label %51

47:                                               ; preds = %43
  call void @llvm.x86.sse2.pause()
  br label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %11, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %11, align 4, !tbaa !9
  br label %43, !llvm.loop !11

51:                                               ; preds = %43
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = icmp slt i32 %52, 4096
  br i1 %53, label %54, label %57

54:                                               ; preds = %51
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = mul nsw i32 %55, 2
  store i32 %56, ptr %10, align 4, !tbaa !9
  br label %59

57:                                               ; preds = %51
  store i32 4096, ptr %10, align 4, !tbaa !9
  %58 = call i32 @sched_yield() #5
  br label %59

59:                                               ; preds = %57, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %60

60:                                               ; preds = %59
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = load volatile i32, ptr %61, align 4, !tbaa !9
  %63 = and i32 %62, 1
  %64 = icmp ne i32 0, %63
  br i1 %64, label %42, label %65, !llvm.loop !13

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

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  br label %35, !llvm.loop !14

68:                                               ; preds = %35
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load volatile i32, ptr %69, align 4, !tbaa !9
  %71 = icmp ne i32 0, %70
  br i1 %71, label %72, label %73

72:                                               ; preds = %68
  br label %74

73:                                               ; preds = %68
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.1, i32 noundef 1432, ptr noundef @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #7
  unreachable

74:                                               ; preds = %72
  br label %75

75:                                               ; preds = %74, %20
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %81

78:                                               ; preds = %75
  %79 = load ptr, ptr @libxsmm_default_allocator_context, align 8, !tbaa !5
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %79, ptr %80, align 8, !tbaa !5
  br label %81

81:                                               ; preds = %78, %75
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = icmp ne ptr null, %82
  br i1 %83, label %84, label %86

84:                                               ; preds = %81
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %85, ptr align 8 @libxsmm_default_malloc_fn, i64 8, i1 false), !tbaa.struct !15
  br label %86

86:                                               ; preds = %84, %81
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = icmp ne ptr null, %87
  br i1 %88, label %89, label %91

89:                                               ; preds = %86
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 8 @libxsmm_default_free_fn, i64 8, i1 false), !tbaa.struct !15
  br label %91

91:                                               ; preds = %89, %86
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = icmp ne ptr null, %92
  br i1 %93, label %94, label %102

94:                                               ; preds = %91
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = load volatile i32, ptr %95, align 4, !tbaa !9
  %97 = icmp ne i32 0, %96
  br i1 %97, label %98, label %99

98:                                               ; preds = %94
  br label %100

99:                                               ; preds = %94
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.1, i32 noundef 1438, ptr noundef @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #7
  unreachable

100:                                              ; preds = %98
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  store atomic i32 0, ptr %101 release, align 4
  br label %102

102:                                              ; preds = %100, %91
  br label %115

103:                                              ; preds = %17
  %104 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %105 = icmp ne i32 0, %104
  br i1 %105, label %106, label %114

106:                                              ; preds = %103
  %107 = atomicrmw add ptr @libxsmm_xget_default_allocator.error_once, i32 1 seq_cst, align 4
  %108 = add i32 %107, 1
  %109 = icmp eq i32 1, %108
  br i1 %109, label %110, label %113

110:                                              ; preds = %106
  %111 = load ptr, ptr @stderr, align 8, !tbaa !5
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.27) #5
  br label %113

113:                                              ; preds = %110, %106
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %113, %103
  br label %115

115:                                              ; preds = %114, %102
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = icmp eq i32 0, %116
  br i1 %117, label %118, label %119

118:                                              ; preds = %115
  br label %120

119:                                              ; preds = %115
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.1, i32 noundef 1448, ptr noundef @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #7
  unreachable

120:                                              ; preds = %118
  %121 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i32 %121
}

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%union.libxsmm_malloc_function = type { ptr }
%union.libxsmm_free_function = type { ptr }

@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@libxsmm_default_allocator_context = external local_unnamed_addr global ptr, align 8
@libxsmm_default_malloc_fn = external local_unnamed_addr global %union.libxsmm_malloc_function, align 8
@libxsmm_default_free_fn = external local_unnamed_addr global %union.libxsmm_free_function, align 8
@.str.25 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_xget_default_allocator = external hidden unnamed_addr constant [118 x i8], align 1
@libxsmm_xget_default_allocator.error_once = external hidden global i32, align 4
@.str.27 = external hidden unnamed_addr constant [76 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

declare void @libxsmm_init() local_unnamed_addr #2

; Function Attrs: nounwind
declare void @llvm.x86.sse2.pause() #3

; Function Attrs: nounwind
declare i32 @sched_yield() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @libxsmm_xget_default_allocator(ptr noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2, ptr noundef writeonly %3) local_unnamed_addr #5 {
  %5 = icmp ne ptr %1, null
  %6 = icmp ne ptr %2, null
  %or.cond = or i1 %5, %6
  %7 = icmp ne ptr %3, null
  %or.cond3 = or i1 %or.cond, %7
  br i1 %or.cond3, label %8, label %46

8:                                                ; preds = %4
  %.not33 = icmp eq ptr %0, null
  br i1 %.not33, label %32, label %9

9:                                                ; preds = %8
  %10 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %11 = icmp ult i32 %10, 2
  br i1 %11, label %12, label %13

12:                                               ; preds = %9
  tail call void @libxsmm_init() #3
  br label %13

13:                                               ; preds = %12, %9
  %14 = ptrtoint ptr %0 to i64
  %15 = and i64 %14, 3
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %.preheader38, label %18

.preheader38:                                     ; preds = %13
  %17 = atomicrmw or ptr %0, i32 1 seq_cst, align 4
  %.not3440 = icmp eq i32 %17, 0
  br i1 %.not3440, label %._crit_edge41, label %.preheader

18:                                               ; preds = %13
  tail call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.1, i32 noundef 1432, ptr noundef nonnull @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #6
  unreachable

.preheader:                                       ; preds = %.preheader38, %.preheader.backedge
  %.026 = phi i32 [ %.026.be, %.preheader.backedge ], [ 1, %.preheader38 ]
  %19 = icmp sgt i32 %.026, 0
  br i1 %19, label %.lr.ph.preheader, label %._crit_edge.thread

.lr.ph.preheader:                                 ; preds = %.preheader
  %xtraiter = and i32 %.026, 7
  %20 = icmp ult i32 %.026, 8
  br i1 %20, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %.026, 2147483640
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  tail call void @llvm.x86.sse2.pause()
  tail call void @llvm.x86.sse2.pause()
  tail call void @llvm.x86.sse2.pause()
  tail call void @llvm.x86.sse2.pause()
  tail call void @llvm.x86.sse2.pause()
  tail call void @llvm.x86.sse2.pause()
  tail call void @llvm.x86.sse2.pause()
  tail call void @llvm.x86.sse2.pause()
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !9

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph, %.lr.ph.preheader
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa, %.lr.ph.epil
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.unr-lcssa ]
  tail call void @llvm.x86.sse2.pause()
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.unr-lcssa
  %21 = icmp slt i32 %.026, 4096
  br i1 %21, label %._crit_edge.thread, label %23

._crit_edge.thread:                               ; preds = %.preheader, %._crit_edge
  %22 = shl i32 %.026, 1
  br label %25

23:                                               ; preds = %._crit_edge
  %24 = tail call i32 @sched_yield() #3
  br label %25

25:                                               ; preds = %23, %._crit_edge.thread
  %.1 = phi i32 [ %22, %._crit_edge.thread ], [ 4096, %23 ]
  %26 = load volatile i32, ptr %0, align 4, !tbaa !5
  %27 = and i32 %26, 1
  %.not37 = icmp eq i32 %27, 0
  br i1 %.not37, label %28, label %.preheader.backedge

.preheader.backedge:                              ; preds = %25, %28
  %.026.be = phi i32 [ %.1, %25 ], [ 1, %28 ]
  br label %.preheader, !llvm.loop !13

28:                                               ; preds = %25
  %29 = atomicrmw or ptr %0, i32 1 seq_cst, align 4
  %.not34 = icmp eq i32 %29, 0
  br i1 %.not34, label %._crit_edge41, label %.preheader.backedge

._crit_edge41:                                    ; preds = %28, %.preheader38
  %30 = load volatile i32, ptr %0, align 4, !tbaa !5
  %.not35 = icmp eq i32 %30, 0
  br i1 %.not35, label %31, label %32

31:                                               ; preds = %._crit_edge41
  tail call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.1, i32 noundef 1432, ptr noundef nonnull @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #6
  unreachable

32:                                               ; preds = %._crit_edge41, %8
  br i1 %5, label %33, label %35

33:                                               ; preds = %32
  %34 = load ptr, ptr @libxsmm_default_allocator_context, align 8, !tbaa !14
  store ptr %34, ptr %1, align 8, !tbaa !14
  br label %35

35:                                               ; preds = %33, %32
  br i1 %6, label %36, label %38

36:                                               ; preds = %35
  %37 = load i64, ptr @libxsmm_default_malloc_fn, align 8, !tbaa !16
  store i64 %37, ptr %2, align 8, !tbaa !16
  br label %38

38:                                               ; preds = %36, %35
  br i1 %7, label %39, label %41

39:                                               ; preds = %38
  %40 = load i64, ptr @libxsmm_default_free_fn, align 8, !tbaa !16
  store i64 %40, ptr %3, align 8, !tbaa !16
  br label %41

41:                                               ; preds = %39, %38
  br i1 %.not33, label %.critedge, label %42

42:                                               ; preds = %41
  %43 = load volatile i32, ptr %0, align 4, !tbaa !5
  %.not36 = icmp eq i32 %43, 0
  br i1 %.not36, label %44, label %45

44:                                               ; preds = %42
  tail call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, i32 noundef 1438, ptr noundef nonnull @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #6
  unreachable

45:                                               ; preds = %42
  store atomic i32 0, ptr %0 release, align 4
  br label %.critedge

46:                                               ; preds = %4
  %47 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !5
  %.not = icmp eq i32 %47, 0
  br i1 %.not, label %.critedge, label %48

48:                                               ; preds = %46
  %49 = atomicrmw add ptr @libxsmm_xget_default_allocator.error_once, i32 1 seq_cst, align 4
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %54

51:                                               ; preds = %48
  %52 = load ptr, ptr @stderr, align 8, !tbaa !14
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str.27) #7
  br label %54

54:                                               ; preds = %51, %48
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.1, i32 noundef 1448, ptr noundef nonnull @__PRETTY_FUNCTION__.libxsmm_xget_default_allocator) #6
  unreachable

.critedge:                                        ; preds = %45, %41, %46
  ret i32 0
}

attributes #0 = { noreturn 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 #1 = { nofree 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 #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 }
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 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 #6 = { noreturn nounwind }
attributes #7 = { cold nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass