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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20gen_clyde128_encryptR4Code(ptr noundef nonnull align 8 dereferenceable(200) %0) #0 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, 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 %86

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 %86

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 %90

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 %94

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 %98

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 %102

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 %106

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 %106

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 %106

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 %106

38:                                               ; preds = %36
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %39, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 0)
          to label %40 unwind label %106

40:                                               ; preds = %38
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %41, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 4)
          to label %42 unwind label %106

42:                                               ; preds = %40
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %43, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 8)
          to label %44 unwind label %106

44:                                               ; preds = %42
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %45, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 12)
          to label %46 unwind label %106

46:                                               ; preds = %44
  %47 = 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 %48 unwind label %110

48:                                               ; preds = %46
  invoke void @_ZN4Code4moveERK3RegS2_b(ptr noundef nonnull align 8 dereferenceable(200) %47, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %3, i1 noundef zeroext false)
          to label %49 unwind label %114

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

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #4
  %52 = 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) %52, i32 noundef 4)
          to label %53 unwind label %119

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #4
  %54 = 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) %54, i32 noundef 4)
          to label %55 unwind label %123

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 %127

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 0)
          to label %59 unwind label %127

59:                                               ; preds = %57
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %60, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %61 unwind label %127

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

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

65:                                               ; preds = %63
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %66, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %67 unwind label %127

67:                                               ; preds = %65
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %68, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext -1)
          to label %69 unwind label %127

69:                                               ; preds = %67
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %70, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 8)
          to label %71 unwind label %127

71:                                               ; preds = %69
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %72, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %73 unwind label %127

73:                                               ; preds = %71
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldxERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %74, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext -1)
          to label %75 unwind label %127

75:                                               ; preds = %73
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %76, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 12)
          to label %77 unwind label %127

77:                                               ; preds = %75
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %78, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %79 unwind label %127

79:                                               ; preds = %77
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %80, i32 noundef 2)
          to label %81 unwind label %127

81:                                               ; preds = %79
  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 0, ptr %16, align 4, !tbaa !10
  br label %82

82:                                               ; preds = %222, %81
  %83 = load i32, ptr %16, align 4, !tbaa !10
  %84 = icmp slt i32 %83, 6
  br i1 %84, label %131, label %85

85:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %225

86:                                               ; preds = %20, %1
  %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 %303

90:                                               ; preds = %22
  %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 %302

94:                                               ; preds = %24
  %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 %301

98:                                               ; preds = %26
  %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
  br label %300

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

106:                                              ; preds = %49, %44, %42, %40, %38, %36, %34, %32, %30
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %4, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %5, align 4
  br label %298

110:                                              ; preds = %46
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %4, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %5, align 4
  br label %118

114:                                              ; preds = %48
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %4, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %5, align 4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %118

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

119:                                              ; preds = %51
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %4, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %5, align 4
  br label %297

123:                                              ; preds = %53
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %4, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %5, align 4
  br label %296

127:                                              ; preds = %79, %77, %75, %73, %71, %69, %67, %65, %63, %61, %59, %57, %55
  %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
  br label %295

131:                                              ; preds = %82
  %132 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %132, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %133 unwind label %143

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

140:                                              ; preds = %133
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %141, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %142 unwind label %143

142:                                              ; preds = %140
  br label %147

143:                                              ; preds = %219, %216, %206, %196, %186, %177, %174, %164, %154, %140, %131
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %4, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %294

147:                                              ; preds = %142, %133
  %148 = load i32, ptr %16, align 4, !tbaa !10
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %149
  %151 = getelementptr inbounds [8 x i8], ptr %150, i64 0, i64 1
  %152 = load i8, ptr %151, align 1, !tbaa !9
  %153 = icmp ne i8 %152, 0
  br i1 %153, label %154, label %157

154:                                              ; preds = %147
  %155 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %155, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1)
          to label %156 unwind label %143

156:                                              ; preds = %154
  br label %157

157:                                              ; preds = %156, %147
  %158 = load i32, ptr %16, align 4, !tbaa !10
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %159
  %161 = getelementptr inbounds [8 x i8], ptr %160, i64 0, i64 2
  %162 = load i8, ptr %161, align 2, !tbaa !9
  %163 = icmp ne i8 %162, 0
  br i1 %163, label %164, label %167

164:                                              ; preds = %157
  %165 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %165, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1)
          to label %166 unwind label %143

166:                                              ; preds = %164
  br label %167

167:                                              ; preds = %166, %157
  %168 = load i32, ptr %16, align 4, !tbaa !10
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %169
  %171 = getelementptr inbounds [8 x i8], ptr %170, i64 0, i64 3
  %172 = load i8, ptr %171, align 1, !tbaa !9
  %173 = icmp ne i8 %172, 0
  br i1 %173, label %174, label %177

174:                                              ; preds = %167
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %175, ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1)
          to label %176 unwind label %143

176:                                              ; preds = %174
  br label %177

177:                                              ; preds = %176, %167
  %178 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %178, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %179 unwind label %143

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

186:                                              ; preds = %179
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %187, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %188 unwind label %143

188:                                              ; preds = %186
  br label %189

189:                                              ; preds = %188, %179
  %190 = load i32, ptr %16, align 4, !tbaa !10
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %191
  %193 = getelementptr inbounds [8 x i8], ptr %192, i64 0, i64 5
  %194 = load i8, ptr %193, align 1, !tbaa !9
  %195 = icmp ne i8 %194, 0
  br i1 %195, label %196, label %199

196:                                              ; preds = %189
  %197 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %197, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1)
          to label %198 unwind label %143

198:                                              ; preds = %196
  br label %199

199:                                              ; preds = %198, %189
  %200 = load i32, ptr %16, align 4, !tbaa !10
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %201
  %203 = getelementptr inbounds [8 x i8], ptr %202, i64 0, i64 6
  %204 = load i8, ptr %203, align 2, !tbaa !9
  %205 = icmp ne i8 %204, 0
  br i1 %205, label %206, label %209

206:                                              ; preds = %199
  %207 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %207, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 1)
          to label %208 unwind label %143

208:                                              ; preds = %206
  br label %209

209:                                              ; preds = %208, %199
  %210 = load i32, ptr %16, align 4, !tbaa !10
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %211
  %213 = getelementptr inbounds [8 x i8], ptr %212, i64 0, i64 7
  %214 = load i8, ptr %213, align 1, !tbaa !9
  %215 = icmp ne i8 %214, 0
  br i1 %215, label %216, label %219

216:                                              ; preds = %209
  %217 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %217, ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1)
          to label %218 unwind label %143

218:                                              ; preds = %216
  br label %219

219:                                              ; preds = %218, %209
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %220, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %221 unwind label %143

221:                                              ; preds = %219
  br label %222

222:                                              ; preds = %221
  %223 = load i32, ptr %16, align 4, !tbaa !10
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %16, align 4, !tbaa !10
  br label %82, !llvm.loop !12

225:                                              ; preds = %85
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3jmpERh(ptr noundef nonnull align 8 dereferenceable(200) %226, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %227 unwind label %290

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

229:                                              ; preds = %227
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gen_clyde128_sboxR4CodeRK3RegS3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %230, 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 %231 unwind label %290

231:                                              ; preds = %229
  %232 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gen_clyde128_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %232, 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 %233 unwind label %290

233:                                              ; preds = %231
  %234 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gen_clyde128_lboxR4CodeRK3RegS3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(200) %234, 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 %235 unwind label %290

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

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

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

241:                                              ; preds = %239
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldlocalERK3Regh(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 @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %244, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %245 unwind label %290

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

247:                                              ; preds = %245
  %248 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7stlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %248, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 0)
          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) %6, 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) %8, 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 @_ZN4Code7ldlocalERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %254, ptr noundef nonnull align 8 dereferenceable(24) %11, i8 noundef zeroext 12)
          to label %255 unwind label %290

255:                                              ; preds = %253
  %256 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldlocalERK3Regh(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 @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %258, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %259 unwind label %290

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

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

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

265:                                              ; preds = %263
  %266 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %266, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %12)
          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) %6, i32 noundef 0)
          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) %7, i32 noundef 4)
          to label %271 unwind label %290

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

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

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

277:                                              ; preds = %275
  %278 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %278, ptr noundef nonnull align 1 dereferenceable(1) %15)
          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
  %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, %143
  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, %127
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %296

296:                                              ; preds = %295, %123
  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, %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  br label %298

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

299:                                              ; preds = %298, %102
  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, %98
  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, %94
  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, %90
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #4
  br label %303

303:                                              ; preds = %302, %86
  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
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) #0 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) #1

; 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) #0 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) #0 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) #1

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

; 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) #2

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

; 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) #0 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)) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3jmpERh(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 1 dereferenceable(1)) #0 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)) #0 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17gen_clyde128_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)) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17gen_clyde128_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)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200)) #0 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) #0 align 2

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

; 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) #0 align 2

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20gen_clyde128_encryptR4Code(ptr noundef nonnull align 8 dereferenceable(200) %0) local_unnamed_addr #0 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, 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 %46

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

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 %48

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 %50

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 %52

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 %54

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 %56

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 %56

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 %56

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 %56

22:                                               ; preds = %21
  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 %23 unwind label %56

23:                                               ; preds = %22
  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 %24 unwind label %56

24:                                               ; preds = %23
  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 %25 unwind label %56

25:                                               ; preds = %24
  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 %26 unwind label %56

26:                                               ; preds = %25
  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 %27 unwind label %58

27:                                               ; preds = %26
  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 %28 unwind label %60

28:                                               ; preds = %27
  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 %29 unwind label %56

29:                                               ; preds = %28
  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 %30 unwind label %63

30:                                               ; preds = %29
  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 %31 unwind label %65

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 %67

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 0)
          to label %33 unwind label %67

33:                                               ; preds = %32
  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 %34 unwind label %67

34:                                               ; preds = %33
  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 %35 unwind label %67

35:                                               ; preds = %34
  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 %36 unwind label %67

36:                                               ; preds = %35
  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 %37 unwind label %67

37:                                               ; preds = %36
  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 %38 unwind label %67

38:                                               ; preds = %37
  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 %39 unwind label %67

39:                                               ; preds = %38
  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) %8)
          to label %40 unwind label %67

40:                                               ; preds = %39
  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 %41 unwind label %67

41:                                               ; preds = %40
  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 %42 unwind label %67

42:                                               ; preds = %41
  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) %8)
          to label %43 unwind label %67

43:                                               ; preds = %42
  invoke void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 2)
          to label %44 unwind label %67

44:                                               ; preds = %43
  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 %69

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

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

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

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

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

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

56:                                               ; preds = %28, %25, %24, %23, %22, %21, %20, %19, %18
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %145

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

60:                                               ; preds = %27
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br label %62

62:                                               ; preds = %60, %58
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  br label %145

63:                                               ; preds = %29
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %144

65:                                               ; preds = %30
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %143

67:                                               ; preds = %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %142

69:                                               ; preds = %44, %106
  %indvars.iv = phi i64 [ 0, %44 ], [ %indvars.iv.next, %106 ]
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %70 unwind label %74

70:                                               ; preds = %69
  %71 = getelementptr inbounds [6 x [8 x i8]], ptr @_ZL2rc, i64 0, i64 %indvars.iv
  %72 = load i8, ptr %71, align 8, !tbaa !5
  %.not = icmp eq i8 %72, 0
  br i1 %.not, label %76, label %73

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

74:                                               ; preds = %105, %104, %100, %96, %92, %88, %87, %83, %79, %73, %69
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %141

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

79:                                               ; preds = %76
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1)
          to label %80 unwind label %74

80:                                               ; preds = %79, %76
  %81 = getelementptr inbounds i8, ptr %71, i64 2
  %82 = load i8, ptr %81, align 2, !tbaa !5
  %.not101 = icmp eq i8 %82, 0
  br i1 %.not101, label %84, label %83

83:                                               ; preds = %80
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1)
          to label %84 unwind label %74

84:                                               ; preds = %83, %80
  %85 = getelementptr inbounds i8, ptr %71, i64 3
  %86 = load i8, ptr %85, align 1, !tbaa !5
  %.not102 = icmp eq i8 %86, 0
  br i1 %.not102, label %88, label %87

87:                                               ; preds = %84
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %88 unwind label %74

88:                                               ; preds = %87, %84
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %89 unwind label %74

89:                                               ; preds = %88
  %90 = getelementptr inbounds i8, ptr %71, i64 4
  %91 = load i8, ptr %90, align 4, !tbaa !5
  %.not103 = icmp eq i8 %91, 0
  br i1 %.not103, 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) %3, i64 noundef 1)
          to label %93 unwind label %74

93:                                               ; preds = %92, %89
  %94 = getelementptr inbounds i8, ptr %71, i64 5
  %95 = load i8, ptr %94, align 1, !tbaa !5
  %.not104 = icmp eq i8 %95, 0
  br i1 %.not104, 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) %4, i64 noundef 1)
          to label %97 unwind label %74

97:                                               ; preds = %96, %93
  %98 = getelementptr inbounds i8, ptr %71, i64 6
  %99 = load i8, ptr %98, align 2, !tbaa !5
  %.not105 = icmp eq i8 %99, 0
  br i1 %.not105, label %101, label %100

100:                                              ; preds = %97
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1)
          to label %101 unwind label %74

101:                                              ; preds = %100, %97
  %102 = getelementptr inbounds i8, ptr %71, i64 7
  %103 = load i8, ptr %102, align 1, !tbaa !5
  %.not106 = icmp eq i8 %103, 0
  br i1 %.not106, label %105, label %104

104:                                              ; preds = %101
  invoke void @_ZN4Code6logxorERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 1)
          to label %105 unwind label %74

105:                                              ; preds = %104, %101
  invoke void @_ZN4Code4callERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %106 unwind label %74

106:                                              ; preds = %105
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 6
  br i1 %exitcond.not, label %45, label %69, !llvm.loop !8

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

108:                                              ; preds = %107
  invoke void @_ZL17gen_clyde128_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 %109 unwind label %139

109:                                              ; preds = %108
  invoke void @_ZL17gen_clyde128_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 %110 unwind label %139

110:                                              ; preds = %109
  invoke void @_ZL17gen_clyde128_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 %111 unwind label %139

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

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

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

114:                                              ; preds = %113
  invoke void @_ZN4Code7ldlocalERK3Regh(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 @_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 %116 unwind label %139

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

117:                                              ; preds = %116
  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 %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) %3, 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) %5, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %120 unwind label %139

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

121:                                              ; preds = %120
  invoke void @_ZN4Code7ldlocalERK3Regh(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 @_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 %123 unwind label %139

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

124:                                              ; preds = %123
  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 %125 unwind label %139

125:                                              ; preds = %124
  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 %126 unwind label %139

126:                                              ; preds = %125
  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 %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) %3, i32 noundef 0)
          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) %4, i32 noundef 4)
          to label %129 unwind label %139

129:                                              ; preds = %128
  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 %130 unwind label %139

130:                                              ; preds = %129
  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 %131 unwind label %139

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

132:                                              ; preds = %131
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %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, %45
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %141

141:                                              ; preds = %139, %74
  %.pn107 = phi { ptr, i32 } [ %75, %74 ], [ %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, %67
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %141 ], [ %68, %67 ]
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %143

143:                                              ; preds = %142, %65
  %.pn107.pn.pn = phi { ptr, i32 } [ %.pn107.pn, %142 ], [ %66, %65 ]
  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, %63
  %.pn107.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn, %143 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  br label %145

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

146:                                              ; preds = %145, %54
  %.pn107.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn, %145 ], [ %55, %54 ]
  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, %52
  %.pn107.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn, %146 ], [ %53, %52 ]
  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, %50
  %.pn107.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn.pn, %147 ], [ %51, %50 ]
  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, %48
  %.pn107.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn.pn.pn, %148 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  br label %150

150:                                              ; preds = %149, %46
  %.pn107.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn.pn.pn.pn.pn.pn.pn, %149 ], [ %47, %46 ]
  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
}

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

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

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 #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) local_unnamed_addr #0 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 #1

; 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 #0 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 #0 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 #1

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

; 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) #2

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

; 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 #0 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 #1

; 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 #0 align 2

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

; 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 #0 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 #0 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17gen_clyde128_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 #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17gen_clyde128_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 #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Code3retEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #0 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 #0 align 2

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

; 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 #0 align 2

attributes #0 = { 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 #1 = { "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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass