; LLVM IR from rweather/lightweight-crypto :: src/genavr/algorithm_spook.ll (Z20gen_clyde128_decryptR4Code)

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

%class.Reg = type { %"class.std::vector.5" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZL2rc = external hidden constant [6 x [8 x i8]], align 16
@.str.1 = external hidden unnamed_addr constant [17 x i8], align 1

declare void @_ZN4Code22prologue_encrypt_blockEPKcj(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, i32 noundef) #0

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

declare void @_ZN4Code3argEj(ptr dead_on_unwind writable sret(%class.Reg) align 8, ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) #2 align 2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8, ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2 align 2

declare void @_ZN4Code4moveERK3RegS2_b(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #0

declare void @_ZN3Reg5x_ptrEv(ptr dead_on_unwind writable sret(%class.Reg) align 8) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

declare void @_ZN4Code10releaseRegERK3Reg(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) #2 align 2

declare void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

declare void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3jmpERh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) #2 align 2

declare void @_ZN4Code15load_output_ptrEv(ptr noundef nonnull align 8 dereferenceable(200)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20gen_clyde128_decryptR4Code(ptr noundef nonnull align 8 dereferenceable(200) %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.Reg, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %class.Reg, align 8
  %7 = alloca %class.Reg, align 8
  %8 = alloca %class.Reg, align 8
  %9 = alloca %class.Reg, align 8
  %10 = alloca %class.Reg, align 8
  %11 = alloca %class.Reg, align 8
  %12 = alloca %class.Reg, align 8
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN4Code22prologue_encrypt_blockEPKcj(ptr noundef nonnull align 8 dereferenceable(200) %17, ptr noundef @.str.1, i32 noundef 16)
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #4
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN4Code3argEj(ptr dead_on_unwind writable sret(%class.Reg) align 8 %3, ptr noundef nonnull align 8 dereferenceable(200) %18, i32 noundef 2)
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %19, i32 noundef 64)
          to label %20 unwind label %70

20:                                               ; preds = %1
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %21, i32 noundef 128)
          to label %22 unwind label %70

22:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #4
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8 %6, ptr noundef nonnull align 8 dereferenceable(200) %23, i32 noundef 4)
          to label %24 unwind label %74

24:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #4
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8 %7, ptr noundef nonnull align 8 dereferenceable(200) %25, i32 noundef 4)
          to label %26 unwind label %78

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #4
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8 %8, ptr noundef nonnull align 8 dereferenceable(200) %27, i32 noundef 4)
          to label %28 unwind label %82

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8 %9, ptr noundef nonnull align 8 dereferenceable(200) %29, i32 noundef 4)
          to label %30 unwind label %86

30:                                               ; preds = %28
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %31, ptr noundef nonnull align 8 dereferenceable(24) %6, i8 noundef zeroext -1)
          to label %32 unwind label %90

32:                                               ; preds = %30
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %33, ptr noundef nonnull align 8 dereferenceable(24) %7, i8 noundef zeroext -1)
          to label %34 unwind label %90

34:                                               ; preds = %32
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %35, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext -1)
          to label %36 unwind label %90

36:                                               ; preds = %34
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %37, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext -1)
          to label %38 unwind label %90

38:                                               ; preds = %36
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #4
  invoke void @_ZN3Reg5x_ptrEv(ptr dead_on_unwind writable sret(%class.Reg) align 8 %10)
          to label %40 unwind label %94

40:                                               ; preds = %38
  invoke void @_ZN4Code4moveERK3RegS2_b(ptr noundef nonnull align 8 dereferenceable(200) %39, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %3, i1 noundef zeroext false)
          to label %41 unwind label %98

41:                                               ; preds = %40
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #4
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code10releaseRegERK3Reg(ptr noundef nonnull align 8 dereferenceable(200) %42, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %43 unwind label %90

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #4
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8 %11, ptr noundef nonnull align 8 dereferenceable(200) %44, i32 noundef 4)
          to label %45 unwind label %103

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #4
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8 %12, ptr noundef nonnull align 8 dereferenceable(200) %46, i32 noundef 4)
          to label %47 unwind label %107

47:                                               ; preds = %45
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %48, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext -1)
          to label %49 unwind label %111

49:                                               ; preds = %47
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %50, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 0)
          to label %51 unwind label %111

51:                                               ; preds = %49
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %52, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext -1)
          to label %53 unwind label %111

53:                                               ; preds = %51
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %54, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 4)
          to label %55 unwind label %111

55:                                               ; preds = %53
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %56, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext -1)
          to label %57 unwind label %111

57:                                               ; preds = %55
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %58, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 8)
          to label %59 unwind label %111

59:                                               ; preds = %57
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %60, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext -1)
          to label %61 unwind label %111

61:                                               ; preds = %59
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %62, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 12)
          to label %63 unwind label %111

63:                                               ; preds = %61
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %64, i32 noundef 2)
          to label %65 unwind label %111

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  store i8 0, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  store i8 0, ptr %14, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  store i8 0, ptr %15, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 5, ptr %16, align 4, !tbaa !10
  br label %66

66:                                               ; preds = %206, %65
  %67 = load i32, ptr %16, align 4, !tbaa !10
  %68 = icmp sge i32 %67, 0
  br i1 %68, label %115, label %69

69:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %209

70:                                               ; preds = %20, %1
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %4, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %5, align 4
  br label %303

74:                                               ; preds = %22
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %4, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %5, align 4
  br label %302

78:                                               ; preds = %24
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %4, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %5, align 4
  br label %301

82:                                               ; preds = %26
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %4, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %5, align 4
  br label %300

86:                                               ; preds = %28
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %4, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %5, align 4
  br label %299

90:                                               ; preds = %41, %36, %34, %32, %30
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %4, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %5, align 4
  br label %298

94:                                               ; preds = %38
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %4, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %5, align 4
  br label %102

98:                                               ; preds = %40
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %4, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %5, align 4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %102

102:                                              ; preds = %98, %94
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #4
  br label %298

103:                                              ; preds = %43
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %4, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %5, align 4
  br label %297

107:                                              ; preds = %45
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %4, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %5, align 4
  br label %296

111:                                              ; preds = %63, %61, %59, %57, %55, %53, %51, %49, %47
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %4, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %5, align 4
  br label %295

115:                                              ; preds = %66
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %116, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %117 unwind label %127

117:                                              ; preds = %115
  %118 = load i32, ptr %16, align 4, !tbaa !10
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %119
  %121 = getelementptr inbounds [8 x i8], ptr %120, i64 0, i64 4
  %122 = load i8, ptr %121, align 4, !tbaa !9
  %123 = icmp ne i8 %122, 0
  br i1 %123, label %124, label %131

124:                                              ; preds = %117
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %125, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %126 unwind label %127

126:                                              ; preds = %124
  br label %131

127:                                              ; preds = %203, %200, %190, %180, %170, %161, %158, %148, %138, %124, %115
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %4, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %294

131:                                              ; preds = %126, %117
  %132 = load i32, ptr %16, align 4, !tbaa !10
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %133
  %135 = getelementptr inbounds [8 x i8], ptr %134, i64 0, i64 5
  %136 = load i8, ptr %135, align 1, !tbaa !9
  %137 = icmp ne i8 %136, 0
  br i1 %137, label %138, label %141

138:                                              ; preds = %131
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %139, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1)
          to label %140 unwind label %127

140:                                              ; preds = %138
  br label %141

141:                                              ; preds = %140, %131
  %142 = load i32, ptr %16, align 4, !tbaa !10
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %143
  %145 = getelementptr inbounds [8 x i8], ptr %144, i64 0, i64 6
  %146 = load i8, ptr %145, align 2, !tbaa !9
  %147 = icmp ne i8 %146, 0
  br i1 %147, label %148, label %151

148:                                              ; preds = %141
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %149, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1)
          to label %150 unwind label %127

150:                                              ; preds = %148
  br label %151

151:                                              ; preds = %150, %141
  %152 = load i32, ptr %16, align 4, !tbaa !10
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %153
  %155 = getelementptr inbounds [8 x i8], ptr %154, i64 0, i64 7
  %156 = load i8, ptr %155, align 1, !tbaa !9
  %157 = icmp ne i8 %156, 0
  br i1 %157, label %158, label %161

158:                                              ; preds = %151
  %159 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %159, ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1)
          to label %160 unwind label %127

160:                                              ; preds = %158
  br label %161

161:                                              ; preds = %160, %151
  %162 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %162, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %163 unwind label %127

163:                                              ; preds = %161
  %164 = load i32, ptr %16, align 4, !tbaa !10
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %165
  %167 = getelementptr inbounds [8 x i8], ptr %166, i64 0, i64 0
  %168 = load i8, ptr %167, align 8, !tbaa !9
  %169 = icmp ne i8 %168, 0
  br i1 %169, label %170, label %173

170:                                              ; preds = %163
  %171 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %171, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %172 unwind label %127

172:                                              ; preds = %170
  br label %173

173:                                              ; preds = %172, %163
  %174 = load i32, ptr %16, align 4, !tbaa !10
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %175
  %177 = getelementptr inbounds [8 x i8], ptr %176, i64 0, i64 1
  %178 = load i8, ptr %177, align 1, !tbaa !9
  %179 = icmp ne i8 %178, 0
  br i1 %179, label %180, label %183

180:                                              ; preds = %173
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %181, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1)
          to label %182 unwind label %127

182:                                              ; preds = %180
  br label %183

183:                                              ; preds = %182, %173
  %184 = load i32, ptr %16, align 4, !tbaa !10
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %185
  %187 = getelementptr inbounds [8 x i8], ptr %186, i64 0, i64 2
  %188 = load i8, ptr %187, align 2, !tbaa !9
  %189 = icmp ne i8 %188, 0
  br i1 %189, label %190, label %193

190:                                              ; preds = %183
  %191 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %191, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1)
          to label %192 unwind label %127

192:                                              ; preds = %190
  br label %193

193:                                              ; preds = %192, %183
  %194 = load i32, ptr %16, align 4, !tbaa !10
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %195
  %197 = getelementptr inbounds [8 x i8], ptr %196, i64 0, i64 3
  %198 = load i8, ptr %197, align 1, !tbaa !9
  %199 = icmp ne i8 %198, 0
  br i1 %199, label %200, label %203

200:                                              ; preds = %193
  %201 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %201, ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1)
          to label %202 unwind label %127

202:                                              ; preds = %200
  br label %203

203:                                              ; preds = %202, %193
  %204 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %204, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %205 unwind label %127

205:                                              ; preds = %203
  br label %206

206:                                              ; preds = %205
  %207 = load i32, ptr %16, align 4, !tbaa !10
  %208 = add nsw i32 %207, -1
  store i32 %208, ptr %16, align 4, !tbaa !10
  br label %66, !llvm.loop !12

209:                                              ; preds = %69
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3jmpERh(ptr noundef nonnull align 8 dereferenceable(200) %210, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %211 unwind label %290

211:                                              ; preds = %209
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %212, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %213 unwind label %290

213:                                              ; preds = %211
  %214 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL21gen_clyde128_inv_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %214, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %215 unwind label %290

215:                                              ; preds = %213
  %216 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL21gen_clyde128_inv_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %216, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %217 unwind label %290

217:                                              ; preds = %215
  %218 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL21gen_clyde128_inv_sboxR4CodeRK3RegS3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %218, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %219 unwind label %290

219:                                              ; preds = %217
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200) %220)
          to label %221 unwind label %290

221:                                              ; preds = %219
  %222 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %222, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %223 unwind label %290

223:                                              ; preds = %221
  %224 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %224, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 0)
          to label %225 unwind label %290

225:                                              ; preds = %223
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %226, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 4)
          to label %227 unwind label %290

227:                                              ; preds = %225
  %228 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %228, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 8)
          to label %229 unwind label %290

229:                                              ; preds = %227
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %230, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 12)
          to label %231 unwind label %290

231:                                              ; preds = %229
  %232 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %232, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 0)
          to label %233 unwind label %290

233:                                              ; preds = %231
  %234 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %234, ptr noundef nonnull align 8 dereferenceable(24) %12, i8 noundef zeroext 8)
          to label %235 unwind label %290

235:                                              ; preds = %233
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %236, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %237 unwind label %290

237:                                              ; preds = %235
  %238 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %238, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %239 unwind label %290

239:                                              ; preds = %237
  %240 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %240, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %241 unwind label %290

241:                                              ; preds = %239
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %242, ptr noundef nonnull align 8 dereferenceable(24) %12, i8 noundef zeroext 0)
          to label %243 unwind label %290

243:                                              ; preds = %241
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %244, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 8)
          to label %245 unwind label %290

245:                                              ; preds = %243
  %246 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %246, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 4)
          to label %247 unwind label %290

247:                                              ; preds = %245
  %248 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %248, ptr noundef nonnull align 8 dereferenceable(24) %12, i8 noundef zeroext 12)
          to label %249 unwind label %290

249:                                              ; preds = %247
  %250 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %250, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %251 unwind label %290

251:                                              ; preds = %249
  %252 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %252, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %253 unwind label %290

253:                                              ; preds = %251
  %254 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %254, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %255 unwind label %290

255:                                              ; preds = %253
  %256 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %256, ptr noundef nonnull align 8 dereferenceable(24) %12, i8 noundef zeroext 4)
          to label %257 unwind label %290

257:                                              ; preds = %255
  %258 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %258, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 12)
          to label %259 unwind label %290

259:                                              ; preds = %257
  %260 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200) %260)
          to label %261 unwind label %290

261:                                              ; preds = %259
  %262 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %262, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %263 unwind label %290

263:                                              ; preds = %261
  %264 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %264, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 0)
          to label %265 unwind label %290

265:                                              ; preds = %263
  %266 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %266, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 4)
          to label %267 unwind label %290

267:                                              ; preds = %265
  %268 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %268, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 8)
          to label %269 unwind label %290

269:                                              ; preds = %267
  %270 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %270, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 12)
          to label %271 unwind label %290

271:                                              ; preds = %269
  %272 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %272, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 0)
          to label %273 unwind label %290

273:                                              ; preds = %271
  %274 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %274, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 4)
          to label %275 unwind label %290

275:                                              ; preds = %273
  %276 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %276, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 8)
          to label %277 unwind label %290

277:                                              ; preds = %275
  %278 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %278, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 12)
          to label %279 unwind label %290

279:                                              ; preds = %277
  %280 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code15load_output_ptrEv(ptr noundef nonnull align 8 dereferenceable(200) %280)
          to label %281 unwind label %290

281:                                              ; preds = %279
  %282 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %282, ptr noundef nonnull align 8 dereferenceable(24) %6, i8 noundef zeroext -1)
          to label %283 unwind label %290

283:                                              ; preds = %281
  %284 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %284, ptr noundef nonnull align 8 dereferenceable(24) %7, i8 noundef zeroext -1)
          to label %285 unwind label %290

285:                                              ; preds = %283
  %286 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %286, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext -1)
          to label %287 unwind label %290

287:                                              ; preds = %285
  %288 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %288, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext -1)
          to label %289 unwind label %290

289:                                              ; preds = %287
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  ret void

290:                                              ; preds = %287, %285, %283, %281, %279, %277, %275, %273, %271, %269, %267, %265, %263, %261, %259, %257, %255, %253, %251, %249, %247, %245, %243, %241, %239, %237, %235, %233, %231, %229, %227, %225, %223, %221, %219, %217, %215, %213, %211, %209
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %4, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %5, align 4
  br label %294

294:                                              ; preds = %290, %127
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  br label %295

295:                                              ; preds = %294, %111
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %296

296:                                              ; preds = %295, %107
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br label %297

297:                                              ; preds = %296, %103
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  br label %298

298:                                              ; preds = %297, %102, %90
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %299

299:                                              ; preds = %298, %86
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %300

300:                                              ; preds = %299, %82
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br label %301

301:                                              ; preds = %300, %78
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br label %302

302:                                              ; preds = %301, %74
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  br label %303

303:                                              ; preds = %302, %70
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  br label %304

304:                                              ; preds = %303
  %305 = load ptr, ptr %4, align 8
  %306 = load i32, ptr %5, align 4
  %307 = insertvalue { ptr, i32 } poison, ptr %305, 0
  %308 = insertvalue { ptr, i32 } %307, i32 %306, 1
  resume { ptr, i32 } %308
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21gen_clyde128_inv_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21gen_clyde128_inv_sboxR4CodeRK3RegS3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2 align 2

attributes #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 = { mustprogress 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


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

%class.Reg = type { %"class.std::vector.5" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZL2rc = external hidden local_unnamed_addr constant [6 x [8 x i8]], align 16
@.str.1 = external hidden unnamed_addr constant [17 x i8], align 1

declare void @_ZN4Code22prologue_encrypt_blockEPKcj(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, i32 noundef) local_unnamed_addr #0

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

declare void @_ZN4Code3argEj(ptr dead_on_unwind writable sret(%class.Reg) align 8, ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4Code11allocateRegEj(ptr dead_on_unwind writable sret(%class.Reg) align 8, ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2 align 2

declare void @_ZN4Code4moveERK3RegS2_b(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #0

declare void @_ZN3Reg5x_ptrEv(ptr dead_on_unwind writable sret(%class.Reg) align 8) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

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

declare void @_ZN4Code10releaseRegERK3Reg(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) local_unnamed_addr #2 align 2

declare void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

declare void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3jmpERh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) local_unnamed_addr #2 align 2

declare void @_ZN4Code15load_output_ptrEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20gen_clyde128_decryptR4Code(ptr noundef nonnull align 8 dereferenceable(200) %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.Reg, align 8
  %3 = alloca %class.Reg, align 8
  %4 = alloca %class.Reg, align 8
  %5 = alloca %class.Reg, align 8
  %6 = alloca %class.Reg, align 8
  %7 = alloca %class.Reg, align 8
  %8 = alloca %class.Reg, align 8
  %9 = alloca %class.Reg, align 8
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  tail call void @_ZN4Code22prologue_encrypt_blockEPKcj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull @.str.1, i32 noundef 16)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
  call void @_ZN4Code3argEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %2, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 2)
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 64)
          to label %13 unwind label %38

13:                                               ; preds = %1
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 128)
          to label %14 unwind label %38

14:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %3, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 4)
          to label %15 unwind label %40

15:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %4, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 4)
          to label %16 unwind label %42

16:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %5, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 4)
          to label %17 unwind label %44

17:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %6, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 4)
          to label %18 unwind label %46

18:                                               ; preds = %17
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i8 noundef zeroext -1)
          to label %19 unwind label %48

19:                                               ; preds = %18
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext -1)
          to label %20 unwind label %48

20:                                               ; preds = %19
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext -1)
          to label %21 unwind label %48

21:                                               ; preds = %20
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i8 noundef zeroext -1)
          to label %22 unwind label %48

22:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3Reg5x_ptrEv(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %7)
          to label %23 unwind label %50

23:                                               ; preds = %22
  invoke void @_ZN4Code4moveERK3RegS2_b(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext false)
          to label %24 unwind label %52

24:                                               ; preds = %23
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN4Code10releaseRegERK3Reg(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %25 unwind label %48

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %8, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 4)
          to label %26 unwind label %55

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  invoke void @_ZN4Code11allocateRegEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %9, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 4)
          to label %27 unwind label %57

27:                                               ; preds = %26
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext -1)
          to label %28 unwind label %59

28:                                               ; preds = %27
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 0)
          to label %29 unwind label %59

29:                                               ; preds = %28
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext -1)
          to label %30 unwind label %59

30:                                               ; preds = %29
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 4)
          to label %31 unwind label %59

31:                                               ; preds = %30
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext -1)
          to label %32 unwind label %59

32:                                               ; preds = %31
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 8)
          to label %33 unwind label %59

33:                                               ; preds = %32
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext -1)
          to label %34 unwind label %59

34:                                               ; preds = %33
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 12)
          to label %35 unwind label %59

35:                                               ; preds = %34
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 2)
          to label %36 unwind label %59

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #4
  store i8 0, ptr %10, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #4
  store i8 0, ptr %11, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #4
  store i8 0, ptr %12, align 1, !tbaa !5
  br label %61

37:                                               ; preds = %98
  invoke void @_ZN4Code3jmpERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %99 unwind label %139

38:                                               ; preds = %13, %1
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %150

40:                                               ; preds = %14
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %149

42:                                               ; preds = %15
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %148

44:                                               ; preds = %16
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %147

46:                                               ; preds = %17
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %146

48:                                               ; preds = %24, %21, %20, %19, %18
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %145

50:                                               ; preds = %22
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %23
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  br label %145

55:                                               ; preds = %25
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %144

57:                                               ; preds = %26
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %143

59:                                               ; preds = %35, %34, %33, %32, %31, %30, %29, %28, %27
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %142

61:                                               ; preds = %36, %98
  %indvars.iv = phi i64 [ 5, %36 ], [ %indvars.iv.next, %98 ]
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %62 unwind label %67

62:                                               ; preds = %61
  %63 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %indvars.iv
  %64 = getelementptr inbounds i8, ptr %63, i64 4
  %65 = load i8, ptr %64, align 4, !tbaa !5
  %.not = icmp eq i8 %65, 0
  br i1 %.not, label %69, label %66

66:                                               ; preds = %62
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1)
          to label %69 unwind label %67

67:                                               ; preds = %97, %96, %92, %88, %84, %81, %80, %76, %72, %66, %61
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %141

69:                                               ; preds = %66, %62
  %70 = getelementptr inbounds i8, ptr %63, i64 5
  %71 = load i8, ptr %70, align 1, !tbaa !5
  %.not100 = icmp eq i8 %71, 0
  br i1 %.not100, label %73, label %72

72:                                               ; preds = %69
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1)
          to label %73 unwind label %67

73:                                               ; preds = %72, %69
  %74 = getelementptr inbounds i8, ptr %63, i64 6
  %75 = load i8, ptr %74, align 2, !tbaa !5
  %.not101 = icmp eq i8 %75, 0
  br i1 %.not101, label %77, label %76

76:                                               ; preds = %73
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1)
          to label %77 unwind label %67

77:                                               ; preds = %76, %73
  %78 = getelementptr inbounds i8, ptr %63, i64 7
  %79 = load i8, ptr %78, align 1, !tbaa !5
  %.not102 = icmp eq i8 %79, 0
  br i1 %.not102, label %81, label %80

80:                                               ; preds = %77
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %81 unwind label %67

81:                                               ; preds = %80, %77
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %82 unwind label %67

82:                                               ; preds = %81
  %83 = load i8, ptr %63, align 8, !tbaa !5
  %.not103 = icmp eq i8 %83, 0
  br i1 %.not103, label %85, label %84

84:                                               ; preds = %82
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1)
          to label %85 unwind label %67

85:                                               ; preds = %84, %82
  %86 = getelementptr inbounds i8, ptr %63, i64 1
  %87 = load i8, ptr %86, align 1, !tbaa !5
  %.not104 = icmp eq i8 %87, 0
  br i1 %.not104, label %89, label %88

88:                                               ; preds = %85
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1)
          to label %89 unwind label %67

89:                                               ; preds = %88, %85
  %90 = getelementptr inbounds i8, ptr %63, i64 2
  %91 = load i8, ptr %90, align 2, !tbaa !5
  %.not105 = icmp eq i8 %91, 0
  br i1 %.not105, label %93, label %92

92:                                               ; preds = %89
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1)
          to label %93 unwind label %67

93:                                               ; preds = %92, %89
  %94 = getelementptr inbounds i8, ptr %63, i64 3
  %95 = load i8, ptr %94, align 1, !tbaa !5
  %.not106 = icmp eq i8 %95, 0
  br i1 %.not106, label %97, label %96

96:                                               ; preds = %93
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %97 unwind label %67

97:                                               ; preds = %96, %93
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %98 unwind label %67

98:                                               ; preds = %97
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %.not120 = icmp eq i64 %indvars.iv, 0
  br i1 %.not120, label %37, label %61, !llvm.loop !8

99:                                               ; preds = %37
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %100 unwind label %139

100:                                              ; preds = %99
  invoke void @_ZL21gen_clyde128_inv_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %101 unwind label %139

101:                                              ; preds = %100
  invoke void @_ZL21gen_clyde128_inv_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %102 unwind label %139

102:                                              ; preds = %101
  invoke void @_ZL21gen_clyde128_inv_sboxR4CodeRK3RegS3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %103 unwind label %139

103:                                              ; preds = %102
  invoke void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200) %0)
          to label %104 unwind label %139

104:                                              ; preds = %103
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %105 unwind label %139

105:                                              ; preds = %104
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0)
          to label %106 unwind label %139

106:                                              ; preds = %105
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 4)
          to label %107 unwind label %139

107:                                              ; preds = %106
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef 8)
          to label %108 unwind label %139

108:                                              ; preds = %107
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 12)
          to label %109 unwind label %139

109:                                              ; preds = %108
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 0)
          to label %110 unwind label %139

110:                                              ; preds = %109
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 8)
          to label %111 unwind label %139

111:                                              ; preds = %110
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %112 unwind label %139

112:                                              ; preds = %111
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %113 unwind label %139

113:                                              ; preds = %112
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %114 unwind label %139

114:                                              ; preds = %113
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 0)
          to label %115 unwind label %139

115:                                              ; preds = %114
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 8)
          to label %116 unwind label %139

116:                                              ; preds = %115
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 4)
          to label %117 unwind label %139

117:                                              ; preds = %116
  invoke void @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 12)
          to label %118 unwind label %139

118:                                              ; preds = %117
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %119 unwind label %139

119:                                              ; preds = %118
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %120 unwind label %139

120:                                              ; preds = %119
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %121 unwind label %139

121:                                              ; preds = %120
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 4)
          to label %122 unwind label %139

122:                                              ; preds = %121
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 12)
          to label %123 unwind label %139

123:                                              ; preds = %122
  invoke void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200) %0)
          to label %124 unwind label %139

124:                                              ; preds = %123
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %125 unwind label %139

125:                                              ; preds = %124
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0)
          to label %126 unwind label %139

126:                                              ; preds = %125
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 4)
          to label %127 unwind label %139

127:                                              ; preds = %126
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef 8)
          to label %128 unwind label %139

128:                                              ; preds = %127
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 12)
          to label %129 unwind label %139

129:                                              ; preds = %128
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 0)
          to label %130 unwind label %139

130:                                              ; preds = %129
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 4)
          to label %131 unwind label %139

131:                                              ; preds = %130
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef 8)
          to label %132 unwind label %139

132:                                              ; preds = %131
  invoke void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 12)
          to label %133 unwind label %139

133:                                              ; preds = %132
  invoke void @_ZN4Code15load_output_ptrEv(ptr noundef nonnull align 8 dereferenceable(200) %0)
          to label %134 unwind label %139

134:                                              ; preds = %133
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i8 noundef zeroext -1)
          to label %135 unwind label %139

135:                                              ; preds = %134
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext -1)
          to label %136 unwind label %139

136:                                              ; preds = %135
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext -1)
          to label %137 unwind label %139

137:                                              ; preds = %136
  invoke void @_ZN4Code3stxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i8 noundef zeroext -1)
          to label %138 unwind label %139

138:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  ret void

139:                                              ; preds = %137, %136, %135, %134, %133, %132, %131, %130, %129, %128, %127, %126, %125, %124, %123, %122, %121, %120, %119, %118, %117, %116, %115, %114, %113, %112, %111, %110, %109, %108, %107, %106, %105, %104, %103, %102, %101, %100, %99, %37
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %141

141:                                              ; preds = %139, %67
  %.pn107 = phi { ptr, i32 } [ %68, %67 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  br label %142

142:                                              ; preds = %141, %59
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %141 ], [ %60, %59 ]
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %143

143:                                              ; preds = %142, %57
  %.pn107.pn.pn = phi { ptr, i32 } [ %.pn107.pn, %142 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %144

144:                                              ; preds = %143, %55
  %.pn107.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn, %143 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  br label %145

145:                                              ; preds = %144, %54, %48
  %.pn107.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn, %144 ], [ %49, %48 ], [ %.pn, %54 ]
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br label %146

146:                                              ; preds = %145, %46
  %.pn107.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn, %145 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %147

147:                                              ; preds = %146, %44
  %.pn107.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn, %146 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  br label %148

148:                                              ; preds = %147, %42
  %.pn107.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn.pn, %147 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  br label %149

149:                                              ; preds = %148, %40
  %.pn107.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn.pn.pn, %148 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  br label %150

150:                                              ; preds = %149, %38
  %.pn107.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn.pn.pn.pn, %149 ], [ %39, %38 ]
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  resume { ptr, i32 } %.pn107.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21gen_clyde128_inv_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21gen_clyde128_inv_sboxR4CodeRK3RegS3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code11ldlocal_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2 align 2

attributes #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 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass