; LLVM IR from ryanlayer/giggle :: lib/htslib/test (hts_endian)

; 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.Test_double = type { [8 x i8], [9 x i8], double }

@tests_double = external dso_local global [7 x %struct.Test_double], align 16
@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [43 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #3

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

; Function Attrs: nounwind uwtable
define dso_local i32 @t_double(i32 noundef %0) #2 {
  %2 = alloca i32, align 4
  %3 = alloca [9 x i8], align 1
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 9, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !9
  br label %7

7:                                                ; preds = %139, %1
  %8 = load i64, ptr %4, align 8, !tbaa !9
  %9 = icmp ult i64 %8, 7
  br i1 %9, label %10, label %142

10:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = icmp ne i32 %11, 0
  br i1 %12, label %13, label %25

13:                                               ; preds = %10
  %14 = load ptr, ptr @stderr, align 8, !tbaa !11
  %15 = load i64, ptr %4, align 8, !tbaa !9
  %16 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %15
  %17 = getelementptr inbounds %struct.Test_double, ptr %16, i32 0, i32 0
  %18 = getelementptr inbounds [8 x i8], ptr %17, i64 0, i64 0
  %19 = call ptr @to_hex(ptr noundef %18, i32 noundef 8)
  %20 = load i64, ptr %4, align 8, !tbaa !9
  %21 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.Test_double, ptr %21, i32 0, i32 2
  %23 = load double, ptr %22, align 8, !tbaa !13
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.5, ptr noundef %19, double noundef %23) #5
  br label %25

25:                                               ; preds = %13, %10
  %26 = load i64, ptr %4, align 8, !tbaa !9
  %27 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %26
  %28 = getelementptr inbounds %struct.Test_double, ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds [8 x i8], ptr %28, i64 0, i64 0
  %30 = call double @le_to_double(ptr noundef %29)
  store double %30, ptr %6, align 8, !tbaa !16
  %31 = load double, ptr %6, align 8, !tbaa !16
  %32 = load i64, ptr %4, align 8, !tbaa !9
  %33 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %32
  %34 = getelementptr inbounds %struct.Test_double, ptr %33, i32 0, i32 2
  %35 = load double, ptr %34, align 8, !tbaa !13
  %36 = fcmp une double %31, %35
  br i1 %36, label %37, label %52

37:                                               ; preds = %25
  %38 = load ptr, ptr @stderr, align 8, !tbaa !11
  %39 = load i64, ptr %4, align 8, !tbaa !9
  %40 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %39
  %41 = getelementptr inbounds %struct.Test_double, ptr %40, i32 0, i32 0
  %42 = getelementptr inbounds [8 x i8], ptr %41, i64 0, i64 0
  %43 = call ptr @to_hex(ptr noundef %42, i32 noundef 8)
  %44 = load double, ptr %6, align 8, !tbaa !16
  %45 = load i64, ptr %4, align 8, !tbaa !9
  %46 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %45
  %47 = getelementptr inbounds %struct.Test_double, ptr %46, i32 0, i32 2
  %48 = load double, ptr %47, align 8, !tbaa !13
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.6, ptr noundef %43, double noundef %44, double noundef %48) #5
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %5, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %37, %25
  %53 = load i64, ptr %4, align 8, !tbaa !9
  %54 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %53
  %55 = getelementptr inbounds %struct.Test_double, ptr %54, i32 0, i32 1
  %56 = getelementptr inbounds [9 x i8], ptr %55, i64 0, i64 0
  %57 = getelementptr inbounds i8, ptr %56, i64 1
  %58 = call double @le_to_double(ptr noundef %57)
  store double %58, ptr %6, align 8, !tbaa !16
  %59 = load double, ptr %6, align 8, !tbaa !16
  %60 = load i64, ptr %4, align 8, !tbaa !9
  %61 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %60
  %62 = getelementptr inbounds %struct.Test_double, ptr %61, i32 0, i32 2
  %63 = load double, ptr %62, align 8, !tbaa !13
  %64 = fcmp une double %59, %63
  br i1 %64, label %65, label %81

65:                                               ; preds = %52
  %66 = load ptr, ptr @stderr, align 8, !tbaa !11
  %67 = load i64, ptr %4, align 8, !tbaa !9
  %68 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %67
  %69 = getelementptr inbounds %struct.Test_double, ptr %68, i32 0, i32 1
  %70 = getelementptr inbounds [9 x i8], ptr %69, i64 0, i64 0
  %71 = getelementptr inbounds i8, ptr %70, i64 1
  %72 = call ptr @to_hex(ptr noundef %71, i32 noundef 8)
  %73 = load double, ptr %6, align 8, !tbaa !16
  %74 = load i64, ptr %4, align 8, !tbaa !9
  %75 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %74
  %76 = getelementptr inbounds %struct.Test_double, ptr %75, i32 0, i32 2
  %77 = load double, ptr %76, align 8, !tbaa !13
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.7, ptr noundef %72, double noundef %73, double noundef %77) #5
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %5, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %65, %52
  %82 = load i64, ptr %4, align 8, !tbaa !9
  %83 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %82
  %84 = getelementptr inbounds %struct.Test_double, ptr %83, i32 0, i32 2
  %85 = load double, ptr %84, align 8, !tbaa !13
  %86 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  call void @double_to_le(double noundef %85, ptr noundef %86)
  %87 = load i64, ptr %4, align 8, !tbaa !9
  %88 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %87
  %89 = getelementptr inbounds %struct.Test_double, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds [8 x i8], ptr %89, i64 0, i64 0
  %91 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %92 = call i32 @memcmp(ptr noundef %90, ptr noundef %91, i64 noundef 8) #6
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %108

94:                                               ; preds = %81
  %95 = load ptr, ptr @stderr, align 8, !tbaa !11
  %96 = load i64, ptr %4, align 8, !tbaa !9
  %97 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %96
  %98 = getelementptr inbounds %struct.Test_double, ptr %97, i32 0, i32 2
  %99 = load double, ptr %98, align 8, !tbaa !13
  %100 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %101 = call ptr @to_hex(ptr noundef %100, i32 noundef 8)
  %102 = load i64, ptr %4, align 8, !tbaa !9
  %103 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %102
  %104 = getelementptr inbounds %struct.Test_double, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds [8 x i8], ptr %104, i64 0, i64 0
  %106 = call ptr @to_hex(ptr noundef %105, i32 noundef 8)
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.8, double noundef %99, ptr noundef %101, ptr noundef %106) #5
  br label %108

108:                                              ; preds = %94, %81
  %109 = load i64, ptr %4, align 8, !tbaa !9
  %110 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %109
  %111 = getelementptr inbounds %struct.Test_double, ptr %110, i32 0, i32 2
  %112 = load double, ptr %111, align 8, !tbaa !13
  %113 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %114 = getelementptr inbounds i8, ptr %113, i64 1
  call void @double_to_le(double noundef %112, ptr noundef %114)
  %115 = load i64, ptr %4, align 8, !tbaa !9
  %116 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %115
  %117 = getelementptr inbounds %struct.Test_double, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds [8 x i8], ptr %117, i64 0, i64 0
  %119 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %120 = getelementptr inbounds i8, ptr %119, i64 1
  %121 = call i32 @memcmp(ptr noundef %118, ptr noundef %120, i64 noundef 8) #6
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %138

123:                                              ; preds = %108
  %124 = load ptr, ptr @stderr, align 8, !tbaa !11
  %125 = load i64, ptr %4, align 8, !tbaa !9
  %126 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %125
  %127 = getelementptr inbounds %struct.Test_double, ptr %126, i32 0, i32 2
  %128 = load double, ptr %127, align 8, !tbaa !13
  %129 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %130 = getelementptr inbounds i8, ptr %129, i64 1
  %131 = call ptr @to_hex(ptr noundef %130, i32 noundef 8)
  %132 = load i64, ptr %4, align 8, !tbaa !9
  %133 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %132
  %134 = getelementptr inbounds %struct.Test_double, ptr %133, i32 0, i32 0
  %135 = getelementptr inbounds [8 x i8], ptr %134, i64 0, i64 0
  %136 = call ptr @to_hex(ptr noundef %135, i32 noundef 8)
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.9, double noundef %128, ptr noundef %131, ptr noundef %136) #5
  br label %138

138:                                              ; preds = %123, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %139

139:                                              ; preds = %138
  %140 = load i64, ptr %4, align 8, !tbaa !9
  %141 = add i64 %140, 1
  store i64 %141, ptr %4, align 8, !tbaa !9
  br label %7, !llvm.loop !17

142:                                              ; preds = %7
  %143 = load i32, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 9, ptr %3) #5
  ret i32 %143
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @le_to_double(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @double_to_le(double noundef, ptr noundef) #4

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 = { nounwind willreturn 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !15, i64 24}
!14 = !{!"", !7, i64 0, !7, i64 8, !15, i64 24}
!15 = !{!"double", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; 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.Test_double = type { [8 x i8], [9 x i8], double }

@tests_double = external dso_local global [7 x %struct.Test_double], align 16
@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [43 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @t_double(i32 noundef %0) local_unnamed_addr #2 {
  %2 = alloca [9 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 9, ptr nonnull %2) #5
  %.not = icmp eq i32 %0, 0
  %3 = getelementptr inbounds i8, ptr %2, i64 1
  br label %4

4:                                                ; preds = %1, %51
  %.034 = phi i32 [ 0, %1 ], [ %.2, %51 ]
  %.02733 = phi i64 [ 0, %1 ], [ %52, %51 ]
  br i1 %.not, label %12, label %5

5:                                                ; preds = %4
  %6 = load ptr, ptr @stderr, align 8, !tbaa !5
  %7 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %.02733
  %8 = call ptr @to_hex(ptr noundef nonnull %7, i32 noundef 8)
  %9 = getelementptr inbounds i8, ptr %7, i64 24
  %10 = load double, ptr %9, align 8, !tbaa !9
  %11 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str.5, ptr noundef %8, double noundef %10) #6
  br label %12

12:                                               ; preds = %5, %4
  %13 = getelementptr inbounds [7 x %struct.Test_double], ptr @tests_double, i64 0, i64 %.02733
  %14 = call double @le_to_double(ptr noundef nonnull %13)
  %15 = getelementptr inbounds i8, ptr %13, i64 24
  %16 = load double, ptr %15, align 8, !tbaa !9
  %17 = fcmp une double %14, %16
  br i1 %17, label %18, label %24

18:                                               ; preds = %12
  %19 = load ptr, ptr @stderr, align 8, !tbaa !5
  %20 = call ptr @to_hex(ptr noundef nonnull %13, i32 noundef 8)
  %21 = load double, ptr %15, align 8, !tbaa !9
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.6, ptr noundef %20, double noundef %14, double noundef %21) #6
  %23 = add nsw i32 %.034, 1
  br label %24

24:                                               ; preds = %18, %12
  %.1 = phi i32 [ %23, %18 ], [ %.034, %12 ]
  %25 = getelementptr inbounds i8, ptr %13, i64 9
  %26 = call double @le_to_double(ptr noundef nonnull %25)
  %27 = load double, ptr %15, align 8, !tbaa !9
  %28 = fcmp une double %26, %27
  br i1 %28, label %29, label %35

29:                                               ; preds = %24
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = call ptr @to_hex(ptr noundef nonnull %25, i32 noundef 8)
  %32 = load double, ptr %15, align 8, !tbaa !9
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.7, ptr noundef %31, double noundef %26, double noundef %32) #6
  %34 = add nsw i32 %.1, 1
  %.pre = load double, ptr %15, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %29, %24
  %36 = phi double [ %.pre, %29 ], [ %27, %24 ]
  %.2 = phi i32 [ %34, %29 ], [ %.1, %24 ]
  call void @double_to_le(double noundef %36, ptr noundef nonnull %2)
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(8) %13, ptr noundef nonnull dereferenceable(8) %2, i64 8)
  %.not30 = icmp eq i32 %bcmp, 0
  br i1 %.not30, label %43, label %37

37:                                               ; preds = %35
  %38 = load ptr, ptr @stderr, align 8, !tbaa !5
  %39 = load double, ptr %15, align 8, !tbaa !9
  %40 = call ptr @to_hex(ptr noundef nonnull %2, i32 noundef 8)
  %41 = call ptr @to_hex(ptr noundef nonnull %13, i32 noundef 8)
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef nonnull @.str.8, double noundef %39, ptr noundef %40, ptr noundef %41) #6
  br label %43

43:                                               ; preds = %37, %35
  %44 = load double, ptr %15, align 8, !tbaa !9
  call void @double_to_le(double noundef %44, ptr noundef nonnull %3)
  %bcmp31 = call i32 @bcmp(ptr noundef nonnull dereferenceable(8) %13, ptr noundef nonnull dereferenceable(8) %3, i64 8)
  %.not32 = icmp eq i32 %bcmp31, 0
  br i1 %.not32, label %51, label %45

45:                                               ; preds = %43
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = load double, ptr %15, align 8, !tbaa !9
  %48 = call ptr @to_hex(ptr noundef nonnull %3, i32 noundef 8)
  %49 = call ptr @to_hex(ptr noundef nonnull %13, i32 noundef 8)
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str.9, double noundef %47, ptr noundef %48, ptr noundef %49) #6
  br label %51

51:                                               ; preds = %45, %43
  %52 = add nuw nsw i64 %.02733, 1
  %exitcond.not = icmp eq i64 %52, 7
  br i1 %exitcond.not, label %53, label %4, !llvm.loop !12

53:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 9, ptr nonnull %2) #5
  ret i32 %.2
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @le_to_double(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @double_to_le(double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #4

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 = { 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 = { nofree nounwind willreturn memory(argmem: read) }
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 24}
!10 = !{!"", !7, i64 0, !7, i64 8, !11, i64 24}
!11 = !{!"double", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,SROAPass,SimplifyCFGPass