; LLVM IR from intel/intel-ipsec-mb :: test/fuzz-app (job_api_fuzz_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.IMB_SGL_IOV = type { ptr, ptr, i64 }
%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 }
%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 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [48 x i8], align 1
@LLVMFuzzerTestOneInput.buff = external hidden global [67108864 x i8], align 64
@LLVMFuzzerTestOneInput.sgl_segs = external hidden global [32 x %struct.IMB_SGL_IOV], align 16
@LLVMFuzzerTestOneInput.buff.17 = external hidden global [67108864 x i8], align 64
@LLVMFuzzerTestOneInput.sgl_segs.18 = external hidden global [32 x %struct.IMB_SGL_IOV], align 16
@LLVMFuzzerTestOneInput.buff.19 = external hidden global [67108864 x i8], align 64
@LLVMFuzzerTestOneInput.sgl_segs.20 = external hidden global [32 x %struct.IMB_SGL_IOV], align 16
@LLVMFuzzerTestOneInput.buff.21 = external hidden global [67108864 x i8], align 64

; Function Attrs: nounwind uwtable
define dso_local i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca [128 x ptr], align 16
  %27 = alloca [128 x %struct.IMB_JOB], align 16
  %28 = alloca [128 x %struct.IMB_JOB], align 16
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %29 = call ptr @getenv(ptr noundef @.str) #7
  store ptr %29, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %30 = call ptr @getenv(ptr noundef @.str.1) #7
  store ptr %30, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %31 = call ptr @getenv(ptr noundef @.str.2) #7
  store ptr %31, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %32 = call ptr @getenv(ptr noundef @.str.3) #7
  store ptr %32, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %33 = call ptr @getenv(ptr noundef @.str.4) #7
  store ptr %33, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store i64 33554432, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  store i8 0, ptr %20, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  store i8 0, ptr %21, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #7
  store i8 0, ptr %22, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  store i8 0, ptr %23, align 1, !tbaa !11
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %37

36:                                               ; preds = %2
  store i32 10, ptr %17, align 4, !tbaa !13
  br label %41

37:                                               ; preds = %2
  %38 = load ptr, ptr %14, align 8, !tbaa !5
  %39 = call i64 @strtoul(ptr noundef %38, ptr noundef null, i32 noundef 10) #7
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr %17, align 4, !tbaa !13
  br label %41

41:                                               ; preds = %37, %36
  %42 = load ptr, ptr %15, align 8, !tbaa !5
  %43 = icmp eq ptr %42, null
  br i1 %43, label %44, label %45

44:                                               ; preds = %41
  store i32 16, ptr %18, align 4, !tbaa !13
  br label %49

45:                                               ; preds = %41
  %46 = load ptr, ptr %15, align 8, !tbaa !5
  %47 = call i64 @strtoul(ptr noundef %46, ptr noundef null, i32 noundef 10) #7
  %48 = trunc i64 %47 to i32
  store i32 %48, ptr %18, align 4, !tbaa !13
  br label %49

49:                                               ; preds = %45, %44
  %50 = load i64, ptr %5, align 8, !tbaa !9
  %51 = icmp ult i64 %50, 216
  br i1 %51, label %52, label %53

52:                                               ; preds = %49
  store i32 0, ptr %3, align 4
  store i32 1, ptr %24, align 4
  br label %363

53:                                               ; preds = %49
  %54 = load i32, ptr %17, align 4, !tbaa !13
  %55 = icmp ugt i32 %54, 128
  br i1 %55, label %62, label %56

56:                                               ; preds = %53
  %57 = load i32, ptr %17, align 4, !tbaa !13
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %62, label %59

59:                                               ; preds = %56
  %60 = load i32, ptr %18, align 4, !tbaa !13
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %59, %56, %53
  store i32 0, ptr %3, align 4
  store i32 1, ptr %24, align 4
  br label %363

63:                                               ; preds = %59
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  %65 = icmp ne ptr %64, null
  br i1 %65, label %66, label %80

66:                                               ; preds = %63
  %67 = load ptr, ptr %16, align 8, !tbaa !5
  %68 = call i32 @strcmp(ptr noundef %67, ptr noundef @.str.5) #8
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %66
  store i32 1, ptr %8, align 4, !tbaa !13
  br label %79

71:                                               ; preds = %66
  %72 = load ptr, ptr %16, align 8, !tbaa !5
  %73 = call i32 @strcmp(ptr noundef %72, ptr noundef @.str.6) #8
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %71
  store i32 2, ptr %8, align 4, !tbaa !13
  br label %78

76:                                               ; preds = %71
  %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %24, align 4
  br label %363

78:                                               ; preds = %75
  br label %79

79:                                               ; preds = %78, %70
  br label %81

80:                                               ; preds = %63
  store i32 1, ptr %8, align 4, !tbaa !13
  br label %81

81:                                               ; preds = %80, %79
  %82 = call ptr @alloc_mb_mgr(i64 noundef 0)
  store ptr %82, ptr %9, align 8, !tbaa !5
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = icmp eq ptr %83, null
  br i1 %84, label %85, label %87

85:                                               ; preds = %81
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %24, align 4
  br label %363

87:                                               ; preds = %81
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = icmp eq ptr %88, null
  br i1 %89, label %90, label %92

90:                                               ; preds = %87
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  call void @init_mb_mgr_auto(ptr noundef %91, ptr noundef %10)
  br label %115

92:                                               ; preds = %87
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = call i32 @strcasecmp(ptr noundef %93, ptr noundef @.str.9) #8
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %96, label %98

96:                                               ; preds = %92
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  call void @init_mb_mgr_avx2(ptr noundef %97)
  br label %114

98:                                               ; preds = %92
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = call i32 @strcasecmp(ptr noundef %99, ptr noundef @.str.10) #8
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %104

102:                                              ; preds = %98
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  call void @init_mb_mgr_avx512(ptr noundef %103)
  br label %113

104:                                              ; preds = %98
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = call i32 @strcasecmp(ptr noundef %105, ptr noundef @.str.11) #8
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %108, label %110

108:                                              ; preds = %104
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  call void @init_mb_mgr_sse(ptr noundef %109)
  br label %112

110:                                              ; preds = %104
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  call void @init_mb_mgr_auto(ptr noundef %111, ptr noundef %10)
  br label %112

112:                                              ; preds = %110, %108
  br label %113

113:                                              ; preds = %112, %102
  br label %114

114:                                              ; preds = %113, %96
  br label %115

115:                                              ; preds = %114, %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  store ptr null, ptr %25, align 8, !tbaa !5
  %116 = load ptr, ptr %13, align 8, !tbaa !5
  %117 = icmp eq ptr %116, null
  br i1 %117, label %122, label %118

118:                                              ; preds = %115
  %119 = load ptr, ptr %13, align 8, !tbaa !5
  %120 = call i32 @strcmp(ptr noundef %119, ptr noundef @.str.12) #8
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %118, %115
  store i8 1, ptr %20, align 1, !tbaa !11
  br label %143

123:                                              ; preds = %118
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = call i32 @strcmp(ptr noundef %124, ptr noundef @.str.13) #8
  %126 = icmp eq i32 %125, 0
  br i1 %126, label %127, label %128

127:                                              ; preds = %123
  store i8 1, ptr %23, align 1, !tbaa !11
  br label %142

128:                                              ; preds = %123
  %129 = load ptr, ptr %13, align 8, !tbaa !5
  %130 = call i32 @strcmp(ptr noundef %129, ptr noundef @.str.14) #8
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %128
  store i8 1, ptr %21, align 1, !tbaa !11
  br label %141

133:                                              ; preds = %128
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  %135 = call i32 @strcmp(ptr noundef %134, ptr noundef @.str.15) #8
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %133
  store i8 1, ptr %22, align 1, !tbaa !11
  br label %140

138:                                              ; preds = %133
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %24, align 4
  br label %362

140:                                              ; preds = %137
  br label %141

141:                                              ; preds = %140, %132
  br label %142

142:                                              ; preds = %141, %127
  br label %143

143:                                              ; preds = %142, %122
  %144 = load i8, ptr %20, align 1, !tbaa !11, !range !15, !noundef !16
  %145 = trunc i8 %144 to i1
  br i1 %145, label %146, label %198

146:                                              ; preds = %143
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %147

147:                                              ; preds = %194, %146
  %148 = load i32, ptr %11, align 4, !tbaa !13
  %149 = load i32, ptr %17, align 4, !tbaa !13
  %150 = icmp ult i32 %148, %149
  br i1 %150, label %151, label %197

151:                                              ; preds = %147
  %152 = call i32 @hash_selection()
  store i32 %152, ptr %6, align 4, !tbaa !13
  %153 = call i32 @cipher_selection()
  store i32 %153, ptr %7, align 4, !tbaa !13
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.IMB_MGR, ptr %154, i32 0, i32 7
  %156 = load ptr, ptr %155, align 8, !tbaa !17
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = call ptr %156(ptr noundef %157)
  store ptr %158, ptr %25, align 8, !tbaa !5
  %159 = load ptr, ptr %25, align 8, !tbaa !5
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %159, ptr align 1 %160, i64 216, i1 false)
  %161 = load i32, ptr %6, align 4, !tbaa !13
  %162 = icmp eq i32 %161, 0
  br i1 %162, label %163, label %168

163:                                              ; preds = %151
  %164 = load ptr, ptr %25, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.IMB_JOB, ptr %164, i32 0, i32 17
  %166 = load i32, ptr %165, align 4, !tbaa !19
  %167 = urem i32 %166, 51
  store i32 %167, ptr %165, align 4, !tbaa !19
  br label %172

168:                                              ; preds = %151
  %169 = load i32, ptr %6, align 4, !tbaa !13
  %170 = load ptr, ptr %25, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.IMB_JOB, ptr %170, i32 0, i32 17
  store i32 %169, ptr %171, align 4, !tbaa !19
  br label %172

172:                                              ; preds = %168, %163
  %173 = load i32, ptr %7, align 4, !tbaa !13
  %174 = icmp eq i32 %173, 0
  br i1 %174, label %175, label %180

175:                                              ; preds = %172
  %176 = load ptr, ptr %25, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.IMB_JOB, ptr %176, i32 0, i32 15
  %178 = load i32, ptr %177, align 4, !tbaa !21
  %179 = urem i32 %178, 30
  store i32 %179, ptr %177, align 4, !tbaa !21
  br label %184

180:                                              ; preds = %172
  %181 = load i32, ptr %7, align 4, !tbaa !13
  %182 = load ptr, ptr %25, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.IMB_JOB, ptr %182, i32 0, i32 15
  store i32 %181, ptr %183, align 4, !tbaa !21
  br label %184

184:                                              ; preds = %180, %175
  %185 = load ptr, ptr %25, align 8, !tbaa !5
  call void @clamp_lengths(ptr noundef %185, i64 noundef 33554432)
  %186 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_job_data(ptr noundef %186, ptr noundef @LLVMFuzzerTestOneInput.buff)
  %187 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_additional_cipher_data(ptr noundef %187, ptr noundef @LLVMFuzzerTestOneInput.sgl_segs, i32 noundef 32, ptr noundef @LLVMFuzzerTestOneInput.buff, i64 noundef 33554432)
  %188 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_additional_hash_data(ptr noundef %188, ptr noundef @LLVMFuzzerTestOneInput.buff, i64 noundef 33554432)
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.IMB_MGR, ptr %189, i32 0, i32 8
  %191 = load ptr, ptr %190, align 8, !tbaa !22
  %192 = load ptr, ptr %9, align 8, !tbaa !5
  %193 = call ptr %191(ptr noundef %192)
  br label %194

194:                                              ; preds = %184
  %195 = load i32, ptr %11, align 4, !tbaa !13
  %196 = add i32 %195, 1
  store i32 %196, ptr %11, align 4, !tbaa !13
  br label %147, !llvm.loop !23

197:                                              ; preds = %147
  br label %360

198:                                              ; preds = %143
  %199 = load i8, ptr %23, align 1, !tbaa !11, !range !15, !noundef !16
  %200 = trunc i8 %199 to i1
  br i1 %200, label %201, label %273

201:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 1024, ptr %26) #7
  call void @llvm.memset.p0.i64(ptr align 16 %26, i8 0, i64 1024, i1 false)
  br label %202

202:                                              ; preds = %212, %201
  %203 = load ptr, ptr %9, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.IMB_MGR, ptr %203, i32 0, i32 118
  %205 = load ptr, ptr %204, align 8, !tbaa !25
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  %207 = load i32, ptr %17, align 4, !tbaa !13
  %208 = getelementptr inbounds [128 x ptr], ptr %26, i64 0, i64 0
  %209 = call i32 %205(ptr noundef %206, i32 noundef %207, ptr noundef %208)
  %210 = load i32, ptr %17, align 4, !tbaa !13
  %211 = icmp ult i32 %209, %210
  br i1 %211, label %212, label %220

212:                                              ; preds = %202
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.IMB_MGR, ptr %213, i32 0, i32 121
  %215 = load ptr, ptr %214, align 8, !tbaa !26
  %216 = load ptr, ptr %9, align 8, !tbaa !5
  %217 = load i32, ptr %17, align 4, !tbaa !13
  %218 = getelementptr inbounds [128 x ptr], ptr %26, i64 0, i64 0
  %219 = call i32 %215(ptr noundef %216, i32 noundef %217, ptr noundef %218)
  br label %202, !llvm.loop !27

220:                                              ; preds = %202
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %221

221:                                              ; preds = %262, %220
  %222 = load i32, ptr %11, align 4, !tbaa !13
  %223 = load i32, ptr %17, align 4, !tbaa !13
  %224 = icmp ult i32 %222, %223
  br i1 %224, label %225, label %265

225:                                              ; preds = %221
  %226 = load i32, ptr %11, align 4, !tbaa !13
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds [128 x ptr], ptr %26, i64 0, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !5
  store ptr %229, ptr %25, align 8, !tbaa !5
  %230 = call i32 @hash_selection()
  store i32 %230, ptr %6, align 4, !tbaa !13
  %231 = call i32 @cipher_selection()
  store i32 %231, ptr %7, align 4, !tbaa !13
  %232 = load ptr, ptr %25, align 8, !tbaa !5
  %233 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %232, ptr align 1 %233, i64 216, i1 false)
  %234 = load i32, ptr %6, align 4, !tbaa !13
  %235 = icmp eq i32 %234, 0
  br i1 %235, label %236, label %241

236:                                              ; preds = %225
  %237 = load ptr, ptr %25, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.IMB_JOB, ptr %237, i32 0, i32 17
  %239 = load i32, ptr %238, align 4, !tbaa !19
  %240 = urem i32 %239, 51
  store i32 %240, ptr %238, align 4, !tbaa !19
  br label %245

241:                                              ; preds = %225
  %242 = load i32, ptr %6, align 4, !tbaa !13
  %243 = load ptr, ptr %25, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.IMB_JOB, ptr %243, i32 0, i32 17
  store i32 %242, ptr %244, align 4, !tbaa !19
  br label %245

245:                                              ; preds = %241, %236
  %246 = load i32, ptr %7, align 4, !tbaa !13
  %247 = icmp eq i32 %246, 0
  br i1 %247, label %248, label %253

248:                                              ; preds = %245
  %249 = load ptr, ptr %25, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.IMB_JOB, ptr %249, i32 0, i32 15
  %251 = load i32, ptr %250, align 4, !tbaa !21
  %252 = urem i32 %251, 30
  store i32 %252, ptr %250, align 4, !tbaa !21
  br label %257

253:                                              ; preds = %245
  %254 = load i32, ptr %7, align 4, !tbaa !13
  %255 = load ptr, ptr %25, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.IMB_JOB, ptr %255, i32 0, i32 15
  store i32 %254, ptr %256, align 4, !tbaa !21
  br label %257

257:                                              ; preds = %253, %248
  %258 = load ptr, ptr %25, align 8, !tbaa !5
  call void @clamp_lengths(ptr noundef %258, i64 noundef 33554432)
  %259 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_job_data(ptr noundef %259, ptr noundef @LLVMFuzzerTestOneInput.buff.17)
  %260 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_additional_cipher_data(ptr noundef %260, ptr noundef @LLVMFuzzerTestOneInput.sgl_segs.18, i32 noundef 32, ptr noundef @LLVMFuzzerTestOneInput.buff.17, i64 noundef 33554432)
  %261 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_additional_hash_data(ptr noundef %261, ptr noundef @LLVMFuzzerTestOneInput.buff.17, i64 noundef 33554432)
  br label %262

262:                                              ; preds = %257
  %263 = load i32, ptr %11, align 4, !tbaa !13
  %264 = add i32 %263, 1
  store i32 %264, ptr %11, align 4, !tbaa !13
  br label %221, !llvm.loop !28

265:                                              ; preds = %221
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.IMB_MGR, ptr %266, i32 0, i32 119
  %268 = load ptr, ptr %267, align 8, !tbaa !29
  %269 = load ptr, ptr %9, align 8, !tbaa !5
  %270 = load i32, ptr %17, align 4, !tbaa !13
  %271 = getelementptr inbounds [128 x ptr], ptr %26, i64 0, i64 0
  %272 = call i32 %268(ptr noundef %269, i32 noundef %270, ptr noundef %271)
  call void @llvm.lifetime.end.p0(i64 1024, ptr %26) #7
  br label %359

273:                                              ; preds = %198
  %274 = load i8, ptr %21, align 1, !tbaa !11, !range !15, !noundef !16
  %275 = trunc i8 %274 to i1
  br i1 %275, label %276, label %316

276:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 27648, ptr %27) #7
  call void @llvm.memset.p0.i64(ptr align 16 %27, i8 0, i64 27648, i1 false)
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %277

277:                                              ; preds = %302, %276
  %278 = load i32, ptr %11, align 4, !tbaa !13
  %279 = load i32, ptr %17, align 4, !tbaa !13
  %280 = icmp ult i32 %278, %279
  br i1 %280, label %281, label %305

281:                                              ; preds = %277
  %282 = load i32, ptr %11, align 4, !tbaa !13
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds [128 x %struct.IMB_JOB], ptr %27, i64 0, i64 %283
  store ptr %284, ptr %25, align 8, !tbaa !5
  %285 = call i32 @cipher_selection()
  store i32 %285, ptr %7, align 4, !tbaa !13
  %286 = load ptr, ptr %25, align 8, !tbaa !5
  %287 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %286, ptr align 1 %287, i64 216, i1 false)
  %288 = load i32, ptr %7, align 4, !tbaa !13
  %289 = icmp eq i32 %288, 0
  br i1 %289, label %290, label %295

290:                                              ; preds = %281
  %291 = load ptr, ptr %25, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.IMB_JOB, ptr %291, i32 0, i32 15
  %293 = load i32, ptr %292, align 4, !tbaa !21
  %294 = urem i32 %293, 30
  store i32 %294, ptr %7, align 4, !tbaa !13
  br label %295

295:                                              ; preds = %290, %281
  %296 = load i32, ptr %7, align 4, !tbaa !13
  %297 = load ptr, ptr %25, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.IMB_JOB, ptr %297, i32 0, i32 15
  store i32 %296, ptr %298, align 4, !tbaa !21
  %299 = load ptr, ptr %25, align 8, !tbaa !5
  call void @clamp_lengths(ptr noundef %299, i64 noundef 33554432)
  %300 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_job_data(ptr noundef %300, ptr noundef @LLVMFuzzerTestOneInput.buff.19)
  %301 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_additional_cipher_data(ptr noundef %301, ptr noundef @LLVMFuzzerTestOneInput.sgl_segs.20, i32 noundef 32, ptr noundef @LLVMFuzzerTestOneInput.buff.19, i64 noundef 33554432)
  br label %302

302:                                              ; preds = %295
  %303 = load i32, ptr %11, align 4, !tbaa !13
  %304 = add i32 %303, 1
  store i32 %304, ptr %11, align 4, !tbaa !13
  br label %277, !llvm.loop !30

305:                                              ; preds = %277
  %306 = load ptr, ptr %9, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.IMB_MGR, ptr %306, i32 0, i32 122
  %308 = load ptr, ptr %307, align 8, !tbaa !31
  %309 = load ptr, ptr %9, align 8, !tbaa !5
  %310 = getelementptr inbounds [128 x %struct.IMB_JOB], ptr %27, i64 0, i64 0
  %311 = load i32, ptr %17, align 4, !tbaa !13
  %312 = load i32, ptr %7, align 4, !tbaa !13
  %313 = load i32, ptr %8, align 4, !tbaa !13
  %314 = load i32, ptr %18, align 4, !tbaa !13
  %315 = call i32 %308(ptr noundef %309, ptr noundef %310, i32 noundef %311, i32 noundef %312, i32 noundef %313, i32 noundef %314)
  call void @llvm.lifetime.end.p0(i64 27648, ptr %27) #7
  br label %358

316:                                              ; preds = %273
  %317 = load i8, ptr %22, align 1, !tbaa !11, !range !15, !noundef !16
  %318 = trunc i8 %317 to i1
  br i1 %318, label %319, label %357

319:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 27648, ptr %28) #7
  call void @llvm.memset.p0.i64(ptr align 16 %28, i8 0, i64 27648, i1 false)
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %320

320:                                              ; preds = %345, %319
  %321 = load i32, ptr %11, align 4, !tbaa !13
  %322 = load i32, ptr %17, align 4, !tbaa !13
  %323 = icmp ult i32 %321, %322
  br i1 %323, label %324, label %348

324:                                              ; preds = %320
  %325 = load i32, ptr %11, align 4, !tbaa !13
  %326 = zext i32 %325 to i64
  %327 = getelementptr inbounds [128 x %struct.IMB_JOB], ptr %28, i64 0, i64 %326
  store ptr %327, ptr %25, align 8, !tbaa !5
  %328 = call i32 @hash_selection()
  store i32 %328, ptr %6, align 4, !tbaa !13
  %329 = load ptr, ptr %25, align 8, !tbaa !5
  %330 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %329, ptr align 1 %330, i64 216, i1 false)
  %331 = load i32, ptr %6, align 4, !tbaa !13
  %332 = icmp eq i32 %331, 0
  br i1 %332, label %333, label %338

333:                                              ; preds = %324
  %334 = load ptr, ptr %25, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.IMB_JOB, ptr %334, i32 0, i32 17
  %336 = load i32, ptr %335, align 4, !tbaa !19
  %337 = urem i32 %336, 51
  store i32 %337, ptr %6, align 4, !tbaa !13
  br label %338

338:                                              ; preds = %333, %324
  %339 = load i32, ptr %6, align 4, !tbaa !13
  %340 = load ptr, ptr %25, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.IMB_JOB, ptr %340, i32 0, i32 17
  store i32 %339, ptr %341, align 4, !tbaa !19
  %342 = load ptr, ptr %25, align 8, !tbaa !5
  call void @clamp_lengths(ptr noundef %342, i64 noundef 33554432)
  %343 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_job_data(ptr noundef %343, ptr noundef @LLVMFuzzerTestOneInput.buff.21)
  %344 = load ptr, ptr %25, align 8, !tbaa !5
  call void @fill_additional_hash_data(ptr noundef %344, ptr noundef @LLVMFuzzerTestOneInput.buff.21, i64 noundef 33554432)
  br label %345

345:                                              ; preds = %338
  %346 = load i32, ptr %11, align 4, !tbaa !13
  %347 = add i32 %346, 1
  store i32 %347, ptr %11, align 4, !tbaa !13
  br label %320, !llvm.loop !32

348:                                              ; preds = %320
  %349 = load ptr, ptr %9, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.IMB_MGR, ptr %349, i32 0, i32 124
  %351 = load ptr, ptr %350, align 8, !tbaa !33
  %352 = load ptr, ptr %9, align 8, !tbaa !5
  %353 = getelementptr inbounds [128 x %struct.IMB_JOB], ptr %28, i64 0, i64 0
  %354 = load i32, ptr %17, align 4, !tbaa !13
  %355 = load i32, ptr %6, align 4, !tbaa !13
  %356 = call i32 %351(ptr noundef %352, ptr noundef %353, i32 noundef %354, i32 noundef %355)
  call void @llvm.lifetime.end.p0(i64 27648, ptr %28) #7
  br label %357

357:                                              ; preds = %348, %316
  br label %358

358:                                              ; preds = %357, %305
  br label %359

359:                                              ; preds = %358, %265
  br label %360

360:                                              ; preds = %359, %197
  %361 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free_mb_mgr(ptr noundef %361)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %24, align 4
  br label %362

362:                                              ; preds = %360, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %363

363:                                              ; preds = %362, %85, %76, %62, %52
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %364 = load i32, ptr %3, align 4
  ret i32 %364
}

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

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #2

; Function Attrs: nounwind
declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #3

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

declare ptr @alloc_mb_mgr(i64 noundef) #4

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcasecmp(ptr noundef, ptr noundef) #3

declare void @init_mb_mgr_avx2(ptr noundef) #4

declare void @init_mb_mgr_avx512(ptr noundef) #4

declare void @init_mb_mgr_sse(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @hash_selection() #0

; Function Attrs: nounwind uwtable
declare hidden i32 @cipher_selection() #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) #5

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

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

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

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

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

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

declare void @free_mb_mgr(ptr noundef) #4

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 = { 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 #3 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !6, i64 64}
!18 = !{!"IMB_MGR", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 48, !7, i64 55, !14, i64 56, !14, 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, !14, i64 1104, !14, 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}
!19 = !{!20, !14, i64 140}
!20 = !{!"IMB_JOB", !6, i64 0, !6, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !6, i64 72, !10, i64 80, !6, i64 88, !10, i64 96, !7, i64 104, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !14, i64 184, !7, i64 192, !7, i64 200, !14, i64 208}
!21 = !{!20, !14, i64 132}
!22 = !{!18, !6, i64 72}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!18, !6, i64 952}
!26 = !{!18, !6, i64 976}
!27 = distinct !{!27, !24}
!28 = distinct !{!28, !24}
!29 = !{!18, !6, i64 960}
!30 = distinct !{!30, !24}
!31 = !{!18, !6, i64 984}
!32 = distinct !{!32, !24}
!33 = !{!18, !6, i64 1000}


; 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.IMB_SGL_IOV = type { ptr, ptr, i64 }
%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 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [48 x i8], align 1
@LLVMFuzzerTestOneInput.buff = external hidden global [67108864 x i8], align 64
@LLVMFuzzerTestOneInput.sgl_segs = external hidden global [32 x %struct.IMB_SGL_IOV], align 16
@LLVMFuzzerTestOneInput.buff.17 = external hidden global [67108864 x i8], align 64
@LLVMFuzzerTestOneInput.sgl_segs.18 = external hidden global [32 x %struct.IMB_SGL_IOV], align 16
@LLVMFuzzerTestOneInput.buff.19 = external hidden global [67108864 x i8], align 64
@LLVMFuzzerTestOneInput.sgl_segs.20 = external hidden global [32 x %struct.IMB_SGL_IOV], align 16
@LLVMFuzzerTestOneInput.buff.21 = external hidden global [67108864 x i8], align 64

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @LLVMFuzzerTestOneInput(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca [128 x ptr], align 16
  %5 = alloca [128 x %struct.IMB_JOB], align 16
  %6 = alloca [128 x %struct.IMB_JOB], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #10
  %7 = tail call ptr @getenv(ptr noundef nonnull @.str) #10
  %8 = tail call ptr @getenv(ptr noundef nonnull @.str.1) #10
  %9 = tail call ptr @getenv(ptr noundef nonnull @.str.2) #10
  %10 = tail call ptr @getenv(ptr noundef nonnull @.str.3) #10
  %11 = tail call ptr @getenv(ptr noundef nonnull @.str.4) #10
  %12 = icmp eq ptr %9, null
  br i1 %12, label %16, label %13

13:                                               ; preds = %2
  %14 = tail call i64 @strtoul(ptr nocapture noundef nonnull %9, ptr noundef null, i32 noundef 10) #10
  %15 = trunc i64 %14 to i32
  br label %16

16:                                               ; preds = %2, %13
  %.0124 = phi i32 [ %15, %13 ], [ 10, %2 ]
  %17 = icmp eq ptr %10, null
  br i1 %17, label %21, label %18

18:                                               ; preds = %16
  %19 = tail call i64 @strtoul(ptr nocapture noundef nonnull %10, ptr noundef null, i32 noundef 10) #10
  %20 = trunc i64 %19 to i32
  br label %21

21:                                               ; preds = %16, %18
  %.0123 = phi i32 [ %20, %18 ], [ 16, %16 ]
  %22 = icmp ult i64 %1, 216
  br i1 %22, label %151, label %23

23:                                               ; preds = %21
  %24 = add i32 %.0124, -129
  %or.cond = icmp ult i32 %24, -128
  %25 = icmp eq i32 %.0123, 0
  %or.cond3 = select i1 %or.cond, i1 true, i1 %25
  br i1 %or.cond3, label %151, label %26

26:                                               ; preds = %23
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %35, label %27

27:                                               ; preds = %26
  %28 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.5) #11
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %35, label %30

30:                                               ; preds = %27
  %31 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.6) #11
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %35, label %33

33:                                               ; preds = %30
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %151

35:                                               ; preds = %26, %30, %27
  %.0129 = phi i32 [ 1, %27 ], [ 2, %30 ], [ 1, %26 ]
  %36 = tail call ptr @alloc_mb_mgr(i64 noundef 0) #10
  %37 = icmp eq ptr %36, null
  br i1 %37, label %38, label %40

38:                                               ; preds = %35
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  br label %151

40:                                               ; preds = %35
  %41 = icmp eq ptr %7, null
  br i1 %41, label %42, label %43

42:                                               ; preds = %40
  call void @init_mb_mgr_auto(ptr noundef nonnull %36, ptr noundef nonnull %3) #10
  br label %56

43:                                               ; preds = %40
  %44 = tail call i32 @strcasecmp(ptr noundef nonnull %7, ptr noundef nonnull @.str.9) #11
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %43
  tail call void @init_mb_mgr_avx2(ptr noundef nonnull %36) #10
  br label %56

47:                                               ; preds = %43
  %48 = tail call i32 @strcasecmp(ptr noundef nonnull %7, ptr noundef nonnull @.str.10) #11
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  tail call void @init_mb_mgr_avx512(ptr noundef nonnull %36) #10
  br label %56

51:                                               ; preds = %47
  %52 = tail call i32 @strcasecmp(ptr noundef nonnull %7, ptr noundef nonnull @.str.11) #11
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %51
  tail call void @init_mb_mgr_sse(ptr noundef nonnull %36) #10
  br label %56

55:                                               ; preds = %51
  call void @init_mb_mgr_auto(ptr noundef nonnull %36, ptr noundef nonnull %3) #10
  br label %56

56:                                               ; preds = %46, %54, %55, %50, %42
  %57 = icmp eq ptr %8, null
  br i1 %57, label %.lr.ph174, label %58

58:                                               ; preds = %56
  %59 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.12) #11
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %.lr.ph174, label %61

61:                                               ; preds = %58
  %62 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.13) #11
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %94, label %64

64:                                               ; preds = %61
  %65 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.14) #11
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %125, label %67

67:                                               ; preds = %64
  %68 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) @.str.15) #11
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %138, label %70

70:                                               ; preds = %67
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  br label %151

.lr.ph174:                                        ; preds = %58, %56
  %72 = getelementptr inbounds i8, ptr %36, i64 64
  %73 = getelementptr inbounds i8, ptr %36, i64 72
  br label %74

74:                                               ; preds = %.lr.ph174, %90
  %.0130172 = phi i32 [ 0, %.lr.ph174 ], [ %93, %90 ]
  %75 = call i32 @hash_selection()
  %76 = call i32 @cipher_selection()
  %77 = load ptr, ptr %72, align 8, !tbaa !5
  %78 = call ptr %77(ptr noundef nonnull %36) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(216) %78, ptr noundef nonnull align 1 dereferenceable(216) %0, i64 216, i1 false)
  %79 = icmp eq i32 %75, 0
  %80 = getelementptr inbounds i8, ptr %78, i64 140
  br i1 %79, label %81, label %84

81:                                               ; preds = %74
  %82 = load i32, ptr %80, align 4, !tbaa !12
  %83 = urem i32 %82, 51
  br label %84

84:                                               ; preds = %74, %81
  %.sink = phi i32 [ %83, %81 ], [ %75, %74 ]
  store i32 %.sink, ptr %80, align 4, !tbaa !12
  %85 = icmp eq i32 %76, 0
  %86 = getelementptr inbounds i8, ptr %78, i64 132
  br i1 %85, label %87, label %90

87:                                               ; preds = %84
  %88 = load i32, ptr %86, align 4, !tbaa !14
  %89 = urem i32 %88, 30
  br label %90

90:                                               ; preds = %84, %87
  %.sink190 = phi i32 [ %89, %87 ], [ %76, %84 ]
  store i32 %.sink190, ptr %86, align 4, !tbaa !14
  call void @clamp_lengths(ptr noundef nonnull %78, i64 noundef 33554432)
  call void @fill_job_data(ptr noundef nonnull %78, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff)
  call void @fill_additional_cipher_data(ptr noundef nonnull %78, ptr noundef nonnull @LLVMFuzzerTestOneInput.sgl_segs, i32 noundef 32, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff, i64 noundef 33554432)
  call void @fill_additional_hash_data(ptr noundef nonnull %78, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff, i64 noundef 33554432)
  %91 = load ptr, ptr %73, align 8, !tbaa !15
  %92 = call ptr %91(ptr noundef nonnull %36) #10
  %93 = add nuw i32 %.0130172, 1
  %exitcond188.not = icmp eq i32 %93, %.0124
  br i1 %exitcond188.not, label %.loopexit, label %74, !llvm.loop !16

94:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %4) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) %4, i8 0, i64 1024, i1 false)
  %95 = getelementptr inbounds i8, ptr %36, i64 952
  %96 = load ptr, ptr %95, align 8, !tbaa !18
  %97 = call i32 %96(ptr noundef nonnull %36, i32 noundef %.0124, ptr noundef nonnull %4) #10
  %98 = icmp ult i32 %97, %.0124
  br i1 %98, label %.lr.ph168, label %.lr.ph170.preheader

.lr.ph168:                                        ; preds = %94
  %99 = getelementptr inbounds i8, ptr %36, i64 976
  br label %100

.lr.ph170.preheader:                              ; preds = %100, %94
  %wide.trip.count186 = zext nneg i32 %.0124 to i64
  br label %.lr.ph170

100:                                              ; preds = %.lr.ph168, %100
  %101 = load ptr, ptr %99, align 8, !tbaa !19
  %102 = call i32 %101(ptr noundef nonnull %36, i32 noundef %.0124, ptr noundef nonnull %4) #10
  %103 = load ptr, ptr %95, align 8, !tbaa !18
  %104 = call i32 %103(ptr noundef nonnull %36, i32 noundef %.0124, ptr noundef nonnull %4) #10
  %105 = icmp ult i32 %104, %.0124
  br i1 %105, label %100, label %.lr.ph170.preheader, !llvm.loop !20

.lr.ph170:                                        ; preds = %.lr.ph170.preheader, %121
  %indvars.iv183 = phi i64 [ 0, %.lr.ph170.preheader ], [ %indvars.iv.next184, %121 ]
  %106 = getelementptr inbounds [128 x ptr], ptr %4, i64 0, i64 %indvars.iv183
  %107 = load ptr, ptr %106, align 8, !tbaa !21
  %108 = call i32 @hash_selection()
  %109 = call i32 @cipher_selection()
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(216) %107, ptr noundef nonnull align 1 dereferenceable(216) %0, i64 216, i1 false)
  %110 = icmp eq i32 %108, 0
  %111 = getelementptr inbounds i8, ptr %107, i64 140
  br i1 %110, label %112, label %115

112:                                              ; preds = %.lr.ph170
  %113 = load i32, ptr %111, align 4, !tbaa !12
  %114 = urem i32 %113, 51
  br label %115

115:                                              ; preds = %.lr.ph170, %112
  %.sink189 = phi i32 [ %114, %112 ], [ %108, %.lr.ph170 ]
  store i32 %.sink189, ptr %111, align 4, !tbaa !12
  %116 = icmp eq i32 %109, 0
  %117 = getelementptr inbounds i8, ptr %107, i64 132
  br i1 %116, label %118, label %121

118:                                              ; preds = %115
  %119 = load i32, ptr %117, align 4, !tbaa !14
  %120 = urem i32 %119, 30
  br label %121

121:                                              ; preds = %115, %118
  %.sink191 = phi i32 [ %120, %118 ], [ %109, %115 ]
  store i32 %.sink191, ptr %117, align 4, !tbaa !14
  call void @clamp_lengths(ptr noundef nonnull %107, i64 noundef 33554432)
  call void @fill_job_data(ptr noundef nonnull %107, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff.17)
  call void @fill_additional_cipher_data(ptr noundef nonnull %107, ptr noundef nonnull @LLVMFuzzerTestOneInput.sgl_segs.18, i32 noundef 32, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff.17, i64 noundef 33554432)
  call void @fill_additional_hash_data(ptr noundef nonnull %107, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff.17, i64 noundef 33554432)
  %indvars.iv.next184 = add nuw nsw i64 %indvars.iv183, 1
  %exitcond187.not = icmp eq i64 %indvars.iv.next184, %wide.trip.count186
  br i1 %exitcond187.not, label %._crit_edge171, label %.lr.ph170, !llvm.loop !22

._crit_edge171:                                   ; preds = %121
  %122 = getelementptr inbounds i8, ptr %36, i64 960
  %123 = load ptr, ptr %122, align 8, !tbaa !23
  %124 = call i32 %123(ptr noundef %36, i32 noundef %.0124, ptr noundef nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %4) #10
  br label %.loopexit

125:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 27648, ptr nonnull %5) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(27648) %5, i8 0, i64 27648, i1 false)
  %wide.trip.count181 = zext nneg i32 %.0124 to i64
  br label %.lr.ph164

.lr.ph164:                                        ; preds = %125, %133
  %indvars.iv178 = phi i64 [ 0, %125 ], [ %indvars.iv.next179, %133 ]
  %126 = getelementptr inbounds [128 x %struct.IMB_JOB], ptr %5, i64 0, i64 %indvars.iv178
  %127 = call i32 @cipher_selection()
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(216) %126, ptr noundef nonnull align 1 dereferenceable(216) %0, i64 216, i1 false)
  %128 = icmp eq i32 %127, 0
  br i1 %128, label %129, label %133

129:                                              ; preds = %.lr.ph164
  %130 = getelementptr inbounds i8, ptr %126, i64 132
  %131 = load i32, ptr %130, align 4, !tbaa !14
  %132 = urem i32 %131, 30
  br label %133

133:                                              ; preds = %129, %.lr.ph164
  %.1128 = phi i32 [ %132, %129 ], [ %127, %.lr.ph164 ]
  %134 = getelementptr inbounds i8, ptr %126, i64 132
  store i32 %.1128, ptr %134, align 4, !tbaa !14
  call void @clamp_lengths(ptr noundef nonnull %126, i64 noundef 33554432)
  call void @fill_job_data(ptr noundef nonnull %126, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff.19)
  call void @fill_additional_cipher_data(ptr noundef nonnull %126, ptr noundef nonnull @LLVMFuzzerTestOneInput.sgl_segs.20, i32 noundef 32, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff.19, i64 noundef 33554432)
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %exitcond182.not = icmp eq i64 %indvars.iv.next179, %wide.trip.count181
  br i1 %exitcond182.not, label %._crit_edge165, label %.lr.ph164, !llvm.loop !24

._crit_edge165:                                   ; preds = %133
  %135 = getelementptr inbounds i8, ptr %36, i64 984
  %136 = load ptr, ptr %135, align 8, !tbaa !25
  %137 = call i32 %136(ptr noundef %36, ptr noundef nonnull %5, i32 noundef %.0124, i32 noundef %.1128, i32 noundef %.0129, i32 noundef %.0123) #10
  call void @llvm.lifetime.end.p0(i64 27648, ptr nonnull %5) #10
  br label %.loopexit

138:                                              ; preds = %67
  call void @llvm.lifetime.start.p0(i64 27648, ptr nonnull %6) #10
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(27648) %6, i8 0, i64 27648, i1 false)
  %wide.trip.count = zext nneg i32 %.0124 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %138, %146
  %indvars.iv = phi i64 [ 0, %138 ], [ %indvars.iv.next, %146 ]
  %139 = getelementptr inbounds [128 x %struct.IMB_JOB], ptr %6, i64 0, i64 %indvars.iv
  %140 = call i32 @hash_selection()
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(216) %139, ptr noundef nonnull align 1 dereferenceable(216) %0, i64 216, i1 false)
  %141 = icmp eq i32 %140, 0
  br i1 %141, label %142, label %146

142:                                              ; preds = %.lr.ph
  %143 = getelementptr inbounds i8, ptr %139, i64 140
  %144 = load i32, ptr %143, align 4, !tbaa !12
  %145 = urem i32 %144, 51
  br label %146

146:                                              ; preds = %142, %.lr.ph
  %.1126 = phi i32 [ %145, %142 ], [ %140, %.lr.ph ]
  %147 = getelementptr inbounds i8, ptr %139, i64 140
  store i32 %.1126, ptr %147, align 4, !tbaa !12
  call void @clamp_lengths(ptr noundef nonnull %139, i64 noundef 33554432)
  call void @fill_job_data(ptr noundef nonnull %139, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff.21)
  call void @fill_additional_hash_data(ptr noundef nonnull %139, ptr noundef nonnull @LLVMFuzzerTestOneInput.buff.21, i64 noundef 33554432)
  %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_edge, label %.lr.ph, !llvm.loop !26

._crit_edge:                                      ; preds = %146
  %148 = getelementptr inbounds i8, ptr %36, i64 1000
  %149 = load ptr, ptr %148, align 8, !tbaa !27
  %150 = call i32 %149(ptr noundef %36, ptr noundef nonnull %6, i32 noundef %.0124, i32 noundef %.1126) #10
  call void @llvm.lifetime.end.p0(i64 27648, ptr nonnull %6) #10
  br label %.loopexit

.loopexit:                                        ; preds = %90, %._crit_edge171, %._crit_edge, %._crit_edge165
  call void @free_mb_mgr(ptr noundef nonnull %36) #10
  br label %151

151:                                              ; preds = %70, %.loopexit, %23, %21, %38, %33
  %.1 = phi i32 [ 1, %38 ], [ 1, %33 ], [ 0, %21 ], [ 0, %23 ], [ 0, %.loopexit ], [ 0, %70 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #10
  ret i32 %.1
}

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

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtoul(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #3

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

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

declare ptr @alloc_mb_mgr(i64 noundef) local_unnamed_addr #6

declare void @init_mb_mgr_auto(ptr noundef, ptr noundef) local_unnamed_addr #6

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

declare void @init_mb_mgr_avx2(ptr noundef) local_unnamed_addr #6

declare void @init_mb_mgr_avx512(ptr noundef) local_unnamed_addr #6

declare void @init_mb_mgr_sse(ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare hidden i32 @hash_selection() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @cipher_selection() local_unnamed_addr #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) #8

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

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

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

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

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

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

declare void @free_mb_mgr(ptr noundef) local_unnamed_addr #6

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


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