; 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: 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 uwtable
define dso_local void @_ZN11AES_Encrypt5dmul3EN5sc_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 7)
          to label %12 unwind label %139

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

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

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

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

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

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 0)
          to label %26 unwind label %139

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

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 7)
          to label %30 unwind label %139

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

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

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

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

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

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 1)
          to label %45 unwind label %139

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

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 2)
          to label %49 unwind label %139

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

51:                                               ; preds = %49
  %52 = xor i64 %46, %50
  %53 = icmp ne i64 %52, 0
  %54 = 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 %55 unwind label %139

55:                                               ; preds = %51
  %56 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %54, i1 noundef zeroext %53)
          to label %57 unwind label %139

57:                                               ; preds = %55
  %58 = 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 %59 unwind label %139

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

61:                                               ; preds = %59
  %62 = 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 %63 unwind label %139

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

65:                                               ; preds = %63
  %66 = xor i64 %60, %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 %139

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

70:                                               ; preds = %68
  %71 = xor i64 %66, %69
  %72 = icmp ne i64 %71, 0
  %73 = 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 %74 unwind label %139

74:                                               ; preds = %70
  %75 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %73, i1 noundef zeroext %72)
          to label %76 unwind label %139

76:                                               ; preds = %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 %139

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

80:                                               ; preds = %78
  %81 = 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 %82 unwind label %139

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

84:                                               ; preds = %82
  %85 = xor i64 %79, %83
  %86 = 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 %87 unwind label %139

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

89:                                               ; preds = %87
  %90 = xor i64 %85, %88
  %91 = icmp ne i64 %90, 0
  %92 = 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 %93 unwind label %139

93:                                               ; preds = %89
  %94 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %92, i1 noundef zeroext %91)
          to label %95 unwind label %139

95:                                               ; preds = %93
  %96 = 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 %97 unwind label %139

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

99:                                               ; preds = %97
  %100 = 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 %101 unwind label %139

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

103:                                              ; preds = %101
  %104 = xor i64 %98, %102
  %105 = icmp ne i64 %104, 0
  %106 = 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 %107 unwind label %139

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

109:                                              ; preds = %107
  %110 = 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 %111 unwind label %139

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

113:                                              ; preds = %111
  %114 = 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 %115 unwind label %139

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

117:                                              ; preds = %115
  %118 = xor i64 %112, %116
  %119 = icmp ne i64 %118, 0
  %120 = 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 %121 unwind label %139

121:                                              ; preds = %117
  %122 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %120, i1 noundef zeroext %119)
          to label %123 unwind label %139

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

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

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

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

131:                                              ; preds = %129
  %132 = xor i64 %126, %130
  %133 = icmp ne i64 %132, 0
  %134 = 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 %135 unwind label %139

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

137:                                              ; preds = %135
  store i1 true, ptr %7, align 1
  %138 = load i1, ptr %7, align 1
  br i1 %138, label %144, label %143

139:                                              ; preds = %135, %131, %129, %127, %125, %123, %121, %117, %115, %113, %111, %109, %107, %103, %101, %99, %97, %95, %93, %89, %87, %84, %82, %80, %78, %76, %74, %70, %68, %65, %63, %61, %59, %57, %55, %51, %49, %47, %45, %43, %41, %37, %35, %32, %30, %28, %26, %24, %22, %18, %16, %14, %12, %3
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %8, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %9, align 4
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  br label %145

143:                                              ; preds = %137
  call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  br label %144

144:                                              ; preds = %143, %137
  ret void

145:                                              ; preds = %139
  %146 = load ptr, ptr %8, align 8
  %147 = load i32, ptr %9, align 4
  %148 = insertvalue { ptr, i32 } poison, ptr %146, 0
  %149 = insertvalue { ptr, i32 } %148, i32 %147, 1
  resume { ptr, i32 } %149
}

; 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: 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 uwtable
define dso_local void @_ZN11AES_Encrypt5dmul3EN5sc_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 7)
          to label %5 unwind label %122

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

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

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

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

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

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 0)
          to label %18 unwind label %122

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

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 7)
          to label %22 unwind label %122

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

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

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

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

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

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 1)
          to label %36 unwind label %122

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

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 2)
          to label %40 unwind label %122

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

42:                                               ; preds = %40
  %43 = 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 %44 unwind label %122

44:                                               ; preds = %42
  %45 = icmp ne i64 %37, %41
  %46 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %43, i1 noundef zeroext %45)
          to label %47 unwind label %122

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

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

51:                                               ; preds = %49
  %52 = 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 %53 unwind label %122

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

55:                                               ; preds = %53
  %56 = xor i64 %54, %50
  %57 = 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 %58 unwind label %122

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

60:                                               ; preds = %58
  %61 = 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 %62 unwind label %122

62:                                               ; preds = %60
  %63 = icmp ne i64 %56, %59
  %64 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %61, i1 noundef zeroext %63)
          to label %65 unwind label %122

65:                                               ; preds = %62
  %66 = 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 %67 unwind label %122

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

69:                                               ; preds = %67
  %70 = 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 %71 unwind label %122

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

73:                                               ; preds = %71
  %74 = xor i64 %72, %68
  %75 = 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 %76 unwind label %122

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

78:                                               ; preds = %76
  %79 = 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 %80 unwind label %122

80:                                               ; preds = %78
  %81 = icmp ne i64 %74, %77
  %82 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %79, i1 noundef zeroext %81)
          to label %83 unwind label %122

83:                                               ; preds = %80
  %84 = 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 %85 unwind label %122

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

87:                                               ; preds = %85
  %88 = 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 %89 unwind label %122

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

91:                                               ; preds = %89
  %92 = 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 %93 unwind label %122

93:                                               ; preds = %91
  %94 = icmp ne i64 %86, %90
  %95 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %92, i1 noundef zeroext %94)
          to label %96 unwind label %122

96:                                               ; preds = %93
  %97 = 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 %98 unwind label %122

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

100:                                              ; preds = %98
  %101 = 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 %102 unwind label %122

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

104:                                              ; preds = %102
  %105 = 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 %106 unwind label %122

106:                                              ; preds = %104
  %107 = icmp ne i64 %99, %103
  %108 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN5sc_dt14sc_uint_bitrefaSEb(ptr noundef nonnull align 8 dereferenceable(24) %105, i1 noundef zeroext %107)
          to label %109 unwind label %122

109:                                              ; preds = %106
  %110 = 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 %111 unwind label %122

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

113:                                              ; preds = %111
  %114 = 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 %115 unwind label %122

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

117:                                              ; preds = %115
  %118 = 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 %119 unwind label %122

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

122:                                              ; preds = %119, %117, %115, %113, %111, %109, %106, %104, %102, %100, %98, %96, %93, %91, %89, %87, %85, %83, %80, %78, %76, %73, %71, %69, %67, %65, %62, %60, %58, %55, %53, %51, %49, %47, %44, %42, %40, %38, %36, %34, %31, %29, %27, %24, %22, %20, %18, %16, %13, %11, %9, %7, %5, %3
  %123 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN5sc_dt13sc_value_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  resume { ptr, i32 } %123

124:                                              ; preds = %119
  ret void
}

; 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