; 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_float = type { [4 x i8], [5 x i8], float }

@tests_float = external dso_local global [7 x %struct.Test_float], align 16
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @t_float(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca [9 x i8], align 1
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  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 = %146, %1
  %8 = load i64, ptr %4, align 8, !tbaa !9
  %9 = icmp ult i64 %8, 7
  br i1 %9, label %10, label %149

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

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_float], ptr @tests_float, i64 0, i64 %15
  %17 = getelementptr inbounds %struct.Test_float, ptr %16, i32 0, i32 0
  %18 = getelementptr inbounds [4 x i8], ptr %17, i64 0, i64 0
  %19 = call ptr @to_hex(ptr noundef %18, i32 noundef 4)
  %20 = load i64, ptr %4, align 8, !tbaa !9
  %21 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.Test_float, ptr %21, i32 0, i32 2
  %23 = load float, ptr %22, align 4, !tbaa !13
  %24 = fpext float %23 to double
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str, ptr noundef %19, double noundef %24) #5
  br label %26

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

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

55:                                               ; preds = %38, %26
  %56 = load i64, ptr %4, align 8, !tbaa !9
  %57 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %56
  %58 = getelementptr inbounds %struct.Test_float, ptr %57, i32 0, i32 1
  %59 = getelementptr inbounds [5 x i8], ptr %58, i64 0, i64 0
  %60 = getelementptr inbounds i8, ptr %59, i64 1
  %61 = call float @le_to_float(ptr noundef %60)
  store float %61, ptr %6, align 4, !tbaa !16
  %62 = load float, ptr %6, align 4, !tbaa !16
  %63 = load i64, ptr %4, align 8, !tbaa !9
  %64 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %63
  %65 = getelementptr inbounds %struct.Test_float, ptr %64, i32 0, i32 2
  %66 = load float, ptr %65, align 4, !tbaa !13
  %67 = fcmp une float %62, %66
  br i1 %67, label %68, label %86

68:                                               ; preds = %55
  %69 = load ptr, ptr @stderr, align 8, !tbaa !11
  %70 = load i64, ptr %4, align 8, !tbaa !9
  %71 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %70
  %72 = getelementptr inbounds %struct.Test_float, ptr %71, i32 0, i32 1
  %73 = getelementptr inbounds [5 x i8], ptr %72, i64 0, i64 0
  %74 = getelementptr inbounds i8, ptr %73, i64 1
  %75 = call ptr @to_hex(ptr noundef %74, i32 noundef 4)
  %76 = load float, ptr %6, align 4, !tbaa !16
  %77 = fpext float %76 to double
  %78 = load i64, ptr %4, align 8, !tbaa !9
  %79 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %78
  %80 = getelementptr inbounds %struct.Test_float, ptr %79, i32 0, i32 2
  %81 = load float, ptr %80, align 4, !tbaa !13
  %82 = fpext float %81 to double
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.2, ptr noundef %75, double noundef %77, double noundef %82) #5
  %84 = load i32, ptr %5, align 4, !tbaa !5
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %5, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %68, %55
  %87 = load i64, ptr %4, align 8, !tbaa !9
  %88 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %87
  %89 = getelementptr inbounds %struct.Test_float, ptr %88, i32 0, i32 2
  %90 = load float, ptr %89, align 4, !tbaa !13
  %91 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  call void @float_to_le(float noundef %90, ptr noundef %91)
  %92 = load i64, ptr %4, align 8, !tbaa !9
  %93 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %92
  %94 = getelementptr inbounds %struct.Test_float, ptr %93, i32 0, i32 0
  %95 = getelementptr inbounds [4 x i8], ptr %94, i64 0, i64 0
  %96 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %97 = call i32 @memcmp(ptr noundef %95, ptr noundef %96, i64 noundef 4) #6
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %114

99:                                               ; preds = %86
  %100 = load ptr, ptr @stderr, align 8, !tbaa !11
  %101 = load i64, ptr %4, align 8, !tbaa !9
  %102 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %101
  %103 = getelementptr inbounds %struct.Test_float, ptr %102, i32 0, i32 2
  %104 = load float, ptr %103, align 4, !tbaa !13
  %105 = fpext float %104 to double
  %106 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %107 = call ptr @to_hex(ptr noundef %106, i32 noundef 4)
  %108 = load i64, ptr %4, align 8, !tbaa !9
  %109 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %108
  %110 = getelementptr inbounds %struct.Test_float, ptr %109, i32 0, i32 0
  %111 = getelementptr inbounds [4 x i8], ptr %110, i64 0, i64 0
  %112 = call ptr @to_hex(ptr noundef %111, i32 noundef 4)
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.3, double noundef %105, ptr noundef %107, ptr noundef %112) #5
  br label %114

114:                                              ; preds = %99, %86
  %115 = load i64, ptr %4, align 8, !tbaa !9
  %116 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %115
  %117 = getelementptr inbounds %struct.Test_float, ptr %116, i32 0, i32 2
  %118 = load float, ptr %117, align 4, !tbaa !13
  %119 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %120 = getelementptr inbounds i8, ptr %119, i64 1
  call void @float_to_le(float noundef %118, ptr noundef %120)
  %121 = load i64, ptr %4, align 8, !tbaa !9
  %122 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %121
  %123 = getelementptr inbounds %struct.Test_float, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds [4 x i8], ptr %123, i64 0, i64 0
  %125 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %126 = getelementptr inbounds i8, ptr %125, i64 1
  %127 = call i32 @memcmp(ptr noundef %124, ptr noundef %126, i64 noundef 4) #6
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %145

129:                                              ; preds = %114
  %130 = load ptr, ptr @stderr, align 8, !tbaa !11
  %131 = load i64, ptr %4, align 8, !tbaa !9
  %132 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %131
  %133 = getelementptr inbounds %struct.Test_float, ptr %132, i32 0, i32 2
  %134 = load float, ptr %133, align 4, !tbaa !13
  %135 = fpext float %134 to double
  %136 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0
  %137 = getelementptr inbounds i8, ptr %136, i64 1
  %138 = call ptr @to_hex(ptr noundef %137, i32 noundef 4)
  %139 = load i64, ptr %4, align 8, !tbaa !9
  %140 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %139
  %141 = getelementptr inbounds %struct.Test_float, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds [4 x i8], ptr %141, i64 0, i64 0
  %143 = call ptr @to_hex(ptr noundef %142, i32 noundef 4)
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.4, double noundef %135, ptr noundef %138, ptr noundef %143) #5
  br label %145

145:                                              ; preds = %129, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %146

146:                                              ; preds = %145
  %147 = load i64, ptr %4, align 8, !tbaa !9
  %148 = add i64 %147, 1
  store i64 %148, ptr %4, align 8, !tbaa !9
  br label %7, !llvm.loop !17

149:                                              ; preds = %7
  %150 = 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 %150
}

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @float_to_le(float noundef, ptr noundef) #3

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

; 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 = { 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 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 #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 12}
!14 = !{!"", !7, i64 0, !7, i64 4, !15, i64 12}
!15 = !{!"float", !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_float = type { [4 x i8], [5 x i8], float }

@tests_float = external dso_local global [7 x %struct.Test_float], align 16
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @t_float(i32 noundef %0) local_unnamed_addr #0 {
  %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, %58
  %.034 = phi i32 [ 0, %1 ], [ %.2, %58 ]
  %.02733 = phi i64 [ 0, %1 ], [ %59, %58 ]
  br i1 %.not, label %13, label %5

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

13:                                               ; preds = %5, %4
  %14 = getelementptr inbounds [7 x %struct.Test_float], ptr @tests_float, i64 0, i64 %.02733
  %15 = call float @le_to_float(ptr noundef nonnull %14)
  %16 = getelementptr inbounds i8, ptr %14, i64 12
  %17 = load float, ptr %16, align 4, !tbaa !9
  %18 = fcmp une float %15, %17
  br i1 %18, label %19, label %27

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

27:                                               ; preds = %19, %13
  %.1 = phi i32 [ %26, %19 ], [ %.034, %13 ]
  %28 = getelementptr inbounds i8, ptr %14, i64 5
  %29 = call float @le_to_float(ptr noundef nonnull %28)
  %30 = load float, ptr %16, align 4, !tbaa !9
  %31 = fcmp une float %29, %30
  br i1 %31, label %32, label %40

32:                                               ; preds = %27
  %33 = load ptr, ptr @stderr, align 8, !tbaa !5
  %34 = call ptr @to_hex(ptr noundef nonnull %28, i32 noundef 4)
  %35 = fpext float %29 to double
  %36 = load float, ptr %16, align 4, !tbaa !9
  %37 = fpext float %36 to double
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.2, ptr noundef %34, double noundef %35, double noundef %37) #6
  %39 = add nsw i32 %.1, 1
  %.pre = load float, ptr %16, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %32, %27
  %41 = phi float [ %.pre, %32 ], [ %30, %27 ]
  %.2 = phi i32 [ %39, %32 ], [ %.1, %27 ]
  call void @float_to_le(float noundef %41, ptr noundef nonnull %2)
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %14, ptr noundef nonnull dereferenceable(4) %2, i64 4)
  %.not30 = icmp eq i32 %bcmp, 0
  br i1 %.not30, label %49, label %42

42:                                               ; preds = %40
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = load float, ptr %16, align 4, !tbaa !9
  %45 = fpext float %44 to double
  %46 = call ptr @to_hex(ptr noundef nonnull %2, i32 noundef 4)
  %47 = call ptr @to_hex(ptr noundef nonnull %14, i32 noundef 4)
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.3, double noundef %45, ptr noundef %46, ptr noundef %47) #6
  br label %49

49:                                               ; preds = %42, %40
  %50 = load float, ptr %16, align 4, !tbaa !9
  call void @float_to_le(float noundef %50, ptr noundef nonnull %3)
  %bcmp31 = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %14, ptr noundef nonnull dereferenceable(4) %3, i64 4)
  %.not32 = icmp eq i32 %bcmp31, 0
  br i1 %.not32, label %58, label %51

51:                                               ; preds = %49
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = load float, ptr %16, align 4, !tbaa !9
  %54 = fpext float %53 to double
  %55 = call ptr @to_hex(ptr noundef nonnull %3, i32 noundef 4)
  %56 = call ptr @to_hex(ptr noundef nonnull %14, i32 noundef 4)
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str.4, double noundef %54, ptr noundef %55, ptr noundef %56) #6
  br label %58

58:                                               ; preds = %51, %49
  %59 = add nuw nsw i64 %.02733, 1
  %exitcond.not = icmp eq i64 %59, 7
  br i1 %exitcond.not, label %60, label %4, !llvm.loop !12

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

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

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

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

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

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

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

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 12}
!10 = !{!"", !7, i64 0, !7, i64 4, !11, i64 12}
!11 = !{!"float", !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