; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_TypeChecker (checkReturnStatement__)

; 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.string__ = type { ptr, i32 }
%struct.tag_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.Node__ = type { i32, ptr }
%struct.tag_____ReturnStatement__ = type { ptr, %struct.Node__ }
%struct.tag_____TypeCheckerContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i8 }
%struct.tag_____FunctionDef__ = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.Node__, ptr, ptr, ptr, ptr, i32, ptr, %struct.string__, %struct.string__, %struct.tag_____Tag__, i32, ptr, ptr, ptr, ptr, %struct.string__ }
%struct.tag_____CommonTags__ = type { %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.tag_____Token__ = type { i32, %struct.string__, %struct.tag_____IntRange__, %struct.tag_____IntRange__, i32 }

@mu_____string269 = external dso_local global %struct.string__, 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; 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) #1

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Error____(ptr noundef, ptr noundef byval(%struct.tag_____Error__) align 8) #2

; Function Attrs: nounwind uwtable
declare dso_local void @Error__at__(ptr dead_on_unwind noalias writable sret(%struct.tag_____Error__) align 8, ptr noundef, i64, ptr, i32) #2

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef, i32, ptr) #2

; Function Attrs: nounwind uwtable
define dso_local void @TypeChecker__checkReturnStatement__(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.tag_____Tag__, align 8
  %6 = alloca %struct.Node__, align 8
  %7 = alloca %struct.tag_____Tag__, align 8
  %8 = alloca i8, align 1
  %9 = alloca %struct.tag_____Error__, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.tag_____ReturnStatement__, ptr %10, i32 0, i32 1
  %12 = getelementptr inbounds %struct.Node__, ptr %11, i32 0, i32 1
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %61

15:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #3
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.tag_____ReturnStatement__, ptr %17, i32 0, i32 1
  %19 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 8
  %21 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8
  %23 = call { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef %16, i32 %20, ptr %22)
  %24 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 0
  %25 = extractvalue { ptr, ptr } %23, 0
  store ptr %25, ptr %24, align 8
  %26 = getelementptr inbounds { ptr, ptr }, ptr %5, i32 0, i32 1
  %27 = extractvalue { ptr, ptr } %23, 1
  store ptr %27, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #3
  %28 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 1
  store ptr null, ptr %28, align 8, !tbaa !13
  %29 = getelementptr inbounds %struct.Node__, ptr %6, i32 0, i32 0
  store i32 0, ptr %29, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #3
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %31, i32 0, i32 7
  %33 = load ptr, ptr %32, align 8, !tbaa !15
  %34 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %33, i32 0, i32 16
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.tag_____ReturnStatement__, ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.tag_____ReturnStatement__, ptr %37, i32 0, i32 1
  %39 = getelementptr inbounds { ptr, ptr }, ptr %34, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8
  %41 = getelementptr inbounds { ptr, ptr }, ptr %34, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8
  %43 = getelementptr inbounds { i32, ptr }, ptr %6, i32 0, i32 0
  %44 = load i32, ptr %43, align 8
  %45 = getelementptr inbounds { i32, ptr }, ptr %6, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8
  %47 = call { ptr, ptr } @TypeChecker__unify__(ptr noundef %30, ptr %40, ptr %42, i32 %44, ptr %46, ptr noundef byval(%struct.tag_____Tag__) align 8 %5, ptr noundef byval(%struct.Node__) align 8 %36, ptr noundef byval(%struct.Node__) align 8 %38)
  %48 = getelementptr inbounds { ptr, ptr }, ptr %7, i32 0, i32 0
  %49 = extractvalue { ptr, ptr } %47, 0
  store ptr %49, ptr %48, align 8
  %50 = getelementptr inbounds { ptr, ptr }, ptr %7, i32 0, i32 1
  %51 = extractvalue { ptr, ptr } %47, 1
  store ptr %51, ptr %50, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #3
  %52 = getelementptr inbounds %struct.tag_____Tag__, ptr %5, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8, !tbaa !18
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %60

55:                                               ; preds = %15
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %56, i32 0, i32 7
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %58, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %59, ptr align 8 %5, i64 16, i1 false), !tbaa.struct !17
  br label %60

60:                                               ; preds = %55, %15
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #3
  br label %107

61:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #3
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %62, i32 0, i32 7
  %64 = load ptr, ptr %63, align 8, !tbaa !15
  %65 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %64, i32 0, i32 12
  %66 = load i32, ptr %65, align 8, !tbaa !20
  %67 = and i32 %66, 1
  %68 = icmp ne i32 %67, 0
  %69 = zext i1 %68 to i32
  %70 = trunc i32 %69 to i8
  store i8 %70, ptr %8, align 1, !tbaa !23
  %71 = load i8, ptr %8, align 1, !tbaa !23
  %72 = icmp ne i8 %71, 0
  br i1 %72, label %89, label %73

73:                                               ; preds = %61
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %74, i32 0, i32 7
  %76 = load ptr, ptr %75, align 8, !tbaa !15
  %77 = getelementptr inbounds %struct.tag_____FunctionDef__, ptr %76, i32 0, i32 16
  %78 = getelementptr inbounds %struct.tag_____Tag__, ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !24
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %80, i32 0, i32 4
  %82 = load ptr, ptr %81, align 8, !tbaa !25
  %83 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds %struct.tag_____Tag__, ptr %83, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8, !tbaa !26
  %86 = icmp ne ptr %79, %85
  %87 = zext i1 %86 to i32
  %88 = trunc i32 %87 to i8
  store i8 %88, ptr %8, align 1, !tbaa !23
  br label %89

89:                                               ; preds = %73, %61
  %90 = load i8, ptr %8, align 1, !tbaa !23
  %91 = icmp ne i8 %90, 0
  br i1 %91, label %92, label %106

92:                                               ; preds = %89
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !28
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.tag_____TypeCheckerContext__, ptr %96, i32 0, i32 5
  %98 = load ptr, ptr %97, align 8, !tbaa !29
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.tag_____ReturnStatement__, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !30
  %102 = getelementptr inbounds %struct.tag_____Token__, ptr %101, i32 0, i32 2
  %103 = load i64, ptr %102, align 8
  %104 = load ptr, ptr @mu_____string269, align 8
  %105 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string269, i32 0, i32 1), align 8
  call void @Error__at__(ptr dead_on_unwind writable sret(%struct.tag_____Error__) align 8 %9, ptr noundef %98, i64 %103, ptr %104, i32 %105)
  call void @List__add__Error____(ptr noundef %95, ptr noundef byval(%struct.tag_____Error__) align 8 %9)
  br label %106

106:                                              ; preds = %92, %89
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #3
  br label %107

107:                                              ; preds = %106, %60
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__unify__(ptr noundef, ptr, ptr, i32, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8, ptr noundef byval(%struct.Node__) align 8, ptr noundef byval(%struct.Node__) align 8) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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, !6, i64 16}
!10 = !{!"tag_____ReturnStatement__", !6, i64 0, !11, i64 8}
!11 = !{!"", !12, i64 0, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!11, !6, i64 8}
!14 = !{!11, !12, i64 0}
!15 = !{!16, !6, i64 56}
!16 = !{!"tag_____TypeCheckerContext__", !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, !12, i64 120, !12, i64 124, !6, i64 128, !12, i64 136, !7, i64 140}
!17 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!18 = !{!19, !6, i64 0}
!19 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!20 = !{!21, !12, i64 104}
!21 = !{!"tag_____FunctionDef__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !12, i64 104, !6, i64 112, !22, i64 120, !22, i64 136, !19, i64 152, !12, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !22, i64 208}
!22 = !{!"", !6, i64 0, !12, i64 8}
!23 = !{!7, !7, i64 0}
!24 = !{!21, !6, i64 152}
!25 = !{!16, !6, i64 32}
!26 = !{!27, !6, i64 0}
!27 = !{!"tag_____CommonTags__", !19, i64 0, !19, i64 16, !19, i64 32, !19, i64 48, !19, i64 64, !19, i64 80, !19, i64 96, !19, i64 112, !19, i64 128, !19, i64 144, !19, i64 160, !19, i64 176, !19, i64 192, !19, i64 208, !19, i64 224, !19, i64 240, !19, i64 256, !19, i64 272, !19, i64 288, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376}
!28 = !{!16, !6, i64 16}
!29 = !{!16, !6, i64 40}
!30 = !{!10, !6, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.string__ = type { ptr, i32 }
%struct.tag_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.Node__ = type { i32, ptr }

@mu_____string269 = external dso_local local_unnamed_addr global %struct.string__, align 8

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

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

; Function Attrs: mustprogress 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) #1

; Function Attrs: nounwind uwtable
declare dso_local void @List__add__Error____(ptr noundef, ptr noundef byval(%struct.tag_____Error__) align 8) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @Error__at__(ptr dead_on_unwind noalias writable sret(%struct.tag_____Error__) align 8, ptr noundef, i64, ptr, i32) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef, i32, ptr) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @TypeChecker__checkReturnStatement__(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca %struct.tag_____Tag__, align 8
  %4 = alloca %struct.tag_____Error__, align 8
  %5 = getelementptr inbounds i8, ptr %1, i64 16
  %6 = load ptr, ptr %5, align 8
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %27, label %7

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  %9 = load i32, ptr %8, align 8
  %10 = tail call { ptr, ptr } @TypeChecker__checkExpression__(ptr noundef %0, i32 %9, ptr nonnull %6)
  %11 = extractvalue { ptr, ptr } %10, 0
  store ptr %11, ptr %3, align 8
  %12 = getelementptr inbounds i8, ptr %3, i64 8
  %13 = extractvalue { ptr, ptr } %10, 1
  store ptr %13, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 152
  %17 = load ptr, ptr %16, align 8
  %18 = getelementptr inbounds i8, ptr %15, i64 160
  %19 = load ptr, ptr %18, align 8
  %20 = tail call { ptr, ptr } @TypeChecker__unify__(ptr noundef %0, ptr %17, ptr %19, i32 0, ptr null, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %3, ptr noundef nonnull byval(%struct.Node__) align 8 %8, ptr noundef nonnull byval(%struct.Node__) align 8 %8)
  %21 = extractvalue { ptr, ptr } %20, 0
  %22 = extractvalue { ptr, ptr } %20, 1
  store ptr %21, ptr %3, align 8, !tbaa !11
  store ptr %22, ptr %12, align 8, !tbaa !11
  %.not22 = icmp eq ptr %21, null
  br i1 %.not22, label %26, label %23

23:                                               ; preds = %7
  %24 = load ptr, ptr %14, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 152
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %3, i64 16, i1 false), !tbaa.struct !12
  br label %26

26:                                               ; preds = %23, %7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  br label %48

27:                                               ; preds = %2
  %28 = getelementptr inbounds i8, ptr %0, i64 56
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %29, i64 104
  %31 = load i32, ptr %30, align 8, !tbaa !13
  %32 = and i32 %31, 1
  %.not19 = icmp eq i32 %32, 0
  br i1 %.not19, label %33, label %.critedge

33:                                               ; preds = %27
  %34 = getelementptr inbounds i8, ptr %29, i64 152
  %35 = load ptr, ptr %34, align 8, !tbaa !18
  %36 = getelementptr inbounds i8, ptr %0, i64 32
  %37 = load ptr, ptr %36, align 8, !tbaa !19
  %38 = load ptr, ptr %37, align 8, !tbaa !20
  %.not21 = icmp eq ptr %35, %38
  br i1 %.not21, label %48, label %.critedge

.critedge:                                        ; preds = %27, %33
  %39 = getelementptr inbounds i8, ptr %0, i64 16
  %40 = load ptr, ptr %39, align 8, !tbaa !22
  %41 = getelementptr inbounds i8, ptr %0, i64 40
  %42 = load ptr, ptr %41, align 8, !tbaa !23
  %43 = load ptr, ptr %1, align 8, !tbaa !24
  %44 = getelementptr inbounds i8, ptr %43, i64 24
  %45 = load i64, ptr %44, align 8
  %46 = load ptr, ptr @mu_____string269, align 8
  %47 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string269, i64 8), align 8
  call void @Error__at__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____Error__) align 8 %4, ptr noundef %42, i64 %45, ptr %46, i32 %47)
  call void @List__add__Error____(ptr noundef %40, ptr noundef nonnull byval(%struct.tag_____Error__) align 8 %4)
  br label %48

48:                                               ; preds = %33, %.critedge, %26
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__unify__(ptr noundef, ptr, ptr, i32, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8, ptr noundef byval(%struct.Node__) align 8, ptr noundef byval(%struct.Node__) align 8) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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, !7, i64 56}
!6 = !{!"tag_____TypeCheckerContext__", !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, !10, i64 120, !10, i64 124, !7, i64 128, !10, i64 136, !8, i64 140}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{i64 0, i64 8, !11, i64 8, i64 8, !11}
!13 = !{!14, !10, i64 104}
!14 = !{!"tag_____FunctionDef__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !15, i64 56, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !10, i64 104, !7, i64 112, !16, i64 120, !16, i64 136, !17, i64 152, !10, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !16, i64 208}
!15 = !{!"", !10, i64 0, !7, i64 8}
!16 = !{!"", !7, i64 0, !10, i64 8}
!17 = !{!"tag_____Tag__", !7, i64 0, !7, i64 8}
!18 = !{!14, !7, i64 152}
!19 = !{!6, !7, i64 32}
!20 = !{!21, !7, i64 0}
!21 = !{!"tag_____CommonTags__", !17, i64 0, !17, i64 16, !17, i64 32, !17, i64 48, !17, i64 64, !17, i64 80, !17, i64 96, !17, i64 112, !17, i64 128, !17, i64 144, !17, i64 160, !17, i64 176, !17, i64 192, !17, i64 208, !17, i64 224, !17, i64 240, !17, i64 256, !17, i64 272, !17, i64 288, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376}
!22 = !{!6, !7, i64 16}
!23 = !{!6, !7, i64 40}
!24 = !{!25, !7, i64 0}
!25 = !{!"tag_____ReturnStatement__", !7, i64 0, !15, i64 8}


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