; LLVM IR from intel/intel-ipsec-mb :: test/kat-app (zuc_eea3_test)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.test_suite_context = type { i32, i32, ptr }

@__const.zuc_eea3_test.numBuffs = external hidden unnamed_addr constant [5 x i32], align 16
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @zuc_eea3_test(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca [5 x i32], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca [17 x ptr], align 16
  %7 = alloca [17 x ptr], align 16
  %8 = alloca [17 x ptr], align 16
  %9 = alloca [17 x ptr], align 16
  %10 = alloca %struct.test_suite_context, align 8
  %11 = alloca %struct.test_suite_context, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20, ptr %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.zuc_eea3_test.numBuffs, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 136, ptr %6) #5
  call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 136, ptr %7) #5
  call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 136, ptr %8) #5
  call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 136, ptr %9) #5
  call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @test_suite_start(ptr noundef %10, ptr noundef @.str)
  call void @test_suite_start(ptr noundef %11, ptr noundef @.str.1)
  %12 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %13 = call i32 @createData(ptr noundef %12, i32 noundef 17)
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %17

15:                                               ; preds = %1
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %197

17:                                               ; preds = %1
  %18 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  %19 = call i32 @createData(ptr noundef %18, i32 noundef 17)
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %24

21:                                               ; preds = %17
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %23 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  call void @freePtrArray(ptr noundef %23, i32 noundef 17)
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %197

24:                                               ; preds = %17
  %25 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %26 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %27 = call i32 @createKeyVecData(i32 noundef 32, ptr noundef %25, i32 noundef 25, ptr noundef %26, i32 noundef 17)
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %33

29:                                               ; preds = %24
  %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %31 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  call void @freePtrArray(ptr noundef %31, i32 noundef 17)
  %32 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  call void @freePtrArray(ptr noundef %32, i32 noundef 17)
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %197

33:                                               ; preds = %24
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %36 = load ptr, ptr %35, align 16, !tbaa !5
  %37 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %38 = load ptr, ptr %37, align 16, !tbaa !5
  %39 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %40 = load ptr, ptr %39, align 16, !tbaa !5
  %41 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %42 = load ptr, ptr %41, align 16, !tbaa !5
  %43 = call i32 @validate_zuc_EEA_1_block(ptr noundef %34, ptr noundef %36, ptr noundef %38, ptr noundef %40, ptr noundef %42, i32 noundef 0)
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %33
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %47

46:                                               ; preds = %33
  call void @test_suite_update(ptr noundef %10, i32 noundef 1, i32 noundef 0)
  br label %47

47:                                               ; preds = %46, %45
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %50 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %51 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %52 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %53 = call i32 @validate_zuc_EEA_4_block(ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, i32 noundef 0)
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %47
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %57

56:                                               ; preds = %47
  call void @test_suite_update(ptr noundef %10, i32 noundef 1, i32 noundef 0)
  br label %57

57:                                               ; preds = %56, %55
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %77, %57
  %59 = load i32, ptr %4, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = icmp ult i64 %60, 5
  br i1 %61, label %62, label %80

62:                                               ; preds = %58
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %65 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  %66 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %67 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %68 = load i32, ptr %4, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !9
  %72 = call i32 @validate_zuc_EEA_n_block(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, i32 noundef %71, i32 noundef 0)
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %62
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %76

75:                                               ; preds = %62
  call void @test_suite_update(ptr noundef %10, i32 noundef 1, i32 noundef 0)
  br label %76

76:                                               ; preds = %75, %74
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %4, align 4, !tbaa !9
  %79 = add i32 %78, 1
  store i32 %79, ptr %4, align 4, !tbaa !9
  br label %58, !llvm.loop !11

80:                                               ; preds = %58
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %83 = load ptr, ptr %82, align 16, !tbaa !5
  %84 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %85 = load ptr, ptr %84, align 16, !tbaa !5
  %86 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %87 = load ptr, ptr %86, align 16, !tbaa !5
  %88 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %89 = load ptr, ptr %88, align 16, !tbaa !5
  %90 = call i32 @validate_zuc_EEA_1_block(ptr noundef %81, ptr noundef %83, ptr noundef %85, ptr noundef %87, ptr noundef %89, i32 noundef 1)
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %80
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %94

93:                                               ; preds = %80
  call void @test_suite_update(ptr noundef %10, i32 noundef 1, i32 noundef 0)
  br label %94

94:                                               ; preds = %93, %92
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %97 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %98 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %99 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %100 = call i32 @validate_zuc_EEA_4_block(ptr noundef %95, ptr noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99, i32 noundef 1)
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %94
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %104

103:                                              ; preds = %94
  call void @test_suite_update(ptr noundef %10, i32 noundef 1, i32 noundef 0)
  br label %104

104:                                              ; preds = %103, %102
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %105

105:                                              ; preds = %124, %104
  %106 = load i32, ptr %4, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = icmp ult i64 %107, 5
  br i1 %108, label %109, label %127

109:                                              ; preds = %105
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %112 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  %113 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %114 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %115 = load i32, ptr %4, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !9
  %119 = call i32 @validate_zuc_EEA_n_block(ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113, ptr noundef %114, i32 noundef %118, i32 noundef 1)
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %122

121:                                              ; preds = %109
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %123

122:                                              ; preds = %109
  call void @test_suite_update(ptr noundef %10, i32 noundef 1, i32 noundef 0)
  br label %123

123:                                              ; preds = %122, %121
  br label %124

124:                                              ; preds = %123
  %125 = load i32, ptr %4, align 4, !tbaa !9
  %126 = add i32 %125, 1
  store i32 %126, ptr %4, align 4, !tbaa !9
  br label %105, !llvm.loop !13

127:                                              ; preds = %105
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %147, %127
  %129 = load i32, ptr %4, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = icmp ult i64 %130, 5
  br i1 %131, label %132, label %150

132:                                              ; preds = %128
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %135 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  %136 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %137 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %138 = load i32, ptr %4, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !9
  %142 = call i32 @validate_zuc256_EEA3(ptr noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137, i32 noundef %141, i32 noundef 1)
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %132
  call void @test_suite_update(ptr noundef %11, i32 noundef 0, i32 noundef 1)
  br label %146

145:                                              ; preds = %132
  call void @test_suite_update(ptr noundef %11, i32 noundef 1, i32 noundef 0)
  br label %146

146:                                              ; preds = %145, %144
  br label %147

147:                                              ; preds = %146
  %148 = load i32, ptr %4, align 4, !tbaa !9
  %149 = add i32 %148, 1
  store i32 %149, ptr %4, align 4, !tbaa !9
  br label %128, !llvm.loop !14

150:                                              ; preds = %128
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %170, %150
  %152 = load i32, ptr %4, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = icmp ult i64 %153, 5
  br i1 %154, label %155, label %173

155:                                              ; preds = %151
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %158 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  %159 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %160 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %161 = load i32, ptr %4, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !9
  %165 = call i32 @validate_zuc_EEA_n_block(ptr noundef %156, ptr noundef %157, ptr noundef %158, ptr noundef %159, ptr noundef %160, i32 noundef %164, i32 noundef 2)
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %168

167:                                              ; preds = %155
  call void @test_suite_update(ptr noundef %10, i32 noundef 0, i32 noundef 1)
  br label %169

168:                                              ; preds = %155
  call void @test_suite_update(ptr noundef %10, i32 noundef 1, i32 noundef 0)
  br label %169

169:                                              ; preds = %168, %167
  br label %170

170:                                              ; preds = %169
  %171 = load i32, ptr %4, align 4, !tbaa !9
  %172 = add i32 %171, 1
  store i32 %172, ptr %4, align 4, !tbaa !9
  br label %151, !llvm.loop !15

173:                                              ; preds = %151
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %174

174:                                              ; preds = %193, %173
  %175 = load i32, ptr %4, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = icmp ult i64 %176, 5
  br i1 %177, label %178, label %196

178:                                              ; preds = %174
  %179 = load ptr, ptr %2, align 8, !tbaa !5
  %180 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  %181 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  %182 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  %183 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  %184 = load i32, ptr %4, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %185
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = call i32 @validate_zuc256_EEA3(ptr noundef %179, ptr noundef %180, ptr noundef %181, ptr noundef %182, ptr noundef %183, i32 noundef %187, i32 noundef 2)
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %191

190:                                              ; preds = %178
  call void @test_suite_update(ptr noundef %11, i32 noundef 0, i32 noundef 1)
  br label %192

191:                                              ; preds = %178
  call void @test_suite_update(ptr noundef %11, i32 noundef 1, i32 noundef 0)
  br label %192

192:                                              ; preds = %191, %190
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %4, align 4, !tbaa !9
  %195 = add i32 %194, 1
  store i32 %195, ptr %4, align 4, !tbaa !9
  br label %174, !llvm.loop !16

196:                                              ; preds = %174
  br label %197

197:                                              ; preds = %196, %29, %21, %15
  %198 = getelementptr inbounds [17 x ptr], ptr %6, i64 0, i64 0
  call void @freePtrArray(ptr noundef %198, i32 noundef 17)
  %199 = getelementptr inbounds [17 x ptr], ptr %7, i64 0, i64 0
  call void @freePtrArray(ptr noundef %199, i32 noundef 17)
  %200 = getelementptr inbounds [17 x ptr], ptr %8, i64 0, i64 0
  call void @freePtrArray(ptr noundef %200, i32 noundef 17)
  %201 = getelementptr inbounds [17 x ptr], ptr %9, i64 0, i64 0
  call void @freePtrArray(ptr noundef %201, i32 noundef 17)
  %202 = call i32 @test_suite_end(ptr noundef %10)
  %203 = load i32, ptr %5, align 4, !tbaa !9
  %204 = add nsw i32 %203, %202
  store i32 %204, ptr %5, align 4, !tbaa !9
  %205 = call i32 @test_suite_end(ptr noundef %11)
  %206 = load i32, ptr %5, align 4, !tbaa !9
  %207 = add nsw i32 %206, %205
  store i32 %207, ptr %5, align 4, !tbaa !9
  %208 = load i32, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 20, ptr %3) #5
  ret i32 %208
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

declare void @test_suite_start(ptr noundef, ptr noundef) #4

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

declare i32 @printf(ptr noundef, ...) #4

declare void @test_suite_update(ptr noundef, i32 noundef, i32 noundef) #4

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

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

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

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

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

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

declare i32 @test_suite_end(ptr noundef) #4

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.test_suite_context = type { i32, i32, ptr }

@__const.zuc_eea3_test.numBuffs = external hidden unnamed_addr constant [5 x i32], align 16
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @zuc_eea3_test(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca [17 x ptr], align 16
  %3 = alloca [17 x ptr], align 16
  %4 = alloca [17 x ptr], align 16
  %5 = alloca [17 x ptr], align 16
  %6 = alloca %struct.test_suite_context, align 8
  %7 = alloca %struct.test_suite_context, align 8
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %2) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(136) %2, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %3) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(136) %3, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %4) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(136) %4, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %5) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(136) %5, i8 0, i64 136, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @test_suite_start(ptr noundef nonnull %6, ptr noundef nonnull @.str) #5
  call void @test_suite_start(ptr noundef nonnull %7, ptr noundef nonnull @.str.1) #5
  %8 = call i32 @createData(ptr noundef nonnull %4, i32 noundef 17)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %11, label %9

9:                                                ; preds = %1
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.loopexit

11:                                               ; preds = %1
  %12 = call i32 @createData(ptr noundef nonnull %5, i32 noundef 17)
  %.not31 = icmp eq i32 %12, 0
  br i1 %.not31, label %15, label %13

13:                                               ; preds = %11
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  call void @freePtrArray(ptr noundef nonnull %4, i32 noundef 17)
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.loopexit

15:                                               ; preds = %11
  %16 = call i32 @createKeyVecData(i32 noundef 32, ptr noundef nonnull %2, i32 noundef 25, ptr noundef nonnull %3, i32 noundef 17)
  %.not32 = icmp eq i32 %16, 0
  br i1 %.not32, label %19, label %17

17:                                               ; preds = %15
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  call void @freePtrArray(ptr noundef nonnull %4, i32 noundef 17)
  call void @freePtrArray(ptr noundef nonnull %5, i32 noundef 17)
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.loopexit

19:                                               ; preds = %15
  %20 = load ptr, ptr %4, align 16, !tbaa !5
  %21 = load ptr, ptr %2, align 16, !tbaa !5
  %22 = load ptr, ptr %3, align 16, !tbaa !5
  %23 = call i32 @validate_zuc_EEA_1_block(ptr noundef %0, ptr noundef %20, ptr noundef %20, ptr noundef %21, ptr noundef %22, i32 noundef 0)
  %.not33 = icmp eq i32 %23, 0
  br i1 %.not33, label %25, label %24

24:                                               ; preds = %19
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %26

25:                                               ; preds = %19
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %26

26:                                               ; preds = %25, %24
  %27 = call i32 @validate_zuc_EEA_4_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 0)
  %.not34 = icmp eq i32 %27, 0
  br i1 %.not34, label %29, label %28

28:                                               ; preds = %26
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %30

29:                                               ; preds = %26
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %30

30:                                               ; preds = %29, %28
  %31 = load i32, ptr @__const.zuc_eea3_test.numBuffs, align 16, !tbaa !9
  %32 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %31, i32 noundef 0)
  %.not41 = icmp eq i32 %32, 0
  br i1 %.not41, label %34, label %33

33:                                               ; preds = %30
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %35

34:                                               ; preds = %30
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %35

35:                                               ; preds = %33, %34
  %36 = load i32, ptr getelementptr inbounds (i8, ptr @__const.zuc_eea3_test.numBuffs, i64 4), align 4, !tbaa !9
  %37 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %36, i32 noundef 0)
  %.not41.1 = icmp eq i32 %37, 0
  br i1 %.not41.1, label %39, label %38

38:                                               ; preds = %35
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %40

39:                                               ; preds = %35
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %40

40:                                               ; preds = %39, %38
  %41 = load i32, ptr getelementptr inbounds (i8, ptr @__const.zuc_eea3_test.numBuffs, i64 8), align 8, !tbaa !9
  %42 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %41, i32 noundef 0)
  %.not41.2 = icmp eq i32 %42, 0
  br i1 %.not41.2, label %44, label %43

43:                                               ; preds = %40
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %45

44:                                               ; preds = %40
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %45

45:                                               ; preds = %44, %43
  %46 = load i32, ptr getelementptr inbounds (i8, ptr @__const.zuc_eea3_test.numBuffs, i64 12), align 4, !tbaa !9
  %47 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %46, i32 noundef 0)
  %.not41.3 = icmp eq i32 %47, 0
  br i1 %.not41.3, label %49, label %48

48:                                               ; preds = %45
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %50

49:                                               ; preds = %45
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %50

50:                                               ; preds = %49, %48
  %51 = load i32, ptr getelementptr inbounds (i8, ptr @__const.zuc_eea3_test.numBuffs, i64 16), align 16, !tbaa !9
  %52 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %51, i32 noundef 0)
  %.not41.4 = icmp eq i32 %52, 0
  br i1 %.not41.4, label %54, label %53

53:                                               ; preds = %50
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %55

54:                                               ; preds = %50
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %55

55:                                               ; preds = %54, %53
  %56 = load ptr, ptr %4, align 16, !tbaa !5
  %57 = load ptr, ptr %2, align 16, !tbaa !5
  %58 = load ptr, ptr %3, align 16, !tbaa !5
  %59 = call i32 @validate_zuc_EEA_1_block(ptr noundef %0, ptr noundef %56, ptr noundef %56, ptr noundef %57, ptr noundef %58, i32 noundef 1)
  %.not35 = icmp eq i32 %59, 0
  br i1 %.not35, label %61, label %60

60:                                               ; preds = %55
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %62

61:                                               ; preds = %55
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %62

62:                                               ; preds = %61, %60
  %63 = call i32 @validate_zuc_EEA_4_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 1)
  %.not36 = icmp eq i32 %63, 0
  br i1 %.not36, label %65, label %64

64:                                               ; preds = %62
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %66

65:                                               ; preds = %62
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %66

66:                                               ; preds = %65, %64
  %67 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %31, i32 noundef 1)
  %.not40 = icmp eq i32 %67, 0
  br i1 %.not40, label %69, label %68

68:                                               ; preds = %66
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %70

69:                                               ; preds = %66
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %70

70:                                               ; preds = %68, %69
  %71 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %36, i32 noundef 1)
  %.not40.1 = icmp eq i32 %71, 0
  br i1 %.not40.1, label %73, label %72

72:                                               ; preds = %70
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %74

73:                                               ; preds = %70
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %74

74:                                               ; preds = %73, %72
  %75 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %41, i32 noundef 1)
  %.not40.2 = icmp eq i32 %75, 0
  br i1 %.not40.2, label %77, label %76

76:                                               ; preds = %74
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %78

77:                                               ; preds = %74
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %78

78:                                               ; preds = %77, %76
  %79 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %46, i32 noundef 1)
  %.not40.3 = icmp eq i32 %79, 0
  br i1 %.not40.3, label %81, label %80

80:                                               ; preds = %78
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %82

81:                                               ; preds = %78
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %82

82:                                               ; preds = %81, %80
  %83 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %51, i32 noundef 1)
  %.not40.4 = icmp eq i32 %83, 0
  br i1 %.not40.4, label %85, label %84

84:                                               ; preds = %82
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader43.preheader

85:                                               ; preds = %82
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader43.preheader

.preheader43.preheader:                           ; preds = %85, %84
  %86 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %31, i32 noundef 1)
  %.not39 = icmp eq i32 %86, 0
  br i1 %.not39, label %88, label %87

87:                                               ; preds = %.preheader43.preheader
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader43.1

88:                                               ; preds = %.preheader43.preheader
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader43.1

.preheader43.1:                                   ; preds = %87, %88
  %89 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %36, i32 noundef 1)
  %.not39.1 = icmp eq i32 %89, 0
  br i1 %.not39.1, label %91, label %90

90:                                               ; preds = %.preheader43.1
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader43.2

91:                                               ; preds = %.preheader43.1
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader43.2

.preheader43.2:                                   ; preds = %91, %90
  %92 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %41, i32 noundef 1)
  %.not39.2 = icmp eq i32 %92, 0
  br i1 %.not39.2, label %94, label %93

93:                                               ; preds = %.preheader43.2
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader43.3

94:                                               ; preds = %.preheader43.2
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader43.3

.preheader43.3:                                   ; preds = %94, %93
  %95 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %46, i32 noundef 1)
  %.not39.3 = icmp eq i32 %95, 0
  br i1 %.not39.3, label %97, label %96

96:                                               ; preds = %.preheader43.3
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader43.4

97:                                               ; preds = %.preheader43.3
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader43.4

.preheader43.4:                                   ; preds = %97, %96
  %98 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %51, i32 noundef 1)
  %.not39.4 = icmp eq i32 %98, 0
  br i1 %.not39.4, label %100, label %99

99:                                               ; preds = %.preheader43.4
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader42.preheader

100:                                              ; preds = %.preheader43.4
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader42.preheader

.preheader42.preheader:                           ; preds = %100, %99
  %101 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %31, i32 noundef 2)
  %.not38 = icmp eq i32 %101, 0
  br i1 %.not38, label %103, label %102

102:                                              ; preds = %.preheader42.preheader
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader42.1

103:                                              ; preds = %.preheader42.preheader
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader42.1

.preheader42.1:                                   ; preds = %102, %103
  %104 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %36, i32 noundef 2)
  %.not38.1 = icmp eq i32 %104, 0
  br i1 %.not38.1, label %106, label %105

105:                                              ; preds = %.preheader42.1
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader42.2

106:                                              ; preds = %.preheader42.1
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader42.2

.preheader42.2:                                   ; preds = %106, %105
  %107 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %41, i32 noundef 2)
  %.not38.2 = icmp eq i32 %107, 0
  br i1 %.not38.2, label %109, label %108

108:                                              ; preds = %.preheader42.2
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader42.3

109:                                              ; preds = %.preheader42.2
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader42.3

.preheader42.3:                                   ; preds = %109, %108
  %110 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %46, i32 noundef 2)
  %.not38.3 = icmp eq i32 %110, 0
  br i1 %.not38.3, label %112, label %111

111:                                              ; preds = %.preheader42.3
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader42.4

112:                                              ; preds = %.preheader42.3
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader42.4

.preheader42.4:                                   ; preds = %112, %111
  %113 = call i32 @validate_zuc_EEA_n_block(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %51, i32 noundef 2)
  %.not38.4 = icmp eq i32 %113, 0
  br i1 %.not38.4, label %115, label %114

114:                                              ; preds = %.preheader42.4
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader.preheader

115:                                              ; preds = %.preheader42.4
  call void @test_suite_update(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %115, %114
  %116 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %31, i32 noundef 2)
  %.not37 = icmp eq i32 %116, 0
  br i1 %.not37, label %118, label %117

117:                                              ; preds = %.preheader.preheader
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader.1

118:                                              ; preds = %.preheader.preheader
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader.1

.preheader.1:                                     ; preds = %117, %118
  %119 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %36, i32 noundef 2)
  %.not37.1 = icmp eq i32 %119, 0
  br i1 %.not37.1, label %121, label %120

120:                                              ; preds = %.preheader.1
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader.2

121:                                              ; preds = %.preheader.1
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader.2

.preheader.2:                                     ; preds = %121, %120
  %122 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %41, i32 noundef 2)
  %.not37.2 = icmp eq i32 %122, 0
  br i1 %.not37.2, label %124, label %123

123:                                              ; preds = %.preheader.2
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader.3

124:                                              ; preds = %.preheader.2
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader.3

.preheader.3:                                     ; preds = %124, %123
  %125 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %46, i32 noundef 2)
  %.not37.3 = icmp eq i32 %125, 0
  br i1 %.not37.3, label %127, label %126

126:                                              ; preds = %.preheader.3
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.preheader.4

127:                                              ; preds = %.preheader.3
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.preheader.4

.preheader.4:                                     ; preds = %127, %126
  %128 = call i32 @validate_zuc256_EEA3(ptr noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef %51, i32 noundef 2)
  %.not37.4 = icmp eq i32 %128, 0
  br i1 %.not37.4, label %130, label %129

129:                                              ; preds = %.preheader.4
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 0, i32 noundef 1) #5
  br label %.loopexit

130:                                              ; preds = %.preheader.4
  call void @test_suite_update(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 0) #5
  br label %.loopexit

.loopexit:                                        ; preds = %129, %130, %17, %13, %9
  call void @freePtrArray(ptr noundef nonnull %2, i32 noundef 17)
  call void @freePtrArray(ptr noundef nonnull %3, i32 noundef 17)
  call void @freePtrArray(ptr noundef nonnull %4, i32 noundef 17)
  call void @freePtrArray(ptr noundef nonnull %5, i32 noundef 17)
  %131 = call i32 @test_suite_end(ptr noundef nonnull %6) #5
  %132 = call i32 @test_suite_end(ptr noundef nonnull %7) #5
  %133 = add nsw i32 %132, %131
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %2) #5
  ret i32 %133
}

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

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

declare void @test_suite_start(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

declare void @test_suite_update(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

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

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

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

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

declare i32 @test_suite_end(ptr noundef) local_unnamed_addr #3

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SROAPass,SimplifyCFGPass