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

; 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"

; Function Attrs: nounwind uwtable
define dso_local i32 @spoc_128_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 [32 x i8], align 16
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = 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 32, ptr %19) #3
  %35 = load ptr, ptr %16, align 8, !tbaa !5
  %36 = load i64, ptr %13, align 8, !tbaa !9
  %37 = add i64 %36, 16
  %38 = load ptr, ptr %11, align 8, !tbaa !5
  store i64 %37, ptr %38, align 8, !tbaa !9
  %39 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  %40 = load ptr, ptr %18, align 8, !tbaa !5
  %41 = load ptr, ptr %17, align 8, !tbaa !5
  %42 = load ptr, ptr %14, align 8, !tbaa !5
  %43 = load i64, ptr %15, align 8, !tbaa !9
  call void @spoc_128_init(ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, i64 noundef %43)
  %44 = load i64, ptr %13, align 8, !tbaa !9
  %45 = icmp ne i64 %44, 0
  br i1 %45, label %46, label %185

46:                                               ; preds = %9
  br label %47

47:                                               ; preds = %99, %46
  %48 = load i64, ptr %13, align 8, !tbaa !9
  %49 = icmp uge i64 %48, 16
  br i1 %49, label %50, label %111

50:                                               ; preds = %47
  %51 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @sliscp_light256_permute_spoc(ptr noundef %51)
  br label %52

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %53 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  store ptr %54, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %55, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 16, ptr %22, align 4, !tbaa !11
  br label %56

56:                                               ; preds = %59, %52
  %57 = load i32, ptr %22, align 4, !tbaa !11
  %58 = icmp ugt i32 %57, 0
  br i1 %58, label %59, label %72

59:                                               ; preds = %56
  %60 = load ptr, ptr %21, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i32 1
  store ptr %61, ptr %21, align 8, !tbaa !5
  %62 = load i8, ptr %60, align 1, !tbaa !13
  %63 = zext i8 %62 to i32
  %64 = load ptr, ptr %20, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i32 1
  store ptr %65, ptr %20, align 8, !tbaa !5
  %66 = load i8, ptr %64, align 1, !tbaa !13
  %67 = zext i8 %66 to i32
  %68 = xor i32 %67, %63
  %69 = trunc i32 %68 to i8
  store i8 %69, ptr %64, align 1, !tbaa !13
  %70 = load i32, ptr %22, align 4, !tbaa !11
  %71 = add i32 %70, -1
  store i32 %71, ptr %22, align 4, !tbaa !11
  br label %56, !llvm.loop !14

72:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %76, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %77, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  %78 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  store ptr %78, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  store i32 16, ptr %26, align 4, !tbaa !11
  br label %79

79:                                               ; preds = %82, %75
  %80 = load i32, ptr %26, align 4, !tbaa !11
  %81 = icmp ugt i32 %80, 0
  br i1 %81, label %82, label %97

82:                                               ; preds = %79
  %83 = load ptr, ptr %24, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i32 1
  store ptr %84, ptr %24, align 8, !tbaa !5
  %85 = load i8, ptr %83, align 1, !tbaa !13
  %86 = zext i8 %85 to i32
  %87 = load ptr, ptr %25, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i32 1
  store ptr %88, ptr %25, align 8, !tbaa !5
  %89 = load i8, ptr %87, align 1, !tbaa !13
  %90 = zext i8 %89 to i32
  %91 = xor i32 %86, %90
  %92 = trunc i32 %91 to i8
  %93 = load ptr, ptr %23, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i32 1
  store ptr %94, ptr %23, align 8, !tbaa !5
  store i8 %92, ptr %93, align 1, !tbaa !13
  %95 = load i32, ptr %26, align 4, !tbaa !11
  %96 = add i32 %95, -1
  store i32 %96, ptr %26, align 4, !tbaa !11
  br label %79, !llvm.loop !16

97:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  %100 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  %101 = load i8, ptr %100, align 16, !tbaa !13
  %102 = zext i8 %101 to i32
  %103 = xor i32 %102, 64
  %104 = trunc i32 %103 to i8
  store i8 %104, ptr %100, align 16, !tbaa !13
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 16
  store ptr %106, ptr %10, align 8, !tbaa !5
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %107, i64 16
  store ptr %108, ptr %12, align 8, !tbaa !5
  %109 = load i64, ptr %13, align 8, !tbaa !9
  %110 = sub i64 %109, 16
  store i64 %110, ptr %13, align 8, !tbaa !9
  br label %47, !llvm.loop !17

111:                                              ; preds = %47
  %112 = load i64, ptr %13, align 8, !tbaa !9
  %113 = icmp ne i64 %112, 0
  br i1 %113, label %114, label %184

114:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  %115 = load i64, ptr %13, align 8, !tbaa !9
  %116 = trunc i64 %115 to i32
  store i32 %116, ptr %27, align 4, !tbaa !11
  %117 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  call void @sliscp_light256_permute_spoc(ptr noundef %117)
  br label %118

118:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %119 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  %120 = getelementptr inbounds i8, ptr %119, i64 16
  store ptr %120, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %121, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #3
  %122 = load i32, ptr %27, align 4, !tbaa !11
  store i32 %122, ptr %30, align 4, !tbaa !11
  br label %123

123:                                              ; preds = %126, %118
  %124 = load i32, ptr %30, align 4, !tbaa !11
  %125 = icmp ugt i32 %124, 0
  br i1 %125, label %126, label %139

126:                                              ; preds = %123
  %127 = load ptr, ptr %29, align 8, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %127, i32 1
  store ptr %128, ptr %29, align 8, !tbaa !5
  %129 = load i8, ptr %127, align 1, !tbaa !13
  %130 = zext i8 %129 to i32
  %131 = load ptr, ptr %28, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i32 1
  store ptr %132, ptr %28, align 8, !tbaa !5
  %133 = load i8, ptr %131, align 1, !tbaa !13
  %134 = zext i8 %133 to i32
  %135 = xor i32 %134, %130
  %136 = trunc i32 %135 to i8
  store i8 %136, ptr %131, align 1, !tbaa !13
  %137 = load i32, ptr %30, align 4, !tbaa !11
  %138 = add i32 %137, -1
  store i32 %138, ptr %30, align 4, !tbaa !11
  br label %123, !llvm.loop !18

139:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  br label %140

140:                                              ; preds = %139
  br label %141

141:                                              ; preds = %140
  br label %142

142:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %143, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %144, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  %145 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  store ptr %145, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #3
  %146 = load i32, ptr %27, align 4, !tbaa !11
  store i32 %146, ptr %34, align 4, !tbaa !11
  br label %147

147:                                              ; preds = %150, %142
  %148 = load i32, ptr %34, align 4, !tbaa !11
  %149 = icmp ugt i32 %148, 0
  br i1 %149, label %150, label %165

150:                                              ; preds = %147
  %151 = load ptr, ptr %32, align 8, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %151, i32 1
  store ptr %152, ptr %32, align 8, !tbaa !5
  %153 = load i8, ptr %151, align 1, !tbaa !13
  %154 = zext i8 %153 to i32
  %155 = load ptr, ptr %33, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %155, i32 1
  store ptr %156, ptr %33, align 8, !tbaa !5
  %157 = load i8, ptr %155, align 1, !tbaa !13
  %158 = zext i8 %157 to i32
  %159 = xor i32 %154, %158
  %160 = trunc i32 %159 to i8
  %161 = load ptr, ptr %31, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i32 1
  store ptr %162, ptr %31, align 8, !tbaa !5
  store i8 %160, ptr %161, align 1, !tbaa !13
  %163 = load i32, ptr %34, align 4, !tbaa !11
  %164 = add i32 %163, -1
  store i32 %164, ptr %34, align 4, !tbaa !11
  br label %147, !llvm.loop !19

165:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %27, align 4, !tbaa !11
  %169 = add i32 %168, 16
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 %170
  %172 = load i8, ptr %171, align 1, !tbaa !13
  %173 = zext i8 %172 to i32
  %174 = xor i32 %173, 128
  %175 = trunc i32 %174 to i8
  store i8 %175, ptr %171, align 1, !tbaa !13
  %176 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  %177 = load i8, ptr %176, align 16, !tbaa !13
  %178 = zext i8 %177 to i32
  %179 = xor i32 %178, 80
  %180 = trunc i32 %179 to i8
  store i8 %180, ptr %176, align 16, !tbaa !13
  %181 = load i64, ptr %13, align 8, !tbaa !9
  %182 = load ptr, ptr %10, align 8, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %182, i64 %181
  store ptr %183, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  br label %184

184:                                              ; preds = %167, %111
  br label %185

185:                                              ; preds = %184, %9
  %186 = getelementptr inbounds [32 x i8], ptr %19, i64 0, i64 0
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  call void @spoc_128_finalize(ptr noundef %186, ptr noundef %187)
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #3
  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 @spoc_128_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #0

declare void @sliscp_light256_permute_spoc(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden void @spoc_128_finalize(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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!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}


; 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"

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @spoc_128_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 [32 x i8], align 16
  %11 = ptrtoint ptr %10 to i64
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #3
  %12 = add i64 %3, 16
  store i64 %12, ptr %1, align 8, !tbaa !5
  call void @spoc_128_init(ptr noundef nonnull %10, ptr noundef %8, ptr noundef %7, ptr noundef %4, i64 noundef %5)
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %215, label %.preheader66

.preheader66:                                     ; preds = %9
  %13 = icmp ugt i64 %3, 15
  br i1 %13, label %.lr.ph, label %iter.check

.lr.ph:                                           ; preds = %.preheader66
  %14 = getelementptr inbounds i8, ptr %10, i64 16
  %15 = getelementptr inbounds i8, ptr %10, i64 1
  %16 = getelementptr inbounds i8, ptr %10, i64 2
  %17 = getelementptr inbounds i8, ptr %10, i64 3
  %18 = getelementptr inbounds i8, ptr %10, i64 4
  %19 = getelementptr inbounds i8, ptr %10, i64 5
  %20 = getelementptr inbounds i8, ptr %10, i64 6
  %21 = getelementptr inbounds i8, ptr %10, i64 7
  %22 = getelementptr inbounds i8, ptr %10, i64 8
  %23 = getelementptr inbounds i8, ptr %10, i64 9
  %24 = getelementptr inbounds i8, ptr %10, i64 10
  %25 = getelementptr inbounds i8, ptr %10, i64 11
  %26 = getelementptr inbounds i8, ptr %10, i64 12
  %27 = getelementptr inbounds i8, ptr %10, i64 13
  %28 = getelementptr inbounds i8, ptr %10, i64 14
  %29 = getelementptr inbounds i8, ptr %10, i64 15
  br label %.preheader65.preheader

.preheader65.preheader:                           ; preds = %.lr.ph, %.preheader65.preheader
  %.04976 = phi ptr [ %0, %.lr.ph ], [ %112, %.preheader65.preheader ]
  %.05775 = phi ptr [ %2, %.lr.ph ], [ %113, %.preheader65.preheader ]
  %.05874 = phi i64 [ %3, %.lr.ph ], [ %114, %.preheader65.preheader ]
  call void @sliscp_light256_permute_spoc(ptr noundef nonnull %10) #3
  %30 = getelementptr inbounds i8, ptr %.05775, i64 1
  %31 = getelementptr inbounds i8, ptr %.05775, i64 2
  %32 = getelementptr inbounds i8, ptr %.05775, i64 3
  %33 = getelementptr inbounds i8, ptr %.05775, i64 4
  %34 = getelementptr inbounds i8, ptr %.05775, i64 5
  %35 = getelementptr inbounds i8, ptr %.05775, i64 6
  %36 = getelementptr inbounds i8, ptr %.05775, i64 7
  %37 = getelementptr inbounds i8, ptr %.05775, i64 8
  %38 = getelementptr inbounds i8, ptr %.05775, i64 9
  %39 = getelementptr inbounds i8, ptr %.05775, i64 10
  %40 = getelementptr inbounds i8, ptr %.05775, i64 11
  %41 = getelementptr inbounds i8, ptr %.05775, i64 12
  %42 = getelementptr inbounds i8, ptr %.05775, i64 13
  %43 = getelementptr inbounds i8, ptr %.05775, i64 14
  %44 = getelementptr inbounds i8, ptr %.05775, i64 15
  %45 = load <16 x i8>, ptr %.05775, align 1, !tbaa !9
  %46 = load <16 x i8>, ptr %14, align 16, !tbaa !9
  %47 = xor <16 x i8> %46, %45
  store <16 x i8> %47, ptr %14, align 16, !tbaa !9
  %48 = load i8, ptr %.05775, align 1, !tbaa !9
  %49 = load i8, ptr %10, align 16, !tbaa !9
  %50 = xor i8 %49, %48
  %51 = getelementptr inbounds i8, ptr %.04976, i64 1
  store i8 %50, ptr %.04976, align 1, !tbaa !9
  %52 = load i8, ptr %30, align 1, !tbaa !9
  %53 = load i8, ptr %15, align 1, !tbaa !9
  %54 = xor i8 %53, %52
  %55 = getelementptr inbounds i8, ptr %.04976, i64 2
  store i8 %54, ptr %51, align 1, !tbaa !9
  %56 = load i8, ptr %31, align 1, !tbaa !9
  %57 = load i8, ptr %16, align 2, !tbaa !9
  %58 = xor i8 %57, %56
  %59 = getelementptr inbounds i8, ptr %.04976, i64 3
  store i8 %58, ptr %55, align 1, !tbaa !9
  %60 = load i8, ptr %32, align 1, !tbaa !9
  %61 = load i8, ptr %17, align 1, !tbaa !9
  %62 = xor i8 %61, %60
  %63 = getelementptr inbounds i8, ptr %.04976, i64 4
  store i8 %62, ptr %59, align 1, !tbaa !9
  %64 = load i8, ptr %33, align 1, !tbaa !9
  %65 = load i8, ptr %18, align 4, !tbaa !9
  %66 = xor i8 %65, %64
  %67 = getelementptr inbounds i8, ptr %.04976, i64 5
  store i8 %66, ptr %63, align 1, !tbaa !9
  %68 = load i8, ptr %34, align 1, !tbaa !9
  %69 = load i8, ptr %19, align 1, !tbaa !9
  %70 = xor i8 %69, %68
  %71 = getelementptr inbounds i8, ptr %.04976, i64 6
  store i8 %70, ptr %67, align 1, !tbaa !9
  %72 = load i8, ptr %35, align 1, !tbaa !9
  %73 = load i8, ptr %20, align 2, !tbaa !9
  %74 = xor i8 %73, %72
  %75 = getelementptr inbounds i8, ptr %.04976, i64 7
  store i8 %74, ptr %71, align 1, !tbaa !9
  %76 = load i8, ptr %36, align 1, !tbaa !9
  %77 = load i8, ptr %21, align 1, !tbaa !9
  %78 = xor i8 %77, %76
  %79 = getelementptr inbounds i8, ptr %.04976, i64 8
  store i8 %78, ptr %75, align 1, !tbaa !9
  %80 = load i8, ptr %37, align 1, !tbaa !9
  %81 = load i8, ptr %22, align 8, !tbaa !9
  %82 = xor i8 %81, %80
  %83 = getelementptr inbounds i8, ptr %.04976, i64 9
  store i8 %82, ptr %79, align 1, !tbaa !9
  %84 = load i8, ptr %38, align 1, !tbaa !9
  %85 = load i8, ptr %23, align 1, !tbaa !9
  %86 = xor i8 %85, %84
  %87 = getelementptr inbounds i8, ptr %.04976, i64 10
  store i8 %86, ptr %83, align 1, !tbaa !9
  %88 = load i8, ptr %39, align 1, !tbaa !9
  %89 = load i8, ptr %24, align 2, !tbaa !9
  %90 = xor i8 %89, %88
  %91 = getelementptr inbounds i8, ptr %.04976, i64 11
  store i8 %90, ptr %87, align 1, !tbaa !9
  %92 = load i8, ptr %40, align 1, !tbaa !9
  %93 = load i8, ptr %25, align 1, !tbaa !9
  %94 = xor i8 %93, %92
  %95 = getelementptr inbounds i8, ptr %.04976, i64 12
  store i8 %94, ptr %91, align 1, !tbaa !9
  %96 = load i8, ptr %41, align 1, !tbaa !9
  %97 = load i8, ptr %26, align 4, !tbaa !9
  %98 = xor i8 %97, %96
  %99 = getelementptr inbounds i8, ptr %.04976, i64 13
  store i8 %98, ptr %95, align 1, !tbaa !9
  %100 = load i8, ptr %42, align 1, !tbaa !9
  %101 = load i8, ptr %27, align 1, !tbaa !9
  %102 = xor i8 %101, %100
  %103 = getelementptr inbounds i8, ptr %.04976, i64 14
  store i8 %102, ptr %99, align 1, !tbaa !9
  %104 = load i8, ptr %43, align 1, !tbaa !9
  %105 = load i8, ptr %28, align 2, !tbaa !9
  %106 = xor i8 %105, %104
  %107 = getelementptr inbounds i8, ptr %.04976, i64 15
  store i8 %106, ptr %103, align 1, !tbaa !9
  %108 = load i8, ptr %44, align 1, !tbaa !9
  %109 = load i8, ptr %29, align 1, !tbaa !9
  %110 = xor i8 %109, %108
  store i8 %110, ptr %107, align 1, !tbaa !9
  %111 = xor i8 %49, 64
  store i8 %111, ptr %10, align 16, !tbaa !9
  %112 = getelementptr inbounds i8, ptr %.04976, i64 16
  %113 = getelementptr inbounds i8, ptr %.05775, i64 16
  %114 = add i64 %.05874, -16
  %115 = icmp ugt i64 %114, 15
  br i1 %115, label %.preheader65.preheader, label %._crit_edge, !llvm.loop !10

._crit_edge:                                      ; preds = %.preheader65.preheader
  %.not60 = icmp eq i64 %114, 0
  br i1 %.not60, label %215, label %iter.check

iter.check:                                       ; preds = %.preheader66, %._crit_edge
  %.049.lcssa94 = phi ptr [ %112, %._crit_edge ], [ %0, %.preheader66 ]
  %.057.lcssa93 = phi ptr [ %113, %._crit_edge ], [ %2, %.preheader66 ]
  %.058.lcssa92 = phi i64 [ %114, %._crit_edge ], [ %3, %.preheader66 ]
  %.049.lcssa94125 = ptrtoint ptr %.049.lcssa94 to i64
  %.057.lcssa93126 = ptrtoint ptr %.057.lcssa93 to i64
  %116 = trunc nuw i64 %.058.lcssa92 to i32
  call void @sliscp_light256_permute_spoc(ptr noundef nonnull %10) #3
  %117 = getelementptr inbounds i8, ptr %10, i64 16
  %118 = add nuw nsw i64 %.058.lcssa92, 4294967295
  %119 = and i64 %118, 4294967295
  %120 = add nuw nsw i64 %119, 1
  %min.iters.check = icmp ult i64 %119, 7
  br i1 %min.iters.check, label %vec.epilog.scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %iter.check
  %121 = add nuw nsw i64 %.058.lcssa92, 4294967295
  %122 = and i64 %121, 4294967295
  %123 = getelementptr i8, ptr %10, i64 %122
  %scevgep = getelementptr i8, ptr %123, i64 17
  %124 = add nuw nsw i64 %122, 1
  %scevgep99 = getelementptr i8, ptr %.057.lcssa93, i64 %124
  %bound0 = icmp ult ptr %117, %scevgep99
  %bound1 = icmp ult ptr %.057.lcssa93, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %vec.epilog.scalar.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %vector.memcheck
  %min.iters.check100 = icmp ult i64 %119, 31
  br i1 %min.iters.check100, label %vec.epilog.ph, label %vector.ph

vector.ph:                                        ; preds = %vector.main.loop.iter.check
  %n.vec = and i64 %120, 8589934560
  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 %.057.lcssa93, i64 %index
  %next.gep102 = getelementptr i8, ptr %117, i64 %index
  %125 = getelementptr i8, ptr %next.gep, i64 16
  %wide.load = load <16 x i8>, ptr %next.gep, align 1, !tbaa !9, !alias.scope !12
  %wide.load104 = load <16 x i8>, ptr %125, align 1, !tbaa !9, !alias.scope !12
  %126 = getelementptr i8, ptr %next.gep102, i64 16
  %wide.load105 = load <16 x i8>, ptr %next.gep102, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  %wide.load106 = load <16 x i8>, ptr %126, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  %127 = xor <16 x i8> %wide.load105, %wide.load
  %128 = xor <16 x i8> %wide.load106, %wide.load104
  store <16 x i8> %127, ptr %next.gep102, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  store <16 x i8> %128, ptr %126, align 16, !tbaa !9, !alias.scope !15, !noalias !12
  %index.next = add nuw i64 %index, 32
  %129 = icmp eq i64 %index.next, %n.vec
  br i1 %129, label %middle.block, label %vector.body, !llvm.loop !17

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

vec.epilog.iter.check:                            ; preds = %middle.block
  %ind.end115 = getelementptr i8, ptr %117, i64 %n.vec
  %ind.end112 = getelementptr i8, ptr %.057.lcssa93, i64 %n.vec
  %.cast109 = trunc i64 %n.vec to i32
  %ind.end110 = sub i32 %116, %.cast109
  %n.vec.remaining = and i64 %120, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check, label %vec.epilog.scalar.ph.preheader, label %vec.epilog.ph

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.vec108 = and i64 %120, 8589934584
  %.cast = trunc i64 %n.vec108 to i32
  %ind.end = sub i32 %116, %.cast
  %ind.end111 = getelementptr i8, ptr %.057.lcssa93, i64 %n.vec108
  %ind.end114 = getelementptr i8, ptr %117, i64 %n.vec108
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index117 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next122, %vec.epilog.vector.body ]
  %next.gep118 = getelementptr i8, ptr %.057.lcssa93, i64 %index117
  %next.gep119 = getelementptr i8, ptr %117, i64 %index117
  %wide.load120 = load <8 x i8>, ptr %next.gep118, align 1, !tbaa !9, !alias.scope !20
  %wide.load121 = load <8 x i8>, ptr %next.gep119, align 8, !tbaa !9, !alias.scope !23, !noalias !20
  %130 = xor <8 x i8> %wide.load121, %wide.load120
  store <8 x i8> %130, ptr %next.gep119, align 8, !tbaa !9, !alias.scope !23, !noalias !20
  %index.next122 = add nuw i64 %index117, 8
  %131 = icmp eq i64 %index.next122, %n.vec108
  br i1 %131, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !25

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  %cmp.n123 = icmp eq i64 %120, %n.vec108
  br i1 %cmp.n123, label %iter.check131, label %vec.epilog.scalar.ph.preheader

vec.epilog.scalar.ph.preheader:                   ; preds = %vec.epilog.middle.block, %vector.memcheck, %iter.check, %vec.epilog.iter.check
  %.04681.ph = phi i32 [ %116, %iter.check ], [ %116, %vector.memcheck ], [ %ind.end110, %vec.epilog.iter.check ], [ %ind.end, %vec.epilog.middle.block ]
  %.04780.ph = phi ptr [ %.057.lcssa93, %iter.check ], [ %.057.lcssa93, %vector.memcheck ], [ %ind.end112, %vec.epilog.iter.check ], [ %ind.end111, %vec.epilog.middle.block ]
  %.04879.ph = phi ptr [ %117, %iter.check ], [ %117, %vector.memcheck ], [ %ind.end115, %vec.epilog.iter.check ], [ %ind.end114, %vec.epilog.middle.block ]
  %132 = add nsw i32 %.04681.ph, -1
  %xtraiter = and i32 %.04681.ph, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %vec.epilog.scalar.ph.prol.loopexit, label %vec.epilog.scalar.ph.prol

vec.epilog.scalar.ph.prol:                        ; preds = %vec.epilog.scalar.ph.preheader, %vec.epilog.scalar.ph.prol
  %.04681.prol = phi i32 [ %138, %vec.epilog.scalar.ph.prol ], [ %.04681.ph, %vec.epilog.scalar.ph.preheader ]
  %.04780.prol = phi ptr [ %133, %vec.epilog.scalar.ph.prol ], [ %.04780.ph, %vec.epilog.scalar.ph.preheader ]
  %.04879.prol = phi ptr [ %135, %vec.epilog.scalar.ph.prol ], [ %.04879.ph, %vec.epilog.scalar.ph.preheader ]
  %prol.iter = phi i32 [ %prol.iter.next, %vec.epilog.scalar.ph.prol ], [ 0, %vec.epilog.scalar.ph.preheader ]
  %133 = getelementptr inbounds i8, ptr %.04780.prol, i64 1
  %134 = load i8, ptr %.04780.prol, align 1, !tbaa !9
  %135 = getelementptr inbounds i8, ptr %.04879.prol, i64 1
  %136 = load i8, ptr %.04879.prol, align 1, !tbaa !9
  %137 = xor i8 %136, %134
  store i8 %137, ptr %.04879.prol, align 1, !tbaa !9
  %138 = add nsw i32 %.04681.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 %vec.epilog.scalar.ph.prol.loopexit, label %vec.epilog.scalar.ph.prol, !llvm.loop !26

vec.epilog.scalar.ph.prol.loopexit:               ; preds = %vec.epilog.scalar.ph.prol, %vec.epilog.scalar.ph.preheader
  %.04681.unr = phi i32 [ %.04681.ph, %vec.epilog.scalar.ph.preheader ], [ %138, %vec.epilog.scalar.ph.prol ]
  %.04780.unr = phi ptr [ %.04780.ph, %vec.epilog.scalar.ph.preheader ], [ %133, %vec.epilog.scalar.ph.prol ]
  %.04879.unr = phi ptr [ %.04879.ph, %vec.epilog.scalar.ph.preheader ], [ %135, %vec.epilog.scalar.ph.prol ]
  %139 = icmp ult i32 %132, 3
  br i1 %139, label %iter.check131, label %vec.epilog.scalar.ph

vec.epilog.scalar.ph:                             ; preds = %vec.epilog.scalar.ph.prol.loopexit, %vec.epilog.scalar.ph
  %.04681 = phi i32 [ %160, %vec.epilog.scalar.ph ], [ %.04681.unr, %vec.epilog.scalar.ph.prol.loopexit ]
  %.04780 = phi ptr [ %155, %vec.epilog.scalar.ph ], [ %.04780.unr, %vec.epilog.scalar.ph.prol.loopexit ]
  %.04879 = phi ptr [ %157, %vec.epilog.scalar.ph ], [ %.04879.unr, %vec.epilog.scalar.ph.prol.loopexit ]
  %140 = getelementptr inbounds i8, ptr %.04780, i64 1
  %141 = load i8, ptr %.04780, align 1, !tbaa !9
  %142 = getelementptr inbounds i8, ptr %.04879, i64 1
  %143 = load i8, ptr %.04879, align 1, !tbaa !9
  %144 = xor i8 %143, %141
  store i8 %144, ptr %.04879, align 1, !tbaa !9
  %145 = getelementptr inbounds i8, ptr %.04780, i64 2
  %146 = load i8, ptr %140, align 1, !tbaa !9
  %147 = getelementptr inbounds i8, ptr %.04879, i64 2
  %148 = load i8, ptr %142, align 1, !tbaa !9
  %149 = xor i8 %148, %146
  store i8 %149, ptr %142, align 1, !tbaa !9
  %150 = getelementptr inbounds i8, ptr %.04780, i64 3
  %151 = load i8, ptr %145, align 1, !tbaa !9
  %152 = getelementptr inbounds i8, ptr %.04879, i64 3
  %153 = load i8, ptr %147, align 1, !tbaa !9
  %154 = xor i8 %153, %151
  store i8 %154, ptr %147, align 1, !tbaa !9
  %155 = getelementptr inbounds i8, ptr %.04780, i64 4
  %156 = load i8, ptr %150, align 1, !tbaa !9
  %157 = getelementptr inbounds i8, ptr %.04879, i64 4
  %158 = load i8, ptr %152, align 1, !tbaa !9
  %159 = xor i8 %158, %156
  store i8 %159, ptr %152, align 1, !tbaa !9
  %160 = add nsw i32 %.04681, -4
  %.not61.3 = icmp eq i32 %160, 0
  br i1 %.not61.3, label %iter.check131, label %vec.epilog.scalar.ph, !llvm.loop !28

iter.check131:                                    ; preds = %vec.epilog.scalar.ph.prol.loopexit, %vec.epilog.scalar.ph, %vec.epilog.middle.block, %middle.block
  %161 = add nuw nsw i64 %.058.lcssa92, 4294967295
  %162 = and i64 %161, 4294967295
  %163 = add nuw nsw i64 %162, 1
  %min.iters.check129 = icmp ult i64 %162, 7
  br i1 %min.iters.check129, label %.preheader.preheader, label %vector.memcheck124

vector.memcheck124:                               ; preds = %iter.check131
  %164 = sub i64 %.049.lcssa94125, %.057.lcssa93126
  %diff.check = icmp ult i64 %164, 32
  %165 = sub i64 %.049.lcssa94125, %11
  %diff.check127 = icmp ult i64 %165, 32
  %conflict.rdx = or i1 %diff.check, %diff.check127
  br i1 %conflict.rdx, label %.preheader.preheader, label %vector.main.loop.iter.check133

vector.main.loop.iter.check133:                   ; preds = %vector.memcheck124
  %min.iters.check132 = icmp ult i64 %162, 31
  br i1 %min.iters.check132, label %vec.epilog.ph153, label %vector.ph134

vector.ph134:                                     ; preds = %vector.main.loop.iter.check133
  %n.vec136 = and i64 %163, 8589934560
  br label %vector.body137

vector.body137:                                   ; preds = %vector.body137, %vector.ph134
  %index138 = phi i64 [ 0, %vector.ph134 ], [ %index.next149, %vector.body137 ]
  %next.gep139 = getelementptr i8, ptr %10, i64 %index138
  %next.gep141 = getelementptr i8, ptr %.057.lcssa93, i64 %index138
  %next.gep143 = getelementptr i8, ptr %.049.lcssa94, i64 %index138
  %166 = getelementptr i8, ptr %next.gep141, i64 16
  %wide.load145 = load <16 x i8>, ptr %next.gep141, align 1, !tbaa !9
  %wide.load146 = load <16 x i8>, ptr %166, align 1, !tbaa !9
  %167 = getelementptr i8, ptr %next.gep139, i64 16
  %wide.load147 = load <16 x i8>, ptr %next.gep139, align 16, !tbaa !9
  %wide.load148 = load <16 x i8>, ptr %167, align 16, !tbaa !9
  %168 = xor <16 x i8> %wide.load147, %wide.load145
  %169 = xor <16 x i8> %wide.load148, %wide.load146
  %170 = getelementptr i8, ptr %next.gep143, i64 16
  store <16 x i8> %168, ptr %next.gep143, align 1, !tbaa !9
  store <16 x i8> %169, ptr %170, align 1, !tbaa !9
  %index.next149 = add nuw i64 %index138, 32
  %171 = icmp eq i64 %index.next149, %n.vec136
  br i1 %171, label %middle.block128, label %vector.body137, !llvm.loop !29

middle.block128:                                  ; preds = %vector.body137
  %cmp.n150 = icmp eq i64 %163, %n.vec136
  br i1 %cmp.n150, label %.loopexit, label %vec.epilog.iter.check154

vec.epilog.iter.check154:                         ; preds = %middle.block128
  %ind.end172 = getelementptr i8, ptr %.049.lcssa94, i64 %n.vec136
  %ind.end169 = getelementptr i8, ptr %.057.lcssa93, i64 %n.vec136
  %ind.end166 = getelementptr i8, ptr %10, i64 %n.vec136
  %.cast162 = trunc i64 %n.vec136 to i32
  %ind.end163 = sub i32 %116, %.cast162
  %n.vec.remaining155 = and i64 %163, 24
  %min.epilog.iters.check156 = icmp eq i64 %n.vec.remaining155, 0
  br i1 %min.epilog.iters.check156, label %.preheader.preheader, label %vec.epilog.ph153

vec.epilog.ph153:                                 ; preds = %vector.main.loop.iter.check133, %vec.epilog.iter.check154
  %vec.epilog.resume.val157 = phi i64 [ %n.vec136, %vec.epilog.iter.check154 ], [ 0, %vector.main.loop.iter.check133 ]
  %n.vec159 = and i64 %163, 8589934584
  %.cast160 = trunc i64 %n.vec159 to i32
  %ind.end161 = sub i32 %116, %.cast160
  %ind.end165 = getelementptr i8, ptr %10, i64 %n.vec159
  %ind.end168 = getelementptr i8, ptr %.057.lcssa93, i64 %n.vec159
  %ind.end171 = getelementptr i8, ptr %.049.lcssa94, i64 %n.vec159
  br label %vec.epilog.vector.body174

vec.epilog.vector.body174:                        ; preds = %vec.epilog.vector.body174, %vec.epilog.ph153
  %index175 = phi i64 [ %vec.epilog.resume.val157, %vec.epilog.ph153 ], [ %index.next181, %vec.epilog.vector.body174 ]
  %next.gep176 = getelementptr i8, ptr %10, i64 %index175
  %next.gep177 = getelementptr i8, ptr %.057.lcssa93, i64 %index175
  %next.gep178 = getelementptr i8, ptr %.049.lcssa94, i64 %index175
  %wide.load179 = load <8 x i8>, ptr %next.gep177, align 1, !tbaa !9
  %wide.load180 = load <8 x i8>, ptr %next.gep176, align 8, !tbaa !9
  %172 = xor <8 x i8> %wide.load180, %wide.load179
  store <8 x i8> %172, ptr %next.gep178, align 1, !tbaa !9
  %index.next181 = add nuw i64 %index175, 8
  %173 = icmp eq i64 %index.next181, %n.vec159
  br i1 %173, label %vec.epilog.middle.block151, label %vec.epilog.vector.body174, !llvm.loop !30

vec.epilog.middle.block151:                       ; preds = %vec.epilog.vector.body174
  %cmp.n182 = icmp eq i64 %163, %n.vec159
  br i1 %cmp.n182, label %.loopexit, label %.preheader.preheader

.preheader.preheader:                             ; preds = %vec.epilog.middle.block151, %vector.memcheck124, %iter.check131, %vec.epilog.iter.check154
  %.085.ph = phi i32 [ %116, %iter.check131 ], [ %116, %vector.memcheck124 ], [ %ind.end163, %vec.epilog.iter.check154 ], [ %ind.end161, %vec.epilog.middle.block151 ]
  %.04384.ph = phi ptr [ %10, %iter.check131 ], [ %10, %vector.memcheck124 ], [ %ind.end166, %vec.epilog.iter.check154 ], [ %ind.end165, %vec.epilog.middle.block151 ]
  %.04483.ph = phi ptr [ %.057.lcssa93, %iter.check131 ], [ %.057.lcssa93, %vector.memcheck124 ], [ %ind.end169, %vec.epilog.iter.check154 ], [ %ind.end168, %vec.epilog.middle.block151 ]
  %.04582.ph = phi ptr [ %.049.lcssa94, %iter.check131 ], [ %.049.lcssa94, %vector.memcheck124 ], [ %ind.end172, %vec.epilog.iter.check154 ], [ %ind.end171, %vec.epilog.middle.block151 ]
  %174 = add nsw i32 %.085.ph, -1
  %xtraiter185 = and i32 %.085.ph, 3
  %lcmp.mod186.not = icmp eq i32 %xtraiter185, 0
  br i1 %lcmp.mod186.not, label %.preheader.prol.loopexit, label %.preheader.prol

.preheader.prol:                                  ; preds = %.preheader.preheader, %.preheader.prol
  %.085.prol = phi i32 [ %181, %.preheader.prol ], [ %.085.ph, %.preheader.preheader ]
  %.04384.prol = phi ptr [ %177, %.preheader.prol ], [ %.04384.ph, %.preheader.preheader ]
  %.04483.prol = phi ptr [ %175, %.preheader.prol ], [ %.04483.ph, %.preheader.preheader ]
  %.04582.prol = phi ptr [ %180, %.preheader.prol ], [ %.04582.ph, %.preheader.preheader ]
  %prol.iter187 = phi i32 [ %prol.iter187.next, %.preheader.prol ], [ 0, %.preheader.preheader ]
  %175 = getelementptr inbounds i8, ptr %.04483.prol, i64 1
  %176 = load i8, ptr %.04483.prol, align 1, !tbaa !9
  %177 = getelementptr inbounds i8, ptr %.04384.prol, i64 1
  %178 = load i8, ptr %.04384.prol, align 1, !tbaa !9
  %179 = xor i8 %178, %176
  %180 = getelementptr inbounds i8, ptr %.04582.prol, i64 1
  store i8 %179, ptr %.04582.prol, align 1, !tbaa !9
  %181 = add nsw i32 %.085.prol, -1
  %prol.iter187.next = add i32 %prol.iter187, 1
  %prol.iter187.cmp.not = icmp eq i32 %prol.iter187.next, %xtraiter185
  br i1 %prol.iter187.cmp.not, label %.preheader.prol.loopexit, label %.preheader.prol, !llvm.loop !31

.preheader.prol.loopexit:                         ; preds = %.preheader.prol, %.preheader.preheader
  %.085.unr = phi i32 [ %.085.ph, %.preheader.preheader ], [ %181, %.preheader.prol ]
  %.04384.unr = phi ptr [ %.04384.ph, %.preheader.preheader ], [ %177, %.preheader.prol ]
  %.04483.unr = phi ptr [ %.04483.ph, %.preheader.preheader ], [ %175, %.preheader.prol ]
  %.04582.unr = phi ptr [ %.04582.ph, %.preheader.preheader ], [ %180, %.preheader.prol ]
  %182 = icmp ult i32 %174, 3
  br i1 %182, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.preheader.prol.loopexit, %.preheader
  %.085 = phi i32 [ %207, %.preheader ], [ %.085.unr, %.preheader.prol.loopexit ]
  %.04384 = phi ptr [ %203, %.preheader ], [ %.04384.unr, %.preheader.prol.loopexit ]
  %.04483 = phi ptr [ %201, %.preheader ], [ %.04483.unr, %.preheader.prol.loopexit ]
  %.04582 = phi ptr [ %206, %.preheader ], [ %.04582.unr, %.preheader.prol.loopexit ]
  %183 = getelementptr inbounds i8, ptr %.04483, i64 1
  %184 = load i8, ptr %.04483, align 1, !tbaa !9
  %185 = getelementptr inbounds i8, ptr %.04384, i64 1
  %186 = load i8, ptr %.04384, align 1, !tbaa !9
  %187 = xor i8 %186, %184
  %188 = getelementptr inbounds i8, ptr %.04582, i64 1
  store i8 %187, ptr %.04582, align 1, !tbaa !9
  %189 = getelementptr inbounds i8, ptr %.04483, i64 2
  %190 = load i8, ptr %183, align 1, !tbaa !9
  %191 = getelementptr inbounds i8, ptr %.04384, i64 2
  %192 = load i8, ptr %185, align 1, !tbaa !9
  %193 = xor i8 %192, %190
  %194 = getelementptr inbounds i8, ptr %.04582, i64 2
  store i8 %193, ptr %188, align 1, !tbaa !9
  %195 = getelementptr inbounds i8, ptr %.04483, i64 3
  %196 = load i8, ptr %189, align 1, !tbaa !9
  %197 = getelementptr inbounds i8, ptr %.04384, i64 3
  %198 = load i8, ptr %191, align 1, !tbaa !9
  %199 = xor i8 %198, %196
  %200 = getelementptr inbounds i8, ptr %.04582, i64 3
  store i8 %199, ptr %194, align 1, !tbaa !9
  %201 = getelementptr inbounds i8, ptr %.04483, i64 4
  %202 = load i8, ptr %195, align 1, !tbaa !9
  %203 = getelementptr inbounds i8, ptr %.04384, i64 4
  %204 = load i8, ptr %197, align 1, !tbaa !9
  %205 = xor i8 %204, %202
  %206 = getelementptr inbounds i8, ptr %.04582, i64 4
  store i8 %205, ptr %200, align 1, !tbaa !9
  %207 = add nsw i32 %.085, -4
  %.not62.3 = icmp eq i32 %207, 0
  br i1 %.not62.3, label %.loopexit, label %.preheader, !llvm.loop !32

.loopexit:                                        ; preds = %.preheader.prol.loopexit, %.preheader, %vec.epilog.middle.block151, %middle.block128
  %208 = or disjoint i64 %.058.lcssa92, 16
  %209 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 %208
  %210 = load i8, ptr %209, align 1, !tbaa !9
  %211 = xor i8 %210, -128
  store i8 %211, ptr %209, align 1, !tbaa !9
  %212 = load i8, ptr %10, align 16, !tbaa !9
  %213 = xor i8 %212, 80
  store i8 %213, ptr %10, align 16, !tbaa !9
  %214 = getelementptr inbounds i8, ptr %.049.lcssa94, i64 %.058.lcssa92
  br label %215

215:                                              ; preds = %._crit_edge, %.loopexit, %9
  %.1 = phi ptr [ %214, %.loopexit ], [ %112, %._crit_edge ], [ %0, %9 ]
  call void @spoc_128_finalize(ptr noundef nonnull %10, ptr noundef %.1)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #3
  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 @spoc_128_init(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

declare void @sliscp_light256_permute_spoc(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden void @spoc_128_finalize(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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!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 = !{!21}
!21 = distinct !{!21, !22}
!22 = distinct !{!22, !"LVerDomain"}
!23 = !{!24}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !11, !18, !19}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.unroll.disable"}
!28 = distinct !{!28, !11, !18}
!29 = distinct !{!29, !11, !18, !19}
!30 = distinct !{!30, !11, !18, !19}
!31 = distinct !{!31, !27}
!32 = distinct !{!32, !11, !18}


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