; LLVM IR from CactiLab/Sherloc-Cortex-M-CFVD :: Sherloc_runtime/evaluation/src/ndes (libndes)

; 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.GREAT = type { i64, i64, i64 }
%struct.IMMENSE = type { i64, i64 }

@des.ip = external hidden constant [65 x i8], align 16
@des.ipm = external hidden constant [65 x i8], align 16
@des.kns = external hidden global [17 x %struct.GREAT], align 16
@des.initflag = external hidden global i32, align 4
@bit = external dso_local global [33 x i64], align 16
@icd = external hidden global %struct.IMMENSE, align 8
@ipc1 = external hidden constant [57 x i8], align 16

; Function Attrs: nounwind uwtable
define dso_local void @des(i64 %0, i64 %1, i64 %2, i64 %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 {
  %8 = alloca %struct.IMMENSE, align 8
  %9 = alloca %struct.IMMENSE, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca %struct.IMMENSE, align 8
  %20 = alloca %struct.GREAT, align 8
  %21 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  store i64 %0, ptr %21, align 8
  %22 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  store i64 %1, ptr %22, align 8
  %23 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 0
  store i64 %2, ptr %23, align 8
  %24 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 1
  store i64 %3, ptr %24, align 8
  store ptr %4, ptr %10, align 8, !tbaa !5
  store i32 %5, ptr %11, align 4, !tbaa !9
  store ptr %6, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #3
  %25 = load i32, ptr @des.initflag, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %41

27:                                               ; preds = %7
  store i32 0, ptr @des.initflag, align 4, !tbaa !9
  store i64 1, ptr %18, align 8, !tbaa !11
  store i64 1, ptr getelementptr inbounds ([33 x i64], ptr @bit, i64 0, i64 1), align 8, !tbaa !11
  store i32 2, ptr %15, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %37, %27
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = icmp sle i32 %29, 32
  br i1 %30, label %31, label %40

31:                                               ; preds = %28
  %32 = load i64, ptr %18, align 8, !tbaa !11
  %33 = shl i64 %32, 1
  store i64 %33, ptr %18, align 8, !tbaa !11
  %34 = load i32, ptr %15, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [33 x i64], ptr @bit, i64 0, i64 %35
  store i64 %33, ptr %36, align 8, !tbaa !11
  br label %37

37:                                               ; preds = %31
  %38 = load i32, ptr %15, align 4, !tbaa !9
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %15, align 4, !tbaa !9
  br label %28, !llvm.loop !13

40:                                               ; preds = %28
  br label %41

41:                                               ; preds = %40, %7
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %98

45:                                               ; preds = %41
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %46, align 4, !tbaa !9
  store i64 0, ptr @icd, align 8, !tbaa !15
  store i64 0, ptr getelementptr inbounds (%struct.IMMENSE, ptr @icd, i32 0, i32 1), align 8, !tbaa !17
  store i32 28, ptr %15, align 4, !tbaa !9
  store i32 56, ptr %16, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %77, %45
  %48 = load i32, ptr %15, align 4, !tbaa !9
  %49 = icmp sge i32 %48, 1
  br i1 %49, label %50, label %82

50:                                               ; preds = %47
  %51 = load i64, ptr getelementptr inbounds (%struct.IMMENSE, ptr @icd, i32 0, i32 1), align 8, !tbaa !17
  %52 = shl i64 %51, 1
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [57 x i8], ptr @ipc1, i64 0, i64 %54
  %56 = load i8, ptr %55, align 1, !tbaa !18
  %57 = sext i8 %56 to i32
  %58 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 0
  %59 = load i64, ptr %58, align 8
  %60 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 1
  %61 = load i64, ptr %60, align 8
  %62 = call i64 @getbit(i64 %59, i64 %61, i32 noundef %57, i32 noundef 32)
  %63 = or i64 %52, %62
  store i64 %63, ptr getelementptr inbounds (%struct.IMMENSE, ptr @icd, i32 0, i32 1), align 8, !tbaa !17
  %64 = load i64, ptr @icd, align 8, !tbaa !15
  %65 = shl i64 %64, 1
  %66 = load i32, ptr %16, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [57 x i8], ptr @ipc1, i64 0, i64 %67
  %69 = load i8, ptr %68, align 1, !tbaa !18
  %70 = sext i8 %69 to i32
  %71 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 0
  %72 = load i64, ptr %71, align 8
  %73 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 1
  %74 = load i64, ptr %73, align 8
  %75 = call i64 @getbit(i64 %72, i64 %74, i32 noundef %70, i32 noundef 32)
  %76 = or i64 %65, %75
  store i64 %76, ptr @icd, align 8, !tbaa !15
  br label %77

77:                                               ; preds = %50
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = add nsw i32 %78, -1
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = add nsw i32 %80, -1
  store i32 %81, ptr %16, align 4, !tbaa !9
  br label %47, !llvm.loop !19

82:                                               ; preds = %47
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %94, %82
  %84 = load i32, ptr %14, align 4, !tbaa !9
  %85 = icmp sle i32 %84, 16
  br i1 %85, label %86, label %97

86:                                               ; preds = %83
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [17 x %struct.GREAT], ptr @des.kns, i64 0, i64 %88
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %89, i64 24, i1 false), !tbaa.struct !20
  %90 = load i32, ptr %14, align 4, !tbaa !9
  call void @ks(i32 noundef %90, ptr noundef %20)
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [17 x %struct.GREAT], ptr @des.kns, i64 0, i64 %92
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %93, ptr align 8 %20, i64 24, i1 false), !tbaa.struct !20
  br label %94

94:                                               ; preds = %86
  %95 = load i32, ptr %14, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %14, align 4, !tbaa !9
  br label %83, !llvm.loop !21

97:                                               ; preds = %83
  br label %98

98:                                               ; preds = %97, %41
  %99 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  store i64 0, ptr %99, align 8, !tbaa !15
  %100 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 1
  store i64 0, ptr %100, align 8, !tbaa !17
  store i32 32, ptr %15, align 4, !tbaa !9
  store i32 64, ptr %16, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %135, %98
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = icmp sge i32 %102, 1
  br i1 %103, label %104, label %140

104:                                              ; preds = %101
  %105 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 1
  %106 = load i64, ptr %105, align 8, !tbaa !17
  %107 = shl i64 %106, 1
  %108 = load i32, ptr %15, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [65 x i8], ptr @des.ip, i64 0, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !18
  %112 = sext i8 %111 to i32
  %113 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  %114 = load i64, ptr %113, align 8
  %115 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  %116 = load i64, ptr %115, align 8
  %117 = call i64 @getbit(i64 %114, i64 %116, i32 noundef %112, i32 noundef 32)
  %118 = or i64 %107, %117
  %119 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 1
  store i64 %118, ptr %119, align 8, !tbaa !17
  %120 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  %121 = load i64, ptr %120, align 8, !tbaa !15
  %122 = shl i64 %121, 1
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [65 x i8], ptr @des.ip, i64 0, i64 %124
  %126 = load i8, ptr %125, align 1, !tbaa !18
  %127 = sext i8 %126 to i32
  %128 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  %129 = load i64, ptr %128, align 8
  %130 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  %131 = load i64, ptr %130, align 8
  %132 = call i64 @getbit(i64 %129, i64 %131, i32 noundef %127, i32 noundef 32)
  %133 = or i64 %122, %132
  %134 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  store i64 %133, ptr %134, align 8, !tbaa !15
  br label %135

135:                                              ; preds = %104
  %136 = load i32, ptr %15, align 4, !tbaa !9
  %137 = add nsw i32 %136, -1
  store i32 %137, ptr %15, align 4, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = add nsw i32 %138, -1
  store i32 %139, ptr %16, align 4, !tbaa !9
  br label %101, !llvm.loop !22

140:                                              ; preds = %101
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %168, %140
  %142 = load i32, ptr %14, align 4, !tbaa !9
  %143 = icmp sle i32 %142, 16
  br i1 %143, label %144, label %171

144:                                              ; preds = %141
  %145 = load i32, ptr %11, align 4, !tbaa !9
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %147, label %150

147:                                              ; preds = %144
  %148 = load i32, ptr %14, align 4, !tbaa !9
  %149 = sub nsw i32 17, %148
  br label %152

150:                                              ; preds = %144
  %151 = load i32, ptr %14, align 4, !tbaa !9
  br label %152

152:                                              ; preds = %150, %147
  %153 = phi i32 [ %149, %147 ], [ %151, %150 ]
  store i32 %153, ptr %13, align 4, !tbaa !9
  %154 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  %155 = load i64, ptr %154, align 8, !tbaa !15
  %156 = load i32, ptr %13, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [17 x %struct.GREAT], ptr @des.kns, i64 0, i64 %157
  call void @cyfun(i64 noundef %155, ptr noundef byval(%struct.GREAT) align 8 %158, ptr noundef %17)
  %159 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 1
  %160 = load i64, ptr %159, align 8, !tbaa !17
  %161 = load i64, ptr %17, align 8, !tbaa !11
  %162 = xor i64 %161, %160
  store i64 %162, ptr %17, align 8, !tbaa !11
  %163 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  %164 = load i64, ptr %163, align 8, !tbaa !15
  %165 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 1
  store i64 %164, ptr %165, align 8, !tbaa !17
  %166 = load i64, ptr %17, align 8, !tbaa !11
  %167 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  store i64 %166, ptr %167, align 8, !tbaa !15
  br label %168

168:                                              ; preds = %152
  %169 = load i32, ptr %14, align 4, !tbaa !9
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %14, align 4, !tbaa !9
  br label %141, !llvm.loop !23

171:                                              ; preds = %141
  %172 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 1
  %173 = load i64, ptr %172, align 8, !tbaa !17
  store i64 %173, ptr %17, align 8, !tbaa !11
  %174 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  %175 = load i64, ptr %174, align 8, !tbaa !15
  %176 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 1
  store i64 %175, ptr %176, align 8, !tbaa !17
  %177 = load i64, ptr %17, align 8, !tbaa !11
  %178 = getelementptr inbounds %struct.IMMENSE, ptr %19, i32 0, i32 0
  store i64 %177, ptr %178, align 8, !tbaa !15
  %179 = load ptr, ptr %12, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.IMMENSE, ptr %179, i32 0, i32 0
  store i64 0, ptr %180, align 8, !tbaa !15
  %181 = load ptr, ptr %12, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.IMMENSE, ptr %181, i32 0, i32 1
  store i64 0, ptr %182, align 8, !tbaa !17
  store i32 32, ptr %15, align 4, !tbaa !9
  store i32 64, ptr %16, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %221, %171
  %184 = load i32, ptr %15, align 4, !tbaa !9
  %185 = icmp sge i32 %184, 1
  br i1 %185, label %186, label %226

186:                                              ; preds = %183
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.IMMENSE, ptr %187, i32 0, i32 1
  %189 = load i64, ptr %188, align 8, !tbaa !17
  %190 = shl i64 %189, 1
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [65 x i8], ptr @des.ipm, i64 0, i64 %192
  %194 = load i8, ptr %193, align 1, !tbaa !18
  %195 = sext i8 %194 to i32
  %196 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 0
  %197 = load i64, ptr %196, align 8
  %198 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 1
  %199 = load i64, ptr %198, align 8
  %200 = call i64 @getbit(i64 %197, i64 %199, i32 noundef %195, i32 noundef 32)
  %201 = or i64 %190, %200
  %202 = load ptr, ptr %12, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.IMMENSE, ptr %202, i32 0, i32 1
  store i64 %201, ptr %203, align 8, !tbaa !17
  %204 = load ptr, ptr %12, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.IMMENSE, ptr %204, i32 0, i32 0
  %206 = load i64, ptr %205, align 8, !tbaa !15
  %207 = shl i64 %206, 1
  %208 = load i32, ptr %16, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [65 x i8], ptr @des.ipm, i64 0, i64 %209
  %211 = load i8, ptr %210, align 1, !tbaa !18
  %212 = sext i8 %211 to i32
  %213 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 0
  %214 = load i64, ptr %213, align 8
  %215 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 1
  %216 = load i64, ptr %215, align 8
  %217 = call i64 @getbit(i64 %214, i64 %216, i32 noundef %212, i32 noundef 32)
  %218 = or i64 %207, %217
  %219 = load ptr, ptr %12, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.IMMENSE, ptr %219, i32 0, i32 0
  store i64 %218, ptr %220, align 8, !tbaa !15
  br label %221

221:                                              ; preds = %186
  %222 = load i32, ptr %15, align 4, !tbaa !9
  %223 = add nsw i32 %222, -1
  store i32 %223, ptr %15, align 4, !tbaa !9
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = add nsw i32 %224, -1
  store i32 %225, ptr %16, align 4, !tbaa !9
  br label %183, !llvm.loop !24

226:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  ret void
}

; 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 dso_local i64 @getbit(i64, i64, i32 noundef, i32 noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @ks(i32 noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @cyfun(i64 noundef, ptr noundef byval(%struct.GREAT) align 8, ptr noundef) #0

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !12, i64 0}
!16 = !{!"IMMENSE", !12, i64 0, !12, i64 8}
!17 = !{!16, !12, i64 8}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !14}
!20 = !{i64 0, i64 8, !11, i64 8, i64 8, !11, i64 16, i64 8, !11}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}


; 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.GREAT = type { i64, i64, i64 }
%struct.IMMENSE = type { i64, i64 }

@des.ip = external hidden local_unnamed_addr constant [65 x i8], align 16
@des.ipm = external hidden local_unnamed_addr constant [65 x i8], align 16
@des.kns = external hidden global [17 x %struct.GREAT], align 16
@des.initflag = external hidden local_unnamed_addr global i32, align 4
@bit = external dso_local local_unnamed_addr global [33 x i64], align 16
@icd = external hidden local_unnamed_addr global %struct.IMMENSE, align 8
@ipc1 = external hidden local_unnamed_addr constant [57 x i8], align 16

; Function Attrs: nounwind uwtable
define dso_local void @des(i64 %0, i64 %1, i64 %2, i64 %3, ptr nocapture noundef %4, i32 noundef %5, ptr nocapture noundef %6) local_unnamed_addr #0 {
  %8 = alloca i64, align 8
  %9 = alloca %struct.GREAT, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  %10 = load i32, ptr @des.initflag, align 4, !tbaa !5
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %.loopexit61, label %.loopexit61.loopexit

.loopexit61.loopexit:                             ; preds = %7
  store i32 0, ptr @des.initflag, align 4, !tbaa !5
  store i64 1, ptr getelementptr inbounds (i8, ptr @bit, i64 8), align 8, !tbaa !9
  store i64 2, ptr getelementptr inbounds (i8, ptr @bit, i64 16), align 16, !tbaa !9
  store i64 4, ptr getelementptr inbounds (i8, ptr @bit, i64 24), align 8, !tbaa !9
  store i64 8, ptr getelementptr inbounds (i8, ptr @bit, i64 32), align 16, !tbaa !9
  store i64 16, ptr getelementptr inbounds (i8, ptr @bit, i64 40), align 8, !tbaa !9
  store i64 32, ptr getelementptr inbounds (i8, ptr @bit, i64 48), align 16, !tbaa !9
  store i64 64, ptr getelementptr inbounds (i8, ptr @bit, i64 56), align 8, !tbaa !9
  store i64 128, ptr getelementptr inbounds (i8, ptr @bit, i64 64), align 16, !tbaa !9
  store i64 256, ptr getelementptr inbounds (i8, ptr @bit, i64 72), align 8, !tbaa !9
  store i64 512, ptr getelementptr inbounds (i8, ptr @bit, i64 80), align 16, !tbaa !9
  store i64 1024, ptr getelementptr inbounds (i8, ptr @bit, i64 88), align 8, !tbaa !9
  store i64 2048, ptr getelementptr inbounds (i8, ptr @bit, i64 96), align 16, !tbaa !9
  store i64 4096, ptr getelementptr inbounds (i8, ptr @bit, i64 104), align 8, !tbaa !9
  store i64 8192, ptr getelementptr inbounds (i8, ptr @bit, i64 112), align 16, !tbaa !9
  store i64 16384, ptr getelementptr inbounds (i8, ptr @bit, i64 120), align 8, !tbaa !9
  store i64 32768, ptr getelementptr inbounds (i8, ptr @bit, i64 128), align 16, !tbaa !9
  store i64 65536, ptr getelementptr inbounds (i8, ptr @bit, i64 136), align 8, !tbaa !9
  store i64 131072, ptr getelementptr inbounds (i8, ptr @bit, i64 144), align 16, !tbaa !9
  store i64 262144, ptr getelementptr inbounds (i8, ptr @bit, i64 152), align 8, !tbaa !9
  store i64 524288, ptr getelementptr inbounds (i8, ptr @bit, i64 160), align 16, !tbaa !9
  store i64 1048576, ptr getelementptr inbounds (i8, ptr @bit, i64 168), align 8, !tbaa !9
  store i64 2097152, ptr getelementptr inbounds (i8, ptr @bit, i64 176), align 16, !tbaa !9
  store i64 4194304, ptr getelementptr inbounds (i8, ptr @bit, i64 184), align 8, !tbaa !9
  store i64 8388608, ptr getelementptr inbounds (i8, ptr @bit, i64 192), align 16, !tbaa !9
  store i64 16777216, ptr getelementptr inbounds (i8, ptr @bit, i64 200), align 8, !tbaa !9
  store i64 33554432, ptr getelementptr inbounds (i8, ptr @bit, i64 208), align 16, !tbaa !9
  store i64 67108864, ptr getelementptr inbounds (i8, ptr @bit, i64 216), align 8, !tbaa !9
  store i64 134217728, ptr getelementptr inbounds (i8, ptr @bit, i64 224), align 16, !tbaa !9
  store i64 268435456, ptr getelementptr inbounds (i8, ptr @bit, i64 232), align 8, !tbaa !9
  store i64 536870912, ptr getelementptr inbounds (i8, ptr @bit, i64 240), align 16, !tbaa !9
  store i64 1073741824, ptr getelementptr inbounds (i8, ptr @bit, i64 248), align 8, !tbaa !9
  store i64 2147483648, ptr getelementptr inbounds (i8, ptr @bit, i64 256), align 16, !tbaa !9
  br label %.loopexit61

.loopexit61:                                      ; preds = %.loopexit61.loopexit, %7
  %11 = load i32, ptr %4, align 4, !tbaa !5
  %.not59 = icmp eq i32 %11, 0
  br i1 %.not59, label %.loopexit.preheader, label %12

.loopexit.preheader:                              ; preds = %.preheader60.preheader, %.loopexit61
  br label %.loopexit

12:                                               ; preds = %.loopexit61
  store i32 0, ptr %4, align 4, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) @icd, i8 0, i64 16, i1 false)
  br label %13

13:                                               ; preds = %12, %13
  %indvars.iv82 = phi i64 [ 28, %12 ], [ %indvars.iv.next83, %13 ]
  %indvars.iv = phi i64 [ 56, %12 ], [ %indvars.iv.next, %13 ]
  %14 = load i64, ptr getelementptr inbounds (i8, ptr @icd, i64 8), align 8, !tbaa !11
  %15 = shl i64 %14, 1
  %16 = getelementptr inbounds [57 x i8], ptr @ipc1, i64 0, i64 %indvars.iv82
  %17 = load i8, ptr %16, align 1, !tbaa !13
  %18 = sext i8 %17 to i32
  %19 = tail call i64 @getbit(i64 %2, i64 %3, i32 noundef %18, i32 noundef 32)
  %20 = or i64 %19, %15
  store i64 %20, ptr getelementptr inbounds (i8, ptr @icd, i64 8), align 8, !tbaa !11
  %21 = load i64, ptr @icd, align 8, !tbaa !14
  %22 = shl i64 %21, 1
  %23 = getelementptr inbounds [57 x i8], ptr @ipc1, i64 0, i64 %indvars.iv
  %24 = load i8, ptr %23, align 1, !tbaa !13
  %25 = sext i8 %24 to i32
  %26 = tail call i64 @getbit(i64 %2, i64 %3, i32 noundef %25, i32 noundef 32)
  %27 = or i64 %26, %22
  store i64 %27, ptr @icd, align 8, !tbaa !14
  %indvars.iv.next83 = add nsw i64 %indvars.iv82, -1
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %28 = icmp ugt i64 %indvars.iv82, 1
  br i1 %28, label %13, label %.preheader60.preheader, !llvm.loop !15

.preheader60.preheader:                           ; preds = %13
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 24), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 1, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 24), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 48), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 2, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 48), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 72), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 3, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 72), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 96), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 4, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 96), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 120), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 5, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 120), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 144), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 6, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 144), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 168), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 7, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 168), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 192), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 8, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 192), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 216), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 9, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 216), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 240), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 10, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 240), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 264), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 11, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 264), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 288), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 12, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 288), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 312), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 13, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 312), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 336), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 14, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 336), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 360), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 15, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 360), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 384), i64 24, i1 false), !tbaa.struct !17
  call void @ks(i32 noundef 16, ptr noundef nonnull %9)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) getelementptr inbounds (i8, ptr @des.kns, i64 384), ptr noundef nonnull align 8 dereferenceable(24) %9, i64 24, i1 false), !tbaa.struct !17
  br label %.loopexit.preheader

.preheader:                                       ; preds = %.loopexit
  %29 = icmp eq i32 %5, 1
  br i1 %29, label %.preheader.split.us.preheader, label %.preheader.split.preheader

.preheader.split.preheader:                       ; preds = %.preheader
  call void @cyfun(i64 noundef %105, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 24), ptr noundef nonnull %8)
  %30 = load i64, ptr %8, align 8, !tbaa !9
  %31 = xor i64 %30, %99
  store i64 %31, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %31, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 48), ptr noundef nonnull %8)
  %32 = load i64, ptr %8, align 8, !tbaa !9
  %33 = xor i64 %32, %105
  store i64 %33, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %33, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 72), ptr noundef nonnull %8)
  %34 = load i64, ptr %8, align 8, !tbaa !9
  %35 = xor i64 %34, %31
  store i64 %35, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %35, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 96), ptr noundef nonnull %8)
  %36 = load i64, ptr %8, align 8, !tbaa !9
  %37 = xor i64 %36, %33
  store i64 %37, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %37, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 120), ptr noundef nonnull %8)
  %38 = load i64, ptr %8, align 8, !tbaa !9
  %39 = xor i64 %38, %35
  store i64 %39, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %39, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 144), ptr noundef nonnull %8)
  %40 = load i64, ptr %8, align 8, !tbaa !9
  %41 = xor i64 %40, %37
  store i64 %41, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %41, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 168), ptr noundef nonnull %8)
  %42 = load i64, ptr %8, align 8, !tbaa !9
  %43 = xor i64 %42, %39
  store i64 %43, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %43, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 192), ptr noundef nonnull %8)
  %44 = load i64, ptr %8, align 8, !tbaa !9
  %45 = xor i64 %44, %41
  store i64 %45, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %45, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 216), ptr noundef nonnull %8)
  %46 = load i64, ptr %8, align 8, !tbaa !9
  %47 = xor i64 %46, %43
  store i64 %47, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %47, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 240), ptr noundef nonnull %8)
  %48 = load i64, ptr %8, align 8, !tbaa !9
  %49 = xor i64 %48, %45
  store i64 %49, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %49, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 264), ptr noundef nonnull %8)
  %50 = load i64, ptr %8, align 8, !tbaa !9
  %51 = xor i64 %50, %47
  store i64 %51, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %51, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 288), ptr noundef nonnull %8)
  %52 = load i64, ptr %8, align 8, !tbaa !9
  %53 = xor i64 %52, %49
  store i64 %53, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %53, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 312), ptr noundef nonnull %8)
  %54 = load i64, ptr %8, align 8, !tbaa !9
  %55 = xor i64 %54, %51
  store i64 %55, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %55, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 336), ptr noundef nonnull %8)
  %56 = load i64, ptr %8, align 8, !tbaa !9
  %57 = xor i64 %56, %53
  store i64 %57, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %57, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 360), ptr noundef nonnull %8)
  %58 = load i64, ptr %8, align 8, !tbaa !9
  %59 = xor i64 %58, %55
  store i64 %59, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %59, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 384), ptr noundef nonnull %8)
  %60 = load i64, ptr %8, align 8, !tbaa !9
  %61 = xor i64 %60, %57
  br label %.split.us

.preheader.split.us.preheader:                    ; preds = %.preheader
  call void @cyfun(i64 noundef %105, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 384), ptr noundef nonnull %8)
  %62 = load i64, ptr %8, align 8, !tbaa !9
  %63 = xor i64 %62, %99
  store i64 %63, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %63, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 360), ptr noundef nonnull %8)
  %64 = load i64, ptr %8, align 8, !tbaa !9
  %65 = xor i64 %64, %105
  store i64 %65, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %65, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 336), ptr noundef nonnull %8)
  %66 = load i64, ptr %8, align 8, !tbaa !9
  %67 = xor i64 %66, %63
  store i64 %67, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %67, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 312), ptr noundef nonnull %8)
  %68 = load i64, ptr %8, align 8, !tbaa !9
  %69 = xor i64 %68, %65
  store i64 %69, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %69, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 288), ptr noundef nonnull %8)
  %70 = load i64, ptr %8, align 8, !tbaa !9
  %71 = xor i64 %70, %67
  store i64 %71, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %71, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 264), ptr noundef nonnull %8)
  %72 = load i64, ptr %8, align 8, !tbaa !9
  %73 = xor i64 %72, %69
  store i64 %73, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %73, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 240), ptr noundef nonnull %8)
  %74 = load i64, ptr %8, align 8, !tbaa !9
  %75 = xor i64 %74, %71
  store i64 %75, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %75, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 216), ptr noundef nonnull %8)
  %76 = load i64, ptr %8, align 8, !tbaa !9
  %77 = xor i64 %76, %73
  store i64 %77, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %77, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 192), ptr noundef nonnull %8)
  %78 = load i64, ptr %8, align 8, !tbaa !9
  %79 = xor i64 %78, %75
  store i64 %79, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %79, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 168), ptr noundef nonnull %8)
  %80 = load i64, ptr %8, align 8, !tbaa !9
  %81 = xor i64 %80, %77
  store i64 %81, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %81, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 144), ptr noundef nonnull %8)
  %82 = load i64, ptr %8, align 8, !tbaa !9
  %83 = xor i64 %82, %79
  store i64 %83, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %83, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 120), ptr noundef nonnull %8)
  %84 = load i64, ptr %8, align 8, !tbaa !9
  %85 = xor i64 %84, %81
  store i64 %85, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %85, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 96), ptr noundef nonnull %8)
  %86 = load i64, ptr %8, align 8, !tbaa !9
  %87 = xor i64 %86, %83
  store i64 %87, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %87, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 72), ptr noundef nonnull %8)
  %88 = load i64, ptr %8, align 8, !tbaa !9
  %89 = xor i64 %88, %85
  store i64 %89, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %89, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 48), ptr noundef nonnull %8)
  %90 = load i64, ptr %8, align 8, !tbaa !9
  %91 = xor i64 %90, %87
  store i64 %91, ptr %8, align 8, !tbaa !9
  call void @cyfun(i64 noundef %91, ptr noundef nonnull byval(%struct.GREAT) align 8 getelementptr inbounds (i8, ptr @des.kns, i64 24), ptr noundef nonnull %8)
  %92 = load i64, ptr %8, align 8, !tbaa !9
  %93 = xor i64 %92, %89
  br label %.split.us

.loopexit:                                        ; preds = %.loopexit.preheader, %.loopexit
  %indvars.iv92 = phi i64 [ %indvars.iv.next93, %.loopexit ], [ 32, %.loopexit.preheader ]
  %indvars.iv90 = phi i64 [ %indvars.iv.next91, %.loopexit ], [ 64, %.loopexit.preheader ]
  %.sroa.0.070 = phi i64 [ %105, %.loopexit ], [ 0, %.loopexit.preheader ]
  %.sroa.12.069 = phi i64 [ %99, %.loopexit ], [ 0, %.loopexit.preheader ]
  %94 = shl i64 %.sroa.12.069, 1
  %95 = getelementptr inbounds [65 x i8], ptr @des.ip, i64 0, i64 %indvars.iv92
  %96 = load i8, ptr %95, align 1, !tbaa !13
  %97 = sext i8 %96 to i32
  %98 = call i64 @getbit(i64 %0, i64 %1, i32 noundef %97, i32 noundef 32)
  %99 = or i64 %98, %94
  %100 = shl i64 %.sroa.0.070, 1
  %101 = getelementptr inbounds [65 x i8], ptr @des.ip, i64 0, i64 %indvars.iv90
  %102 = load i8, ptr %101, align 1, !tbaa !13
  %103 = sext i8 %102 to i32
  %104 = call i64 @getbit(i64 %0, i64 %1, i32 noundef %103, i32 noundef 32)
  %105 = or i64 %104, %100
  %indvars.iv.next93 = add nsw i64 %indvars.iv92, -1
  %indvars.iv.next91 = add nsw i64 %indvars.iv90, -1
  %106 = icmp ugt i64 %indvars.iv92, 1
  br i1 %106, label %.loopexit, label %.preheader, !llvm.loop !18

.split.us:                                        ; preds = %.preheader.split.preheader, %.preheader.split.us.preheader
  %storemerge = phi i64 [ %61, %.preheader.split.preheader ], [ %93, %.preheader.split.us.preheader ]
  %.us-phi = phi i64 [ %59, %.preheader.split.preheader ], [ %91, %.preheader.split.us.preheader ]
  store i64 %.us-phi, ptr %8, align 8, !tbaa !9
  %107 = getelementptr inbounds i8, ptr %6, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
  br label %108

108:                                              ; preds = %.split.us, %108
  %indvars.iv105 = phi i64 [ 32, %.split.us ], [ %indvars.iv.next106, %108 ]
  %indvars.iv103 = phi i64 [ 64, %.split.us ], [ %indvars.iv.next104, %108 ]
  %109 = load i64, ptr %107, align 8, !tbaa !11
  %110 = shl i64 %109, 1
  %111 = getelementptr inbounds [65 x i8], ptr @des.ipm, i64 0, i64 %indvars.iv105
  %112 = load i8, ptr %111, align 1, !tbaa !13
  %113 = sext i8 %112 to i32
  %114 = call i64 @getbit(i64 %.us-phi, i64 %storemerge, i32 noundef %113, i32 noundef 32)
  %115 = or i64 %114, %110
  store i64 %115, ptr %107, align 8, !tbaa !11
  %116 = load i64, ptr %6, align 8, !tbaa !14
  %117 = shl i64 %116, 1
  %118 = getelementptr inbounds [65 x i8], ptr @des.ipm, i64 0, i64 %indvars.iv103
  %119 = load i8, ptr %118, align 1, !tbaa !13
  %120 = sext i8 %119 to i32
  %121 = call i64 @getbit(i64 %.us-phi, i64 %storemerge, i32 noundef %120, i32 noundef 32)
  %122 = or i64 %121, %117
  store i64 %122, ptr %6, align 8, !tbaa !14
  %indvars.iv.next106 = add nsw i64 %indvars.iv105, -1
  %indvars.iv.next104 = add nsw i64 %indvars.iv103, -1
  %123 = icmp ugt i64 %indvars.iv105, 1
  br i1 %123, label %108, label %124, !llvm.loop !19

124:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  ret void
}

; 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 dso_local i64 @getbit(i64, i64, i32 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @ks(i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @cyfun(i64 noundef, ptr noundef byval(%struct.GREAT) align 8, ptr noundef) local_unnamed_addr #0

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"IMMENSE", !10, i64 0, !10, i64 8}
!13 = !{!7, !7, i64 0}
!14 = !{!12, !10, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{i64 0, i64 8, !9, i64 8, i64 8, !9, i64 16, i64 8, !9}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}


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