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

; 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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.2 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #2

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

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

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

declare void @_ZN4Code3subERK3Regyb(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) #2

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

22:                                               ; preds = %1
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %23, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 76)
          to label %24 unwind label %49

24:                                               ; preds = %22
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4moveERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %25, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 240)
          to label %26 unwind label %49

26:                                               ; preds = %24
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code8stz_zeroEjj(ptr noundef nonnull align 8 dereferenceable(200) %27, i32 noundef 40, i32 noundef 16)
          to label %28 unwind label %49

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #4
  %29 = 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) %29, i32 noundef 8)
          to label %30 unwind label %53

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #4
  %31 = 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) %31, i32 noundef 8)
          to label %32 unwind label %57

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

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

36:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  store i8 0, ptr %9, align 1, !tbaa !9
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %37, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %38 unwind label %65

38:                                               ; preds = %36
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %39, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %40 unwind label %65

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !10
  br label %41

41:                                               ; preds = %79, %40
  %42 = load i32, ptr %10, align 4, !tbaa !10
  %43 = icmp slt i32 %42, 8
  br i1 %43, label %69, label %44

44:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %96

45:                                               ; preds = %1
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %5, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %6, align 4
  br label %208

49:                                               ; preds = %26, %24, %22
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %5, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %6, align 4
  br label %207

53:                                               ; preds = %28
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  br label %206

57:                                               ; preds = %30
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  br label %205

61:                                               ; preds = %34, %32
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %5, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %6, align 4
  br label %204

65:                                               ; preds = %104, %102, %100, %98, %96, %38, %36
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %5, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %6, align 4
  br label %203

69:                                               ; preds = %41
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = load i32, ptr %10, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #4
  %72 = load i32, ptr %10, align 4, !tbaa !10
  %73 = trunc i32 %72 to i8
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %7, i8 noundef zeroext %73, i8 noundef zeroext 1)
          to label %74 unwind label %82

74:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #4
  %75 = load i32, ptr %10, align 4, !tbaa !10
  %76 = trunc i32 %75 to i8
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext %76, i8 noundef zeroext 1)
          to label %77 unwind label %86

77:                                               ; preds = %74
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %70, i32 noundef %71, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %78 unwind label %90

78:                                               ; preds = %77
  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
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %10, align 4, !tbaa !10
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %10, align 4, !tbaa !10
  br label %41, !llvm.loop !12

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

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

90:                                               ; preds = %77
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %5, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %6, align 4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %94

94:                                               ; preds = %90, %86
  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 %95

95:                                               ; preds = %94, %82
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %203

96:                                               ; preds = %44
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %97, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 1, i32 noundef 61, i32 noundef 38)
          to label %98 unwind label %65

98:                                               ; preds = %96
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %99, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef 2, i32 noundef 1, i32 noundef 6)
          to label %100 unwind label %65

100:                                              ; preds = %98
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %101, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 3, i32 noundef 10, i32 noundef 17)
          to label %102 unwind label %65

102:                                              ; preds = %100
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %103, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 4, i32 noundef 7, i32 noundef 40)
          to label %104 unwind label %65

104:                                              ; preds = %102
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %105, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 0, i32 noundef 19, i32 noundef 28)
          to label %106 unwind label %65

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

108:                                              ; preds = %106
  %109 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %109, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 40)
          to label %110 unwind label %161

110:                                              ; preds = %108
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %7, i8 noundef zeroext 0, i8 noundef zeroext 4)
          to label %112 unwind label %165

112:                                              ; preds = %110
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %111, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %113 unwind label %169

113:                                              ; preds = %112
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #4
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 4, i8 noundef zeroext 4)
          to label %115 unwind label %174

115:                                              ; preds = %113
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %114, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %116 unwind label %178

116:                                              ; preds = %115
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #4
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %117, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 40)
          to label %118 unwind label %161

118:                                              ; preds = %116
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %119, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 44)
          to label %120 unwind label %161

120:                                              ; preds = %118
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %7, i8 noundef zeroext 4, i8 noundef zeroext 4)
          to label %122 unwind label %183

122:                                              ; preds = %120
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %121, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %123 unwind label %187

123:                                              ; preds = %122
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #4
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %124, ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 24)
          to label %125 unwind label %161

125:                                              ; preds = %123
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %126, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 44)
          to label %127 unwind label %161

127:                                              ; preds = %125
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %128, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 48)
          to label %129 unwind label %161

129:                                              ; preds = %127
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %130, ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 8)
          to label %131 unwind label %161

131:                                              ; preds = %129
  %132 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %132, ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 28)
          to label %133 unwind label %161

133:                                              ; preds = %131
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %134, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 48)
          to label %135 unwind label %161

135:                                              ; preds = %133
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %136, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 52)
          to label %137 unwind label %161

137:                                              ; preds = %135
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %138, ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 12)
          to label %139 unwind label %161

139:                                              ; preds = %137
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 0, i8 noundef zeroext 4)
          to label %141 unwind label %192

141:                                              ; preds = %139
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %140, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %142 unwind label %196

142:                                              ; preds = %141
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  %143 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %143, ptr noundef nonnull align 8 dereferenceable(24) %13, i8 noundef zeroext 52)
          to label %144 unwind label %161

144:                                              ; preds = %142
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code10releaseRegERK3Reg(ptr noundef nonnull align 8 dereferenceable(200) %145, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %146 unwind label %161

146:                                              ; preds = %144
  %147 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3subERK3Regyb(ptr noundef nonnull align 8 dereferenceable(200) %147, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 15, i1 noundef zeroext false)
          to label %148 unwind label %161

148:                                              ; preds = %146
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3decERK3Reg(ptr noundef nonnull align 8 dereferenceable(200) %149, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %150 unwind label %161

150:                                              ; preds = %148
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code4brneERh(ptr noundef nonnull align 8 dereferenceable(200) %151, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %152 unwind label %161

152:                                              ; preds = %150
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %153, ptr noundef nonnull align 8 dereferenceable(24) %7, i8 noundef zeroext 0)
          to label %154 unwind label %161

154:                                              ; preds = %152
  %155 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %155, ptr noundef nonnull align 8 dereferenceable(24) %8, i8 noundef zeroext 16)
          to label %156 unwind label %161

156:                                              ; preds = %154
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, 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) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #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

157:                                              ; preds = %106
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %5, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %6, align 4
  br label %202

161:                                              ; preds = %154, %152, %150, %148, %146, %144, %142, %137, %135, %133, %131, %129, %127, %125, %123, %118, %116, %108
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %5, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %6, align 4
  br label %201

165:                                              ; preds = %110
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %5, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %6, align 4
  br label %173

169:                                              ; preds = %112
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %5, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %6, align 4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  br label %173

173:                                              ; preds = %169, %165
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #4
  br label %201

174:                                              ; preds = %113
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %5, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %6, align 4
  br label %182

178:                                              ; preds = %115
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %5, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %6, align 4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  br label %182

182:                                              ; preds = %178, %174
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #4
  br label %201

183:                                              ; preds = %120
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %5, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %6, align 4
  br label %191

187:                                              ; preds = %122
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %5, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %6, align 4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  br label %191

191:                                              ; preds = %187, %183
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #4
  br label %201

192:                                              ; preds = %139
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %5, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %6, align 4
  br label %200

196:                                              ; preds = %141
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %5, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %6, align 4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  br label %201

201:                                              ; preds = %200, %191, %182, %173, %161
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  br label %202

202:                                              ; preds = %201, %157
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  br label %203

203:                                              ; preds = %202, %95, %65
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  br label %204

204:                                              ; preds = %203, %61
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %205

205:                                              ; preds = %204, %57
  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 %206

206:                                              ; preds = %205, %53
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #4
  br label %207

207:                                              ; preds = %206, %49
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  br label %208

208:                                              ; preds = %207, %45
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #4
  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 %209

209:                                              ; preds = %208
  %210 = load ptr, ptr %5, align 8
  %211 = load i32, ptr %6, align 4
  %212 = insertvalue { ptr, i32 } poison, ptr %210, 0
  %213 = insertvalue { ptr, i32 } %212, i32 %211, 1
  resume { ptr, i32 } %213
}

declare void @_ZN4Code20prologue_permutationEPKcj(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, i32 noundef) #2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.2 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #2

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

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

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

declare void @_ZN4Code3subERK3Regyb(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18gen_drysponge128_gR4Code(ptr noundef nonnull align 8 dereferenceable(200) %0) local_unnamed_addr #1 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 i8, align 1
  %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 %class.Reg, align 8
  tail call void @_ZN4Code20prologue_permutationEPKcj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull @.str.2, i32 noundef 0)
  tail call void @_ZN4Code7setFlagENS_4FlagE(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 32)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
  call void @_ZN4Code15allocateHighRegEj(ptr dead_on_unwind nonnull writable sret(%class.Reg) align 8 %2, ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 1)
  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 1)
          to label %14 unwind label %23

14:                                               ; preds = %1
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3, i8 noundef zeroext 76)
          to label %15 unwind label %25

15:                                               ; preds = %14
  invoke void @_ZN4Code4moveERK3Regy(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 240)
          to label %16 unwind label %25

16:                                               ; preds = %15
  invoke void @_ZN4Code8stz_zeroEjj(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 40, i32 noundef 16)
          to label %17 unwind label %25

17:                                               ; preds = %16
  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 8)
          to label %18 unwind label %27

18:                                               ; preds = %17
  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 8)
          to label %19 unwind label %29

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

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

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4
  store i8 0, ptr %6, align 1, !tbaa !5
  invoke void @_ZN4Code5labelERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %22 unwind label %33

22:                                               ; preds = %21
  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) %2)
          to label %.preheader.preheader unwind label %33

.preheader.preheader:                             ; preds = %22
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 0, i8 noundef zeroext 1)
          to label %35 unwind label %52

23:                                               ; preds = %1
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %123

25:                                               ; preds = %16, %15, %14
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %122

27:                                               ; preds = %17
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %121

29:                                               ; preds = %18
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %120

31:                                               ; preds = %20, %19
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %119

33:                                               ; preds = %63, %62, %61, %60, %51, %22, %21
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %118

35:                                               ; preds = %.preheader.preheader
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 0, i8 noundef zeroext 1)
          to label %36 unwind label %54

36:                                               ; preds = %35
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader.1 unwind label %56

.preheader.1:                                     ; preds = %36
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 1, i8 noundef zeroext 1)
          to label %37 unwind label %52

37:                                               ; preds = %.preheader.1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 1, i8 noundef zeroext 1)
          to label %38 unwind label %54

38:                                               ; preds = %37
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader.2 unwind label %56

.preheader.2:                                     ; preds = %38
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 2, i8 noundef zeroext 1)
          to label %39 unwind label %52

39:                                               ; preds = %.preheader.2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 2, i8 noundef zeroext 1)
          to label %40 unwind label %54

40:                                               ; preds = %39
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader.3 unwind label %56

.preheader.3:                                     ; preds = %40
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 3, i8 noundef zeroext 1)
          to label %41 unwind label %52

41:                                               ; preds = %.preheader.3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 3, i8 noundef zeroext 1)
          to label %42 unwind label %54

42:                                               ; preds = %41
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 3, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader.4 unwind label %56

.preheader.4:                                     ; preds = %42
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 4, i8 noundef zeroext 1)
          to label %43 unwind label %52

43:                                               ; preds = %.preheader.4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 4, i8 noundef zeroext 1)
          to label %44 unwind label %54

44:                                               ; preds = %43
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 4, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader.5 unwind label %56

.preheader.5:                                     ; preds = %44
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 5, i8 noundef zeroext 1)
          to label %45 unwind label %52

45:                                               ; preds = %.preheader.5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 5, i8 noundef zeroext 1)
          to label %46 unwind label %54

46:                                               ; preds = %45
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 5, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader.6 unwind label %56

.preheader.6:                                     ; preds = %46
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 6, i8 noundef zeroext 1)
          to label %47 unwind label %52

47:                                               ; preds = %.preheader.6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 6, i8 noundef zeroext 1)
          to label %48 unwind label %54

48:                                               ; preds = %47
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %.preheader.7 unwind label %56

.preheader.7:                                     ; preds = %48
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 7, i8 noundef zeroext 1)
          to label %49 unwind label %52

49:                                               ; preds = %.preheader.7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 7, i8 noundef zeroext 1)
          to label %50 unwind label %54

50:                                               ; preds = %49
  invoke void @_ZL20gascon128_substituteR4CodeiRK3RegS3_(ptr noundef nonnull align 8 dereferenceable(200) %0, i32 noundef 7, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %51 unwind label %56

51:                                               ; preds = %50
  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) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 61, i32 noundef 38)
          to label %60 unwind label %33

52:                                               ; preds = %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %59

54:                                               ; preds = %49, %47, %45, %43, %41, %39, %37, %35
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %58

56:                                               ; preds = %50, %48, %46, %44, %42, %40, %38, %36
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %58

58:                                               ; preds = %56, %54
  %.pn73 = phi { ptr, i32 } [ %57, %56 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br label %59

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

60:                                               ; preds = %51
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef 2, i32 noundef 1, i32 noundef 6)
          to label %61 unwind label %33

61:                                               ; preds = %60
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 3, i32 noundef 10, i32 noundef 17)
          to label %62 unwind label %33

62:                                               ; preds = %61
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 4, i32 noundef 7, i32 noundef 40)
          to label %63 unwind label %33

63:                                               ; preds = %62
  invoke void @_ZL17gascon128_diffuseR4CodeRK3Regiii(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 0, i32 noundef 19, i32 noundef 28)
          to label %64 unwind label %33

64:                                               ; preds = %63
  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 %65 unwind label %92

65:                                               ; preds = %64
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 40)
          to label %66 unwind label %94

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 0, i8 noundef zeroext 4)
          to label %67 unwind label %96

67:                                               ; preds = %66
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %68 unwind label %98

68:                                               ; preds = %67
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 4, i8 noundef zeroext 4)
          to label %69 unwind label %101

69:                                               ; preds = %68
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %70 unwind label %103

70:                                               ; preds = %69
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 40)
          to label %71 unwind label %94

71:                                               ; preds = %70
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 44)
          to label %72 unwind label %94

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 4, i8 noundef zeroext 4)
          to label %73 unwind label %106

73:                                               ; preds = %72
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %74 unwind label %108

74:                                               ; preds = %73
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 24)
          to label %75 unwind label %94

75:                                               ; preds = %74
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 44)
          to label %76 unwind label %94

76:                                               ; preds = %75
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 48)
          to label %77 unwind label %94

77:                                               ; preds = %76
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 8)
          to label %78 unwind label %94

78:                                               ; preds = %77
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 28)
          to label %79 unwind label %94

79:                                               ; preds = %78
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 48)
          to label %80 unwind label %94

80:                                               ; preds = %79
  invoke void @_ZN4Code3ldzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 52)
          to label %81 unwind label %94

81:                                               ; preds = %80
  invoke void @_ZN4Code7ldz_xorERK3Regj(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef 12)
          to label %82 unwind label %94

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #4
  invoke void @_ZN3RegC1ERKS_hh(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 0, i8 noundef zeroext 4)
          to label %83 unwind label %111

83:                                               ; preds = %82
  invoke void @_ZN4Code6logxorERK3RegS2_(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %84 unwind label %113

84:                                               ; preds = %83
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9, i8 noundef zeroext 52)
          to label %85 unwind label %94

85:                                               ; preds = %84
  invoke void @_ZN4Code10releaseRegERK3Reg(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %86 unwind label %94

86:                                               ; preds = %85
  invoke void @_ZN4Code3subERK3Regyb(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 15, i1 noundef zeroext false)
          to label %87 unwind label %94

87:                                               ; preds = %86
  invoke void @_ZN4Code3decERK3Reg(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %88 unwind label %94

88:                                               ; preds = %87
  invoke void @_ZN4Code4brneERh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %89 unwind label %94

89:                                               ; preds = %88
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %4, i8 noundef zeroext 0)
          to label %90 unwind label %94

90:                                               ; preds = %89
  invoke void @_ZN4Code3stzERK3Regh(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef nonnull align 8 dereferenceable(24) %5, i8 noundef zeroext 16)
          to label %91 unwind label %94

91:                                               ; preds = %90
  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 @llvm.lifetime.end.p0(i64 1, 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

92:                                               ; preds = %64
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %117

94:                                               ; preds = %90, %89, %88, %87, %86, %85, %84, %81, %80, %79, %78, %77, %76, %75, %74, %71, %70, %65
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %116

96:                                               ; preds = %66
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %67
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %100

100:                                              ; preds = %98, %96
  %.pn = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  br label %116

101:                                              ; preds = %68
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %105

103:                                              ; preds = %69
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br label %105

105:                                              ; preds = %103, %101
  %.pn64 = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  br label %116

106:                                              ; preds = %72
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %110

108:                                              ; preds = %73
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %110

110:                                              ; preds = %108, %106
  %.pn66 = phi { ptr, i32 } [ %109, %108 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  br label %116

111:                                              ; preds = %82
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %115

113:                                              ; preds = %83
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  br label %115

115:                                              ; preds = %113, %111
  %.pn68 = phi { ptr, i32 } [ %114, %113 ], [ %112, %111 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  br label %116

116:                                              ; preds = %115, %110, %105, %100, %94
  %.pn70 = phi { ptr, i32 } [ %95, %94 ], [ %.pn68, %115 ], [ %.pn66, %110 ], [ %.pn64, %105 ], [ %.pn, %100 ]
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %117

117:                                              ; preds = %116, %92
  %.pn70.pn = phi { ptr, i32 } [ %.pn70, %116 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  br label %118

118:                                              ; preds = %117, %59, %33
  %.pn73.pn.pn = phi { ptr, i32 } [ %.pn73.pn, %59 ], [ %.pn70.pn, %117 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  br label %119

119:                                              ; preds = %118, %31
  %.pn73.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn, %118 ], [ %32, %31 ]
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %120

120:                                              ; preds = %119, %29
  %.pn73.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn.pn, %119 ], [ %30, %29 ]
  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 %121

121:                                              ; preds = %120, %27
  %.pn73.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn.pn.pn, %120 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  br label %122

122:                                              ; preds = %121, %25
  %.pn73.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn.pn.pn.pn, %121 ], [ %26, %25 ]
  call void @_ZN3RegD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  br label %123

123:                                              ; preds = %122, %23
  %.pn73.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn.pn.pn.pn.pn, %122 ], [ %24, %23 ]
  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
  resume { ptr, i32 } %.pn73.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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"}


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