; LLVM IR from thepowersgang/mrustc :: src/ast/path.ll (ZNK3AST12PathParamEnt3ordERKS0_)

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

@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@_ZTIPKc = external constant ptr
@.str.30 = external hidden unnamed_addr constant [1 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3AST12PathParamEnt3ordERKS0_ = external hidden unnamed_addr constant [60 x i8], align 1

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

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST12PathParamEnt7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyEqualEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZNK3AST12PathParamEnt11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(248) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyBoundEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

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

33:                                               ; preds = %2
  %34 = call noundef i32 @_ZNK3AST12PathParamEnt3tagEv(ptr noundef nonnull align 8 dereferenceable(256) %28)
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = call noundef i32 @_ZNK3AST12PathParamEnt3tagEv(ptr noundef nonnull align 8 dereferenceable(256) %35)
  %37 = call noundef i32 @_ZL3ordii(i32 noundef %34, i32 noundef %36)
  store i32 %37, ptr %3, align 4
  br label %232

38:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %39

39:                                               ; preds = %227, %38
  %40 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %41 = trunc i8 %40 to i1
  br i1 %41, label %43, label %42

42:                                               ; preds = %39
  store i32 2, ptr %7, align 4
  br label %228

43:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store ptr %28, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %44, ptr %9, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %223, %43
  %46 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %47 = trunc i8 %46 to i1
  br i1 %47, label %49, label %48

48:                                               ; preds = %45
  store i32 5, ptr %7, align 4
  br label %224

49:                                               ; preds = %45
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = call noundef i32 @_ZNK3AST12PathParamEnt3tagEv(ptr noundef nonnull align 8 dereferenceable(256) %50)
  switch i32 %51, label %222 [
    i32 0, label %52
    i32 1, label %53
    i32 2, label %78
    i32 3, label %106
    i32 4, label %134
    i32 5, label %166
    i32 6, label %194
  ]

52:                                               ; preds = %49
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 175, ptr noundef @__PRETTY_FUNCTION__._ZNK3AST12PathParamEnt3ordERKS0_) #6
  unreachable

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %54

54:                                               ; preds = %74, %53
  %55 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %56 = trunc i8 %55 to i1
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  store i32 9, ptr %7, align 4
  br label %75

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12PathParamEnt7as_NullEv(ptr noundef nonnull align 8 dereferenceable(256) %59)
  store ptr %60, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12PathParamEnt7as_NullEv(ptr noundef nonnull align 8 dereferenceable(256) %61)
  store ptr %62, ptr %12, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %70, %58
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %67 = trunc i8 %66 to i1
  br i1 %67, label %69, label %68

68:                                               ; preds = %63
  store i32 12, ptr %7, align 4
  br label %71

69:                                               ; preds = %63
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %71

70:                                               ; No predecessors!
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %63, !llvm.loop !13

71:                                               ; preds = %69, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %72 = load i32, ptr %7, align 4
  switch i32 %72, label %75 [
    i32 12, label %73
  ]

73:                                               ; preds = %71
  br label %74

74:                                               ; preds = %73
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %54, !llvm.loop !15

75:                                               ; preds = %71, %57
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  %76 = load i32, ptr %7, align 4
  switch i32 %76, label %224 [
    i32 9, label %77
  ]

77:                                               ; preds = %75
  br label %222

78:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  store i8 1, ptr %13, align 1, !tbaa !9
  br label %79

79:                                               ; preds = %102, %78
  %80 = load i8, ptr %13, align 1, !tbaa !9, !range !11, !noundef !12
  %81 = trunc i8 %80 to i1
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 15, ptr %7, align 4
  br label %103

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZNK3AST12PathParamEnt11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(256) %84)
  store ptr %85, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZNK3AST12PathParamEnt11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(256) %86)
  store ptr %87, ptr %15, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %98, %83
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = load ptr, ptr %15, align 8, !tbaa !5
  %91 = load i8, ptr %13, align 1, !tbaa !9, !range !11, !noundef !12
  %92 = trunc i8 %91 to i1
  br i1 %92, label %94, label %93

93:                                               ; preds = %88
  store i32 18, ptr %7, align 4
  br label %99

94:                                               ; preds = %88
  %95 = load ptr, ptr %14, align 8, !tbaa !5
  %96 = load ptr, ptr %15, align 8, !tbaa !5
  %97 = call noundef i32 @_Z3ordIN3AST11LifetimeRefEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(18) %95, ptr noundef nonnull align 8 dereferenceable(18) %96)
  store i32 %97, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %99

98:                                               ; No predecessors!
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %88, !llvm.loop !16

99:                                               ; preds = %94, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %100 = load i32, ptr %7, align 4
  switch i32 %100, label %103 [
    i32 18, label %101
  ]

101:                                              ; preds = %99
  br label %102

102:                                              ; preds = %101
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %79, !llvm.loop !17

103:                                              ; preds = %99, %82
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  %104 = load i32, ptr %7, align 4
  switch i32 %104, label %224 [
    i32 15, label %105
  ]

105:                                              ; preds = %103
  br label %222

106:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  store i8 1, ptr %16, align 1, !tbaa !9
  br label %107

107:                                              ; preds = %130, %106
  %108 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %109 = trunc i8 %108 to i1
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  store i32 21, ptr %7, align 4
  br label %131

111:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST12PathParamEnt7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(256) %112)
  store ptr %113, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST12PathParamEnt7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(256) %114)
  store ptr %115, ptr %18, align 8, !tbaa !5
  br label %116

116:                                              ; preds = %126, %111
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  %118 = load ptr, ptr %18, align 8, !tbaa !5
  %119 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %120 = trunc i8 %119 to i1
  br i1 %120, label %122, label %121

121:                                              ; preds = %116
  store i32 24, ptr %7, align 4
  br label %127

122:                                              ; preds = %116
  %123 = load ptr, ptr %17, align 8, !tbaa !5
  %124 = load ptr, ptr %18, align 8, !tbaa !5
  %125 = call noundef i32 @_Z3ordI7TypeRefE8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(120) %123, ptr noundef nonnull align 8 dereferenceable(120) %124)
  store i32 %125, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %127

126:                                              ; No predecessors!
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %116, !llvm.loop !18

127:                                              ; preds = %122, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %128 = load i32, ptr %7, align 4
  switch i32 %128, label %131 [
    i32 24, label %129
  ]

129:                                              ; preds = %127
  br label %130

130:                                              ; preds = %129
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %107, !llvm.loop !19

131:                                              ; preds = %127, %110
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  %132 = load i32, ptr %7, align 4
  switch i32 %132, label %224 [
    i32 21, label %133
  ]

133:                                              ; preds = %131
  br label %222

134:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  store i8 1, ptr %19, align 1, !tbaa !9
  br label %135

135:                                              ; preds = %162, %134
  %136 = load i8, ptr %19, align 1, !tbaa !9, !range !11, !noundef !12
  %137 = trunc i8 %136 to i1
  br i1 %137, label %139, label %138

138:                                              ; preds = %135
  store i32 27, ptr %7, align 4
  br label %163

139:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST12PathParamEnt8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(256) %140)
  store ptr %141, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST12PathParamEnt8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(256) %142)
  store ptr %143, ptr %21, align 8, !tbaa !5
  br label %144

144:                                              ; preds = %158, %139
  %145 = load ptr, ptr %20, align 8, !tbaa !5
  %146 = load ptr, ptr %21, align 8, !tbaa !5
  %147 = load i8, ptr %19, align 1, !tbaa !9, !range !11, !noundef !12
  %148 = trunc i8 %147 to i1
  br i1 %148, label %150, label %149

149:                                              ; preds = %144
  store i32 30, ptr %7, align 4
  br label %159

150:                                              ; preds = %144
  %151 = load ptr, ptr %20, align 8, !tbaa !5
  %152 = call noundef ptr @_ZNK3AST9ExprNodeP3getEv(ptr noundef nonnull align 8 dereferenceable(8) %151)
  %153 = ptrtoint ptr %152 to i64
  %154 = load ptr, ptr %21, align 8, !tbaa !5
  %155 = call noundef ptr @_ZNK3AST9ExprNodeP3getEv(ptr noundef nonnull align 8 dereferenceable(8) %154)
  %156 = ptrtoint ptr %155 to i64
  %157 = call noundef i32 @_ZL3ordmm(i64 noundef %153, i64 noundef %156)
  store i32 %157, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %159

158:                                              ; No predecessors!
  store i8 0, ptr %19, align 1, !tbaa !9
  br label %144, !llvm.loop !20

159:                                              ; preds = %150, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %160 = load i32, ptr %7, align 4
  switch i32 %160, label %163 [
    i32 30, label %161
  ]

161:                                              ; preds = %159
  br label %162

162:                                              ; preds = %161
  store i8 0, ptr %19, align 1, !tbaa !9
  br label %135, !llvm.loop !21

163:                                              ; preds = %159, %138
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  %164 = load i32, ptr %7, align 4
  switch i32 %164, label %224 [
    i32 27, label %165
  ]

165:                                              ; preds = %163
  br label %222

166:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  store i8 1, ptr %22, align 1, !tbaa !9
  br label %167

167:                                              ; preds = %190, %166
  %168 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %169 = trunc i8 %168 to i1
  br i1 %169, label %171, label %170

170:                                              ; preds = %167
  store i32 33, ptr %7, align 4
  br label %191

171:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyEqualEv(ptr noundef nonnull align 8 dereferenceable(256) %172)
  store ptr %173, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyEqualEv(ptr noundef nonnull align 8 dereferenceable(256) %174)
  store ptr %175, ptr %24, align 8, !tbaa !5
  br label %176

176:                                              ; preds = %186, %171
  %177 = load ptr, ptr %23, align 8, !tbaa !5
  %178 = load ptr, ptr %24, align 8, !tbaa !5
  %179 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %180 = trunc i8 %179 to i1
  br i1 %180, label %182, label %181

181:                                              ; preds = %176
  store i32 36, ptr %7, align 4
  br label %187

182:                                              ; preds = %176
  %183 = load ptr, ptr %23, align 8, !tbaa !5
  %184 = load ptr, ptr %24, align 8, !tbaa !5
  %185 = call noundef i32 @_Z3ordI8RcString7TypeRefE8OrderingRKSt4pairIT_T0_ES8_(ptr noundef nonnull align 8 dereferenceable(128) %183, ptr noundef nonnull align 8 dereferenceable(128) %184)
  store i32 %185, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %187

186:                                              ; No predecessors!
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %176, !llvm.loop !22

187:                                              ; preds = %182, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  %188 = load i32, ptr %7, align 4
  switch i32 %188, label %191 [
    i32 36, label %189
  ]

189:                                              ; preds = %187
  br label %190

190:                                              ; preds = %189
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %167, !llvm.loop !23

191:                                              ; preds = %187, %170
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  %192 = load i32, ptr %7, align 4
  switch i32 %192, label %224 [
    i32 33, label %193
  ]

193:                                              ; preds = %191
  br label %222

194:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  store i8 1, ptr %25, align 1, !tbaa !9
  br label %195

195:                                              ; preds = %218, %194
  %196 = load i8, ptr %25, align 1, !tbaa !9, !range !11, !noundef !12
  %197 = trunc i8 %196 to i1
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  store i32 39, ptr %7, align 4
  br label %219

199:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = call noundef nonnull align 8 dereferenceable(248) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyBoundEv(ptr noundef nonnull align 8 dereferenceable(256) %200)
  store ptr %201, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %202 = load ptr, ptr %9, align 8, !tbaa !5
  %203 = call noundef nonnull align 8 dereferenceable(248) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyBoundEv(ptr noundef nonnull align 8 dereferenceable(256) %202)
  store ptr %203, ptr %27, align 8, !tbaa !5
  br label %204

204:                                              ; preds = %214, %199
  %205 = load ptr, ptr %26, align 8, !tbaa !5
  %206 = load ptr, ptr %27, align 8, !tbaa !5
  %207 = load i8, ptr %25, align 1, !tbaa !9, !range !11, !noundef !12
  %208 = trunc i8 %207 to i1
  br i1 %208, label %210, label %209

209:                                              ; preds = %204
  store i32 42, ptr %7, align 4
  br label %215

210:                                              ; preds = %204
  %211 = load ptr, ptr %26, align 8, !tbaa !5
  %212 = load ptr, ptr %27, align 8, !tbaa !5
  %213 = call noundef i32 @_Z3ordI8RcStringN3AST4PathEE8OrderingRKSt4pairIT_T0_ES9_(ptr noundef nonnull align 8 dereferenceable(248) %211, ptr noundef nonnull align 8 dereferenceable(248) %212)
  store i32 %213, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %215

214:                                              ; No predecessors!
  store i8 0, ptr %25, align 1, !tbaa !9
  br label %204, !llvm.loop !24

215:                                              ; preds = %210, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  %216 = load i32, ptr %7, align 4
  switch i32 %216, label %219 [
    i32 42, label %217
  ]

217:                                              ; preds = %215
  br label %218

218:                                              ; preds = %217
  store i8 0, ptr %25, align 1, !tbaa !9
  br label %195, !llvm.loop !25

219:                                              ; preds = %215, %198
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  %220 = load i32, ptr %7, align 4
  switch i32 %220, label %224 [
    i32 39, label %221
  ]

221:                                              ; preds = %219
  br label %222

222:                                              ; preds = %221, %193, %165, %133, %105, %77, %49
  br label %223

223:                                              ; preds = %222
  store i8 0, ptr %6, align 1, !tbaa !9
  br label %45, !llvm.loop !26

224:                                              ; preds = %219, %191, %163, %131, %103, %75, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %225 = load i32, ptr %7, align 4
  switch i32 %225, label %228 [
    i32 5, label %226
  ]

226:                                              ; preds = %224
  br label %227

227:                                              ; preds = %226
  store i8 0, ptr %6, align 1, !tbaa !9
  br label %39, !llvm.loop !27

228:                                              ; preds = %224, %42
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  %229 = load i32, ptr %7, align 4
  switch i32 %229, label %234 [
    i32 2, label %230
    i32 1, label %232
  ]

230:                                              ; preds = %228
  %231 = call ptr @__cxa_allocate_exception(i64 8) #5
  store ptr @.str.30, ptr %231, align 16, !tbaa !5
  call void @__cxa_throw(ptr %231, ptr @_ZTIPKc, ptr null) #7
  unreachable

232:                                              ; preds = %228, %33
  %233 = load i32, ptr %3, align 4
  ret i32 %233

234:                                              ; preds = %228
  unreachable
}

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { nounwind }
attributes #6 = { noreturn 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}


; 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 [71 x i8], align 1
@_ZTIPKc = external constant ptr
@.str.30 = external hidden unnamed_addr constant [1 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3AST12PathParamEnt3ordERKS0_ = external hidden unnamed_addr constant [60 x i8], align 1

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST12PathParamEnt7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyEqualEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3AST12PathParamEnt3tagEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZNK3AST12PathParamEnt11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(248) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyBoundEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 align 2

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

6:                                                ; preds = %2
  %7 = tail call noundef i32 @_ZNK3AST12PathParamEnt3tagEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  %8 = tail call noundef i32 @_ZL3ordii(i32 noundef %5, i32 noundef %7)
  br label %31

.preheader:                                       ; preds = %2
  switch i32 %5, label %.loopexit [
    i32 0, label %.split.us
    i32 1, label %.split111.us
    i32 2, label %.split113.us
    i32 3, label %.split115.us
    i32 4, label %.split117.us
    i32 5, label %.split119.us
    i32 6, label %.split121.us
  ], !llvm.loop !5

.split.us:                                        ; preds = %.preheader
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 175, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3AST12PathParamEnt3ordERKS0_) #4
  unreachable

.split111.us:                                     ; preds = %.preheader
  %9 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12PathParamEnt7as_NullEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  %10 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12PathParamEnt7as_NullEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  br label %31

.split113.us:                                     ; preds = %.preheader
  %11 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZNK3AST12PathParamEnt11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  %12 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZNK3AST12PathParamEnt11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  %13 = tail call noundef i32 @_Z3ordIN3AST11LifetimeRefEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(18) %11, ptr noundef nonnull align 8 dereferenceable(18) %12)
  br label %31

.split115.us:                                     ; preds = %.preheader
  %14 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST12PathParamEnt7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  %15 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST12PathParamEnt7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  %16 = tail call noundef i32 @_Z3ordI7TypeRefE8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(120) %14, ptr noundef nonnull align 8 dereferenceable(120) %15)
  br label %31

.split117.us:                                     ; preds = %.preheader
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST12PathParamEnt8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  %18 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST12PathParamEnt8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  %19 = tail call noundef ptr @_ZNK3AST9ExprNodeP3getEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %20 = ptrtoint ptr %19 to i64
  %21 = tail call noundef ptr @_ZNK3AST9ExprNodeP3getEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
  %22 = ptrtoint ptr %21 to i64
  %23 = tail call noundef i32 @_ZL3ordmm(i64 noundef %20, i64 noundef %22)
  br label %31

.split119.us:                                     ; preds = %.preheader
  %24 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyEqualEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  %25 = tail call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyEqualEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  %26 = tail call noundef i32 @_Z3ordI8RcString7TypeRefE8OrderingRKSt4pairIT_T0_ES8_(ptr noundef nonnull align 8 dereferenceable(128) %24, ptr noundef nonnull align 8 dereferenceable(128) %25)
  br label %31

.split121.us:                                     ; preds = %.preheader
  %27 = tail call noundef nonnull align 8 dereferenceable(248) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyBoundEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
  %28 = tail call noundef nonnull align 8 dereferenceable(248) ptr @_ZNK3AST12PathParamEnt20as_AssociatedTyBoundEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
  %29 = tail call noundef i32 @_Z3ordI8RcStringN3AST4PathEE8OrderingRKSt4pairIT_T0_ES9_(ptr noundef nonnull align 8 dereferenceable(248) %27, ptr noundef nonnull align 8 dereferenceable(248) %28)
  br label %31

.loopexit:                                        ; preds = %.preheader
  %30 = tail call ptr @__cxa_allocate_exception(i64 8) #5
  store ptr @.str.30, ptr %30, align 16, !tbaa !7
  tail call void @__cxa_throw(ptr nonnull %30, ptr nonnull @_ZTIPKc, ptr null) #6
  unreachable

31:                                               ; preds = %.split111.us, %.split113.us, %.split115.us, %.split117.us, %.split119.us, %.split121.us, %6
  %.23 = phi i32 [ %8, %6 ], [ 0, %.split111.us ], [ %13, %.split113.us ], [ %16, %.split115.us ], [ %23, %.split117.us ], [ %26, %.split119.us ], [ %29, %.split121.us ]
  ret i32 %.23
}

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

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

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

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

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

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

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

attributes #0 = { 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 #1 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass