; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/examples/aes (aes)

; 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.sc_dt::sc_uint" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_dt::sc_uint_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_value_base" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11AES_Decrypt5dmul9EN5sc_dt7sc_uintILi8EEE(ptr dead_on_unwind noalias writable sret(%"class.sc_dt::sc_uint") align 8 %0, ptr noundef nonnull align 8 dereferenceable(6512) %1, ptr noundef %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %10 = load ptr, ptr %5, align 8
  store i1 false, ptr %7, align 1
  call void @_ZN5sc_dt7sc_uintILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %11 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %12 unwind label %169

12:                                               ; preds = %3
  %13 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %14 unwind label %169

14:                                               ; preds = %12
  %15 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 0)
          to label %16 unwind label %169

16:                                               ; preds = %14
  %17 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %18 unwind label %169

18:                                               ; preds = %16
  %19 = xor i64 %13, %17
  %20 = icmp ne i64 %19, 0
  %21 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 0)
          to label %22 unwind label %169

22:                                               ; preds = %18
  %23 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %21, i1 noundef zeroext %20)
          to label %24 unwind label %169

24:                                               ; preds = %22
  %25 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %26 unwind label %169

26:                                               ; preds = %24
  %27 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %28 unwind label %169

28:                                               ; preds = %26
  %29 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %30 unwind label %169

30:                                               ; preds = %28
  %31 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %32 unwind label %169

32:                                               ; preds = %30
  %33 = xor i64 %27, %31
  %34 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 1)
          to label %35 unwind label %169

35:                                               ; preds = %32
  %36 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %37 unwind label %169

37:                                               ; preds = %35
  %38 = xor i64 %33, %36
  %39 = icmp ne i64 %38, 0
  %40 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 1)
          to label %41 unwind label %169

41:                                               ; preds = %37
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %40, i1 noundef zeroext %39)
          to label %43 unwind label %169

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %45 unwind label %169

45:                                               ; preds = %43
  %46 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %47 unwind label %169

47:                                               ; preds = %45
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %49 unwind label %169

49:                                               ; preds = %47
  %50 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %51 unwind label %169

51:                                               ; preds = %49
  %52 = xor i64 %46, %50
  %53 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 2)
          to label %54 unwind label %169

54:                                               ; preds = %51
  %55 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %53)
          to label %56 unwind label %169

56:                                               ; preds = %54
  %57 = xor i64 %52, %55
  %58 = icmp ne i64 %57, 0
  %59 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 2)
          to label %60 unwind label %169

60:                                               ; preds = %56
  %61 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %59, i1 noundef zeroext %58)
          to label %62 unwind label %169

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 0)
          to label %64 unwind label %169

64:                                               ; preds = %62
  %65 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %63)
          to label %66 unwind label %169

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %68 unwind label %169

68:                                               ; preds = %66
  %69 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %67)
          to label %70 unwind label %169

70:                                               ; preds = %68
  %71 = xor i64 %65, %69
  %72 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %73 unwind label %169

73:                                               ; preds = %70
  %74 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %75 unwind label %169

75:                                               ; preds = %73
  %76 = xor i64 %71, %74
  %77 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 3)
          to label %78 unwind label %169

78:                                               ; preds = %75
  %79 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %77)
          to label %80 unwind label %169

80:                                               ; preds = %78
  %81 = xor i64 %76, %79
  %82 = icmp ne i64 %81, 0
  %83 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 3)
          to label %84 unwind label %169

84:                                               ; preds = %80
  %85 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %83, i1 noundef zeroext %82)
          to label %86 unwind label %169

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 1)
          to label %88 unwind label %169

88:                                               ; preds = %86
  %89 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %87)
          to label %90 unwind label %169

90:                                               ; preds = %88
  %91 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %92 unwind label %169

92:                                               ; preds = %90
  %93 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %91)
          to label %94 unwind label %169

94:                                               ; preds = %92
  %95 = xor i64 %89, %93
  %96 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %97 unwind label %169

97:                                               ; preds = %94
  %98 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %96)
          to label %99 unwind label %169

99:                                               ; preds = %97
  %100 = xor i64 %95, %98
  %101 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 4)
          to label %102 unwind label %169

102:                                              ; preds = %99
  %103 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %101)
          to label %104 unwind label %169

104:                                              ; preds = %102
  %105 = xor i64 %100, %103
  %106 = icmp ne i64 %105, 0
  %107 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 4)
          to label %108 unwind label %169

108:                                              ; preds = %104
  %109 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %107, i1 noundef zeroext %106)
          to label %110 unwind label %169

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %112 unwind label %169

112:                                              ; preds = %110
  %113 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %111)
          to label %114 unwind label %169

114:                                              ; preds = %112
  %115 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 2)
          to label %116 unwind label %169

116:                                              ; preds = %114
  %117 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %115)
          to label %118 unwind label %169

118:                                              ; preds = %116
  %119 = xor i64 %113, %117
  %120 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %121 unwind label %169

121:                                              ; preds = %118
  %122 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %120)
          to label %123 unwind label %169

123:                                              ; preds = %121
  %124 = xor i64 %119, %122
  %125 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %126 unwind label %169

126:                                              ; preds = %123
  %127 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %125)
          to label %128 unwind label %169

128:                                              ; preds = %126
  %129 = xor i64 %124, %127
  %130 = icmp ne i64 %129, 0
  %131 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 5)
          to label %132 unwind label %169

132:                                              ; preds = %128
  %133 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %131, i1 noundef zeroext %130)
          to label %134 unwind label %169

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %136 unwind label %169

136:                                              ; preds = %134
  %137 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %135)
          to label %138 unwind label %169

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 3)
          to label %140 unwind label %169

140:                                              ; preds = %138
  %141 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %139)
          to label %142 unwind label %169

142:                                              ; preds = %140
  %143 = xor i64 %137, %141
  %144 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %145 unwind label %169

145:                                              ; preds = %142
  %146 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %144)
          to label %147 unwind label %169

147:                                              ; preds = %145
  %148 = xor i64 %143, %146
  %149 = icmp ne i64 %148, 0
  %150 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 6)
          to label %151 unwind label %169

151:                                              ; preds = %147
  %152 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %150, i1 noundef zeroext %149)
          to label %153 unwind label %169

153:                                              ; preds = %151
  %154 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 4)
          to label %155 unwind label %169

155:                                              ; preds = %153
  %156 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %154)
          to label %157 unwind label %169

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %159 unwind label %169

159:                                              ; preds = %157
  %160 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %158)
          to label %161 unwind label %169

161:                                              ; preds = %159
  %162 = xor i64 %156, %160
  %163 = icmp ne i64 %162, 0
  %164 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 7)
          to label %165 unwind label %169

165:                                              ; preds = %161
  %166 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %164, i1 noundef zeroext %163)
          to label %167 unwind label %169

167:                                              ; preds = %165
  store i1 true, ptr %7, align 1
  %168 = load i1, ptr %7, align 1
  br i1 %168, label %174, label %173

169:                                              ; preds = %165, %161, %159, %157, %155, %153, %151, %147, %145, %142, %140, %138, %136, %134, %132, %128, %126, %123, %121, %118, %116, %114, %112, %110, %108, %104, %102, %99, %97, %94, %92, %90, %88, %86, %84, %80, %78, %75, %73, %70, %68, %66, %64, %62, %60, %56, %54, %51, %49, %47, %45, %43, %41, %37, %35, %32, %30, %28, %26, %24, %22, %18, %16, %14, %12, %3
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %8, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %9, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  br label %175

173:                                              ; preds = %167
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  br label %174

174:                                              ; preds = %173, %167
  ret void

175:                                              ; preds = %169
  %176 = load ptr, ptr %8, align 8
  %177 = load i32, ptr %9, align 4
  %178 = insertvalue { ptr, i32 } poison, ptr %176, 0
  %179 = insertvalue { ptr, i32 } %178, i32 %177, 1
  resume { ptr, i32 } %179
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 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 = { inlinehint 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 = { 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 #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; 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.sc_dt::sc_uint" = type { %"class.sc_dt::sc_uint_base" }
%"class.sc_dt::sc_uint_base" = type { %"class.sc_dt::sc_value_base", i64, i32, i32 }
%"class.sc_dt::sc_value_base" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11AES_Decrypt5dmul9EN5sc_dt7sc_uintILi8EEE(ptr dead_on_unwind noalias nonnull writable sret(%"class.sc_dt::sc_uint") align 8 %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(6512) %1, ptr noundef %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN5sc_dt7sc_uintILi8EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %4 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %5 unwind label %152

5:                                                ; preds = %3
  %6 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %7 unwind label %152

7:                                                ; preds = %5
  %8 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 0)
          to label %9 unwind label %152

9:                                                ; preds = %7
  %10 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %11 unwind label %152

11:                                               ; preds = %9
  %12 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 0)
          to label %13 unwind label %152

13:                                               ; preds = %11
  %14 = icmp ne i64 %6, %10
  %15 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %12, i1 noundef zeroext %14)
          to label %16 unwind label %152

16:                                               ; preds = %13
  %17 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %18 unwind label %152

18:                                               ; preds = %16
  %19 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %20 unwind label %152

20:                                               ; preds = %18
  %21 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %22 unwind label %152

22:                                               ; preds = %20
  %23 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %24 unwind label %152

24:                                               ; preds = %22
  %25 = xor i64 %23, %19
  %26 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 1)
          to label %27 unwind label %152

27:                                               ; preds = %24
  %28 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %29 unwind label %152

29:                                               ; preds = %27
  %30 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 1)
          to label %31 unwind label %152

31:                                               ; preds = %29
  %32 = icmp ne i64 %25, %28
  %33 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %30, i1 noundef zeroext %32)
          to label %34 unwind label %152

34:                                               ; preds = %31
  %35 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %36 unwind label %152

36:                                               ; preds = %34
  %37 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %38 unwind label %152

38:                                               ; preds = %36
  %39 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %40 unwind label %152

40:                                               ; preds = %38
  %41 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %42 unwind label %152

42:                                               ; preds = %40
  %43 = xor i64 %41, %37
  %44 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 2)
          to label %45 unwind label %152

45:                                               ; preds = %42
  %46 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %47 unwind label %152

47:                                               ; preds = %45
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 2)
          to label %49 unwind label %152

49:                                               ; preds = %47
  %50 = icmp ne i64 %43, %46
  %51 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %48, i1 noundef zeroext %50)
          to label %52 unwind label %152

52:                                               ; preds = %49
  %53 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 0)
          to label %54 unwind label %152

54:                                               ; preds = %52
  %55 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %53)
          to label %56 unwind label %152

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %58 unwind label %152

58:                                               ; preds = %56
  %59 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %57)
          to label %60 unwind label %152

60:                                               ; preds = %58
  %61 = xor i64 %59, %55
  %62 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %63 unwind label %152

63:                                               ; preds = %60
  %64 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %62)
          to label %65 unwind label %152

65:                                               ; preds = %63
  %66 = xor i64 %61, %64
  %67 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 3)
          to label %68 unwind label %152

68:                                               ; preds = %65
  %69 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %67)
          to label %70 unwind label %152

70:                                               ; preds = %68
  %71 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 3)
          to label %72 unwind label %152

72:                                               ; preds = %70
  %73 = icmp ne i64 %66, %69
  %74 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %71, i1 noundef zeroext %73)
          to label %75 unwind label %152

75:                                               ; preds = %72
  %76 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 1)
          to label %77 unwind label %152

77:                                               ; preds = %75
  %78 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %76)
          to label %79 unwind label %152

79:                                               ; preds = %77
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %81 unwind label %152

81:                                               ; preds = %79
  %82 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %80)
          to label %83 unwind label %152

83:                                               ; preds = %81
  %84 = xor i64 %82, %78
  %85 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %86 unwind label %152

86:                                               ; preds = %83
  %87 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %85)
          to label %88 unwind label %152

88:                                               ; preds = %86
  %89 = xor i64 %84, %87
  %90 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 4)
          to label %91 unwind label %152

91:                                               ; preds = %88
  %92 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %93 unwind label %152

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 4)
          to label %95 unwind label %152

95:                                               ; preds = %93
  %96 = icmp ne i64 %89, %92
  %97 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %94, i1 noundef zeroext %96)
          to label %98 unwind label %152

98:                                               ; preds = %95
  %99 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %100 unwind label %152

100:                                              ; preds = %98
  %101 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %99)
          to label %102 unwind label %152

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 2)
          to label %104 unwind label %152

104:                                              ; preds = %102
  %105 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %103)
          to label %106 unwind label %152

106:                                              ; preds = %104
  %107 = xor i64 %105, %101
  %108 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %109 unwind label %152

109:                                              ; preds = %106
  %110 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %108)
          to label %111 unwind label %152

111:                                              ; preds = %109
  %112 = xor i64 %107, %110
  %113 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 5)
          to label %114 unwind label %152

114:                                              ; preds = %111
  %115 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %113)
          to label %116 unwind label %152

116:                                              ; preds = %114
  %117 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 5)
          to label %118 unwind label %152

118:                                              ; preds = %116
  %119 = icmp ne i64 %112, %115
  %120 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %117, i1 noundef zeroext %119)
          to label %121 unwind label %152

121:                                              ; preds = %118
  %122 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %123 unwind label %152

123:                                              ; preds = %121
  %124 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %122)
          to label %125 unwind label %152

125:                                              ; preds = %123
  %126 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 3)
          to label %127 unwind label %152

127:                                              ; preds = %125
  %128 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %126)
          to label %129 unwind label %152

129:                                              ; preds = %127
  %130 = xor i64 %128, %124
  %131 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 6)
          to label %132 unwind label %152

132:                                              ; preds = %129
  %133 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %131)
          to label %134 unwind label %152

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 6)
          to label %136 unwind label %152

136:                                              ; preds = %134
  %137 = icmp ne i64 %130, %133
  %138 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %135, i1 noundef zeroext %137)
          to label %139 unwind label %152

139:                                              ; preds = %136
  %140 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 4)
          to label %141 unwind label %152

141:                                              ; preds = %139
  %142 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %140)
          to label %143 unwind label %152

143:                                              ; preds = %141
  %144 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef 7)
          to label %145 unwind label %152

145:                                              ; preds = %143
  %146 = invoke noundef i64 @_ZNK5sc_dt16sc_uint_bitref_rcvyEv(ptr noundef nonnull align 8 dereferenceable(24) %144)
          to label %147 unwind label %152

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 7)
          to label %149 unwind label %152

149:                                              ; preds = %147
  %150 = icmp ne i64 %142, %146
  %151 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %148, i1 noundef zeroext %150)
          to label %154 unwind label %152

152:                                              ; preds = %149, %147, %145, %143, %141, %139, %136, %134, %132, %129, %127, %125, %123, %121, %118, %116, %114, %111, %109, %106, %104, %102, %100, %98, %95, %93, %91, %88, %86, %83, %81, %79, %77, %75, %72, %70, %68, %65, %63, %60, %58, %56, %54, %52, %49, %47, %45, %42, %40, %38, %36, %34, %31, %29, %27, %24, %22, %20, %18, %16, %13, %11, %9, %7, %5, %3
  %153 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  resume { ptr, i32 } %153

154:                                              ; preds = %149
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5sc_dt12sc_uint_baseixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 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 = { inlinehint 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 = { 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 #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass