; LLVM IR from aagdev/mlimgsynth :: src/ccommon (stream)

; 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.StreamClass = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Stream = type { ptr, ptr, ptr, ptr, ptr, %struct.StreamInt, i64, i32 }
%struct.StreamInt = type { [3 x ptr] }

@stream_class_memory = external dso_local constant %struct.StreamClass, align 8
@.str.2 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__.stream_full_file_load = external hidden unnamed_addr constant [66 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [32 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @stream_ibuffer_set(ptr noalias noundef, i64 noundef, ptr noalias noundef) #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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stream_read_prep(ptr noundef, i64 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @stream_seek(ptr noundef, i64 noundef, i32 noundef) #3

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

14:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = call i32 @stream_posix_open_file(ptr noundef %15, ptr noundef %16, i32 noundef 1)
  store i32 %17, ptr %7, align 4, !tbaa !9
  %18 = load i32, ptr %7, align 4, !tbaa !9
  %19 = icmp slt i32 %18, 0
  br i1 %19, label %20, label %25

20:                                               ; preds = %14
  br label %21

21:                                               ; preds = %20
  %22 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %22, ptr %6, align 4, !tbaa !9
  store i32 6, ptr %8, align 4
  br label %26

23:                                               ; No predecessors!
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24, %14
  store i32 0, ptr %8, align 4
  br label %26

26:                                               ; preds = %25, %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %27 = load i32, ptr %8, align 4
  switch i32 %27, label %162 [
    i32 0, label %28
    i32 6, label %154
  ]

28:                                               ; preds = %26
  br label %29

29:                                               ; preds = %28
  br label %30

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = call i32 @stream_seek(ptr noundef %32, i64 noundef 0, i32 noundef 2)
  store i32 %33, ptr %9, align 4, !tbaa !9
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = icmp slt i32 %34, 0
  br i1 %35, label %36, label %41

36:                                               ; preds = %31
  br label %37

37:                                               ; preds = %36
  %38 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %38, ptr %6, align 4, !tbaa !9
  store i32 6, ptr %8, align 4
  br label %42

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40, %31
  store i32 0, ptr %8, align 4
  br label %42

42:                                               ; preds = %41, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %43 = load i32, ptr %8, align 4
  switch i32 %43, label %162 [
    i32 0, label %44
    i32 6, label %154
  ]

44:                                               ; preds = %42
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = call i64 @stream_pos_get(ptr noundef %47)
  store i64 %48, ptr %10, align 8, !tbaa !11
  %49 = load i64, ptr %10, align 8, !tbaa !11
  %50 = icmp ugt i64 %49, 1073741824
  br i1 %50, label %51, label %55

51:                                               ; preds = %46
  br label %52

52:                                               ; preds = %51
  store i32 -1, ptr %6, align 4, !tbaa !9
  br label %154

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54, %46
  br label %56

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load i64, ptr %10, align 8, !tbaa !11
  %59 = call i32 @stream_ibuffer_set(ptr noundef %57, i64 noundef %58, ptr noundef null)
  store i32 %59, ptr %11, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  %61 = icmp slt i32 %60, 0
  br i1 %61, label %62, label %67

62:                                               ; preds = %56
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %64, ptr %6, align 4, !tbaa !9
  store i32 6, ptr %8, align 4
  br label %68

65:                                               ; No predecessors!
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66, %56
  store i32 0, ptr %8, align 4
  br label %68

68:                                               ; preds = %67, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %69 = load i32, ptr %8, align 4
  switch i32 %69, label %162 [
    i32 0, label %70
    i32 6, label %154
  ]

70:                                               ; preds = %68
  br label %71

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = call i32 @stream_seek(ptr noundef %74, i64 noundef 0, i32 noundef 0)
  store i32 %75, ptr %12, align 4, !tbaa !9
  %76 = load i32, ptr %12, align 4, !tbaa !9
  %77 = icmp slt i32 %76, 0
  br i1 %77, label %78, label %83

78:                                               ; preds = %73
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %80, ptr %6, align 4, !tbaa !9
  store i32 6, ptr %8, align 4
  br label %84

81:                                               ; No predecessors!
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82, %73
  store i32 0, ptr %8, align 4
  br label %84

84:                                               ; preds = %83, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %85 = load i32, ptr %8, align 4
  switch i32 %85, label %162 [
    i32 0, label %86
    i32 6, label %154
  ]

86:                                               ; preds = %84
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load i64, ptr %10, align 8, !tbaa !11
  %92 = call i32 @stream_read_prep(ptr noundef %90, i64 noundef %91)
  store i32 %92, ptr %13, align 4, !tbaa !9
  %93 = load i32, ptr %13, align 4, !tbaa !9
  %94 = icmp slt i32 %93, 0
  br i1 %94, label %95, label %100

95:                                               ; preds = %89
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %97, ptr %6, align 4, !tbaa !9
  store i32 6, ptr %8, align 4
  br label %101

98:                                               ; No predecessors!
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99, %89
  store i32 0, ptr %8, align 4
  br label %101

101:                                              ; preds = %100, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %102 = load i32, ptr %8, align 4
  switch i32 %102, label %162 [
    i32 0, label %103
    i32 6, label %154
  ]

103:                                              ; preds = %101
  br label %104

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.Stream, ptr %106, i32 0, i32 1
  %108 = load ptr, ptr %107, align 8, !tbaa !13
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.Stream, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !16
  %112 = ptrtoint ptr %108 to i64
  %113 = ptrtoint ptr %111 to i64
  %114 = sub i64 %112, %113
  %115 = load i64, ptr %10, align 8, !tbaa !11
  %116 = icmp eq i64 %114, %115
  br i1 %116, label %117, label %118

117:                                              ; preds = %105
  br label %119

118:                                              ; preds = %105
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 557, ptr noundef @__PRETTY_FUNCTION__.stream_full_file_load) #5
  unreachable

119:                                              ; preds = %117
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = call i32 @stream_close(ptr noundef %120, i32 noundef 2)
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.Stream, ptr %122, i32 0, i32 3
  %124 = load ptr, ptr %123, align 8, !tbaa !17
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.Stream, ptr %125, i32 0, i32 2
  %127 = load ptr, ptr %126, align 8, !tbaa !18
  %128 = ptrtoint ptr %124 to i64
  %129 = ptrtoint ptr %127 to i64
  %130 = sub i64 %128, %129
  %131 = load i64, ptr %10, align 8, !tbaa !11
  %132 = icmp uge i64 %130, %131
  br i1 %132, label %133, label %134

133:                                              ; preds = %119
  br label %135

134:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 559, ptr noundef @__PRETTY_FUNCTION__.stream_full_file_load) #5
  unreachable

135:                                              ; preds = %133
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.Stream, ptr %136, i32 0, i32 4
  store ptr @stream_class_memory, ptr %137, align 8, !tbaa !19
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.Stream, ptr %138, i32 0, i32 7
  %140 = load i32, ptr %139, align 8, !tbaa !20
  %141 = or i32 %140, 6
  store i32 %141, ptr %139, align 8, !tbaa !20
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.Stream, ptr %142, i32 0, i32 2
  %144 = load ptr, ptr %143, align 8, !tbaa !18
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.Stream, ptr %145, i32 0, i32 0
  store ptr %144, ptr %146, align 8, !tbaa !16
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.Stream, ptr %147, i32 0, i32 2
  %149 = load ptr, ptr %148, align 8, !tbaa !18
  %150 = load i64, ptr %10, align 8, !tbaa !11
  %151 = getelementptr inbounds i8, ptr %149, i64 %150
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.Stream, ptr %152, i32 0, i32 1
  store ptr %151, ptr %153, align 8, !tbaa !13
  br label %154

154:                                              ; preds = %135, %101, %84, %68, %52, %42, %26
  %155 = load i32, ptr %6, align 4, !tbaa !9
  %156 = icmp slt i32 %155, 0
  br i1 %156, label %157, label %160

157:                                              ; preds = %154
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = call i32 @stream_close(ptr noundef %158, i32 noundef 0)
  br label %160

160:                                              ; preds = %157, %154
  %161 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %161, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %162

162:                                              ; preds = %160, %101, %84, %68, %42, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %163 = load i32, ptr %3, align 4
  ret i32 %163
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @stream_posix_open_file(ptr noalias noundef, ptr noalias noundef, i32 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @stream_pos_get(ptr noundef) #3

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 = { 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 #3 = { inlinehint 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 }
attributes #5 = { 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 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"Stream", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !15, i64 40, !12, i64 64, !10, i64 72}
!15 = !{!"StreamInt", !7, i64 0}
!16 = !{!14, !6, i64 0}
!17 = !{!14, !6, i64 24}
!18 = !{!14, !6, i64 16}
!19 = !{!14, !6, i64 32}
!20 = !{!14, !10, i64 72}


; 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.StreamClass = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@stream_class_memory = external dso_local constant %struct.StreamClass, align 8
@.str.2 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__.stream_full_file_load = external hidden unnamed_addr constant [66 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [32 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @stream_ibuffer_set(ptr noalias noundef, i64 noundef, ptr noalias noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stream_read_prep(ptr noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @stream_full_file_load(ptr noalias noundef %0, ptr noalias noundef %1) local_unnamed_addr #0 {
  %3 = tail call i32 @stream_posix_open_file(ptr noundef %0, ptr noundef %1, i32 noundef 1)
  %4 = icmp slt i32 %3, 0
  br i1 %4, label %.thread, label %5

5:                                                ; preds = %2
  %6 = tail call i32 @stream_seek(ptr noundef %0, i64 noundef 0, i32 noundef 2)
  %7 = icmp slt i32 %6, 0
  br i1 %7, label %.thread, label %8

8:                                                ; preds = %5
  %9 = tail call i64 @stream_pos_get(ptr noundef %0)
  %10 = icmp ugt i64 %9, 1073741824
  br i1 %10, label %.thread, label %11

11:                                               ; preds = %8
  %12 = tail call i32 @stream_ibuffer_set(ptr noundef %0, i64 noundef %9, ptr noundef null)
  %13 = icmp slt i32 %12, 0
  br i1 %13, label %.thread, label %14

14:                                               ; preds = %11
  %15 = tail call i32 @stream_seek(ptr noundef %0, i64 noundef 0, i32 noundef 0)
  %16 = icmp slt i32 %15, 0
  br i1 %16, label %.thread, label %17

17:                                               ; preds = %14
  %18 = tail call i32 @stream_read_prep(ptr noundef %0, i64 noundef %9)
  %19 = icmp slt i32 %18, 0
  br i1 %19, label %.thread, label %20

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  %23 = load ptr, ptr %0, align 8, !tbaa !13
  %24 = ptrtoint ptr %22 to i64
  %25 = ptrtoint ptr %23 to i64
  %26 = sub i64 %24, %25
  %27 = icmp eq i64 %26, %9
  br i1 %27, label %29, label %28

28:                                               ; preds = %20
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 557, ptr noundef nonnull @__PRETTY_FUNCTION__.stream_full_file_load) #3
  unreachable

29:                                               ; preds = %20
  %30 = tail call i32 @stream_close(ptr noundef nonnull %0, i32 noundef 2)
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !14
  %33 = getelementptr inbounds i8, ptr %0, i64 16
  %34 = load ptr, ptr %33, align 8, !tbaa !15
  %35 = ptrtoint ptr %32 to i64
  %36 = ptrtoint ptr %34 to i64
  %37 = sub i64 %35, %36
  %.not = icmp ult i64 %37, %9
  br i1 %.not, label %38, label %39

38:                                               ; preds = %29
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 559, ptr noundef nonnull @__PRETTY_FUNCTION__.stream_full_file_load) #3
  unreachable

39:                                               ; preds = %29
  %40 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr @stream_class_memory, ptr %40, align 8, !tbaa !16
  %41 = getelementptr inbounds i8, ptr %0, i64 72
  %42 = load i32, ptr %41, align 8, !tbaa !17
  %43 = or i32 %42, 6
  store i32 %43, ptr %41, align 8, !tbaa !17
  store ptr %34, ptr %0, align 8, !tbaa !13
  %44 = getelementptr inbounds i8, ptr %34, i64 %9
  store ptr %44, ptr %21, align 8, !tbaa !5
  br label %46

.thread:                                          ; preds = %17, %14, %11, %5, %2, %8
  %.561 = phi i32 [ -1, %8 ], [ %18, %17 ], [ %15, %14 ], [ %12, %11 ], [ %6, %5 ], [ %3, %2 ]
  %45 = tail call i32 @stream_close(ptr noundef %0, i32 noundef 0)
  br label %46

46:                                               ; preds = %39, %.thread
  %.560 = phi i32 [ 0, %39 ], [ %.561, %.thread ]
  ret i32 %.560
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @stream_posix_open_file(ptr noalias noundef, ptr noalias noundef, i32 noundef) local_unnamed_addr #0

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

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 = { 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 = { inlinehint 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 = { 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, !7, i64 8}
!6 = !{!"Stream", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !11, i64 64, !12, i64 72}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"StreamInt", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 32}
!17 = !{!6, !12, i64 72}


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