; LLVM IR from onnx/onnx-mlir :: src/Runtime (OMExternalConstant)

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

@DIR_SEPARATOR = external dso_local global ptr, align 8
@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #0

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @omMMapBinaryFile(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #1 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store i64 %3, ptr %9, align 8, !tbaa !9
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %24

21:                                               ; preds = %4
  %22 = load ptr, ptr @stderr, align 8, !tbaa !5
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.2) #7
  store i1 false, ptr %5, align 1
  br label %128

24:                                               ; preds = %4
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds ptr, ptr %25, i64 0
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %30

29:                                               ; preds = %24
  store i1 true, ptr %5, align 1
  br label %128

30:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %31 = call ptr @getenv(ptr noundef @.str.3) #7
  store ptr %31, ptr %11, align 8, !tbaa !5
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %67

34:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  %36 = call i64 @strlen(ptr noundef %35) #8
  store i64 %36, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = call i64 @strlen(ptr noundef %37) #8
  store i64 %38, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %39 = load ptr, ptr @DIR_SEPARATOR, align 8, !tbaa !5
  %40 = call i64 @strlen(ptr noundef %39) #8
  store i64 %40, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %41 = load i64, ptr %12, align 8, !tbaa !9
  %42 = load i64, ptr %14, align 8, !tbaa !9
  %43 = add i64 %41, %42
  %44 = load i64, ptr %13, align 8, !tbaa !9
  %45 = add i64 %43, %44
  %46 = add i64 %45, 1
  store i64 %46, ptr %15, align 8, !tbaa !9
  %47 = load i64, ptr %15, align 8, !tbaa !9
  %48 = call noalias ptr @malloc(i64 noundef %47) #9
  store ptr %48, ptr %10, align 8, !tbaa !5
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = icmp ne ptr %49, null
  br i1 %50, label %57, label %51

51:                                               ; preds = %34
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = call ptr @__errno_location() #10
  %54 = load i32, ptr %53, align 4, !tbaa !11
  %55 = call ptr @strerror(i32 noundef %54) #7
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.4, ptr noundef %55) #7
  store i1 false, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %64

57:                                               ; preds = %34
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = load i64, ptr %15, align 8, !tbaa !9
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = load ptr, ptr @DIR_SEPARATOR, align 8, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %58, i64 noundef %59, ptr noundef @.str.5, ptr noundef %60, ptr noundef %61, ptr noundef %62) #7
  store i32 0, ptr %16, align 4
  br label %64

64:                                               ; preds = %57, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %65 = load i32, ptr %16, align 4
  switch i32 %65, label %127 [
    i32 0, label %66
  ]

66:                                               ; preds = %64
  br label %69

67:                                               ; preds = %30
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %68, ptr %10, align 8, !tbaa !5
  br label %69

69:                                               ; preds = %67, %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = call i32 (ptr, i32, ...) @open(ptr noundef %70, i32 noundef 0)
  store i32 %71, ptr %17, align 4, !tbaa !11
  %72 = load i32, ptr %17, align 4, !tbaa !11
  %73 = icmp slt i32 %72, 0
  br i1 %73, label %74, label %86

74:                                               ; preds = %69
  %75 = load ptr, ptr @stderr, align 8, !tbaa !5
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = call ptr @__errno_location() #10
  %78 = load i32, ptr %77, align 4, !tbaa !11
  %79 = call ptr @strerror(i32 noundef %78) #7
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.6, ptr noundef %76, ptr noundef %79) #7
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %85

83:                                               ; preds = %74
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %84) #7
  br label %85

85:                                               ; preds = %83, %74
  store i1 false, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %126

86:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %87 = load i64, ptr %8, align 8, !tbaa !9
  %88 = load i32, ptr %17, align 4, !tbaa !11
  %89 = call ptr @mmap(ptr noundef null, i64 noundef %87, i32 noundef 1, i32 noundef 1, i32 noundef %88, i64 noundef 0) #7
  store ptr %89, ptr %18, align 8, !tbaa !5
  %90 = load ptr, ptr %18, align 8, !tbaa !5
  %91 = icmp eq ptr %90, inttoptr (i64 -1 to ptr)
  br i1 %91, label %92, label %106

92:                                               ; preds = %86
  %93 = load ptr, ptr @stderr, align 8, !tbaa !5
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = call ptr @__errno_location() #10
  %96 = load i32, ptr %95, align 4, !tbaa !11
  %97 = call ptr @strerror(i32 noundef %96) #7
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.7, ptr noundef %94, ptr noundef %97) #7
  %99 = load i32, ptr %17, align 4, !tbaa !11
  %100 = call i32 @close(i32 noundef %99)
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %105

103:                                              ; preds = %92
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %104) #7
  br label %105

105:                                              ; preds = %103, %92
  store i1 false, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %125

106:                                              ; preds = %86
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds ptr, ptr %107, i64 0
  %109 = load ptr, ptr %18, align 8, !tbaa !5
  %110 = ptrtoint ptr %109 to i64
  %111 = cmpxchg ptr %108, i64 0, i64 %110 seq_cst seq_cst, align 8
  %112 = extractvalue { i64, i1 } %111, 1
  br i1 %112, label %117, label %113

113:                                              ; preds = %106
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = load i64, ptr %8, align 8, !tbaa !9
  %116 = call i32 @munmap(ptr noundef %114, i64 noundef %115) #7
  br label %117

117:                                              ; preds = %113, %106
  %118 = load i32, ptr %17, align 4, !tbaa !11
  %119 = call i32 @close(i32 noundef %118)
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %124

122:                                              ; preds = %117
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %123) #7
  br label %124

124:                                              ; preds = %122, %117
  store i1 true, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %125

125:                                              ; preds = %124, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %126

126:                                              ; preds = %125, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %127

127:                                              ; preds = %126, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %128

128:                                              ; preds = %127, %29, %21
  %129 = load i1, ptr %5, align 1
  ret i1 %129
}

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

; Function Attrs: nounwind
declare ptr @getenv(ptr noundef) #0

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #0

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #5

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #0

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

declare i32 @open(ptr noundef, i32 noundef, ...) #6

; Function Attrs: nounwind
declare void @free(ptr noundef) #0

; Function Attrs: nounwind
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #0

declare i32 @close(i32 noundef) #6

; Function Attrs: nounwind
declare i32 @munmap(ptr noundef, i64 noundef) #0

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) "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 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 #5 = { nounwind willreturn memory(none) "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 = { "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 = { nounwind willreturn memory(read) }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { nounwind willreturn memory(none) }

!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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, 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"

@DIR_SEPARATOR = external dso_local local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @omMMapBinaryFile(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #1 {
  %5 = icmp eq ptr %0, null
  br i1 %5, label %6, label %9

6:                                                ; preds = %4
  %7 = load ptr, ptr @stderr, align 8, !tbaa !5
  %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef nonnull @.str.2) #10
  br label %58

9:                                                ; preds = %4
  %10 = load ptr, ptr %0, align 8, !tbaa !5
  %.not = icmp eq ptr %10, null
  br i1 %.not, label %11, label %58

11:                                               ; preds = %9
  %12 = tail call ptr @getenv(ptr noundef nonnull @.str.3) #11
  %.not41 = icmp eq ptr %12, null
  br i1 %.not41, label %29, label %13

13:                                               ; preds = %11
  %14 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %12) #12
  %15 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #12
  %16 = load ptr, ptr @DIR_SEPARATOR, align 8, !tbaa !5
  %17 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %16) #12
  %18 = add i64 %14, 1
  %19 = add i64 %18, %15
  %20 = add i64 %19, %17
  %21 = tail call noalias ptr @malloc(i64 noundef %20) #13
  %.not42.not = icmp eq ptr %21, null
  br i1 %.not42.not, label %.thread, label %27

.thread:                                          ; preds = %13
  %22 = load ptr, ptr @stderr, align 8, !tbaa !5
  %23 = tail call ptr @__errno_location() #14
  %24 = load i32, ptr %23, align 4, !tbaa !9
  %25 = tail call ptr @strerror(i32 noundef %24) #11
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.4, ptr noundef %25) #10
  br label %58

27:                                               ; preds = %13
  %28 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %21, i64 noundef %20, ptr noundef nonnull @.str.5, ptr noundef nonnull %12, ptr noundef %16, ptr noundef %1) #11
  br label %29

29:                                               ; preds = %27, %11
  %.035 = phi ptr [ %21, %27 ], [ %1, %11 ]
  %30 = tail call i32 (ptr, i32, ...) @open(ptr noundef %.035, i32 noundef 0) #11
  %31 = icmp slt i32 %30, 0
  br i1 %31, label %32, label %39

32:                                               ; preds = %29
  %33 = load ptr, ptr @stderr, align 8, !tbaa !5
  %34 = tail call ptr @__errno_location() #14
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = tail call ptr @strerror(i32 noundef %35) #11
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.6, ptr noundef %.035, ptr noundef %36) #10
  br i1 %.not41, label %58, label %38

38:                                               ; preds = %32
  tail call void @free(ptr noundef %.035) #11
  br label %58

39:                                               ; preds = %29
  %40 = tail call ptr @mmap(ptr noundef null, i64 noundef %2, i32 noundef 1, i32 noundef 1, i32 noundef %30, i64 noundef 0) #11
  %.not43 = icmp eq ptr %40, inttoptr (i64 -1 to ptr)
  br i1 %.not43, label %41, label %49

41:                                               ; preds = %39
  %42 = load ptr, ptr @stderr, align 8, !tbaa !5
  %43 = tail call ptr @__errno_location() #14
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = tail call ptr @strerror(i32 noundef %44) #11
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef nonnull @.str.7, ptr noundef %1, ptr noundef %45) #10
  %47 = tail call i32 @close(i32 noundef %30) #11
  br i1 %.not41, label %58, label %48

48:                                               ; preds = %41
  tail call void @free(ptr noundef %.035) #11
  br label %58

49:                                               ; preds = %39
  %50 = ptrtoint ptr %40 to i64
  %51 = cmpxchg ptr %0, i64 0, i64 %50 seq_cst seq_cst, align 8
  %52 = extractvalue { i64, i1 } %51, 1
  br i1 %52, label %55, label %53

53:                                               ; preds = %49
  %54 = tail call i32 @munmap(ptr noundef %40, i64 noundef %2) #11
  br label %55

55:                                               ; preds = %53, %49
  %56 = tail call i32 @close(i32 noundef %30) #11
  br i1 %.not41, label %58, label %57

57:                                               ; preds = %55
  tail call void @free(ptr noundef %.035) #11
  br label %58

58:                                               ; preds = %.thread, %48, %41, %57, %55, %32, %38, %9, %6
  %.4 = phi i1 [ false, %6 ], [ true, %9 ], [ false, %38 ], [ false, %32 ], [ true, %55 ], [ true, %57 ], [ false, %41 ], [ false, %48 ], [ false, %.thread ]
  ret i1 %.4
}

; Function Attrs: nofree nounwind memory(read)
declare noundef ptr @getenv(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #8

; Function Attrs: nounwind
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #5

declare i32 @close(i32 noundef) local_unnamed_addr #9

; Function Attrs: nounwind
declare i32 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #5

attributes #0 = { nofree 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 #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 = { nofree nounwind memory(read) "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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 "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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { nofree "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 #8 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #9 = { "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 #10 = { cold nounwind }
attributes #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { nounwind allocsize(0) }
attributes #14 = { nounwind willreturn memory(none) }

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass