; LLVM IR from jgaeddert/liquid-dsp :: src/buffer/tests (buffer_window_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.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_windowf.v = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test2 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test3 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test4 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test5 = external hidden unnamed_addr constant [6 x float], align 16
@__const.autotest_windowf.test6 = external hidden unnamed_addr constant [6 x float], align 16
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.7 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [42 x i8], align 1

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

declare void @liquid_autotest_passed(...) #0

declare ptr @windowf_create(i32 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @autotest_windowf() #1 {
  %1 = alloca [10 x float], align 16
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca [10 x float], align 16
  %5 = alloca [10 x float], align 16
  %6 = alloca [10 x float], align 16
  %7 = alloca [10 x float], align 16
  %8 = alloca [10 x float], align 16
  %9 = alloca [6 x float], align 16
  %10 = alloca [6 x float], align 16
  %11 = alloca [10 x float], align 16
  %12 = alloca [10 x float], align 16
  %13 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.autotest_windowf.v, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %4) #5
  call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #5
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false)
  %14 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 6
  store float 1.000000e+00, ptr %14, align 8
  %15 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 7
  store float 1.000000e+00, ptr %15, align 4
  %16 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 8
  store float 1.000000e+00, ptr %16, align 16
  %17 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 9
  store float 1.000000e+00, ptr %17, align 4
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.autotest_windowf.test2, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.autotest_windowf.test3, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.autotest_windowf.test4, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.autotest_windowf.test5, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.autotest_windowf.test6, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #5
  call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
  %18 = getelementptr inbounds [10 x float], ptr %11, i32 0, i32 4
  store float 5.000000e+00, ptr %18, align 16
  %19 = getelementptr inbounds [10 x float], ptr %11, i32 0, i32 5
  store float 5.000000e+00, ptr %19, align 4
  %20 = getelementptr inbounds [10 x float], ptr %11, i32 0, i32 6
  store float 5.000000e+00, ptr %20, align 8
  %21 = getelementptr inbounds [10 x float], ptr %11, i32 0, i32 7
  store float 5.000000e+00, ptr %21, align 4
  %22 = getelementptr inbounds [10 x float], ptr %11, i32 0, i32 8
  store float 6.000000e+00, ptr %22, align 16
  %23 = getelementptr inbounds [10 x float], ptr %11, i32 0, i32 9
  store float 7.000000e+00, ptr %23, align 4
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #5
  call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %24 = call ptr @windowf_create(i32 noundef 10)
  store ptr %24, ptr %13, align 8, !tbaa !5
  %25 = load ptr, ptr %13, align 8, !tbaa !5
  %26 = call i32 @windowf_read(ptr noundef %25, ptr noundef %2)
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds [10 x float], ptr %4, i64 0, i64 0
  %29 = call i32 @liquid_autotest_same_data(ptr noundef %27, ptr noundef %28, i32 noundef 40)
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %38, label %31

31:                                               ; preds = %0
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 60, ptr noundef @.str.6)
  %32 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %37

34:                                               ; preds = %31
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %35, i32 noundef 40)
  %36 = getelementptr inbounds [10 x float], ptr %4, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %36, i32 noundef 40)
  br label %37

37:                                               ; preds = %34, %31
  br label %39

38:                                               ; preds = %0
  call void (...) @liquid_autotest_passed()
  br label %39

39:                                               ; preds = %38, %37
  %40 = load ptr, ptr %13, align 8, !tbaa !5
  %41 = call i32 @windowf_push(ptr noundef %40, float noundef 1.000000e+00)
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = call i32 @windowf_push(ptr noundef %42, float noundef 1.000000e+00)
  %44 = load ptr, ptr %13, align 8, !tbaa !5
  %45 = call i32 @windowf_push(ptr noundef %44, float noundef 1.000000e+00)
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = call i32 @windowf_push(ptr noundef %46, float noundef 1.000000e+00)
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = call i32 @windowf_read(ptr noundef %48, ptr noundef %2)
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds [10 x float], ptr %5, i64 0, i64 0
  %52 = call i32 @liquid_autotest_same_data(ptr noundef %50, ptr noundef %51, i32 noundef 40)
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %61, label %54

54:                                               ; preds = %39
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 70, ptr noundef @.str.7)
  %55 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %60

57:                                               ; preds = %54
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %58, i32 noundef 40)
  %59 = getelementptr inbounds [10 x float], ptr %5, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %59, i32 noundef 40)
  br label %60

60:                                               ; preds = %57, %54
  br label %62

61:                                               ; preds = %39
  call void (...) @liquid_autotest_passed()
  br label %62

62:                                               ; preds = %61, %60
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = getelementptr inbounds [10 x float], ptr %1, i64 0, i64 0
  %65 = call i32 @windowf_write(ptr noundef %63, ptr noundef %64, i32 noundef 4)
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  %67 = call i32 @windowf_read(ptr noundef %66, ptr noundef %2)
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds [10 x float], ptr %6, i64 0, i64 0
  %70 = call i32 @liquid_autotest_same_data(ptr noundef %68, ptr noundef %69, i32 noundef 40)
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %79, label %72

72:                                               ; preds = %62
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 77, ptr noundef @.str.8)
  %73 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %72
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %76, i32 noundef 40)
  %77 = getelementptr inbounds [10 x float], ptr %6, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %77, i32 noundef 40)
  br label %78

78:                                               ; preds = %75, %72
  br label %80

79:                                               ; preds = %62
  call void (...) @liquid_autotest_passed()
  br label %80

80:                                               ; preds = %79, %78
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = call i32 @windowf_push(ptr noundef %81, float noundef 3.000000e+00)
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  %84 = call i32 @windowf_push(ptr noundef %83, float noundef 3.000000e+00)
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = call i32 @windowf_push(ptr noundef %85, float noundef 3.000000e+00)
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = call i32 @windowf_push(ptr noundef %87, float noundef 3.000000e+00)
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = call i32 @windowf_read(ptr noundef %89, ptr noundef %2)
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds [10 x float], ptr %7, i64 0, i64 0
  %93 = call i32 @liquid_autotest_same_data(ptr noundef %91, ptr noundef %92, i32 noundef 40)
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %102, label %95

95:                                               ; preds = %80
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 87, ptr noundef @.str.9)
  %96 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %101

98:                                               ; preds = %95
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %99, i32 noundef 40)
  %100 = getelementptr inbounds [10 x float], ptr %7, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %100, i32 noundef 40)
  br label %101

101:                                              ; preds = %98, %95
  br label %103

102:                                              ; preds = %80
  call void (...) @liquid_autotest_passed()
  br label %103

103:                                              ; preds = %102, %101
  %104 = load ptr, ptr %13, align 8, !tbaa !5
  %105 = call i32 @windowf_index(ptr noundef %104, i32 noundef 0, ptr noundef %3)
  %106 = load float, ptr %3, align 4, !tbaa !11
  %107 = fcmp une float %106, 1.000000e+00
  br i1 %107, label %108, label %111

108:                                              ; preds = %103
  %109 = load float, ptr %3, align 4, !tbaa !11
  %110 = fpext float %109 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 90, ptr noundef @.str.10, double noundef %110, ptr noundef @.str.11, ptr noundef @.str.4, double noundef 1.000000e+00)
  br label %112

111:                                              ; preds = %103
  call void (...) @liquid_autotest_passed()
  br label %112

112:                                              ; preds = %111, %108
  %113 = load ptr, ptr %13, align 8, !tbaa !5
  %114 = call i32 @windowf_index(ptr noundef %113, i32 noundef 1, ptr noundef %3)
  %115 = load float, ptr %3, align 4, !tbaa !11
  %116 = fcmp une float %115, 1.000000e+00
  br i1 %116, label %117, label %120

117:                                              ; preds = %112
  %118 = load float, ptr %3, align 4, !tbaa !11
  %119 = fpext float %118 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 91, ptr noundef @.str.10, double noundef %119, ptr noundef @.str.11, ptr noundef @.str.4, double noundef 1.000000e+00)
  br label %121

120:                                              ; preds = %112
  call void (...) @liquid_autotest_passed()
  br label %121

121:                                              ; preds = %120, %117
  %122 = load ptr, ptr %13, align 8, !tbaa !5
  %123 = call i32 @windowf_index(ptr noundef %122, i32 noundef 2, ptr noundef %3)
  %124 = load float, ptr %3, align 4, !tbaa !11
  %125 = fcmp une float %124, 9.000000e+00
  br i1 %125, label %126, label %129

126:                                              ; preds = %121
  %127 = load float, ptr %3, align 4, !tbaa !11
  %128 = fpext float %127 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 92, ptr noundef @.str.10, double noundef %128, ptr noundef @.str.11, ptr noundef @.str.12, double noundef 9.000000e+00)
  br label %130

129:                                              ; preds = %121
  call void (...) @liquid_autotest_passed()
  br label %130

130:                                              ; preds = %129, %126
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = call i32 @windowf_index(ptr noundef %131, i32 noundef 3, ptr noundef %3)
  %133 = load float, ptr %3, align 4, !tbaa !11
  %134 = fcmp une float %133, 8.000000e+00
  br i1 %134, label %135, label %138

135:                                              ; preds = %130
  %136 = load float, ptr %3, align 4, !tbaa !11
  %137 = fpext float %136 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 93, ptr noundef @.str.10, double noundef %137, ptr noundef @.str.11, ptr noundef @.str.13, double noundef 8.000000e+00)
  br label %139

138:                                              ; preds = %130
  call void (...) @liquid_autotest_passed()
  br label %139

139:                                              ; preds = %138, %135
  %140 = load ptr, ptr %13, align 8, !tbaa !5
  %141 = call i32 @windowf_index(ptr noundef %140, i32 noundef 4, ptr noundef %3)
  %142 = load float, ptr %3, align 4, !tbaa !11
  %143 = fcmp une float %142, 7.000000e+00
  br i1 %143, label %144, label %147

144:                                              ; preds = %139
  %145 = load float, ptr %3, align 4, !tbaa !11
  %146 = fpext float %145 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 94, ptr noundef @.str.10, double noundef %146, ptr noundef @.str.11, ptr noundef @.str.14, double noundef 7.000000e+00)
  br label %148

147:                                              ; preds = %139
  call void (...) @liquid_autotest_passed()
  br label %148

148:                                              ; preds = %147, %144
  %149 = load ptr, ptr %13, align 8, !tbaa !5
  %150 = call i32 @windowf_index(ptr noundef %149, i32 noundef 5, ptr noundef %3)
  %151 = load float, ptr %3, align 4, !tbaa !11
  %152 = fcmp une float %151, 6.000000e+00
  br i1 %152, label %153, label %156

153:                                              ; preds = %148
  %154 = load float, ptr %3, align 4, !tbaa !11
  %155 = fpext float %154 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 95, ptr noundef @.str.10, double noundef %155, ptr noundef @.str.11, ptr noundef @.str.15, double noundef 6.000000e+00)
  br label %157

156:                                              ; preds = %148
  call void (...) @liquid_autotest_passed()
  br label %157

157:                                              ; preds = %156, %153
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = call i32 @windowf_index(ptr noundef %158, i32 noundef 6, ptr noundef %3)
  %160 = load float, ptr %3, align 4, !tbaa !11
  %161 = fcmp une float %160, 3.000000e+00
  br i1 %161, label %162, label %165

162:                                              ; preds = %157
  %163 = load float, ptr %3, align 4, !tbaa !11
  %164 = fpext float %163 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 96, ptr noundef @.str.10, double noundef %164, ptr noundef @.str.11, ptr noundef @.str.16, double noundef 3.000000e+00)
  br label %166

165:                                              ; preds = %157
  call void (...) @liquid_autotest_passed()
  br label %166

166:                                              ; preds = %165, %162
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = call i32 @windowf_index(ptr noundef %167, i32 noundef 7, ptr noundef %3)
  %169 = load float, ptr %3, align 4, !tbaa !11
  %170 = fcmp une float %169, 3.000000e+00
  br i1 %170, label %171, label %174

171:                                              ; preds = %166
  %172 = load float, ptr %3, align 4, !tbaa !11
  %173 = fpext float %172 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 97, ptr noundef @.str.10, double noundef %173, ptr noundef @.str.11, ptr noundef @.str.16, double noundef 3.000000e+00)
  br label %175

174:                                              ; preds = %166
  call void (...) @liquid_autotest_passed()
  br label %175

175:                                              ; preds = %174, %171
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = call i32 @windowf_index(ptr noundef %176, i32 noundef 8, ptr noundef %3)
  %178 = load float, ptr %3, align 4, !tbaa !11
  %179 = fcmp une float %178, 3.000000e+00
  br i1 %179, label %180, label %183

180:                                              ; preds = %175
  %181 = load float, ptr %3, align 4, !tbaa !11
  %182 = fpext float %181 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 98, ptr noundef @.str.10, double noundef %182, ptr noundef @.str.11, ptr noundef @.str.16, double noundef 3.000000e+00)
  br label %184

183:                                              ; preds = %175
  call void (...) @liquid_autotest_passed()
  br label %184

184:                                              ; preds = %183, %180
  %185 = load ptr, ptr %13, align 8, !tbaa !5
  %186 = call i32 @windowf_index(ptr noundef %185, i32 noundef 9, ptr noundef %3)
  %187 = load float, ptr %3, align 4, !tbaa !11
  %188 = fcmp une float %187, 3.000000e+00
  br i1 %188, label %189, label %192

189:                                              ; preds = %184
  %190 = load float, ptr %3, align 4, !tbaa !11
  %191 = fpext float %190 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 99, ptr noundef @.str.10, double noundef %191, ptr noundef @.str.11, ptr noundef @.str.16, double noundef 3.000000e+00)
  br label %193

192:                                              ; preds = %184
  call void (...) @liquid_autotest_passed()
  br label %193

193:                                              ; preds = %192, %189
  %194 = load ptr, ptr %13, align 8, !tbaa !5
  %195 = call i32 @windowf_index(ptr noundef %194, i32 noundef 999, ptr noundef %3)
  %196 = icmp eq i32 %195, 0
  br i1 %196, label %197, label %201

197:                                              ; preds = %193
  %198 = load ptr, ptr %13, align 8, !tbaa !5
  %199 = call i32 @windowf_index(ptr noundef %198, i32 noundef 999, ptr noundef %3)
  %200 = sitofp i32 %199 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 100, ptr noundef @.str.17, double noundef %200, ptr noundef @.str.18, ptr noundef @.str.19, double noundef 0.000000e+00)
  br label %202

201:                                              ; preds = %193
  call void (...) @liquid_autotest_passed()
  br label %202

202:                                              ; preds = %201, %197
  %203 = load ptr, ptr %13, align 8, !tbaa !5
  %204 = call i32 @windowf_push(ptr noundef %203, float noundef 5.000000e+00)
  %205 = load ptr, ptr %13, align 8, !tbaa !5
  %206 = call i32 @windowf_push(ptr noundef %205, float noundef 5.000000e+00)
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = call i32 @windowf_push(ptr noundef %207, float noundef 5.000000e+00)
  %209 = load ptr, ptr %13, align 8, !tbaa !5
  %210 = call i32 @windowf_push(ptr noundef %209, float noundef 5.000000e+00)
  %211 = load ptr, ptr %13, align 8, !tbaa !5
  %212 = call i32 @windowf_read(ptr noundef %211, ptr noundef %2)
  %213 = load ptr, ptr %2, align 8, !tbaa !5
  %214 = getelementptr inbounds [10 x float], ptr %8, i64 0, i64 0
  %215 = call i32 @liquid_autotest_same_data(ptr noundef %213, ptr noundef %214, i32 noundef 40)
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %224, label %217

217:                                              ; preds = %202
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 110, ptr noundef @.str.20)
  %218 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %223

220:                                              ; preds = %217
  %221 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %221, i32 noundef 40)
  %222 = getelementptr inbounds [10 x float], ptr %8, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %222, i32 noundef 40)
  br label %223

223:                                              ; preds = %220, %217
  br label %225

224:                                              ; preds = %202
  call void (...) @liquid_autotest_passed()
  br label %225

225:                                              ; preds = %224, %223
  %226 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %231

228:                                              ; preds = %225
  %229 = load ptr, ptr %13, align 8, !tbaa !5
  %230 = call i32 @windowf_debug_print(ptr noundef %229)
  br label %231

231:                                              ; preds = %228, %225
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = call ptr @windowf_recreate(ptr noundef %232, i32 noundef 6)
  store ptr %233, ptr %13, align 8, !tbaa !5
  %234 = load ptr, ptr %13, align 8, !tbaa !5
  %235 = call i32 @windowf_read(ptr noundef %234, ptr noundef %2)
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds [6 x float], ptr %9, i64 0, i64 0
  %238 = call i32 @liquid_autotest_same_data(ptr noundef %236, ptr noundef %237, i32 noundef 24)
  %239 = icmp ne i32 %238, 0
  br i1 %239, label %247, label %240

240:                                              ; preds = %231
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 118, ptr noundef @.str.21)
  %241 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %246

243:                                              ; preds = %240
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %244, i32 noundef 24)
  %245 = getelementptr inbounds [6 x float], ptr %9, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %245, i32 noundef 24)
  br label %246

246:                                              ; preds = %243, %240
  br label %248

247:                                              ; preds = %231
  call void (...) @liquid_autotest_passed()
  br label %248

248:                                              ; preds = %247, %246
  %249 = load ptr, ptr %13, align 8, !tbaa !5
  %250 = call i32 @windowf_push(ptr noundef %249, float noundef 6.000000e+00)
  %251 = load ptr, ptr %13, align 8, !tbaa !5
  %252 = call i32 @windowf_push(ptr noundef %251, float noundef 7.000000e+00)
  %253 = load ptr, ptr %13, align 8, !tbaa !5
  %254 = call i32 @windowf_read(ptr noundef %253, ptr noundef %2)
  %255 = load ptr, ptr %2, align 8, !tbaa !5
  %256 = getelementptr inbounds [6 x float], ptr %10, i64 0, i64 0
  %257 = call i32 @liquid_autotest_same_data(ptr noundef %255, ptr noundef %256, i32 noundef 24)
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %266, label %259

259:                                              ; preds = %248
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 125, ptr noundef @.str.22)
  %260 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %265

262:                                              ; preds = %259
  %263 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %263, i32 noundef 24)
  %264 = getelementptr inbounds [6 x float], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %264, i32 noundef 24)
  br label %265

265:                                              ; preds = %262, %259
  br label %267

266:                                              ; preds = %248
  call void (...) @liquid_autotest_passed()
  br label %267

267:                                              ; preds = %266, %265
  %268 = load ptr, ptr %13, align 8, !tbaa !5
  %269 = call ptr @windowf_recreate(ptr noundef %268, i32 noundef 10)
  store ptr %269, ptr %13, align 8, !tbaa !5
  %270 = load ptr, ptr %13, align 8, !tbaa !5
  %271 = call i32 @windowf_read(ptr noundef %270, ptr noundef %2)
  %272 = load ptr, ptr %2, align 8, !tbaa !5
  %273 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
  %274 = call i32 @liquid_autotest_same_data(ptr noundef %272, ptr noundef %273, i32 noundef 40)
  %275 = icmp ne i32 %274, 0
  br i1 %275, label %283, label %276

276:                                              ; preds = %267
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 131, ptr noundef @.str.23)
  %277 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %282

279:                                              ; preds = %276
  %280 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %280, i32 noundef 40)
  %281 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %281, i32 noundef 40)
  br label %282

282:                                              ; preds = %279, %276
  br label %284

283:                                              ; preds = %267
  call void (...) @liquid_autotest_passed()
  br label %284

284:                                              ; preds = %283, %282
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  %286 = call i32 @windowf_reset(ptr noundef %285)
  %287 = load ptr, ptr %13, align 8, !tbaa !5
  %288 = call i32 @windowf_read(ptr noundef %287, ptr noundef %2)
  %289 = load ptr, ptr %2, align 8, !tbaa !5
  %290 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0
  %291 = call i32 @liquid_autotest_same_data(ptr noundef %289, ptr noundef %290, i32 noundef 40)
  %292 = icmp ne i32 %291, 0
  br i1 %292, label %300, label %293

293:                                              ; preds = %284
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 138, ptr noundef @.str.24)
  %294 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %299

296:                                              ; preds = %293
  %297 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %297, i32 noundef 40)
  %298 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %298, i32 noundef 40)
  br label %299

299:                                              ; preds = %296, %293
  br label %301

300:                                              ; preds = %284
  call void (...) @liquid_autotest_passed()
  br label %301

301:                                              ; preds = %300, %299
  %302 = load ptr, ptr %13, align 8, !tbaa !5
  %303 = call i32 @windowf_destroy(ptr noundef %302)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %1) #5
  ret void
}

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

; 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) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare i32 @windowf_read(ptr noundef, ptr noundef) #0

declare i32 @liquid_autotest_same_data(ptr noundef, ptr noundef, i32 noundef) #0

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) #0

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) #0

declare i32 @windowf_push(ptr noundef, float noundef) #0

declare i32 @windowf_write(ptr noundef, ptr noundef, i32 noundef) #0

declare i32 @windowf_index(ptr noundef, i32 noundef, ptr noundef) #0

declare i32 @windowf_debug_print(ptr noundef) #0

declare ptr @windowf_recreate(ptr noundef, i32 noundef) #0

declare i32 @windowf_reset(ptr noundef) #0

declare i32 @windowf_destroy(ptr noundef) #0

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

attributes #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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}


; 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.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_windowf.v = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test2 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test3 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test4 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_windowf.test5 = external hidden unnamed_addr constant [6 x float], align 16
@__const.autotest_windowf.test6 = external hidden unnamed_addr constant [6 x float], align 16
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.7 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [42 x i8], align 1

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

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

declare ptr @windowf_create(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @autotest_windowf() local_unnamed_addr #1 {
  %1 = alloca [10 x float], align 16
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca [10 x float], align 16
  %5 = alloca [10 x float], align 16
  %6 = alloca [10 x float], align 16
  %7 = alloca [10 x float], align 16
  %8 = alloca [10 x float], align 16
  %9 = alloca [6 x float], align 16
  %10 = alloca [6 x float], align 16
  %11 = alloca [10 x float], align 16
  %12 = alloca [10 x float], align 16
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %1, ptr noundef nonnull align 16 dereferenceable(40) @__const.autotest_windowf.v, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %4, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %5, i8 0, i64 32, i1 false)
  %13 = getelementptr inbounds i8, ptr %5, i64 24
  store <4 x float> <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %6, ptr noundef nonnull align 16 dereferenceable(40) @__const.autotest_windowf.test2, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %7, ptr noundef nonnull align 16 dereferenceable(40) @__const.autotest_windowf.test3, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %8, ptr noundef nonnull align 16 dereferenceable(40) @__const.autotest_windowf.test4, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) @__const.autotest_windowf.test5, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %10, ptr noundef nonnull align 16 dereferenceable(24) @__const.autotest_windowf.test6, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %11, i8 0, i64 16, i1 false)
  %14 = getelementptr inbounds i8, ptr %11, i64 16
  store <4 x float> <float 5.000000e+00, float 5.000000e+00, float 5.000000e+00, float 5.000000e+00>, ptr %14, align 16
  %15 = getelementptr inbounds i8, ptr %11, i64 32
  store <2 x float> <float 6.000000e+00, float 7.000000e+00>, ptr %15, align 16
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %12, i8 0, i64 40, i1 false)
  %16 = tail call ptr @windowf_create(i32 noundef 10) #5
  %17 = call i32 @windowf_read(ptr noundef %16, ptr noundef nonnull %2) #5
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = call i32 @liquid_autotest_same_data(ptr noundef %18, ptr noundef nonnull %4, i32 noundef 40) #5
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %20, label %24

20:                                               ; preds = %0
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 60, ptr noundef nonnull @.str.6) #5
  %21 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not50 = icmp eq i32 %21, 0
  br i1 %.not50, label %25, label %22

22:                                               ; preds = %20
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %23, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %4, i32 noundef 40) #5
  br label %25

24:                                               ; preds = %0
  call void (...) @liquid_autotest_passed() #5
  br label %25

25:                                               ; preds = %20, %22, %24
  %26 = call i32 @windowf_push(ptr noundef %16, float noundef 1.000000e+00) #5
  %27 = call i32 @windowf_push(ptr noundef %16, float noundef 1.000000e+00) #5
  %28 = call i32 @windowf_push(ptr noundef %16, float noundef 1.000000e+00) #5
  %29 = call i32 @windowf_push(ptr noundef %16, float noundef 1.000000e+00) #5
  %30 = call i32 @windowf_read(ptr noundef %16, ptr noundef nonnull %2) #5
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = call i32 @liquid_autotest_same_data(ptr noundef %31, ptr noundef nonnull %5, i32 noundef 40) #5
  %.not51 = icmp eq i32 %32, 0
  br i1 %.not51, label %33, label %37

33:                                               ; preds = %25
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 70, ptr noundef nonnull @.str.7) #5
  %34 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not52 = icmp eq i32 %34, 0
  br i1 %.not52, label %38, label %35

35:                                               ; preds = %33
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %36, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %5, i32 noundef 40) #5
  br label %38

37:                                               ; preds = %25
  call void (...) @liquid_autotest_passed() #5
  br label %38

38:                                               ; preds = %33, %35, %37
  %39 = call i32 @windowf_write(ptr noundef %16, ptr noundef nonnull %1, i32 noundef 4) #5
  %40 = call i32 @windowf_read(ptr noundef %16, ptr noundef nonnull %2) #5
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = call i32 @liquid_autotest_same_data(ptr noundef %41, ptr noundef nonnull %6, i32 noundef 40) #5
  %.not53 = icmp eq i32 %42, 0
  br i1 %.not53, label %43, label %47

43:                                               ; preds = %38
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 77, ptr noundef nonnull @.str.8) #5
  %44 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not54 = icmp eq i32 %44, 0
  br i1 %.not54, label %48, label %45

45:                                               ; preds = %43
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %46, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %6, i32 noundef 40) #5
  br label %48

47:                                               ; preds = %38
  call void (...) @liquid_autotest_passed() #5
  br label %48

48:                                               ; preds = %43, %45, %47
  %49 = call i32 @windowf_push(ptr noundef %16, float noundef 3.000000e+00) #5
  %50 = call i32 @windowf_push(ptr noundef %16, float noundef 3.000000e+00) #5
  %51 = call i32 @windowf_push(ptr noundef %16, float noundef 3.000000e+00) #5
  %52 = call i32 @windowf_push(ptr noundef %16, float noundef 3.000000e+00) #5
  %53 = call i32 @windowf_read(ptr noundef %16, ptr noundef nonnull %2) #5
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = call i32 @liquid_autotest_same_data(ptr noundef %54, ptr noundef nonnull %7, i32 noundef 40) #5
  %.not55 = icmp eq i32 %55, 0
  br i1 %.not55, label %56, label %60

56:                                               ; preds = %48
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 87, ptr noundef nonnull @.str.9) #5
  %57 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not56 = icmp eq i32 %57, 0
  br i1 %.not56, label %61, label %58

58:                                               ; preds = %56
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %59, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %7, i32 noundef 40) #5
  br label %61

60:                                               ; preds = %48
  call void (...) @liquid_autotest_passed() #5
  br label %61

61:                                               ; preds = %56, %58, %60
  %62 = call i32 @windowf_index(ptr noundef %16, i32 noundef 0, ptr noundef nonnull %3) #5
  %63 = load float, ptr %3, align 4, !tbaa !11
  %64 = fcmp une float %63, 1.000000e+00
  br i1 %64, label %65, label %67

65:                                               ; preds = %61
  %66 = fpext float %63 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 90, ptr noundef nonnull @.str.10, double noundef %66, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.4, double noundef 1.000000e+00) #5
  br label %68

67:                                               ; preds = %61
  call void (...) @liquid_autotest_passed() #5
  br label %68

68:                                               ; preds = %67, %65
  %69 = call i32 @windowf_index(ptr noundef %16, i32 noundef 1, ptr noundef nonnull %3) #5
  %70 = load float, ptr %3, align 4, !tbaa !11
  %71 = fcmp une float %70, 1.000000e+00
  br i1 %71, label %72, label %74

72:                                               ; preds = %68
  %73 = fpext float %70 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 91, ptr noundef nonnull @.str.10, double noundef %73, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.4, double noundef 1.000000e+00) #5
  br label %75

74:                                               ; preds = %68
  call void (...) @liquid_autotest_passed() #5
  br label %75

75:                                               ; preds = %74, %72
  %76 = call i32 @windowf_index(ptr noundef %16, i32 noundef 2, ptr noundef nonnull %3) #5
  %77 = load float, ptr %3, align 4, !tbaa !11
  %78 = fcmp une float %77, 9.000000e+00
  br i1 %78, label %79, label %81

79:                                               ; preds = %75
  %80 = fpext float %77 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 92, ptr noundef nonnull @.str.10, double noundef %80, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, double noundef 9.000000e+00) #5
  br label %82

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

82:                                               ; preds = %81, %79
  %83 = call i32 @windowf_index(ptr noundef %16, i32 noundef 3, ptr noundef nonnull %3) #5
  %84 = load float, ptr %3, align 4, !tbaa !11
  %85 = fcmp une float %84, 8.000000e+00
  br i1 %85, label %86, label %88

86:                                               ; preds = %82
  %87 = fpext float %84 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 93, ptr noundef nonnull @.str.10, double noundef %87, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.13, double noundef 8.000000e+00) #5
  br label %89

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

89:                                               ; preds = %88, %86
  %90 = call i32 @windowf_index(ptr noundef %16, i32 noundef 4, ptr noundef nonnull %3) #5
  %91 = load float, ptr %3, align 4, !tbaa !11
  %92 = fcmp une float %91, 7.000000e+00
  br i1 %92, label %93, label %95

93:                                               ; preds = %89
  %94 = fpext float %91 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 94, ptr noundef nonnull @.str.10, double noundef %94, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.14, double noundef 7.000000e+00) #5
  br label %96

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

96:                                               ; preds = %95, %93
  %97 = call i32 @windowf_index(ptr noundef %16, i32 noundef 5, ptr noundef nonnull %3) #5
  %98 = load float, ptr %3, align 4, !tbaa !11
  %99 = fcmp une float %98, 6.000000e+00
  br i1 %99, label %100, label %102

100:                                              ; preds = %96
  %101 = fpext float %98 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 95, ptr noundef nonnull @.str.10, double noundef %101, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.15, double noundef 6.000000e+00) #5
  br label %103

102:                                              ; preds = %96
  call void (...) @liquid_autotest_passed() #5
  br label %103

103:                                              ; preds = %102, %100
  %104 = call i32 @windowf_index(ptr noundef %16, i32 noundef 6, ptr noundef nonnull %3) #5
  %105 = load float, ptr %3, align 4, !tbaa !11
  %106 = fcmp une float %105, 3.000000e+00
  br i1 %106, label %107, label %109

107:                                              ; preds = %103
  %108 = fpext float %105 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 96, ptr noundef nonnull @.str.10, double noundef %108, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.16, double noundef 3.000000e+00) #5
  br label %110

109:                                              ; preds = %103
  call void (...) @liquid_autotest_passed() #5
  br label %110

110:                                              ; preds = %109, %107
  %111 = call i32 @windowf_index(ptr noundef %16, i32 noundef 7, ptr noundef nonnull %3) #5
  %112 = load float, ptr %3, align 4, !tbaa !11
  %113 = fcmp une float %112, 3.000000e+00
  br i1 %113, label %114, label %116

114:                                              ; preds = %110
  %115 = fpext float %112 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 97, ptr noundef nonnull @.str.10, double noundef %115, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.16, double noundef 3.000000e+00) #5
  br label %117

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

117:                                              ; preds = %116, %114
  %118 = call i32 @windowf_index(ptr noundef %16, i32 noundef 8, ptr noundef nonnull %3) #5
  %119 = load float, ptr %3, align 4, !tbaa !11
  %120 = fcmp une float %119, 3.000000e+00
  br i1 %120, label %121, label %123

121:                                              ; preds = %117
  %122 = fpext float %119 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 98, ptr noundef nonnull @.str.10, double noundef %122, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.16, double noundef 3.000000e+00) #5
  br label %124

123:                                              ; preds = %117
  call void (...) @liquid_autotest_passed() #5
  br label %124

124:                                              ; preds = %123, %121
  %125 = call i32 @windowf_index(ptr noundef %16, i32 noundef 9, ptr noundef nonnull %3) #5
  %126 = load float, ptr %3, align 4, !tbaa !11
  %127 = fcmp une float %126, 3.000000e+00
  br i1 %127, label %128, label %130

128:                                              ; preds = %124
  %129 = fpext float %126 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 99, ptr noundef nonnull @.str.10, double noundef %129, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.16, double noundef 3.000000e+00) #5
  br label %131

130:                                              ; preds = %124
  call void (...) @liquid_autotest_passed() #5
  br label %131

131:                                              ; preds = %130, %128
  %132 = call i32 @windowf_index(ptr noundef %16, i32 noundef 999, ptr noundef nonnull %3) #5
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %134, label %137

134:                                              ; preds = %131
  %135 = call i32 @windowf_index(ptr noundef %16, i32 noundef 999, ptr noundef nonnull %3) #5
  %136 = sitofp i32 %135 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 100, ptr noundef nonnull @.str.17, double noundef %136, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19, double noundef 0.000000e+00) #5
  br label %138

137:                                              ; preds = %131
  call void (...) @liquid_autotest_passed() #5
  br label %138

138:                                              ; preds = %137, %134
  %139 = call i32 @windowf_push(ptr noundef %16, float noundef 5.000000e+00) #5
  %140 = call i32 @windowf_push(ptr noundef %16, float noundef 5.000000e+00) #5
  %141 = call i32 @windowf_push(ptr noundef %16, float noundef 5.000000e+00) #5
  %142 = call i32 @windowf_push(ptr noundef %16, float noundef 5.000000e+00) #5
  %143 = call i32 @windowf_read(ptr noundef %16, ptr noundef nonnull %2) #5
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = call i32 @liquid_autotest_same_data(ptr noundef %144, ptr noundef nonnull %8, i32 noundef 40) #5
  %.not57 = icmp eq i32 %145, 0
  br i1 %.not57, label %146, label %150

146:                                              ; preds = %138
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 110, ptr noundef nonnull @.str.20) #5
  %147 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not58 = icmp eq i32 %147, 0
  br i1 %.not58, label %.thread, label %148

148:                                              ; preds = %146
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %149, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %8, i32 noundef 40) #5
  br label %151

150:                                              ; preds = %138
  call void (...) @liquid_autotest_passed() #5
  br label %151

151:                                              ; preds = %148, %150
  %.pr = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not59 = icmp eq i32 %.pr, 0
  br i1 %.not59, label %.thread, label %152

152:                                              ; preds = %151
  %153 = call i32 @windowf_debug_print(ptr noundef %16) #5
  br label %.thread

.thread:                                          ; preds = %146, %152, %151
  %154 = call ptr @windowf_recreate(ptr noundef %16, i32 noundef 6) #5
  %155 = call i32 @windowf_read(ptr noundef %154, ptr noundef nonnull %2) #5
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = call i32 @liquid_autotest_same_data(ptr noundef %156, ptr noundef nonnull %9, i32 noundef 24) #5
  %.not60 = icmp eq i32 %157, 0
  br i1 %.not60, label %158, label %162

158:                                              ; preds = %.thread
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 118, ptr noundef nonnull @.str.21) #5
  %159 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not61 = icmp eq i32 %159, 0
  br i1 %.not61, label %163, label %160

160:                                              ; preds = %158
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %161, i32 noundef 24) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 24) #5
  br label %163

162:                                              ; preds = %.thread
  call void (...) @liquid_autotest_passed() #5
  br label %163

163:                                              ; preds = %158, %160, %162
  %164 = call i32 @windowf_push(ptr noundef %154, float noundef 6.000000e+00) #5
  %165 = call i32 @windowf_push(ptr noundef %154, float noundef 7.000000e+00) #5
  %166 = call i32 @windowf_read(ptr noundef %154, ptr noundef nonnull %2) #5
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = call i32 @liquid_autotest_same_data(ptr noundef %167, ptr noundef nonnull %10, i32 noundef 24) #5
  %.not62 = icmp eq i32 %168, 0
  br i1 %.not62, label %169, label %173

169:                                              ; preds = %163
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 125, ptr noundef nonnull @.str.22) #5
  %170 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not63 = icmp eq i32 %170, 0
  br i1 %.not63, label %174, label %171

171:                                              ; preds = %169
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %172, i32 noundef 24) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %10, i32 noundef 24) #5
  br label %174

173:                                              ; preds = %163
  call void (...) @liquid_autotest_passed() #5
  br label %174

174:                                              ; preds = %169, %171, %173
  %175 = call ptr @windowf_recreate(ptr noundef %154, i32 noundef 10) #5
  %176 = call i32 @windowf_read(ptr noundef %175, ptr noundef nonnull %2) #5
  %177 = load ptr, ptr %2, align 8, !tbaa !5
  %178 = call i32 @liquid_autotest_same_data(ptr noundef %177, ptr noundef nonnull %11, i32 noundef 40) #5
  %.not64 = icmp eq i32 %178, 0
  br i1 %.not64, label %179, label %183

179:                                              ; preds = %174
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 131, ptr noundef nonnull @.str.23) #5
  %180 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not65 = icmp eq i32 %180, 0
  br i1 %.not65, label %184, label %181

181:                                              ; preds = %179
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %182, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %11, i32 noundef 40) #5
  br label %184

183:                                              ; preds = %174
  call void (...) @liquid_autotest_passed() #5
  br label %184

184:                                              ; preds = %179, %181, %183
  %185 = call i32 @windowf_reset(ptr noundef %175) #5
  %186 = call i32 @windowf_read(ptr noundef %175, ptr noundef nonnull %2) #5
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = call i32 @liquid_autotest_same_data(ptr noundef %187, ptr noundef nonnull %12, i32 noundef 40) #5
  %.not66 = icmp eq i32 %188, 0
  br i1 %.not66, label %189, label %193

189:                                              ; preds = %184
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 138, ptr noundef nonnull @.str.24) #5
  %190 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not67 = icmp eq i32 %190, 0
  br i1 %.not67, label %194, label %191

191:                                              ; preds = %189
  %192 = load ptr, ptr %2, align 8, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %192, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %12, i32 noundef 40) #5
  br label %194

193:                                              ; preds = %184
  call void (...) @liquid_autotest_passed() #5
  br label %194

194:                                              ; preds = %189, %191, %193
  %195 = call i32 @windowf_destroy(ptr noundef %175) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %1) #5
  ret void
}

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

; Function Attrs: mustprogress 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) #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare i32 @windowf_read(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @liquid_autotest_same_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @windowf_push(ptr noundef, float noundef) local_unnamed_addr #0

declare i32 @windowf_write(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @windowf_index(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare i32 @windowf_debug_print(ptr noundef) local_unnamed_addr #0

declare ptr @windowf_recreate(ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @windowf_reset(ptr noundef) local_unnamed_addr #0

declare i32 @windowf_destroy(ptr noundef) local_unnamed_addr #0

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

attributes #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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass