; LLVM IR from kala13x/libxutils :: tools (xsrc)

; 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.xsearch_args_t = type { [2048 x i8], [256 x i8], [4096 x i8], i8, i8, i8, i8, i8, i8, i8, i64, i64, i64, i64, i32, i32, i32, i32 }
%struct.XSearchCtx = type { %struct.XArray_, %struct.XArray_, i8, i8, i8, i8, i8, ptr, ptr, [2048 x i8], [4096 x i8], i32, i32, i32, i32, i64, i64, i64, i8, ptr, i32 }
%struct.XArray_ = type { ptr, ptr, i32, ptr, i8, i8, i8, i64, i64 }

@g_interrupted = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
declare dso_local void @signal_callback(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @XSearch_Usage(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @XSearch_Callback(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.xsearch_args_t, align 8
  %7 = alloca %struct.XSearchCtx, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @XLog_Init(ptr noundef null, i16 noundef zeroext 203, i8 noundef zeroext 0)
  call void @llvm.lifetime.start.p0(i64 6456, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 6344, ptr %7) #4
  %11 = load i32, ptr %4, align 4, !tbaa !5
  %12 = load ptr, ptr %5, align 8, !tbaa !9
  %13 = call i32 @XSearch_ParseArgs(ptr noundef %6, i32 noundef %11, ptr noundef %12)
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %19, label %15

15:                                               ; preds = %2
  %16 = load ptr, ptr %5, align 8, !tbaa !9
  %17 = getelementptr inbounds ptr, ptr %16, i64 0
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  call void @XSearch_Usage(ptr noundef %18)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %90

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %20 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 0
  %21 = getelementptr inbounds [2048 x i8], ptr %20, i64 0, i64 0
  %22 = call zeroext i8 @xstrused(ptr noundef %21)
  %23 = zext i8 %22 to i32
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %28

25:                                               ; preds = %19
  %26 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 0
  %27 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  br label %29

28:                                               ; preds = %19
  br label %29

29:                                               ; preds = %28, %25
  %30 = phi ptr [ %27, %25 ], [ null, %28 ]
  store ptr %30, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %31 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 1
  %32 = getelementptr inbounds [256 x i8], ptr %31, i64 0, i64 0
  %33 = call zeroext i8 @xstrused(ptr noundef %32)
  %34 = zext i8 %33 to i32
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %39

36:                                               ; preds = %29
  %37 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 1
  %38 = getelementptr inbounds [256 x i8], ptr %37, i64 0, i64 0
  br label %40

39:                                               ; preds = %29
  br label %40

40:                                               ; preds = %39, %36
  %41 = phi ptr [ %38, %36 ], [ null, %39 ]
  store ptr %41, ptr %10, align 8, !tbaa !9
  %42 = load ptr, ptr %10, align 8, !tbaa !9
  call void @XSearch_Init(ptr noundef %7, ptr noundef %42)
  %43 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 10
  %44 = getelementptr inbounds [4096 x i8], ptr %43, i64 0, i64 0
  %45 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 2
  %46 = getelementptr inbounds [4096 x i8], ptr %45, i64 0, i64 0
  %47 = call i64 @xstrncpy(ptr noundef %44, i64 noundef 4096, ptr noundef %46)
  %48 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 14
  %49 = load i32, ptr %48, align 8, !tbaa !11
  %50 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 11
  store i32 %49, ptr %50, align 8, !tbaa !14
  %51 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 3
  %52 = load i8, ptr %51, align 8, !tbaa !17
  %53 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 3
  store i8 %52, ptr %53, align 1, !tbaa !18
  %54 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 4
  %55 = load i8, ptr %54, align 1, !tbaa !19
  %56 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 2
  store i8 %55, ptr %56, align 8, !tbaa !20
  %57 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 7
  %58 = load i8, ptr %57, align 4, !tbaa !21
  %59 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 5
  store i8 %58, ptr %59, align 1, !tbaa !22
  %60 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 8
  %61 = load i8, ptr %60, align 1, !tbaa !23
  %62 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 4
  store i8 %61, ptr %62, align 2, !tbaa !24
  %63 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 6
  %64 = load i8, ptr %63, align 1, !tbaa !25
  %65 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 6
  store i8 %64, ptr %65, align 4, !tbaa !26
  %66 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 16
  %67 = load i32, ptr %66, align 8, !tbaa !27
  %68 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 13
  store i32 %67, ptr %68, align 8, !tbaa !28
  %69 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 15
  %70 = load i32, ptr %69, align 4, !tbaa !29
  %71 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 12
  store i32 %70, ptr %71, align 4, !tbaa !30
  %72 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 17
  %73 = load i32, ptr %72, align 4, !tbaa !31
  %74 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 14
  store i32 %73, ptr %74, align 4, !tbaa !32
  %75 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 11
  %76 = load i64, ptr %75, align 8, !tbaa !33
  %77 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 16
  store i64 %76, ptr %77, align 8, !tbaa !34
  %78 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 12
  %79 = load i64, ptr %78, align 8, !tbaa !35
  %80 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 17
  store i64 %79, ptr %80, align 8, !tbaa !36
  %81 = getelementptr inbounds %struct.xsearch_args_t, ptr %6, i32 0, i32 13
  %82 = load i64, ptr %81, align 8, !tbaa !37
  %83 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 15
  store i64 %82, ptr %83, align 8, !tbaa !38
  %84 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 7
  store ptr @XSearch_Callback, ptr %84, align 8, !tbaa !39
  %85 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 8
  store ptr %6, ptr %85, align 8, !tbaa !40
  %86 = getelementptr inbounds %struct.XSearchCtx, ptr %7, i32 0, i32 19
  store ptr @g_interrupted, ptr %86, align 8, !tbaa !41
  %87 = call ptr @signal(i32 noundef 2, ptr noundef @signal_callback) #4
  %88 = load ptr, ptr %9, align 8, !tbaa !9
  %89 = call i32 @XSearch(ptr noundef %7, ptr noundef %88)
  call void @XSearch_Destroy(ptr noundef %7)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %90

90:                                               ; preds = %40, %15
  call void @llvm.lifetime.end.p0(i64 6344, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 6456, ptr %6) #4
  %91 = load i32, ptr %3, align 4
  ret i32 %91
}

declare void @XLog_Init(ptr noundef, i16 noundef zeroext, i8 noundef zeroext) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @XSearch_ParseArgs(ptr noundef, i32 noundef, ptr noundef) #0

declare zeroext i8 @xstrused(ptr noundef) #2

declare void @XSearch_Init(ptr noundef, ptr noundef) #2

declare i64 @xstrncpy(ptr noundef, i64 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare ptr @signal(i32 noundef, ptr noundef) #3

declare i32 @XSearch(ptr noundef, ptr noundef) #2

declare void @XSearch_Destroy(ptr noundef) #2

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 "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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 6440}
!12 = !{!"", !7, i64 0, !7, i64 2048, !7, i64 2304, !7, i64 6400, !7, i64 6401, !7, i64 6402, !7, i64 6403, !7, i64 6404, !7, i64 6405, !7, i64 6406, !13, i64 6408, !13, i64 6416, !13, i64 6424, !13, i64 6432, !6, i64 6440, !6, i64 6444, !6, i64 6448, !6, i64 6452}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !6, i64 6280}
!15 = !{!"XSearchCtx", !16, i64 0, !16, i64 56, !7, i64 112, !7, i64 113, !7, i64 114, !7, i64 115, !7, i64 116, !10, i64 120, !10, i64 128, !7, i64 136, !7, i64 2184, !6, i64 6280, !6, i64 6284, !6, i64 6288, !6, i64 6292, !13, i64 6296, !13, i64 6304, !13, i64 6312, !7, i64 6320, !10, i64 6328, !6, i64 6336}
!16 = !{!"XArray_", !10, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !7, i64 32, !7, i64 33, !7, i64 34, !13, i64 40, !13, i64 48}
!17 = !{!12, !7, i64 6400}
!18 = !{!15, !7, i64 113}
!19 = !{!12, !7, i64 6401}
!20 = !{!15, !7, i64 112}
!21 = !{!12, !7, i64 6404}
!22 = !{!15, !7, i64 115}
!23 = !{!12, !7, i64 6405}
!24 = !{!15, !7, i64 114}
!25 = !{!12, !7, i64 6403}
!26 = !{!15, !7, i64 116}
!27 = !{!12, !6, i64 6448}
!28 = !{!15, !6, i64 6288}
!29 = !{!12, !6, i64 6444}
!30 = !{!15, !6, i64 6284}
!31 = !{!12, !6, i64 6452}
!32 = !{!15, !6, i64 6292}
!33 = !{!12, !13, i64 6416}
!34 = !{!15, !13, i64 6304}
!35 = !{!12, !13, i64 6424}
!36 = !{!15, !13, i64 6312}
!37 = !{!12, !13, i64 6432}
!38 = !{!15, !13, i64 6296}
!39 = !{!15, !10, i64 120}
!40 = !{!15, !10, i64 128}
!41 = !{!15, !10, i64 6328}


; 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.xsearch_args_t = type { [2048 x i8], [256 x i8], [4096 x i8], i8, i8, i8, i8, i8, i8, i8, i64, i64, i64, i64, i32, i32, i32, i32 }
%struct.XSearchCtx = type { %struct.XArray_, %struct.XArray_, i8, i8, i8, i8, i8, ptr, ptr, [2048 x i8], [4096 x i8], i32, i32, i32, i32, i64, i64, i64, i8, ptr, i32 }
%struct.XArray_ = type { ptr, ptr, i32, ptr, i8, i8, i8, i64, i64 }

@g_interrupted = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
declare dso_local void @signal_callback(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @XSearch_Usage(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @XSearch_Callback(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct.xsearch_args_t, align 8
  %4 = alloca %struct.XSearchCtx, align 8
  tail call void @XLog_Init(ptr noundef null, i16 noundef zeroext 203, i8 noundef zeroext 0) #4
  call void @llvm.lifetime.start.p0(i64 6456, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 6344, ptr nonnull %4) #4
  %5 = call i32 @XSearch_ParseArgs(ptr noundef nonnull %3, i32 noundef %0, ptr noundef %1)
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %6, label %8

6:                                                ; preds = %2
  %7 = load ptr, ptr %1, align 8, !tbaa !5
  call void @XSearch_Usage(ptr noundef %7)
  br label %52

8:                                                ; preds = %2
  %9 = call zeroext i8 @xstrused(ptr noundef nonnull %3) #4
  %.not5 = icmp eq i8 %9, 0
  %10 = select i1 %.not5, ptr null, ptr %3
  %11 = getelementptr inbounds i8, ptr %3, i64 2048
  %12 = call zeroext i8 @xstrused(ptr noundef nonnull %11) #4
  %.not6 = icmp eq i8 %12, 0
  %13 = select i1 %.not6, ptr null, ptr %11
  call void @XSearch_Init(ptr noundef nonnull %4, ptr noundef %13) #4
  %14 = getelementptr inbounds i8, ptr %4, i64 2184
  %15 = getelementptr inbounds i8, ptr %3, i64 2304
  %16 = call i64 @xstrncpy(ptr noundef nonnull %14, i64 noundef 4096, ptr noundef nonnull %15) #4
  %17 = getelementptr inbounds i8, ptr %3, i64 6440
  %18 = load i32, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %4, i64 6280
  store i32 %18, ptr %19, align 8, !tbaa !13
  %20 = getelementptr inbounds i8, ptr %3, i64 6400
  %21 = load i8, ptr %20, align 8, !tbaa !16
  %22 = getelementptr inbounds i8, ptr %4, i64 113
  store i8 %21, ptr %22, align 1, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %3, i64 6401
  %24 = load i8, ptr %23, align 1, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %4, i64 112
  store i8 %24, ptr %25, align 8, !tbaa !19
  %26 = getelementptr inbounds i8, ptr %3, i64 6404
  %27 = load i8, ptr %26, align 4, !tbaa !20
  %28 = getelementptr inbounds i8, ptr %4, i64 115
  store i8 %27, ptr %28, align 1, !tbaa !21
  %29 = getelementptr inbounds i8, ptr %3, i64 6405
  %30 = load i8, ptr %29, align 1, !tbaa !22
  %31 = getelementptr inbounds i8, ptr %4, i64 114
  store i8 %30, ptr %31, align 2, !tbaa !23
  %32 = getelementptr inbounds i8, ptr %3, i64 6403
  %33 = load i8, ptr %32, align 1, !tbaa !24
  %34 = getelementptr inbounds i8, ptr %4, i64 116
  store i8 %33, ptr %34, align 4, !tbaa !25
  %35 = getelementptr inbounds i8, ptr %3, i64 6444
  %36 = getelementptr inbounds i8, ptr %4, i64 6284
  %37 = load <2 x i32>, ptr %35, align 4, !tbaa !26
  store <2 x i32> %37, ptr %36, align 4, !tbaa !26
  %38 = getelementptr inbounds i8, ptr %3, i64 6452
  %39 = load i32, ptr %38, align 4, !tbaa !27
  %40 = getelementptr inbounds i8, ptr %4, i64 6292
  store i32 %39, ptr %40, align 4, !tbaa !28
  %41 = getelementptr inbounds i8, ptr %3, i64 6416
  %42 = getelementptr inbounds i8, ptr %4, i64 6304
  %43 = load <2 x i64>, ptr %41, align 8, !tbaa !29
  store <2 x i64> %43, ptr %42, align 8, !tbaa !29
  %44 = getelementptr inbounds i8, ptr %3, i64 6432
  %45 = load i64, ptr %44, align 8, !tbaa !30
  %46 = getelementptr inbounds i8, ptr %4, i64 6296
  store i64 %45, ptr %46, align 8, !tbaa !31
  %47 = getelementptr inbounds i8, ptr %4, i64 120
  store ptr @XSearch_Callback, ptr %47, align 8, !tbaa !32
  %48 = getelementptr inbounds i8, ptr %4, i64 128
  store ptr %3, ptr %48, align 8, !tbaa !33
  %49 = getelementptr inbounds i8, ptr %4, i64 6328
  store ptr @g_interrupted, ptr %49, align 8, !tbaa !34
  %50 = call ptr @signal(i32 noundef 2, ptr noundef nonnull @signal_callback) #4
  %51 = call i32 @XSearch(ptr noundef nonnull %4, ptr noundef %10) #4
  call void @XSearch_Destroy(ptr noundef nonnull %4) #4
  br label %52

52:                                               ; preds = %8, %6
  %.0 = phi i32 [ 0, %8 ], [ -1, %6 ]
  call void @llvm.lifetime.end.p0(i64 6344, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 6456, ptr nonnull %3) #4
  ret i32 %.0
}

declare void @XLog_Init(ptr noundef, i16 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @XSearch_ParseArgs(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare zeroext i8 @xstrused(ptr noundef) local_unnamed_addr #2

declare void @XSearch_Init(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i64 @xstrncpy(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare ptr @signal(i32 noundef, ptr noundef) local_unnamed_addr #3

declare i32 @XSearch(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @XSearch_Destroy(ptr noundef) local_unnamed_addr #2

attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 "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 }

!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 6440}
!10 = !{!"", !7, i64 0, !7, i64 2048, !7, i64 2304, !7, i64 6400, !7, i64 6401, !7, i64 6402, !7, i64 6403, !7, i64 6404, !7, i64 6405, !7, i64 6406, !11, i64 6408, !11, i64 6416, !11, i64 6424, !11, i64 6432, !12, i64 6440, !12, i64 6444, !12, i64 6448, !12, i64 6452}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 6280}
!14 = !{!"XSearchCtx", !15, i64 0, !15, i64 56, !7, i64 112, !7, i64 113, !7, i64 114, !7, i64 115, !7, i64 116, !6, i64 120, !6, i64 128, !7, i64 136, !7, i64 2184, !12, i64 6280, !12, i64 6284, !12, i64 6288, !12, i64 6292, !11, i64 6296, !11, i64 6304, !11, i64 6312, !7, i64 6320, !6, i64 6328, !12, i64 6336}
!15 = !{!"XArray_", !6, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !7, i64 32, !7, i64 33, !7, i64 34, !11, i64 40, !11, i64 48}
!16 = !{!10, !7, i64 6400}
!17 = !{!14, !7, i64 113}
!18 = !{!10, !7, i64 6401}
!19 = !{!14, !7, i64 112}
!20 = !{!10, !7, i64 6404}
!21 = !{!14, !7, i64 115}
!22 = !{!10, !7, i64 6405}
!23 = !{!14, !7, i64 114}
!24 = !{!10, !7, i64 6403}
!25 = !{!14, !7, i64 116}
!26 = !{!12, !12, i64 0}
!27 = !{!10, !12, i64 6452}
!28 = !{!14, !12, i64 6292}
!29 = !{!11, !11, i64 0}
!30 = !{!10, !11, i64 6432}
!31 = !{!14, !11, i64 6296}
!32 = !{!14, !6, i64 120}
!33 = !{!14, !6, i64 128}
!34 = !{!14, !6, i64 6328}


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