; LLVM IR from ange-yaghi/simple-2d-constraint-solver :: src/system_state.ll (ZN7atg_scs11SystemState6resizeEii)

; 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.atg_scs::SystemState" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, double }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7atg_scs11SystemState6resizeEii(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef %1, i32 noundef %2) #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  %7 = load ptr, ptr %4, align 8
  %8 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %9 = load i32, ptr %8, align 8, !tbaa !11
  %10 = load i32, ptr %5, align 4, !tbaa !9
  %11 = icmp sge i32 %9, %10
  br i1 %11, label %12, label %18

12:                                               ; preds = %3
  %13 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 18
  %14 = load i32, ptr %13, align 4, !tbaa !14
  %15 = load i32, ptr %6, align 4, !tbaa !9
  %16 = icmp sge i32 %14, %15
  br i1 %16, label %17, label %18

17:                                               ; preds = %12
  br label %179

18:                                               ; preds = %12, %3
  call void @_ZN7atg_scs11SystemState7destroyEv(ptr noundef nonnull align 8 dereferenceable(152) %7)
  %19 = load i32, ptr %5, align 4, !tbaa !9
  %20 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  store i32 %19, ptr %20, align 8, !tbaa !11
  %21 = load i32, ptr %6, align 4, !tbaa !9
  %22 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 18
  store i32 %21, ptr %22, align 4, !tbaa !14
  %23 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 18
  %24 = load i32, ptr %23, align 4, !tbaa !14
  %25 = sext i32 %24 to i64
  %26 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %25, i64 4)
  %27 = extractvalue { i64, i1 } %26, 1
  %28 = extractvalue { i64, i1 } %26, 0
  %29 = select i1 %27, i64 -1, i64 %28
  %30 = call noalias noundef nonnull ptr @_Znam(i64 noundef %29) #3
  %31 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 0
  store ptr %30, ptr %31, align 8, !tbaa !15
  %32 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = sext i32 %33 to i64
  %35 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %34, i64 8)
  %36 = extractvalue { i64, i1 } %35, 1
  %37 = extractvalue { i64, i1 } %35, 0
  %38 = select i1 %36, i64 -1, i64 %37
  %39 = call noalias noundef nonnull ptr @_Znam(i64 noundef %38) #3
  %40 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 1
  store ptr %39, ptr %40, align 8, !tbaa !16
  %41 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %42 = load i32, ptr %41, align 8, !tbaa !11
  %43 = sext i32 %42 to i64
  %44 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %43, i64 8)
  %45 = extractvalue { i64, i1 } %44, 1
  %46 = extractvalue { i64, i1 } %44, 0
  %47 = select i1 %45, i64 -1, i64 %46
  %48 = call noalias noundef nonnull ptr @_Znam(i64 noundef %47) #3
  %49 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 2
  store ptr %48, ptr %49, align 8, !tbaa !17
  %50 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %51 = load i32, ptr %50, align 8, !tbaa !11
  %52 = sext i32 %51 to i64
  %53 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %52, i64 8)
  %54 = extractvalue { i64, i1 } %53, 1
  %55 = extractvalue { i64, i1 } %53, 0
  %56 = select i1 %54, i64 -1, i64 %55
  %57 = call noalias noundef nonnull ptr @_Znam(i64 noundef %56) #3
  %58 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 3
  store ptr %57, ptr %58, align 8, !tbaa !18
  %59 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %60 = load i32, ptr %59, align 8, !tbaa !11
  %61 = sext i32 %60 to i64
  %62 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %61, i64 8)
  %63 = extractvalue { i64, i1 } %62, 1
  %64 = extractvalue { i64, i1 } %62, 0
  %65 = select i1 %63, i64 -1, i64 %64
  %66 = call noalias noundef nonnull ptr @_Znam(i64 noundef %65) #3
  %67 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 4
  store ptr %66, ptr %67, align 8, !tbaa !19
  %68 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %69 = load i32, ptr %68, align 8, !tbaa !11
  %70 = sext i32 %69 to i64
  %71 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %70, i64 8)
  %72 = extractvalue { i64, i1 } %71, 1
  %73 = extractvalue { i64, i1 } %71, 0
  %74 = select i1 %72, i64 -1, i64 %73
  %75 = call noalias noundef nonnull ptr @_Znam(i64 noundef %74) #3
  %76 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 5
  store ptr %75, ptr %76, align 8, !tbaa !20
  %77 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %78 = load i32, ptr %77, align 8, !tbaa !11
  %79 = sext i32 %78 to i64
  %80 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %79, i64 8)
  %81 = extractvalue { i64, i1 } %80, 1
  %82 = extractvalue { i64, i1 } %80, 0
  %83 = select i1 %81, i64 -1, i64 %82
  %84 = call noalias noundef nonnull ptr @_Znam(i64 noundef %83) #3
  %85 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 6
  store ptr %84, ptr %85, align 8, !tbaa !21
  %86 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %87 = load i32, ptr %86, align 8, !tbaa !11
  %88 = sext i32 %87 to i64
  %89 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %88, i64 8)
  %90 = extractvalue { i64, i1 } %89, 1
  %91 = extractvalue { i64, i1 } %89, 0
  %92 = select i1 %90, i64 -1, i64 %91
  %93 = call noalias noundef nonnull ptr @_Znam(i64 noundef %92) #3
  %94 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 7
  store ptr %93, ptr %94, align 8, !tbaa !22
  %95 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %96 = load i32, ptr %95, align 8, !tbaa !11
  %97 = sext i32 %96 to i64
  %98 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %97, i64 8)
  %99 = extractvalue { i64, i1 } %98, 1
  %100 = extractvalue { i64, i1 } %98, 0
  %101 = select i1 %99, i64 -1, i64 %100
  %102 = call noalias noundef nonnull ptr @_Znam(i64 noundef %101) #3
  %103 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 8
  store ptr %102, ptr %103, align 8, !tbaa !23
  %104 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %105 = load i32, ptr %104, align 8, !tbaa !11
  %106 = sext i32 %105 to i64
  %107 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %106, i64 8)
  %108 = extractvalue { i64, i1 } %107, 1
  %109 = extractvalue { i64, i1 } %107, 0
  %110 = select i1 %108, i64 -1, i64 %109
  %111 = call noalias noundef nonnull ptr @_Znam(i64 noundef %110) #3
  %112 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 9
  store ptr %111, ptr %112, align 8, !tbaa !24
  %113 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %114 = load i32, ptr %113, align 8, !tbaa !11
  %115 = sext i32 %114 to i64
  %116 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %115, i64 8)
  %117 = extractvalue { i64, i1 } %116, 1
  %118 = extractvalue { i64, i1 } %116, 0
  %119 = select i1 %117, i64 -1, i64 %118
  %120 = call noalias noundef nonnull ptr @_Znam(i64 noundef %119) #3
  %121 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 10
  store ptr %120, ptr %121, align 8, !tbaa !25
  %122 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %123 = load i32, ptr %122, align 8, !tbaa !11
  %124 = sext i32 %123 to i64
  %125 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %124, i64 8)
  %126 = extractvalue { i64, i1 } %125, 1
  %127 = extractvalue { i64, i1 } %125, 0
  %128 = select i1 %126, i64 -1, i64 %127
  %129 = call noalias noundef nonnull ptr @_Znam(i64 noundef %128) #3
  %130 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 11
  store ptr %129, ptr %130, align 8, !tbaa !26
  %131 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %132 = load i32, ptr %131, align 8, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %133, i64 8)
  %135 = extractvalue { i64, i1 } %134, 1
  %136 = extractvalue { i64, i1 } %134, 0
  %137 = select i1 %135, i64 -1, i64 %136
  %138 = call noalias noundef nonnull ptr @_Znam(i64 noundef %137) #3
  %139 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 12
  store ptr %138, ptr %139, align 8, !tbaa !27
  %140 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 17
  %141 = load i32, ptr %140, align 8, !tbaa !11
  %142 = sext i32 %141 to i64
  %143 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %142, i64 8)
  %144 = extractvalue { i64, i1 } %143, 1
  %145 = extractvalue { i64, i1 } %143, 0
  %146 = select i1 %144, i64 -1, i64 %145
  %147 = call noalias noundef nonnull ptr @_Znam(i64 noundef %146) #3
  %148 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 16
  store ptr %147, ptr %148, align 8, !tbaa !28
  %149 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 18
  %150 = load i32, ptr %149, align 4, !tbaa !14
  %151 = sext i32 %150 to i64
  %152 = mul i64 %151, 2
  %153 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %152, i64 8)
  %154 = extractvalue { i64, i1 } %153, 1
  %155 = extractvalue { i64, i1 } %153, 0
  %156 = select i1 %154, i64 -1, i64 %155
  %157 = call noalias noundef nonnull ptr @_Znam(i64 noundef %156) #3
  %158 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 13
  store ptr %157, ptr %158, align 8, !tbaa !29
  %159 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 18
  %160 = load i32, ptr %159, align 4, !tbaa !14
  %161 = sext i32 %160 to i64
  %162 = mul i64 %161, 2
  %163 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %162, i64 8)
  %164 = extractvalue { i64, i1 } %163, 1
  %165 = extractvalue { i64, i1 } %163, 0
  %166 = select i1 %164, i64 -1, i64 %165
  %167 = call noalias noundef nonnull ptr @_Znam(i64 noundef %166) #3
  %168 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 14
  store ptr %167, ptr %168, align 8, !tbaa !30
  %169 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 18
  %170 = load i32, ptr %169, align 4, !tbaa !14
  %171 = sext i32 %170 to i64
  %172 = mul i64 %171, 2
  %173 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %172, i64 8)
  %174 = extractvalue { i64, i1 } %173, 1
  %175 = extractvalue { i64, i1 } %173, 0
  %176 = select i1 %174, i64 -1, i64 %175
  %177 = call noalias noundef nonnull ptr @_Znam(i64 noundef %176) #3
  %178 = getelementptr inbounds %"class.atg_scs::SystemState", ptr %7, i32 0, i32 15
  store ptr %177, ptr %178, align 8, !tbaa !31
  br label %179

179:                                              ; preds = %18, %17
  ret void
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nobuiltin allocsize(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 = { builtin allocsize(0) }

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 136}
!12 = !{!"_ZTSN7atg_scs11SystemStateE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !10, i64 136, !10, i64 140, !13, i64 144}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !10, i64 140}
!15 = !{!12, !6, i64 0}
!16 = !{!12, !6, i64 8}
!17 = !{!12, !6, i64 16}
!18 = !{!12, !6, i64 24}
!19 = !{!12, !6, i64 32}
!20 = !{!12, !6, i64 40}
!21 = !{!12, !6, i64 48}
!22 = !{!12, !6, i64 56}
!23 = !{!12, !6, i64 64}
!24 = !{!12, !6, i64 72}
!25 = !{!12, !6, i64 80}
!26 = !{!12, !6, i64 88}
!27 = !{!12, !6, i64 96}
!28 = !{!12, !6, i64 128}
!29 = !{!12, !6, i64 104}
!30 = !{!12, !6, i64 112}
!31 = !{!12, !6, i64 120}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7atg_scs11SystemState6resizeEii(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 136
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %.not = icmp slt i32 %5, %1
  %6 = getelementptr inbounds i8, ptr %0, i64 140
  %7 = load i32, ptr %6, align 4
  %.not4 = icmp slt i32 %7, %2
  %or.cond = select i1 %.not, i1 true, i1 %.not4
  br i1 %or.cond, label %8, label %52

8:                                                ; preds = %3
  tail call void @_ZN7atg_scs11SystemState7destroyEv(ptr noundef nonnull align 8 dereferenceable(152) %0)
  store i32 %1, ptr %4, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !12
  %9 = sext i32 %2 to i64
  %10 = icmp slt i32 %2, 0
  %11 = shl nsw i64 %9, 2
  %12 = select i1 %10, i64 -1, i64 %11
  %13 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %12) #2
  store ptr %13, ptr %0, align 8, !tbaa !13
  %14 = zext nneg i32 %1 to i64
  %15 = icmp slt i32 %1, 0
  %16 = shl nuw nsw i64 %14, 3
  %17 = select i1 %15, i64 -1, i64 %16
  %18 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %18, ptr %19, align 8, !tbaa !14
  %20 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %20, ptr %21, align 8, !tbaa !15
  %22 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %23 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %22, ptr %23, align 8, !tbaa !16
  %24 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %25 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %24, ptr %25, align 8, !tbaa !17
  %26 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %27 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %26, ptr %27, align 8, !tbaa !18
  %28 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %29 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %28, ptr %29, align 8, !tbaa !19
  %30 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %31 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %30, ptr %31, align 8, !tbaa !20
  %32 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %33 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %32, ptr %33, align 8, !tbaa !21
  %34 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %34, ptr %35, align 8, !tbaa !22
  %36 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %37 = getelementptr inbounds i8, ptr %0, i64 80
  store ptr %36, ptr %37, align 8, !tbaa !23
  %38 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %39 = getelementptr inbounds i8, ptr %0, i64 88
  store ptr %38, ptr %39, align 8, !tbaa !24
  %40 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %41 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr %40, ptr %41, align 8, !tbaa !25
  %42 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #2
  %43 = getelementptr inbounds i8, ptr %0, i64 128
  store ptr %42, ptr %43, align 8, !tbaa !26
  %44 = shl nsw i64 %9, 4
  %45 = select i1 %10, i64 -1, i64 %44
  %46 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %45) #2
  %47 = getelementptr inbounds i8, ptr %0, i64 104
  store ptr %46, ptr %47, align 8, !tbaa !27
  %48 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %45) #2
  %49 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr %48, ptr %49, align 8, !tbaa !28
  %50 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %45) #2
  %51 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr %50, ptr %51, align 8, !tbaa !29
  br label %52

52:                                               ; preds = %3, %8
  ret void
}

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nobuiltin allocsize(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 = { builtin allocsize(0) }

!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, !10, i64 136}
!6 = !{!"_ZTSN7atg_scs11SystemStateE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !10, i64 136, !10, i64 140, !11, i64 144}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!6, !10, i64 140}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 16}
!16 = !{!6, !7, i64 24}
!17 = !{!6, !7, i64 32}
!18 = !{!6, !7, i64 40}
!19 = !{!6, !7, i64 48}
!20 = !{!6, !7, i64 56}
!21 = !{!6, !7, i64 64}
!22 = !{!6, !7, i64 72}
!23 = !{!6, !7, i64 80}
!24 = !{!6, !7, i64 88}
!25 = !{!6, !7, i64 96}
!26 = !{!6, !7, i64 128}
!27 = !{!6, !7, i64 104}
!28 = !{!6, !7, i64 112}
!29 = !{!6, !7, i64 120}


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