; LLVM IR from intel/intel-ipsec-mb :: test/kat-app (zuc_eia3_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.mac_test = type { i64, i64, i64, ptr, ptr, ptr, i32, i64, ptr, i64 }
%struct.zuc_eia3_128_params = type { ptr, ptr, ptr }
%struct.IMB_MGR = type { i64, i64, [4 x i64], [7 x i8], i8, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, [256 x %struct.IMB_JOB], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.IMB_JOB = type { ptr, ptr, i64, %union.anon, %union.anon.0, %union.anon.1, %union.anon.2, i64, %union.anon.3, ptr, i64, ptr, i64, %union.anon.4, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32, %union.anon.5, [2 x i32], i32 }
%union.anon = type { ptr }
%union.anon.0 = type { ptr }
%union.anon.1 = type { i64 }
%union.anon.2 = type { i64 }
%union.anon.3 = type { i64 }
%union.anon.4 = type { %struct._AES_XCBC_specific_fields }
%struct._AES_XCBC_specific_fields = type { ptr, ptr, ptr }
%union.anon.5 = type { %struct._CBCS_specific_fields }
%struct._CBCS_specific_fields = type { ptr }

@zuc_eia3_128_test_json = external constant [0 x %struct.mac_test], align 8
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@stdout = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [81 x i8], align 1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @validate_zuc_EIA_n_block(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) #4 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca [17 x i32], align 16
  %23 = alloca [17 x i64], align 16
  %24 = alloca [17 x i64], align 16
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca %struct.zuc_eia3_128_params, align 8
  %28 = alloca i32, align 4
  %29 = alloca %struct.zuc_eia3_128_params, align 8
  %30 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store i32 %5, ptr %14, align 4, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 68, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 136, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 136, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  store ptr @zuc_eia3_128_test_json, ptr %25, align 8, !tbaa !5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %42, %7
  %32 = load ptr, ptr %25, align 8, !tbaa !5
  %33 = load i32, ptr %16, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds %struct.mac_test, ptr %32, i64 %34
  %36 = getelementptr inbounds %struct.mac_test, ptr %35, i32 0, i32 4
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %45

39:                                               ; preds = %31
  %40 = load i32, ptr %18, align 4, !tbaa !9
  %41 = add i32 %40, 1
  store i32 %41, ptr %18, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %39
  %43 = load i32, ptr %16, align 4, !tbaa !9
  %44 = add i32 %43, 1
  store i32 %44, ptr %16, align 4, !tbaa !9
  br label %31, !llvm.loop !14

45:                                               ; preds = %31
  %46 = load i32, ptr %18, align 4, !tbaa !9
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %50

48:                                               ; preds = %45
  %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i32 1, ptr %8, align 4
  store i32 1, ptr %26, align 4
  br label %436

50:                                               ; preds = %45
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %237, %50
  %52 = load i32, ptr %16, align 4, !tbaa !9
  %53 = load i32, ptr %18, align 4, !tbaa !9
  %54 = icmp ult i32 %52, %53
  br i1 %54, label %55, label %240

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

56:                                               ; preds = %133, %55
  %57 = load i32, ptr %17, align 4, !tbaa !9
  %58 = load i32, ptr %14, align 4, !tbaa !9
  %59 = icmp ult i32 %57, %58
  br i1 %59, label %60, label %136

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #7
  call void @llvm.memset.p0.i64(ptr align 8 %27, i8 0, i64 24, i1 false)
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = load i32, ptr %17, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds ptr, ptr %61, i64 %63
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = load ptr, ptr %25, align 8, !tbaa !5
  %67 = load i32, ptr %16, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = getelementptr inbounds %struct.mac_test, ptr %66, i64 %68
  %70 = getelementptr inbounds %struct.mac_test, ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %65, ptr align 1 %71, i64 16, i1 false)
  %72 = load ptr, ptr %25, align 8, !tbaa !5
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds %struct.mac_test, ptr %72, i64 %74
  call void @zuc_eia3_128_set_params(ptr noundef %75, ptr noundef %27)
  %76 = getelementptr inbounds %struct.zuc_eia3_128_params, ptr %27, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !17
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = getelementptr inbounds %struct.zuc_eia3_128_params, ptr %27, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !19
  %81 = load i8, ptr %80, align 1, !tbaa !20
  %82 = getelementptr inbounds %struct.zuc_eia3_128_params, ptr %27, i32 0, i32 2
  %83 = load ptr, ptr %82, align 8, !tbaa !21
  %84 = load i8, ptr %83, align 1, !tbaa !20
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds ptr, ptr %85, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = call i32 @zuc_eia3_iv_gen(i32 noundef %78, i8 noundef zeroext %81, i8 noundef zeroext %84, ptr noundef %89)
  %91 = load ptr, ptr %25, align 8, !tbaa !5
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds %struct.mac_test, ptr %91, i64 %93
  %95 = getelementptr inbounds %struct.mac_test, ptr %94, i32 0, i32 7
  %96 = load i64, ptr %95, align 8, !tbaa !22
  %97 = trunc i64 %96 to i32
  %98 = load i32, ptr %17, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 %99
  store i32 %97, ptr %100, align 4, !tbaa !9
  %101 = load i32, ptr %17, align 4, !tbaa !9
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !9
  %105 = add i32 %104, 7
  %106 = udiv i32 %105, 8
  store i32 %106, ptr %21, align 4, !tbaa !9
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds ptr, ptr %107, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !5
  %112 = load ptr, ptr %25, align 8, !tbaa !5
  %113 = load i32, ptr %16, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds %struct.mac_test, ptr %112, i64 %114
  %116 = getelementptr inbounds %struct.mac_test, ptr %115, i32 0, i32 4
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  %118 = load i32, ptr %21, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %111, ptr align 1 %117, i64 %119, i1 false)
  %120 = load i32, ptr %17, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds [17 x i64], ptr %23, i64 0, i64 %121
  store i64 16, ptr %122, align 8, !tbaa !23
  %123 = load ptr, ptr %25, align 8, !tbaa !5
  %124 = load i32, ptr %16, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds %struct.mac_test, ptr %123, i64 %125
  %127 = getelementptr inbounds %struct.mac_test, ptr %126, i32 0, i32 1
  %128 = load i64, ptr %127, align 8, !tbaa !24
  %129 = udiv i64 %128, 8
  %130 = load i32, ptr %17, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds [17 x i64], ptr %24, i64 0, i64 %131
  store i64 %129, ptr %132, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #7
  br label %133

133:                                              ; preds = %60
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = add i32 %134, 1
  store i32 %135, ptr %17, align 4, !tbaa !9
  br label %56, !llvm.loop !25

136:                                              ; preds = %56
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = icmp eq i32 %137, 1
  br i1 %138, label %139, label %150

139:                                              ; preds = %136
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 0
  %146 = load i32, ptr %14, align 4, !tbaa !9
  %147 = getelementptr inbounds [17 x i64], ptr %24, i64 0, i64 0
  %148 = getelementptr inbounds [17 x i64], ptr %23, i64 0, i64 0
  %149 = call i32 @submit_eia3_jobs(ptr noundef %140, ptr noundef %141, ptr noundef %142, ptr noundef %143, ptr noundef %144, ptr noundef %145, i32 noundef %146, i32 noundef 16, ptr noundef %147, ptr noundef %148)
  br label %175

150:                                              ; preds = %136
  %151 = load i32, ptr %15, align 4, !tbaa !9
  %152 = icmp eq i32 %151, 2
  br i1 %152, label %153, label %164

153:                                              ; preds = %150
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = load ptr, ptr %11, align 8, !tbaa !5
  %159 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 0
  %160 = load i32, ptr %14, align 4, !tbaa !9
  %161 = getelementptr inbounds [17 x i64], ptr %24, i64 0, i64 0
  %162 = getelementptr inbounds [17 x i64], ptr %23, i64 0, i64 0
  %163 = call i32 @submit_burst_eia3_jobs(ptr noundef %154, ptr noundef %155, ptr noundef %156, ptr noundef %157, ptr noundef %158, ptr noundef %159, i32 noundef %160, i32 noundef 16, ptr noundef %161, ptr noundef %162)
  br label %174

164:                                              ; preds = %150
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.IMB_MGR, ptr %165, i32 0, i32 85
  %167 = load ptr, ptr %166, align 8, !tbaa !26
  %168 = load ptr, ptr %12, align 8, !tbaa !5
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = load ptr, ptr %10, align 8, !tbaa !5
  %171 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 0
  %172 = load ptr, ptr %11, align 8, !tbaa !5
  %173 = load i32, ptr %14, align 4, !tbaa !9
  call void %167(ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171, ptr noundef %172, i32 noundef %173)
  br label %174

174:                                              ; preds = %164, %153
  br label %175

175:                                              ; preds = %174, %139
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %233, %175
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = load i32, ptr %14, align 4, !tbaa !9
  %179 = icmp ult i32 %177, %178
  br i1 %179, label %180, label %236

180:                                              ; preds = %176
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = load i32, ptr %17, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = getelementptr inbounds ptr, ptr %181, i64 %183
  %185 = load ptr, ptr %184, align 8, !tbaa !5
  %186 = load ptr, ptr %25, align 8, !tbaa !5
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds %struct.mac_test, ptr %186, i64 %188
  %190 = getelementptr inbounds %struct.mac_test, ptr %189, i32 0, i32 5
  %191 = load ptr, ptr %190, align 8, !tbaa !28
  %192 = call i32 @memcmp(ptr noundef %185, ptr noundef %191, i64 noundef 4) #8
  store i32 %192, ptr %19, align 4, !tbaa !9
  %193 = load i32, ptr %19, align 4, !tbaa !9
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %230

195:                                              ; preds = %180
  %196 = load i32, ptr %14, align 4, !tbaa !9
  %197 = load ptr, ptr %25, align 8, !tbaa !5
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds %struct.mac_test, ptr %197, i64 %199
  %201 = getelementptr inbounds %struct.mac_test, ptr %200, i32 0, i32 2
  %202 = load i64, ptr %201, align 8, !tbaa !29
  %203 = load ptr, ptr %25, align 8, !tbaa !5
  %204 = load i32, ptr %16, align 4, !tbaa !9
  %205 = zext i32 %204 to i64
  %206 = getelementptr inbounds %struct.mac_test, ptr %203, i64 %205
  %207 = getelementptr inbounds %struct.mac_test, ptr %206, i32 0, i32 7
  %208 = load i64, ptr %207, align 8, !tbaa !22
  %209 = udiv i64 %208, 8
  %210 = load ptr, ptr %25, align 8, !tbaa !5
  %211 = load i32, ptr %16, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds %struct.mac_test, ptr %210, i64 %212
  %214 = getelementptr inbounds %struct.mac_test, ptr %213, i32 0, i32 1
  %215 = load i64, ptr %214, align 8, !tbaa !24
  %216 = udiv i64 %215, 8
  %217 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %196, i64 noundef %202, i64 noundef %209, i64 noundef %216)
  %218 = load ptr, ptr %25, align 8, !tbaa !5
  %219 = load i32, ptr %16, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds %struct.mac_test, ptr %218, i64 %220
  %222 = getelementptr inbounds %struct.mac_test, ptr %221, i32 0, i32 5
  %223 = load ptr, ptr %222, align 8, !tbaa !28
  call void @byte_hexdump(ptr noundef @.str.5, ptr noundef %223, i32 noundef 4)
  %224 = load ptr, ptr %11, align 8, !tbaa !5
  %225 = load i32, ptr %17, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds ptr, ptr %224, i64 %226
  %228 = load ptr, ptr %227, align 8, !tbaa !5
  call void @byte_hexdump(ptr noundef @.str.6, ptr noundef %228, i32 noundef 4)
  %229 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %229, ptr %20, align 4, !tbaa !9
  br label %230

230:                                              ; preds = %195, %180
  %231 = load ptr, ptr @stdout, align 8, !tbaa !5
  %232 = call i32 @fflush(ptr noundef %231)
  br label %233

233:                                              ; preds = %230
  %234 = load i32, ptr %17, align 4, !tbaa !9
  %235 = add i32 %234, 1
  store i32 %235, ptr %17, align 4, !tbaa !9
  br label %176, !llvm.loop !30

236:                                              ; preds = %176
  br label %237

237:                                              ; preds = %236
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = add i32 %238, 1
  store i32 %239, ptr %16, align 4, !tbaa !9
  br label %51, !llvm.loop !31

240:                                              ; preds = %51
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %241

241:                                              ; preds = %321, %240
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = icmp ult i32 %242, %243
  br i1 %244, label %245, label %324

245:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %246 = load i32, ptr %16, align 4, !tbaa !9
  %247 = load i32, ptr %18, align 4, !tbaa !9
  %248 = urem i32 %246, %247
  store i32 %248, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 24, i1 false)
  %249 = load ptr, ptr %12, align 8, !tbaa !5
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds ptr, ptr %249, i64 %251
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  %254 = load ptr, ptr %25, align 8, !tbaa !5
  %255 = load i32, ptr %28, align 4, !tbaa !9
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds %struct.mac_test, ptr %254, i64 %256
  %258 = getelementptr inbounds %struct.mac_test, ptr %257, i32 0, i32 3
  %259 = load ptr, ptr %258, align 8, !tbaa !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %253, ptr align 1 %259, i64 16, i1 false)
  %260 = load ptr, ptr %25, align 8, !tbaa !5
  %261 = load i32, ptr %28, align 4, !tbaa !9
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds %struct.mac_test, ptr %260, i64 %262
  call void @zuc_eia3_128_set_params(ptr noundef %263, ptr noundef %29)
  %264 = getelementptr inbounds %struct.zuc_eia3_128_params, ptr %29, i32 0, i32 0
  %265 = load ptr, ptr %264, align 8, !tbaa !17
  %266 = load i32, ptr %265, align 4, !tbaa !9
  %267 = getelementptr inbounds %struct.zuc_eia3_128_params, ptr %29, i32 0, i32 1
  %268 = load ptr, ptr %267, align 8, !tbaa !19
  %269 = load i8, ptr %268, align 1, !tbaa !20
  %270 = getelementptr inbounds %struct.zuc_eia3_128_params, ptr %29, i32 0, i32 2
  %271 = load ptr, ptr %270, align 8, !tbaa !21
  %272 = load i8, ptr %271, align 1, !tbaa !20
  %273 = load ptr, ptr %13, align 8, !tbaa !5
  %274 = load i32, ptr %16, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = getelementptr inbounds ptr, ptr %273, i64 %275
  %277 = load ptr, ptr %276, align 8, !tbaa !5
  %278 = call i32 @zuc_eia3_iv_gen(i32 noundef %266, i8 noundef zeroext %269, i8 noundef zeroext %272, ptr noundef %277)
  %279 = load ptr, ptr %25, align 8, !tbaa !5
  %280 = load i32, ptr %28, align 4, !tbaa !9
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds %struct.mac_test, ptr %279, i64 %281
  %283 = getelementptr inbounds %struct.mac_test, ptr %282, i32 0, i32 7
  %284 = load i64, ptr %283, align 8, !tbaa !22
  %285 = trunc i64 %284 to i32
  %286 = load i32, ptr %16, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 %287
  store i32 %285, ptr %288, align 4, !tbaa !9
  %289 = load i32, ptr %16, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 %290
  %292 = load i32, ptr %291, align 4, !tbaa !9
  %293 = add i32 %292, 7
  %294 = udiv i32 %293, 8
  store i32 %294, ptr %21, align 4, !tbaa !9
  %295 = load ptr, ptr %10, align 8, !tbaa !5
  %296 = load i32, ptr %16, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = getelementptr inbounds ptr, ptr %295, i64 %297
  %299 = load ptr, ptr %298, align 8, !tbaa !5
  %300 = load ptr, ptr %25, align 8, !tbaa !5
  %301 = load i32, ptr %28, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds %struct.mac_test, ptr %300, i64 %302
  %304 = getelementptr inbounds %struct.mac_test, ptr %303, i32 0, i32 4
  %305 = load ptr, ptr %304, align 8, !tbaa !11
  %306 = load i32, ptr %21, align 4, !tbaa !9
  %307 = zext i32 %306 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %299, ptr align 1 %305, i64 %307, i1 false)
  %308 = load i32, ptr %16, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = getelementptr inbounds [17 x i64], ptr %23, i64 0, i64 %309
  store i64 16, ptr %310, align 8, !tbaa !23
  %311 = load ptr, ptr %25, align 8, !tbaa !5
  %312 = load i32, ptr %28, align 4, !tbaa !9
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds %struct.mac_test, ptr %311, i64 %313
  %315 = getelementptr inbounds %struct.mac_test, ptr %314, i32 0, i32 1
  %316 = load i64, ptr %315, align 8, !tbaa !24
  %317 = udiv i64 %316, 8
  %318 = load i32, ptr %16, align 4, !tbaa !9
  %319 = zext i32 %318 to i64
  %320 = getelementptr inbounds [17 x i64], ptr %24, i64 0, i64 %319
  store i64 %317, ptr %320, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %321

321:                                              ; preds = %245
  %322 = load i32, ptr %16, align 4, !tbaa !9
  %323 = add i32 %322, 1
  store i32 %323, ptr %16, align 4, !tbaa !9
  br label %241, !llvm.loop !32

324:                                              ; preds = %241
  %325 = load i32, ptr %15, align 4, !tbaa !9
  %326 = icmp eq i32 %325, 1
  br i1 %326, label %327, label %338

327:                                              ; preds = %324
  %328 = load ptr, ptr %9, align 8, !tbaa !5
  %329 = load ptr, ptr %12, align 8, !tbaa !5
  %330 = load ptr, ptr %13, align 8, !tbaa !5
  %331 = load ptr, ptr %10, align 8, !tbaa !5
  %332 = load ptr, ptr %11, align 8, !tbaa !5
  %333 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 0
  %334 = load i32, ptr %14, align 4, !tbaa !9
  %335 = getelementptr inbounds [17 x i64], ptr %24, i64 0, i64 0
  %336 = getelementptr inbounds [17 x i64], ptr %23, i64 0, i64 0
  %337 = call i32 @submit_eia3_jobs(ptr noundef %328, ptr noundef %329, ptr noundef %330, ptr noundef %331, ptr noundef %332, ptr noundef %333, i32 noundef %334, i32 noundef 16, ptr noundef %335, ptr noundef %336)
  br label %363

338:                                              ; preds = %324
  %339 = load i32, ptr %15, align 4, !tbaa !9
  %340 = icmp eq i32 %339, 2
  br i1 %340, label %341, label %352

341:                                              ; preds = %338
  %342 = load ptr, ptr %9, align 8, !tbaa !5
  %343 = load ptr, ptr %12, align 8, !tbaa !5
  %344 = load ptr, ptr %13, align 8, !tbaa !5
  %345 = load ptr, ptr %10, align 8, !tbaa !5
  %346 = load ptr, ptr %11, align 8, !tbaa !5
  %347 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 0
  %348 = load i32, ptr %14, align 4, !tbaa !9
  %349 = getelementptr inbounds [17 x i64], ptr %24, i64 0, i64 0
  %350 = getelementptr inbounds [17 x i64], ptr %23, i64 0, i64 0
  %351 = call i32 @submit_burst_eia3_jobs(ptr noundef %342, ptr noundef %343, ptr noundef %344, ptr noundef %345, ptr noundef %346, ptr noundef %347, i32 noundef %348, i32 noundef 16, ptr noundef %349, ptr noundef %350)
  br label %362

352:                                              ; preds = %338
  %353 = load ptr, ptr %9, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.IMB_MGR, ptr %353, i32 0, i32 85
  %355 = load ptr, ptr %354, align 8, !tbaa !26
  %356 = load ptr, ptr %12, align 8, !tbaa !5
  %357 = load ptr, ptr %13, align 8, !tbaa !5
  %358 = load ptr, ptr %10, align 8, !tbaa !5
  %359 = getelementptr inbounds [17 x i32], ptr %22, i64 0, i64 0
  %360 = load ptr, ptr %11, align 8, !tbaa !5
  %361 = load i32, ptr %14, align 4, !tbaa !9
  call void %355(ptr noundef %356, ptr noundef %357, ptr noundef %358, ptr noundef %359, ptr noundef %360, i32 noundef %361)
  br label %362

362:                                              ; preds = %352, %341
  br label %363

363:                                              ; preds = %362, %327
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %364

364:                                              ; preds = %431, %363
  %365 = load i32, ptr %16, align 4, !tbaa !9
  %366 = load i32, ptr %14, align 4, !tbaa !9
  %367 = icmp ult i32 %365, %366
  br i1 %367, label %368, label %434

368:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %369 = load i32, ptr %16, align 4, !tbaa !9
  %370 = load i32, ptr %18, align 4, !tbaa !9
  %371 = urem i32 %369, %370
  store i32 %371, ptr %30, align 4, !tbaa !9
  %372 = load ptr, ptr %11, align 8, !tbaa !5
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = zext i32 %373 to i64
  %375 = getelementptr inbounds ptr, ptr %372, i64 %374
  %376 = load ptr, ptr %375, align 8, !tbaa !5
  %377 = load ptr, ptr %25, align 8, !tbaa !5
  %378 = load i32, ptr %30, align 4, !tbaa !9
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds %struct.mac_test, ptr %377, i64 %379
  %381 = getelementptr inbounds %struct.mac_test, ptr %380, i32 0, i32 5
  %382 = load ptr, ptr %381, align 8, !tbaa !28
  %383 = load ptr, ptr %25, align 8, !tbaa !5
  %384 = load i32, ptr %30, align 4, !tbaa !9
  %385 = sext i32 %384 to i64
  %386 = getelementptr inbounds %struct.mac_test, ptr %383, i64 %385
  %387 = getelementptr inbounds %struct.mac_test, ptr %386, i32 0, i32 1
  %388 = load i64, ptr %387, align 8, !tbaa !24
  %389 = udiv i64 %388, 8
  %390 = call i32 @memcmp(ptr noundef %376, ptr noundef %382, i64 noundef %389) #8
  store i32 %390, ptr %19, align 4, !tbaa !9
  %391 = load i32, ptr %19, align 4, !tbaa !9
  %392 = icmp ne i32 %391, 0
  br i1 %392, label %393, label %428

393:                                              ; preds = %368
  %394 = load i32, ptr %14, align 4, !tbaa !9
  %395 = load ptr, ptr %25, align 8, !tbaa !5
  %396 = load i32, ptr %30, align 4, !tbaa !9
  %397 = sext i32 %396 to i64
  %398 = getelementptr inbounds %struct.mac_test, ptr %395, i64 %397
  %399 = getelementptr inbounds %struct.mac_test, ptr %398, i32 0, i32 2
  %400 = load i64, ptr %399, align 8, !tbaa !29
  %401 = load ptr, ptr %25, align 8, !tbaa !5
  %402 = load i32, ptr %30, align 4, !tbaa !9
  %403 = sext i32 %402 to i64
  %404 = getelementptr inbounds %struct.mac_test, ptr %401, i64 %403
  %405 = getelementptr inbounds %struct.mac_test, ptr %404, i32 0, i32 7
  %406 = load i64, ptr %405, align 8, !tbaa !22
  %407 = udiv i64 %406, 8
  %408 = load ptr, ptr %25, align 8, !tbaa !5
  %409 = load i32, ptr %30, align 4, !tbaa !9
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds %struct.mac_test, ptr %408, i64 %410
  %412 = getelementptr inbounds %struct.mac_test, ptr %411, i32 0, i32 1
  %413 = load i64, ptr %412, align 8, !tbaa !24
  %414 = udiv i64 %413, 8
  %415 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %394, i64 noundef %400, i64 noundef %407, i64 noundef %414)
  %416 = load ptr, ptr %25, align 8, !tbaa !5
  %417 = load i32, ptr %30, align 4, !tbaa !9
  %418 = sext i32 %417 to i64
  %419 = getelementptr inbounds %struct.mac_test, ptr %416, i64 %418
  %420 = getelementptr inbounds %struct.mac_test, ptr %419, i32 0, i32 5
  %421 = load ptr, ptr %420, align 8, !tbaa !28
  call void @byte_hexdump(ptr noundef @.str.5, ptr noundef %421, i32 noundef 4)
  %422 = load ptr, ptr %11, align 8, !tbaa !5
  %423 = load i32, ptr %16, align 4, !tbaa !9
  %424 = zext i32 %423 to i64
  %425 = getelementptr inbounds ptr, ptr %422, i64 %424
  %426 = load ptr, ptr %425, align 8, !tbaa !5
  call void @byte_hexdump(ptr noundef @.str.6, ptr noundef %426, i32 noundef 4)
  %427 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %427, ptr %20, align 4, !tbaa !9
  br label %428

428:                                              ; preds = %393, %368
  %429 = load ptr, ptr @stdout, align 8, !tbaa !5
  %430 = call i32 @fflush(ptr noundef %429)
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %431

431:                                              ; preds = %428
  %432 = load i32, ptr %16, align 4, !tbaa !9
  %433 = add i32 %432, 1
  store i32 %433, ptr %16, align 4, !tbaa !9
  br label %364, !llvm.loop !33

434:                                              ; preds = %364
  %435 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %435, ptr %8, align 4
  store i32 1, ptr %26, align 4
  br label %436

436:                                              ; preds = %434, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 136, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 136, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 68, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  %437 = load i32, ptr %8, align 4
  ret i32 %437
}

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

; Function Attrs: nounwind uwtable
declare hidden void @zuc_eia3_128_set_params(ptr noundef, ptr noundef) #4

declare i32 @zuc_eia3_iv_gen(i32 noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @submit_eia3_jobs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

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

declare void @byte_hexdump(ptr noundef, ptr noundef, i32 noundef) #3

declare i32 @fflush(ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @submit_burst_eia3_jobs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !6, i64 32}
!12 = !{!"mac_test", !13, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !13, i64 56, !6, i64 64, !13, i64 72}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !6, i64 24}
!17 = !{!18, !6, i64 0}
!18 = !{!"zuc_eia3_128_params", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!18, !6, i64 8}
!20 = !{!7, !7, i64 0}
!21 = !{!18, !6, i64 16}
!22 = !{!12, !13, i64 56}
!23 = !{!13, !13, i64 0}
!24 = !{!12, !13, i64 8}
!25 = distinct !{!25, !15}
!26 = !{!27, !6, i64 688}
!27 = !{!"IMB_MGR", !13, i64 0, !13, i64 8, !7, i64 16, !7, i64 48, !7, i64 55, !10, i64 56, !10, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448, !6, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !6, i64 616, !6, i64 624, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !6, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !6, i64 1088, !6, i64 1096, !10, i64 1104, !10, i64 1108, !7, i64 1112, !6, i64 56408, !6, i64 56416, !6, i64 56424, !6, i64 56432, !6, i64 56440, !6, i64 56448, !6, i64 56456, !6, i64 56464, !6, i64 56472, !6, i64 56480, !6, i64 56488, !6, i64 56496, !6, i64 56504, !6, i64 56512, !6, i64 56520, !6, i64 56528, !6, i64 56536, !6, i64 56544, !6, i64 56552, !6, i64 56560, !6, i64 56568, !6, i64 56576, !6, i64 56584, !6, i64 56592, !6, i64 56600, !6, i64 56608, !6, i64 56616, !6, i64 56624, !6, i64 56632, !6, i64 56640, !6, i64 56648, !6, i64 56656, !6, i64 56664, !6, i64 56672, !6, i64 56680, !6, i64 56688, !6, i64 56696, !6, i64 56704, !6, i64 56712, !6, i64 56720, !6, i64 56728, !6, i64 56736}
!28 = !{!12, !6, i64 40}
!29 = !{!12, !13, i64 16}
!30 = distinct !{!30, !15}
!31 = distinct !{!31, !15}
!32 = distinct !{!32, !15}
!33 = distinct !{!33, !15}


; 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.mac_test = type { i64, i64, i64, ptr, ptr, ptr, i32, i64, ptr, i64 }
%struct.zuc_eia3_128_params = type { ptr, ptr, ptr }

@zuc_eia3_128_test_json = external constant [0 x %struct.mac_test], align 8
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [81 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @validate_zuc_EIA_n_block(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #4 {
  %8 = alloca [17 x i32], align 16
  %9 = alloca [17 x i64], align 16
  %10 = alloca [17 x i64], align 16
  %11 = alloca %struct.zuc_eia3_128_params, align 8
  %12 = alloca %struct.zuc_eia3_128_params, align 8
  call void @llvm.lifetime.start.p0(i64 68, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %10) #8
  %13 = load ptr, ptr getelementptr inbounds (i8, ptr @zuc_eia3_128_test_json, i64 32), align 8, !tbaa !5
  %.not161 = icmp eq ptr %13, null
  br i1 %.not161, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %7, %.lr.ph
  %.0143163 = phi i32 [ %14, %.lr.ph ], [ 0, %7 ]
  %14 = add i32 %.0143163, 1
  %15 = zext i32 %14 to i64
  %16 = getelementptr inbounds %struct.mac_test, ptr @zuc_eia3_128_test_json, i64 %15, i32 4
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %.not = icmp eq ptr %17, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph
  %18 = icmp eq i32 %14, 0
  br i1 %18, label %._crit_edge.thread, label %.preheader160

.preheader160:                                    ; preds = %._crit_edge
  %.not183 = icmp eq i32 %5, 0
  %19 = getelementptr inbounds i8, ptr %11, i64 8
  %20 = getelementptr inbounds i8, ptr %11, i64 16
  %21 = getelementptr inbounds i8, ptr %0, i64 688
  %wide.trip.count196 = zext i32 %14 to i64
  %wide.trip.count = zext i32 %5 to i64
  %wide.trip.count191 = zext i32 %5 to i64
  br label %.preheader159.outer

._crit_edge.thread:                               ; preds = %7, %._crit_edge
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %.loopexit

.preheader159:                                    ; preds = %.preheader159.outer, %._crit_edge171.thread
  %indvars.iv193 = phi i64 [ %indvars.iv.next194210, %._crit_edge171.thread ], [ %indvars.iv193.ph, %.preheader159.outer ]
  br i1 %.not183, label %._crit_edge166, label %.lr.ph165

.lr.ph165:                                        ; preds = %.preheader159
  %23 = getelementptr inbounds %struct.mac_test, ptr @zuc_eia3_128_test_json, i64 %indvars.iv193
  %24 = getelementptr inbounds i8, ptr %23, i64 24
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  %26 = getelementptr inbounds i8, ptr %23, i64 56
  %27 = getelementptr inbounds i8, ptr %23, i64 32
  %28 = getelementptr inbounds i8, ptr %23, i64 8
  br label %31

.preheader:                                       ; preds = %._crit_edge171
  br i1 %.not183, label %._crit_edge177, label %.lr.ph176

.lr.ph176:                                        ; preds = %.preheader
  %29 = getelementptr inbounds i8, ptr %12, i64 8
  %30 = getelementptr inbounds i8, ptr %12, i64 16
  %wide.trip.count201 = zext i32 %5 to i64
  br label %84

31:                                               ; preds = %.lr.ph165, %31
  %indvars.iv = phi i64 [ 0, %.lr.ph165 ], [ %indvars.iv.next, %31 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  %32 = getelementptr inbounds ptr, ptr %3, i64 %indvars.iv
  %33 = load ptr, ptr %32, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %33, ptr noundef nonnull align 1 dereferenceable(16) %25, i64 16, i1 false)
  call void @zuc_eia3_128_set_params(ptr noundef nonnull %23, ptr noundef nonnull %11)
  %34 = load ptr, ptr %11, align 8, !tbaa !16
  %35 = load i32, ptr %34, align 4, !tbaa !18
  %36 = load ptr, ptr %19, align 8, !tbaa !19
  %37 = load i8, ptr %36, align 1, !tbaa !20
  %38 = load ptr, ptr %20, align 8, !tbaa !21
  %39 = load i8, ptr %38, align 1, !tbaa !20
  %40 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = call i32 @zuc_eia3_iv_gen(i32 noundef %35, i8 noundef zeroext %37, i8 noundef zeroext %39, ptr noundef %41) #8
  %43 = load i64, ptr %26, align 8, !tbaa !22
  %44 = trunc i64 %43 to i32
  %45 = getelementptr inbounds [17 x i32], ptr %8, i64 0, i64 %indvars.iv
  store i32 %44, ptr %45, align 4, !tbaa !18
  %46 = add i64 %43, 7
  %47 = lshr i64 %46, 3
  %48 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %49 = load ptr, ptr %48, align 8, !tbaa !15
  %50 = load ptr, ptr %27, align 8, !tbaa !5
  %51 = and i64 %47, 536870911
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %49, ptr align 1 %50, i64 %51, i1 false)
  %52 = getelementptr inbounds [17 x i64], ptr %9, i64 0, i64 %indvars.iv
  store i64 16, ptr %52, align 8, !tbaa !23
  %53 = load i64, ptr %28, align 8, !tbaa !24
  %54 = lshr i64 %53, 3
  %55 = getelementptr inbounds [17 x i64], ptr %10, i64 0, i64 %indvars.iv
  store i64 %54, ptr %55, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge166, label %31, !llvm.loop !25

._crit_edge166:                                   ; preds = %31, %.preheader159
  switch i32 %6, label %60 [
    i32 1, label %56
    i32 2, label %58
  ]

56:                                               ; preds = %._crit_edge166
  %57 = call i32 @submit_eia3_jobs(ptr noundef %0, ptr noundef %3, ptr noundef %4, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %8, i32 noundef %5, i32 noundef 16, ptr noundef nonnull %10, ptr noundef nonnull %9)
  br label %62

58:                                               ; preds = %._crit_edge166
  %59 = call i32 @submit_burst_eia3_jobs(ptr noundef %0, ptr noundef %3, ptr noundef %4, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %8, i32 noundef %5, i32 noundef 16, ptr noundef nonnull %10, ptr noundef nonnull %9)
  br label %62

60:                                               ; preds = %._crit_edge166
  %61 = load ptr, ptr %21, align 8, !tbaa !26
  call void %61(ptr noundef %3, ptr noundef %4, ptr noundef %1, ptr noundef nonnull %8, ptr noundef %2, i32 noundef %5) #8
  br label %62

62:                                               ; preds = %58, %60, %56
  br i1 %.not183, label %._crit_edge171.thread, label %.lr.ph170

.lr.ph170:                                        ; preds = %62
  %63 = getelementptr inbounds %struct.mac_test, ptr @zuc_eia3_128_test_json, i64 %indvars.iv193
  %64 = getelementptr inbounds i8, ptr %63, i64 40
  %65 = load ptr, ptr %64, align 8, !tbaa !28
  %66 = getelementptr inbounds i8, ptr %63, i64 16
  %67 = getelementptr inbounds i8, ptr %63, i64 56
  %68 = getelementptr inbounds i8, ptr %63, i64 8
  br label %69

69:                                               ; preds = %.lr.ph170, %81
  %indvars.iv188 = phi i64 [ 0, %.lr.ph170 ], [ %indvars.iv.next189, %81 ]
  %.1147167 = phi i32 [ %.0146173.ph, %.lr.ph170 ], [ %.2148, %81 ]
  %70 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv188
  %71 = load ptr, ptr %70, align 8, !tbaa !15
  %72 = call i32 @memcmp(ptr noundef nonnull dereferenceable(4) %71, ptr noundef nonnull dereferenceable(4) %65, i64 noundef 4) #9
  %.not158 = icmp eq i32 %72, 0
  br i1 %.not158, label %81, label %73

73:                                               ; preds = %69
  %74 = load i64, ptr %66, align 8, !tbaa !29
  %75 = load i64, ptr %67, align 8, !tbaa !22
  %76 = lshr i64 %75, 3
  %77 = load i64, ptr %68, align 8, !tbaa !24
  %78 = lshr i64 %77, 3
  %79 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %5, i64 noundef %74, i64 noundef %76, i64 noundef %78)
  call void @byte_hexdump(ptr noundef nonnull @.str.5, ptr noundef %65, i32 noundef 4) #8
  %80 = load ptr, ptr %70, align 8, !tbaa !15
  call void @byte_hexdump(ptr noundef nonnull @.str.6, ptr noundef %80, i32 noundef 4) #8
  br label %81

81:                                               ; preds = %73, %69
  %.2148 = phi i32 [ %72, %73 ], [ %.1147167, %69 ]
  %82 = load ptr, ptr @stdout, align 8, !tbaa !15
  %83 = call i32 @fflush(ptr noundef %82)
  %indvars.iv.next189 = add nuw nsw i64 %indvars.iv188, 1
  %exitcond192.not = icmp eq i64 %indvars.iv.next189, %wide.trip.count191
  br i1 %exitcond192.not, label %._crit_edge171, label %69, !llvm.loop !30

._crit_edge171:                                   ; preds = %81
  %indvars.iv.next194 = add nuw nsw i64 %indvars.iv193, 1
  %exitcond197.not = icmp eq i64 %indvars.iv.next194, %wide.trip.count196
  br i1 %exitcond197.not, label %.preheader, label %.preheader159.outer, !llvm.loop !31

.preheader159.outer:                              ; preds = %._crit_edge171, %.preheader160
  %indvars.iv193.ph = phi i64 [ %indvars.iv.next194, %._crit_edge171 ], [ 0, %.preheader160 ]
  %.0146173.ph = phi i32 [ %.2148, %._crit_edge171 ], [ 0, %.preheader160 ]
  br label %.preheader159

._crit_edge171.thread:                            ; preds = %62
  %indvars.iv.next194210 = add nuw nsw i64 %indvars.iv193, 1
  %exitcond197.not211 = icmp eq i64 %indvars.iv.next194210, %wide.trip.count196
  br i1 %exitcond197.not211, label %._crit_edge177, label %.preheader159, !llvm.loop !31

84:                                               ; preds = %.lr.ph176, %84
  %indvars.iv198 = phi i64 [ 0, %.lr.ph176 ], [ %indvars.iv.next199, %84 ]
  %85 = trunc nuw i64 %indvars.iv198 to i32
  %86 = urem i32 %85, %14
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false)
  %87 = getelementptr inbounds ptr, ptr %3, i64 %indvars.iv198
  %88 = load ptr, ptr %87, align 8, !tbaa !15
  %89 = sext i32 %86 to i64
  %90 = getelementptr inbounds %struct.mac_test, ptr @zuc_eia3_128_test_json, i64 %89
  %91 = getelementptr inbounds i8, ptr %90, i64 24
  %92 = load ptr, ptr %91, align 8, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %88, ptr noundef nonnull align 1 dereferenceable(16) %92, i64 16, i1 false)
  call void @zuc_eia3_128_set_params(ptr noundef nonnull %90, ptr noundef nonnull %12)
  %93 = load ptr, ptr %12, align 8, !tbaa !16
  %94 = load i32, ptr %93, align 4, !tbaa !18
  %95 = load ptr, ptr %29, align 8, !tbaa !19
  %96 = load i8, ptr %95, align 1, !tbaa !20
  %97 = load ptr, ptr %30, align 8, !tbaa !21
  %98 = load i8, ptr %97, align 1, !tbaa !20
  %99 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv198
  %100 = load ptr, ptr %99, align 8, !tbaa !15
  %101 = call i32 @zuc_eia3_iv_gen(i32 noundef %94, i8 noundef zeroext %96, i8 noundef zeroext %98, ptr noundef %100) #8
  %102 = getelementptr inbounds i8, ptr %90, i64 56
  %103 = load i64, ptr %102, align 8, !tbaa !22
  %104 = trunc i64 %103 to i32
  %105 = getelementptr inbounds [17 x i32], ptr %8, i64 0, i64 %indvars.iv198
  store i32 %104, ptr %105, align 4, !tbaa !18
  %106 = add i64 %103, 7
  %107 = lshr i64 %106, 3
  %108 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv198
  %109 = load ptr, ptr %108, align 8, !tbaa !15
  %110 = getelementptr inbounds i8, ptr %90, i64 32
  %111 = load ptr, ptr %110, align 8, !tbaa !5
  %112 = and i64 %107, 536870911
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %109, ptr align 1 %111, i64 %112, i1 false)
  %113 = getelementptr inbounds [17 x i64], ptr %9, i64 0, i64 %indvars.iv198
  store i64 16, ptr %113, align 8, !tbaa !23
  %114 = getelementptr inbounds i8, ptr %90, i64 8
  %115 = load i64, ptr %114, align 8, !tbaa !24
  %116 = lshr i64 %115, 3
  %117 = getelementptr inbounds [17 x i64], ptr %10, i64 0, i64 %indvars.iv198
  store i64 %116, ptr %117, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  %indvars.iv.next199 = add nuw nsw i64 %indvars.iv198, 1
  %exitcond202.not = icmp eq i64 %indvars.iv.next199, %wide.trip.count201
  br i1 %exitcond202.not, label %._crit_edge177, label %84, !llvm.loop !32

._crit_edge177:                                   ; preds = %._crit_edge171.thread, %84, %.preheader
  %.1147.lcssa212214 = phi i32 [ %.2148, %.preheader ], [ %.2148, %84 ], [ %.0146173.ph, %._crit_edge171.thread ]
  switch i32 %6, label %122 [
    i32 1, label %118
    i32 2, label %120
  ]

118:                                              ; preds = %._crit_edge177
  %119 = call i32 @submit_eia3_jobs(ptr noundef %0, ptr noundef %3, ptr noundef %4, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %8, i32 noundef %5, i32 noundef 16, ptr noundef nonnull %10, ptr noundef nonnull %9)
  br label %124

120:                                              ; preds = %._crit_edge177
  %121 = call i32 @submit_burst_eia3_jobs(ptr noundef %0, ptr noundef %3, ptr noundef %4, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %8, i32 noundef %5, i32 noundef 16, ptr noundef nonnull %10, ptr noundef nonnull %9)
  br label %124

122:                                              ; preds = %._crit_edge177
  %123 = load ptr, ptr %21, align 8, !tbaa !26
  call void %123(ptr noundef %3, ptr noundef %4, ptr noundef %1, ptr noundef nonnull %8, ptr noundef %2, i32 noundef %5) #8
  br label %124

124:                                              ; preds = %120, %122, %118
  br i1 %.not183, label %.loopexit, label %.lr.ph181.preheader

.lr.ph181.preheader:                              ; preds = %124
  %wide.trip.count206 = zext i32 %5 to i64
  br label %.lr.ph181

.lr.ph181:                                        ; preds = %.lr.ph181.preheader, %145
  %indvars.iv203 = phi i64 [ 0, %.lr.ph181.preheader ], [ %indvars.iv.next204, %145 ]
  %.3149178 = phi i32 [ %.1147.lcssa212214, %.lr.ph181.preheader ], [ %.4, %145 ]
  %125 = trunc nuw i64 %indvars.iv203 to i32
  %126 = urem i32 %125, %14
  %127 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv203
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = sext i32 %126 to i64
  %130 = getelementptr inbounds %struct.mac_test, ptr @zuc_eia3_128_test_json, i64 %129
  %131 = getelementptr inbounds i8, ptr %130, i64 40
  %132 = load ptr, ptr %131, align 8, !tbaa !28
  %133 = getelementptr inbounds i8, ptr %130, i64 8
  %134 = load i64, ptr %133, align 8, !tbaa !24
  %135 = lshr i64 %134, 3
  %136 = call i32 @memcmp(ptr noundef %128, ptr noundef %132, i64 noundef %135) #9
  %.not157 = icmp eq i32 %136, 0
  br i1 %.not157, label %145, label %137

137:                                              ; preds = %.lr.ph181
  %138 = getelementptr inbounds i8, ptr %130, i64 16
  %139 = load i64, ptr %138, align 8, !tbaa !29
  %140 = getelementptr inbounds i8, ptr %130, i64 56
  %141 = load i64, ptr %140, align 8, !tbaa !22
  %142 = lshr i64 %141, 3
  %143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %5, i64 noundef %139, i64 noundef %142, i64 noundef %135)
  call void @byte_hexdump(ptr noundef nonnull @.str.5, ptr noundef %132, i32 noundef 4) #8
  %144 = load ptr, ptr %127, align 8, !tbaa !15
  call void @byte_hexdump(ptr noundef nonnull @.str.6, ptr noundef %144, i32 noundef 4) #8
  br label %145

145:                                              ; preds = %137, %.lr.ph181
  %.4 = phi i32 [ %136, %137 ], [ %.3149178, %.lr.ph181 ]
  %146 = load ptr, ptr @stdout, align 8, !tbaa !15
  %147 = call i32 @fflush(ptr noundef %146)
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %exitcond207.not = icmp eq i64 %indvars.iv.next204, %wide.trip.count206
  br i1 %exitcond207.not, label %.loopexit, label %.lr.ph181, !llvm.loop !33

.loopexit:                                        ; preds = %145, %124, %._crit_edge.thread
  %.0 = phi i32 [ 1, %._crit_edge.thread ], [ %.1147.lcssa212214, %124 ], [ %.4, %145 ]
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 68, ptr nonnull %8) #8
  ret i32 %.0
}

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

; Function Attrs: nounwind uwtable
declare hidden void @zuc_eia3_128_set_params(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @zuc_eia3_iv_gen(i32 noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @submit_eia3_jobs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @memcmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #7

declare void @byte_hexdump(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @submit_burst_eia3_jobs(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 32}
!6 = !{!"mac_test", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !11, i64 48, !7, i64 56, !10, i64 64, !7, i64 72}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!6, !10, i64 24}
!15 = !{!10, !10, i64 0}
!16 = !{!17, !10, i64 0}
!17 = !{!"zuc_eia3_128_params", !10, i64 0, !10, i64 8, !10, i64 16}
!18 = !{!11, !11, i64 0}
!19 = !{!17, !10, i64 8}
!20 = !{!8, !8, i64 0}
!21 = !{!17, !10, i64 16}
!22 = !{!6, !7, i64 56}
!23 = !{!7, !7, i64 0}
!24 = !{!6, !7, i64 8}
!25 = distinct !{!25, !13}
!26 = !{!27, !10, i64 688}
!27 = !{!"IMB_MGR", !7, i64 0, !7, i64 8, !8, i64 16, !8, i64 48, !8, i64 55, !11, i64 56, !11, i64 60, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !10, i64 560, !10, i64 568, !10, i64 576, !10, i64 584, !10, i64 592, !10, i64 600, !10, i64 608, !10, i64 616, !10, i64 624, !10, i64 632, !10, i64 640, !10, i64 648, !10, i64 656, !10, i64 664, !10, i64 672, !10, i64 680, !10, i64 688, !10, i64 696, !10, i64 704, !10, i64 712, !10, i64 720, !10, i64 728, !10, i64 736, !10, i64 744, !10, i64 752, !10, i64 760, !10, i64 768, !10, i64 776, !10, i64 784, !10, i64 792, !10, i64 800, !10, i64 808, !10, i64 816, !10, i64 824, !10, i64 832, !10, i64 840, !10, i64 848, !10, i64 856, !10, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !10, i64 920, !10, i64 928, !10, i64 936, !10, i64 944, !10, i64 952, !10, i64 960, !10, i64 968, !10, i64 976, !10, i64 984, !10, i64 992, !10, i64 1000, !10, i64 1008, !10, i64 1016, !10, i64 1024, !10, i64 1032, !10, i64 1040, !10, i64 1048, !10, i64 1056, !10, i64 1064, !10, i64 1072, !10, i64 1080, !10, i64 1088, !10, i64 1096, !11, i64 1104, !11, i64 1108, !8, i64 1112, !10, i64 56408, !10, i64 56416, !10, i64 56424, !10, i64 56432, !10, i64 56440, !10, i64 56448, !10, i64 56456, !10, i64 56464, !10, i64 56472, !10, i64 56480, !10, i64 56488, !10, i64 56496, !10, i64 56504, !10, i64 56512, !10, i64 56520, !10, i64 56528, !10, i64 56536, !10, i64 56544, !10, i64 56552, !10, i64 56560, !10, i64 56568, !10, i64 56576, !10, i64 56584, !10, i64 56592, !10, i64 56600, !10, i64 56608, !10, i64 56616, !10, i64 56624, !10, i64 56632, !10, i64 56640, !10, i64 56648, !10, i64 56656, !10, i64 56664, !10, i64 56672, !10, i64 56680, !10, i64 56688, !10, i64 56696, !10, i64 56704, !10, i64 56712, !10, i64 56720, !10, i64 56728, !10, i64 56736}
!28 = !{!6, !10, i64 40}
!29 = !{!6, !7, i64 16}
!30 = distinct !{!30, !13}
!31 = distinct !{!31, !13}
!32 = distinct !{!32, !13}
!33 = distinct !{!33, !13}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass