; LLVM IR from HarshCasper/NeoAlgo :: C/cryptography (PlayFairCipher)

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

@search.list = external hidden global [4 x i32], align 16

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @search(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i8 %1, ptr %5, align 1, !tbaa !9
  store i8 %2, ptr %6, align 1, !tbaa !9
  %10 = load i8, ptr %5, align 1, !tbaa !9
  %11 = sext i8 %10 to i32
  %12 = icmp eq i32 %11, 106
  br i1 %12, label %13, label %14

13:                                               ; preds = %3
  store i8 105, ptr %5, align 1, !tbaa !9
  br label %20

14:                                               ; preds = %3
  %15 = load i8, ptr %6, align 1, !tbaa !9
  %16 = sext i8 %15 to i32
  %17 = icmp eq i32 %16, 106
  br i1 %17, label %18, label %19

18:                                               ; preds = %14
  store i8 105, ptr %6, align 1, !tbaa !9
  br label %19

19:                                               ; preds = %18, %14
  br label %20

20:                                               ; preds = %19, %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  store i32 0, ptr %7, align 4, !tbaa !10
  br label %21

21:                                               ; preds = %68, %20
  %22 = load i32, ptr %7, align 4, !tbaa !10
  %23 = icmp slt i32 %22, 5
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  br label %71

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  store i32 0, ptr %9, align 4, !tbaa !10
  br label %26

26:                                               ; preds = %64, %25
  %27 = load i32, ptr %9, align 4, !tbaa !10
  %28 = icmp slt i32 %27, 5
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  br label %67

30:                                               ; preds = %26
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = load i32, ptr %7, align 4, !tbaa !10
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [5 x i8], ptr %31, i64 %33
  %35 = load i32, ptr %9, align 4, !tbaa !10
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [5 x i8], ptr %34, i64 0, i64 %36
  %38 = load i8, ptr %37, align 1, !tbaa !9
  %39 = sext i8 %38 to i32
  %40 = load i8, ptr %5, align 1, !tbaa !9
  %41 = sext i8 %40 to i32
  %42 = icmp eq i32 %39, %41
  br i1 %42, label %43, label %46

43:                                               ; preds = %30
  %44 = load i32, ptr %7, align 4, !tbaa !10
  store i32 %44, ptr @search.list, align 16, !tbaa !10
  %45 = load i32, ptr %9, align 4, !tbaa !10
  store i32 %45, ptr getelementptr inbounds ([4 x i32], ptr @search.list, i64 0, i64 1), align 4, !tbaa !10
  br label %63

46:                                               ; preds = %30
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = load i32, ptr %7, align 4, !tbaa !10
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [5 x i8], ptr %47, i64 %49
  %51 = load i32, ptr %9, align 4, !tbaa !10
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [5 x i8], ptr %50, i64 0, i64 %52
  %54 = load i8, ptr %53, align 1, !tbaa !9
  %55 = sext i8 %54 to i32
  %56 = load i8, ptr %6, align 1, !tbaa !9
  %57 = sext i8 %56 to i32
  %58 = icmp eq i32 %55, %57
  br i1 %58, label %59, label %62

59:                                               ; preds = %46
  %60 = load i32, ptr %7, align 4, !tbaa !10
  store i32 %60, ptr getelementptr inbounds ([4 x i32], ptr @search.list, i64 0, i64 2), align 8, !tbaa !10
  %61 = load i32, ptr %9, align 4, !tbaa !10
  store i32 %61, ptr getelementptr inbounds ([4 x i32], ptr @search.list, i64 0, i64 3), align 4, !tbaa !10
  br label %62

62:                                               ; preds = %59, %46
  br label %63

63:                                               ; preds = %62, %43
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %9, align 4, !tbaa !10
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %9, align 4, !tbaa !10
  br label %26, !llvm.loop !12

67:                                               ; preds = %29
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %7, align 4, !tbaa !10
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %7, align 4, !tbaa !10
  br label %21, !llvm.loop !14

71:                                               ; preds = %24
  ret ptr @search.list
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


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

@search.list = external hidden global [4 x i32], align 16

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local noundef nonnull ptr @search(ptr nocapture noundef readonly %0, i8 noundef signext %1, i8 noundef signext %2) local_unnamed_addr #0 {
.preheader:
  %3 = icmp eq i8 %1, 106
  %4 = icmp eq i8 %2, 106
  %spec.store.select = select i1 %4, i8 105, i8 %2
  %narrow = select i1 %3, i8 105, i8 %1
  %.018 = select i1 %3, i8 %2, i8 %spec.store.select
  %5 = load i8, ptr %0, align 1, !tbaa !5
  %6 = icmp eq i8 %narrow, %5
  br i1 %6, label %7, label %8

7:                                                ; preds = %.preheader
  store i32 0, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split

8:                                                ; preds = %.preheader
  %9 = icmp eq i8 %5, %.018
  br i1 %9, label %10, label %11

10:                                               ; preds = %8
  store i32 0, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split

.sink.split:                                      ; preds = %10, %7
  %.sink = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %7 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %10 ]
  store i32 0, ptr %.sink, align 4, !tbaa !8
  br label %11

11:                                               ; preds = %.sink.split, %8
  %12 = getelementptr inbounds i8, ptr %0, i64 1
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = icmp eq i8 %narrow, %13
  br i1 %14, label %18, label %15

15:                                               ; preds = %11
  %16 = icmp eq i8 %13, %.018
  br i1 %16, label %17, label %19

17:                                               ; preds = %15
  store i32 0, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split25

18:                                               ; preds = %11
  store i32 0, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split25

.sink.split25:                                    ; preds = %17, %18
  %.sink26 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %18 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %17 ]
  store i32 1, ptr %.sink26, align 4, !tbaa !8
  br label %19

19:                                               ; preds = %.sink.split25, %15
  %20 = getelementptr inbounds i8, ptr %0, i64 2
  %21 = load i8, ptr %20, align 1, !tbaa !5
  %22 = icmp eq i8 %narrow, %21
  br i1 %22, label %26, label %23

23:                                               ; preds = %19
  %24 = icmp eq i8 %21, %.018
  br i1 %24, label %25, label %27

25:                                               ; preds = %23
  store i32 0, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split27

26:                                               ; preds = %19
  store i32 0, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split27

.sink.split27:                                    ; preds = %25, %26
  %.sink28 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %26 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %25 ]
  store i32 2, ptr %.sink28, align 4, !tbaa !8
  br label %27

27:                                               ; preds = %.sink.split27, %23
  %28 = getelementptr inbounds i8, ptr %0, i64 3
  %29 = load i8, ptr %28, align 1, !tbaa !5
  %30 = icmp eq i8 %narrow, %29
  br i1 %30, label %34, label %31

31:                                               ; preds = %27
  %32 = icmp eq i8 %29, %.018
  br i1 %32, label %33, label %35

33:                                               ; preds = %31
  store i32 0, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split29

34:                                               ; preds = %27
  store i32 0, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split29

.sink.split29:                                    ; preds = %33, %34
  %.sink30 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %34 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %33 ]
  store i32 3, ptr %.sink30, align 4, !tbaa !8
  br label %35

35:                                               ; preds = %.sink.split29, %31
  %36 = getelementptr inbounds i8, ptr %0, i64 4
  %37 = load i8, ptr %36, align 1, !tbaa !5
  %38 = icmp eq i8 %narrow, %37
  br i1 %38, label %42, label %39

39:                                               ; preds = %35
  %40 = icmp eq i8 %37, %.018
  br i1 %40, label %41, label %.preheader.1

41:                                               ; preds = %39
  store i32 0, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.preheader.1.sink.split

42:                                               ; preds = %35
  store i32 0, ptr @search.list, align 16, !tbaa !8
  br label %.preheader.1.sink.split

.preheader.1.sink.split:                          ; preds = %41, %42
  %.sink31 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %42 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %41 ]
  store i32 4, ptr %.sink31, align 4, !tbaa !8
  br label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.1.sink.split, %39
  %43 = getelementptr inbounds i8, ptr %0, i64 5
  %44 = load i8, ptr %43, align 1, !tbaa !5
  %45 = icmp eq i8 %narrow, %44
  br i1 %45, label %49, label %46

46:                                               ; preds = %.preheader.1
  %47 = icmp eq i8 %44, %.018
  br i1 %47, label %48, label %50

48:                                               ; preds = %46
  store i32 1, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split32

49:                                               ; preds = %.preheader.1
  store i32 1, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split32

.sink.split32:                                    ; preds = %48, %49
  %.sink33 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %49 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %48 ]
  store i32 0, ptr %.sink33, align 4, !tbaa !8
  br label %50

50:                                               ; preds = %.sink.split32, %46
  %51 = getelementptr inbounds i8, ptr %0, i64 6
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = icmp eq i8 %narrow, %52
  br i1 %53, label %57, label %54

54:                                               ; preds = %50
  %55 = icmp eq i8 %52, %.018
  br i1 %55, label %56, label %58

56:                                               ; preds = %54
  store i32 1, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split34

57:                                               ; preds = %50
  store i32 1, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split34

.sink.split34:                                    ; preds = %56, %57
  %.sink35 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %57 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %56 ]
  store i32 1, ptr %.sink35, align 4, !tbaa !8
  br label %58

58:                                               ; preds = %.sink.split34, %54
  %59 = getelementptr inbounds i8, ptr %0, i64 7
  %60 = load i8, ptr %59, align 1, !tbaa !5
  %61 = icmp eq i8 %narrow, %60
  br i1 %61, label %65, label %62

62:                                               ; preds = %58
  %63 = icmp eq i8 %60, %.018
  br i1 %63, label %64, label %66

64:                                               ; preds = %62
  store i32 1, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split36

65:                                               ; preds = %58
  store i32 1, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split36

.sink.split36:                                    ; preds = %64, %65
  %.sink37 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %65 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %64 ]
  store i32 2, ptr %.sink37, align 4, !tbaa !8
  br label %66

66:                                               ; preds = %.sink.split36, %62
  %67 = getelementptr inbounds i8, ptr %0, i64 8
  %68 = load i8, ptr %67, align 1, !tbaa !5
  %69 = icmp eq i8 %narrow, %68
  br i1 %69, label %73, label %70

70:                                               ; preds = %66
  %71 = icmp eq i8 %68, %.018
  br i1 %71, label %72, label %74

72:                                               ; preds = %70
  store i32 1, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split38

73:                                               ; preds = %66
  store i32 1, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split38

.sink.split38:                                    ; preds = %72, %73
  %.sink39 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %73 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %72 ]
  store i32 3, ptr %.sink39, align 4, !tbaa !8
  br label %74

74:                                               ; preds = %.sink.split38, %70
  %75 = getelementptr inbounds i8, ptr %0, i64 9
  %76 = load i8, ptr %75, align 1, !tbaa !5
  %77 = icmp eq i8 %narrow, %76
  br i1 %77, label %81, label %78

78:                                               ; preds = %74
  %79 = icmp eq i8 %76, %.018
  br i1 %79, label %80, label %.preheader.2

80:                                               ; preds = %78
  store i32 1, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.preheader.2.sink.split

81:                                               ; preds = %74
  store i32 1, ptr @search.list, align 16, !tbaa !8
  br label %.preheader.2.sink.split

.preheader.2.sink.split:                          ; preds = %80, %81
  %.sink40 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %81 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %80 ]
  store i32 4, ptr %.sink40, align 4, !tbaa !8
  br label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.2.sink.split, %78
  %82 = getelementptr inbounds i8, ptr %0, i64 10
  %83 = load i8, ptr %82, align 1, !tbaa !5
  %84 = icmp eq i8 %narrow, %83
  br i1 %84, label %88, label %85

85:                                               ; preds = %.preheader.2
  %86 = icmp eq i8 %83, %.018
  br i1 %86, label %87, label %89

87:                                               ; preds = %85
  store i32 2, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split41

88:                                               ; preds = %.preheader.2
  store i32 2, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split41

.sink.split41:                                    ; preds = %87, %88
  %.sink42 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %88 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %87 ]
  store i32 0, ptr %.sink42, align 4, !tbaa !8
  br label %89

89:                                               ; preds = %.sink.split41, %85
  %90 = getelementptr inbounds i8, ptr %0, i64 11
  %91 = load i8, ptr %90, align 1, !tbaa !5
  %92 = icmp eq i8 %narrow, %91
  br i1 %92, label %96, label %93

93:                                               ; preds = %89
  %94 = icmp eq i8 %91, %.018
  br i1 %94, label %95, label %97

95:                                               ; preds = %93
  store i32 2, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split43

96:                                               ; preds = %89
  store i32 2, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split43

.sink.split43:                                    ; preds = %95, %96
  %.sink44 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %96 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %95 ]
  store i32 1, ptr %.sink44, align 4, !tbaa !8
  br label %97

97:                                               ; preds = %.sink.split43, %93
  %98 = getelementptr inbounds i8, ptr %0, i64 12
  %99 = load i8, ptr %98, align 1, !tbaa !5
  %100 = icmp eq i8 %narrow, %99
  br i1 %100, label %104, label %101

101:                                              ; preds = %97
  %102 = icmp eq i8 %99, %.018
  br i1 %102, label %103, label %105

103:                                              ; preds = %101
  store i32 2, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split45

104:                                              ; preds = %97
  store i32 2, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split45

.sink.split45:                                    ; preds = %103, %104
  %.sink46 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %104 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %103 ]
  store i32 2, ptr %.sink46, align 4, !tbaa !8
  br label %105

105:                                              ; preds = %.sink.split45, %101
  %106 = getelementptr inbounds i8, ptr %0, i64 13
  %107 = load i8, ptr %106, align 1, !tbaa !5
  %108 = icmp eq i8 %narrow, %107
  br i1 %108, label %112, label %109

109:                                              ; preds = %105
  %110 = icmp eq i8 %107, %.018
  br i1 %110, label %111, label %113

111:                                              ; preds = %109
  store i32 2, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split47

112:                                              ; preds = %105
  store i32 2, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split47

.sink.split47:                                    ; preds = %111, %112
  %.sink48 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %112 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %111 ]
  store i32 3, ptr %.sink48, align 4, !tbaa !8
  br label %113

113:                                              ; preds = %.sink.split47, %109
  %114 = getelementptr inbounds i8, ptr %0, i64 14
  %115 = load i8, ptr %114, align 1, !tbaa !5
  %116 = icmp eq i8 %narrow, %115
  br i1 %116, label %120, label %117

117:                                              ; preds = %113
  %118 = icmp eq i8 %115, %.018
  br i1 %118, label %119, label %.preheader.3

119:                                              ; preds = %117
  store i32 2, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.preheader.3.sink.split

120:                                              ; preds = %113
  store i32 2, ptr @search.list, align 16, !tbaa !8
  br label %.preheader.3.sink.split

.preheader.3.sink.split:                          ; preds = %119, %120
  %.sink49 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %120 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %119 ]
  store i32 4, ptr %.sink49, align 4, !tbaa !8
  br label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.3.sink.split, %117
  %121 = getelementptr inbounds i8, ptr %0, i64 15
  %122 = load i8, ptr %121, align 1, !tbaa !5
  %123 = icmp eq i8 %narrow, %122
  br i1 %123, label %127, label %124

124:                                              ; preds = %.preheader.3
  %125 = icmp eq i8 %122, %.018
  br i1 %125, label %126, label %128

126:                                              ; preds = %124
  store i32 3, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split50

127:                                              ; preds = %.preheader.3
  store i32 3, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split50

.sink.split50:                                    ; preds = %126, %127
  %.sink51 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %127 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %126 ]
  store i32 0, ptr %.sink51, align 4, !tbaa !8
  br label %128

128:                                              ; preds = %.sink.split50, %124
  %129 = getelementptr inbounds i8, ptr %0, i64 16
  %130 = load i8, ptr %129, align 1, !tbaa !5
  %131 = icmp eq i8 %narrow, %130
  br i1 %131, label %135, label %132

132:                                              ; preds = %128
  %133 = icmp eq i8 %130, %.018
  br i1 %133, label %134, label %136

134:                                              ; preds = %132
  store i32 3, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split52

135:                                              ; preds = %128
  store i32 3, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split52

.sink.split52:                                    ; preds = %134, %135
  %.sink53 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %135 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %134 ]
  store i32 1, ptr %.sink53, align 4, !tbaa !8
  br label %136

136:                                              ; preds = %.sink.split52, %132
  %137 = getelementptr inbounds i8, ptr %0, i64 17
  %138 = load i8, ptr %137, align 1, !tbaa !5
  %139 = icmp eq i8 %narrow, %138
  br i1 %139, label %143, label %140

140:                                              ; preds = %136
  %141 = icmp eq i8 %138, %.018
  br i1 %141, label %142, label %144

142:                                              ; preds = %140
  store i32 3, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split54

143:                                              ; preds = %136
  store i32 3, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split54

.sink.split54:                                    ; preds = %142, %143
  %.sink55 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %143 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %142 ]
  store i32 2, ptr %.sink55, align 4, !tbaa !8
  br label %144

144:                                              ; preds = %.sink.split54, %140
  %145 = getelementptr inbounds i8, ptr %0, i64 18
  %146 = load i8, ptr %145, align 1, !tbaa !5
  %147 = icmp eq i8 %narrow, %146
  br i1 %147, label %151, label %148

148:                                              ; preds = %144
  %149 = icmp eq i8 %146, %.018
  br i1 %149, label %150, label %152

150:                                              ; preds = %148
  store i32 3, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split56

151:                                              ; preds = %144
  store i32 3, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split56

.sink.split56:                                    ; preds = %150, %151
  %.sink57 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %151 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %150 ]
  store i32 3, ptr %.sink57, align 4, !tbaa !8
  br label %152

152:                                              ; preds = %.sink.split56, %148
  %153 = getelementptr inbounds i8, ptr %0, i64 19
  %154 = load i8, ptr %153, align 1, !tbaa !5
  %155 = icmp eq i8 %narrow, %154
  br i1 %155, label %159, label %156

156:                                              ; preds = %152
  %157 = icmp eq i8 %154, %.018
  br i1 %157, label %158, label %.preheader.4

158:                                              ; preds = %156
  store i32 3, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.preheader.4.sink.split

159:                                              ; preds = %152
  store i32 3, ptr @search.list, align 16, !tbaa !8
  br label %.preheader.4.sink.split

.preheader.4.sink.split:                          ; preds = %158, %159
  %.sink58 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %159 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %158 ]
  store i32 4, ptr %.sink58, align 4, !tbaa !8
  br label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.4.sink.split, %156
  %160 = getelementptr inbounds i8, ptr %0, i64 20
  %161 = load i8, ptr %160, align 1, !tbaa !5
  %162 = icmp eq i8 %narrow, %161
  br i1 %162, label %166, label %163

163:                                              ; preds = %.preheader.4
  %164 = icmp eq i8 %161, %.018
  br i1 %164, label %165, label %167

165:                                              ; preds = %163
  store i32 4, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split59

166:                                              ; preds = %.preheader.4
  store i32 4, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split59

.sink.split59:                                    ; preds = %165, %166
  %.sink60 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %166 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %165 ]
  store i32 0, ptr %.sink60, align 4, !tbaa !8
  br label %167

167:                                              ; preds = %.sink.split59, %163
  %168 = getelementptr inbounds i8, ptr %0, i64 21
  %169 = load i8, ptr %168, align 1, !tbaa !5
  %170 = icmp eq i8 %narrow, %169
  br i1 %170, label %174, label %171

171:                                              ; preds = %167
  %172 = icmp eq i8 %169, %.018
  br i1 %172, label %173, label %175

173:                                              ; preds = %171
  store i32 4, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split61

174:                                              ; preds = %167
  store i32 4, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split61

.sink.split61:                                    ; preds = %173, %174
  %.sink62 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %174 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %173 ]
  store i32 1, ptr %.sink62, align 4, !tbaa !8
  br label %175

175:                                              ; preds = %.sink.split61, %171
  %176 = getelementptr inbounds i8, ptr %0, i64 22
  %177 = load i8, ptr %176, align 1, !tbaa !5
  %178 = icmp eq i8 %narrow, %177
  br i1 %178, label %182, label %179

179:                                              ; preds = %175
  %180 = icmp eq i8 %177, %.018
  br i1 %180, label %181, label %183

181:                                              ; preds = %179
  store i32 4, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split63

182:                                              ; preds = %175
  store i32 4, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split63

.sink.split63:                                    ; preds = %181, %182
  %.sink64 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %182 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %181 ]
  store i32 2, ptr %.sink64, align 4, !tbaa !8
  br label %183

183:                                              ; preds = %.sink.split63, %179
  %184 = getelementptr inbounds i8, ptr %0, i64 23
  %185 = load i8, ptr %184, align 1, !tbaa !5
  %186 = icmp eq i8 %narrow, %185
  br i1 %186, label %190, label %187

187:                                              ; preds = %183
  %188 = icmp eq i8 %185, %.018
  br i1 %188, label %189, label %191

189:                                              ; preds = %187
  store i32 4, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split65

190:                                              ; preds = %183
  store i32 4, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split65

.sink.split65:                                    ; preds = %189, %190
  %.sink66 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %190 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %189 ]
  store i32 3, ptr %.sink66, align 4, !tbaa !8
  br label %191

191:                                              ; preds = %.sink.split65, %187
  %192 = getelementptr inbounds i8, ptr %0, i64 24
  %193 = load i8, ptr %192, align 1, !tbaa !5
  %194 = icmp eq i8 %narrow, %193
  br i1 %194, label %198, label %195

195:                                              ; preds = %191
  %196 = icmp eq i8 %193, %.018
  br i1 %196, label %197, label %199

197:                                              ; preds = %195
  store i32 4, ptr getelementptr inbounds (i8, ptr @search.list, i64 8), align 8, !tbaa !8
  br label %.sink.split67

198:                                              ; preds = %191
  store i32 4, ptr @search.list, align 16, !tbaa !8
  br label %.sink.split67

.sink.split67:                                    ; preds = %197, %198
  %.sink68 = phi ptr [ getelementptr inbounds (i8, ptr @search.list, i64 4), %198 ], [ getelementptr inbounds (i8, ptr @search.list, i64 12), %197 ]
  store i32 4, ptr %.sink68, align 4, !tbaa !8
  br label %199

199:                                              ; preds = %.sink.split67, %195
  ret ptr @search.list
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) 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" }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass