; LLVM IR from mwarning/KadNode :: src (unix)

; 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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.gconf_t = type { i64, i64, ptr, ptr, ptr, ptr, ptr, i8, i8, i32, i32, i32, i32, ptr, i8, [8 x i8], i64, i64, i64, [8 x i32], [8 x i32] }

@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@gconf = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1

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

declare void @log_print(i32 noundef, ptr noundef, ...) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @unix_create_unix_socket(ptr noundef %0, ptr noundef %1) #4 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.sockaddr_un, align 2
  %7 = alloca %struct.stat, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 110, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 -1, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = icmp eq ptr %12, null
  br i1 %13, label %18, label %14

14:                                               ; preds = %2
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = call i64 @strlen(ptr noundef %15) #7
  %17 = icmp eq i64 %16, 0
  br i1 %17, label %18, label %19

18:                                               ; preds = %14, %2
  br label %86

19:                                               ; preds = %14
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = call noalias ptr @strdup(ptr noundef %20) #6
  %22 = call ptr @dirname(ptr noundef %21) #6
  store ptr %22, ptr %8, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = call i32 @is_unix_socket_valid(ptr noundef %23)
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %28

26:                                               ; preds = %19
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef @.str.2, ptr noundef %27)
  br label %86

28:                                               ; preds = %19
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = call i32 @unlink(ptr noundef %29) #6
  store i32 %30, ptr %10, align 4, !tbaa !9
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %44

33:                                               ; preds = %28
  br label %34

34:                                               ; preds = %33
  %35 = load ptr, ptr @gconf, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.gconf_t, ptr %35, i32 0, i32 9
  %37 = load i32, ptr %36, align 4, !tbaa !11
  %38 = icmp ne i32 %37, 2
  br i1 %38, label %39, label %41

39:                                               ; preds = %34
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  call void (i32, ptr, ...) @log_print(i32 noundef 4, ptr noundef @.str.3, ptr noundef %40)
  br label %41

41:                                               ; preds = %39, %34
  br label %42

42:                                               ; preds = %41
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43, %28
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = call i32 @stat(ptr noundef %45, ptr noundef %7) #6
  %47 = icmp eq i32 %46, -1
  br i1 %47, label %48, label %57

48:                                               ; preds = %44
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = call i32 @mkdir(ptr noundef %49, i32 noundef 493) #6
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %57

52:                                               ; preds = %48
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call ptr @__errno_location() #8
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = call ptr @strerror(i32 noundef %55) #6
  call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef @.str.4, ptr noundef %53, ptr noundef %56)
  br label %86

57:                                               ; preds = %48, %44
  %58 = call i32 @socket(i32 noundef 1, i32 noundef 1, i32 noundef 0) #6
  store i32 %58, ptr %9, align 4, !tbaa !9
  %59 = load i32, ptr %9, align 4, !tbaa !9
  %60 = icmp slt i32 %59, 0
  br i1 %60, label %61, label %65

61:                                               ; preds = %57
  %62 = call ptr @__errno_location() #8
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = call ptr @strerror(i32 noundef %63) #6
  call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef @.str.5, ptr noundef %64)
  br label %86

65:                                               ; preds = %57
  %66 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
  store i16 1, ptr %66, align 2, !tbaa !15
  %67 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
  %68 = getelementptr inbounds [108 x i8], ptr %67, i64 0, i64 0
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = call ptr @strcpy(ptr noundef %68, ptr noundef %69) #6
  %71 = load i32, ptr %9, align 4, !tbaa !9
  %72 = call i32 @bind(i32 noundef %71, ptr noundef %6, i32 noundef 110) #6
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %79

74:                                               ; preds = %65
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = call ptr @__errno_location() #8
  %77 = load i32, ptr %76, align 4, !tbaa !9
  %78 = call ptr @strerror(i32 noundef %77) #6
  call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef @.str.6, ptr noundef %75, ptr noundef %78)
  br label %86

79:                                               ; preds = %65
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = call i32 @chmod(ptr noundef %80, i32 noundef 511) #6
  %82 = load i32, ptr %9, align 4, !tbaa !9
  %83 = call i32 @listen(i32 noundef %82, i32 noundef 5) #6
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %84, ptr %85, align 4, !tbaa !9
  store i1 true, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %98

86:                                               ; preds = %74, %61, %52, %26, %18
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %91

89:                                               ; preds = %86
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %90) #6
  br label %91

91:                                               ; preds = %89, %86
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = icmp sge i32 %92, 0
  br i1 %93, label %94, label %97

94:                                               ; preds = %91
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = load i32, ptr %9, align 4, !tbaa !9
  call void @unix_remove_unix_socket(ptr noundef %95, i32 noundef %96)
  br label %97

97:                                               ; preds = %94, %91
  store i1 false, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %98

98:                                               ; preds = %97, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 110, ptr %6) #6
  %99 = load i1, ptr %3, align 1
  ret i1 %99
}

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

; Function Attrs: nounwind
declare ptr @dirname(ptr noundef) #2

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @is_unix_socket_valid(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @unlink(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @stat(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @mkdir(ptr noundef, i32 noundef) #2

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

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

; Function Attrs: nounwind
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind
declare i32 @chmod(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind
declare i32 @listen(i32 noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @unix_remove_unix_socket(ptr noundef, i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { 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, !10, i64 60}
!12 = !{!"gconf_t", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !14, i64 56, !14, i64 57, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !6, i64 80, !7, i64 88, !7, i64 89, !13, i64 104, !13, i64 112, !13, i64 120, !7, i64 128, !7, i64 160}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_Bool", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"sockaddr_un", !17, i64 0, !7, i64 2}
!17 = !{!"short", !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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }

@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@gconf = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1

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

declare void @log_print(i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @unix_create_unix_socket(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #4 {
  %3 = alloca %struct.sockaddr_un, align 2
  %4 = alloca %struct.stat, align 8
  call void @llvm.lifetime.start.p0(i64 110, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %4) #9
  %5 = icmp eq ptr %0, null
  br i1 %5, label %.thread36, label %6

6:                                                ; preds = %2
  %char0 = load i8, ptr %0, align 1
  %7 = icmp eq i8 %char0, 0
  br i1 %7, label %.thread36, label %8

8:                                                ; preds = %6
  %9 = tail call noalias ptr @strdup(ptr noundef nonnull %0) #9
  %10 = tail call ptr @dirname(ptr noundef %9) #9
  %11 = tail call i32 @is_unix_socket_valid(ptr noundef nonnull %0)
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %13, label %12

12:                                               ; preds = %8
  tail call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef nonnull @.str.2, ptr noundef nonnull %0) #9
  br label %48

13:                                               ; preds = %8
  %14 = tail call i32 @unlink(ptr noundef nonnull %0) #9
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %21

16:                                               ; preds = %13
  %17 = load ptr, ptr @gconf, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 60
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %.not28 = icmp eq i32 %19, 2
  br i1 %.not28, label %21, label %20

20:                                               ; preds = %16
  tail call void (i32, ptr, ...) @log_print(i32 noundef 4, ptr noundef nonnull @.str.3, ptr noundef nonnull %0) #9
  br label %21

21:                                               ; preds = %16, %20, %13
  %22 = call i32 @stat(ptr noundef %10, ptr noundef nonnull %4) #9
  %23 = icmp eq i32 %22, -1
  br i1 %23, label %24, label %30

24:                                               ; preds = %21
  %25 = tail call i32 @mkdir(ptr noundef %10, i32 noundef 493) #9
  %.not29 = icmp eq i32 %25, 0
  br i1 %.not29, label %30, label %26

26:                                               ; preds = %24
  %27 = tail call ptr @__errno_location() #10
  %28 = load i32, ptr %27, align 4, !tbaa !14
  %29 = tail call ptr @strerror(i32 noundef %28) #9
  tail call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef nonnull @.str.4, ptr noundef %10, ptr noundef %29) #9
  br label %48

30:                                               ; preds = %24, %21
  %31 = tail call i32 @socket(i32 noundef 1, i32 noundef 1, i32 noundef 0) #9
  %32 = icmp slt i32 %31, 0
  br i1 %32, label %33, label %37

33:                                               ; preds = %30
  %34 = tail call ptr @__errno_location() #10
  %35 = load i32, ptr %34, align 4, !tbaa !14
  %36 = tail call ptr @strerror(i32 noundef %35) #9
  tail call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef nonnull @.str.5, ptr noundef %36) #9
  br label %48

37:                                               ; preds = %30
  store i16 1, ptr %3, align 2, !tbaa !15
  %38 = getelementptr inbounds i8, ptr %3, i64 2
  %39 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %38, ptr noundef nonnull dereferenceable(1) %0) #9
  %40 = call i32 @bind(i32 noundef %31, ptr noundef nonnull %3, i32 noundef 110) #9
  %.not30 = icmp eq i32 %40, 0
  br i1 %.not30, label %45, label %41

41:                                               ; preds = %37
  %42 = tail call ptr @__errno_location() #10
  %43 = load i32, ptr %42, align 4, !tbaa !14
  %44 = call ptr @strerror(i32 noundef %43) #9
  call void (i32, ptr, ...) @log_print(i32 noundef 3, ptr noundef nonnull @.str.6, ptr noundef nonnull %0, ptr noundef %44) #9
  br label %48

45:                                               ; preds = %37
  %46 = call i32 @chmod(ptr noundef nonnull %0, i32 noundef 511) #9
  %47 = call i32 @listen(i32 noundef %31, i32 noundef 5) #9
  store i32 %31, ptr %1, align 4, !tbaa !14
  br label %.thread36

48:                                               ; preds = %41, %33, %26, %12
  %.024 = phi i32 [ -1, %12 ], [ -1, %26 ], [ %31, %33 ], [ %31, %41 ]
  %.not31 = icmp eq ptr %10, null
  br i1 %.not31, label %50, label %49

49:                                               ; preds = %48
  call void @free(ptr noundef nonnull %10) #9
  br label %50

50:                                               ; preds = %49, %48
  %51 = icmp sgt i32 %.024, -1
  br i1 %51, label %52, label %.thread36

52:                                               ; preds = %50
  call void @unix_remove_unix_socket(ptr noundef nonnull %0, i32 noundef %.024)
  br label %.thread36

.thread36:                                        ; preds = %2, %6, %50, %52, %45
  %.0 = phi i1 [ true, %45 ], [ false, %52 ], [ false, %50 ], [ false, %6 ], [ false, %2 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 110, ptr nonnull %3) #9
  ret i1 %.0
}

; Function Attrs: nounwind
declare ptr @dirname(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare hidden i32 @is_unix_socket_valid(ptr noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind
declare i32 @listen(i32 noundef, i32 noundef) local_unnamed_addr #2

; 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 uwtable
declare dso_local void @unix_remove_unix_socket(ptr noundef, i32 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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 #4 = { 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 #5 = { mustprogress nofree nounwind willreturn 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 #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 = { 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 #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 = { nounwind }
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, !13, i64 60}
!10 = !{!"gconf_t", !11, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !12, i64 57, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !6, i64 80, !7, i64 88, !7, i64 89, !11, i64 104, !11, i64 112, !11, i64 120, !7, i64 128, !7, i64 160}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"sockaddr_un", !17, i64 0, !7, i64 2}
!17 = !{!"short", !7, i64 0}


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