; LLVM IR from jgaeddert/liquid-dsp :: src/sequence/tests (bsequence_autotest)

; 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"

@__const.autotest_bsequence_init.v = external hidden unnamed_addr constant [2 x i8], align 1
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_bsequence_init() #0 {
  %1 = alloca [2 x i8], align 1
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 2, ptr %1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.autotest_bsequence_init.v, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %3 = call ptr @bsequence_create(i32 noundef 16)
  store ptr %3, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
  %6 = call i32 @bsequence_init(ptr noundef %4, ptr noundef %5)
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = call i32 @bsequence_index(ptr noundef %7, i32 noundef 15)
  %9 = icmp ne i32 %8, 1
  br i1 %9, label %10, label %14

10:                                               ; preds = %0
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = call i32 @bsequence_index(ptr noundef %11, i32 noundef 15)
  %13 = uitofp i32 %12 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 39, ptr noundef @.str.1, double noundef %13, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %15

14:                                               ; preds = %0
  call void (...) @liquid_autotest_passed()
  br label %15

15:                                               ; preds = %14, %10
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = call i32 @bsequence_index(ptr noundef %16, i32 noundef 14)
  %18 = icmp ne i32 %17, 1
  br i1 %18, label %19, label %23

19:                                               ; preds = %15
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = call i32 @bsequence_index(ptr noundef %20, i32 noundef 14)
  %22 = uitofp i32 %21 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 40, ptr noundef @.str.4, double noundef %22, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %24

23:                                               ; preds = %15
  call void (...) @liquid_autotest_passed()
  br label %24

24:                                               ; preds = %23, %19
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = call i32 @bsequence_index(ptr noundef %25, i32 noundef 13)
  %27 = icmp ne i32 %26, 1
  br i1 %27, label %28, label %32

28:                                               ; preds = %24
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = call i32 @bsequence_index(ptr noundef %29, i32 noundef 13)
  %31 = uitofp i32 %30 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 41, ptr noundef @.str.5, double noundef %31, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %33

32:                                               ; preds = %24
  call void (...) @liquid_autotest_passed()
  br label %33

33:                                               ; preds = %32, %28
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = call i32 @bsequence_index(ptr noundef %34, i32 noundef 12)
  %36 = icmp ne i32 %35, 1
  br i1 %36, label %37, label %41

37:                                               ; preds = %33
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = call i32 @bsequence_index(ptr noundef %38, i32 noundef 12)
  %40 = uitofp i32 %39 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 42, ptr noundef @.str.6, double noundef %40, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %42

41:                                               ; preds = %33
  call void (...) @liquid_autotest_passed()
  br label %42

42:                                               ; preds = %41, %37
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = call i32 @bsequence_index(ptr noundef %43, i32 noundef 11)
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %50

46:                                               ; preds = %42
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = call i32 @bsequence_index(ptr noundef %47, i32 noundef 11)
  %49 = uitofp i32 %48 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 44, ptr noundef @.str.7, double noundef %49, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %51

50:                                               ; preds = %42
  call void (...) @liquid_autotest_passed()
  br label %51

51:                                               ; preds = %50, %46
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = call i32 @bsequence_index(ptr noundef %52, i32 noundef 10)
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %59

55:                                               ; preds = %51
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = call i32 @bsequence_index(ptr noundef %56, i32 noundef 10)
  %58 = uitofp i32 %57 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 45, ptr noundef @.str.9, double noundef %58, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %60

59:                                               ; preds = %51
  call void (...) @liquid_autotest_passed()
  br label %60

60:                                               ; preds = %59, %55
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = call i32 @bsequence_index(ptr noundef %61, i32 noundef 9)
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %68

64:                                               ; preds = %60
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = call i32 @bsequence_index(ptr noundef %65, i32 noundef 9)
  %67 = uitofp i32 %66 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 46, ptr noundef @.str.10, double noundef %67, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %69

68:                                               ; preds = %60
  call void (...) @liquid_autotest_passed()
  br label %69

69:                                               ; preds = %68, %64
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = call i32 @bsequence_index(ptr noundef %70, i32 noundef 8)
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %77

73:                                               ; preds = %69
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = call i32 @bsequence_index(ptr noundef %74, i32 noundef 8)
  %76 = uitofp i32 %75 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 47, ptr noundef @.str.11, double noundef %76, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %78

77:                                               ; preds = %69
  call void (...) @liquid_autotest_passed()
  br label %78

78:                                               ; preds = %77, %73
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = call i32 @bsequence_index(ptr noundef %79, i32 noundef 7)
  %81 = icmp ne i32 %80, 1
  br i1 %81, label %82, label %86

82:                                               ; preds = %78
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = call i32 @bsequence_index(ptr noundef %83, i32 noundef 7)
  %85 = uitofp i32 %84 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 49, ptr noundef @.str.12, double noundef %85, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %87

86:                                               ; preds = %78
  call void (...) @liquid_autotest_passed()
  br label %87

87:                                               ; preds = %86, %82
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = call i32 @bsequence_index(ptr noundef %88, i32 noundef 6)
  %90 = icmp ne i32 %89, 1
  br i1 %90, label %91, label %95

91:                                               ; preds = %87
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = call i32 @bsequence_index(ptr noundef %92, i32 noundef 6)
  %94 = uitofp i32 %93 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 50, ptr noundef @.str.13, double noundef %94, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %96

95:                                               ; preds = %87
  call void (...) @liquid_autotest_passed()
  br label %96

96:                                               ; preds = %95, %91
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = call i32 @bsequence_index(ptr noundef %97, i32 noundef 5)
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %104

100:                                              ; preds = %96
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = call i32 @bsequence_index(ptr noundef %101, i32 noundef 5)
  %103 = uitofp i32 %102 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 51, ptr noundef @.str.14, double noundef %103, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %105

104:                                              ; preds = %96
  call void (...) @liquid_autotest_passed()
  br label %105

105:                                              ; preds = %104, %100
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = call i32 @bsequence_index(ptr noundef %106, i32 noundef 4)
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %113

109:                                              ; preds = %105
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = call i32 @bsequence_index(ptr noundef %110, i32 noundef 4)
  %112 = uitofp i32 %111 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 52, ptr noundef @.str.15, double noundef %112, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %114

113:                                              ; preds = %105
  call void (...) @liquid_autotest_passed()
  br label %114

114:                                              ; preds = %113, %109
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = call i32 @bsequence_index(ptr noundef %115, i32 noundef 3)
  %117 = icmp ne i32 %116, 1
  br i1 %117, label %118, label %122

118:                                              ; preds = %114
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = call i32 @bsequence_index(ptr noundef %119, i32 noundef 3)
  %121 = uitofp i32 %120 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 54, ptr noundef @.str.16, double noundef %121, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %123

122:                                              ; preds = %114
  call void (...) @liquid_autotest_passed()
  br label %123

123:                                              ; preds = %122, %118
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  %125 = call i32 @bsequence_index(ptr noundef %124, i32 noundef 2)
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %131

127:                                              ; preds = %123
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = call i32 @bsequence_index(ptr noundef %128, i32 noundef 2)
  %130 = uitofp i32 %129 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 55, ptr noundef @.str.17, double noundef %130, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %132

131:                                              ; preds = %123
  call void (...) @liquid_autotest_passed()
  br label %132

132:                                              ; preds = %131, %127
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = call i32 @bsequence_index(ptr noundef %133, i32 noundef 1)
  %135 = icmp ne i32 %134, 1
  br i1 %135, label %136, label %140

136:                                              ; preds = %132
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = call i32 @bsequence_index(ptr noundef %137, i32 noundef 1)
  %139 = uitofp i32 %138 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 56, ptr noundef @.str.18, double noundef %139, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %141

140:                                              ; preds = %132
  call void (...) @liquid_autotest_passed()
  br label %141

141:                                              ; preds = %140, %136
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  %143 = call i32 @bsequence_index(ptr noundef %142, i32 noundef 0)
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %149

145:                                              ; preds = %141
  %146 = load ptr, ptr %2, align 8, !tbaa !5
  %147 = call i32 @bsequence_index(ptr noundef %146, i32 noundef 0)
  %148 = uitofp i32 %147 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 57, ptr noundef @.str.19, double noundef %148, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %150

149:                                              ; preds = %141
  call void (...) @liquid_autotest_passed()
  br label %150

150:                                              ; preds = %149, %145
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = call i32 @bsequence_destroy(ptr noundef %151)
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %1) #4
  ret void
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare ptr @bsequence_create(i32 noundef) #3

declare i32 @bsequence_init(ptr noundef, ptr noundef) #3

declare i32 @bsequence_index(ptr noundef, i32 noundef) #3

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #3

declare void @liquid_autotest_passed(...) #3

declare i32 @bsequence_destroy(ptr noundef) #3

; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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"}


; 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"

@__const.autotest_bsequence_init.v = external hidden unnamed_addr constant [2 x i8], align 1
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_bsequence_init() local_unnamed_addr #0 {
  %1 = alloca [2 x i8], align 2
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %1) #3
  %2 = load i16, ptr @__const.autotest_bsequence_init.v, align 1
  store i16 %2, ptr %1, align 2
  %3 = tail call ptr @bsequence_create(i32 noundef 16) #3
  %4 = call i32 @bsequence_init(ptr noundef %3, ptr noundef nonnull %1) #3
  %5 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 15) #3
  %.not = icmp eq i32 %5, 1
  br i1 %.not, label %9, label %6

6:                                                ; preds = %0
  %7 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 15) #3
  %8 = uitofp i32 %7 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 39, ptr noundef nonnull @.str.1, double noundef %8, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %10

9:                                                ; preds = %0
  call void (...) @liquid_autotest_passed() #3
  br label %10

10:                                               ; preds = %9, %6
  %11 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 14) #3
  %.not34 = icmp eq i32 %11, 1
  br i1 %.not34, label %15, label %12

12:                                               ; preds = %10
  %13 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 14) #3
  %14 = uitofp i32 %13 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 40, ptr noundef nonnull @.str.4, double noundef %14, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %16

15:                                               ; preds = %10
  call void (...) @liquid_autotest_passed() #3
  br label %16

16:                                               ; preds = %15, %12
  %17 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 13) #3
  %.not35 = icmp eq i32 %17, 1
  br i1 %.not35, label %21, label %18

18:                                               ; preds = %16
  %19 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 13) #3
  %20 = uitofp i32 %19 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 41, ptr noundef nonnull @.str.5, double noundef %20, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %22

21:                                               ; preds = %16
  call void (...) @liquid_autotest_passed() #3
  br label %22

22:                                               ; preds = %21, %18
  %23 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 12) #3
  %.not36 = icmp eq i32 %23, 1
  br i1 %.not36, label %27, label %24

24:                                               ; preds = %22
  %25 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 12) #3
  %26 = uitofp i32 %25 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 42, ptr noundef nonnull @.str.6, double noundef %26, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %28

27:                                               ; preds = %22
  call void (...) @liquid_autotest_passed() #3
  br label %28

28:                                               ; preds = %27, %24
  %29 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 11) #3
  %.not37 = icmp eq i32 %29, 0
  br i1 %.not37, label %33, label %30

30:                                               ; preds = %28
  %31 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 11) #3
  %32 = uitofp i32 %31 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 44, ptr noundef nonnull @.str.7, double noundef %32, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %34

33:                                               ; preds = %28
  call void (...) @liquid_autotest_passed() #3
  br label %34

34:                                               ; preds = %33, %30
  %35 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 10) #3
  %.not38 = icmp eq i32 %35, 0
  br i1 %.not38, label %39, label %36

36:                                               ; preds = %34
  %37 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 10) #3
  %38 = uitofp i32 %37 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 45, ptr noundef nonnull @.str.9, double noundef %38, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %40

39:                                               ; preds = %34
  call void (...) @liquid_autotest_passed() #3
  br label %40

40:                                               ; preds = %39, %36
  %41 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 9) #3
  %.not39 = icmp eq i32 %41, 0
  br i1 %.not39, label %45, label %42

42:                                               ; preds = %40
  %43 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 9) #3
  %44 = uitofp i32 %43 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 46, ptr noundef nonnull @.str.10, double noundef %44, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %46

45:                                               ; preds = %40
  call void (...) @liquid_autotest_passed() #3
  br label %46

46:                                               ; preds = %45, %42
  %47 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 8) #3
  %.not40 = icmp eq i32 %47, 0
  br i1 %.not40, label %51, label %48

48:                                               ; preds = %46
  %49 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 8) #3
  %50 = uitofp i32 %49 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 47, ptr noundef nonnull @.str.11, double noundef %50, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %52

51:                                               ; preds = %46
  call void (...) @liquid_autotest_passed() #3
  br label %52

52:                                               ; preds = %51, %48
  %53 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 7) #3
  %.not41 = icmp eq i32 %53, 1
  br i1 %.not41, label %57, label %54

54:                                               ; preds = %52
  %55 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 7) #3
  %56 = uitofp i32 %55 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 49, ptr noundef nonnull @.str.12, double noundef %56, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %58

57:                                               ; preds = %52
  call void (...) @liquid_autotest_passed() #3
  br label %58

58:                                               ; preds = %57, %54
  %59 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 6) #3
  %.not42 = icmp eq i32 %59, 1
  br i1 %.not42, label %63, label %60

60:                                               ; preds = %58
  %61 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 6) #3
  %62 = uitofp i32 %61 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 50, ptr noundef nonnull @.str.13, double noundef %62, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %64

63:                                               ; preds = %58
  call void (...) @liquid_autotest_passed() #3
  br label %64

64:                                               ; preds = %63, %60
  %65 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 5) #3
  %.not43 = icmp eq i32 %65, 0
  br i1 %.not43, label %69, label %66

66:                                               ; preds = %64
  %67 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 5) #3
  %68 = uitofp i32 %67 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 51, ptr noundef nonnull @.str.14, double noundef %68, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %70

69:                                               ; preds = %64
  call void (...) @liquid_autotest_passed() #3
  br label %70

70:                                               ; preds = %69, %66
  %71 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 4) #3
  %.not44 = icmp eq i32 %71, 0
  br i1 %.not44, label %75, label %72

72:                                               ; preds = %70
  %73 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 4) #3
  %74 = uitofp i32 %73 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 52, ptr noundef nonnull @.str.15, double noundef %74, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %76

75:                                               ; preds = %70
  call void (...) @liquid_autotest_passed() #3
  br label %76

76:                                               ; preds = %75, %72
  %77 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 3) #3
  %.not45 = icmp eq i32 %77, 1
  br i1 %.not45, label %81, label %78

78:                                               ; preds = %76
  %79 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 3) #3
  %80 = uitofp i32 %79 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 54, ptr noundef nonnull @.str.16, double noundef %80, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %82

81:                                               ; preds = %76
  call void (...) @liquid_autotest_passed() #3
  br label %82

82:                                               ; preds = %81, %78
  %83 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 2) #3
  %.not46 = icmp eq i32 %83, 0
  br i1 %.not46, label %87, label %84

84:                                               ; preds = %82
  %85 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 2) #3
  %86 = uitofp i32 %85 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 55, ptr noundef nonnull @.str.17, double noundef %86, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %88

87:                                               ; preds = %82
  call void (...) @liquid_autotest_passed() #3
  br label %88

88:                                               ; preds = %87, %84
  %89 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 1) #3
  %.not47 = icmp eq i32 %89, 1
  br i1 %.not47, label %93, label %90

90:                                               ; preds = %88
  %91 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 1) #3
  %92 = uitofp i32 %91 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 56, ptr noundef nonnull @.str.18, double noundef %92, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.000000e+00) #3
  br label %94

93:                                               ; preds = %88
  call void (...) @liquid_autotest_passed() #3
  br label %94

94:                                               ; preds = %93, %90
  %95 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 0) #3
  %.not48 = icmp eq i32 %95, 0
  br i1 %.not48, label %99, label %96

96:                                               ; preds = %94
  %97 = call i32 @bsequence_index(ptr noundef %3, i32 noundef 0) #3
  %98 = uitofp i32 %97 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 57, ptr noundef nonnull @.str.19, double noundef %98, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %100

99:                                               ; preds = %94
  call void (...) @liquid_autotest_passed() #3
  br label %100

100:                                              ; preds = %99, %96
  %101 = call i32 @bsequence_destroy(ptr noundef %3) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %1) #3
  ret void
}

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

declare ptr @bsequence_create(i32 noundef) local_unnamed_addr #2

declare i32 @bsequence_init(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @bsequence_index(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #2

declare void @liquid_autotest_passed(...) local_unnamed_addr #2

declare i32 @bsequence_destroy(ptr 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) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 }

!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)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass