; LLVM IR from rweather/lightweight-crypto :: src/combined (lotus-locus)

; 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.gift64n_key_schedule_t = type { [4 x i32], [8 x i32] }

; Function Attrs: nounwind uwtable
define dso_local i32 @lotus_aead_encrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %struct.gift64n_key_schedule_t, align 4
  %20 = alloca [16 x i8], align 16
  %21 = alloca [8 x i8], align 1
  %22 = alloca [8 x i8], align 1
  %23 = alloca [8 x i8], align 1
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca i32, align 4
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca i32, align 4
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca i32, align 4
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca i32, align 4
  %53 = alloca ptr, align 8
  %54 = alloca ptr, align 8
  %55 = alloca i32, align 4
  %56 = alloca ptr, align 8
  %57 = alloca ptr, align 8
  %58 = alloca ptr, align 8
  %59 = alloca i32, align 4
  %60 = alloca ptr, align 8
  %61 = alloca ptr, align 8
  %62 = alloca i32, align 4
  %63 = alloca ptr, align 8
  %64 = alloca ptr, align 8
  %65 = alloca ptr, align 8
  %66 = alloca i32, align 4
  %67 = alloca ptr, align 8
  %68 = alloca ptr, align 8
  %69 = alloca i32, align 4
  %70 = alloca ptr, align 8
  %71 = alloca ptr, align 8
  %72 = alloca i32, align 4
  %73 = alloca ptr, align 8
  %74 = alloca ptr, align 8
  %75 = alloca i32, align 4
  %76 = alloca ptr, align 8
  %77 = alloca ptr, align 8
  %78 = alloca ptr, align 8
  %79 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i64 %3, ptr %13, align 8, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store i64 %5, ptr %15, align 8, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %80 = load ptr, ptr %16, align 8, !tbaa !5
  %81 = load i64, ptr %13, align 8, !tbaa !9
  %82 = add i64 %81, 8
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  store i64 %82, ptr %83, align 8, !tbaa !9
  %84 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  %85 = load ptr, ptr %18, align 8, !tbaa !5
  %86 = load ptr, ptr %17, align 8, !tbaa !5
  %87 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  call void @lotus_or_locus_init(ptr noundef %19, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87)
  %88 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %88, i8 0, i64 16, i1 false)
  %89 = load i64, ptr %15, align 8, !tbaa !9
  %90 = icmp ugt i64 %89, 0
  br i1 %90, label %91, label %97

91:                                               ; preds = %9
  %92 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  %93 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  %94 = getelementptr inbounds i8, ptr %93, i64 8
  %95 = load ptr, ptr %14, align 8, !tbaa !5
  %96 = load i64, ptr %15, align 8, !tbaa !9
  call void @lotus_or_locus_process_ad(ptr noundef %19, ptr noundef %92, ptr noundef %94, ptr noundef %95, i64 noundef %96)
  br label %97

97:                                               ; preds = %91, %9
  %98 = load i64, ptr %13, align 8, !tbaa !9
  %99 = icmp ugt i64 %98, 0
  br i1 %99, label %100, label %536

100:                                              ; preds = %97
  br label %101

101:                                              ; preds = %258, %100
  %102 = load i64, ptr %13, align 8, !tbaa !9
  %103 = icmp ugt i64 %102, 16
  br i1 %103, label %104, label %265

104:                                              ; preds = %101
  call void @lotus_or_locus_mul_2(ptr noundef %19)
  br label %105

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %106 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  store ptr %106, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %107, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %108 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  store ptr %108, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 8, ptr %28, align 4, !tbaa !11
  br label %109

109:                                              ; preds = %112, %105
  %110 = load i32, ptr %28, align 4, !tbaa !11
  %111 = icmp ugt i32 %110, 0
  br i1 %111, label %112, label %127

112:                                              ; preds = %109
  %113 = load ptr, ptr %26, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i32 1
  store ptr %114, ptr %26, align 8, !tbaa !5
  %115 = load i8, ptr %113, align 1, !tbaa !13
  %116 = zext i8 %115 to i32
  %117 = load ptr, ptr %27, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %117, i32 1
  store ptr %118, ptr %27, align 8, !tbaa !5
  %119 = load i8, ptr %117, align 1, !tbaa !13
  %120 = zext i8 %119 to i32
  %121 = xor i32 %116, %120
  %122 = trunc i32 %121 to i8
  %123 = load ptr, ptr %25, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %123, i32 1
  store ptr %124, ptr %25, align 8, !tbaa !5
  store i8 %122, ptr %123, align 1, !tbaa !13
  %125 = load i32, ptr %28, align 4, !tbaa !11
  %126 = add i32 %125, -1
  store i32 %126, ptr %28, align 4, !tbaa !11
  br label %109, !llvm.loop !14

127:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  %130 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %131 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %130, ptr noundef %131, i16 noundef zeroext -19276)
  br label %132

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %133 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  store ptr %133, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %134 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %134, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store i32 8, ptr %31, align 4, !tbaa !11
  br label %135

135:                                              ; preds = %138, %132
  %136 = load i32, ptr %31, align 4, !tbaa !11
  %137 = icmp ugt i32 %136, 0
  br i1 %137, label %138, label %151

138:                                              ; preds = %135
  %139 = load ptr, ptr %30, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i32 1
  store ptr %140, ptr %30, align 8, !tbaa !5
  %141 = load i8, ptr %139, align 1, !tbaa !13
  %142 = zext i8 %141 to i32
  %143 = load ptr, ptr %29, align 8, !tbaa !5
  %144 = getelementptr inbounds i8, ptr %143, i32 1
  store ptr %144, ptr %29, align 8, !tbaa !5
  %145 = load i8, ptr %143, align 1, !tbaa !13
  %146 = zext i8 %145 to i32
  %147 = xor i32 %146, %142
  %148 = trunc i32 %147 to i8
  store i8 %148, ptr %143, align 1, !tbaa !13
  %149 = load i32, ptr %31, align 4, !tbaa !11
  %150 = add i32 %149, -1
  store i32 %150, ptr %31, align 4, !tbaa !11
  br label %135, !llvm.loop !16

151:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %152

152:                                              ; preds = %151
  br label %153

153:                                              ; preds = %152
  %154 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %155 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %154, ptr noundef %155, i16 noundef zeroext -19276)
  br label %156

156:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %157 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %157, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %158, i64 8
  store ptr %159, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %160 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %160, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 8, ptr %35, align 4, !tbaa !11
  br label %161

161:                                              ; preds = %164, %156
  %162 = load i32, ptr %35, align 4, !tbaa !11
  %163 = icmp ugt i32 %162, 0
  br i1 %163, label %164, label %179

164:                                              ; preds = %161
  %165 = load ptr, ptr %33, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %165, i32 1
  store ptr %166, ptr %33, align 8, !tbaa !5
  %167 = load i8, ptr %165, align 1, !tbaa !13
  %168 = zext i8 %167 to i32
  %169 = load ptr, ptr %34, align 8, !tbaa !5
  %170 = getelementptr inbounds i8, ptr %169, i32 1
  store ptr %170, ptr %34, align 8, !tbaa !5
  %171 = load i8, ptr %169, align 1, !tbaa !13
  %172 = zext i8 %171 to i32
  %173 = xor i32 %168, %172
  %174 = trunc i32 %173 to i8
  %175 = load ptr, ptr %32, align 8, !tbaa !5
  %176 = getelementptr inbounds i8, ptr %175, i32 1
  store ptr %176, ptr %32, align 8, !tbaa !5
  store i8 %174, ptr %175, align 1, !tbaa !13
  %177 = load i32, ptr %35, align 4, !tbaa !11
  %178 = add i32 %177, -1
  store i32 %178, ptr %35, align 4, !tbaa !11
  br label %161, !llvm.loop !17

179:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %180

180:                                              ; preds = %179
  br label %181

181:                                              ; preds = %180
  br label %182

182:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %183 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %183, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %184 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %184, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %185 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  store ptr %185, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  store i32 8, ptr %39, align 4, !tbaa !11
  br label %186

186:                                              ; preds = %189, %182
  %187 = load i32, ptr %39, align 4, !tbaa !11
  %188 = icmp ugt i32 %187, 0
  br i1 %188, label %189, label %204

189:                                              ; preds = %186
  %190 = load ptr, ptr %37, align 8, !tbaa !5
  %191 = getelementptr inbounds i8, ptr %190, i32 1
  store ptr %191, ptr %37, align 8, !tbaa !5
  %192 = load i8, ptr %190, align 1, !tbaa !13
  %193 = zext i8 %192 to i32
  %194 = load ptr, ptr %38, align 8, !tbaa !5
  %195 = getelementptr inbounds i8, ptr %194, i32 1
  store ptr %195, ptr %38, align 8, !tbaa !5
  %196 = load i8, ptr %194, align 1, !tbaa !13
  %197 = zext i8 %196 to i32
  %198 = xor i32 %193, %197
  %199 = trunc i32 %198 to i8
  %200 = load ptr, ptr %36, align 8, !tbaa !5
  %201 = getelementptr inbounds i8, ptr %200, i32 1
  store ptr %201, ptr %36, align 8, !tbaa !5
  store i8 %199, ptr %200, align 1, !tbaa !13
  %202 = load i32, ptr %39, align 4, !tbaa !11
  %203 = add i32 %202, -1
  store i32 %203, ptr %39, align 4, !tbaa !11
  br label %186, !llvm.loop !18

204:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  %207 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %208 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %207, ptr noundef %208, i16 noundef zeroext 21845)
  br label %209

209:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %210 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  store ptr %210, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %211 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %211, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  store i32 8, ptr %42, align 4, !tbaa !11
  br label %212

212:                                              ; preds = %215, %209
  %213 = load i32, ptr %42, align 4, !tbaa !11
  %214 = icmp ugt i32 %213, 0
  br i1 %214, label %215, label %228

215:                                              ; preds = %212
  %216 = load ptr, ptr %41, align 8, !tbaa !5
  %217 = getelementptr inbounds i8, ptr %216, i32 1
  store ptr %217, ptr %41, align 8, !tbaa !5
  %218 = load i8, ptr %216, align 1, !tbaa !13
  %219 = zext i8 %218 to i32
  %220 = load ptr, ptr %40, align 8, !tbaa !5
  %221 = getelementptr inbounds i8, ptr %220, i32 1
  store ptr %221, ptr %40, align 8, !tbaa !5
  %222 = load i8, ptr %220, align 1, !tbaa !13
  %223 = zext i8 %222 to i32
  %224 = xor i32 %223, %219
  %225 = trunc i32 %224 to i8
  store i8 %225, ptr %220, align 1, !tbaa !13
  %226 = load i32, ptr %42, align 4, !tbaa !11
  %227 = add i32 %226, -1
  store i32 %227, ptr %42, align 4, !tbaa !11
  br label %212, !llvm.loop !19

228:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %229

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229
  %231 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %232 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %231, ptr noundef %232, i16 noundef zeroext 21845)
  br label %233

233:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %234 = load ptr, ptr %10, align 8, !tbaa !5
  %235 = getelementptr inbounds i8, ptr %234, i64 8
  store ptr %235, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %236 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  store ptr %236, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %237 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %237, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  store i32 8, ptr %46, align 4, !tbaa !11
  br label %238

238:                                              ; preds = %241, %233
  %239 = load i32, ptr %46, align 4, !tbaa !11
  %240 = icmp ugt i32 %239, 0
  br i1 %240, label %241, label %256

241:                                              ; preds = %238
  %242 = load ptr, ptr %44, align 8, !tbaa !5
  %243 = getelementptr inbounds i8, ptr %242, i32 1
  store ptr %243, ptr %44, align 8, !tbaa !5
  %244 = load i8, ptr %242, align 1, !tbaa !13
  %245 = zext i8 %244 to i32
  %246 = load ptr, ptr %45, align 8, !tbaa !5
  %247 = getelementptr inbounds i8, ptr %246, i32 1
  store ptr %247, ptr %45, align 8, !tbaa !5
  %248 = load i8, ptr %246, align 1, !tbaa !13
  %249 = zext i8 %248 to i32
  %250 = xor i32 %245, %249
  %251 = trunc i32 %250 to i8
  %252 = load ptr, ptr %43, align 8, !tbaa !5
  %253 = getelementptr inbounds i8, ptr %252, i32 1
  store ptr %253, ptr %43, align 8, !tbaa !5
  store i8 %251, ptr %252, align 1, !tbaa !13
  %254 = load i32, ptr %46, align 4, !tbaa !11
  %255 = add i32 %254, -1
  store i32 %255, ptr %46, align 4, !tbaa !11
  br label %238, !llvm.loop !20

256:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257
  %259 = load ptr, ptr %10, align 8, !tbaa !5
  %260 = getelementptr inbounds i8, ptr %259, i64 16
  store ptr %260, ptr %10, align 8, !tbaa !5
  %261 = load ptr, ptr %12, align 8, !tbaa !5
  %262 = getelementptr inbounds i8, ptr %261, i64 16
  store ptr %262, ptr %12, align 8, !tbaa !5
  %263 = load i64, ptr %13, align 8, !tbaa !9
  %264 = sub i64 %263, 16
  store i64 %264, ptr %13, align 8, !tbaa !9
  br label %101, !llvm.loop !21

265:                                              ; preds = %101
  %266 = load i64, ptr %13, align 8, !tbaa !9
  %267 = trunc i64 %266 to i32
  store i32 %267, ptr %24, align 4, !tbaa !11
  call void @lotus_or_locus_mul_2(ptr noundef %19)
  %268 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  %269 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %268, ptr align 1 %269, i64 8, i1 false)
  %270 = load i32, ptr %24, align 4, !tbaa !11
  %271 = trunc i32 %270 to i8
  %272 = zext i8 %271 to i32
  %273 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  %274 = load i8, ptr %273, align 1, !tbaa !13
  %275 = zext i8 %274 to i32
  %276 = xor i32 %275, %272
  %277 = trunc i32 %276 to i8
  store i8 %277, ptr %273, align 1, !tbaa !13
  %278 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %279 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %278, ptr noundef %279, i16 noundef zeroext -13108)
  br label %280

280:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %281 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  store ptr %281, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  %282 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %282, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #6
  store i32 8, ptr %49, align 4, !tbaa !11
  br label %283

283:                                              ; preds = %286, %280
  %284 = load i32, ptr %49, align 4, !tbaa !11
  %285 = icmp ugt i32 %284, 0
  br i1 %285, label %286, label %299

286:                                              ; preds = %283
  %287 = load ptr, ptr %48, align 8, !tbaa !5
  %288 = getelementptr inbounds i8, ptr %287, i32 1
  store ptr %288, ptr %48, align 8, !tbaa !5
  %289 = load i8, ptr %287, align 1, !tbaa !13
  %290 = zext i8 %289 to i32
  %291 = load ptr, ptr %47, align 8, !tbaa !5
  %292 = getelementptr inbounds i8, ptr %291, i32 1
  store ptr %292, ptr %47, align 8, !tbaa !5
  %293 = load i8, ptr %291, align 1, !tbaa !13
  %294 = zext i8 %293 to i32
  %295 = xor i32 %294, %290
  %296 = trunc i32 %295 to i8
  store i8 %296, ptr %291, align 1, !tbaa !13
  %297 = load i32, ptr %49, align 4, !tbaa !11
  %298 = add i32 %297, -1
  store i32 %298, ptr %49, align 4, !tbaa !11
  br label %283, !llvm.loop !22

299:                                              ; preds = %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  %302 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %303 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %302, ptr noundef %303, i16 noundef zeroext -13108)
  %304 = load i32, ptr %24, align 4, !tbaa !11
  %305 = icmp ule i32 %304, 8
  br i1 %305, label %306, label %379

306:                                              ; preds = %301
  br label %307

307:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #6
  %308 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  store ptr %308, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #6
  %309 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %309, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %310 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %310, ptr %52, align 4, !tbaa !11
  br label %311

311:                                              ; preds = %314, %307
  %312 = load i32, ptr %52, align 4, !tbaa !11
  %313 = icmp ugt i32 %312, 0
  br i1 %313, label %314, label %327

314:                                              ; preds = %311
  %315 = load ptr, ptr %51, align 8, !tbaa !5
  %316 = getelementptr inbounds i8, ptr %315, i32 1
  store ptr %316, ptr %51, align 8, !tbaa !5
  %317 = load i8, ptr %315, align 1, !tbaa !13
  %318 = zext i8 %317 to i32
  %319 = load ptr, ptr %50, align 8, !tbaa !5
  %320 = getelementptr inbounds i8, ptr %319, i32 1
  store ptr %320, ptr %50, align 8, !tbaa !5
  %321 = load i8, ptr %319, align 1, !tbaa !13
  %322 = zext i8 %321 to i32
  %323 = xor i32 %322, %318
  %324 = trunc i32 %323 to i8
  store i8 %324, ptr %319, align 1, !tbaa !13
  %325 = load i32, ptr %52, align 4, !tbaa !11
  %326 = add i32 %325, -1
  store i32 %326, ptr %52, align 4, !tbaa !11
  br label %311, !llvm.loop !23

327:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  br label %328

328:                                              ; preds = %327
  br label %329

329:                                              ; preds = %328
  br label %330

330:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #6
  %331 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %331, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #6
  %332 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %332, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  %333 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %333, ptr %55, align 4, !tbaa !11
  br label %334

334:                                              ; preds = %337, %330
  %335 = load i32, ptr %55, align 4, !tbaa !11
  %336 = icmp ugt i32 %335, 0
  br i1 %336, label %337, label %350

337:                                              ; preds = %334
  %338 = load ptr, ptr %54, align 8, !tbaa !5
  %339 = getelementptr inbounds i8, ptr %338, i32 1
  store ptr %339, ptr %54, align 8, !tbaa !5
  %340 = load i8, ptr %338, align 1, !tbaa !13
  %341 = zext i8 %340 to i32
  %342 = load ptr, ptr %53, align 8, !tbaa !5
  %343 = getelementptr inbounds i8, ptr %342, i32 1
  store ptr %343, ptr %53, align 8, !tbaa !5
  %344 = load i8, ptr %342, align 1, !tbaa !13
  %345 = zext i8 %344 to i32
  %346 = xor i32 %345, %341
  %347 = trunc i32 %346 to i8
  store i8 %347, ptr %342, align 1, !tbaa !13
  %348 = load i32, ptr %55, align 4, !tbaa !11
  %349 = add i32 %348, -1
  store i32 %349, ptr %55, align 4, !tbaa !11
  br label %334, !llvm.loop !24

350:                                              ; preds = %334
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #6
  br label %351

351:                                              ; preds = %350
  br label %352

352:                                              ; preds = %351
  br label %353

353:                                              ; preds = %352
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #6
  %354 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %354, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #6
  %355 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %355, ptr %57, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #6
  %356 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  store ptr %356, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #6
  %357 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %357, ptr %59, align 4, !tbaa !11
  br label %358

358:                                              ; preds = %361, %353
  %359 = load i32, ptr %59, align 4, !tbaa !11
  %360 = icmp ugt i32 %359, 0
  br i1 %360, label %361, label %376

361:                                              ; preds = %358
  %362 = load ptr, ptr %57, align 8, !tbaa !5
  %363 = getelementptr inbounds i8, ptr %362, i32 1
  store ptr %363, ptr %57, align 8, !tbaa !5
  %364 = load i8, ptr %362, align 1, !tbaa !13
  %365 = zext i8 %364 to i32
  %366 = load ptr, ptr %58, align 8, !tbaa !5
  %367 = getelementptr inbounds i8, ptr %366, i32 1
  store ptr %367, ptr %58, align 8, !tbaa !5
  %368 = load i8, ptr %366, align 1, !tbaa !13
  %369 = zext i8 %368 to i32
  %370 = xor i32 %365, %369
  %371 = trunc i32 %370 to i8
  %372 = load ptr, ptr %56, align 8, !tbaa !5
  %373 = getelementptr inbounds i8, ptr %372, i32 1
  store ptr %373, ptr %56, align 8, !tbaa !5
  store i8 %371, ptr %372, align 1, !tbaa !13
  %374 = load i32, ptr %59, align 4, !tbaa !11
  %375 = add i32 %374, -1
  store i32 %375, ptr %59, align 4, !tbaa !11
  br label %358, !llvm.loop !25

376:                                              ; preds = %358
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #6
  br label %377

377:                                              ; preds = %376
  br label %378

378:                                              ; preds = %377
  br label %531

379:                                              ; preds = %301
  br label %380

380:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #6
  %381 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %381, ptr %60, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #6
  %382 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %382, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #6
  store i32 8, ptr %62, align 4, !tbaa !11
  br label %383

383:                                              ; preds = %386, %380
  %384 = load i32, ptr %62, align 4, !tbaa !11
  %385 = icmp ugt i32 %384, 0
  br i1 %385, label %386, label %399

386:                                              ; preds = %383
  %387 = load ptr, ptr %61, align 8, !tbaa !5
  %388 = getelementptr inbounds i8, ptr %387, i32 1
  store ptr %388, ptr %61, align 8, !tbaa !5
  %389 = load i8, ptr %387, align 1, !tbaa !13
  %390 = zext i8 %389 to i32
  %391 = load ptr, ptr %60, align 8, !tbaa !5
  %392 = getelementptr inbounds i8, ptr %391, i32 1
  store ptr %392, ptr %60, align 8, !tbaa !5
  %393 = load i8, ptr %391, align 1, !tbaa !13
  %394 = zext i8 %393 to i32
  %395 = xor i32 %394, %390
  %396 = trunc i32 %395 to i8
  store i8 %396, ptr %391, align 1, !tbaa !13
  %397 = load i32, ptr %62, align 4, !tbaa !11
  %398 = add i32 %397, -1
  store i32 %398, ptr %62, align 4, !tbaa !11
  br label %383, !llvm.loop !26

399:                                              ; preds = %383
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #6
  br label %400

400:                                              ; preds = %399
  br label %401

401:                                              ; preds = %400
  br label %402

402:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #6
  %403 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %403, ptr %63, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #6
  %404 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %404, ptr %64, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #6
  %405 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  store ptr %405, ptr %65, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #6
  store i32 8, ptr %66, align 4, !tbaa !11
  br label %406

406:                                              ; preds = %409, %402
  %407 = load i32, ptr %66, align 4, !tbaa !11
  %408 = icmp ugt i32 %407, 0
  br i1 %408, label %409, label %424

409:                                              ; preds = %406
  %410 = load ptr, ptr %64, align 8, !tbaa !5
  %411 = getelementptr inbounds i8, ptr %410, i32 1
  store ptr %411, ptr %64, align 8, !tbaa !5
  %412 = load i8, ptr %410, align 1, !tbaa !13
  %413 = zext i8 %412 to i32
  %414 = load ptr, ptr %65, align 8, !tbaa !5
  %415 = getelementptr inbounds i8, ptr %414, i32 1
  store ptr %415, ptr %65, align 8, !tbaa !5
  %416 = load i8, ptr %414, align 1, !tbaa !13
  %417 = zext i8 %416 to i32
  %418 = xor i32 %413, %417
  %419 = trunc i32 %418 to i8
  %420 = load ptr, ptr %63, align 8, !tbaa !5
  %421 = getelementptr inbounds i8, ptr %420, i32 1
  store ptr %421, ptr %63, align 8, !tbaa !5
  store i8 %419, ptr %420, align 1, !tbaa !13
  %422 = load i32, ptr %66, align 4, !tbaa !11
  %423 = add i32 %422, -1
  store i32 %423, ptr %66, align 4, !tbaa !11
  br label %406, !llvm.loop !27

424:                                              ; preds = %406
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #6
  br label %425

425:                                              ; preds = %424
  br label %426

426:                                              ; preds = %425
  %427 = load ptr, ptr %10, align 8, !tbaa !5
  %428 = getelementptr inbounds i8, ptr %427, i64 8
  store ptr %428, ptr %10, align 8, !tbaa !5
  %429 = load ptr, ptr %12, align 8, !tbaa !5
  %430 = getelementptr inbounds i8, ptr %429, i64 8
  store ptr %430, ptr %12, align 8, !tbaa !5
  %431 = load i32, ptr %24, align 4, !tbaa !11
  %432 = sub i32 %431, 8
  store i32 %432, ptr %24, align 4, !tbaa !11
  %433 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %434 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %433, ptr noundef %434, i16 noundef zeroext 11565)
  br label %435

435:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #6
  %436 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  store ptr %436, ptr %67, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #6
  %437 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %437, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #6
  store i32 8, ptr %69, align 4, !tbaa !11
  br label %438

438:                                              ; preds = %441, %435
  %439 = load i32, ptr %69, align 4, !tbaa !11
  %440 = icmp ugt i32 %439, 0
  br i1 %440, label %441, label %454

441:                                              ; preds = %438
  %442 = load ptr, ptr %68, align 8, !tbaa !5
  %443 = getelementptr inbounds i8, ptr %442, i32 1
  store ptr %443, ptr %68, align 8, !tbaa !5
  %444 = load i8, ptr %442, align 1, !tbaa !13
  %445 = zext i8 %444 to i32
  %446 = load ptr, ptr %67, align 8, !tbaa !5
  %447 = getelementptr inbounds i8, ptr %446, i32 1
  store ptr %447, ptr %67, align 8, !tbaa !5
  %448 = load i8, ptr %446, align 1, !tbaa !13
  %449 = zext i8 %448 to i32
  %450 = xor i32 %449, %445
  %451 = trunc i32 %450 to i8
  store i8 %451, ptr %446, align 1, !tbaa !13
  %452 = load i32, ptr %69, align 4, !tbaa !11
  %453 = add i32 %452, -1
  store i32 %453, ptr %69, align 4, !tbaa !11
  br label %438, !llvm.loop !28

454:                                              ; preds = %438
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #6
  br label %455

455:                                              ; preds = %454
  br label %456

456:                                              ; preds = %455
  %457 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  %458 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  call void @gift64t_encrypt(ptr noundef %19, ptr noundef %457, ptr noundef %458, i16 noundef zeroext 11565)
  br label %459

459:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #6
  %460 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  store ptr %460, ptr %70, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #6
  %461 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %461, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #6
  %462 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %462, ptr %72, align 4, !tbaa !11
  br label %463

463:                                              ; preds = %466, %459
  %464 = load i32, ptr %72, align 4, !tbaa !11
  %465 = icmp ugt i32 %464, 0
  br i1 %465, label %466, label %479

466:                                              ; preds = %463
  %467 = load ptr, ptr %71, align 8, !tbaa !5
  %468 = getelementptr inbounds i8, ptr %467, i32 1
  store ptr %468, ptr %71, align 8, !tbaa !5
  %469 = load i8, ptr %467, align 1, !tbaa !13
  %470 = zext i8 %469 to i32
  %471 = load ptr, ptr %70, align 8, !tbaa !5
  %472 = getelementptr inbounds i8, ptr %471, i32 1
  store ptr %472, ptr %70, align 8, !tbaa !5
  %473 = load i8, ptr %471, align 1, !tbaa !13
  %474 = zext i8 %473 to i32
  %475 = xor i32 %474, %470
  %476 = trunc i32 %475 to i8
  store i8 %476, ptr %471, align 1, !tbaa !13
  %477 = load i32, ptr %72, align 4, !tbaa !11
  %478 = add i32 %477, -1
  store i32 %478, ptr %72, align 4, !tbaa !11
  br label %463, !llvm.loop !29

479:                                              ; preds = %463
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #6
  br label %480

480:                                              ; preds = %479
  br label %481

481:                                              ; preds = %480
  br label %482

482:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #6
  %483 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  store ptr %483, ptr %73, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #6
  %484 = getelementptr inbounds [8 x i8], ptr %23, i64 0, i64 0
  store ptr %484, ptr %74, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #6
  %485 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %485, ptr %75, align 4, !tbaa !11
  br label %486

486:                                              ; preds = %489, %482
  %487 = load i32, ptr %75, align 4, !tbaa !11
  %488 = icmp ugt i32 %487, 0
  br i1 %488, label %489, label %502

489:                                              ; preds = %486
  %490 = load ptr, ptr %74, align 8, !tbaa !5
  %491 = getelementptr inbounds i8, ptr %490, i32 1
  store ptr %491, ptr %74, align 8, !tbaa !5
  %492 = load i8, ptr %490, align 1, !tbaa !13
  %493 = zext i8 %492 to i32
  %494 = load ptr, ptr %73, align 8, !tbaa !5
  %495 = getelementptr inbounds i8, ptr %494, i32 1
  store ptr %495, ptr %73, align 8, !tbaa !5
  %496 = load i8, ptr %494, align 1, !tbaa !13
  %497 = zext i8 %496 to i32
  %498 = xor i32 %497, %493
  %499 = trunc i32 %498 to i8
  store i8 %499, ptr %494, align 1, !tbaa !13
  %500 = load i32, ptr %75, align 4, !tbaa !11
  %501 = add i32 %500, -1
  store i32 %501, ptr %75, align 4, !tbaa !11
  br label %486, !llvm.loop !30

502:                                              ; preds = %486
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #6
  br label %503

503:                                              ; preds = %502
  br label %504

504:                                              ; preds = %503
  br label %505

505:                                              ; preds = %504
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #6
  %506 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %506, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #6
  %507 = getelementptr inbounds [8 x i8], ptr %22, i64 0, i64 0
  store ptr %507, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #6
  %508 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %508, ptr %78, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #6
  %509 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %509, ptr %79, align 4, !tbaa !11
  br label %510

510:                                              ; preds = %513, %505
  %511 = load i32, ptr %79, align 4, !tbaa !11
  %512 = icmp ugt i32 %511, 0
  br i1 %512, label %513, label %528

513:                                              ; preds = %510
  %514 = load ptr, ptr %77, align 8, !tbaa !5
  %515 = getelementptr inbounds i8, ptr %514, i32 1
  store ptr %515, ptr %77, align 8, !tbaa !5
  %516 = load i8, ptr %514, align 1, !tbaa !13
  %517 = zext i8 %516 to i32
  %518 = load ptr, ptr %78, align 8, !tbaa !5
  %519 = getelementptr inbounds i8, ptr %518, i32 1
  store ptr %519, ptr %78, align 8, !tbaa !5
  %520 = load i8, ptr %518, align 1, !tbaa !13
  %521 = zext i8 %520 to i32
  %522 = xor i32 %517, %521
  %523 = trunc i32 %522 to i8
  %524 = load ptr, ptr %76, align 8, !tbaa !5
  %525 = getelementptr inbounds i8, ptr %524, i32 1
  store ptr %525, ptr %76, align 8, !tbaa !5
  store i8 %523, ptr %524, align 1, !tbaa !13
  %526 = load i32, ptr %79, align 4, !tbaa !11
  %527 = add i32 %526, -1
  store i32 %527, ptr %79, align 4, !tbaa !11
  br label %510, !llvm.loop !31

528:                                              ; preds = %510
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #6
  br label %529

529:                                              ; preds = %528
  br label %530

530:                                              ; preds = %529
  br label %531

531:                                              ; preds = %530, %378
  %532 = load i32, ptr %24, align 4, !tbaa !11
  %533 = load ptr, ptr %10, align 8, !tbaa !5
  %534 = zext i32 %532 to i64
  %535 = getelementptr inbounds i8, ptr %533, i64 %534
  store ptr %535, ptr %10, align 8, !tbaa !5
  br label %536

536:                                              ; preds = %531, %97
  %537 = load ptr, ptr %10, align 8, !tbaa !5
  %538 = getelementptr inbounds [8 x i8], ptr %21, i64 0, i64 0
  %539 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  %540 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  %541 = getelementptr inbounds i8, ptr %540, i64 8
  call void @lotus_or_locus_gen_tag(ptr noundef %19, ptr noundef %537, ptr noundef %538, ptr noundef %539, ptr noundef %541)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  ret i32 0
}

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

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

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

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

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

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

declare void @gift64t_encrypt(ptr noundef, ptr noundef, ptr noundef, i16 noundef zeroext) #4

; 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 @lotus_or_locus_gen_tag(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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: write) }
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 = { "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 = { 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 long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}
!29 = distinct !{!29, !15}
!30 = distinct !{!30, !15}
!31 = distinct !{!31, !15}


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

%struct.gift64n_key_schedule_t = type { [4 x i32], [8 x i32] }

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @lotus_aead_encrypt(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr nocapture noundef readnone %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #0 {
  %10 = alloca %struct.gift64n_key_schedule_t, align 4
  %11 = alloca [16 x i8], align 16
  %12 = alloca [8 x i8], align 8
  %13 = ptrtoint ptr %12 to i64
  %14 = alloca [8 x i8], align 8
  %15 = ptrtoint ptr %14 to i64
  %16 = alloca [8 x i8], align 8
  %17 = ptrtoint ptr %16 to i64
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %18 = add i64 %3, 8
  store i64 %18, ptr %1, align 8, !tbaa !5
  call void @lotus_or_locus_init(ptr noundef nonnull %10, ptr noundef nonnull %12, ptr noundef %8, ptr noundef %7, ptr noundef nonnull %11)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  %.not = icmp eq i64 %5, 0
  br i1 %.not, label %21, label %19

19:                                               ; preds = %9
  %20 = getelementptr inbounds i8, ptr %11, i64 8
  call void @lotus_or_locus_process_ad(ptr noundef nonnull %10, ptr noundef nonnull %12, ptr noundef nonnull %20, ptr noundef %4, i64 noundef %5)
  br label %21

21:                                               ; preds = %19, %9
  %.not172 = icmp eq i64 %3, 0
  br i1 %.not172, label %353, label %.preheader197

.preheader197:                                    ; preds = %21
  %22 = icmp ugt i64 %3, 16
  br i1 %22, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader197
  %23 = getelementptr inbounds i8, ptr %12, i64 4
  %24 = getelementptr inbounds i8, ptr %16, i64 4
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.0165222 = phi ptr [ %51, %.lr.ph ], [ %0, %.lr.ph.preheader ]
  %.0166221 = phi ptr [ %52, %.lr.ph ], [ %2, %.lr.ph.preheader ]
  %.0167220 = phi i64 [ %53, %.lr.ph ], [ %3, %.lr.ph.preheader ]
  call void @lotus_or_locus_mul_2(ptr noundef nonnull %10)
  %25 = load <8 x i8>, ptr %.0166221, align 1, !tbaa !9
  %26 = load <8 x i8>, ptr %12, align 8, !tbaa !9
  %27 = xor <8 x i8> %26, %25
  store <8 x i8> %27, ptr %14, align 8, !tbaa !9
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %14, i16 noundef zeroext -19276) #5
  %28 = load <8 x i8>, ptr %16, align 8, !tbaa !9
  %29 = load <8 x i8>, ptr %11, align 16, !tbaa !9
  %30 = xor <8 x i8> %29, %28
  store <8 x i8> %30, ptr %11, align 16, !tbaa !9
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %16, i16 noundef zeroext -19276) #5
  %31 = getelementptr inbounds i8, ptr %.0166221, i64 8
  %32 = load <8 x i8>, ptr %31, align 1, !tbaa !9
  %33 = load <8 x i8>, ptr %16, align 8, !tbaa !9
  %34 = xor <8 x i8> %33, %32
  store <8 x i8> %34, ptr %16, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %.0165222, i64 4
  %36 = load <4 x i8>, ptr %16, align 8, !tbaa !9
  %37 = load <4 x i8>, ptr %12, align 8, !tbaa !9
  %38 = xor <4 x i8> %37, %36
  store <4 x i8> %38, ptr %.0165222, align 1, !tbaa !9
  %39 = load <4 x i8>, ptr %24, align 4
  %40 = load <4 x i8>, ptr %23, align 4, !tbaa !9
  %41 = shufflevector <8 x i8> %34, <8 x i8> poison, <4 x i32> <i32 poison, i32 poison, i32 6, i32 7>
  %42 = shufflevector <4 x i8> %39, <4 x i8> %41, <4 x i32> <i32 0, i32 1, i32 6, i32 7>
  %43 = xor <4 x i8> %40, %42
  store <4 x i8> %43, ptr %35, align 1, !tbaa !9
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %16, i16 noundef zeroext 21845) #5
  %44 = load <8 x i8>, ptr %16, align 8, !tbaa !9
  %45 = load <8 x i8>, ptr %11, align 16, !tbaa !9
  %46 = xor <8 x i8> %45, %44
  store <8 x i8> %46, ptr %11, align 16, !tbaa !9
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %16, i16 noundef zeroext 21845) #5
  %47 = getelementptr inbounds i8, ptr %.0165222, i64 8
  %48 = load <8 x i8>, ptr %14, align 8, !tbaa !9
  %49 = load <8 x i8>, ptr %16, align 8, !tbaa !9
  %50 = xor <8 x i8> %49, %48
  store <8 x i8> %50, ptr %47, align 1, !tbaa !9
  %51 = getelementptr inbounds i8, ptr %.0165222, i64 16
  %52 = getelementptr inbounds i8, ptr %.0166221, i64 16
  %53 = add i64 %.0167220, -16
  %54 = icmp ugt i64 %53, 16
  br i1 %54, label %.lr.ph, label %._crit_edge, !llvm.loop !10

._crit_edge:                                      ; preds = %.lr.ph, %.preheader197
  %.0167.lcssa = phi i64 [ %3, %.preheader197 ], [ %53, %.lr.ph ]
  %.0166.lcssa = phi ptr [ %2, %.preheader197 ], [ %52, %.lr.ph ]
  %.0165.lcssa = phi ptr [ %0, %.preheader197 ], [ %51, %.lr.ph ]
  %.0165.lcssa358 = ptrtoint ptr %.0165.lcssa to i64
  %.0166.lcssa359 = ptrtoint ptr %.0166.lcssa to i64
  call void @lotus_or_locus_mul_2(ptr noundef nonnull %10)
  %55 = load i64, ptr %12, align 8
  store i64 %55, ptr %14, align 8
  %56 = xor i64 %55, %.0167.lcssa
  %57 = trunc i64 %56 to i8
  store i8 %57, ptr %14, align 8, !tbaa !9
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %14, i16 noundef zeroext -13108) #5
  %58 = load <8 x i8>, ptr %16, align 8, !tbaa !9
  %59 = load <8 x i8>, ptr %11, align 16, !tbaa !9
  %60 = xor <8 x i8> %59, %58
  store <8 x i8> %60, ptr %11, align 16, !tbaa !9
  %61 = trunc nuw i64 %.0167.lcssa to i32
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %16, i16 noundef zeroext -13108) #5
  %62 = icmp ult i64 %.0167.lcssa, 9
  br i1 %62, label %iter.check425, label %.preheader195.preheader

iter.check425:                                    ; preds = %._crit_edge
  %63 = add nuw nsw i64 %.0167.lcssa, 4294967295
  %64 = and i64 %63, 4294967295
  %65 = add nuw nsw i64 %64, 1
  %min.iters.check423 = icmp ult i64 %64, 7
  br i1 %min.iters.check423, label %.lr.ph259.preheader, label %vector.memcheck416

vector.memcheck416:                               ; preds = %iter.check425
  %66 = add nuw nsw i64 %.0167.lcssa, 4294967295
  %67 = and i64 %66, 4294967295
  %68 = add nuw nsw i64 %67, 1
  %scevgep417 = getelementptr i8, ptr %11, i64 %68
  %scevgep418 = getelementptr i8, ptr %.0166.lcssa, i64 %68
  %bound0419 = icmp ult ptr %11, %scevgep418
  %bound1420 = icmp ult ptr %.0166.lcssa, %scevgep417
  %found.conflict421 = and i1 %bound0419, %bound1420
  br i1 %found.conflict421, label %.lr.ph259.preheader, label %vector.main.loop.iter.check427

vector.main.loop.iter.check427:                   ; preds = %vector.memcheck416
  %min.iters.check426 = icmp ult i64 %64, 31
  br i1 %min.iters.check426, label %vec.epilog.ph445, label %vector.ph428

vector.ph428:                                     ; preds = %vector.main.loop.iter.check427
  %n.vec430 = and i64 %65, 8589934560
  br label %vector.body431

vector.body431:                                   ; preds = %vector.body431, %vector.ph428
  %index432 = phi i64 [ 0, %vector.ph428 ], [ %index.next441, %vector.body431 ]
  %next.gep433 = getelementptr i8, ptr %.0166.lcssa, i64 %index432
  %next.gep435 = getelementptr i8, ptr %11, i64 %index432
  %69 = getelementptr i8, ptr %next.gep433, i64 16
  %wide.load437 = load <16 x i8>, ptr %next.gep433, align 1, !tbaa !9, !alias.scope !12
  %wide.load438 = load <16 x i8>, ptr %69, align 1, !tbaa !9, !alias.scope !12
  %70 = getelementptr i8, ptr %next.gep435, i64 16
  %wide.load439 = load <16 x i8>, ptr %next.gep435, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  %wide.load440 = load <16 x i8>, ptr %70, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  %71 = xor <16 x i8> %wide.load439, %wide.load437
  %72 = xor <16 x i8> %wide.load440, %wide.load438
  store <16 x i8> %71, ptr %next.gep435, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  store <16 x i8> %72, ptr %70, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  %index.next441 = add nuw i64 %index432, 32
  %73 = icmp eq i64 %index.next441, %n.vec430
  br i1 %73, label %middle.block422, label %vector.body431, !llvm.loop !17

middle.block422:                                  ; preds = %vector.body431
  %cmp.n442 = icmp eq i64 %65, %n.vec430
  br i1 %cmp.n442, label %iter.check480, label %vec.epilog.iter.check446

vec.epilog.iter.check446:                         ; preds = %middle.block422
  %ind.end461 = getelementptr i8, ptr %11, i64 %n.vec430
  %ind.end458 = getelementptr i8, ptr %.0166.lcssa, i64 %n.vec430
  %.cast454 = trunc i64 %n.vec430 to i32
  %ind.end455 = sub i32 %61, %.cast454
  %n.vec.remaining447 = and i64 %65, 24
  %min.epilog.iters.check448 = icmp eq i64 %n.vec.remaining447, 0
  br i1 %min.epilog.iters.check448, label %.lr.ph259.preheader, label %vec.epilog.ph445

.lr.ph259.preheader:                              ; preds = %vec.epilog.middle.block443, %vector.memcheck416, %iter.check425, %vec.epilog.iter.check446
  %.0136258.ph = phi i32 [ %61, %iter.check425 ], [ %61, %vector.memcheck416 ], [ %ind.end455, %vec.epilog.iter.check446 ], [ %ind.end453, %vec.epilog.middle.block443 ]
  %.0137257.ph = phi ptr [ %.0166.lcssa, %iter.check425 ], [ %.0166.lcssa, %vector.memcheck416 ], [ %ind.end458, %vec.epilog.iter.check446 ], [ %ind.end457, %vec.epilog.middle.block443 ]
  %.0138256.ph = phi ptr [ %11, %iter.check425 ], [ %11, %vector.memcheck416 ], [ %ind.end461, %vec.epilog.iter.check446 ], [ %ind.end460, %vec.epilog.middle.block443 ]
  %74 = add nsw i32 %.0136258.ph, -1
  %xtraiter591 = and i32 %.0136258.ph, 3
  %lcmp.mod592.not = icmp eq i32 %xtraiter591, 0
  br i1 %lcmp.mod592.not, label %.lr.ph259.prol.loopexit, label %.lr.ph259.prol

.lr.ph259.prol:                                   ; preds = %.lr.ph259.preheader, %.lr.ph259.prol
  %.0136258.prol = phi i32 [ %80, %.lr.ph259.prol ], [ %.0136258.ph, %.lr.ph259.preheader ]
  %.0137257.prol = phi ptr [ %75, %.lr.ph259.prol ], [ %.0137257.ph, %.lr.ph259.preheader ]
  %.0138256.prol = phi ptr [ %77, %.lr.ph259.prol ], [ %.0138256.ph, %.lr.ph259.preheader ]
  %prol.iter593 = phi i32 [ %prol.iter593.next, %.lr.ph259.prol ], [ 0, %.lr.ph259.preheader ]
  %75 = getelementptr inbounds i8, ptr %.0137257.prol, i64 1
  %76 = load i8, ptr %.0137257.prol, align 1, !tbaa !9
  %77 = getelementptr inbounds i8, ptr %.0138256.prol, i64 1
  %78 = load i8, ptr %.0138256.prol, align 1, !tbaa !9
  %79 = xor i8 %78, %76
  store i8 %79, ptr %.0138256.prol, align 1, !tbaa !9
  %80 = add nsw i32 %.0136258.prol, -1
  %prol.iter593.next = add i32 %prol.iter593, 1
  %prol.iter593.cmp.not = icmp eq i32 %prol.iter593.next, %xtraiter591
  br i1 %prol.iter593.cmp.not, label %.lr.ph259.prol.loopexit, label %.lr.ph259.prol, !llvm.loop !20

.lr.ph259.prol.loopexit:                          ; preds = %.lr.ph259.prol, %.lr.ph259.preheader
  %.0136258.unr = phi i32 [ %.0136258.ph, %.lr.ph259.preheader ], [ %80, %.lr.ph259.prol ]
  %.0137257.unr = phi ptr [ %.0137257.ph, %.lr.ph259.preheader ], [ %75, %.lr.ph259.prol ]
  %.0138256.unr = phi ptr [ %.0138256.ph, %.lr.ph259.preheader ], [ %77, %.lr.ph259.prol ]
  %81 = icmp ult i32 %74, 3
  br i1 %81, label %iter.check480, label %.lr.ph259

vec.epilog.ph445:                                 ; preds = %vector.main.loop.iter.check427, %vec.epilog.iter.check446
  %vec.epilog.resume.val449 = phi i64 [ %n.vec430, %vec.epilog.iter.check446 ], [ 0, %vector.main.loop.iter.check427 ]
  %n.vec451 = and i64 %65, 8589934584
  %.cast452 = trunc i64 %n.vec451 to i32
  %ind.end453 = sub i32 %61, %.cast452
  %ind.end457 = getelementptr i8, ptr %.0166.lcssa, i64 %n.vec451
  %ind.end460 = getelementptr i8, ptr %11, i64 %n.vec451
  br label %vec.epilog.vector.body463

vec.epilog.vector.body463:                        ; preds = %vec.epilog.vector.body463, %vec.epilog.ph445
  %index464 = phi i64 [ %vec.epilog.resume.val449, %vec.epilog.ph445 ], [ %index.next469, %vec.epilog.vector.body463 ]
  %next.gep465 = getelementptr i8, ptr %.0166.lcssa, i64 %index464
  %next.gep466 = getelementptr i8, ptr %11, i64 %index464
  %wide.load467 = load <8 x i8>, ptr %next.gep465, align 1, !tbaa !9, !alias.scope !22
  %wide.load468 = load <8 x i8>, ptr %next.gep466, align 8, !tbaa !9, !alias.scope !25, !noalias !22
  %82 = xor <8 x i8> %wide.load468, %wide.load467
  store <8 x i8> %82, ptr %next.gep466, align 8, !tbaa !9, !alias.scope !25, !noalias !22
  %index.next469 = add nuw i64 %index464, 8
  %83 = icmp eq i64 %index.next469, %n.vec451
  br i1 %83, label %vec.epilog.middle.block443, label %vec.epilog.vector.body463, !llvm.loop !27

vec.epilog.middle.block443:                       ; preds = %vec.epilog.vector.body463
  %cmp.n470 = icmp eq i64 %65, %n.vec451
  br i1 %cmp.n470, label %iter.check480, label %.lr.ph259.preheader

.preheader195.preheader:                          ; preds = %._crit_edge
  %84 = getelementptr inbounds i8, ptr %16, i64 6
  %85 = getelementptr inbounds i8, ptr %16, i64 5
  %86 = getelementptr inbounds i8, ptr %16, i64 4
  %87 = getelementptr inbounds i8, ptr %16, i64 3
  %88 = getelementptr inbounds i8, ptr %16, i64 2
  %89 = load <8 x i8>, ptr %.0166.lcssa, align 1, !tbaa !9
  %90 = load <8 x i8>, ptr %16, align 8, !tbaa !9
  %91 = xor <8 x i8> %90, %89
  store <8 x i8> %91, ptr %16, align 8, !tbaa !9
  %92 = getelementptr inbounds i8, ptr %12, i64 1
  %93 = load i8, ptr %12, align 8, !tbaa !9
  %94 = extractelement <8 x i8> %91, i64 0
  %95 = xor i8 %93, %94
  %96 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 1
  store i8 %95, ptr %.0165.lcssa, align 1, !tbaa !9
  %97 = getelementptr inbounds i8, ptr %12, i64 2
  %98 = load i8, ptr %92, align 1, !tbaa !9
  %99 = extractelement <8 x i8> %91, i64 1
  %100 = xor i8 %98, %99
  %101 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 2
  store i8 %100, ptr %96, align 1, !tbaa !9
  %102 = load i8, ptr %88, align 2, !tbaa !9
  %103 = getelementptr inbounds i8, ptr %12, i64 3
  %104 = load i8, ptr %97, align 2, !tbaa !9
  %105 = xor i8 %104, %102
  %106 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 3
  store i8 %105, ptr %101, align 1, !tbaa !9
  %107 = load i8, ptr %87, align 1, !tbaa !9
  %108 = getelementptr inbounds i8, ptr %12, i64 4
  %109 = load i8, ptr %103, align 1, !tbaa !9
  %110 = xor i8 %109, %107
  %111 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 4
  store i8 %110, ptr %106, align 1, !tbaa !9
  %112 = load i8, ptr %86, align 4, !tbaa !9
  %113 = getelementptr inbounds i8, ptr %12, i64 5
  %114 = load i8, ptr %108, align 4, !tbaa !9
  %115 = xor i8 %114, %112
  %116 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 5
  store i8 %115, ptr %111, align 1, !tbaa !9
  %117 = load i8, ptr %85, align 1, !tbaa !9
  %118 = getelementptr inbounds i8, ptr %12, i64 6
  %119 = load i8, ptr %113, align 1, !tbaa !9
  %120 = xor i8 %119, %117
  %121 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 6
  store i8 %120, ptr %116, align 1, !tbaa !9
  %122 = load i8, ptr %84, align 2, !tbaa !9
  %123 = getelementptr inbounds i8, ptr %12, i64 7
  %124 = load i8, ptr %118, align 2, !tbaa !9
  %125 = xor i8 %124, %122
  %126 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 7
  store i8 %125, ptr %121, align 1, !tbaa !9
  %127 = load i8, ptr %123, align 1, !tbaa !9
  %128 = extractelement <8 x i8> %91, i64 7
  %129 = xor i8 %127, %128
  store i8 %129, ptr %126, align 1, !tbaa !9
  %130 = getelementptr i8, ptr %.0166.lcssa, i64 8
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %16, i16 noundef zeroext 11565) #5
  %131 = load <8 x i8>, ptr %16, align 8, !tbaa !9
  %132 = load <8 x i8>, ptr %11, align 16, !tbaa !9
  %133 = xor <8 x i8> %132, %131
  store <8 x i8> %133, ptr %11, align 16, !tbaa !9
  %134 = getelementptr inbounds i8, ptr %.0165.lcssa, i64 8
  %135 = add nsw i32 %61, -8
  call void @gift64t_encrypt(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull %16, i16 noundef zeroext 11565) #5
  %cond272 = icmp eq i32 %135, 0
  br i1 %cond272, label %.loopexit, label %iter.check

iter.check:                                       ; preds = %.preheader195.preheader
  %136 = zext i32 %135 to i64
  %min.iters.check = icmp ult i32 %135, 8
  br i1 %min.iters.check, label %.lr.ph243.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %iter.check
  %137 = add nuw nsw i64 %.0167.lcssa, 4294967287
  %138 = and i64 %137, 4294967295
  %139 = getelementptr i8, ptr %11, i64 %138
  %scevgep = getelementptr i8, ptr %139, i64 1
  %140 = add nuw nsw i64 %138, 9
  %scevgep283 = getelementptr i8, ptr %.0166.lcssa, i64 %140
  %bound0 = icmp ult ptr %11, %scevgep283
  %bound1 = icmp ult ptr %130, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph243.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %vector.memcheck
  %min.iters.check284 = icmp ult i32 %135, 32
  br i1 %min.iters.check284, label %vec.epilog.ph, label %vector.ph

vector.ph:                                        ; preds = %vector.main.loop.iter.check
  %n.vec = and i64 %136, 4294967264
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %next.gep = getelementptr i8, ptr %130, i64 %index
  %next.gep286 = getelementptr i8, ptr %11, i64 %index
  %141 = getelementptr i8, ptr %next.gep, i64 16
  %wide.load = load <16 x i8>, ptr %next.gep, align 1, !tbaa !9, !alias.scope !28
  %wide.load288 = load <16 x i8>, ptr %141, align 1, !tbaa !9, !alias.scope !28
  %142 = getelementptr i8, ptr %next.gep286, i64 16
  %wide.load289 = load <16 x i8>, ptr %next.gep286, align 16, !tbaa !9, !alias.scope !31, !noalias !28
  %wide.load290 = load <16 x i8>, ptr %142, align 16, !tbaa !9, !alias.scope !31, !noalias !28
  %143 = xor <16 x i8> %wide.load289, %wide.load
  %144 = xor <16 x i8> %wide.load290, %wide.load288
  store <16 x i8> %143, ptr %next.gep286, align 16, !tbaa !9, !alias.scope !31, !noalias !28
  store <16 x i8> %144, ptr %142, align 16, !tbaa !9, !alias.scope !31, !noalias !28
  %index.next = add nuw i64 %index, 32
  %145 = icmp eq i64 %index.next, %n.vec
  br i1 %145, label %middle.block, label %vector.body, !llvm.loop !33

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %136
  br i1 %cmp.n, label %iter.check311, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  %ind.end299 = getelementptr i8, ptr %11, i64 %n.vec
  %ind.end296 = getelementptr i8, ptr %130, i64 %n.vec
  %.cast293 = trunc nuw i64 %n.vec to i32
  %ind.end294 = sub i32 %135, %.cast293
  %n.vec.remaining = and i64 %136, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check, label %.lr.ph243.preheader, label %vec.epilog.ph

.lr.ph243.preheader:                              ; preds = %vec.epilog.middle.block, %vector.memcheck, %iter.check, %vec.epilog.iter.check
  %.0116241.ph = phi i32 [ %135, %iter.check ], [ %135, %vector.memcheck ], [ %ind.end294, %vec.epilog.iter.check ], [ %ind.end, %vec.epilog.middle.block ]
  %.0117240.ph = phi ptr [ %130, %iter.check ], [ %130, %vector.memcheck ], [ %ind.end296, %vec.epilog.iter.check ], [ %ind.end295, %vec.epilog.middle.block ]
  %.0118239.ph = phi ptr [ %11, %iter.check ], [ %11, %vector.memcheck ], [ %ind.end299, %vec.epilog.iter.check ], [ %ind.end298, %vec.epilog.middle.block ]
  %146 = add nsw i32 %.0116241.ph, -1
  %xtraiter = and i32 %.0116241.ph, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph243.prol.loopexit, label %.lr.ph243.prol

.lr.ph243.prol:                                   ; preds = %.lr.ph243.preheader, %.lr.ph243.prol
  %.0116241.prol = phi i32 [ %152, %.lr.ph243.prol ], [ %.0116241.ph, %.lr.ph243.preheader ]
  %.0117240.prol = phi ptr [ %147, %.lr.ph243.prol ], [ %.0117240.ph, %.lr.ph243.preheader ]
  %.0118239.prol = phi ptr [ %149, %.lr.ph243.prol ], [ %.0118239.ph, %.lr.ph243.preheader ]
  %prol.iter = phi i32 [ %prol.iter.next, %.lr.ph243.prol ], [ 0, %.lr.ph243.preheader ]
  %147 = getelementptr inbounds i8, ptr %.0117240.prol, i64 1
  %148 = load i8, ptr %.0117240.prol, align 1, !tbaa !9
  %149 = getelementptr inbounds i8, ptr %.0118239.prol, i64 1
  %150 = load i8, ptr %.0118239.prol, align 1, !tbaa !9
  %151 = xor i8 %150, %148
  store i8 %151, ptr %.0118239.prol, align 1, !tbaa !9
  %152 = add nsw i32 %.0116241.prol, -1
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph243.prol.loopexit, label %.lr.ph243.prol, !llvm.loop !34

.lr.ph243.prol.loopexit:                          ; preds = %.lr.ph243.prol, %.lr.ph243.preheader
  %.0116241.unr = phi i32 [ %.0116241.ph, %.lr.ph243.preheader ], [ %152, %.lr.ph243.prol ]
  %.0117240.unr = phi ptr [ %.0117240.ph, %.lr.ph243.preheader ], [ %147, %.lr.ph243.prol ]
  %.0118239.unr = phi ptr [ %.0118239.ph, %.lr.ph243.preheader ], [ %149, %.lr.ph243.prol ]
  %153 = icmp ult i32 %146, 3
  br i1 %153, label %iter.check311, label %.lr.ph243

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %n.vec292 = and i64 %136, 4294967288
  %.cast = trunc nuw i64 %n.vec292 to i32
  %ind.end = sub i32 %135, %.cast
  %ind.end295 = getelementptr i8, ptr %130, i64 %n.vec292
  %ind.end298 = getelementptr i8, ptr %11, i64 %n.vec292
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index301 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next306, %vec.epilog.vector.body ]
  %next.gep302 = getelementptr i8, ptr %130, i64 %index301
  %next.gep303 = getelementptr i8, ptr %11, i64 %index301
  %wide.load304 = load <8 x i8>, ptr %next.gep302, align 1, !tbaa !9, !alias.scope !35
  %wide.load305 = load <8 x i8>, ptr %next.gep303, align 8, !tbaa !9, !alias.scope !38, !noalias !35
  %154 = xor <8 x i8> %wide.load305, %wide.load304
  store <8 x i8> %154, ptr %next.gep303, align 8, !tbaa !9, !alias.scope !38, !noalias !35
  %index.next306 = add nuw i64 %index301, 8
  %155 = icmp eq i64 %index.next306, %n.vec292
  br i1 %155, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !40

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  %cmp.n307 = icmp eq i64 %n.vec292, %136
  br i1 %cmp.n307, label %iter.check311, label %.lr.ph243.preheader

.lr.ph259:                                        ; preds = %.lr.ph259.prol.loopexit, %.lr.ph259
  %.0136258 = phi i32 [ %176, %.lr.ph259 ], [ %.0136258.unr, %.lr.ph259.prol.loopexit ]
  %.0137257 = phi ptr [ %171, %.lr.ph259 ], [ %.0137257.unr, %.lr.ph259.prol.loopexit ]
  %.0138256 = phi ptr [ %173, %.lr.ph259 ], [ %.0138256.unr, %.lr.ph259.prol.loopexit ]
  %156 = getelementptr inbounds i8, ptr %.0137257, i64 1
  %157 = load i8, ptr %.0137257, align 1, !tbaa !9
  %158 = getelementptr inbounds i8, ptr %.0138256, i64 1
  %159 = load i8, ptr %.0138256, align 1, !tbaa !9
  %160 = xor i8 %159, %157
  store i8 %160, ptr %.0138256, align 1, !tbaa !9
  %161 = getelementptr inbounds i8, ptr %.0137257, i64 2
  %162 = load i8, ptr %156, align 1, !tbaa !9
  %163 = getelementptr inbounds i8, ptr %.0138256, i64 2
  %164 = load i8, ptr %158, align 1, !tbaa !9
  %165 = xor i8 %164, %162
  store i8 %165, ptr %158, align 1, !tbaa !9
  %166 = getelementptr inbounds i8, ptr %.0137257, i64 3
  %167 = load i8, ptr %161, align 1, !tbaa !9
  %168 = getelementptr inbounds i8, ptr %.0138256, i64 3
  %169 = load i8, ptr %163, align 1, !tbaa !9
  %170 = xor i8 %169, %167
  store i8 %170, ptr %163, align 1, !tbaa !9
  %171 = getelementptr inbounds i8, ptr %.0137257, i64 4
  %172 = load i8, ptr %166, align 1, !tbaa !9
  %173 = getelementptr inbounds i8, ptr %.0138256, i64 4
  %174 = load i8, ptr %168, align 1, !tbaa !9
  %175 = xor i8 %174, %172
  store i8 %175, ptr %168, align 1, !tbaa !9
  %176 = add nsw i32 %.0136258, -4
  %.not180.3 = icmp eq i32 %176, 0
  br i1 %.not180.3, label %iter.check480, label %.lr.ph259, !llvm.loop !41

iter.check480:                                    ; preds = %.lr.ph259.prol.loopexit, %.lr.ph259, %vec.epilog.middle.block443, %middle.block422
  %177 = add nuw nsw i64 %.0167.lcssa, 4294967295
  %178 = and i64 %177, 4294967295
  %179 = add nuw nsw i64 %178, 1
  %min.iters.check478 = icmp ult i64 %178, 7
  br i1 %min.iters.check478, label %.lr.ph264.preheader, label %vector.memcheck471

vector.memcheck471:                               ; preds = %iter.check480
  %180 = add nuw nsw i64 %.0167.lcssa, 4294967295
  %181 = and i64 %180, 4294967295
  %182 = add nuw nsw i64 %181, 1
  %scevgep472 = getelementptr i8, ptr %16, i64 %182
  %scevgep473 = getelementptr i8, ptr %.0166.lcssa, i64 %182
  %bound0474 = icmp ult ptr %16, %scevgep473
  %bound1475 = icmp ult ptr %.0166.lcssa, %scevgep472
  %found.conflict476 = and i1 %bound0474, %bound1475
  br i1 %found.conflict476, label %.lr.ph264.preheader, label %vector.main.loop.iter.check482

vector.main.loop.iter.check482:                   ; preds = %vector.memcheck471
  %min.iters.check481 = icmp ult i64 %178, 31
  br i1 %min.iters.check481, label %vec.epilog.ph500, label %vector.ph483

vector.ph483:                                     ; preds = %vector.main.loop.iter.check482
  %n.vec485 = and i64 %179, 8589934560
  br label %vector.body486

vector.body486:                                   ; preds = %vector.body486, %vector.ph483
  %index487 = phi i64 [ 0, %vector.ph483 ], [ %index.next496, %vector.body486 ]
  %next.gep488 = getelementptr i8, ptr %.0166.lcssa, i64 %index487
  %next.gep490 = getelementptr i8, ptr %16, i64 %index487
  %183 = getelementptr i8, ptr %next.gep488, i64 16
  %wide.load492 = load <16 x i8>, ptr %next.gep488, align 1, !tbaa !9, !alias.scope !42
  %wide.load493 = load <16 x i8>, ptr %183, align 1, !tbaa !9, !alias.scope !42
  %184 = getelementptr i8, ptr %next.gep490, i64 16
  %wide.load494 = load <16 x i8>, ptr %next.gep490, align 8, !tbaa !9, !alias.scope !45, !noalias !42
  %wide.load495 = load <16 x i8>, ptr %184, align 8, !tbaa !9, !alias.scope !45, !noalias !42
  %185 = xor <16 x i8> %wide.load494, %wide.load492
  %186 = xor <16 x i8> %wide.load495, %wide.load493
  store <16 x i8> %185, ptr %next.gep490, align 8, !tbaa !9, !alias.scope !45, !noalias !42
  store <16 x i8> %186, ptr %184, align 8, !tbaa !9, !alias.scope !45, !noalias !42
  %index.next496 = add nuw i64 %index487, 32
  %187 = icmp eq i64 %index.next496, %n.vec485
  br i1 %187, label %middle.block477, label %vector.body486, !llvm.loop !47

middle.block477:                                  ; preds = %vector.body486
  %cmp.n497 = icmp eq i64 %179, %n.vec485
  br i1 %cmp.n497, label %iter.check533, label %vec.epilog.iter.check501

vec.epilog.iter.check501:                         ; preds = %middle.block477
  %ind.end516 = getelementptr i8, ptr %16, i64 %n.vec485
  %ind.end513 = getelementptr i8, ptr %.0166.lcssa, i64 %n.vec485
  %.cast509 = trunc i64 %n.vec485 to i32
  %ind.end510 = sub i32 %61, %.cast509
  %n.vec.remaining502 = and i64 %179, 24
  %min.epilog.iters.check503 = icmp eq i64 %n.vec.remaining502, 0
  br i1 %min.epilog.iters.check503, label %.lr.ph264.preheader, label %vec.epilog.ph500

vec.epilog.ph500:                                 ; preds = %vector.main.loop.iter.check482, %vec.epilog.iter.check501
  %vec.epilog.resume.val504 = phi i64 [ %n.vec485, %vec.epilog.iter.check501 ], [ 0, %vector.main.loop.iter.check482 ]
  %n.vec506 = and i64 %179, 8589934584
  %.cast507 = trunc i64 %n.vec506 to i32
  %ind.end508 = sub i32 %61, %.cast507
  %ind.end512 = getelementptr i8, ptr %.0166.lcssa, i64 %n.vec506
  %ind.end515 = getelementptr i8, ptr %16, i64 %n.vec506
  br label %vec.epilog.vector.body518

vec.epilog.vector.body518:                        ; preds = %vec.epilog.vector.body518, %vec.epilog.ph500
  %index519 = phi i64 [ %vec.epilog.resume.val504, %vec.epilog.ph500 ], [ %index.next524, %vec.epilog.vector.body518 ]
  %next.gep520 = getelementptr i8, ptr %.0166.lcssa, i64 %index519
  %next.gep521 = getelementptr i8, ptr %16, i64 %index519
  %wide.load522 = load <8 x i8>, ptr %next.gep520, align 1, !tbaa !9, !alias.scope !48
  %wide.load523 = load <8 x i8>, ptr %next.gep521, align 8, !tbaa !9, !alias.scope !51, !noalias !48
  %188 = xor <8 x i8> %wide.load523, %wide.load522
  store <8 x i8> %188, ptr %next.gep521, align 8, !tbaa !9, !alias.scope !51, !noalias !48
  %index.next524 = add nuw i64 %index519, 8
  %189 = icmp eq i64 %index.next524, %n.vec506
  br i1 %189, label %vec.epilog.middle.block498, label %vec.epilog.vector.body518, !llvm.loop !53

vec.epilog.middle.block498:                       ; preds = %vec.epilog.vector.body518
  %cmp.n525 = icmp eq i64 %179, %n.vec506
  br i1 %cmp.n525, label %iter.check533, label %.lr.ph264.preheader

.lr.ph264.preheader:                              ; preds = %vec.epilog.middle.block498, %vector.memcheck471, %iter.check480, %vec.epilog.iter.check501
  %.0133263.ph = phi i32 [ %61, %iter.check480 ], [ %61, %vector.memcheck471 ], [ %ind.end510, %vec.epilog.iter.check501 ], [ %ind.end508, %vec.epilog.middle.block498 ]
  %.0134262.ph = phi ptr [ %.0166.lcssa, %iter.check480 ], [ %.0166.lcssa, %vector.memcheck471 ], [ %ind.end513, %vec.epilog.iter.check501 ], [ %ind.end512, %vec.epilog.middle.block498 ]
  %.0135261.ph = phi ptr [ %16, %iter.check480 ], [ %16, %vector.memcheck471 ], [ %ind.end516, %vec.epilog.iter.check501 ], [ %ind.end515, %vec.epilog.middle.block498 ]
  %190 = add nsw i32 %.0133263.ph, -1
  %xtraiter594 = and i32 %.0133263.ph, 3
  %lcmp.mod595.not = icmp eq i32 %xtraiter594, 0
  br i1 %lcmp.mod595.not, label %.lr.ph264.prol.loopexit, label %.lr.ph264.prol

.lr.ph264.prol:                                   ; preds = %.lr.ph264.preheader, %.lr.ph264.prol
  %.0133263.prol = phi i32 [ %196, %.lr.ph264.prol ], [ %.0133263.ph, %.lr.ph264.preheader ]
  %.0134262.prol = phi ptr [ %191, %.lr.ph264.prol ], [ %.0134262.ph, %.lr.ph264.preheader ]
  %.0135261.prol = phi ptr [ %193, %.lr.ph264.prol ], [ %.0135261.ph, %.lr.ph264.preheader ]
  %prol.iter596 = phi i32 [ %prol.iter596.next, %.lr.ph264.prol ], [ 0, %.lr.ph264.preheader ]
  %191 = getelementptr inbounds i8, ptr %.0134262.prol, i64 1
  %192 = load i8, ptr %.0134262.prol, align 1, !tbaa !9
  %193 = getelementptr inbounds i8, ptr %.0135261.prol, i64 1
  %194 = load i8, ptr %.0135261.prol, align 1, !tbaa !9
  %195 = xor i8 %194, %192
  store i8 %195, ptr %.0135261.prol, align 1, !tbaa !9
  %196 = add nsw i32 %.0133263.prol, -1
  %prol.iter596.next = add i32 %prol.iter596, 1
  %prol.iter596.cmp.not = icmp eq i32 %prol.iter596.next, %xtraiter594
  br i1 %prol.iter596.cmp.not, label %.lr.ph264.prol.loopexit, label %.lr.ph264.prol, !llvm.loop !54

.lr.ph264.prol.loopexit:                          ; preds = %.lr.ph264.prol, %.lr.ph264.preheader
  %.0133263.unr = phi i32 [ %.0133263.ph, %.lr.ph264.preheader ], [ %196, %.lr.ph264.prol ]
  %.0134262.unr = phi ptr [ %.0134262.ph, %.lr.ph264.preheader ], [ %191, %.lr.ph264.prol ]
  %.0135261.unr = phi ptr [ %.0135261.ph, %.lr.ph264.preheader ], [ %193, %.lr.ph264.prol ]
  %197 = icmp ult i32 %190, 3
  br i1 %197, label %iter.check533, label %.lr.ph264

.lr.ph264:                                        ; preds = %.lr.ph264.prol.loopexit, %.lr.ph264
  %.0133263 = phi i32 [ %218, %.lr.ph264 ], [ %.0133263.unr, %.lr.ph264.prol.loopexit ]
  %.0134262 = phi ptr [ %213, %.lr.ph264 ], [ %.0134262.unr, %.lr.ph264.prol.loopexit ]
  %.0135261 = phi ptr [ %215, %.lr.ph264 ], [ %.0135261.unr, %.lr.ph264.prol.loopexit ]
  %198 = getelementptr inbounds i8, ptr %.0134262, i64 1
  %199 = load i8, ptr %.0134262, align 1, !tbaa !9
  %200 = getelementptr inbounds i8, ptr %.0135261, i64 1
  %201 = load i8, ptr %.0135261, align 1, !tbaa !9
  %202 = xor i8 %201, %199
  store i8 %202, ptr %.0135261, align 1, !tbaa !9
  %203 = getelementptr inbounds i8, ptr %.0134262, i64 2
  %204 = load i8, ptr %198, align 1, !tbaa !9
  %205 = getelementptr inbounds i8, ptr %.0135261, i64 2
  %206 = load i8, ptr %200, align 1, !tbaa !9
  %207 = xor i8 %206, %204
  store i8 %207, ptr %200, align 1, !tbaa !9
  %208 = getelementptr inbounds i8, ptr %.0134262, i64 3
  %209 = load i8, ptr %203, align 1, !tbaa !9
  %210 = getelementptr inbounds i8, ptr %.0135261, i64 3
  %211 = load i8, ptr %205, align 1, !tbaa !9
  %212 = xor i8 %211, %209
  store i8 %212, ptr %205, align 1, !tbaa !9
  %213 = getelementptr inbounds i8, ptr %.0134262, i64 4
  %214 = load i8, ptr %208, align 1, !tbaa !9
  %215 = getelementptr inbounds i8, ptr %.0135261, i64 4
  %216 = load i8, ptr %210, align 1, !tbaa !9
  %217 = xor i8 %216, %214
  store i8 %217, ptr %210, align 1, !tbaa !9
  %218 = add nsw i32 %.0133263, -4
  %.not181.3 = icmp eq i32 %218, 0
  br i1 %.not181.3, label %iter.check533, label %.lr.ph264, !llvm.loop !55

iter.check533:                                    ; preds = %.lr.ph264.prol.loopexit, %.lr.ph264, %vec.epilog.middle.block498, %middle.block477
  %219 = add nuw nsw i64 %.0167.lcssa, 4294967295
  %220 = and i64 %219, 4294967295
  %221 = add nuw nsw i64 %220, 1
  %min.iters.check531 = icmp ult i64 %220, 7
  br i1 %min.iters.check531, label %.lr.ph270.preheader, label %vector.memcheck526

vector.memcheck526:                               ; preds = %iter.check533
  %222 = sub i64 %.0165.lcssa358, %17
  %diff.check527 = icmp ult i64 %222, 32
  %223 = sub i64 %.0165.lcssa358, %13
  %diff.check528 = icmp ult i64 %223, 32
  %conflict.rdx529 = or i1 %diff.check527, %diff.check528
  br i1 %conflict.rdx529, label %.lr.ph270.preheader, label %vector.main.loop.iter.check535

vector.main.loop.iter.check535:                   ; preds = %vector.memcheck526
  %min.iters.check534 = icmp ult i64 %220, 31
  br i1 %min.iters.check534, label %vec.epilog.ph555, label %vector.ph536

vector.ph536:                                     ; preds = %vector.main.loop.iter.check535
  %n.vec538 = and i64 %221, 8589934560
  br label %vector.body539

vector.body539:                                   ; preds = %vector.body539, %vector.ph536
  %index540 = phi i64 [ 0, %vector.ph536 ], [ %index.next551, %vector.body539 ]
  %next.gep541 = getelementptr i8, ptr %12, i64 %index540
  %next.gep543 = getelementptr i8, ptr %16, i64 %index540
  %next.gep545 = getelementptr i8, ptr %.0165.lcssa, i64 %index540
  %224 = getelementptr i8, ptr %next.gep543, i64 16
  %wide.load547 = load <16 x i8>, ptr %next.gep543, align 8, !tbaa !9
  %wide.load548 = load <16 x i8>, ptr %224, align 8, !tbaa !9
  %225 = getelementptr i8, ptr %next.gep541, i64 16
  %wide.load549 = load <16 x i8>, ptr %next.gep541, align 8, !tbaa !9
  %wide.load550 = load <16 x i8>, ptr %225, align 8, !tbaa !9
  %226 = xor <16 x i8> %wide.load549, %wide.load547
  %227 = xor <16 x i8> %wide.load550, %wide.load548
  %228 = getelementptr i8, ptr %next.gep545, i64 16
  store <16 x i8> %226, ptr %next.gep545, align 1, !tbaa !9
  store <16 x i8> %227, ptr %228, align 1, !tbaa !9
  %index.next551 = add nuw i64 %index540, 32
  %229 = icmp eq i64 %index.next551, %n.vec538
  br i1 %229, label %middle.block530, label %vector.body539, !llvm.loop !56

middle.block530:                                  ; preds = %vector.body539
  %cmp.n552 = icmp eq i64 %221, %n.vec538
  br i1 %cmp.n552, label %.loopexit, label %vec.epilog.iter.check556

vec.epilog.iter.check556:                         ; preds = %middle.block530
  %ind.end574 = getelementptr i8, ptr %.0165.lcssa, i64 %n.vec538
  %ind.end571 = getelementptr i8, ptr %16, i64 %n.vec538
  %ind.end568 = getelementptr i8, ptr %12, i64 %n.vec538
  %.cast564 = trunc i64 %n.vec538 to i32
  %ind.end565 = sub i32 %61, %.cast564
  %n.vec.remaining557 = and i64 %221, 24
  %min.epilog.iters.check558 = icmp eq i64 %n.vec.remaining557, 0
  br i1 %min.epilog.iters.check558, label %.lr.ph270.preheader, label %vec.epilog.ph555

vec.epilog.ph555:                                 ; preds = %vector.main.loop.iter.check535, %vec.epilog.iter.check556
  %vec.epilog.resume.val559 = phi i64 [ %n.vec538, %vec.epilog.iter.check556 ], [ 0, %vector.main.loop.iter.check535 ]
  %n.vec561 = and i64 %221, 8589934584
  %.cast562 = trunc i64 %n.vec561 to i32
  %ind.end563 = sub i32 %61, %.cast562
  %ind.end567 = getelementptr i8, ptr %12, i64 %n.vec561
  %ind.end570 = getelementptr i8, ptr %16, i64 %n.vec561
  %ind.end573 = getelementptr i8, ptr %.0165.lcssa, i64 %n.vec561
  br label %vec.epilog.vector.body576

vec.epilog.vector.body576:                        ; preds = %vec.epilog.vector.body576, %vec.epilog.ph555
  %index577 = phi i64 [ %vec.epilog.resume.val559, %vec.epilog.ph555 ], [ %index.next583, %vec.epilog.vector.body576 ]
  %next.gep578 = getelementptr i8, ptr %12, i64 %index577
  %next.gep579 = getelementptr i8, ptr %16, i64 %index577
  %next.gep580 = getelementptr i8, ptr %.0165.lcssa, i64 %index577
  %wide.load581 = load <8 x i8>, ptr %next.gep579, align 8, !tbaa !9
  %wide.load582 = load <8 x i8>, ptr %next.gep578, align 8, !tbaa !9
  %230 = xor <8 x i8> %wide.load582, %wide.load581
  store <8 x i8> %230, ptr %next.gep580, align 1, !tbaa !9
  %index.next583 = add nuw i64 %index577, 8
  %231 = icmp eq i64 %index.next583, %n.vec561
  br i1 %231, label %vec.epilog.middle.block553, label %vec.epilog.vector.body576, !llvm.loop !57

vec.epilog.middle.block553:                       ; preds = %vec.epilog.vector.body576
  %cmp.n584 = icmp eq i64 %221, %n.vec561
  br i1 %cmp.n584, label %.loopexit, label %.lr.ph270.preheader

.lr.ph270.preheader:                              ; preds = %vec.epilog.middle.block553, %vector.memcheck526, %iter.check533, %vec.epilog.iter.check556
  %.0129269.ph = phi i32 [ %61, %iter.check533 ], [ %61, %vector.memcheck526 ], [ %ind.end565, %vec.epilog.iter.check556 ], [ %ind.end563, %vec.epilog.middle.block553 ]
  %.0130268.ph = phi ptr [ %12, %iter.check533 ], [ %12, %vector.memcheck526 ], [ %ind.end568, %vec.epilog.iter.check556 ], [ %ind.end567, %vec.epilog.middle.block553 ]
  %.0131267.ph = phi ptr [ %16, %iter.check533 ], [ %16, %vector.memcheck526 ], [ %ind.end571, %vec.epilog.iter.check556 ], [ %ind.end570, %vec.epilog.middle.block553 ]
  %.0132266.ph = phi ptr [ %.0165.lcssa, %iter.check533 ], [ %.0165.lcssa, %vector.memcheck526 ], [ %ind.end574, %vec.epilog.iter.check556 ], [ %ind.end573, %vec.epilog.middle.block553 ]
  %232 = add nsw i32 %.0129269.ph, -1
  %xtraiter597 = and i32 %.0129269.ph, 3
  %lcmp.mod598.not = icmp eq i32 %xtraiter597, 0
  br i1 %lcmp.mod598.not, label %.lr.ph270.prol.loopexit, label %.lr.ph270.prol

.lr.ph270.prol:                                   ; preds = %.lr.ph270.preheader, %.lr.ph270.prol
  %.0129269.prol = phi i32 [ %239, %.lr.ph270.prol ], [ %.0129269.ph, %.lr.ph270.preheader ]
  %.0130268.prol = phi ptr [ %235, %.lr.ph270.prol ], [ %.0130268.ph, %.lr.ph270.preheader ]
  %.0131267.prol = phi ptr [ %233, %.lr.ph270.prol ], [ %.0131267.ph, %.lr.ph270.preheader ]
  %.0132266.prol = phi ptr [ %238, %.lr.ph270.prol ], [ %.0132266.ph, %.lr.ph270.preheader ]
  %prol.iter599 = phi i32 [ %prol.iter599.next, %.lr.ph270.prol ], [ 0, %.lr.ph270.preheader ]
  %233 = getelementptr inbounds i8, ptr %.0131267.prol, i64 1
  %234 = load i8, ptr %.0131267.prol, align 1, !tbaa !9
  %235 = getelementptr inbounds i8, ptr %.0130268.prol, i64 1
  %236 = load i8, ptr %.0130268.prol, align 1, !tbaa !9
  %237 = xor i8 %236, %234
  %238 = getelementptr inbounds i8, ptr %.0132266.prol, i64 1
  store i8 %237, ptr %.0132266.prol, align 1, !tbaa !9
  %239 = add nsw i32 %.0129269.prol, -1
  %prol.iter599.next = add i32 %prol.iter599, 1
  %prol.iter599.cmp.not = icmp eq i32 %prol.iter599.next, %xtraiter597
  br i1 %prol.iter599.cmp.not, label %.lr.ph270.prol.loopexit, label %.lr.ph270.prol, !llvm.loop !58

.lr.ph270.prol.loopexit:                          ; preds = %.lr.ph270.prol, %.lr.ph270.preheader
  %.0129269.unr = phi i32 [ %.0129269.ph, %.lr.ph270.preheader ], [ %239, %.lr.ph270.prol ]
  %.0130268.unr = phi ptr [ %.0130268.ph, %.lr.ph270.preheader ], [ %235, %.lr.ph270.prol ]
  %.0131267.unr = phi ptr [ %.0131267.ph, %.lr.ph270.preheader ], [ %233, %.lr.ph270.prol ]
  %.0132266.unr = phi ptr [ %.0132266.ph, %.lr.ph270.preheader ], [ %238, %.lr.ph270.prol ]
  %240 = icmp ult i32 %232, 3
  br i1 %240, label %.loopexit, label %.lr.ph270

.lr.ph270:                                        ; preds = %.lr.ph270.prol.loopexit, %.lr.ph270
  %.0129269 = phi i32 [ %265, %.lr.ph270 ], [ %.0129269.unr, %.lr.ph270.prol.loopexit ]
  %.0130268 = phi ptr [ %261, %.lr.ph270 ], [ %.0130268.unr, %.lr.ph270.prol.loopexit ]
  %.0131267 = phi ptr [ %259, %.lr.ph270 ], [ %.0131267.unr, %.lr.ph270.prol.loopexit ]
  %.0132266 = phi ptr [ %264, %.lr.ph270 ], [ %.0132266.unr, %.lr.ph270.prol.loopexit ]
  %241 = getelementptr inbounds i8, ptr %.0131267, i64 1
  %242 = load i8, ptr %.0131267, align 1, !tbaa !9
  %243 = getelementptr inbounds i8, ptr %.0130268, i64 1
  %244 = load i8, ptr %.0130268, align 1, !tbaa !9
  %245 = xor i8 %244, %242
  %246 = getelementptr inbounds i8, ptr %.0132266, i64 1
  store i8 %245, ptr %.0132266, align 1, !tbaa !9
  %247 = getelementptr inbounds i8, ptr %.0131267, i64 2
  %248 = load i8, ptr %241, align 1, !tbaa !9
  %249 = getelementptr inbounds i8, ptr %.0130268, i64 2
  %250 = load i8, ptr %243, align 1, !tbaa !9
  %251 = xor i8 %250, %248
  %252 = getelementptr inbounds i8, ptr %.0132266, i64 2
  store i8 %251, ptr %246, align 1, !tbaa !9
  %253 = getelementptr inbounds i8, ptr %.0131267, i64 3
  %254 = load i8, ptr %247, align 1, !tbaa !9
  %255 = getelementptr inbounds i8, ptr %.0130268, i64 3
  %256 = load i8, ptr %249, align 1, !tbaa !9
  %257 = xor i8 %256, %254
  %258 = getelementptr inbounds i8, ptr %.0132266, i64 3
  store i8 %257, ptr %252, align 1, !tbaa !9
  %259 = getelementptr inbounds i8, ptr %.0131267, i64 4
  %260 = load i8, ptr %253, align 1, !tbaa !9
  %261 = getelementptr inbounds i8, ptr %.0130268, i64 4
  %262 = load i8, ptr %255, align 1, !tbaa !9
  %263 = xor i8 %262, %260
  %264 = getelementptr inbounds i8, ptr %.0132266, i64 4
  store i8 %263, ptr %258, align 1, !tbaa !9
  %265 = add nsw i32 %.0129269, -4
  %.not182.3 = icmp eq i32 %265, 0
  br i1 %.not182.3, label %.loopexit, label %.lr.ph270, !llvm.loop !59

.lr.ph243:                                        ; preds = %.lr.ph243.prol.loopexit, %.lr.ph243
  %.0116241 = phi i32 [ %286, %.lr.ph243 ], [ %.0116241.unr, %.lr.ph243.prol.loopexit ]
  %.0117240 = phi ptr [ %281, %.lr.ph243 ], [ %.0117240.unr, %.lr.ph243.prol.loopexit ]
  %.0118239 = phi ptr [ %283, %.lr.ph243 ], [ %.0118239.unr, %.lr.ph243.prol.loopexit ]
  %266 = getelementptr inbounds i8, ptr %.0117240, i64 1
  %267 = load i8, ptr %.0117240, align 1, !tbaa !9
  %268 = getelementptr inbounds i8, ptr %.0118239, i64 1
  %269 = load i8, ptr %.0118239, align 1, !tbaa !9
  %270 = xor i8 %269, %267
  store i8 %270, ptr %.0118239, align 1, !tbaa !9
  %271 = getelementptr inbounds i8, ptr %.0117240, i64 2
  %272 = load i8, ptr %266, align 1, !tbaa !9
  %273 = getelementptr inbounds i8, ptr %.0118239, i64 2
  %274 = load i8, ptr %268, align 1, !tbaa !9
  %275 = xor i8 %274, %272
  store i8 %275, ptr %268, align 1, !tbaa !9
  %276 = getelementptr inbounds i8, ptr %.0117240, i64 3
  %277 = load i8, ptr %271, align 1, !tbaa !9
  %278 = getelementptr inbounds i8, ptr %.0118239, i64 3
  %279 = load i8, ptr %273, align 1, !tbaa !9
  %280 = xor i8 %279, %277
  store i8 %280, ptr %273, align 1, !tbaa !9
  %281 = getelementptr inbounds i8, ptr %.0117240, i64 4
  %282 = load i8, ptr %276, align 1, !tbaa !9
  %283 = getelementptr inbounds i8, ptr %.0118239, i64 4
  %284 = load i8, ptr %278, align 1, !tbaa !9
  %285 = xor i8 %284, %282
  store i8 %285, ptr %278, align 1, !tbaa !9
  %286 = add nsw i32 %.0116241, -4
  %.not177.3 = icmp eq i32 %286, 0
  br i1 %.not177.3, label %iter.check311, label %.lr.ph243, !llvm.loop !60

iter.check311:                                    ; preds = %.lr.ph243.prol.loopexit, %.lr.ph243, %vec.epilog.middle.block, %middle.block
  %287 = add nuw nsw i64 %.0167.lcssa, 4294967287
  %288 = and i64 %287, 4294967295
  %289 = add nuw nsw i64 %288, 1
  %min.iters.check309 = icmp ult i64 %288, 7
  br i1 %min.iters.check309, label %.lr.ph248.preheader, label %vector.main.loop.iter.check313

vector.main.loop.iter.check313:                   ; preds = %iter.check311
  %min.iters.check312 = icmp ult i64 %288, 31
  br i1 %min.iters.check312, label %vec.epilog.ph331, label %vector.ph314

vector.ph314:                                     ; preds = %vector.main.loop.iter.check313
  %n.vec316 = and i64 %289, 8589934560
  br label %vector.body317

vector.body317:                                   ; preds = %vector.body317, %vector.ph314
  %index318 = phi i64 [ 0, %vector.ph314 ], [ %index.next327, %vector.body317 ]
  %next.gep319 = getelementptr i8, ptr %16, i64 %index318
  %next.gep321 = getelementptr i8, ptr %14, i64 %index318
  %290 = getelementptr i8, ptr %next.gep319, i64 16
  %wide.load323 = load <16 x i8>, ptr %next.gep319, align 8, !tbaa !9
  %wide.load324 = load <16 x i8>, ptr %290, align 8, !tbaa !9
  %291 = getelementptr i8, ptr %next.gep321, i64 16
  %wide.load325 = load <16 x i8>, ptr %next.gep321, align 8, !tbaa !9
  %wide.load326 = load <16 x i8>, ptr %291, align 8, !tbaa !9
  %292 = xor <16 x i8> %wide.load325, %wide.load323
  %293 = xor <16 x i8> %wide.load326, %wide.load324
  store <16 x i8> %292, ptr %next.gep321, align 8, !tbaa !9
  store <16 x i8> %293, ptr %291, align 8, !tbaa !9
  %index.next327 = add nuw i64 %index318, 32
  %294 = icmp eq i64 %index.next327, %n.vec316
  br i1 %294, label %middle.block308, label %vector.body317, !llvm.loop !61

middle.block308:                                  ; preds = %vector.body317
  %cmp.n328 = icmp eq i64 %289, %n.vec316
  br i1 %cmp.n328, label %iter.check364, label %vec.epilog.iter.check332

vec.epilog.iter.check332:                         ; preds = %middle.block308
  %ind.end347 = getelementptr i8, ptr %14, i64 %n.vec316
  %ind.end344 = getelementptr i8, ptr %16, i64 %n.vec316
  %.cast340 = trunc i64 %n.vec316 to i32
  %ind.end341 = sub i32 %135, %.cast340
  %n.vec.remaining333 = and i64 %289, 24
  %min.epilog.iters.check334 = icmp eq i64 %n.vec.remaining333, 0
  br i1 %min.epilog.iters.check334, label %.lr.ph248.preheader, label %vec.epilog.ph331

vec.epilog.ph331:                                 ; preds = %vector.main.loop.iter.check313, %vec.epilog.iter.check332
  %vec.epilog.resume.val335 = phi i64 [ %n.vec316, %vec.epilog.iter.check332 ], [ 0, %vector.main.loop.iter.check313 ]
  %n.vec337 = and i64 %289, 8589934584
  %.cast338 = trunc i64 %n.vec337 to i32
  %ind.end339 = sub i32 %135, %.cast338
  %ind.end343 = getelementptr i8, ptr %16, i64 %n.vec337
  %ind.end346 = getelementptr i8, ptr %14, i64 %n.vec337
  br label %vec.epilog.vector.body349

vec.epilog.vector.body349:                        ; preds = %vec.epilog.vector.body349, %vec.epilog.ph331
  %index350 = phi i64 [ %vec.epilog.resume.val335, %vec.epilog.ph331 ], [ %index.next355, %vec.epilog.vector.body349 ]
  %next.gep351 = getelementptr i8, ptr %16, i64 %index350
  %next.gep352 = getelementptr i8, ptr %14, i64 %index350
  %wide.load353 = load <8 x i8>, ptr %next.gep351, align 8, !tbaa !9
  %wide.load354 = load <8 x i8>, ptr %next.gep352, align 8, !tbaa !9
  %295 = xor <8 x i8> %wide.load354, %wide.load353
  store <8 x i8> %295, ptr %next.gep352, align 8, !tbaa !9
  %index.next355 = add nuw i64 %index350, 8
  %296 = icmp eq i64 %index.next355, %n.vec337
  br i1 %296, label %vec.epilog.middle.block329, label %vec.epilog.vector.body349, !llvm.loop !62

vec.epilog.middle.block329:                       ; preds = %vec.epilog.vector.body349
  %cmp.n356 = icmp eq i64 %289, %n.vec337
  br i1 %cmp.n356, label %iter.check364, label %.lr.ph248.preheader

.lr.ph248.preheader:                              ; preds = %vec.epilog.middle.block329, %iter.check311, %vec.epilog.iter.check332
  %.0113247.ph = phi i32 [ %135, %iter.check311 ], [ %ind.end341, %vec.epilog.iter.check332 ], [ %ind.end339, %vec.epilog.middle.block329 ]
  %.0114246.ph = phi ptr [ %16, %iter.check311 ], [ %ind.end344, %vec.epilog.iter.check332 ], [ %ind.end343, %vec.epilog.middle.block329 ]
  %.0115245.ph = phi ptr [ %14, %iter.check311 ], [ %ind.end347, %vec.epilog.iter.check332 ], [ %ind.end346, %vec.epilog.middle.block329 ]
  br label %.lr.ph248

.lr.ph248:                                        ; preds = %.lr.ph248.preheader, %.lr.ph248
  %.0113247 = phi i32 [ %302, %.lr.ph248 ], [ %.0113247.ph, %.lr.ph248.preheader ]
  %.0114246 = phi ptr [ %297, %.lr.ph248 ], [ %.0114246.ph, %.lr.ph248.preheader ]
  %.0115245 = phi ptr [ %299, %.lr.ph248 ], [ %.0115245.ph, %.lr.ph248.preheader ]
  %297 = getelementptr inbounds i8, ptr %.0114246, i64 1
  %298 = load i8, ptr %.0114246, align 1, !tbaa !9
  %299 = getelementptr inbounds i8, ptr %.0115245, i64 1
  %300 = load i8, ptr %.0115245, align 1, !tbaa !9
  %301 = xor i8 %300, %298
  store i8 %301, ptr %.0115245, align 1, !tbaa !9
  %302 = add nsw i32 %.0113247, -1
  %.not178 = icmp eq i32 %302, 0
  br i1 %.not178, label %iter.check364, label %.lr.ph248, !llvm.loop !63

iter.check364:                                    ; preds = %.lr.ph248, %vec.epilog.middle.block329, %middle.block308
  %303 = add nuw nsw i64 %.0167.lcssa, 4294967287
  %304 = and i64 %303, 4294967295
  %305 = add nuw nsw i64 %304, 1
  %min.iters.check362 = icmp ult i64 %304, 7
  br i1 %min.iters.check362, label %.lr.ph254.preheader, label %vector.memcheck357

vector.memcheck357:                               ; preds = %iter.check364
  %306 = add i64 %.0165.lcssa358, 8
  %307 = sub i64 %306, %15
  %diff.check = icmp ult i64 %307, 32
  %308 = sub i64 %.0165.lcssa358, %.0166.lcssa359
  %diff.check360 = icmp ult i64 %308, 32
  %conflict.rdx = or i1 %diff.check, %diff.check360
  br i1 %conflict.rdx, label %.lr.ph254.preheader, label %vector.main.loop.iter.check366

vector.main.loop.iter.check366:                   ; preds = %vector.memcheck357
  %min.iters.check365 = icmp ult i64 %304, 31
  br i1 %min.iters.check365, label %vec.epilog.ph386, label %vector.ph367

vector.ph367:                                     ; preds = %vector.main.loop.iter.check366
  %n.vec369 = and i64 %305, 8589934560
  br label %vector.body370

vector.body370:                                   ; preds = %vector.body370, %vector.ph367
  %index371 = phi i64 [ 0, %vector.ph367 ], [ %index.next382, %vector.body370 ]
  %next.gep372 = getelementptr i8, ptr %130, i64 %index371
  %next.gep374 = getelementptr i8, ptr %14, i64 %index371
  %next.gep376 = getelementptr i8, ptr %134, i64 %index371
  %309 = getelementptr i8, ptr %next.gep374, i64 16
  %wide.load378 = load <16 x i8>, ptr %next.gep374, align 8, !tbaa !9
  %wide.load379 = load <16 x i8>, ptr %309, align 8, !tbaa !9
  %310 = getelementptr i8, ptr %next.gep372, i64 16
  %wide.load380 = load <16 x i8>, ptr %next.gep372, align 1, !tbaa !9
  %wide.load381 = load <16 x i8>, ptr %310, align 1, !tbaa !9
  %311 = xor <16 x i8> %wide.load380, %wide.load378
  %312 = xor <16 x i8> %wide.load381, %wide.load379
  %313 = getelementptr i8, ptr %next.gep376, i64 16
  store <16 x i8> %311, ptr %next.gep376, align 1, !tbaa !9
  store <16 x i8> %312, ptr %313, align 1, !tbaa !9
  %index.next382 = add nuw i64 %index371, 32
  %314 = icmp eq i64 %index.next382, %n.vec369
  br i1 %314, label %middle.block361, label %vector.body370, !llvm.loop !64

middle.block361:                                  ; preds = %vector.body370
  %cmp.n383 = icmp eq i64 %305, %n.vec369
  br i1 %cmp.n383, label %.loopexit, label %vec.epilog.iter.check387

vec.epilog.iter.check387:                         ; preds = %middle.block361
  %ind.end405 = getelementptr i8, ptr %134, i64 %n.vec369
  %ind.end402 = getelementptr i8, ptr %14, i64 %n.vec369
  %ind.end399 = getelementptr i8, ptr %130, i64 %n.vec369
  %.cast395 = trunc i64 %n.vec369 to i32
  %ind.end396 = sub i32 %135, %.cast395
  %n.vec.remaining388 = and i64 %305, 24
  %min.epilog.iters.check389 = icmp eq i64 %n.vec.remaining388, 0
  br i1 %min.epilog.iters.check389, label %.lr.ph254.preheader, label %vec.epilog.ph386

vec.epilog.ph386:                                 ; preds = %vector.main.loop.iter.check366, %vec.epilog.iter.check387
  %vec.epilog.resume.val390 = phi i64 [ %n.vec369, %vec.epilog.iter.check387 ], [ 0, %vector.main.loop.iter.check366 ]
  %n.vec392 = and i64 %305, 8589934584
  %.cast393 = trunc i64 %n.vec392 to i32
  %ind.end394 = sub i32 %135, %.cast393
  %ind.end398 = getelementptr i8, ptr %130, i64 %n.vec392
  %ind.end401 = getelementptr i8, ptr %14, i64 %n.vec392
  %ind.end404 = getelementptr i8, ptr %134, i64 %n.vec392
  br label %vec.epilog.vector.body407

vec.epilog.vector.body407:                        ; preds = %vec.epilog.vector.body407, %vec.epilog.ph386
  %index408 = phi i64 [ %vec.epilog.resume.val390, %vec.epilog.ph386 ], [ %index.next414, %vec.epilog.vector.body407 ]
  %next.gep409 = getelementptr i8, ptr %130, i64 %index408
  %next.gep410 = getelementptr i8, ptr %14, i64 %index408
  %next.gep411 = getelementptr i8, ptr %134, i64 %index408
  %wide.load412 = load <8 x i8>, ptr %next.gep410, align 8, !tbaa !9
  %wide.load413 = load <8 x i8>, ptr %next.gep409, align 1, !tbaa !9
  %315 = xor <8 x i8> %wide.load413, %wide.load412
  store <8 x i8> %315, ptr %next.gep411, align 1, !tbaa !9
  %index.next414 = add nuw i64 %index408, 8
  %316 = icmp eq i64 %index.next414, %n.vec392
  br i1 %316, label %vec.epilog.middle.block384, label %vec.epilog.vector.body407, !llvm.loop !65

vec.epilog.middle.block384:                       ; preds = %vec.epilog.vector.body407
  %cmp.n415 = icmp eq i64 %305, %n.vec392
  br i1 %cmp.n415, label %.loopexit, label %.lr.ph254.preheader

.lr.ph254.preheader:                              ; preds = %vec.epilog.middle.block384, %vector.memcheck357, %iter.check364, %vec.epilog.iter.check387
  %.0253.ph = phi i32 [ %135, %iter.check364 ], [ %135, %vector.memcheck357 ], [ %ind.end396, %vec.epilog.iter.check387 ], [ %ind.end394, %vec.epilog.middle.block384 ]
  %.0110252.ph = phi ptr [ %130, %iter.check364 ], [ %130, %vector.memcheck357 ], [ %ind.end399, %vec.epilog.iter.check387 ], [ %ind.end398, %vec.epilog.middle.block384 ]
  %.0111251.ph = phi ptr [ %14, %iter.check364 ], [ %14, %vector.memcheck357 ], [ %ind.end402, %vec.epilog.iter.check387 ], [ %ind.end401, %vec.epilog.middle.block384 ]
  %.0112250.ph = phi ptr [ %134, %iter.check364 ], [ %134, %vector.memcheck357 ], [ %ind.end405, %vec.epilog.iter.check387 ], [ %ind.end404, %vec.epilog.middle.block384 ]
  %317 = add nsw i32 %.0253.ph, -1
  %xtraiter588 = and i32 %.0253.ph, 3
  %lcmp.mod589.not = icmp eq i32 %xtraiter588, 0
  br i1 %lcmp.mod589.not, label %.lr.ph254.prol.loopexit, label %.lr.ph254.prol

.lr.ph254.prol:                                   ; preds = %.lr.ph254.preheader, %.lr.ph254.prol
  %.0253.prol = phi i32 [ %324, %.lr.ph254.prol ], [ %.0253.ph, %.lr.ph254.preheader ]
  %.0110252.prol = phi ptr [ %320, %.lr.ph254.prol ], [ %.0110252.ph, %.lr.ph254.preheader ]
  %.0111251.prol = phi ptr [ %318, %.lr.ph254.prol ], [ %.0111251.ph, %.lr.ph254.preheader ]
  %.0112250.prol = phi ptr [ %323, %.lr.ph254.prol ], [ %.0112250.ph, %.lr.ph254.preheader ]
  %prol.iter590 = phi i32 [ %prol.iter590.next, %.lr.ph254.prol ], [ 0, %.lr.ph254.preheader ]
  %318 = getelementptr inbounds i8, ptr %.0111251.prol, i64 1
  %319 = load i8, ptr %.0111251.prol, align 1, !tbaa !9
  %320 = getelementptr inbounds i8, ptr %.0110252.prol, i64 1
  %321 = load i8, ptr %.0110252.prol, align 1, !tbaa !9
  %322 = xor i8 %321, %319
  %323 = getelementptr inbounds i8, ptr %.0112250.prol, i64 1
  store i8 %322, ptr %.0112250.prol, align 1, !tbaa !9
  %324 = add nsw i32 %.0253.prol, -1
  %prol.iter590.next = add i32 %prol.iter590, 1
  %prol.iter590.cmp.not = icmp eq i32 %prol.iter590.next, %xtraiter588
  br i1 %prol.iter590.cmp.not, label %.lr.ph254.prol.loopexit, label %.lr.ph254.prol, !llvm.loop !66

.lr.ph254.prol.loopexit:                          ; preds = %.lr.ph254.prol, %.lr.ph254.preheader
  %.0253.unr = phi i32 [ %.0253.ph, %.lr.ph254.preheader ], [ %324, %.lr.ph254.prol ]
  %.0110252.unr = phi ptr [ %.0110252.ph, %.lr.ph254.preheader ], [ %320, %.lr.ph254.prol ]
  %.0111251.unr = phi ptr [ %.0111251.ph, %.lr.ph254.preheader ], [ %318, %.lr.ph254.prol ]
  %.0112250.unr = phi ptr [ %.0112250.ph, %.lr.ph254.preheader ], [ %323, %.lr.ph254.prol ]
  %325 = icmp ult i32 %317, 3
  br i1 %325, label %.loopexit, label %.lr.ph254

.lr.ph254:                                        ; preds = %.lr.ph254.prol.loopexit, %.lr.ph254
  %.0253 = phi i32 [ %350, %.lr.ph254 ], [ %.0253.unr, %.lr.ph254.prol.loopexit ]
  %.0110252 = phi ptr [ %346, %.lr.ph254 ], [ %.0110252.unr, %.lr.ph254.prol.loopexit ]
  %.0111251 = phi ptr [ %344, %.lr.ph254 ], [ %.0111251.unr, %.lr.ph254.prol.loopexit ]
  %.0112250 = phi ptr [ %349, %.lr.ph254 ], [ %.0112250.unr, %.lr.ph254.prol.loopexit ]
  %326 = getelementptr inbounds i8, ptr %.0111251, i64 1
  %327 = load i8, ptr %.0111251, align 1, !tbaa !9
  %328 = getelementptr inbounds i8, ptr %.0110252, i64 1
  %329 = load i8, ptr %.0110252, align 1, !tbaa !9
  %330 = xor i8 %329, %327
  %331 = getelementptr inbounds i8, ptr %.0112250, i64 1
  store i8 %330, ptr %.0112250, align 1, !tbaa !9
  %332 = getelementptr inbounds i8, ptr %.0111251, i64 2
  %333 = load i8, ptr %326, align 1, !tbaa !9
  %334 = getelementptr inbounds i8, ptr %.0110252, i64 2
  %335 = load i8, ptr %328, align 1, !tbaa !9
  %336 = xor i8 %335, %333
  %337 = getelementptr inbounds i8, ptr %.0112250, i64 2
  store i8 %336, ptr %331, align 1, !tbaa !9
  %338 = getelementptr inbounds i8, ptr %.0111251, i64 3
  %339 = load i8, ptr %332, align 1, !tbaa !9
  %340 = getelementptr inbounds i8, ptr %.0110252, i64 3
  %341 = load i8, ptr %334, align 1, !tbaa !9
  %342 = xor i8 %341, %339
  %343 = getelementptr inbounds i8, ptr %.0112250, i64 3
  store i8 %342, ptr %337, align 1, !tbaa !9
  %344 = getelementptr inbounds i8, ptr %.0111251, i64 4
  %345 = load i8, ptr %338, align 1, !tbaa !9
  %346 = getelementptr inbounds i8, ptr %.0110252, i64 4
  %347 = load i8, ptr %340, align 1, !tbaa !9
  %348 = xor i8 %347, %345
  %349 = getelementptr inbounds i8, ptr %.0112250, i64 4
  store i8 %348, ptr %343, align 1, !tbaa !9
  %350 = add nsw i32 %.0253, -4
  %.not179.3 = icmp eq i32 %350, 0
  br i1 %.not179.3, label %.loopexit, label %.lr.ph254, !llvm.loop !67

.loopexit:                                        ; preds = %.lr.ph254.prol.loopexit, %.lr.ph254, %.lr.ph270.prol.loopexit, %.lr.ph270, %middle.block361, %vec.epilog.middle.block384, %middle.block530, %vec.epilog.middle.block553, %.preheader195.preheader
  %.1 = phi ptr [ %134, %.preheader195.preheader ], [ %.0165.lcssa, %vec.epilog.middle.block553 ], [ %.0165.lcssa, %middle.block530 ], [ %134, %vec.epilog.middle.block384 ], [ %134, %middle.block361 ], [ %.0165.lcssa, %.lr.ph270 ], [ %.0165.lcssa, %.lr.ph270.prol.loopexit ], [ %134, %.lr.ph254 ], [ %134, %.lr.ph254.prol.loopexit ]
  %.0164 = phi i32 [ 0, %.preheader195.preheader ], [ %61, %vec.epilog.middle.block553 ], [ %61, %middle.block530 ], [ %135, %vec.epilog.middle.block384 ], [ %135, %middle.block361 ], [ %61, %.lr.ph270 ], [ %61, %.lr.ph270.prol.loopexit ], [ %135, %.lr.ph254 ], [ %135, %.lr.ph254.prol.loopexit ]
  %351 = zext nneg i32 %.0164 to i64
  %352 = getelementptr inbounds i8, ptr %.1, i64 %351
  br label %353

353:                                              ; preds = %.loopexit, %21
  %.2 = phi ptr [ %352, %.loopexit ], [ %0, %21 ]
  %354 = getelementptr inbounds i8, ptr %11, i64 8
  call void @lotus_or_locus_gen_tag(ptr noundef nonnull %10, ptr noundef %.2, ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull %354)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  ret i32 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: nounwind uwtable
declare hidden void @lotus_or_locus_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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) #2

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

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

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

declare void @gift64t_encrypt(ptr noundef, ptr noundef, ptr noundef, i16 noundef zeroext) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare hidden void @lotus_or_locus_gen_tag(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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: write) }
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 = { "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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13}
!13 = distinct !{!13, !14}
!14 = distinct !{!14, !"LVerDomain"}
!15 = !{!16}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !11, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.unroll.disable"}
!22 = !{!23}
!23 = distinct !{!23, !24}
!24 = distinct !{!24, !"LVerDomain"}
!25 = !{!26}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !11, !18, !19}
!28 = !{!29}
!29 = distinct !{!29, !30}
!30 = distinct !{!30, !"LVerDomain"}
!31 = !{!32}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !11, !18, !19}
!34 = distinct !{!34, !21}
!35 = !{!36}
!36 = distinct !{!36, !37}
!37 = distinct !{!37, !"LVerDomain"}
!38 = !{!39}
!39 = distinct !{!39, !37}
!40 = distinct !{!40, !11, !18, !19}
!41 = distinct !{!41, !11, !18}
!42 = !{!43}
!43 = distinct !{!43, !44}
!44 = distinct !{!44, !"LVerDomain"}
!45 = !{!46}
!46 = distinct !{!46, !44}
!47 = distinct !{!47, !11, !18, !19}
!48 = !{!49}
!49 = distinct !{!49, !50}
!50 = distinct !{!50, !"LVerDomain"}
!51 = !{!52}
!52 = distinct !{!52, !50}
!53 = distinct !{!53, !11, !18, !19}
!54 = distinct !{!54, !21}
!55 = distinct !{!55, !11, !18}
!56 = distinct !{!56, !11, !18, !19}
!57 = distinct !{!57, !11, !18, !19}
!58 = distinct !{!58, !21}
!59 = distinct !{!59, !11, !18}
!60 = distinct !{!60, !11, !18}
!61 = distinct !{!61, !11, !18, !19}
!62 = distinct !{!62, !11, !18, !19}
!63 = distinct !{!63, !11, !19, !18}
!64 = distinct !{!64, !11, !18, !19}
!65 = distinct !{!65, !11, !18, !19}
!66 = distinct !{!66, !21}
!67 = distinct !{!67, !11, !18}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass