; LLVM IR from thepowersgang/mrustc :: src/mir/mir.ll (ZNK3MIR8Constant3ordERKS0_)

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

%"struct.MIR::Constant::Data_Int" = type <{ %class.S128, i32, [4 x i8] }>
%class.S128 = type { %class.U128 }
%class.U128 = type { i64, i64 }
%"struct.MIR::Constant::Data_Uint" = type <{ %class.U128, i32, [4 x i8] }>
%"struct.MIR::Constant::Data_Float" = type { double, i32 }
%"struct.MIR::Constant::Data_Bool" = type { i8 }
%"struct.MIR::Constant::Data_Const" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.4" }
%"struct.std::_Head_base.4" = type { ptr }
%"struct.HIR::GenericRef" = type <{ %class.RcString, i32, [4 x i8] }>
%class.RcString = type { ptr }
%"struct.MIR::Constant::Data_Function" = type { %"class.std::unique_ptr" }

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3MIR8Constant3ordERKS0_ = external hidden unnamed_addr constant [54 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIPKc = external constant ptr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant6as_IntEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant7as_UintEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3MIR8Constant8as_FloatEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR8Constant7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3MIR8Constant15as_StaticStringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3MIR8Constant10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_ItemAddrEv(ptr noundef nonnull align 8 dereferenceable(40)) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3MIR8Constant3ordERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %29 = load ptr, ptr %4, align 8
  %30 = call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %31)
  %33 = icmp ne i32 %30, %32
  br i1 %33, label %34, label %39

34:                                               ; preds = %2
  %35 = call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %36)
  %38 = call noundef i32 @_ZL3ordjj(i32 noundef %35, i32 noundef %37)
  store i32 %38, ptr %3, align 4
  br label %241

39:                                               ; preds = %2
  %40 = call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  switch i32 %40, label %239 [
    i32 0, label %41
    i32 1, label %42
    i32 2, label %68
    i32 3, label %94
    i32 4, label %124
    i32 5, label %139
    i32 6, label %148
    i32 7, label %157
    i32 8, label %170
    i32 9, label %183
    i32 10, label %196
  ]

41:                                               ; preds = %39
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 115, ptr noundef @__PRETTY_FUNCTION__._ZNK3MIR8Constant3ordERKS0_) #5
  unreachable

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %43 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant6as_IntEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %43, ptr %6, align 8, !tbaa !5
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant6as_IntEv(ptr noundef nonnull align 8 dereferenceable(40) %45)
  store ptr %46, ptr %7, align 8, !tbaa !5
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.MIR::Constant::Data_Int", ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.MIR::Constant::Data_Int", ptr %50, i32 0, i32 0
  %52 = call noundef zeroext i1 @_ZNK4S128neERKS_(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %51)
  br i1 %52, label %53, label %59

53:                                               ; preds = %42
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.MIR::Constant::Data_Int", ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.MIR::Constant::Data_Int", ptr %56, i32 0, i32 0
  %58 = call noundef i32 @_Z3ordI4S128E8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %57)
  store i32 %58, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %67

59:                                               ; preds = %42
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.MIR::Constant::Data_Int", ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 8, !tbaa !9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.MIR::Constant::Data_Int", ptr %63, i32 0, i32 1
  %65 = load i32, ptr %64, align 8, !tbaa !9
  %66 = call noundef i32 @_ZL3ordjj(i32 noundef %62, i32 noundef %65)
  store i32 %66, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %67

67:                                               ; preds = %59, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %241

68:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %69 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant7as_UintEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %69, ptr %9, align 8, !tbaa !5
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant7as_UintEv(ptr noundef nonnull align 8 dereferenceable(40) %71)
  store ptr %72, ptr %10, align 8, !tbaa !5
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %76, i32 0, i32 0
  %78 = call noundef zeroext i1 @_ZNK4U128neERKS_(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull align 8 dereferenceable(16) %77)
  br i1 %78, label %79, label %85

79:                                               ; preds = %68
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %80, i32 0, i32 0
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %82, i32 0, i32 0
  %84 = call noundef i32 @_Z3ordI4U128E8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(16) %83)
  store i32 %84, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %93

85:                                               ; preds = %68
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 8, !tbaa !15
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.MIR::Constant::Data_Uint", ptr %89, i32 0, i32 1
  %91 = load i32, ptr %90, align 8, !tbaa !15
  %92 = call noundef i32 @_ZL3ordjj(i32 noundef %88, i32 noundef %91)
  store i32 %92, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %93

93:                                               ; preds = %85, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %241

94:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %95 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3MIR8Constant8as_FloatEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %95, ptr %11, align 8, !tbaa !5
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3MIR8Constant8as_FloatEv(ptr noundef nonnull align 8 dereferenceable(40) %97)
  store ptr %98, ptr %12, align 8, !tbaa !5
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.MIR::Constant::Data_Float", ptr %100, i32 0, i32 0
  %102 = load double, ptr %101, align 8, !tbaa !17
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.MIR::Constant::Data_Float", ptr %103, i32 0, i32 0
  %105 = load double, ptr %104, align 8, !tbaa !17
  %106 = fcmp une double %102, %105
  br i1 %106, label %107, label %115

107:                                              ; preds = %94
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.MIR::Constant::Data_Float", ptr %108, i32 0, i32 0
  %110 = load double, ptr %109, align 8, !tbaa !17
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.MIR::Constant::Data_Float", ptr %111, i32 0, i32 0
  %113 = load double, ptr %112, align 8, !tbaa !17
  %114 = call noundef i32 @_ZL3orddd(double noundef %110, double noundef %113)
  store i32 %114, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %123

115:                                              ; preds = %94
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.MIR::Constant::Data_Float", ptr %116, i32 0, i32 1
  %118 = load i32, ptr %117, align 8, !tbaa !20
  %119 = load ptr, ptr %12, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.MIR::Constant::Data_Float", ptr %119, i32 0, i32 1
  %121 = load i32, ptr %120, align 8, !tbaa !20
  %122 = call noundef i32 @_ZL3ordjj(i32 noundef %118, i32 noundef %121)
  store i32 %122, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %123

123:                                              ; preds = %115, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %241

124:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %125 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR8Constant7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %125, ptr %13, align 8, !tbaa !5
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR8Constant7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(40) %127)
  store ptr %128, ptr %14, align 8, !tbaa !5
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load ptr, ptr %13, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.MIR::Constant::Data_Bool", ptr %130, i32 0, i32 0
  %132 = load i8, ptr %131, align 1, !tbaa !21, !range !24, !noundef !25
  %133 = trunc i8 %132 to i1
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.MIR::Constant::Data_Bool", ptr %134, i32 0, i32 0
  %136 = load i8, ptr %135, align 1, !tbaa !21, !range !24, !noundef !25
  %137 = trunc i8 %136 to i1
  %138 = call noundef i32 @_ZL3ordbb(i1 noundef zeroext %133, i1 noundef zeroext %137)
  store i32 %138, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %241

139:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %140 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %140, ptr %15, align 8, !tbaa !5
  %141 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %142 = load ptr, ptr %5, align 8, !tbaa !5
  %143 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %142)
  store ptr %143, ptr %16, align 8, !tbaa !5
  %144 = load ptr, ptr %16, align 8, !tbaa !5
  %145 = load ptr, ptr %15, align 8, !tbaa !5
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = call noundef i32 @_Z3ordIhE8OrderingRKSt6vectorIT_SaIS2_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %145, ptr noundef nonnull align 8 dereferenceable(24) %146)
  store i32 %147, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %241

148:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %149 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3MIR8Constant15as_StaticStringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %149, ptr %17, align 8, !tbaa !5
  %150 = load ptr, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3MIR8Constant15as_StaticStringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40) %151)
  store ptr %152, ptr %18, align 8, !tbaa !5
  %153 = load ptr, ptr %18, align 8, !tbaa !5
  %154 = load ptr, ptr %17, align 8, !tbaa !5
  %155 = load ptr, ptr %18, align 8, !tbaa !5
  %156 = call noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32) %154, ptr noundef nonnull align 8 dereferenceable(32) %155)
  store i32 %156, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %241

157:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %158, ptr %19, align 8, !tbaa !5
  %159 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(40) %160)
  store ptr %161, ptr %20, align 8, !tbaa !5
  %162 = load ptr, ptr %20, align 8, !tbaa !5
  %163 = load ptr, ptr %19, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.MIR::Constant::Data_Const", ptr %163, i32 0, i32 0
  %165 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %164) #6
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.MIR::Constant::Data_Const", ptr %166, i32 0, i32 0
  %168 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %167) #6
  %169 = call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %165, ptr noundef nonnull align 8 dereferenceable(88) %168)
  store i32 %169, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %241

170:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %171 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3MIR8Constant10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %171, ptr %21, align 8, !tbaa !5
  %172 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3MIR8Constant10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(40) %173)
  store ptr %174, ptr %22, align 8, !tbaa !5
  %175 = load ptr, ptr %22, align 8, !tbaa !5
  %176 = load ptr, ptr %21, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.HIR::GenericRef", ptr %176, i32 0, i32 1
  %178 = load i32, ptr %177, align 8, !tbaa !26
  %179 = load ptr, ptr %22, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.HIR::GenericRef", ptr %179, i32 0, i32 1
  %181 = load i32, ptr %180, align 8, !tbaa !26
  %182 = call noundef i32 @_ZL3ordjj(i32 noundef %178, i32 noundef %181)
  store i32 %182, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %241

183:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %184, ptr %23, align 8, !tbaa !5
  %185 = load ptr, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(40) %186)
  store ptr %187, ptr %24, align 8, !tbaa !5
  %188 = load ptr, ptr %24, align 8, !tbaa !5
  %189 = load ptr, ptr %23, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.MIR::Constant::Data_Function", ptr %189, i32 0, i32 0
  %191 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %190) #6
  %192 = load ptr, ptr %24, align 8, !tbaa !5
  %193 = getelementptr inbounds %"struct.MIR::Constant::Data_Function", ptr %192, i32 0, i32 0
  %194 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %193) #6
  %195 = call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %191, ptr noundef nonnull align 8 dereferenceable(88) %194)
  store i32 %195, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %241

196:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_ItemAddrEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  store ptr %197, ptr %25, align 8, !tbaa !5
  %198 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_ItemAddrEv(ptr noundef nonnull align 8 dereferenceable(40) %199)
  store ptr %200, ptr %26, align 8, !tbaa !5
  %201 = load ptr, ptr %26, align 8, !tbaa !5
  br label %202

202:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %203 = load ptr, ptr %25, align 8, !tbaa !5
  %204 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %203) #6
  %205 = load ptr, ptr %26, align 8, !tbaa !5
  %206 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %205) #6
  %207 = call noundef i32 @_ZL3ordbb(i1 noundef zeroext %204, i1 noundef zeroext %206)
  store i32 %207, ptr %27, align 4, !tbaa !30
  %208 = load i32, ptr %27, align 4, !tbaa !30
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %212

210:                                              ; preds = %202
  %211 = load i32, ptr %27, align 4, !tbaa !30
  store i32 %211, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %213

212:                                              ; preds = %202
  store i32 0, ptr %8, align 4
  br label %213

213:                                              ; preds = %212, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  %214 = load i32, ptr %8, align 4
  switch i32 %214, label %238 [
    i32 0, label %215
  ]

215:                                              ; preds = %213
  br label %216

216:                                              ; preds = %215
  br label %217

217:                                              ; preds = %216
  %218 = load ptr, ptr %25, align 8, !tbaa !5
  %219 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %218) #6
  br i1 %219, label %220, label %237

220:                                              ; preds = %217
  br label %221

221:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %222 = load ptr, ptr %25, align 8, !tbaa !5
  %223 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %222) #6
  %224 = load ptr, ptr %26, align 8, !tbaa !5
  %225 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %224) #6
  %226 = call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %223, ptr noundef nonnull align 8 dereferenceable(88) %225)
  store i32 %226, ptr %28, align 4, !tbaa !30
  %227 = load i32, ptr %28, align 4, !tbaa !30
  %228 = icmp ne i32 %227, 0
  br i1 %228, label %229, label %231

229:                                              ; preds = %221
  %230 = load i32, ptr %28, align 4, !tbaa !30
  store i32 %230, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %232

231:                                              ; preds = %221
  store i32 0, ptr %8, align 4
  br label %232

232:                                              ; preds = %231, %229
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  %233 = load i32, ptr %8, align 4
  switch i32 %233, label %238 [
    i32 0, label %234
  ]

234:                                              ; preds = %232
  br label %235

235:                                              ; preds = %234
  br label %236

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236, %217
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %238

238:                                              ; preds = %237, %232, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %241

239:                                              ; preds = %39
  %240 = call ptr @__cxa_allocate_exception(i64 8) #6
  store ptr @.str.17, ptr %240, align 16, !tbaa !5
  call void @__cxa_throw(ptr %240, ptr @_ZTIPKc, ptr null) #7
  unreachable

241:                                              ; preds = %238, %183, %170, %157, %148, %139, %124, %123, %93, %67, %34
  %242 = load i32, ptr %3, align 4
  ret i32 %242
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordjj(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4S128neERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordI4S128E8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4U128neERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordI4U128E8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3orddd(double noundef, double noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordbb(i1 noundef zeroext, i1 noundef zeroext) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordIhE8OrderingRKSt6vectorIT_SaIS2_EES6_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #3

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

!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 = !{!10, !14, i64 16}
!10 = !{!"_ZTSN3MIR8Constant8Data_IntE", !11, i64 0, !14, i64 16}
!11 = !{!"_ZTS4S128", !12, i64 0}
!12 = !{!"_ZTS4U128", !13, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN3HIR8CoreTypeE", !7, i64 0}
!15 = !{!16, !14, i64 16}
!16 = !{!"_ZTSN3MIR8Constant9Data_UintE", !12, i64 0, !14, i64 16}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTSN3MIR8Constant10Data_FloatE", !19, i64 0, !14, i64 8}
!19 = !{!"double", !7, i64 0}
!20 = !{!18, !14, i64 8}
!21 = !{!22, !23, i64 0}
!22 = !{!"_ZTSN3MIR8Constant9Data_BoolE", !23, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!27, !29, i64 8}
!27 = !{!"_ZTSN3HIR10GenericRefE", !28, i64 0, !29, i64 8}
!28 = !{!"_ZTS8RcString", !6, i64 0}
!29 = !{!"int", !7, i64 0}
!30 = !{!31, !31, i64 0}
!31 = !{!"_ZTS8Ordering", !7, i64 0}


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

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [70 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3MIR8Constant3ordERKS0_ = external hidden unnamed_addr constant [54 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIPKc = external constant ptr

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant6as_IntEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant7as_UintEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3MIR8Constant8as_FloatEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR8Constant7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3MIR8Constant15as_StaticStringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3MIR8Constant10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_ItemAddrEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3MIR8Constant3ordERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #2 align 2 {
  %3 = tail call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %4 = tail call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %.not = icmp eq i32 %3, %4
  %5 = tail call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  br i1 %.not, label %9, label %6

6:                                                ; preds = %2
  %7 = tail call noundef i32 @_ZNK3MIR8Constant3tagEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %8 = tail call noundef i32 @_ZL3ordjj(i32 noundef %5, i32 noundef %7)
  br label %100

9:                                                ; preds = %2
  switch i32 %5, label %98 [
    i32 0, label %10
    i32 1, label %11
    i32 2, label %23
    i32 3, label %35
    i32 4, label %49
    i32 5, label %57
    i32 6, label %61
    i32 7, label %65
    i32 8, label %71
    i32 9, label %79
    i32 10, label %85
  ]

10:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 115, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3MIR8Constant3ordERKS0_) #4
  unreachable

11:                                               ; preds = %9
  %12 = tail call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant6as_IntEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %13 = tail call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant6as_IntEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %14 = tail call noundef zeroext i1 @_ZNK4S128neERKS_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %13)
  br i1 %14, label %15, label %17

15:                                               ; preds = %11
  %16 = tail call noundef i32 @_Z3ordI4S128E8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %13)
  br label %100

17:                                               ; preds = %11
  %18 = getelementptr inbounds i8, ptr %12, i64 16
  %19 = load i32, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %13, i64 16
  %21 = load i32, ptr %20, align 8, !tbaa !5
  %22 = tail call noundef i32 @_ZL3ordjj(i32 noundef %19, i32 noundef %21)
  br label %100

23:                                               ; preds = %9
  %24 = tail call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant7as_UintEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %25 = tail call noundef nonnull align 8 dereferenceable(20) ptr @_ZNK3MIR8Constant7as_UintEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %26 = tail call noundef zeroext i1 @_ZNK4U128neERKS_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %25)
  br i1 %26, label %27, label %29

27:                                               ; preds = %23
  %28 = tail call noundef i32 @_Z3ordI4U128E8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %25)
  br label %100

29:                                               ; preds = %23
  %30 = getelementptr inbounds i8, ptr %24, i64 16
  %31 = load i32, ptr %30, align 8, !tbaa !13
  %32 = getelementptr inbounds i8, ptr %25, i64 16
  %33 = load i32, ptr %32, align 8, !tbaa !13
  %34 = tail call noundef i32 @_ZL3ordjj(i32 noundef %31, i32 noundef %33)
  br label %100

35:                                               ; preds = %9
  %36 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3MIR8Constant8as_FloatEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %37 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3MIR8Constant8as_FloatEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %38 = load double, ptr %36, align 8, !tbaa !15
  %39 = load double, ptr %37, align 8, !tbaa !15
  %40 = fcmp une double %38, %39
  br i1 %40, label %41, label %43

41:                                               ; preds = %35
  %42 = tail call noundef i32 @_ZL3orddd(double noundef %38, double noundef %39)
  br label %100

43:                                               ; preds = %35
  %44 = getelementptr inbounds i8, ptr %36, i64 8
  %45 = load i32, ptr %44, align 8, !tbaa !18
  %46 = getelementptr inbounds i8, ptr %37, i64 8
  %47 = load i32, ptr %46, align 8, !tbaa !18
  %48 = tail call noundef i32 @_ZL3ordjj(i32 noundef %45, i32 noundef %47)
  br label %100

49:                                               ; preds = %9
  %50 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR8Constant7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %51 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR8Constant7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %52 = load i8, ptr %50, align 1, !tbaa !19, !range !22, !noundef !23
  %53 = trunc nuw i8 %52 to i1
  %54 = load i8, ptr %51, align 1, !tbaa !19, !range !22, !noundef !23
  %55 = trunc nuw i8 %54 to i1
  %56 = tail call noundef i32 @_ZL3ordbb(i1 noundef zeroext %53, i1 noundef zeroext %55)
  br label %100

57:                                               ; preds = %9
  %58 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %59 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3MIR8Constant8as_BytesEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %60 = tail call noundef i32 @_Z3ordIhE8OrderingRKSt6vectorIT_SaIS2_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(24) %59)
  br label %100

61:                                               ; preds = %9
  %62 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3MIR8Constant15as_StaticStringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %63 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3MIR8Constant15as_StaticStringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %64 = tail call noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(32) %63)
  br label %100

65:                                               ; preds = %9
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %68 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #5
  %69 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %67) #5
  %70 = tail call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %68, ptr noundef nonnull align 8 dereferenceable(88) %69)
  br label %100

71:                                               ; preds = %9
  %72 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3MIR8Constant10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %73 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3MIR8Constant10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %74 = getelementptr inbounds i8, ptr %72, i64 8
  %75 = load i32, ptr %74, align 8, !tbaa !24
  %76 = getelementptr inbounds i8, ptr %73, i64 8
  %77 = load i32, ptr %76, align 8, !tbaa !24
  %78 = tail call noundef i32 @_ZL3ordjj(i32 noundef %75, i32 noundef %77)
  br label %100

79:                                               ; preds = %9
  %80 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %81 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_FunctionEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %82 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %80) #5
  %83 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %81) #5
  %84 = tail call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %82, ptr noundef nonnull align 8 dereferenceable(88) %83)
  br label %100

85:                                               ; preds = %9
  %86 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_ItemAddrEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %87 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3MIR8Constant11as_ItemAddrEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %88 = tail call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #5
  %89 = tail call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %87) #5
  %90 = tail call noundef i32 @_ZL3ordbb(i1 noundef zeroext %88, i1 noundef zeroext %89)
  %.not80 = icmp eq i32 %90, 0
  br i1 %.not80, label %91, label %100

91:                                               ; preds = %85
  %92 = tail call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #5
  br i1 %92, label %93, label %97

93:                                               ; preds = %91
  %94 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #5
  %95 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt10unique_ptrIN3HIR4PathESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %87) #5
  %96 = tail call noundef i32 @_Z3ordIN3HIR4PathEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(88) %94, ptr noundef nonnull align 8 dereferenceable(88) %95)
  %.not81 = icmp eq i32 %96, 0
  br i1 %.not81, label %97, label %100

97:                                               ; preds = %93, %91
  br label %100

98:                                               ; preds = %9
  %99 = tail call ptr @__cxa_allocate_exception(i64 8) #5
  store ptr @.str.17, ptr %99, align 16, !tbaa !29
  tail call void @__cxa_throw(ptr nonnull %99, ptr nonnull @_ZTIPKc, ptr null) #6
  unreachable

100:                                              ; preds = %97, %85, %93, %41, %43, %27, %29, %15, %17, %79, %71, %65, %61, %57, %49, %6
  %.6 = phi i32 [ %8, %6 ], [ %84, %79 ], [ %78, %71 ], [ %70, %65 ], [ %64, %61 ], [ %60, %57 ], [ %56, %49 ], [ %16, %15 ], [ %22, %17 ], [ %28, %27 ], [ %34, %29 ], [ %42, %41 ], [ %48, %43 ], [ 0, %97 ], [ %96, %93 ], [ %90, %85 ]
  ret i32 %.6
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordjj(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4S128neERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4U128neERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3orddd(double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordbb(i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

attributes #0 = { 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 #1 = { noreturn nounwind "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 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 = { inlinehint 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 = { noreturn nounwind }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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, !12, i64 16}
!6 = !{!"_ZTSN3MIR8Constant8Data_IntE", !7, i64 0, !12, i64 16}
!7 = !{!"_ZTS4S128", !8, i64 0}
!8 = !{!"_ZTS4U128", !9, i64 0, !9, i64 8}
!9 = !{!"long", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN3HIR8CoreTypeE", !10, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"_ZTSN3MIR8Constant9Data_UintE", !8, i64 0, !12, i64 16}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTSN3MIR8Constant10Data_FloatE", !17, i64 0, !12, i64 8}
!17 = !{!"double", !10, i64 0}
!18 = !{!16, !12, i64 8}
!19 = !{!20, !21, i64 0}
!20 = !{!"_ZTSN3MIR8Constant9Data_BoolE", !21, i64 0}
!21 = !{!"bool", !10, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!25, !28, i64 8}
!25 = !{!"_ZTSN3HIR10GenericRefE", !26, i64 0, !28, i64 8}
!26 = !{!"_ZTS8RcString", !27, i64 0}
!27 = !{!"any pointer", !10, i64 0}
!28 = !{!"int", !10, i64 0}
!29 = !{!27, !27, i64 0}


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