; LLVM IR from tezc/sc :: socket (sc_sock)

; 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.sockaddr_un = type { i16, [108 x i8] }
%struct.iovec = type { ptr, i64 }
%struct.msghdr = type { ptr, i32, ptr, i64, ptr, i64, i32 }

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [58 x i8], align 1
@__PRETTY_FUNCTION__.sc_sock_notify_systemd = external hidden unnamed_addr constant [41 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @sc_sock_notify_systemd(ptr noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.sockaddr_un, align 2
  %8 = alloca %struct.iovec, align 8
  %9 = alloca %struct.msghdr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %14

13:                                               ; preds = %1
  br label %15

14:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 149, ptr noundef @__PRETTY_FUNCTION__.sc_sock_notify_systemd) #8
  unreachable

15:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 110, ptr %7) #9
  call void @llvm.memset.p0.i64(ptr align 2 %7, i8 0, i64 110, i1 false)
  %16 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 0
  store i16 1, ptr %16, align 2
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  %17 = getelementptr inbounds %struct.iovec, ptr %8, i32 0, i32 0
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %18, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds %struct.iovec, ptr %8, i32 0, i32 1
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = call i64 @strlen(ptr noundef %20) #10
  store i64 %21, ptr %19, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 56, ptr %9) #9
  %22 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 0
  store ptr %7, ptr %22, align 8, !tbaa !13
  %23 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 1
  store i32 0, ptr %23, align 8, !tbaa !16
  %24 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 2
  store ptr %8, ptr %24, align 8, !tbaa !17
  %25 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 3
  store i64 1, ptr %25, align 8, !tbaa !18
  %26 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 4
  store ptr null, ptr %26, align 8, !tbaa !19
  %27 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 5
  store i64 0, ptr %27, align 8, !tbaa !20
  %28 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 6
  store i32 0, ptr %28, align 8, !tbaa !21
  %29 = call ptr @getenv(ptr noundef @.str.2) #9
  store ptr %29, ptr %6, align 8, !tbaa !5
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %34, label %32

32:                                               ; preds = %15
  %33 = call ptr @__errno_location() #11
  store i32 22, ptr %33, align 4, !tbaa !22
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %94

34:                                               ; preds = %15
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 0
  %37 = load i8, ptr %36, align 1, !tbaa !23
  %38 = sext i8 %37 to i32
  %39 = icmp ne i32 %38, 64
  br i1 %39, label %40, label %46

40:                                               ; preds = %34
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %41, i64 0
  %43 = load i8, ptr %42, align 1, !tbaa !23
  %44 = sext i8 %43 to i32
  %45 = icmp ne i32 %44, 47
  br i1 %45, label %52, label %46

46:                                               ; preds = %40, %34
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 1
  %49 = load i8, ptr %48, align 1, !tbaa !23
  %50 = sext i8 %49 to i32
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %52, label %54

52:                                               ; preds = %46, %40
  %53 = call ptr @__errno_location() #11
  store i32 22, ptr %53, align 4, !tbaa !22
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %94

54:                                               ; preds = %46
  %55 = call i32 @socket(i32 noundef 1, i32 noundef 2, i32 noundef 0) #9
  store i32 %55, ptr %4, align 4, !tbaa !22
  %56 = load i32, ptr %4, align 4, !tbaa !22
  %57 = icmp slt i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %54
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %94

59:                                               ; preds = %54
  %60 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 1
  %61 = getelementptr inbounds [108 x i8], ptr %60, i64 0, i64 0
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = call ptr @strncpy(ptr noundef %61, ptr noundef %62, i64 noundef 107) #9
  %64 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 1
  %65 = getelementptr inbounds [108 x i8], ptr %64, i64 0, i64 0
  %66 = load i8, ptr %65, align 2, !tbaa !23
  %67 = sext i8 %66 to i32
  %68 = icmp eq i32 %67, 64
  br i1 %68, label %69, label %72

69:                                               ; preds = %59
  %70 = getelementptr inbounds %struct.sockaddr_un, ptr %7, i32 0, i32 1
  %71 = getelementptr inbounds [108 x i8], ptr %70, i64 0, i64 0
  store i8 0, ptr %71, align 2, !tbaa !23
  br label %72

72:                                               ; preds = %69, %59
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = call i64 @strlen(ptr noundef %73) #10
  %75 = add i64 2, %74
  %76 = trunc i64 %75 to i32
  %77 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 1
  store i32 %76, ptr %77, align 8, !tbaa !16
  %78 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 1
  %79 = load i32, ptr %78, align 8, !tbaa !16
  %80 = zext i32 %79 to i64
  %81 = icmp ugt i64 %80, 110
  br i1 %81, label %82, label %84

82:                                               ; preds = %72
  %83 = getelementptr inbounds %struct.msghdr, ptr %9, i32 0, i32 1
  store i32 110, ptr %83, align 8, !tbaa !16
  br label %84

84:                                               ; preds = %82, %72
  %85 = load i32, ptr %4, align 4, !tbaa !22
  %86 = call i64 @sendmsg(i32 noundef %85, ptr noundef %9, i32 noundef 16384)
  %87 = trunc i64 %86 to i32
  store i32 %87, ptr %5, align 4, !tbaa !22
  %88 = load i32, ptr %4, align 4, !tbaa !22
  %89 = call i32 @close(i32 noundef %88)
  %90 = load i32, ptr %5, align 4, !tbaa !22
  %91 = icmp slt i32 %90, 0
  %92 = zext i1 %91 to i64
  %93 = select i1 %91, i32 -1, i32 0
  store i32 %93, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %94

94:                                               ; preds = %84, %58, %52, %32
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 110, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #9
  %95 = load i32, ptr %2, align 4
  ret i32 %95
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #5

declare i64 @sendmsg(i32 noundef, ptr noundef, i32 noundef) #7

declare i32 @close(i32 noundef) #7

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { noreturn 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #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 = { 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 = { "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 = { noreturn nounwind }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { 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, !6, i64 0}
!10 = !{!"iovec", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !6, i64 0}
!14 = !{!"msghdr", !6, i64 0, !15, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !11, i64 40, !15, i64 48}
!15 = !{!"int", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !6, i64 16}
!18 = !{!14, !11, i64 24}
!19 = !{!14, !6, i64 32}
!20 = !{!14, !11, i64 40}
!21 = !{!14, !15, i64 48}
!22 = !{!15, !15, i64 0}
!23 = !{!7, !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"

%struct.sockaddr_un = type { i16, [108 x i8] }
%struct.iovec = type { ptr, i64 }
%struct.msghdr = type { ptr, i32, ptr, i64, ptr, i64, i32 }

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [58 x i8], align 1
@__PRETTY_FUNCTION__.sc_sock_notify_systemd = external hidden unnamed_addr constant [41 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @sc_sock_notify_systemd(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca %struct.sockaddr_un, align 2
  %3 = alloca %struct.iovec, align 8
  %4 = alloca %struct.msghdr, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %5, label %6

5:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 149, ptr noundef nonnull @__PRETTY_FUNCTION__.sc_sock_notify_systemd) #11
  unreachable

6:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 110, ptr nonnull %2) #12
  %7 = getelementptr inbounds i8, ptr %2, i64 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(110) %7, i8 0, i64 108, i1 false)
  store i16 1, ptr %2, align 2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #12
  store ptr %0, ptr %3, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %3, i64 8
  %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #13
  store i64 %9, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #12
  store ptr %2, ptr %4, align 8, !tbaa !12
  %10 = getelementptr inbounds i8, ptr %4, i64 8
  %11 = getelementptr inbounds i8, ptr %4, i64 16
  store ptr %3, ptr %11, align 8, !tbaa !15
  %12 = getelementptr inbounds i8, ptr %4, i64 24
  store i64 1, ptr %12, align 8, !tbaa !16
  %13 = getelementptr inbounds i8, ptr %4, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %13, i8 0, i64 20, i1 false)
  %14 = call ptr @getenv(ptr noundef nonnull @.str.2) #12
  %.not17 = icmp eq ptr %14, null
  br i1 %.not17, label %15, label %17

15:                                               ; preds = %6
  %16 = tail call ptr @__errno_location() #14
  store i32 22, ptr %16, align 4, !tbaa !17
  br label %42

17:                                               ; preds = %6
  %18 = load i8, ptr %14, align 1, !tbaa !18
  switch i8 %18, label %23 [
    i8 64, label %19
    i8 47, label %19
  ]

19:                                               ; preds = %17, %17
  %20 = getelementptr inbounds i8, ptr %14, i64 1
  %21 = load i8, ptr %20, align 1, !tbaa !18
  %22 = icmp eq i8 %21, 0
  br i1 %22, label %23, label %25

23:                                               ; preds = %17, %19
  %24 = tail call ptr @__errno_location() #14
  store i32 22, ptr %24, align 4, !tbaa !17
  br label %42

25:                                               ; preds = %19
  %26 = call i32 @socket(i32 noundef 1, i32 noundef 2, i32 noundef 0) #12
  %27 = icmp slt i32 %26, 0
  br i1 %27, label %42, label %28

28:                                               ; preds = %25
  %29 = getelementptr inbounds i8, ptr %2, i64 2
  %30 = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %29, ptr noundef nonnull dereferenceable(1) %14, i64 noundef 107) #12
  %31 = load i8, ptr %29, align 2, !tbaa !18
  %32 = icmp eq i8 %31, 64
  br i1 %32, label %33, label %34

33:                                               ; preds = %28
  store i8 0, ptr %29, align 2, !tbaa !18
  br label %34

34:                                               ; preds = %33, %28
  %35 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %14) #13
  %36 = trunc i64 %35 to i32
  %37 = add i32 %36, 2
  %spec.select = call i32 @llvm.umin.i32(i32 %37, i32 110)
  store i32 %spec.select, ptr %10, align 8, !tbaa !19
  %38 = call i64 @sendmsg(i32 noundef %26, ptr noundef nonnull %4, i32 noundef 16384) #12
  %39 = call i32 @close(i32 noundef %26) #12
  %40 = shl i64 %38, 32
  %sext = ashr i64 %40, 63
  %41 = trunc nsw i64 %sext to i32
  br label %42

42:                                               ; preds = %25, %34, %23, %15
  %.0 = phi i32 [ -1, %23 ], [ %41, %34 ], [ -1, %15 ], [ -1, %25 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #12
  call void @llvm.lifetime.end.p0(i64 110, ptr nonnull %2) #12
  ret i32 %.0
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #8

declare i64 @sendmsg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #9

declare i32 @close(i32 noundef) local_unnamed_addr #9

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #10

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 = { noreturn 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { 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 #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 = { 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 #8 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { noreturn nounwind }
attributes #12 = { nounwind }
attributes #13 = { nounwind willreturn memory(read) }
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, !7, i64 0}
!6 = !{!"iovec", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !7, i64 0}
!13 = !{!"msghdr", !7, i64 0, !14, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !14, i64 48}
!14 = !{!"int", !8, i64 0}
!15 = !{!13, !7, i64 16}
!16 = !{!13, !10, i64 24}
!17 = !{!14, !14, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!13, !14, i64 8}


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