; LLVM IR from InsightSoftwareConsortium/ITK :: Modules/ThirdParty/MINC/src/libminc/nifti (nifti1_io)

; 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.nifti_global_options = type { i32, i32, i32 }
%struct.nifti_brick_list = type { i32, i64, ptr }

@stderr = external global ptr, align 8
@g_opts = external hidden global %struct.nifti_global_options, align 4
@.str.10 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [46 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

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

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

20:                                               ; preds = %17, %4
  %21 = load ptr, ptr @stderr, align 8, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.10, ptr noundef %22, ptr noundef %23) #4
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %121

25:                                               ; preds = %17
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %39

28:                                               ; preds = %25
  %29 = load i32, ptr %7, align 4, !tbaa !9
  %30 = icmp sle i32 %29, 0
  br i1 %30, label %31, label %39

31:                                               ; preds = %28
  %32 = load i32, ptr @g_opts, align 4, !tbaa !11
  %33 = icmp sgt i32 %32, 1
  br i1 %33, label %34, label %38

34:                                               ; preds = %31
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.11, i32 noundef %36) #4
  br label %38

38:                                               ; preds = %34, %31
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %39

39:                                               ; preds = %38, %28, %25
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %42, label %52

42:                                               ; preds = %39
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = load i32, ptr %7, align 4, !tbaa !9
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = load i32, ptr @g_opts, align 4, !tbaa !11
  %47 = icmp sgt i32 %46, 0
  %48 = zext i1 %47 to i32
  %49 = call i32 @valid_nifti_brick_list(ptr noundef %43, i32 noundef %44, ptr noundef %45, i32 noundef %48)
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %52, label %51

51:                                               ; preds = %42
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %121

52:                                               ; preds = %42, %39
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %61

55:                                               ; preds = %52
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = call i32 @nifti_copynsort(i32 noundef %56, ptr noundef %57, ptr noundef %10, ptr noundef %11)
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %55
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %121

61:                                               ; preds = %55, %52
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = call ptr @nifti_image_load_prep(ptr noundef %62)
  store ptr %63, ptr %13, align 8, !tbaa !5
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = icmp ne ptr %64, null
  br i1 %65, label %79, label %66

66:                                               ; preds = %61
  %67 = load i32, ptr @g_opts, align 4, !tbaa !11
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %69, label %72

69:                                               ; preds = %66
  %70 = load ptr, ptr @stderr, align 8, !tbaa !5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.12) #4
  br label %72

72:                                               ; preds = %69, %66
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = icmp ne ptr %73, null
  br i1 %74, label %75, label %78

75:                                               ; preds = %72
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %76) #4
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %77) #4
  br label %78

78:                                               ; preds = %75, %72
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %121

79:                                               ; preds = %61
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = icmp ne ptr %80, null
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %82, %79
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = call i32 @nifti_alloc_NBL_mem(ptr noundef %84, i32 noundef %85, ptr noundef %86)
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %97

89:                                               ; preds = %83
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = icmp ne ptr %90, null
  br i1 %91, label %92, label %95

92:                                               ; preds = %89
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %93) #4
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %94) #4
  br label %95

95:                                               ; preds = %92, %89
  %96 = call i32 @Xznzclose(ptr noundef %13)
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %121

97:                                               ; preds = %83
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = call i32 @nifti_load_NBL_bricks(ptr noundef %98, ptr noundef %99, ptr noundef %100, ptr noundef %101, ptr noundef %102)
  store i32 %103, ptr %12, align 4, !tbaa !9
  %104 = load i32, ptr %12, align 4, !tbaa !9
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %110

106:                                              ; preds = %97
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  call void @nifti_free_NBL(ptr noundef %107)
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.nifti_brick_list, ptr %108, i32 0, i32 0
  store i32 0, ptr %109, align 8, !tbaa !13
  br label %110

110:                                              ; preds = %106, %97
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = icmp ne ptr %111, null
  br i1 %112, label %113, label %116

113:                                              ; preds = %110
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %114) #4
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %115) #4
  br label %116

116:                                              ; preds = %113, %110
  %117 = call i32 @Xznzclose(ptr noundef %13)
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.nifti_brick_list, ptr %118, i32 0, i32 0
  %120 = load i32, ptr %119, align 8, !tbaa !13
  store i32 %120, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %121

121:                                              ; preds = %116, %95, %78, %60, %51, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %122 = load i32, ptr %5, align 4
  ret i32 %122
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @valid_nifti_brick_list(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @nifti_copynsort(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden ptr @nifti_image_load_prep(ptr noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @nifti_alloc_NBL_mem(ptr noundef, i32 noundef, ptr noundef) #2

declare i32 @Xznzclose(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @nifti_load_NBL_bricks(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @nifti_free_NBL(ptr noundef) #2

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

!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 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8}
!13 = !{!14, !10, i64 0}
!14 = !{!"", !10, i64 0, !15, i64 8, !6, i64 16}
!15 = !{!"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.nifti_global_options = type { i32, i32, i32 }

@stderr = external local_unnamed_addr global ptr, align 8
@g_opts = external hidden local_unnamed_addr global %struct.nifti_global_options, align 4
@.str.10 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [46 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @nifti_image_load_bricks(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %8 = icmp ne ptr %0, null
  %9 = icmp ne ptr %3, null
  %or.cond = and i1 %8, %9
  br i1 %or.cond, label %13, label %10

10:                                               ; preds = %4
  %11 = load ptr, ptr @stderr, align 8, !tbaa !5
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.10, ptr noundef %0, ptr noundef %3) #6
  br label %61

13:                                               ; preds = %4
  %14 = icmp ne ptr %2, null
  %15 = icmp slt i32 %1, 1
  %or.cond3 = and i1 %15, %14
  br i1 %or.cond3, label %16, label %22

16:                                               ; preds = %13
  %17 = load i32, ptr @g_opts, align 4, !tbaa !9
  %18 = icmp sgt i32 %17, 1
  br i1 %18, label %19, label %.critedge

19:                                               ; preds = %16
  %20 = load ptr, ptr @stderr, align 8, !tbaa !5
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.11, i32 noundef %1) #6
  br label %.critedge

22:                                               ; preds = %13
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %.critedge, label %23

23:                                               ; preds = %22
  %24 = load i32, ptr @g_opts, align 4, !tbaa !9
  %25 = icmp sgt i32 %24, 0
  %26 = zext i1 %25 to i32
  %27 = tail call i32 @valid_nifti_brick_list(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %2, i32 noundef %26)
  %.not36 = icmp eq i32 %27, 0
  br i1 %.not36, label %61, label %28

28:                                               ; preds = %23
  %29 = call i32 @nifti_copynsort(i32 noundef %1, ptr noundef nonnull %2, ptr noundef nonnull %5, ptr noundef nonnull %6)
  %.not37 = icmp eq i32 %29, 0
  br i1 %.not37, label %.critedge, label %61

.critedge:                                        ; preds = %16, %19, %22, %28
  %.not44 = phi i1 [ true, %22 ], [ false, %28 ], [ true, %19 ], [ true, %16 ]
  %30 = call ptr @nifti_image_load_prep(ptr noundef nonnull %0)
  store ptr %30, ptr %7, align 8, !tbaa !5
  %.not38 = icmp eq ptr %30, null
  br i1 %.not38, label %31, label %41

31:                                               ; preds = %.critedge
  %32 = load i32, ptr @g_opts, align 4, !tbaa !9
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %34, label %37

34:                                               ; preds = %31
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.12) #6
  br label %37

37:                                               ; preds = %34, %31
  br i1 %.not44, label %61, label %38

38:                                               ; preds = %37
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %39) #5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %40) #5
  br label %61

41:                                               ; preds = %.critedge
  %spec.select = select i1 %.not44, i32 0, i32 %1
  %42 = call i32 @nifti_alloc_NBL_mem(ptr noundef nonnull %0, i32 noundef %spec.select, ptr noundef nonnull %3)
  %.not39 = icmp eq i32 %42, 0
  br i1 %.not39, label %49, label %43

43:                                               ; preds = %41
  br i1 %.not44, label %47, label %44

44:                                               ; preds = %43
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %45) #5
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %46) #5
  br label %47

47:                                               ; preds = %44, %43
  %48 = call i32 @Xznzclose(ptr noundef nonnull %7) #5
  br label %61

49:                                               ; preds = %41
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = call i32 @nifti_load_NBL_bricks(ptr noundef nonnull %0, ptr noundef %50, ptr noundef %51, ptr noundef nonnull %3, ptr noundef nonnull %30)
  %.not40 = icmp eq i32 %52, 0
  br i1 %.not40, label %54, label %53

53:                                               ; preds = %49
  call void @nifti_free_NBL(ptr noundef nonnull %3)
  store i32 0, ptr %3, align 8, !tbaa !12
  br label %54

54:                                               ; preds = %53, %49
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %.not41 = icmp eq ptr %55, null
  br i1 %.not41, label %58, label %56

56:                                               ; preds = %54
  call void @free(ptr noundef nonnull %55) #5
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %57) #5
  br label %58

58:                                               ; preds = %56, %54
  %59 = call i32 @Xznzclose(ptr noundef nonnull %7) #5
  %60 = load i32, ptr %3, align 8, !tbaa !12
  br label %61

61:                                               ; preds = %37, %38, %28, %23, %58, %47, %10
  %.0 = phi i32 [ -1, %47 ], [ %60, %58 ], [ -1, %10 ], [ -1, %23 ], [ -1, %28 ], [ -1, %38 ], [ -1, %37 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @valid_nifti_brick_list(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @nifti_copynsort(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden ptr @nifti_image_load_prep(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @nifti_alloc_NBL_mem(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @Xznzclose(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare hidden i32 @nifti_load_NBL_bricks(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @nifti_free_NBL(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"", !11, i64 0, !14, i64 8, !6, i64 16}
!14 = !{!"long", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass