; LLVM IR from thepowersgang/mrustc :: src/hir/expr.ll (ZN3HIR14ExprVisitorDef5visitERNS_13ExprNode_Asm2E)

; 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.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.36 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }
%"struct.HIR::ExprNode_Asm2" = type { %"class.HIR::ExprNode.base", %"struct.AsmCommon::Options", %"class.std::vector.26", %"class.std::vector.31" }
%"class.HIR::ExprNode.base" = type <{ ptr, %struct.Span, %"class.HIR::TypeRef", i32 }>
%struct.Span = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%"struct.AsmCommon::Options" = type { i8, [3 x i8] }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<AsmCommon::Line, std::allocator<AsmCommon::Line>>::_Vector_impl" }
%"struct.std::_Vector_base<AsmCommon::Line, std::allocator<AsmCommon::Line>>::_Vector_impl" = type { %"struct.std::_Vector_base<AsmCommon::Line, std::allocator<AsmCommon::Line>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AsmCommon::Line, std::allocator<AsmCommon::Line>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<HIR::ExprNode_Asm2::Param, std::allocator<HIR::ExprNode_Asm2::Param>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ExprNode_Asm2::Param, std::allocator<HIR::ExprNode_Asm2::Param>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ExprNode_Asm2::Param, std::allocator<HIR::ExprNode_Asm2::Param>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ExprNode_Asm2::Param, std::allocator<HIR::ExprNode_Asm2::Param>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::ExprNode_Asm2::Param::Data_RegSingle" = type { i32, %"class.AsmCommon::RegisterSpec", %"class.std::unique_ptr" }
%"class.AsmCommon::RegisterSpec" = type { i32, %"union.AsmCommon::RegisterSpec::DataUnion" }
%"union.AsmCommon::RegisterSpec::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"struct.HIR::ExprNode_Asm2::Param::Data_Reg" = type { i32, %"class.AsmCommon::RegisterSpec", %"class.std::unique_ptr", %"class.std::unique_ptr" }

@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@__func__._ZN3HIR14ExprVisitorDef5visitERNS_14ExprNode_BlockE = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR14ExprVisitorDef5visitERNS_13ExprNode_Asm2E = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) #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

declare noundef zeroext i1 @_Z13debug_enabledv() #3

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #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: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR14ExprVisitorDef5visitERNS_13ExprNode_Asm2E(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(80) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %"class.std::function", align 8
  %7 = alloca %class.anon.36, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca i8, align 1
  %22 = alloca ptr, align 8
  %23 = alloca i8, align 1
  %24 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %25 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #7
  %26 = call noundef zeroext i1 @_Z13debug_enabledv()
  %27 = zext i1 %26 to i64
  %28 = select i1 %26, ptr @__func__._ZN3HIR14ExprVisitorDef5visitERNS_14ExprNode_BlockE, ptr null
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR14ExprVisitorDef5visitERNS4_13ExprNode_Asm2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %28, ptr noundef %6)
          to label %29 unwind label %41

29:                                               ; preds = %2
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.HIR::ExprNode_Asm2", ptr %30, i32 0, i32 3
  store ptr %31, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = call ptr @_ZNSt6vectorIN3HIR13ExprNode_Asm25ParamESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  %34 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %11, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = call ptr @_ZNSt6vectorIN3HIR13ExprNode_Asm25ParamESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %12, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  br label %38

38:                                               ; preds = %202, %29
  %39 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %39, label %45, label %40

40:                                               ; preds = %38
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %204

41:                                               ; preds = %2
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %205

45:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %46 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  store ptr %46, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 1, ptr %15, align 1, !tbaa !9
  br label %47

47:                                               ; preds = %200, %45
  %48 = load i8, ptr %15, align 1, !tbaa !9, !range !11, !noundef !12
  %49 = trunc i8 %48 to i1
  br i1 %49, label %51, label %50

50:                                               ; preds = %47
  store i32 4, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %201

51:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %52, ptr %16, align 8, !tbaa !5
  br label %53

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

56:                                               ; preds = %53
  store i32 7, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %199

57:                                               ; preds = %53
  %58 = load ptr, ptr %16, align 8, !tbaa !5
  %59 = invoke noundef i32 @_ZNK3HIR13ExprNode_Asm25Param3tagEv(ptr noundef nonnull align 8 dereferenceable(96) %58)
          to label %60 unwind label %61

60:                                               ; preds = %57
  switch i32 %59, label %196 [
    i32 0, label %65
    i32 1, label %66
    i32 2, label %94
    i32 3, label %122
    i32 4, label %151
  ]

61:                                               ; preds = %57
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %8, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %9, align 4
  br label %198

65:                                               ; preds = %60
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 57, ptr noundef @__PRETTY_FUNCTION__._ZN3HIR14ExprVisitorDef5visitERNS_13ExprNode_Asm2E) #8
  unreachable

66:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 1, ptr %17, align 1, !tbaa !9
  br label %67

67:                                               ; preds = %92, %66
  %68 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %69 = trunc i8 %68 to i1
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %93

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %72 = load ptr, ptr %16, align 8, !tbaa !5
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR13ExprNode_Asm25Param8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(96) %72)
          to label %74 unwind label %80

74:                                               ; preds = %71
  store ptr %73, ptr %18, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %90, %74
  %76 = load ptr, ptr %18, align 8, !tbaa !5
  %77 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %78 = trunc i8 %77 to i1
  br i1 %78, label %84, label %79

79:                                               ; preds = %75
  store i32 14, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %91

80:                                               ; preds = %84, %71
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %8, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %198

84:                                               ; preds = %75
  %85 = load ptr, ptr %18, align 8, !tbaa !5
  %86 = load ptr, ptr %25, align 8, !tbaa !13
  %87 = getelementptr inbounds ptr, ptr %86, i64 2
  %88 = load ptr, ptr %87, align 8
  invoke void %88(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %85)
          to label %89 unwind label %80

89:                                               ; preds = %84
  br label %90

90:                                               ; preds = %89
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %75, !llvm.loop !15

91:                                               ; preds = %79
  br label %92

92:                                               ; preds = %91
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %67, !llvm.loop !17

93:                                               ; preds = %70
  br label %196

94:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  store i8 1, ptr %19, align 1, !tbaa !9
  br label %95

95:                                               ; preds = %120, %94
  %96 = load i8, ptr %19, align 1, !tbaa !9, !range !11, !noundef !12
  %97 = trunc i8 %96 to i1
  br i1 %97, label %99, label %98

98:                                               ; preds = %95
  store i32 17, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %121

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  %101 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN3HIR13ExprNode_Asm25Param6as_SymEv(ptr noundef nonnull align 8 dereferenceable(96) %100)
          to label %102 unwind label %108

102:                                              ; preds = %99
  store ptr %101, ptr %20, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %118, %102
  %104 = load ptr, ptr %20, align 8, !tbaa !5
  %105 = load i8, ptr %19, align 1, !tbaa !9, !range !11, !noundef !12
  %106 = trunc i8 %105 to i1
  br i1 %106, label %112, label %107

107:                                              ; preds = %103
  store i32 20, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %119

108:                                              ; preds = %112, %99
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %8, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %198

112:                                              ; preds = %103
  %113 = load ptr, ptr %20, align 8, !tbaa !5
  %114 = load ptr, ptr %25, align 8, !tbaa !13
  %115 = getelementptr inbounds ptr, ptr %114, i64 46
  %116 = load ptr, ptr %115, align 8
  invoke void %116(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(88) %113)
          to label %117 unwind label %108

117:                                              ; preds = %112
  br label %118

118:                                              ; preds = %117
  store i8 0, ptr %19, align 1, !tbaa !9
  br label %103, !llvm.loop !18

119:                                              ; preds = %107
  br label %120

120:                                              ; preds = %119
  store i8 0, ptr %19, align 1, !tbaa !9
  br label %95, !llvm.loop !19

121:                                              ; preds = %98
  br label %196

122:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  store i8 1, ptr %21, align 1, !tbaa !9
  br label %123

123:                                              ; preds = %149, %122
  %124 = load i8, ptr %21, align 1, !tbaa !9, !range !11, !noundef !12
  %125 = trunc i8 %124 to i1
  br i1 %125, label %127, label %126

126:                                              ; preds = %123
  store i32 23, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  br label %150

127:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %128 = load ptr, ptr %16, align 8, !tbaa !5
  %129 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN3HIR13ExprNode_Asm25Param12as_RegSingleEv(ptr noundef nonnull align 8 dereferenceable(96) %128)
          to label %130 unwind label %136

130:                                              ; preds = %127
  store ptr %129, ptr %22, align 8, !tbaa !5
  br label %131

131:                                              ; preds = %147, %130
  %132 = load ptr, ptr %22, align 8, !tbaa !5
  %133 = load i8, ptr %21, align 1, !tbaa !9, !range !11, !noundef !12
  %134 = trunc i8 %133 to i1
  br i1 %134, label %140, label %135

135:                                              ; preds = %131
  store i32 26, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %148

136:                                              ; preds = %140, %127
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %8, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  br label %198

140:                                              ; preds = %131
  %141 = load ptr, ptr %22, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.HIR::ExprNode_Asm2::Param::Data_RegSingle", ptr %141, i32 0, i32 2
  %143 = load ptr, ptr %25, align 8, !tbaa !13
  %144 = getelementptr inbounds ptr, ptr %143, i64 2
  %145 = load ptr, ptr %144, align 8
  invoke void %145(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %142)
          to label %146 unwind label %136

146:                                              ; preds = %140
  br label %147

147:                                              ; preds = %146
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %131, !llvm.loop !20

148:                                              ; preds = %135
  br label %149

149:                                              ; preds = %148
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %123, !llvm.loop !21

150:                                              ; preds = %126
  br label %196

151:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  store i8 1, ptr %23, align 1, !tbaa !9
  br label %152

152:                                              ; preds = %194, %151
  %153 = load i8, ptr %23, align 1, !tbaa !9, !range !11, !noundef !12
  %154 = trunc i8 %153 to i1
  br i1 %154, label %156, label %155

155:                                              ; preds = %152
  store i32 29, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  br label %195

156:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %157 = load ptr, ptr %16, align 8, !tbaa !5
  %158 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN3HIR13ExprNode_Asm25Param6as_RegEv(ptr noundef nonnull align 8 dereferenceable(96) %157)
          to label %159 unwind label %165

159:                                              ; preds = %156
  store ptr %158, ptr %24, align 8, !tbaa !5
  br label %160

160:                                              ; preds = %192, %159
  %161 = load ptr, ptr %24, align 8, !tbaa !5
  %162 = load i8, ptr %23, align 1, !tbaa !9, !range !11, !noundef !12
  %163 = trunc i8 %162 to i1
  br i1 %163, label %169, label %164

164:                                              ; preds = %160
  store i32 32, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %193

165:                                              ; preds = %184, %173, %156
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %8, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  br label %198

169:                                              ; preds = %160
  %170 = load ptr, ptr %24, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.HIR::ExprNode_Asm2::Param::Data_Reg", ptr %170, i32 0, i32 2
  %172 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %171) #7
  br i1 %172, label %173, label %180

173:                                              ; preds = %169
  %174 = load ptr, ptr %24, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.HIR::ExprNode_Asm2::Param::Data_Reg", ptr %174, i32 0, i32 2
  %176 = load ptr, ptr %25, align 8, !tbaa !13
  %177 = getelementptr inbounds ptr, ptr %176, i64 2
  %178 = load ptr, ptr %177, align 8
  invoke void %178(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %175)
          to label %179 unwind label %165

179:                                              ; preds = %173
  br label %180

180:                                              ; preds = %179, %169
  %181 = load ptr, ptr %24, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.HIR::ExprNode_Asm2::Param::Data_Reg", ptr %181, i32 0, i32 3
  %183 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %182) #7
  br i1 %183, label %184, label %191

184:                                              ; preds = %180
  %185 = load ptr, ptr %24, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.HIR::ExprNode_Asm2::Param::Data_Reg", ptr %185, i32 0, i32 3
  %187 = load ptr, ptr %25, align 8, !tbaa !13
  %188 = getelementptr inbounds ptr, ptr %187, i64 2
  %189 = load ptr, ptr %188, align 8
  invoke void %189(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %186)
          to label %190 unwind label %165

190:                                              ; preds = %184
  br label %191

191:                                              ; preds = %190, %180
  br label %192

192:                                              ; preds = %191
  store i8 0, ptr %23, align 1, !tbaa !9
  br label %160, !llvm.loop !22

193:                                              ; preds = %164
  br label %194

194:                                              ; preds = %193
  store i8 0, ptr %23, align 1, !tbaa !9
  br label %152, !llvm.loop !23

195:                                              ; preds = %155
  br label %196

196:                                              ; preds = %195, %150, %121, %93, %60
  br label %197

197:                                              ; preds = %196
  store i8 0, ptr %15, align 1, !tbaa !9
  br label %53, !llvm.loop !24

198:                                              ; preds = %165, %136, %108, %80, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  br label %205

199:                                              ; preds = %56
  br label %200

200:                                              ; preds = %199
  store i8 0, ptr %15, align 1, !tbaa !9
  br label %47, !llvm.loop !25

201:                                              ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %202

202:                                              ; preds = %201
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %38

204:                                              ; preds = %40
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #7
  ret void

205:                                              ; preds = %198, %41
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #7
  br label %206

206:                                              ; preds = %205
  %207 = load ptr, ptr %8, align 8
  %208 = load i32, ptr %9, align 4
  %209 = insertvalue { ptr, i32 } poison, ptr %207, 0
  %210 = insertvalue { ptr, i32 } %209, i32 %208, 1
  resume { ptr, i32 } %210
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR14ExprVisitorDef5visitERNS4_13ExprNode_Asm2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

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

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

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}


; 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.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.36 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@__func__._ZN3HIR14ExprVisitorDef5visitERNS_14ExprNode_BlockE = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR14ExprVisitorDef5visitERNS_13ExprNode_Asm2E = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #3

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3HIR14ExprVisitorDef5visitERNS_13ExprNode_Asm2E(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(80) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.TraceLog, align 8
  %4 = alloca %"class.std::function", align 8
  %5 = alloca %class.anon.36, align 1
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #7
  %8 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %9 = select i1 %8, ptr @__func__._ZN3HIR14ExprVisitorDef5visitERNS_14ExprNode_BlockE, ptr null
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZN3HIR14ExprVisitorDef5visitERNS4_13ExprNode_Asm2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %9, ptr noundef nonnull %4)
          to label %10 unwind label %15

10:                                               ; preds = %2
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  %11 = getelementptr inbounds i8, ptr %1, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %12 = call ptr @_ZNSt6vectorIN3HIR13ExprNode_Asm25ParamESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %12, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %13 = call ptr @_ZNSt6vectorIN3HIR13ExprNode_Asm25ParamESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store ptr %13, ptr %7, align 8
  %14 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %14, label %.lr.ph108, label %._crit_edge

._crit_edge:                                      ; preds = %.loopexit57, %10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #7
  ret void

15:                                               ; preds = %2
  %16 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br label %54

.loopexit57:                                      ; preds = %.preheader52.split, %.preheader50.split, %.preheader.split, %.lr.ph108, %47, %49
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %18 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %18, label %.lr.ph108, label %._crit_edge

.lr.ph108:                                        ; preds = %10, %.loopexit57
  %19 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %20 = call noundef i32 @_ZNK3HIR13ExprNode_Asm25Param3tagEv(ptr noundef nonnull align 8 dereferenceable(96) %19)
  switch i32 %20, label %.loopexit57 [
    i32 0, label %38
    i32 1, label %.preheader.split
    i32 2, label %.preheader50.split
    i32 3, label %.preheader52.split
    i32 4, label %.preheader54.split.split
  ]

.preheader54.split.split:                         ; preds = %.lr.ph108
  %21 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZN3HIR13ExprNode_Asm25Param6as_RegEv(ptr noundef nonnull align 8 dereferenceable(96) %19)
  %22 = getelementptr inbounds i8, ptr %21, i64 48
  %23 = getelementptr inbounds i8, ptr %21, i64 56
  %24 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %24, label %43, label %47

.preheader52.split:                               ; preds = %.lr.ph108
  %25 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN3HIR13ExprNode_Asm25Param12as_RegSingleEv(ptr noundef nonnull align 8 dereferenceable(96) %19)
  %26 = getelementptr inbounds i8, ptr %25, i64 48
  %27 = load ptr, ptr %0, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 16
  %29 = load ptr, ptr %28, align 8
  invoke void %29(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %.loopexit57 unwind label %.split71, !llvm.loop !8

.preheader50.split:                               ; preds = %.lr.ph108
  %30 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3HIR13ExprNode_Asm25Param6as_SymEv(ptr noundef nonnull align 8 dereferenceable(96) %19)
  %31 = load ptr, ptr %0, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 368
  %33 = load ptr, ptr %32, align 8
  invoke void %33(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(88) %30)
          to label %.loopexit57 unwind label %.split83, !llvm.loop !10

.preheader.split:                                 ; preds = %.lr.ph108
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR13ExprNode_Asm25Param8as_ConstEv(ptr noundef nonnull align 8 dereferenceable(96) %19)
  %35 = load ptr, ptr %0, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load ptr, ptr %36, align 8
  invoke void %37(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %.loopexit57 unwind label %.split96, !llvm.loop !11

38:                                               ; preds = %.lr.ph108
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 57, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3HIR14ExprVisitorDef5visitERNS_13ExprNode_Asm2E) #8
  unreachable

.split96:                                         ; preds = %.preheader.split
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %53

.split83:                                         ; preds = %.preheader50.split
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %53

.split71:                                         ; preds = %.preheader52.split
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %53

.split.split:                                     ; preds = %49, %43
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %53

43:                                               ; preds = %.preheader54.split.split
  %44 = load ptr, ptr %0, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  %46 = load ptr, ptr %45, align 8
  invoke void %46(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %47 unwind label %.split.split

47:                                               ; preds = %43, %.preheader54.split.split
  %48 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR8ExprNodeESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br i1 %48, label %49, label %.loopexit57

49:                                               ; preds = %47
  %50 = load ptr, ptr %0, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  %52 = load ptr, ptr %51, align 8
  invoke void %52(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %.loopexit57 unwind label %.split.split

53:                                               ; preds = %.split.split, %.split71, %.split83, %.split96
  %.pn = phi { ptr, i32 } [ %42, %.split.split ], [ %41, %.split71 ], [ %40, %.split83 ], [ %39, %.split96 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #7
  br label %54

54:                                               ; preds = %53, %15
  %.pn.pn = phi { ptr, i32 } [ %.pn, %53 ], [ %16, %15 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN3HIR14ExprVisitorDef5visitERNS4_13ExprNode_Asm2EE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR13ExprNode_Asm25ParamESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

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

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

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

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}


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