; LLVM IR from indygreg/python-zstandard :: zstd (zstd)

; 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.repcodes_s = type { [3 x i32] }
%struct.ZSTD_sequencePosition = type { i32, i32, i64 }
%struct.ZSTD_CCtx_s = type { i32, i32, i32, %struct.ZSTD_CCtx_params_s, %struct.ZSTD_CCtx_params_s, %struct.ZSTD_CCtx_params_s, i32, i64, %struct.ZSTD_cwksp, i64, i64, i64, i64, %struct.XXH_NAMESPACEXXH64_state_s, %struct.ZSTD_customMem, ptr, i64, %struct.SeqCollector, i32, i32, %struct.seqStore_t, %struct.ldmState_t, ptr, i64, %struct.rawSeqStore_t, %struct.ZSTD_blockState_t, ptr, i32, ptr, i64, i64, i64, i64, ptr, i64, i64, i64, i32, i32, %struct.ZSTD_inBuffer_s, i64, i64, %struct.ZSTD_localDict, ptr, %struct.ZSTD_prefixDict_s, ptr, %struct.ZSTD_blockSplitCtx, ptr, i64 }
%struct.ZSTD_CCtx_params_s = type { i32, %struct.ZSTD_compressionParameters, %struct.ZSTD_frameParameters, i32, i32, i64, i32, i32, i32, i32, i64, i32, i32, %struct.ldmParams_t, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ZSTD_customMem, i32, i32, ptr, ptr, i64, i32 }
%struct.ZSTD_compressionParameters = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_frameParameters = type { i32, i32, i32 }
%struct.ldmParams_t = type { i32, i32, i32, i32, i32, i32 }
%struct.ZSTD_cwksp = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i32, i32 }
%struct.XXH_NAMESPACEXXH64_state_s = type { i64, [4 x i64], [4 x i64], i32, i32, i64 }
%struct.ZSTD_customMem = type { ptr, ptr, ptr }
%struct.SeqCollector = type { i32, ptr, i64, i64 }
%struct.seqStore_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i32, i32 }
%struct.ldmState_t = type { %struct.ZSTD_window_t, ptr, i32, ptr, [64 x i64], [64 x %struct.ldmMatchCandidate_t] }
%struct.ZSTD_window_t = type { ptr, ptr, ptr, i32, i32, i32 }
%struct.ldmMatchCandidate_t = type { ptr, i32, i32, ptr }
%struct.rawSeqStore_t = type { ptr, i64, i64, i64, i64 }
%struct.ZSTD_blockState_t = type { ptr, ptr, %struct.ZSTD_matchState_t }
%struct.ZSTD_matchState_t = type { %struct.ZSTD_window_t, i32, i32, i32, i32, ptr, [8 x i32], i64, i32, ptr, ptr, ptr, i32, i32, %struct.optState_t, ptr, %struct.ZSTD_compressionParameters, ptr, i32, i32 }
%struct.optState_t = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32 }
%struct.ZSTD_inBuffer_s = type { ptr, i64, i64 }
%struct.ZSTD_localDict = type { ptr, ptr, i64, i32, ptr }
%struct.ZSTD_prefixDict_s = type { ptr, i64, i32 }
%struct.ZSTD_blockSplitCtx = type { %struct.seqStore_t, %struct.seqStore_t, %struct.seqStore_t, %struct.seqStore_t, %struct.seqStore_t, [196 x i32], %struct.ZSTD_entropyCTablesMetadata_t }
%struct.ZSTD_entropyCTablesMetadata_t = type { %struct.ZSTD_hufCTablesMetadata_t, %struct.ZSTD_fseCTablesMetadata_t }
%struct.ZSTD_hufCTablesMetadata_t = type { i32, [128 x i8], i64 }
%struct.ZSTD_fseCTablesMetadata_t = type { i32, i32, i32, [133 x i8], i64, i64 }
%struct.ZSTD_CDict_s = type { ptr, i64, i32, ptr, %struct.ZSTD_cwksp, %struct.ZSTD_matchState_t, %struct.ZSTD_compressedBlockState_t, %struct.ZSTD_customMem, i32, i32, i32 }
%struct.ZSTD_compressedBlockState_t = type { %struct.ZSTD_entropyCTables_t, [3 x i32] }
%struct.ZSTD_entropyCTables_t = type { %struct.ZSTD_hufCTables_t, %struct.ZSTD_fseCTables_t }
%struct.ZSTD_hufCTables_t = type { [257 x i64], i32 }
%struct.ZSTD_fseCTables_t = type { [193 x i32], [363 x i32], [329 x i32], i32, i32, i32 }
%struct.ZSTD_Sequence = type { i32, i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare hidden i32 @ERR_isError(i64 noundef) #0

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @ZSTD_hasExtSeqProd(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i64 @ZSTD_copySequencesToSeqStoreExplicitBlockDelim(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %struct.repcodes_s, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = 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 i64 %3, ptr %12, align 8, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !5
  store i64 %5, ptr %14, align 8, !tbaa !9
  store i32 %6, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ZSTD_sequencePosition, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !13
  store i32 %32, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %33 = load i32, ptr %16, align 4, !tbaa !11
  store i32 %33, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %34 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %34, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %35 = load ptr, ptr %18, align 8, !tbaa !5
  %36 = load i64, ptr %14, align 8, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %35, i64 %36
  store ptr %37, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  br label %38

38:                                               ; preds = %7
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %41, i32 0, i32 43
  %43 = load ptr, ptr %42, align 8, !tbaa !15
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %52

45:                                               ; preds = %40
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %46, i32 0, i32 43
  %48 = load ptr, ptr %47, align 8, !tbaa !15
  %49 = getelementptr inbounds %struct.ZSTD_CDict_s, ptr %48, i32 0, i32 1
  %50 = load i64, ptr %49, align 8, !tbaa !40
  %51 = trunc i64 %50 to i32
  store i32 %51, ptr %21, align 4, !tbaa !11
  br label %66

52:                                               ; preds = %40
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %53, i32 0, i32 44
  %55 = getelementptr inbounds %struct.ZSTD_prefixDict_s, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !46
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %64

58:                                               ; preds = %52
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %59, i32 0, i32 44
  %61 = getelementptr inbounds %struct.ZSTD_prefixDict_s, ptr %60, i32 0, i32 1
  %62 = load i64, ptr %61, align 8, !tbaa !47
  %63 = trunc i64 %62 to i32
  store i32 %63, ptr %21, align 4, !tbaa !11
  br label %65

64:                                               ; preds = %52
  store i32 0, ptr %21, align 4, !tbaa !11
  br label %65

65:                                               ; preds = %64, %58
  br label %66

66:                                               ; preds = %65, %45
  %67 = getelementptr inbounds %struct.repcodes_s, ptr %20, i32 0, i32 0
  %68 = getelementptr inbounds [3 x i32], ptr %67, i64 0, i64 0
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %69, i32 0, i32 25
  %71 = getelementptr inbounds %struct.ZSTD_blockState_t, ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !48
  %73 = getelementptr inbounds %struct.ZSTD_compressedBlockState_t, ptr %72, i32 0, i32 1
  %74 = getelementptr inbounds [3 x i32], ptr %73, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 8 %74, i64 12, i1 false)
  br label %75

75:                                               ; preds = %251, %66
  %76 = load i32, ptr %16, align 4, !tbaa !11
  %77 = zext i32 %76 to i64
  %78 = load i64, ptr %12, align 8, !tbaa !9
  %79 = icmp ult i64 %77, %78
  br i1 %79, label %80, label %98

80:                                               ; preds = %75
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = load i32, ptr %16, align 4, !tbaa !11
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %81, i64 %83
  %85 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %84, i32 0, i32 2
  %86 = load i32, ptr %85, align 4, !tbaa !49
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %96, label %88

88:                                               ; preds = %80
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = load i32, ptr %16, align 4, !tbaa !11
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %89, i64 %91
  %93 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 4, !tbaa !51
  %95 = icmp ne i32 %94, 0
  br label %96

96:                                               ; preds = %88, %80
  %97 = phi i1 [ true, %80 ], [ %95, %88 ]
  br label %98

98:                                               ; preds = %96, %75
  %99 = phi i1 [ false, %75 ], [ %97, %96 ]
  br i1 %99, label %100, label %254

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = load i32, ptr %16, align 4, !tbaa !11
  %103 = zext i32 %102 to i64
  %104 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %101, i64 %103
  %105 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %104, i32 0, i32 1
  %106 = load i32, ptr %105, align 4, !tbaa !52
  store i32 %106, ptr %22, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = load i32, ptr %16, align 4, !tbaa !11
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %107, i64 %109
  %111 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %110, i32 0, i32 2
  %112 = load i32, ptr %111, align 4, !tbaa !49
  store i32 %112, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %113 = load i32, ptr %15, align 4, !tbaa !11
  %114 = icmp eq i32 %113, 2
  br i1 %114, label %115, label %123

115:                                              ; preds = %100
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  %117 = load i32, ptr %16, align 4, !tbaa !11
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %116, i64 %118
  %120 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 4, !tbaa !51
  %122 = add i32 %121, 3
  store i32 %122, ptr %24, align 4, !tbaa !11
  br label %141

123:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %124 = load i32, ptr %22, align 4, !tbaa !11
  %125 = icmp eq i32 %124, 0
  %126 = zext i1 %125 to i32
  store i32 %126, ptr %25, align 4, !tbaa !11
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = load i32, ptr %16, align 4, !tbaa !11
  %129 = zext i32 %128 to i64
  %130 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %127, i64 %129
  %131 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %130, i32 0, i32 0
  %132 = load i32, ptr %131, align 4, !tbaa !51
  %133 = getelementptr inbounds %struct.repcodes_s, ptr %20, i32 0, i32 0
  %134 = getelementptr inbounds [3 x i32], ptr %133, i64 0, i64 0
  %135 = load i32, ptr %25, align 4, !tbaa !11
  %136 = call i32 @ZSTD_finalizeOffBase(i32 noundef %132, ptr noundef %134, i32 noundef %135)
  store i32 %136, ptr %24, align 4, !tbaa !11
  %137 = getelementptr inbounds %struct.repcodes_s, ptr %20, i32 0, i32 0
  %138 = getelementptr inbounds [3 x i32], ptr %137, i64 0, i64 0
  %139 = load i32, ptr %24, align 4, !tbaa !11
  %140 = load i32, ptr %25, align 4, !tbaa !11
  call void @ZSTD_updateRep(ptr noundef %138, i32 noundef %139, i32 noundef %140)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %141

141:                                              ; preds = %123, %115
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  %145 = load ptr, ptr %9, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %145, i32 0, i32 4
  %147 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %146, i32 0, i32 18
  %148 = load i32, ptr %147, align 8, !tbaa !53
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %204

150:                                              ; preds = %144
  %151 = load i32, ptr %22, align 4, !tbaa !11
  %152 = load i32, ptr %23, align 4, !tbaa !11
  %153 = add i32 %151, %152
  %154 = zext i32 %153 to i64
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ZSTD_sequencePosition, ptr %155, i32 0, i32 2
  %157 = load i64, ptr %156, align 8, !tbaa !54
  %158 = add i64 %157, %154
  store i64 %158, ptr %156, align 8, !tbaa !54
  br label %159

159:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %160 = load i32, ptr %24, align 4, !tbaa !11
  %161 = load i32, ptr %23, align 4, !tbaa !11
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %162, i32 0, i32 4
  %164 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %163, i32 0, i32 1
  %165 = getelementptr inbounds %struct.ZSTD_compressionParameters, ptr %164, i32 0, i32 4
  %166 = load i32, ptr %165, align 4, !tbaa !55
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ZSTD_sequencePosition, ptr %167, i32 0, i32 2
  %169 = load i64, ptr %168, align 8, !tbaa !54
  %170 = load ptr, ptr %9, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %170, i32 0, i32 4
  %172 = getelementptr inbounds %struct.ZSTD_CCtx_params_s, ptr %171, i32 0, i32 1
  %173 = getelementptr inbounds %struct.ZSTD_compressionParameters, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 4, !tbaa !56
  %175 = load i32, ptr %21, align 4, !tbaa !11
  %176 = zext i32 %175 to i64
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %177, i32 0, i32 4
  %179 = call i32 @ZSTD_hasExtSeqProd(ptr noundef %178)
  %180 = call i64 @ZSTD_validateSequence(i32 noundef %160, i32 noundef %161, i32 noundef %166, i64 noundef %169, i32 noundef %174, i64 noundef %176, i32 noundef %179)
  store i64 %180, ptr %26, align 8, !tbaa !9
  %181 = load i64, ptr %26, align 8, !tbaa !9
  %182 = call i32 @ERR_isError(i64 noundef %181)
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %184, label %198

184:                                              ; preds = %159
  br label %185

185:                                              ; preds = %184
  br label %186

186:                                              ; preds = %185
  br label %187

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %187
  br label %189

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  br label %191

191:                                              ; preds = %190
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192
  br label %194

194:                                              ; preds = %193
  br label %195

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195
  %197 = load i64, ptr %26, align 8, !tbaa !9
  store i64 %197, ptr %8, align 8
  store i32 1, ptr %27, align 4
  br label %199

198:                                              ; preds = %159
  store i32 0, ptr %27, align 4
  br label %199

199:                                              ; preds = %198, %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  %200 = load i32, ptr %27, align 4
  switch i32 %200, label %248 [
    i32 0, label %201
  ]

201:                                              ; preds = %199
  br label %202

202:                                              ; preds = %201
  br label %203

203:                                              ; preds = %202
  br label %204

204:                                              ; preds = %203, %144
  br label %205

205:                                              ; preds = %204
  %206 = load i32, ptr %16, align 4, !tbaa !11
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ZSTD_sequencePosition, ptr %207, i32 0, i32 0
  %209 = load i32, ptr %208, align 8, !tbaa !13
  %210 = sub i32 %206, %209
  %211 = zext i32 %210 to i64
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %212, i32 0, i32 20
  %214 = getelementptr inbounds %struct.seqStore_t, ptr %213, i32 0, i32 7
  %215 = load i64, ptr %214, align 8, !tbaa !57
  %216 = icmp uge i64 %211, %215
  br i1 %216, label %217, label %230

217:                                              ; preds = %205
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221
  br label %223

223:                                              ; preds = %222
  br label %224

224:                                              ; preds = %223
  br label %225

225:                                              ; preds = %224
  br label %226

226:                                              ; preds = %225
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227
  br label %229

229:                                              ; preds = %228
  store i64 -107, ptr %8, align 8
  store i32 1, ptr %27, align 4
  br label %248

230:                                              ; preds = %205
  br label %231

231:                                              ; preds = %230
  br label %232

232:                                              ; preds = %231
  %233 = load ptr, ptr %9, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %233, i32 0, i32 20
  %235 = load i32, ptr %22, align 4, !tbaa !11
  %236 = zext i32 %235 to i64
  %237 = load ptr, ptr %18, align 8, !tbaa !5
  %238 = load ptr, ptr %19, align 8, !tbaa !5
  %239 = load i32, ptr %24, align 4, !tbaa !11
  %240 = load i32, ptr %23, align 4, !tbaa !11
  %241 = zext i32 %240 to i64
  call void @ZSTD_storeSeq(ptr noundef %234, i64 noundef %236, ptr noundef %237, ptr noundef %238, i32 noundef %239, i64 noundef %241)
  %242 = load i32, ptr %23, align 4, !tbaa !11
  %243 = load i32, ptr %22, align 4, !tbaa !11
  %244 = add i32 %242, %243
  %245 = load ptr, ptr %18, align 8, !tbaa !5
  %246 = zext i32 %244 to i64
  %247 = getelementptr inbounds i8, ptr %245, i64 %246
  store ptr %247, ptr %18, align 8, !tbaa !5
  store i32 0, ptr %27, align 4
  br label %248

248:                                              ; preds = %232, %229, %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  %249 = load i32, ptr %27, align 4
  switch i32 %249, label %421 [
    i32 0, label %250
  ]

250:                                              ; preds = %248
  br label %251

251:                                              ; preds = %250
  %252 = load i32, ptr %16, align 4, !tbaa !11
  %253 = add i32 %252, 1
  store i32 %253, ptr %16, align 4, !tbaa !11
  br label %75, !llvm.loop !58

254:                                              ; preds = %98
  %255 = load i32, ptr %15, align 4, !tbaa !11
  %256 = icmp eq i32 %255, 2
  br i1 %256, label %257, label %346

257:                                              ; preds = %254
  %258 = load i32, ptr %16, align 4, !tbaa !11
  %259 = load i32, ptr %17, align 4, !tbaa !11
  %260 = icmp ne i32 %258, %259
  br i1 %260, label %261, label %346

261:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %262 = getelementptr inbounds %struct.repcodes_s, ptr %20, i32 0, i32 0
  %263 = getelementptr inbounds [3 x i32], ptr %262, i64 0, i64 0
  store ptr %263, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %264 = load i32, ptr %16, align 4, !tbaa !11
  %265 = sub i32 %264, 1
  store i32 %265, ptr %29, align 4, !tbaa !11
  %266 = load i32, ptr %29, align 4, !tbaa !11
  %267 = load i32, ptr %17, align 4, !tbaa !11
  %268 = add i32 %267, 2
  %269 = icmp uge i32 %266, %268
  br i1 %269, label %270, label %297

270:                                              ; preds = %261
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = load i32, ptr %29, align 4, !tbaa !11
  %273 = sub i32 %272, 2
  %274 = zext i32 %273 to i64
  %275 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %271, i64 %274
  %276 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %275, i32 0, i32 0
  %277 = load i32, ptr %276, align 4, !tbaa !51
  %278 = load ptr, ptr %28, align 8, !tbaa !5
  %279 = getelementptr inbounds i32, ptr %278, i64 2
  store i32 %277, ptr %279, align 4, !tbaa !11
  %280 = load ptr, ptr %11, align 8, !tbaa !5
  %281 = load i32, ptr %29, align 4, !tbaa !11
  %282 = sub i32 %281, 1
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %280, i64 %283
  %285 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %284, i32 0, i32 0
  %286 = load i32, ptr %285, align 4, !tbaa !51
  %287 = load ptr, ptr %28, align 8, !tbaa !5
  %288 = getelementptr inbounds i32, ptr %287, i64 1
  store i32 %286, ptr %288, align 4, !tbaa !11
  %289 = load ptr, ptr %11, align 8, !tbaa !5
  %290 = load i32, ptr %29, align 4, !tbaa !11
  %291 = zext i32 %290 to i64
  %292 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %289, i64 %291
  %293 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %292, i32 0, i32 0
  %294 = load i32, ptr %293, align 4, !tbaa !51
  %295 = load ptr, ptr %28, align 8, !tbaa !5
  %296 = getelementptr inbounds i32, ptr %295, i64 0
  store i32 %294, ptr %296, align 4, !tbaa !11
  br label %345

297:                                              ; preds = %261
  %298 = load i32, ptr %29, align 4, !tbaa !11
  %299 = load i32, ptr %17, align 4, !tbaa !11
  %300 = add i32 %299, 1
  %301 = icmp eq i32 %298, %300
  br i1 %301, label %302, label %325

302:                                              ; preds = %297
  %303 = load ptr, ptr %28, align 8, !tbaa !5
  %304 = getelementptr inbounds i32, ptr %303, i64 0
  %305 = load i32, ptr %304, align 4, !tbaa !11
  %306 = load ptr, ptr %28, align 8, !tbaa !5
  %307 = getelementptr inbounds i32, ptr %306, i64 2
  store i32 %305, ptr %307, align 4, !tbaa !11
  %308 = load ptr, ptr %11, align 8, !tbaa !5
  %309 = load i32, ptr %29, align 4, !tbaa !11
  %310 = sub i32 %309, 1
  %311 = zext i32 %310 to i64
  %312 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %308, i64 %311
  %313 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %312, i32 0, i32 0
  %314 = load i32, ptr %313, align 4, !tbaa !51
  %315 = load ptr, ptr %28, align 8, !tbaa !5
  %316 = getelementptr inbounds i32, ptr %315, i64 1
  store i32 %314, ptr %316, align 4, !tbaa !11
  %317 = load ptr, ptr %11, align 8, !tbaa !5
  %318 = load i32, ptr %29, align 4, !tbaa !11
  %319 = zext i32 %318 to i64
  %320 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %317, i64 %319
  %321 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %320, i32 0, i32 0
  %322 = load i32, ptr %321, align 4, !tbaa !51
  %323 = load ptr, ptr %28, align 8, !tbaa !5
  %324 = getelementptr inbounds i32, ptr %323, i64 0
  store i32 %322, ptr %324, align 4, !tbaa !11
  br label %344

325:                                              ; preds = %297
  %326 = load ptr, ptr %28, align 8, !tbaa !5
  %327 = getelementptr inbounds i32, ptr %326, i64 1
  %328 = load i32, ptr %327, align 4, !tbaa !11
  %329 = load ptr, ptr %28, align 8, !tbaa !5
  %330 = getelementptr inbounds i32, ptr %329, i64 2
  store i32 %328, ptr %330, align 4, !tbaa !11
  %331 = load ptr, ptr %28, align 8, !tbaa !5
  %332 = getelementptr inbounds i32, ptr %331, i64 0
  %333 = load i32, ptr %332, align 4, !tbaa !11
  %334 = load ptr, ptr %28, align 8, !tbaa !5
  %335 = getelementptr inbounds i32, ptr %334, i64 1
  store i32 %333, ptr %335, align 4, !tbaa !11
  %336 = load ptr, ptr %11, align 8, !tbaa !5
  %337 = load i32, ptr %29, align 4, !tbaa !11
  %338 = zext i32 %337 to i64
  %339 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %336, i64 %338
  %340 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %339, i32 0, i32 0
  %341 = load i32, ptr %340, align 4, !tbaa !51
  %342 = load ptr, ptr %28, align 8, !tbaa !5
  %343 = getelementptr inbounds i32, ptr %342, i64 0
  store i32 %341, ptr %343, align 4, !tbaa !11
  br label %344

344:                                              ; preds = %325, %302
  br label %345

345:                                              ; preds = %344, %270
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %346

346:                                              ; preds = %345, %257, %254
  %347 = load ptr, ptr %9, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %347, i32 0, i32 25
  %349 = getelementptr inbounds %struct.ZSTD_blockState_t, ptr %348, i32 0, i32 1
  %350 = load ptr, ptr %349, align 8, !tbaa !60
  %351 = getelementptr inbounds %struct.ZSTD_compressedBlockState_t, ptr %350, i32 0, i32 1
  %352 = getelementptr inbounds [3 x i32], ptr %351, i64 0, i64 0
  %353 = getelementptr inbounds %struct.repcodes_s, ptr %20, i32 0, i32 0
  %354 = getelementptr inbounds [3 x i32], ptr %353, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %352, ptr align 4 %354, i64 12, i1 false)
  %355 = load ptr, ptr %11, align 8, !tbaa !5
  %356 = load i32, ptr %16, align 4, !tbaa !11
  %357 = zext i32 %356 to i64
  %358 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %355, i64 %357
  %359 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %358, i32 0, i32 1
  %360 = load i32, ptr %359, align 4, !tbaa !52
  %361 = icmp ne i32 %360, 0
  br i1 %361, label %362, label %396

362:                                              ; preds = %346
  br label %363

363:                                              ; preds = %362
  br label %364

364:                                              ; preds = %363
  br label %365

365:                                              ; preds = %364
  %366 = load ptr, ptr %9, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.ZSTD_CCtx_s, ptr %366, i32 0, i32 20
  %368 = load ptr, ptr %18, align 8, !tbaa !5
  %369 = load ptr, ptr %11, align 8, !tbaa !5
  %370 = load i32, ptr %16, align 4, !tbaa !11
  %371 = zext i32 %370 to i64
  %372 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %369, i64 %371
  %373 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %372, i32 0, i32 1
  %374 = load i32, ptr %373, align 4, !tbaa !52
  %375 = zext i32 %374 to i64
  call void @ZSTD_storeLastLiterals(ptr noundef %367, ptr noundef %368, i64 noundef %375)
  %376 = load ptr, ptr %11, align 8, !tbaa !5
  %377 = load i32, ptr %16, align 4, !tbaa !11
  %378 = zext i32 %377 to i64
  %379 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %376, i64 %378
  %380 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %379, i32 0, i32 1
  %381 = load i32, ptr %380, align 4, !tbaa !52
  %382 = load ptr, ptr %18, align 8, !tbaa !5
  %383 = zext i32 %381 to i64
  %384 = getelementptr inbounds i8, ptr %382, i64 %383
  store ptr %384, ptr %18, align 8, !tbaa !5
  %385 = load ptr, ptr %11, align 8, !tbaa !5
  %386 = load i32, ptr %16, align 4, !tbaa !11
  %387 = zext i32 %386 to i64
  %388 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %385, i64 %387
  %389 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %388, i32 0, i32 1
  %390 = load i32, ptr %389, align 4, !tbaa !52
  %391 = zext i32 %390 to i64
  %392 = load ptr, ptr %10, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ZSTD_sequencePosition, ptr %392, i32 0, i32 2
  %394 = load i64, ptr %393, align 8, !tbaa !54
  %395 = add i64 %394, %391
  store i64 %395, ptr %393, align 8, !tbaa !54
  br label %396

396:                                              ; preds = %365, %346
  br label %397

397:                                              ; preds = %396
  %398 = load ptr, ptr %18, align 8, !tbaa !5
  %399 = load ptr, ptr %19, align 8, !tbaa !5
  %400 = icmp ne ptr %398, %399
  br i1 %400, label %401, label %414

401:                                              ; preds = %397
  br label %402

402:                                              ; preds = %401
  br label %403

403:                                              ; preds = %402
  br label %404

404:                                              ; preds = %403
  br label %405

405:                                              ; preds = %404
  br label %406

406:                                              ; preds = %405
  br label %407

407:                                              ; preds = %406
  br label %408

408:                                              ; preds = %407
  br label %409

409:                                              ; preds = %408
  br label %410

410:                                              ; preds = %409
  br label %411

411:                                              ; preds = %410
  br label %412

412:                                              ; preds = %411
  br label %413

413:                                              ; preds = %412
  store i64 -107, ptr %8, align 8
  store i32 1, ptr %27, align 4
  br label %421

414:                                              ; preds = %397
  br label %415

415:                                              ; preds = %414
  br label %416

416:                                              ; preds = %415
  %417 = load i32, ptr %16, align 4, !tbaa !11
  %418 = add i32 %417, 1
  %419 = load ptr, ptr %10, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.ZSTD_sequencePosition, ptr %419, i32 0, i32 0
  store i32 %418, ptr %420, align 8, !tbaa !13
  store i64 0, ptr %8, align 8
  store i32 1, ptr %27, align 4
  br label %421

421:                                              ; preds = %416, %413, %248
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  %422 = load i64, ptr %8, align 8
  ret i64 %422
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @ZSTD_updateRep(ptr noundef, i32 noundef, i32 noundef) #3

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @ZSTD_storeSeq(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef) #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"", !12, i64 0, !12, i64 4, !10, i64 8}
!15 = !{!16, !6, i64 3696}
!16 = !{!"ZSTD_CCtx_s", !12, i64 0, !12, i64 4, !12, i64 8, !17, i64 16, !17, i64 232, !17, i64 448, !12, i64 664, !10, i64 672, !22, i64 680, !10, i64 752, !23, i64 760, !23, i64 768, !23, i64 776, !24, i64 784, !21, i64 872, !6, i64 896, !10, i64 904, !25, i64 912, !12, i64 944, !12, i64 948, !26, i64 952, !27, i64 1032, !6, i64 3144, !10, i64 3152, !29, i64 3160, !30, i64 3200, !6, i64 3520, !12, i64 3528, !6, i64 3536, !10, i64 3544, !10, i64 3552, !10, i64 3560, !10, i64 3568, !6, i64 3576, !10, i64 3584, !10, i64 3592, !10, i64 3600, !12, i64 3608, !12, i64 3612, !33, i64 3616, !10, i64 3640, !10, i64 3648, !34, i64 3656, !6, i64 3696, !35, i64 3704, !6, i64 3728, !36, i64 3736, !6, i64 5232, !10, i64 5240}
!17 = !{!"ZSTD_CCtx_params_s", !12, i64 0, !18, i64 4, !19, i64 32, !12, i64 44, !12, i64 48, !10, i64 56, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !10, i64 80, !12, i64 88, !12, i64 92, !20, i64 96, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !21, i64 152, !12, i64 176, !12, i64 180, !6, i64 184, !6, i64 192, !10, i64 200, !12, i64 208}
!18 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24}
!19 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8}
!20 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!21 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !7, i64 56, !12, i64 60, !12, i64 64, !12, i64 68}
!23 = !{!"long long", !7, i64 0}
!24 = !{!"XXH_NAMESPACEXXH64_state_s", !10, i64 0, !7, i64 8, !7, i64 40, !12, i64 72, !12, i64 76, !10, i64 80}
!25 = !{!"", !12, i64 0, !6, i64 8, !10, i64 16, !10, i64 24}
!26 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !10, i64 56, !10, i64 64, !12, i64 72, !12, i64 76}
!27 = !{!"", !28, i64 0, !6, i64 40, !12, i64 48, !6, i64 56, !7, i64 64, !7, i64 576}
!28 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32}
!29 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!30 = !{!"", !6, i64 0, !6, i64 8, !31, i64 16}
!31 = !{!"ZSTD_matchState_t", !28, i64 0, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !6, i64 56, !7, i64 64, !10, i64 96, !12, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !12, i64 136, !12, i64 140, !32, i64 144, !6, i64 248, !18, i64 256, !6, i64 288, !12, i64 296, !12, i64 300}
!32 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !6, i64 88, !12, i64 96}
!33 = !{!"ZSTD_inBuffer_s", !6, i64 0, !10, i64 8, !10, i64 16}
!34 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16, !12, i64 24, !6, i64 32}
!35 = !{!"ZSTD_prefixDict_s", !6, i64 0, !10, i64 8, !12, i64 16}
!36 = !{!"", !26, i64 0, !26, i64 80, !26, i64 160, !26, i64 240, !26, i64 320, !7, i64 400, !37, i64 1184}
!37 = !{!"", !38, i64 0, !39, i64 144}
!38 = !{!"", !12, i64 0, !7, i64 4, !10, i64 136}
!39 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 12, !10, i64 152, !10, i64 160}
!40 = !{!41, !10, i64 8}
!41 = !{!"ZSTD_CDict_s", !6, i64 0, !10, i64 8, !12, i64 16, !6, i64 24, !22, i64 32, !31, i64 104, !42, i64 408, !21, i64 6040, !12, i64 6064, !12, i64 6068, !12, i64 6072}
!42 = !{!"", !43, i64 0, !7, i64 5616}
!43 = !{!"", !44, i64 0, !45, i64 2064}
!44 = !{!"", !7, i64 0, !12, i64 2056}
!45 = !{!"", !7, i64 0, !7, i64 772, !7, i64 2224, !12, i64 3540, !12, i64 3544, !12, i64 3548}
!46 = !{!16, !6, i64 3704}
!47 = !{!16, !10, i64 3712}
!48 = !{!16, !6, i64 3200}
!49 = !{!50, !12, i64 8}
!50 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!51 = !{!50, !12, i64 0}
!52 = !{!50, !12, i64 4}
!53 = !{!16, !12, i64 368}
!54 = !{!14, !10, i64 8}
!55 = !{!16, !12, i64 252}
!56 = !{!16, !12, i64 236}
!57 = !{!16, !10, i64 1008}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}
!60 = !{!16, !6, i64 3208}


; 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.repcodes_s = type { [3 x i32] }
%struct.ZSTD_Sequence = type { i32, i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare hidden i32 @ERR_isError(i64 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @ZSTD_hasExtSeqProd(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local noundef i64 @ZSTD_copySequencesToSeqStoreExplicitBlockDelim(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) local_unnamed_addr #0 {
  %8 = alloca %struct.repcodes_s, align 8
  %9 = load i32, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %4, i64 %5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 3696
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  %.not = icmp eq ptr %12, null
  br i1 %.not, label %15, label %13

13:                                               ; preds = %7
  %14 = getelementptr inbounds i8, ptr %12, i64 8
  br label %.sink.split

15:                                               ; preds = %7
  %16 = getelementptr inbounds i8, ptr %0, i64 3704
  %17 = load ptr, ptr %16, align 8, !tbaa !37
  %.not123 = icmp eq ptr %17, null
  br i1 %.not123, label %22, label %18

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %0, i64 3712
  br label %.sink.split

.sink.split:                                      ; preds = %13, %18
  %.sink = phi ptr [ %19, %18 ], [ %14, %13 ]
  %20 = load i64, ptr %.sink, align 8, !tbaa !38
  %21 = and i64 %20, 4294967295
  br label %22

22:                                               ; preds = %.sink.split, %15
  %.0115 = phi i64 [ 0, %15 ], [ %21, %.sink.split ]
  %23 = getelementptr inbounds i8, ptr %0, i64 3200
  %24 = load ptr, ptr %23, align 8, !tbaa !39
  %25 = getelementptr inbounds i8, ptr %24, i64 5616
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %8, ptr noundef nonnull align 8 dereferenceable(12) %25, i64 12, i1 false)
  %26 = zext i32 %9 to i64
  %27 = icmp ult i64 %26, %3
  br i1 %27, label %.lr.ph, label %.critedge.thread

.lr.ph:                                           ; preds = %22
  %28 = icmp eq i32 %6, 2
  %29 = getelementptr inbounds i8, ptr %0, i64 368
  %30 = getelementptr inbounds i8, ptr %0, i64 232
  %31 = getelementptr inbounds i8, ptr %1, i64 8
  %32 = getelementptr inbounds i8, ptr %0, i64 236
  %33 = getelementptr inbounds i8, ptr %0, i64 252
  %34 = getelementptr inbounds i8, ptr %0, i64 1008
  %35 = getelementptr inbounds i8, ptr %0, i64 952
  br i1 %28, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %59
  %36 = phi i64 [ %66, %59 ], [ %26, %.lr.ph ]
  %.0109140.us = phi i32 [ %65, %59 ], [ %9, %.lr.ph ]
  %.0112139.us = phi ptr [ %64, %59 ], [ %4, %.lr.ph ]
  %37 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %36
  %38 = getelementptr inbounds i8, ptr %37, i64 8
  %39 = load i32, ptr %38, align 4, !tbaa !40
  %.not124.us = icmp eq i32 %39, 0
  %.pre159 = load i32, ptr %37, align 4, !tbaa !42
  %.not125.us = icmp eq i32 %.pre159, 0
  %or.cond174 = select i1 %.not124.us, i1 %.not125.us, i1 false
  br i1 %or.cond174, label %.critedge, label %.critedge3.us

.critedge3.us:                                    ; preds = %.lr.ph.split.us
  %40 = getelementptr inbounds i8, ptr %37, i64 4
  %41 = load i32, ptr %40, align 4, !tbaa !43
  %42 = add i32 %.pre159, 3
  %43 = load i32, ptr %29, align 8, !tbaa !44
  %.not130.us = icmp eq i32 %43, 0
  br i1 %.not130.us, label %54, label %44

44:                                               ; preds = %.critedge3.us
  %45 = add i32 %41, %39
  %46 = zext i32 %45 to i64
  %47 = load i64, ptr %31, align 8, !tbaa !45
  %48 = add i64 %47, %46
  store i64 %48, ptr %31, align 8, !tbaa !45
  %49 = load i32, ptr %33, align 4, !tbaa !46
  %50 = load i32, ptr %32, align 4, !tbaa !47
  %51 = tail call i32 @ZSTD_hasExtSeqProd(ptr noundef nonnull %30)
  %52 = tail call i64 @ZSTD_validateSequence(i32 noundef %42, i32 noundef %39, i32 noundef %49, i64 noundef %48, i32 noundef %50, i64 noundef %.0115, i32 noundef %51)
  %53 = tail call i32 @ERR_isError(i64 noundef %52)
  %.not131.us = icmp eq i32 %53, 0
  br i1 %.not131.us, label %54, label %.thread

54:                                               ; preds = %44, %.critedge3.us
  %55 = load i32, ptr %1, align 8, !tbaa !5
  %56 = sub i32 %.0109140.us, %55
  %57 = zext i32 %56 to i64
  %58 = load i64, ptr %34, align 8, !tbaa !48
  %.not132.us = icmp ugt i64 %58, %57
  br i1 %.not132.us, label %59, label %.thread

59:                                               ; preds = %54
  %60 = zext i32 %41 to i64
  %61 = zext i32 %39 to i64
  tail call void @ZSTD_storeSeq(ptr noundef nonnull %35, i64 noundef %60, ptr noundef %.0112139.us, ptr noundef %10, i32 noundef %42, i64 noundef %61)
  %62 = add i32 %41, %39
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds i8, ptr %.0112139.us, i64 %63
  %65 = add i32 %.0109140.us, 1
  %66 = zext i32 %65 to i64
  %67 = icmp ult i64 %66, %3
  br i1 %67, label %.lr.ph.split.us, label %.critedge, !llvm.loop !49

.lr.ph.split:                                     ; preds = %.lr.ph, %93
  %68 = phi i64 [ %100, %93 ], [ %26, %.lr.ph ]
  %.0109140 = phi i32 [ %99, %93 ], [ %9, %.lr.ph ]
  %.0112139 = phi ptr [ %98, %93 ], [ %4, %.lr.ph ]
  %69 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %68
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = load i32, ptr %70, align 4, !tbaa !40
  %.not124 = icmp eq i32 %71, 0
  %.pre = load i32, ptr %69, align 4, !tbaa !42
  %.not125 = icmp eq i32 %.pre, 0
  %or.cond175 = select i1 %.not124, i1 %.not125, i1 false
  br i1 %or.cond175, label %.critedge, label %.critedge3

.critedge3:                                       ; preds = %.lr.ph.split
  %72 = getelementptr inbounds i8, ptr %69, i64 4
  %73 = load i32, ptr %72, align 4, !tbaa !43
  %74 = icmp eq i32 %73, 0
  %75 = zext i1 %74 to i32
  %76 = call i32 @ZSTD_finalizeOffBase(i32 noundef %.pre, ptr noundef nonnull %8, i32 noundef %75)
  call void @ZSTD_updateRep(ptr noundef nonnull %8, i32 noundef %76, i32 noundef %75)
  %77 = load i32, ptr %29, align 8, !tbaa !44
  %.not130 = icmp eq i32 %77, 0
  br i1 %.not130, label %88, label %78

78:                                               ; preds = %.critedge3
  %79 = add i32 %73, %71
  %80 = zext i32 %79 to i64
  %81 = load i64, ptr %31, align 8, !tbaa !45
  %82 = add i64 %81, %80
  store i64 %82, ptr %31, align 8, !tbaa !45
  %83 = load i32, ptr %33, align 4, !tbaa !46
  %84 = load i32, ptr %32, align 4, !tbaa !47
  %85 = call i32 @ZSTD_hasExtSeqProd(ptr noundef nonnull %30)
  %86 = call i64 @ZSTD_validateSequence(i32 noundef %76, i32 noundef %71, i32 noundef %83, i64 noundef %82, i32 noundef %84, i64 noundef %.0115, i32 noundef %85)
  %87 = call i32 @ERR_isError(i64 noundef %86)
  %.not131 = icmp eq i32 %87, 0
  br i1 %.not131, label %88, label %.thread

88:                                               ; preds = %.critedge3, %78
  %89 = load i32, ptr %1, align 8, !tbaa !5
  %90 = sub i32 %.0109140, %89
  %91 = zext i32 %90 to i64
  %92 = load i64, ptr %34, align 8, !tbaa !48
  %.not132 = icmp ugt i64 %92, %91
  br i1 %.not132, label %93, label %.thread

93:                                               ; preds = %88
  %94 = zext i32 %73 to i64
  %95 = zext i32 %71 to i64
  call void @ZSTD_storeSeq(ptr noundef nonnull %35, i64 noundef %94, ptr noundef %.0112139, ptr noundef %10, i32 noundef %76, i64 noundef %95)
  %96 = add i32 %73, %71
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds i8, ptr %.0112139, i64 %97
  %99 = add i32 %.0109140, 1
  %100 = zext i32 %99 to i64
  %101 = icmp ult i64 %100, %3
  br i1 %101, label %.lr.ph.split, label %.critedge, !llvm.loop !49

.critedge:                                        ; preds = %93, %.lr.ph.split, %59, %.lr.ph.split.us
  %.0112.lcssa = phi ptr [ %64, %59 ], [ %.0112139.us, %.lr.ph.split.us ], [ %98, %93 ], [ %.0112139, %.lr.ph.split ]
  %.0109.lcssa = phi i32 [ %65, %59 ], [ %.0109140.us, %.lr.ph.split.us ], [ %99, %93 ], [ %.0109140, %.lr.ph.split ]
  %.lcssa = phi i64 [ %66, %59 ], [ %36, %.lr.ph.split.us ], [ %100, %93 ], [ %68, %.lr.ph.split ]
  %102 = icmp ne i32 %6, 2
  %.not126 = icmp eq i32 %.0109.lcssa, %9
  %or.cond = select i1 %102, i1 true, i1 %.not126
  br i1 %or.cond, label %.critedge.thread, label %103

103:                                              ; preds = %.critedge
  %104 = add i32 %.0109.lcssa, -1
  %105 = add i32 %9, 2
  %.not127 = icmp ult i32 %104, %105
  br i1 %.not127, label %120, label %106

106:                                              ; preds = %103
  %107 = add i32 %.0109.lcssa, -3
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !42
  %111 = getelementptr inbounds i8, ptr %8, i64 8
  store i32 %110, ptr %111, align 8, !tbaa !51
  %112 = add i32 %.0109.lcssa, -2
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !42
  %116 = getelementptr inbounds i8, ptr %8, i64 4
  store i32 %115, ptr %116, align 4, !tbaa !51
  %117 = zext i32 %104 to i64
  %118 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !42
  store i32 %119, ptr %8, align 8, !tbaa !51
  br label %.critedge.thread

120:                                              ; preds = %103
  %121 = icmp eq i32 %.0109.lcssa, %105
  br i1 %121, label %122, label %133

122:                                              ; preds = %120
  %123 = load i32, ptr %8, align 8, !tbaa !51
  %124 = getelementptr inbounds i8, ptr %8, i64 8
  store i32 %123, ptr %124, align 8, !tbaa !51
  %125 = add i32 %.0109.lcssa, -2
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !42
  %129 = getelementptr inbounds i8, ptr %8, i64 4
  store i32 %128, ptr %129, align 4, !tbaa !51
  %130 = zext i32 %104 to i64
  %131 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !42
  store i32 %132, ptr %8, align 8, !tbaa !51
  br label %.critedge.thread

133:                                              ; preds = %120
  %134 = getelementptr inbounds i8, ptr %8, i64 4
  %135 = load <2 x i32>, ptr %8, align 8, !tbaa !51
  store <2 x i32> %135, ptr %134, align 4, !tbaa !51
  %136 = zext i32 %104 to i64
  %137 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !42
  store i32 %138, ptr %8, align 8, !tbaa !51
  br label %.critedge.thread

.critedge.thread:                                 ; preds = %22, %106, %133, %122, %.critedge
  %.lcssa167 = phi i64 [ %.lcssa, %106 ], [ %.lcssa, %133 ], [ %.lcssa, %122 ], [ %.lcssa, %.critedge ], [ %26, %22 ]
  %.0109.lcssa166 = phi i32 [ %.0109.lcssa, %106 ], [ %.0109.lcssa, %133 ], [ %.0109.lcssa, %122 ], [ %.0109.lcssa, %.critedge ], [ %9, %22 ]
  %.0112.lcssa165 = phi ptr [ %.0112.lcssa, %106 ], [ %.0112.lcssa, %133 ], [ %.0112.lcssa, %122 ], [ %.0112.lcssa, %.critedge ], [ %4, %22 ]
  %139 = getelementptr inbounds i8, ptr %0, i64 3208
  %140 = load ptr, ptr %139, align 8, !tbaa !52
  %141 = getelementptr inbounds i8, ptr %140, i64 5616
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %141, ptr noundef nonnull align 8 dereferenceable(12) %8, i64 12, i1 false)
  %142 = getelementptr inbounds %struct.ZSTD_Sequence, ptr %2, i64 %.lcssa167, i32 1
  %143 = load i32, ptr %142, align 4, !tbaa !43
  %.not128 = icmp eq i32 %143, 0
  br i1 %.not128, label %153, label %144

144:                                              ; preds = %.critedge.thread
  %145 = getelementptr inbounds i8, ptr %0, i64 952
  %146 = zext i32 %143 to i64
  call void @ZSTD_storeLastLiterals(ptr noundef nonnull %145, ptr noundef %.0112.lcssa165, i64 noundef %146)
  %147 = load i32, ptr %142, align 4, !tbaa !43
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds i8, ptr %.0112.lcssa165, i64 %148
  %150 = getelementptr inbounds i8, ptr %1, i64 8
  %151 = load i64, ptr %150, align 8, !tbaa !45
  %152 = add i64 %151, %148
  store i64 %152, ptr %150, align 8, !tbaa !45
  br label %153

153:                                              ; preds = %.critedge.thread, %144
  %.2114 = phi ptr [ %149, %144 ], [ %.0112.lcssa165, %.critedge.thread ]
  %.not129 = icmp eq ptr %.2114, %10
  br i1 %.not129, label %154, label %.thread

154:                                              ; preds = %153
  %155 = add i32 %.0109.lcssa166, 1
  store i32 %155, ptr %1, align 8, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %78, %88, %54, %44, %153, %154
  %.4 = phi i64 [ 0, %154 ], [ -107, %153 ], [ %52, %44 ], [ -107, %54 ], [ %86, %78 ], [ -107, %88 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #5
  ret i64 %.4
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @ZSTD_updateRep(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @ZSTD_storeSeq(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!12, !18, i64 3696}
!12 = !{!"ZSTD_CCtx_s", !7, i64 0, !7, i64 4, !7, i64 8, !13, i64 16, !13, i64 232, !13, i64 448, !7, i64 664, !10, i64 672, !19, i64 680, !10, i64 752, !20, i64 760, !20, i64 768, !20, i64 776, !21, i64 784, !17, i64 872, !18, i64 896, !10, i64 904, !22, i64 912, !7, i64 944, !7, i64 948, !23, i64 952, !24, i64 1032, !18, i64 3144, !10, i64 3152, !26, i64 3160, !27, i64 3200, !18, i64 3520, !7, i64 3528, !18, i64 3536, !10, i64 3544, !10, i64 3552, !10, i64 3560, !10, i64 3568, !18, i64 3576, !10, i64 3584, !10, i64 3592, !10, i64 3600, !7, i64 3608, !7, i64 3612, !30, i64 3616, !10, i64 3640, !10, i64 3648, !31, i64 3656, !18, i64 3696, !32, i64 3704, !18, i64 3728, !33, i64 3736, !18, i64 5232, !10, i64 5240}
!13 = !{!"ZSTD_CCtx_params_s", !7, i64 0, !14, i64 4, !15, i64 32, !7, i64 44, !7, i64 48, !10, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !10, i64 80, !7, i64 88, !7, i64 92, !16, i64 96, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !17, i64 152, !7, i64 176, !7, i64 180, !18, i64 184, !18, i64 192, !10, i64 200, !7, i64 208}
!14 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!15 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8}
!16 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!17 = !{!"", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!"", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !8, i64 56, !7, i64 60, !7, i64 64, !7, i64 68}
!20 = !{!"long long", !8, i64 0}
!21 = !{!"XXH_NAMESPACEXXH64_state_s", !10, i64 0, !8, i64 8, !8, i64 40, !7, i64 72, !7, i64 76, !10, i64 80}
!22 = !{!"", !7, i64 0, !18, i64 8, !10, i64 16, !10, i64 24}
!23 = !{!"", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !7, i64 76}
!24 = !{!"", !25, i64 0, !18, i64 40, !7, i64 48, !18, i64 56, !8, i64 64, !8, i64 576}
!25 = !{!"", !18, i64 0, !18, i64 8, !18, i64 16, !7, i64 24, !7, i64 28, !7, i64 32}
!26 = !{!"", !18, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!27 = !{!"", !18, i64 0, !18, i64 8, !28, i64 16}
!28 = !{!"ZSTD_matchState_t", !25, i64 0, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !18, i64 56, !8, i64 64, !10, i64 96, !7, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !7, i64 136, !7, i64 140, !29, i64 144, !18, i64 248, !14, i64 256, !18, i64 288, !7, i64 296, !7, i64 300}
!29 = !{!"", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !18, i64 88, !7, i64 96}
!30 = !{!"ZSTD_inBuffer_s", !18, i64 0, !10, i64 8, !10, i64 16}
!31 = !{!"", !18, i64 0, !18, i64 8, !10, i64 16, !7, i64 24, !18, i64 32}
!32 = !{!"ZSTD_prefixDict_s", !18, i64 0, !10, i64 8, !7, i64 16}
!33 = !{!"", !23, i64 0, !23, i64 80, !23, i64 160, !23, i64 240, !23, i64 320, !8, i64 400, !34, i64 1184}
!34 = !{!"", !35, i64 0, !36, i64 144}
!35 = !{!"", !7, i64 0, !8, i64 4, !10, i64 136}
!36 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !8, i64 12, !10, i64 152, !10, i64 160}
!37 = !{!12, !18, i64 3704}
!38 = !{!10, !10, i64 0}
!39 = !{!12, !18, i64 3200}
!40 = !{!41, !7, i64 8}
!41 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!42 = !{!41, !7, i64 0}
!43 = !{!41, !7, i64 4}
!44 = !{!12, !7, i64 368}
!45 = !{!6, !10, i64 8}
!46 = !{!12, !7, i64 252}
!47 = !{!12, !7, i64 236}
!48 = !{!12, !10, i64 1008}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = !{!7, !7, i64 0}
!52 = !{!12, !18, i64 3208}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass