; LLVM IR from ggml-org/ggml :: tests (test0)

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

%struct.ggml_init_params = type { i64, ptr, i8 }
%struct.ggml_tensor = type { i32, ptr, [4 x i64], [4 x i64], i32, [16 x i32], i32, [10 x ptr], ptr, i64, ptr, [64 x i8], ptr, [8 x i8] }

@__const.main.params = external hidden unnamed_addr constant %struct.ggml_init_params, align 8
@.str = external hidden unnamed_addr constant [61 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [38 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.ggml_init_params, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 @__const.main.params, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %11 = call ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8 %6)
  store ptr %11, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %12 = load ptr, ptr %7, align 8, !tbaa !9
  %13 = call ptr @ggml_new_tensor_1d(ptr noundef %12, i32 noundef 0, i64 noundef 10)
  store ptr %13, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %14 = load ptr, ptr %7, align 8, !tbaa !9
  %15 = call ptr @ggml_new_tensor_2d(ptr noundef %14, i32 noundef 25, i64 noundef 10, i64 noundef 20)
  store ptr %15, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %16 = load ptr, ptr %7, align 8, !tbaa !9
  %17 = call ptr @ggml_new_tensor_3d(ptr noundef %16, i32 noundef 26, i64 noundef 10, i64 noundef 20, i64 noundef 30)
  store ptr %17, ptr %10, align 8, !tbaa !9
  %18 = load ptr, ptr %8, align 8, !tbaa !9
  %19 = call i32 @ggml_n_dims(ptr noundef %18)
  %20 = icmp eq i32 %19, 1
  br i1 %20, label %22, label %21

21:                                               ; preds = %2
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 19, ptr noundef @.str.1, ptr noundef @.str.2) #6
  unreachable

22:                                               ; preds = %2
  %23 = load ptr, ptr %8, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.ggml_tensor, ptr %23, i32 0, i32 2
  %25 = getelementptr inbounds [4 x i64], ptr %24, i64 0, i64 0
  %26 = load i64, ptr %25, align 8, !tbaa !11
  %27 = icmp eq i64 %26, 10
  br i1 %27, label %29, label %28

28:                                               ; preds = %22
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 20, ptr noundef @.str.1, ptr noundef @.str.3) #6
  unreachable

29:                                               ; preds = %22
  %30 = load ptr, ptr %8, align 8, !tbaa !9
  %31 = getelementptr inbounds %struct.ggml_tensor, ptr %30, i32 0, i32 3
  %32 = getelementptr inbounds [4 x i64], ptr %31, i64 0, i64 1
  %33 = load i64, ptr %32, align 8, !tbaa !11
  %34 = icmp eq i64 %33, 40
  br i1 %34, label %36, label %35

35:                                               ; preds = %29
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 21, ptr noundef @.str.1, ptr noundef @.str.4) #6
  unreachable

36:                                               ; preds = %29
  %37 = load ptr, ptr %9, align 8, !tbaa !9
  %38 = call i32 @ggml_n_dims(ptr noundef %37)
  %39 = icmp eq i32 %38, 2
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 23, ptr noundef @.str.1, ptr noundef @.str.5) #6
  unreachable

41:                                               ; preds = %36
  %42 = load ptr, ptr %9, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct.ggml_tensor, ptr %42, i32 0, i32 2
  %44 = getelementptr inbounds [4 x i64], ptr %43, i64 0, i64 0
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %46 = icmp eq i64 %45, 10
  br i1 %46, label %48, label %47

47:                                               ; preds = %41
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 24, ptr noundef @.str.1, ptr noundef @.str.6) #6
  unreachable

48:                                               ; preds = %41
  %49 = load ptr, ptr %9, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.ggml_tensor, ptr %49, i32 0, i32 2
  %51 = getelementptr inbounds [4 x i64], ptr %50, i64 0, i64 1
  %52 = load i64, ptr %51, align 8, !tbaa !11
  %53 = icmp eq i64 %52, 20
  br i1 %53, label %55, label %54

54:                                               ; preds = %48
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 25, ptr noundef @.str.1, ptr noundef @.str.7) #6
  unreachable

55:                                               ; preds = %48
  %56 = load ptr, ptr %9, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.ggml_tensor, ptr %56, i32 0, i32 3
  %58 = getelementptr inbounds [4 x i64], ptr %57, i64 0, i64 1
  %59 = load i64, ptr %58, align 8, !tbaa !11
  %60 = icmp eq i64 %59, 20
  br i1 %60, label %62, label %61

61:                                               ; preds = %55
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 26, ptr noundef @.str.1, ptr noundef @.str.8) #6
  unreachable

62:                                               ; preds = %55
  %63 = load ptr, ptr %9, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.ggml_tensor, ptr %63, i32 0, i32 3
  %65 = getelementptr inbounds [4 x i64], ptr %64, i64 0, i64 2
  %66 = load i64, ptr %65, align 8, !tbaa !11
  %67 = icmp eq i64 %66, 400
  br i1 %67, label %69, label %68

68:                                               ; preds = %62
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 27, ptr noundef @.str.1, ptr noundef @.str.9) #6
  unreachable

69:                                               ; preds = %62
  %70 = load ptr, ptr %10, align 8, !tbaa !9
  %71 = call i32 @ggml_n_dims(ptr noundef %70)
  %72 = icmp eq i32 %71, 3
  br i1 %72, label %74, label %73

73:                                               ; preds = %69
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 29, ptr noundef @.str.1, ptr noundef @.str.10) #6
  unreachable

74:                                               ; preds = %69
  %75 = load ptr, ptr %10, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.ggml_tensor, ptr %75, i32 0, i32 2
  %77 = getelementptr inbounds [4 x i64], ptr %76, i64 0, i64 0
  %78 = load i64, ptr %77, align 8, !tbaa !11
  %79 = icmp eq i64 %78, 10
  br i1 %79, label %81, label %80

80:                                               ; preds = %74
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 30, ptr noundef @.str.1, ptr noundef @.str.11) #6
  unreachable

81:                                               ; preds = %74
  %82 = load ptr, ptr %10, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.ggml_tensor, ptr %82, i32 0, i32 2
  %84 = getelementptr inbounds [4 x i64], ptr %83, i64 0, i64 1
  %85 = load i64, ptr %84, align 8, !tbaa !11
  %86 = icmp eq i64 %85, 20
  br i1 %86, label %88, label %87

87:                                               ; preds = %81
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 31, ptr noundef @.str.1, ptr noundef @.str.12) #6
  unreachable

88:                                               ; preds = %81
  %89 = load ptr, ptr %10, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.ggml_tensor, ptr %89, i32 0, i32 2
  %91 = getelementptr inbounds [4 x i64], ptr %90, i64 0, i64 2
  %92 = load i64, ptr %91, align 8, !tbaa !11
  %93 = icmp eq i64 %92, 30
  br i1 %93, label %95, label %94

94:                                               ; preds = %88
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 32, ptr noundef @.str.1, ptr noundef @.str.13) #6
  unreachable

95:                                               ; preds = %88
  %96 = load ptr, ptr %10, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.ggml_tensor, ptr %96, i32 0, i32 3
  %98 = getelementptr inbounds [4 x i64], ptr %97, i64 0, i64 1
  %99 = load i64, ptr %98, align 8, !tbaa !11
  %100 = icmp eq i64 %99, 40
  br i1 %100, label %102, label %101

101:                                              ; preds = %95
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 33, ptr noundef @.str.1, ptr noundef @.str.14) #6
  unreachable

102:                                              ; preds = %95
  %103 = load ptr, ptr %10, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.ggml_tensor, ptr %103, i32 0, i32 3
  %105 = getelementptr inbounds [4 x i64], ptr %104, i64 0, i64 2
  %106 = load i64, ptr %105, align 8, !tbaa !11
  %107 = icmp eq i64 %106, 800
  br i1 %107, label %109, label %108

108:                                              ; preds = %102
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 34, ptr noundef @.str.1, ptr noundef @.str.15) #6
  unreachable

109:                                              ; preds = %102
  %110 = load ptr, ptr %10, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.ggml_tensor, ptr %110, i32 0, i32 3
  %112 = getelementptr inbounds [4 x i64], ptr %111, i64 0, i64 3
  %113 = load i64, ptr %112, align 8, !tbaa !11
  %114 = icmp eq i64 %113, 24000
  br i1 %114, label %116, label %115

115:                                              ; preds = %109
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 35, ptr noundef @.str.1, ptr noundef @.str.16) #6
  unreachable

116:                                              ; preds = %109
  %117 = load ptr, ptr %7, align 8, !tbaa !9
  call void @ggml_print_objects(ptr noundef %117)
  %118 = load ptr, ptr %7, align 8, !tbaa !9
  call void @ggml_free(ptr noundef %118)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  ret i32 0
}

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

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

declare ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8) #3

declare ptr @ggml_new_tensor_1d(ptr noundef, i32 noundef, i64 noundef) #3

declare ptr @ggml_new_tensor_2d(ptr noundef, i32 noundef, i64 noundef, i64 noundef) #3

declare ptr @ggml_new_tensor_3d(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #3

declare i32 @ggml_n_dims(ptr noundef) #3

; Function Attrs: noreturn
declare void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) #4

declare void @ggml_print_objects(ptr noundef) #3

declare void @ggml_free(ptr noundef) #3

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

attributes #0 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !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"

%struct.ggml_init_params = type { i64, ptr, i8 }

@__const.main.params = external hidden unnamed_addr constant %struct.ggml_init_params, align 8
@.str = external hidden unnamed_addr constant [61 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [38 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = tail call ptr @ggml_init(ptr noundef nonnull byval(%struct.ggml_init_params) align 8 @__const.main.params) #3
  %4 = tail call ptr @ggml_new_tensor_1d(ptr noundef %3, i32 noundef 0, i64 noundef 10) #3
  %5 = tail call ptr @ggml_new_tensor_2d(ptr noundef %3, i32 noundef 25, i64 noundef 10, i64 noundef 20) #3
  %6 = tail call ptr @ggml_new_tensor_3d(ptr noundef %3, i32 noundef 26, i64 noundef 10, i64 noundef 20, i64 noundef 30) #3
  %7 = tail call i32 @ggml_n_dims(ptr noundef %4) #3
  %8 = icmp eq i32 %7, 1
  br i1 %8, label %10, label %9

9:                                                ; preds = %2
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 19, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #4
  unreachable

10:                                               ; preds = %2
  %11 = getelementptr inbounds i8, ptr %4, i64 16
  %12 = load i64, ptr %11, align 8, !tbaa !5
  %13 = icmp eq i64 %12, 10
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 20, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.3) #4
  unreachable

15:                                               ; preds = %10
  %16 = getelementptr inbounds i8, ptr %4, i64 56
  %17 = load i64, ptr %16, align 8, !tbaa !5
  %18 = icmp eq i64 %17, 40
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 21, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #4
  unreachable

20:                                               ; preds = %15
  %21 = tail call i32 @ggml_n_dims(ptr noundef %5) #3
  %22 = icmp eq i32 %21, 2
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 23, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.5) #4
  unreachable

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %5, i64 16
  %26 = load i64, ptr %25, align 8, !tbaa !5
  %27 = icmp eq i64 %26, 10
  br i1 %27, label %29, label %28

28:                                               ; preds = %24
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 24, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.6) #4
  unreachable

29:                                               ; preds = %24
  %30 = getelementptr inbounds i8, ptr %5, i64 24
  %31 = load i64, ptr %30, align 8, !tbaa !5
  %32 = icmp eq i64 %31, 20
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.7) #4
  unreachable

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %5, i64 56
  %36 = load i64, ptr %35, align 8, !tbaa !5
  %37 = icmp eq i64 %36, 20
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 26, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.8) #4
  unreachable

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %5, i64 64
  %41 = load i64, ptr %40, align 8, !tbaa !5
  %42 = icmp eq i64 %41, 400
  br i1 %42, label %44, label %43

43:                                               ; preds = %39
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 27, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.9) #4
  unreachable

44:                                               ; preds = %39
  %45 = tail call i32 @ggml_n_dims(ptr noundef %6) #3
  %46 = icmp eq i32 %45, 3
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 29, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.10) #4
  unreachable

48:                                               ; preds = %44
  %49 = getelementptr inbounds i8, ptr %6, i64 16
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = icmp eq i64 %50, 10
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 30, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.11) #4
  unreachable

53:                                               ; preds = %48
  %54 = getelementptr inbounds i8, ptr %6, i64 24
  %55 = load i64, ptr %54, align 8, !tbaa !5
  %56 = icmp eq i64 %55, 20
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 31, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.12) #4
  unreachable

58:                                               ; preds = %53
  %59 = getelementptr inbounds i8, ptr %6, i64 32
  %60 = load i64, ptr %59, align 8, !tbaa !5
  %61 = icmp eq i64 %60, 30
  br i1 %61, label %63, label %62

62:                                               ; preds = %58
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 32, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.13) #4
  unreachable

63:                                               ; preds = %58
  %64 = getelementptr inbounds i8, ptr %6, i64 56
  %65 = load i64, ptr %64, align 8, !tbaa !5
  %66 = icmp eq i64 %65, 40
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 33, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.14) #4
  unreachable

68:                                               ; preds = %63
  %69 = getelementptr inbounds i8, ptr %6, i64 64
  %70 = load i64, ptr %69, align 8, !tbaa !5
  %71 = icmp eq i64 %70, 800
  br i1 %71, label %73, label %72

72:                                               ; preds = %68
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 34, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.15) #4
  unreachable

73:                                               ; preds = %68
  %74 = getelementptr inbounds i8, ptr %6, i64 72
  %75 = load i64, ptr %74, align 8, !tbaa !5
  %76 = icmp eq i64 %75, 24000
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 35, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.16) #4
  unreachable

78:                                               ; preds = %73
  tail call void @ggml_print_objects(ptr noundef %3) #3
  tail call void @ggml_free(ptr noundef %3) #3
  ret i32 0
}

declare ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8) local_unnamed_addr #1

declare ptr @ggml_new_tensor_1d(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare ptr @ggml_new_tensor_2d(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

declare ptr @ggml_new_tensor_3d(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

declare i32 @ggml_n_dims(ptr noundef) local_unnamed_addr #1

; Function Attrs: noreturn
declare void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

declare void @ggml_print_objects(ptr noundef) local_unnamed_addr #1

declare void @ggml_free(ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 = { "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 = { noreturn "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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass