; LLVM IR from ramsdell/lineqpp :: lua (lauxlib)

; 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.LoadF = type { i32, ptr, [8192 x i8] }

@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@stdin = external global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [5 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

declare ptr @lua_pushfstring(ptr noundef, ptr noundef, ...) #1

declare void @lua_pushlstring(ptr noundef, ptr noundef, i64 noundef) #1

declare void @lua_settop(ptr noundef, i32 noundef) #1

declare ptr @lua_tolstring(ptr noundef, i32 noundef, ptr noundef) #1

declare void @lua_remove(ptr noundef, i32 noundef) #1

declare i32 @lua_gettop(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @luaL_loadfile(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.LoadF, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = 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 8208, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = call i32 @lua_gettop(ptr noundef %12)
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr %10, align 4, !tbaa !9
  %15 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 0
  store i32 0, ptr %15, align 8, !tbaa !11
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %22

18:                                               ; preds = %2
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  call void @lua_pushlstring(ptr noundef %19, ptr noundef @.str.15, i64 noundef 6)
  %20 = load ptr, ptr @stdin, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  store ptr %20, ptr %21, align 8, !tbaa !13
  br label %37

22:                                               ; preds = %2
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call ptr (ptr, ptr, ...) @lua_pushfstring(ptr noundef %23, ptr noundef @.str.16, ptr noundef %24)
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call noalias ptr @fopen(ptr noundef %26, ptr noundef @.str.17)
  %28 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  store ptr %27, ptr %28, align 8, !tbaa !13
  %29 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !13
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %36

32:                                               ; preds = %22
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = load i32, ptr %10, align 4, !tbaa !9
  %35 = call i32 @errfile(ptr noundef %33, ptr noundef @.str.18, i32 noundef %34)
  store i32 %35, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %132

36:                                               ; preds = %22
  br label %37

37:                                               ; preds = %36, %18
  %38 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = call i32 @getc(ptr noundef %39)
  store i32 %40, ptr %9, align 4, !tbaa !9
  %41 = load i32, ptr %9, align 4, !tbaa !9
  %42 = icmp eq i32 %41, 35
  br i1 %42, label %43, label %64

43:                                               ; preds = %37
  %44 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 0
  store i32 1, ptr %44, align 8, !tbaa !11
  br label %45

45:                                               ; preds = %55, %43
  %46 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8, !tbaa !13
  %48 = call i32 @getc(ptr noundef %47)
  store i32 %48, ptr %9, align 4, !tbaa !9
  %49 = icmp ne i32 %48, -1
  br i1 %49, label %50, label %53

50:                                               ; preds = %45
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = icmp ne i32 %51, 10
  br label %53

53:                                               ; preds = %50, %45
  %54 = phi i1 [ false, %45 ], [ %52, %50 ]
  br i1 %54, label %55, label %56

55:                                               ; preds = %53
  br label %45, !llvm.loop !14

56:                                               ; preds = %53
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = icmp eq i32 %57, 10
  br i1 %58, label %59, label %63

59:                                               ; preds = %56
  %60 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !13
  %62 = call i32 @getc(ptr noundef %61)
  store i32 %62, ptr %9, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %59, %56
  br label %64

64:                                               ; preds = %63, %37
  %65 = load i32, ptr %9, align 4, !tbaa !9
  %66 = load i8, ptr @.str.19, align 1, !tbaa !16
  %67 = sext i8 %66 to i32
  %68 = icmp eq i32 %65, %67
  br i1 %68, label %69, label %101

69:                                               ; preds = %64
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %101

72:                                               ; preds = %69
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !13
  %76 = call ptr @freopen(ptr noundef %73, ptr noundef @.str.20, ptr noundef %75)
  %77 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  store ptr %76, ptr %77, align 8, !tbaa !13
  %78 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8, !tbaa !13
  %80 = icmp eq ptr %79, null
  br i1 %80, label %81, label %85

81:                                               ; preds = %72
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = call i32 @errfile(ptr noundef %82, ptr noundef @.str.21, i32 noundef %83)
  store i32 %84, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %132

85:                                               ; preds = %72
  br label %86

86:                                               ; preds = %98, %85
  %87 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %88 = load ptr, ptr %87, align 8, !tbaa !13
  %89 = call i32 @getc(ptr noundef %88)
  store i32 %89, ptr %9, align 4, !tbaa !9
  %90 = icmp ne i32 %89, -1
  br i1 %90, label %91, label %96

91:                                               ; preds = %86
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = load i8, ptr @.str.19, align 1, !tbaa !16
  %94 = sext i8 %93 to i32
  %95 = icmp ne i32 %92, %94
  br label %96

96:                                               ; preds = %91, %86
  %97 = phi i1 [ false, %86 ], [ %95, %91 ]
  br i1 %97, label %98, label %99

98:                                               ; preds = %96
  br label %86, !llvm.loop !17

99:                                               ; preds = %96
  %100 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 0
  store i32 0, ptr %100, align 8, !tbaa !11
  br label %101

101:                                              ; preds = %99, %69, %64
  %102 = load i32, ptr %9, align 4, !tbaa !9
  %103 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %104 = load ptr, ptr %103, align 8, !tbaa !13
  %105 = call i32 @ungetc(i32 noundef %102, ptr noundef %104)
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = call ptr @lua_tolstring(ptr noundef %107, i32 noundef -1, ptr noundef null)
  %109 = call i32 @lua_load(ptr noundef %106, ptr noundef @getF, ptr noundef %6, ptr noundef %108)
  store i32 %109, ptr %7, align 4, !tbaa !9
  %110 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !13
  %112 = call i32 @ferror(ptr noundef %111) #4
  store i32 %112, ptr %8, align 4, !tbaa !9
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %119

115:                                              ; preds = %101
  %116 = getelementptr inbounds %struct.LoadF, ptr %6, i32 0, i32 1
  %117 = load ptr, ptr %116, align 8, !tbaa !13
  %118 = call i32 @fclose(ptr noundef %117)
  br label %119

119:                                              ; preds = %115, %101
  %120 = load i32, ptr %8, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %128

122:                                              ; preds = %119
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = load i32, ptr %10, align 4, !tbaa !9
  call void @lua_settop(ptr noundef %123, i32 noundef %124)
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = load i32, ptr %10, align 4, !tbaa !9
  %127 = call i32 @errfile(ptr noundef %125, ptr noundef @.str.22, i32 noundef %126)
  store i32 %127, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %132

128:                                              ; preds = %119
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = load i32, ptr %10, align 4, !tbaa !9
  call void @lua_remove(ptr noundef %129, i32 noundef %130)
  %131 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %131, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %132

132:                                              ; preds = %128, %122, %81, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8208, ptr %6) #4
  %133 = load i32, ptr %3, align 4
  ret i32 %133
}

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

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

declare i32 @getc(ptr noundef) #1

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @ungetc(i32 noundef, ptr noundef) #1

declare i32 @lua_load(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind
declare i32 @ferror(ptr noundef) #3

declare i32 @fclose(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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 = !{!"LoadF", !10, i64 0, !6, i64 8, !7, i64 16}
!13 = !{!12, !6, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !15}


; 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.LoadF = type { i32, ptr, [8192 x i8] }

@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [5 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

declare ptr @lua_pushfstring(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare void @lua_pushlstring(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @lua_settop(ptr noundef, i32 noundef) local_unnamed_addr #1

declare ptr @lua_tolstring(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @lua_remove(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @lua_gettop(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @luaL_loadfile(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca %struct.LoadF, align 8
  call void @llvm.lifetime.start.p0(i64 8208, ptr nonnull %3) #5
  %4 = tail call i32 @lua_gettop(ptr noundef %0) #5
  %5 = add nsw i32 %4, 1
  store i32 0, ptr %3, align 8, !tbaa !5
  %6 = icmp eq ptr %1, null
  %7 = getelementptr inbounds i8, ptr %3, i64 8
  br i1 %6, label %8, label %10

8:                                                ; preds = %2
  tail call void @lua_pushlstring(ptr noundef %0, ptr noundef nonnull @.str.15, i64 noundef 6) #5
  %9 = load ptr, ptr @stdin, align 8, !tbaa !11
  store ptr %9, ptr %7, align 8, !tbaa !12
  br label %16

10:                                               ; preds = %2
  %11 = tail call ptr (ptr, ptr, ...) @lua_pushfstring(ptr noundef %0, ptr noundef nonnull @.str.16, ptr noundef nonnull %1) #5
  %12 = tail call noalias ptr @fopen(ptr noundef nonnull %1, ptr noundef nonnull @.str.17)
  store ptr %12, ptr %7, align 8, !tbaa !12
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %16

14:                                               ; preds = %10
  %15 = tail call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.18, i32 noundef %5)
  br label %53

16:                                               ; preds = %10, %8
  %17 = phi ptr [ %12, %10 ], [ %9, %8 ]
  %18 = getelementptr inbounds i8, ptr %3, i64 8
  %19 = tail call i32 @getc(ptr noundef %17)
  %20 = icmp eq i32 %19, 35
  br i1 %20, label %21, label %.loopexit

21:                                               ; preds = %16
  store i32 1, ptr %3, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %22, %21
  %23 = tail call i32 @getc(ptr noundef %17)
  switch i32 %23, label %22 [
    i32 10, label %24
    i32 -1, label %.loopexit
  ]

24:                                               ; preds = %22
  %25 = tail call i32 @getc(ptr noundef %17)
  br label %.loopexit

.loopexit:                                        ; preds = %22, %24, %16
  %.030 = phi i32 [ %25, %24 ], [ %19, %16 ], [ %23, %22 ]
  %26 = load i8, ptr @.str.19, align 1
  %27 = sext i8 %26 to i32
  %28 = icmp eq i32 %.030, %27
  %29 = icmp ne ptr %1, null
  %or.cond = and i1 %29, %28
  br i1 %or.cond, label %30, label %40

30:                                               ; preds = %.loopexit
  %31 = tail call ptr @freopen(ptr noundef nonnull %1, ptr noundef nonnull @.str.20, ptr noundef %17) #5
  store ptr %31, ptr %18, align 8, !tbaa !12
  %32 = icmp eq ptr %31, null
  br i1 %32, label %33, label %.preheader

33:                                               ; preds = %30
  %34 = tail call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.21, i32 noundef %5)
  br label %53

.preheader:                                       ; preds = %30, %.preheader
  %35 = tail call i32 @getc(ptr noundef nonnull %31)
  %36 = icmp ne i32 %35, -1
  %37 = icmp ne i32 %35, %.030
  %38 = and i1 %36, %37
  br i1 %38, label %.preheader, label %39, !llvm.loop !13

39:                                               ; preds = %.preheader
  store i32 0, ptr %3, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %39, %.loopexit
  %41 = phi ptr [ %31, %39 ], [ %17, %.loopexit ]
  %.1 = phi i32 [ %35, %39 ], [ %.030, %.loopexit ]
  %42 = tail call i32 @ungetc(i32 noundef %.1, ptr noundef %41)
  %43 = tail call ptr @lua_tolstring(ptr noundef %0, i32 noundef -1, ptr noundef null) #5
  %44 = call i32 @lua_load(ptr noundef %0, ptr noundef nonnull @getF, ptr noundef nonnull %3, ptr noundef %43) #5
  %45 = load ptr, ptr %18, align 8, !tbaa !12
  %46 = call i32 @ferror(ptr noundef %45) #5
  br i1 %29, label %47, label %49

47:                                               ; preds = %40
  %48 = call i32 @fclose(ptr noundef %45)
  br label %49

49:                                               ; preds = %47, %40
  %.not = icmp eq i32 %46, 0
  br i1 %.not, label %52, label %50

50:                                               ; preds = %49
  call void @lua_settop(ptr noundef %0, i32 noundef %5) #5
  %51 = call i32 @errfile(ptr noundef %0, ptr noundef nonnull @.str.22, i32 noundef %5)
  br label %53

52:                                               ; preds = %49
  call void @lua_remove(ptr noundef %0, i32 noundef %5) #5
  br label %53

53:                                               ; preds = %52, %50, %33, %14
  %.0 = phi i32 [ %34, %33 ], [ %51, %50 ], [ %44, %52 ], [ %15, %14 ]
  call void @llvm.lifetime.end.p0(i64 8208, ptr nonnull %3) #5
  ret i32 %.0
}

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

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

; Function Attrs: nofree nounwind
declare noundef i32 @getc(ptr nocapture noundef) local_unnamed_addr #3

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @ungetc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #3

declare i32 @lua_load(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nofree nounwind memory(read)
declare noundef i32 @ferror(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3

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

!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 0}
!6 = !{!"LoadF", !7, i64 0, !10, i64 8, !8, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass