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

@.str = external hidden unnamed_addr constant [94 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.8 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_bsequence_add.v0 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_bsequence_add.v1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [22 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare ptr @bsequence_create(i32 noundef) #2

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

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

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

declare void @liquid_autotest_passed(...) #2

declare i32 @bsequence_destroy(ptr noundef) #2

; 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 void @autotest_bsequence_add() #3 {
  %1 = alloca [2 x i8], align 1
  %2 = alloca [2 x i8], align 1
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = 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_add.v0, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 2, ptr %2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.autotest_bsequence_add.v1, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %6 = call ptr @bsequence_create(i32 noundef 16)
  store ptr %6, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %7 = call ptr @bsequence_create(i32 noundef 16)
  store ptr %7, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
  %10 = call i32 @bsequence_init(ptr noundef %8, ptr noundef %9)
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 0
  %13 = call i32 @bsequence_init(ptr noundef %11, ptr noundef %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %14 = call ptr @bsequence_create(i32 noundef 16)
  store ptr %14, ptr %5, align 8, !tbaa !5
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call i32 @bsequence_add(ptr noundef %15, ptr noundef %16, ptr noundef %17)
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = call i32 @bsequence_index(ptr noundef %19, i32 noundef 15)
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %26

22:                                               ; preds = %0
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call i32 @bsequence_index(ptr noundef %23, i32 noundef 15)
  %25 = uitofp i32 %24 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 111, ptr noundef @.str.22, double noundef %25, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %27

26:                                               ; preds = %0
  call void (...) @liquid_autotest_passed()
  br label %27

27:                                               ; preds = %26, %22
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = call i32 @bsequence_index(ptr noundef %28, i32 noundef 14)
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %35

31:                                               ; preds = %27
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = call i32 @bsequence_index(ptr noundef %32, i32 noundef 14)
  %34 = uitofp i32 %33 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 112, ptr noundef @.str.23, double noundef %34, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %36

35:                                               ; preds = %27
  call void (...) @liquid_autotest_passed()
  br label %36

36:                                               ; preds = %35, %31
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call i32 @bsequence_index(ptr noundef %37, i32 noundef 13)
  %39 = icmp ne i32 %38, 1
  br i1 %39, label %40, label %44

40:                                               ; preds = %36
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = call i32 @bsequence_index(ptr noundef %41, i32 noundef 13)
  %43 = uitofp i32 %42 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 113, ptr noundef @.str.24, double noundef %43, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %45

44:                                               ; preds = %36
  call void (...) @liquid_autotest_passed()
  br label %45

45:                                               ; preds = %44, %40
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call i32 @bsequence_index(ptr noundef %46, i32 noundef 12)
  %48 = icmp ne i32 %47, 1
  br i1 %48, label %49, label %53

49:                                               ; preds = %45
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = call i32 @bsequence_index(ptr noundef %50, i32 noundef 12)
  %52 = uitofp i32 %51 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 114, ptr noundef @.str.25, double noundef %52, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %54

53:                                               ; preds = %45
  call void (...) @liquid_autotest_passed()
  br label %54

54:                                               ; preds = %53, %49
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call i32 @bsequence_index(ptr noundef %55, i32 noundef 11)
  %57 = icmp ne i32 %56, 1
  br i1 %57, label %58, label %62

58:                                               ; preds = %54
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = call i32 @bsequence_index(ptr noundef %59, i32 noundef 11)
  %61 = uitofp i32 %60 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 116, ptr noundef @.str.26, double noundef %61, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %63

62:                                               ; preds = %54
  call void (...) @liquid_autotest_passed()
  br label %63

63:                                               ; preds = %62, %58
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = call i32 @bsequence_index(ptr noundef %64, i32 noundef 10)
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %71

67:                                               ; preds = %63
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = call i32 @bsequence_index(ptr noundef %68, i32 noundef 10)
  %70 = uitofp i32 %69 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 117, ptr noundef @.str.27, double noundef %70, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %72

71:                                               ; preds = %63
  call void (...) @liquid_autotest_passed()
  br label %72

72:                                               ; preds = %71, %67
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = call i32 @bsequence_index(ptr noundef %73, i32 noundef 9)
  %75 = icmp ne i32 %74, 1
  br i1 %75, label %76, label %80

76:                                               ; preds = %72
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = call i32 @bsequence_index(ptr noundef %77, i32 noundef 9)
  %79 = uitofp i32 %78 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 118, ptr noundef @.str.28, double noundef %79, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %81

80:                                               ; preds = %72
  call void (...) @liquid_autotest_passed()
  br label %81

81:                                               ; preds = %80, %76
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = call i32 @bsequence_index(ptr noundef %82, i32 noundef 8)
  %84 = icmp ne i32 %83, 1
  br i1 %84, label %85, label %89

85:                                               ; preds = %81
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = call i32 @bsequence_index(ptr noundef %86, i32 noundef 8)
  %88 = uitofp i32 %87 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 119, ptr noundef @.str.29, double noundef %88, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %90

89:                                               ; preds = %81
  call void (...) @liquid_autotest_passed()
  br label %90

90:                                               ; preds = %89, %85
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = call i32 @bsequence_index(ptr noundef %91, i32 noundef 7)
  %93 = icmp ne i32 %92, 1
  br i1 %93, label %94, label %98

94:                                               ; preds = %90
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = call i32 @bsequence_index(ptr noundef %95, i32 noundef 7)
  %97 = uitofp i32 %96 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 121, ptr noundef @.str.30, double noundef %97, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %99

98:                                               ; preds = %90
  call void (...) @liquid_autotest_passed()
  br label %99

99:                                               ; preds = %98, %94
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = call i32 @bsequence_index(ptr noundef %100, i32 noundef 6)
  %102 = icmp ne i32 %101, 1
  br i1 %102, label %103, label %107

103:                                              ; preds = %99
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = call i32 @bsequence_index(ptr noundef %104, i32 noundef 6)
  %106 = uitofp i32 %105 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 122, ptr noundef @.str.31, double noundef %106, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %108

107:                                              ; preds = %99
  call void (...) @liquid_autotest_passed()
  br label %108

108:                                              ; preds = %107, %103
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = call i32 @bsequence_index(ptr noundef %109, i32 noundef 5)
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %116

112:                                              ; preds = %108
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = call i32 @bsequence_index(ptr noundef %113, i32 noundef 5)
  %115 = uitofp i32 %114 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 123, ptr noundef @.str.32, double noundef %115, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %117

116:                                              ; preds = %108
  call void (...) @liquid_autotest_passed()
  br label %117

117:                                              ; preds = %116, %112
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = call i32 @bsequence_index(ptr noundef %118, i32 noundef 4)
  %120 = icmp ne i32 %119, 1
  br i1 %120, label %121, label %125

121:                                              ; preds = %117
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = call i32 @bsequence_index(ptr noundef %122, i32 noundef 4)
  %124 = uitofp i32 %123 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 124, ptr noundef @.str.33, double noundef %124, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %126

125:                                              ; preds = %117
  call void (...) @liquid_autotest_passed()
  br label %126

126:                                              ; preds = %125, %121
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = call i32 @bsequence_index(ptr noundef %127, i32 noundef 3)
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %134

130:                                              ; preds = %126
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = call i32 @bsequence_index(ptr noundef %131, i32 noundef 3)
  %133 = uitofp i32 %132 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 126, ptr noundef @.str.34, double noundef %133, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %135

134:                                              ; preds = %126
  call void (...) @liquid_autotest_passed()
  br label %135

135:                                              ; preds = %134, %130
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = call i32 @bsequence_index(ptr noundef %136, i32 noundef 2)
  %138 = icmp ne i32 %137, 1
  br i1 %138, label %139, label %143

139:                                              ; preds = %135
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = call i32 @bsequence_index(ptr noundef %140, i32 noundef 2)
  %142 = uitofp i32 %141 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 127, ptr noundef @.str.35, double noundef %142, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 1.000000e+00)
  br label %144

143:                                              ; preds = %135
  call void (...) @liquid_autotest_passed()
  br label %144

144:                                              ; preds = %143, %139
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = call i32 @bsequence_index(ptr noundef %145, i32 noundef 1)
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %152

148:                                              ; preds = %144
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = call i32 @bsequence_index(ptr noundef %149, i32 noundef 1)
  %151 = uitofp i32 %150 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 128, ptr noundef @.str.36, double noundef %151, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %153

152:                                              ; preds = %144
  call void (...) @liquid_autotest_passed()
  br label %153

153:                                              ; preds = %152, %148
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = call i32 @bsequence_index(ptr noundef %154, i32 noundef 0)
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %161

157:                                              ; preds = %153
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = call i32 @bsequence_index(ptr noundef %158, i32 noundef 0)
  %160 = uitofp i32 %159 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 129, ptr noundef @.str.37, double noundef %160, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %162

161:                                              ; preds = %153
  call void (...) @liquid_autotest_passed()
  br label %162

162:                                              ; preds = %161, %157
  %163 = load ptr, ptr %3, align 8, !tbaa !5
  %164 = call i32 @bsequence_destroy(ptr noundef %163)
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = call i32 @bsequence_destroy(ptr noundef %165)
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = call i32 @bsequence_destroy(ptr noundef %167)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %1) #4
  ret void
}

declare i32 @bsequence_add(ptr noundef, ptr noundef, ptr noundef) #2

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

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

@.str = external hidden unnamed_addr constant [94 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.8 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_bsequence_add.v0 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_bsequence_add.v1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [22 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

declare ptr @bsequence_create(i32 noundef) local_unnamed_addr #1

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

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

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

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

declare i32 @bsequence_destroy(ptr noundef) local_unnamed_addr #1

; 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 void @autotest_bsequence_add() local_unnamed_addr #2 {
  %1 = alloca [2 x i8], align 2
  %2 = alloca [2 x i8], align 2
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %1) #3
  %3 = load i16, ptr @__const.autotest_bsequence_add.v0, align 1
  store i16 %3, ptr %1, align 2
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #3
  %4 = load i16, ptr @__const.autotest_bsequence_add.v1, align 1
  store i16 %4, ptr %2, align 2
  %5 = tail call ptr @bsequence_create(i32 noundef 16) #3
  %6 = tail call ptr @bsequence_create(i32 noundef 16) #3
  %7 = call i32 @bsequence_init(ptr noundef %5, ptr noundef nonnull %1) #3
  %8 = call i32 @bsequence_init(ptr noundef %6, ptr noundef nonnull %2) #3
  %9 = call ptr @bsequence_create(i32 noundef 16) #3
  %10 = call i32 @bsequence_add(ptr noundef %5, ptr noundef %6, ptr noundef %9) #3
  %11 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 15) #3
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %15, label %12

12:                                               ; preds = %0
  %13 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 15) #3
  %14 = uitofp i32 %13 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 111, ptr noundef nonnull @.str.22, double noundef %14, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %16

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

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

18:                                               ; preds = %16
  %19 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 14) #3
  %20 = uitofp i32 %19 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 112, ptr noundef nonnull @.str.23, double noundef %20, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.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 %9, i32 noundef 13) #3
  %.not41 = icmp eq i32 %23, 1
  br i1 %.not41, label %27, label %24

24:                                               ; preds = %22
  %25 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 13) #3
  %26 = uitofp i32 %25 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 113, ptr noundef nonnull @.str.24, 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 %9, i32 noundef 12) #3
  %.not42 = icmp eq i32 %29, 1
  br i1 %.not42, label %33, label %30

30:                                               ; preds = %28
  %31 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 12) #3
  %32 = uitofp i32 %31 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 114, ptr noundef nonnull @.str.25, double noundef %32, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.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 %9, i32 noundef 11) #3
  %.not43 = icmp eq i32 %35, 1
  br i1 %.not43, label %39, label %36

36:                                               ; preds = %34
  %37 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 11) #3
  %38 = uitofp i32 %37 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 116, ptr noundef nonnull @.str.26, double noundef %38, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.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 %9, i32 noundef 10) #3
  %.not44 = icmp eq i32 %41, 0
  br i1 %.not44, label %45, label %42

42:                                               ; preds = %40
  %43 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 10) #3
  %44 = uitofp i32 %43 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 117, ptr noundef nonnull @.str.27, 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 %9, i32 noundef 9) #3
  %.not45 = icmp eq i32 %47, 1
  br i1 %.not45, label %51, label %48

48:                                               ; preds = %46
  %49 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 9) #3
  %50 = uitofp i32 %49 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 118, ptr noundef nonnull @.str.28, double noundef %50, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.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 %9, i32 noundef 8) #3
  %.not46 = icmp eq i32 %53, 1
  br i1 %.not46, label %57, label %54

54:                                               ; preds = %52
  %55 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 8) #3
  %56 = uitofp i32 %55 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 119, ptr noundef nonnull @.str.29, 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 %9, i32 noundef 7) #3
  %.not47 = icmp eq i32 %59, 1
  br i1 %.not47, label %63, label %60

60:                                               ; preds = %58
  %61 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 7) #3
  %62 = uitofp i32 %61 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 121, ptr noundef nonnull @.str.30, 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 %9, i32 noundef 6) #3
  %.not48 = icmp eq i32 %65, 1
  br i1 %.not48, label %69, label %66

66:                                               ; preds = %64
  %67 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 6) #3
  %68 = uitofp i32 %67 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 122, ptr noundef nonnull @.str.31, double noundef %68, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 1.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 %9, i32 noundef 5) #3
  %.not49 = icmp eq i32 %71, 0
  br i1 %.not49, label %75, label %72

72:                                               ; preds = %70
  %73 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 5) #3
  %74 = uitofp i32 %73 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 123, ptr noundef nonnull @.str.32, 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 %9, i32 noundef 4) #3
  %.not50 = icmp eq i32 %77, 1
  br i1 %.not50, label %81, label %78

78:                                               ; preds = %76
  %79 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 4) #3
  %80 = uitofp i32 %79 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 124, ptr noundef nonnull @.str.33, 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 %9, i32 noundef 3) #3
  %.not51 = icmp eq i32 %83, 0
  br i1 %.not51, label %87, label %84

84:                                               ; preds = %82
  %85 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 3) #3
  %86 = uitofp i32 %85 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 126, ptr noundef nonnull @.str.34, 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 %9, i32 noundef 2) #3
  %.not52 = icmp eq i32 %89, 1
  br i1 %.not52, label %93, label %90

90:                                               ; preds = %88
  %91 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 2) #3
  %92 = uitofp i32 %91 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 127, ptr noundef nonnull @.str.35, 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 %9, i32 noundef 1) #3
  %.not53 = icmp eq i32 %95, 0
  br i1 %.not53, label %99, label %96

96:                                               ; preds = %94
  %97 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 1) #3
  %98 = uitofp i32 %97 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 128, ptr noundef nonnull @.str.36, 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_index(ptr noundef %9, i32 noundef 0) #3
  %.not54 = icmp eq i32 %101, 0
  br i1 %.not54, label %105, label %102

102:                                              ; preds = %100
  %103 = call i32 @bsequence_index(ptr noundef %9, i32 noundef 0) #3
  %104 = uitofp i32 %103 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 129, ptr noundef nonnull @.str.37, double noundef %104, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #3
  br label %106

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

106:                                              ; preds = %105, %102
  %107 = call i32 @bsequence_destroy(ptr noundef %5) #3
  %108 = call i32 @bsequence_destroy(ptr noundef %6) #3
  %109 = call i32 @bsequence_destroy(ptr noundef %9) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %1) #3
  ret void
}

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

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 = { 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