; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_CGenerator (sdefNamespace__)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.tag_____SetEntry__Ptr__Array__Tag________ = type { i32, ptr }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____MapEntry__string__Node____ = type { i32, %struct.string__, %struct.Node__ }
%struct.string__ = type { ptr, i32 }
%struct.Node__ = type { i32, ptr }
%struct.tag_____Namespace__ = type { %struct.string__, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.tag_____CustomSet__Ptr__Array__Tag________ = type { %struct.tag_____Array__SetEntry__Ptr__Array__Tag__________, i32, i32, i32, ptr, ptr }
%struct.tag_____Array__SetEntry__Ptr__Array__Tag__________ = type { ptr, i32 }
%struct.tag_____Map__string__Node____ = type { %struct.tag_____Array__MapEntry__string__Node______, i32, i32, i32 }
%struct.tag_____Array__MapEntry__string__Node______ = type { ptr, i32 }

@top_____abandonFn__ = external dso_local thread_local global ptr, align 8

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__sdefStructVariant__(ptr noundef, ptr, ptr) #4

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @CustomSet__contains__Ptr__Array__Tag________(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__sdefNamespace__(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.tag_____SetEntry__Ptr__Array__Tag________, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.tag_____Tag__, align 8
  %10 = alloca %struct.tag_____Tag__, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.tag_____MapEntry__string__Node____, align 8
  %14 = alloca %struct.Node__, align 8
  %15 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.tag_____Namespace__, ptr %16, i32 0, i32 3
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = and i32 %18, 2097440
  %20 = icmp eq i32 %19, 256
  br i1 %20, label %21, label %81

21:                                               ; preds = %2
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.tag_____Namespace__, ptr %22, i32 0, i32 10
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %72

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.tag_____Namespace__, ptr %27, i32 0, i32 10
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  store ptr %29, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !14
  br label %30

30:                                               ; preds = %68, %26
  %31 = load i32, ptr %6, align 4, !tbaa !14
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.tag_____CustomSet__Ptr__Array__Tag________, ptr %32, i32 0, i32 0
  %34 = getelementptr inbounds %struct.tag_____Array__SetEntry__Ptr__Array__Tag__________, ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !15
  %36 = icmp slt i32 %31, %35
  br i1 %36, label %37, label %71

37:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.tag_____CustomSet__Ptr__Array__Tag________, ptr %38, i32 0, i32 0
  %40 = getelementptr inbounds %struct.tag_____Array__SetEntry__Ptr__Array__Tag__________, ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !18
  %42 = load i32, ptr %6, align 4, !tbaa !14
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %41, i64 %43
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %44, i64 16, i1 false), !tbaa.struct !19
  %45 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %7, i32 0, i32 0
  %46 = load i32, ptr %45, align 8, !tbaa !20
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %68

48:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %49 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %7, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !22
  store ptr %50, ptr %8, align 8, !tbaa !5
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.tag_____Namespace__, ptr %51, i32 0, i32 11
  %53 = load ptr, ptr %52, align 8, !tbaa !23
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = call zeroext i8 @CustomSet__contains__Ptr__Array__Tag________(ptr noundef %53, ptr noundef %54)
  %56 = icmp ne i8 %55, 0
  br i1 %56, label %67, label %57

57:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 16, i1 false)
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 0
  store ptr %58, ptr %59, align 8, !tbaa !24
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.tag_____Tag__, ptr %9, i32 0, i32 1
  store ptr %60, ptr %61, align 8, !tbaa !26
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8
  %65 = getelementptr inbounds { ptr, ptr }, ptr %9, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8
  call void @CGenerator__sdefStructVariant__(ptr noundef %62, ptr %64, ptr %66)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  br label %67

67:                                               ; preds = %57, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %68

68:                                               ; preds = %67, %37
  %69 = load i32, ptr %6, align 4, !tbaa !14
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %6, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  br label %30, !llvm.loop !27

71:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %80

72:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 16, i1 false)
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  store ptr %73, ptr %74, align 8, !tbaa !24
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8
  %78 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8
  call void @CGenerator__sdefStructVariant__(ptr noundef %75, ptr %77, ptr %79)
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  br label %80

80:                                               ; preds = %72, %71
  br label %81

81:                                               ; preds = %80, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.tag_____Namespace__, ptr %82, i32 0, i32 4
  %84 = load ptr, ptr %83, align 8, !tbaa !29
  store ptr %84, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !14
  br label %85

85:                                               ; preds = %117, %81
  %86 = load i32, ptr %12, align 4, !tbaa !14
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.tag_____Map__string__Node____, ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds %struct.tag_____Array__MapEntry__string__Node______, ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 8, !tbaa !30
  %91 = icmp slt i32 %86, %90
  br i1 %91, label %92, label %120

92:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #5
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.tag_____Map__string__Node____, ptr %93, i32 0, i32 0
  %95 = getelementptr inbounds %struct.tag_____Array__MapEntry__string__Node______, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !33
  %97 = load i32, ptr %12, align 4, !tbaa !14
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %96, i64 %98
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %99, i64 40, i1 false), !tbaa.struct !34
  %100 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %13, i32 0, i32 0
  %101 = load i32, ptr %100, align 8, !tbaa !35
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %117

103:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %104 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %13, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %104, i64 16, i1 false), !tbaa.struct !19
  %105 = getelementptr inbounds %struct.Node__, ptr %14, i32 0, i32 0
  %106 = load i32, ptr %105, align 8, !tbaa !38
  switch i32 %106, label %112 [
    i32 22, label %107
    i32 0, label %113
  ]

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %108 = getelementptr inbounds %struct.Node__, ptr %14, i32 0, i32 1
  %109 = load ptr, ptr %108, align 8, !tbaa !39
  store ptr %109, ptr %15, align 8, !tbaa !5
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = load ptr, ptr %15, align 8, !tbaa !5
  call void @CGenerator__sdefNamespace__(ptr noundef %110, ptr noundef %111)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %116

112:                                              ; preds = %103
  br label %116

113:                                              ; preds = %103
  %114 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  call void %115(i32 noundef -5)
  br label %116

116:                                              ; preds = %113, %112, %107
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  br label %117

117:                                              ; preds = %116, %92
  %118 = load i32, ptr %12, align 4, !tbaa !14
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %12, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #5
  br label %85, !llvm.loop !40

120:                                              ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 }

!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/C++ TBAA"}
!9 = !{!10, !12, i64 28}
!10 = !{!"tag_____Namespace__", !11, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !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, !12, i64 104}
!11 = !{!"", !6, i64 0, !12, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !6, i64 80}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"tag_____CustomSet__Ptr__Array__Tag________", !17, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !6, i64 32, !6, i64 40}
!17 = !{!"tag_____Array__SetEntry__Ptr__Array__Tag__________", !6, i64 0, !12, i64 8}
!18 = !{!16, !6, i64 0}
!19 = !{i64 0, i64 4, !14, i64 8, i64 8, !5}
!20 = !{!21, !12, i64 0}
!21 = !{!"tag_____SetEntry__Ptr__Array__Tag________", !12, i64 0, !6, i64 8}
!22 = !{!21, !6, i64 8}
!23 = !{!10, !6, i64 88}
!24 = !{!25, !6, i64 0}
!25 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!26 = !{!25, !6, i64 8}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!10, !6, i64 32}
!30 = !{!31, !12, i64 8}
!31 = !{!"tag_____Map__string__Node____", !32, i64 0, !12, i64 16, !12, i64 20, !12, i64 24}
!32 = !{!"tag_____Array__MapEntry__string__Node______", !6, i64 0, !12, i64 8}
!33 = !{!31, !6, i64 0}
!34 = !{i64 0, i64 4, !14, i64 8, i64 8, !5, i64 16, i64 4, !14, i64 24, i64 4, !14, i64 32, i64 8, !5}
!35 = !{!36, !12, i64 0}
!36 = !{!"tag_____MapEntry__string__Node____", !12, i64 0, !11, i64 8, !37, i64 24}
!37 = !{!"", !12, i64 0, !6, i64 8}
!38 = !{!37, !12, i64 0}
!39 = !{!37, !6, i64 8}
!40 = distinct !{!40, !28}


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

%struct.tag_____SetEntry__Ptr__Array__Tag________ = type { i32, ptr }
%struct.tag_____MapEntry__string__Node____ = type { i32, %struct.string__, %struct.Node__ }
%struct.string__ = type { ptr, i32 }
%struct.Node__ = type { i32, ptr }

@top_____abandonFn__ = external dso_local thread_local local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #0

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__sdefStructVariant__(ptr noundef, ptr, ptr) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @CustomSet__contains__Ptr__Array__Tag________(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__sdefNamespace__(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %1, i64 28
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = and i32 %4, 2097440
  %6 = icmp eq i32 %5, 256
  br i1 %6, label %7, label %.loopexit

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %1, i64 80
  %9 = load ptr, ptr %8, align 8, !tbaa !12
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %25, label %.preheader

.preheader:                                       ; preds = %7
  %10 = getelementptr inbounds i8, ptr %9, i64 8
  %11 = load i32, ptr %10, align 8, !tbaa !13
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader
  %13 = getelementptr inbounds i8, ptr %1, i64 88
  br label %14

14:                                               ; preds = %.lr.ph, %21
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %21 ]
  %15 = load ptr, ptr %9, align 8, !tbaa !16
  %16 = getelementptr inbounds %struct.tag_____SetEntry__Ptr__Array__Tag________, ptr %15, i64 %indvars.iv
  %.sroa.015.0.copyload = load i32, ptr %16, align 8, !tbaa !17
  %.sroa.417.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 8
  %.sroa.417.0.copyload = load ptr, ptr %.sroa.417.0..sroa_idx, align 8, !tbaa !18
  %.not36 = icmp eq i32 %.sroa.015.0.copyload, 0
  br i1 %.not36, label %21, label %17

17:                                               ; preds = %14
  %18 = load ptr, ptr %13, align 8, !tbaa !19
  %19 = tail call zeroext i8 @CustomSet__contains__Ptr__Array__Tag________(ptr noundef %18, ptr noundef %.sroa.417.0.copyload)
  %.not37 = icmp eq i8 %19, 0
  br i1 %.not37, label %20, label %21

20:                                               ; preds = %17
  tail call void @CGenerator__sdefStructVariant__(ptr noundef %0, ptr nonnull %1, ptr %.sroa.417.0.copyload)
  br label %21

21:                                               ; preds = %17, %20, %14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %22 = load i32, ptr %10, align 8, !tbaa !13
  %23 = sext i32 %22 to i64
  %24 = icmp slt i64 %indvars.iv.next, %23
  br i1 %24, label %14, label %.loopexit, !llvm.loop !20

25:                                               ; preds = %7
  tail call void @CGenerator__sdefStructVariant__(ptr noundef %0, ptr nonnull %1, ptr null)
  br label %.loopexit

.loopexit:                                        ; preds = %21, %.preheader, %25, %2
  %26 = getelementptr inbounds i8, ptr %1, i64 32
  %27 = load ptr, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  %29 = load i32, ptr %28, align 8, !tbaa !23
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph42, label %._crit_edge

.lr.ph42:                                         ; preds = %.loopexit
  %31 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  br label %32

32:                                               ; preds = %.lr.ph42, %39
  %indvars.iv44 = phi i64 [ 0, %.lr.ph42 ], [ %indvars.iv.next45, %39 ]
  %33 = load ptr, ptr %27, align 8, !tbaa !26
  %34 = getelementptr inbounds %struct.tag_____MapEntry__string__Node____, ptr %33, i64 %indvars.iv44
  %.sroa.02.0.copyload = load i32, ptr %34, align 8, !tbaa !17
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 32
  %.sroa.6.0.copyload = load ptr, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !18
  %.not35 = icmp eq i32 %.sroa.02.0.copyload, 0
  br i1 %.not35, label %39, label %35

35:                                               ; preds = %32
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 24
  %.sroa.44.0.copyload = load i32, ptr %.sroa.44.0..sroa_idx, align 8, !tbaa !17
  switch i32 %.sroa.44.0.copyload, label %39 [
    i32 22, label %36
    i32 0, label %37
  ]

36:                                               ; preds = %35
  tail call void @CGenerator__sdefNamespace__(ptr noundef %0, ptr noundef %.sroa.6.0.copyload)
  br label %39

37:                                               ; preds = %35
  %38 = load ptr, ptr %31, align 8, !tbaa !18
  tail call void %38(i32 noundef -5) #2
  br label %39

39:                                               ; preds = %36, %37, %35, %32
  %indvars.iv.next45 = add nuw nsw i64 %indvars.iv44, 1
  %40 = load i32, ptr %28, align 8, !tbaa !23
  %41 = sext i32 %40 to i64
  %42 = icmp slt i64 %indvars.iv.next45, %41
  br i1 %42, label %32, label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %39, %.loopexit
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 = { 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, !11, i64 28}
!6 = !{!"tag_____Namespace__", !7, i64 0, !8, i64 16, !11, i64 24, !11, i64 28, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96, !11, i64 104}
!7 = !{!"", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!6, !8, i64 80}
!13 = !{!14, !11, i64 8}
!14 = !{!"tag_____CustomSet__Ptr__Array__Tag________", !15, i64 0, !11, i64 16, !11, i64 20, !11, i64 24, !8, i64 32, !8, i64 40}
!15 = !{!"tag_____Array__SetEntry__Ptr__Array__Tag__________", !8, i64 0, !11, i64 8}
!16 = !{!14, !8, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!6, !8, i64 88}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !8, i64 32}
!23 = !{!24, !11, i64 8}
!24 = !{!"tag_____Map__string__Node____", !25, i64 0, !11, i64 16, !11, i64 20, !11, i64 24}
!25 = !{!"tag_____Array__MapEntry__string__Node______", !8, i64 0, !11, i64 8}
!26 = !{!24, !8, i64 0}
!27 = distinct !{!27, !21}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass