; LLVM IR from openssl/openssl :: crypto/rand (rand_egd)

; 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] }

@.str = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @RAND_query_egd_bytes(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %struct.sockaddr_un, align 2
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [255 x i8], align 16
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 110, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 -1, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 255, ptr %15) #7
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = icmp sgt i32 %17, 255
  br i1 %18, label %19, label %20

19:                                               ; preds = %3
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %127

20:                                               ; preds = %3
  call void @llvm.memset.p0.i64(ptr align 2 %9, i8 0, i64 110, i1 false)
  %21 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0
  store i16 1, ptr %21, align 2, !tbaa !11
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = call i64 @strlen(ptr noundef %22) #8
  %24 = icmp uge i64 %23, 108
  br i1 %24, label %25, label %26

25:                                               ; preds = %20
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %127

26:                                               ; preds = %20
  %27 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1
  %28 = getelementptr inbounds [108 x i8], ptr %27, i64 0, i64 0
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = call ptr @strcpy(ptr noundef %28, ptr noundef %29) #7
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = call i64 @strlen(ptr noundef %31) #8
  %33 = add i64 2, %32
  %34 = trunc i64 %33 to i32
  store i32 %34, ptr %12, align 4, !tbaa !9
  %35 = call i32 @socket(i32 noundef 1, i32 noundef 1, i32 noundef 0) #7
  store i32 %35, ptr %14, align 4, !tbaa !9
  %36 = load i32, ptr %14, align 4, !tbaa !9
  %37 = icmp eq i32 %36, -1
  br i1 %37, label %42, label %38

38:                                               ; preds = %26
  %39 = load i32, ptr %14, align 4, !tbaa !9
  %40 = call noalias ptr @fdopen(i32 noundef %39, ptr noundef @.str) #7
  store ptr %40, ptr %8, align 8, !tbaa !5
  %41 = icmp eq ptr %40, null
  br i1 %41, label %42, label %43

42:                                               ; preds = %38, %26
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %127

43:                                               ; preds = %38
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  call void @setbuf(ptr noundef %44, ptr noundef null) #7
  br label %45

45:                                               ; preds = %61, %43
  %46 = load i32, ptr %14, align 4, !tbaa !9
  %47 = load i32, ptr %12, align 4, !tbaa !9
  %48 = call i32 @connect(i32 noundef %46, ptr noundef %9, i32 noundef %47)
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %45
  br label %62

51:                                               ; preds = %45
  %52 = call ptr @__errno_location() #9
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = icmp eq i32 %53, 106
  br i1 %54, label %55, label %56

55:                                               ; preds = %51
  br label %62

56:                                               ; preds = %51
  %57 = call ptr @__errno_location() #9
  %58 = load i32, ptr %57, align 4, !tbaa !9
  switch i32 %58, label %60 [
    i32 4, label %59
    i32 11, label %59
    i32 115, label %59
    i32 114, label %59
  ]

59:                                               ; preds = %56, %56, %56, %56
  br label %61

60:                                               ; preds = %56
  store i32 -1, ptr %11, align 4, !tbaa !9
  br label %119

61:                                               ; preds = %59
  br label %45

62:                                               ; preds = %55, %50
  %63 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0
  store i8 1, ptr %63, align 16, !tbaa !14
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = trunc i32 %64 to i8
  %66 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 1
  store i8 %65, ptr %66, align 1, !tbaa !14
  %67 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = call i64 @fwrite(ptr noundef %67, i64 noundef 1, i64 noundef 2, ptr noundef %68)
  %70 = icmp ne i64 %69, 2
  br i1 %70, label %75, label %71

71:                                               ; preds = %62
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = call i32 @fflush(ptr noundef %72)
  %74 = icmp eq i32 %73, -1
  br i1 %74, label %75, label %76

75:                                               ; preds = %71, %62
  br label %119

76:                                               ; preds = %71
  %77 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = call i64 @fread(ptr noundef %77, i64 noundef 1, i64 noundef 1, ptr noundef %78)
  %80 = icmp ne i64 %79, 1
  br i1 %80, label %86, label %81

81:                                               ; preds = %76
  %82 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0
  %83 = load i8, ptr %82, align 16, !tbaa !14
  %84 = zext i8 %83 to i32
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %81, %76
  br label %119

87:                                               ; preds = %81
  %88 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0
  %89 = load i8, ptr %88, align 16, !tbaa !14
  %90 = zext i8 %89 to i32
  store i32 %90, ptr %13, align 4, !tbaa !9
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = icmp eq ptr %91, null
  %93 = zext i1 %92 to i32
  store i32 %93, ptr %10, align 4, !tbaa !9
  %94 = load i32, ptr %10, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %98

96:                                               ; preds = %87
  %97 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0
  store ptr %97, ptr %6, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %96, %87
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = load i32, ptr %13, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = call i64 @fread(ptr noundef %99, i64 noundef 1, i64 noundef %101, ptr noundef %102)
  %104 = trunc i64 %103 to i32
  store i32 %104, ptr %12, align 4, !tbaa !9
  %105 = load i32, ptr %12, align 4, !tbaa !9
  %106 = load i32, ptr %13, align 4, !tbaa !9
  %107 = icmp slt i32 %105, %106
  br i1 %107, label %108, label %109

108:                                              ; preds = %98
  br label %119

109:                                              ; preds = %98
  %110 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %110, ptr %11, align 4, !tbaa !9
  %111 = load i32, ptr %10, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %118

113:                                              ; preds = %109
  %114 = getelementptr inbounds [255 x i8], ptr %15, i64 0, i64 0
  %115 = load i32, ptr %12, align 4, !tbaa !9
  %116 = load i32, ptr %12, align 4, !tbaa !9
  %117 = sitofp i32 %116 to double
  call void @RAND_add(ptr noundef %114, i32 noundef %115, double noundef %117)
  br label %118

118:                                              ; preds = %113, %109
  br label %119

119:                                              ; preds = %118, %108, %86, %75, %60
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %125

122:                                              ; preds = %119
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = call i32 @fclose(ptr noundef %123)
  br label %125

125:                                              ; preds = %122, %119
  %126 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %126, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %127

127:                                              ; preds = %125, %42, %25, %19
  call void @llvm.lifetime.end.p0(i64 255, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 110, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  %128 = load i32, ptr %4, align 4
  ret i32 %128
}

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #4

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

; Function Attrs: nounwind
declare noalias ptr @fdopen(i32 noundef, ptr noundef) #4

; Function Attrs: nounwind
declare void @setbuf(ptr noundef, ptr noundef) #4

declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #5

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

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #5

declare i32 @fflush(ptr noundef) #5

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #5

declare void @RAND_add(ptr noundef, i32 noundef, double noundef) #5

declare i32 @fclose(ptr noundef) #5

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 "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 = { "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 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { 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}
!11 = !{!12, !13, i64 0}
!12 = !{!"sockaddr_un", !13, i64 0, !7, i64 2}
!13 = !{!"short", !7, i64 0}
!14 = !{!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] }

@.str = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 1, 0) i32 @RAND_query_egd_bytes(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca %struct.sockaddr_un, align 2
  %5 = alloca [255 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 110, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 255, ptr nonnull %5) #9
  %6 = icmp sgt i32 %2, 255
  br i1 %6, label %52, label %7

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %4, i64 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(110) %8, i8 0, i64 108, i1 false)
  store i16 1, ptr %4, align 2, !tbaa !5
  %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #10
  %10 = icmp ugt i64 %9, 107
  br i1 %10, label %52, label %11

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %4, i64 2
  %13 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull dereferenceable(1) %0) #9
  %14 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #10
  %15 = trunc i64 %14 to i32
  %16 = add i32 %15, 2
  %17 = call i32 @socket(i32 noundef 1, i32 noundef 1, i32 noundef 0) #9
  %18 = icmp eq i32 %17, -1
  br i1 %18, label %52, label %19

19:                                               ; preds = %11
  %20 = call noalias ptr @fdopen(i32 noundef %17, ptr noundef nonnull @.str) #9
  %21 = icmp eq ptr %20, null
  br i1 %21, label %52, label %22

22:                                               ; preds = %19
  call void @setbuf(ptr noundef nonnull %20, ptr noundef null) #9
  %23 = call i32 @connect(i32 noundef %17, ptr noundef nonnull %4, i32 noundef %16) #9
  %24 = icmp eq i32 %23, 0
  br i1 %24, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %22
  %25 = tail call ptr @__errno_location() #11
  br label %26

26:                                               ; preds = %.lr.ph, %28
  %27 = load i32, ptr %25, align 4, !tbaa !10
  switch i32 %27, label %.loopexit [
    i32 106, label %._crit_edge
    i32 4, label %28
    i32 11, label %28
    i32 115, label %28
    i32 114, label %28
  ]

28:                                               ; preds = %26, %26, %26, %26
  %29 = call i32 @connect(i32 noundef %17, ptr noundef nonnull %4, i32 noundef %16) #9
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %._crit_edge, label %26

._crit_edge:                                      ; preds = %28, %26, %22
  store i8 1, ptr %5, align 16, !tbaa !12
  %31 = trunc i32 %2 to i8
  %32 = getelementptr inbounds i8, ptr %5, i64 1
  store i8 %31, ptr %32, align 1, !tbaa !12
  %33 = call i64 @fwrite(ptr noundef nonnull %5, i64 noundef 1, i64 noundef 2, ptr noundef nonnull %20)
  %.not = icmp eq i64 %33, 2
  br i1 %.not, label %34, label %.loopexit

34:                                               ; preds = %._crit_edge
  %35 = call i32 @fflush(ptr noundef nonnull %20)
  %36 = icmp eq i32 %35, -1
  br i1 %36, label %.loopexit, label %37

37:                                               ; preds = %34
  %38 = call i64 @fread(ptr noundef nonnull %5, i64 noundef 1, i64 noundef 1, ptr noundef nonnull %20)
  %39 = icmp ne i64 %38, 1
  %40 = load i8, ptr %5, align 16
  %41 = zext i8 %40 to i32
  %42 = icmp eq i8 %40, 0
  %or.cond = select i1 %39, i1 true, i1 %42
  br i1 %or.cond, label %.loopexit, label %43

43:                                               ; preds = %37
  %44 = icmp ne ptr %1, null
  %spec.select = select i1 %44, ptr %1, ptr %5
  %45 = zext i8 %40 to i64
  %46 = call i64 @fread(ptr noundef nonnull %spec.select, i64 noundef 1, i64 noundef %45, ptr noundef nonnull %20)
  %47 = trunc i64 %46 to i32
  %48 = icmp slt i32 %47, %41
  %brmerge = or i1 %44, %48
  %.mux = select i1 %48, i32 -1, i32 %41
  br i1 %brmerge, label %.loopexit, label %49

49:                                               ; preds = %43
  %50 = uitofp nneg i32 %47 to double
  call void @RAND_add(ptr noundef nonnull %5, i32 noundef %47, double noundef %50) #9
  br label %.loopexit

.loopexit:                                        ; preds = %26, %34, %._crit_edge, %37, %49, %43
  %.031 = phi i32 [ -1, %._crit_edge ], [ -1, %34 ], [ -1, %37 ], [ %.mux, %43 ], [ %41, %49 ], [ -1, %26 ]
  %51 = call i32 @fclose(ptr noundef nonnull %20)
  br label %52

52:                                               ; preds = %11, %19, %7, %3, %.loopexit
  %.0 = phi i32 [ %.031, %.loopexit ], [ -1, %3 ], [ -1, %7 ], [ -1, %19 ], [ -1, %11 ]
  call void @llvm.lifetime.end.p0(i64 255, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 110, ptr nonnull %4) #9
  ret i32 %.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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #4

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fdopen(i32 noundef, ptr nocapture noundef readonly) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare void @setbuf(ptr nocapture noundef, ptr noundef) local_unnamed_addr #6

declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

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

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #6

declare void @RAND_add(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #7

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #6

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

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 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 #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 = { 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 #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 = { 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 #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, !7, i64 0}
!6 = !{!"sockaddr_un", !7, i64 0, !8, i64 2}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!8, !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass