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

; 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.sc_sock_poll = type { i32, ptr }
%struct.sc_thread = type { i64 }
%struct.sc_sock = type { %struct.sc_sock_fd, i8, i32, [128 x i8] }
%struct.sc_sock_fd = type { i32, i32, i32 }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [6 x i8], align 1
@__PRETTY_FUNCTION__.test_poll_multithreaded_accept = external hidden unnamed_addr constant [42 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [14 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @sc_thread_start(ptr noundef, ptr noundef, 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 @sc_thread_join(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @sc_time_sleep(i64 noundef) #0

declare void @sc_sock_init(ptr noundef, i32 noundef, i1 noundef zeroext, i32 noundef) #2

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

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

declare i32 @sc_sock_term(ptr noundef) #2

declare i32 @printf(ptr noundef, ...) #2

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

declare i32 @sc_sock_poll_init(ptr noundef) #2

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

declare i32 @sc_sock_poll_term(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @test_poll_multithreaded_accept() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [8 x %struct.sc_sock_poll], align 16
  %3 = alloca [8 x %struct.sc_thread], align 16
  %4 = alloca %struct.sc_sock, align 4
  %5 = alloca %struct.sc_sock, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 128, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 148, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 148, ptr %5) #4
  call void @sc_sock_init(ptr noundef %4, i32 noundef 0, i1 noundef zeroext false, i32 noundef 2)
  %12 = call i32 @sc_sock_listen(ptr noundef %4, ptr noundef @.str, ptr noundef @.str.83)
  store i32 %12, ptr %1, align 4, !tbaa !5
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %16

15:                                               ; preds = %0
  br label %17

16:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1922, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %47, %17
  %19 = load i32, ptr %6, align 4, !tbaa !5
  %20 = icmp slt i32 %19, 8
  br i1 %20, label %22, label %21

21:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %50

22:                                               ; preds = %18
  %23 = load i32, ptr %6, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [8 x %struct.sc_thread], ptr %3, i64 0, i64 %24
  call void @sc_thread_init(ptr noundef %25)
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [8 x %struct.sc_sock_poll], ptr %2, i64 0, i64 %27
  %29 = call i32 @sc_sock_poll_init(ptr noundef %28)
  store i32 %29, ptr %1, align 4, !tbaa !5
  %30 = load i32, ptr %1, align 4, !tbaa !5
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %22
  br label %34

33:                                               ; preds = %22
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1928, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

34:                                               ; preds = %32
  %35 = getelementptr inbounds %struct.sc_sock, ptr %4, i32 0, i32 0
  %36 = getelementptr inbounds %struct.sc_sock_fd, ptr %35, i32 0, i32 1
  store i32 0, ptr %36, align 4, !tbaa !9
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [8 x %struct.sc_sock_poll], ptr %2, i64 0, i64 %38
  %40 = getelementptr inbounds %struct.sc_sock, ptr %4, i32 0, i32 0
  %41 = call i32 @sc_sock_poll_add(ptr noundef %39, ptr noundef %40, i32 noundef 1, ptr noundef %4)
  store i32 %41, ptr %1, align 4, !tbaa !5
  %42 = load i32, ptr %1, align 4, !tbaa !5
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %34
  br label %46

45:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1933, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

46:                                               ; preds = %44
  br label %47

47:                                               ; preds = %46
  %48 = load i32, ptr %6, align 4, !tbaa !5
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %6, align 4, !tbaa !5
  br label %18, !llvm.loop !13

50:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %68, %50
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = icmp slt i32 %52, 8
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %71

55:                                               ; preds = %51
  %56 = load i32, ptr %7, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [8 x %struct.sc_thread], ptr %3, i64 0, i64 %57
  %59 = load i32, ptr %7, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [8 x %struct.sc_sock_poll], ptr %2, i64 0, i64 %60
  %62 = call i32 @sc_thread_start(ptr noundef %58, ptr noundef @multithreaded_accept, ptr noundef %61)
  store i32 %62, ptr %1, align 4, !tbaa !5
  %63 = load i32, ptr %1, align 4, !tbaa !5
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %66

65:                                               ; preds = %55
  br label %67

66:                                               ; preds = %55
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1938, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

67:                                               ; preds = %65
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %7, align 4, !tbaa !5
  br label %51, !llvm.loop !15

71:                                               ; preds = %54
  %72 = call i32 @sc_time_sleep(i64 noundef 500)
  call void @sc_sock_init(ptr noundef %5, i32 noundef 0, i1 noundef zeroext true, i32 noundef 2)
  %73 = call i32 @sc_sock_connect(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.83, ptr noundef null, ptr noundef null)
  store i32 %73, ptr %1, align 4, !tbaa !5
  %74 = load i32, ptr %1, align 4, !tbaa !5
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %71
  br label %78

77:                                               ; preds = %71
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1945, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

78:                                               ; preds = %76
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.155)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %109, %78
  %81 = load i32, ptr %9, align 4, !tbaa !5
  %82 = icmp slt i32 %81, 8
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %112

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %85 = load i32, ptr %9, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [8 x %struct.sc_thread], ptr %3, i64 0, i64 %86
  %88 = call i32 @sc_thread_join(ptr noundef %87, ptr noundef %10)
  store i32 %88, ptr %1, align 4, !tbaa !5
  %89 = load i32, ptr %1, align 4, !tbaa !5
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %84
  br label %93

92:                                               ; preds = %84
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1954, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

93:                                               ; preds = %91
  %94 = load ptr, ptr %10, align 8, !tbaa !16
  %95 = icmp eq ptr %94, %4
  br i1 %95, label %96, label %99

96:                                               ; preds = %93
  %97 = load i32, ptr %8, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %8, align 4, !tbaa !5
  br label %108

99:                                               ; preds = %93
  %100 = load ptr, ptr %10, align 8, !tbaa !16
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [8 x %struct.sc_sock_poll], ptr %2, i64 0, i64 %102
  %104 = icmp eq ptr %100, %103
  br i1 %104, label %105, label %106

105:                                              ; preds = %99
  br label %107

106:                                              ; preds = %99
  call void @__assert_fail(ptr noundef @.str.156, ptr noundef @.str.3, i32 noundef 1959, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

107:                                              ; preds = %105
  br label %108

108:                                              ; preds = %107, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %9, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %9, align 4, !tbaa !5
  br label %80, !llvm.loop !18

112:                                              ; preds = %83
  %113 = load i32, ptr %8, align 4, !tbaa !5
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.157, i32 noundef %113)
  %115 = load i32, ptr %8, align 4, !tbaa !5
  %116 = icmp eq i32 %115, 1
  br i1 %116, label %117, label %118

117:                                              ; preds = %112
  br label %119

118:                                              ; preds = %112
  call void @__assert_fail(ptr noundef @.str.158, ptr noundef @.str.3, i32 noundef 1964, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

119:                                              ; preds = %117
  %120 = call i32 @sc_sock_term(ptr noundef %5)
  store i32 %120, ptr %1, align 4, !tbaa !5
  %121 = load i32, ptr %1, align 4, !tbaa !5
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %119
  br label %125

124:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1967, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

125:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %140, %125
  %127 = load i32, ptr %11, align 4, !tbaa !5
  %128 = icmp slt i32 %127, 8
  br i1 %128, label %130, label %129

129:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %143

130:                                              ; preds = %126
  %131 = load i32, ptr %11, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [8 x %struct.sc_sock_poll], ptr %2, i64 0, i64 %132
  %134 = call i32 @sc_sock_poll_term(ptr noundef %133)
  store i32 %134, ptr %1, align 4, !tbaa !5
  %135 = load i32, ptr %1, align 4, !tbaa !5
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %130
  br label %139

138:                                              ; preds = %130
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1971, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

139:                                              ; preds = %137
  br label %140

140:                                              ; preds = %139
  %141 = load i32, ptr %11, align 4, !tbaa !5
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %11, align 4, !tbaa !5
  br label %126, !llvm.loop !19

143:                                              ; preds = %129
  %144 = call i32 @sc_sock_term(ptr noundef %4)
  store i32 %144, ptr %1, align 4, !tbaa !5
  %145 = load i32, ptr %1, align 4, !tbaa !5
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %147, label %148

147:                                              ; preds = %143
  br label %149

148:                                              ; preds = %143
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 1975, ptr noundef @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #5
  unreachable

149:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 148, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 148, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

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 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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, !6, i64 4}
!10 = !{!"sc_sock", !11, i64 0, !12, i64 12, !6, i64 16, !7, i64 20}
!11 = !{!"sc_sock_fd", !6, i64 0, !6, i64 4, !6, i64 8}
!12 = !{!"_Bool", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}


; 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.sc_sock_poll = type { i32, ptr }
%struct.sc_thread = type { i64 }
%struct.sc_sock = type { %struct.sc_sock_fd, i8, i32, [128 x i8] }
%struct.sc_sock_fd = type { i32, i32, i32 }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [6 x i8], align 1
@__PRETTY_FUNCTION__.test_poll_multithreaded_accept = external hidden unnamed_addr constant [42 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [14 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @sc_thread_start(ptr noundef, ptr noundef, 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 @sc_thread_join(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @sc_time_sleep(i64 noundef) local_unnamed_addr #0

declare void @sc_sock_init(ptr noundef, i32 noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #2

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

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

declare i32 @sc_sock_term(ptr noundef) local_unnamed_addr #2

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

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

declare i32 @sc_sock_poll_init(ptr noundef) local_unnamed_addr #2

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

declare i32 @sc_sock_poll_term(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @test_poll_multithreaded_accept() local_unnamed_addr #0 {
  %1 = alloca [8 x %struct.sc_sock_poll], align 16
  %2 = alloca [8 x %struct.sc_thread], align 16
  %3 = alloca %struct.sc_sock, align 4
  %4 = alloca %struct.sc_sock, align 4
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 148, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 148, ptr nonnull %4) #5
  call void @sc_sock_init(ptr noundef nonnull %3, i32 noundef 0, i1 noundef zeroext false, i32 noundef 2) #5
  %6 = call i32 @sc_sock_listen(ptr noundef nonnull %3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.83) #5
  %7 = icmp eq i32 %6, 0
  br i1 %7, label %.preheader34, label %11

.preheader34:                                     ; preds = %0
  %8 = getelementptr inbounds i8, ptr %3, i64 4
  call void @sc_thread_init(ptr noundef nonnull %2)
  %9 = call i32 @sc_sock_poll_init(ptr noundef nonnull %1) #5
  %10 = icmp eq i32 %9, 0
  br i1 %10, label %71, label %70

11:                                               ; preds = %0
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1922, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

12:                                               ; preds = %71
  %13 = getelementptr inbounds i8, ptr %2, i64 8
  call void @sc_thread_init(ptr noundef nonnull %13)
  %14 = getelementptr inbounds i8, ptr %1, i64 16
  %15 = call i32 @sc_sock_poll_init(ptr noundef nonnull %14) #5
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %70

17:                                               ; preds = %12
  store i32 0, ptr %8, align 4, !tbaa !5
  %18 = call i32 @sc_sock_poll_add(ptr noundef nonnull %14, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %20, label %74

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %2, i64 16
  call void @sc_thread_init(ptr noundef nonnull %21)
  %22 = getelementptr inbounds i8, ptr %1, i64 32
  %23 = call i32 @sc_sock_poll_init(ptr noundef nonnull %22) #5
  %24 = icmp eq i32 %23, 0
  br i1 %24, label %25, label %70

25:                                               ; preds = %20
  store i32 0, ptr %8, align 4, !tbaa !5
  %26 = call i32 @sc_sock_poll_add(ptr noundef nonnull %22, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %74

28:                                               ; preds = %25
  %29 = getelementptr inbounds i8, ptr %2, i64 24
  call void @sc_thread_init(ptr noundef nonnull %29)
  %30 = getelementptr inbounds i8, ptr %1, i64 48
  %31 = call i32 @sc_sock_poll_init(ptr noundef nonnull %30) #5
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %70

33:                                               ; preds = %28
  store i32 0, ptr %8, align 4, !tbaa !5
  %34 = call i32 @sc_sock_poll_add(ptr noundef nonnull %30, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %74

36:                                               ; preds = %33
  %37 = getelementptr inbounds i8, ptr %2, i64 32
  call void @sc_thread_init(ptr noundef nonnull %37)
  %38 = getelementptr inbounds i8, ptr %1, i64 64
  %39 = call i32 @sc_sock_poll_init(ptr noundef nonnull %38) #5
  %40 = icmp eq i32 %39, 0
  br i1 %40, label %41, label %70

41:                                               ; preds = %36
  store i32 0, ptr %8, align 4, !tbaa !5
  %42 = call i32 @sc_sock_poll_add(ptr noundef nonnull %38, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %74

44:                                               ; preds = %41
  %45 = getelementptr inbounds i8, ptr %2, i64 40
  call void @sc_thread_init(ptr noundef nonnull %45)
  %46 = getelementptr inbounds i8, ptr %1, i64 80
  %47 = call i32 @sc_sock_poll_init(ptr noundef nonnull %46) #5
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %49, label %70

49:                                               ; preds = %44
  store i32 0, ptr %8, align 4, !tbaa !5
  %50 = call i32 @sc_sock_poll_add(ptr noundef nonnull %46, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %52, label %74

52:                                               ; preds = %49
  %53 = getelementptr inbounds i8, ptr %2, i64 48
  call void @sc_thread_init(ptr noundef nonnull %53)
  %54 = getelementptr inbounds i8, ptr %1, i64 96
  %55 = call i32 @sc_sock_poll_init(ptr noundef nonnull %54) #5
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %70

57:                                               ; preds = %52
  store i32 0, ptr %8, align 4, !tbaa !5
  %58 = call i32 @sc_sock_poll_add(ptr noundef nonnull %54, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %74

60:                                               ; preds = %57
  %61 = getelementptr inbounds i8, ptr %2, i64 56
  call void @sc_thread_init(ptr noundef nonnull %61)
  %62 = getelementptr inbounds i8, ptr %1, i64 112
  %63 = call i32 @sc_sock_poll_init(ptr noundef nonnull %62) #5
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %70

65:                                               ; preds = %60
  store i32 0, ptr %8, align 4, !tbaa !5
  %66 = call i32 @sc_sock_poll_add(ptr noundef nonnull %62, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %.preheader33.preheader, label %74

.preheader33.preheader:                           ; preds = %65
  %68 = call i32 @sc_thread_start(ptr noundef nonnull %2, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %1)
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %.preheader33.1, label %93

70:                                               ; preds = %60, %52, %44, %36, %28, %20, %12, %.preheader34
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1928, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

71:                                               ; preds = %.preheader34
  store i32 0, ptr %8, align 4, !tbaa !5
  %72 = call i32 @sc_sock_poll_add(ptr noundef nonnull %1, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull %3) #5
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %12, label %74

74:                                               ; preds = %65, %57, %49, %41, %33, %25, %17, %71
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1933, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

.preheader33.1:                                   ; preds = %.preheader33.preheader
  %75 = call i32 @sc_thread_start(ptr noundef nonnull %13, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %14)
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %.preheader33.2, label %93

.preheader33.2:                                   ; preds = %.preheader33.1
  %77 = call i32 @sc_thread_start(ptr noundef nonnull %21, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %22)
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %.preheader33.3, label %93

.preheader33.3:                                   ; preds = %.preheader33.2
  %79 = call i32 @sc_thread_start(ptr noundef nonnull %29, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %30)
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %.preheader33.4, label %93

.preheader33.4:                                   ; preds = %.preheader33.3
  %81 = call i32 @sc_thread_start(ptr noundef nonnull %37, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %38)
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %.preheader33.5, label %93

.preheader33.5:                                   ; preds = %.preheader33.4
  %83 = call i32 @sc_thread_start(ptr noundef nonnull %45, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %46)
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %.preheader33.6, label %93

.preheader33.6:                                   ; preds = %.preheader33.5
  %85 = call i32 @sc_thread_start(ptr noundef nonnull %53, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %54)
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %.preheader33.7, label %93

.preheader33.7:                                   ; preds = %.preheader33.6
  %87 = call i32 @sc_thread_start(ptr noundef nonnull %61, ptr noundef nonnull @multithreaded_accept, ptr noundef nonnull %62)
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %93

89:                                               ; preds = %.preheader33.7
  %90 = call i32 @sc_time_sleep(i64 noundef 500)
  call void @sc_sock_init(ptr noundef nonnull %4, i32 noundef 0, i1 noundef zeroext true, i32 noundef 2) #5
  %91 = call i32 @sc_sock_connect(ptr noundef nonnull %4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.83, ptr noundef null, ptr noundef null) #5
  %92 = icmp eq i32 %91, 0
  br i1 %92, label %95, label %94

93:                                               ; preds = %.preheader33.7, %.preheader33.6, %.preheader33.5, %.preheader33.4, %.preheader33.3, %.preheader33.2, %.preheader33.1, %.preheader33.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1938, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

94:                                               ; preds = %89
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1945, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

95:                                               ; preds = %89
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.155)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %97 = call i32 @sc_thread_join(ptr noundef nonnull %2, ptr noundef nonnull %5)
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %100, label %99

99:                                               ; preds = %166, %156, %146, %136, %126, %116, %106, %95
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1954, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

100:                                              ; preds = %95
  %101 = load ptr, ptr %5, align 8, !tbaa !12
  %102 = icmp eq ptr %101, %3
  br i1 %102, label %106, label %103

103:                                              ; preds = %100
  %104 = icmp eq ptr %101, %1
  br i1 %104, label %106, label %105

105:                                              ; preds = %172, %162, %152, %142, %132, %122, %112, %103
  call void @__assert_fail(ptr noundef nonnull @.str.156, ptr noundef nonnull @.str.3, i32 noundef 1959, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

106:                                              ; preds = %100, %103
  %.1 = phi i32 [ 0, %103 ], [ 1, %100 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %107 = call i32 @sc_thread_join(ptr noundef nonnull %13, ptr noundef nonnull %5)
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %109, label %99

109:                                              ; preds = %106
  %110 = load ptr, ptr %5, align 8, !tbaa !12
  %111 = icmp eq ptr %110, %3
  br i1 %111, label %114, label %112

112:                                              ; preds = %109
  %113 = icmp eq ptr %110, %14
  br i1 %113, label %116, label %105

114:                                              ; preds = %109
  %115 = add nuw nsw i32 %.1, 1
  br label %116

116:                                              ; preds = %114, %112
  %.1.1 = phi i32 [ %115, %114 ], [ %.1, %112 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %117 = call i32 @sc_thread_join(ptr noundef nonnull %21, ptr noundef nonnull %5)
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %99

119:                                              ; preds = %116
  %120 = load ptr, ptr %5, align 8, !tbaa !12
  %121 = icmp eq ptr %120, %3
  br i1 %121, label %124, label %122

122:                                              ; preds = %119
  %123 = icmp eq ptr %120, %22
  br i1 %123, label %126, label %105

124:                                              ; preds = %119
  %125 = add nuw nsw i32 %.1.1, 1
  br label %126

126:                                              ; preds = %124, %122
  %.1.2 = phi i32 [ %125, %124 ], [ %.1.1, %122 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %127 = call i32 @sc_thread_join(ptr noundef nonnull %29, ptr noundef nonnull %5)
  %128 = icmp eq i32 %127, 0
  br i1 %128, label %129, label %99

129:                                              ; preds = %126
  %130 = load ptr, ptr %5, align 8, !tbaa !12
  %131 = icmp eq ptr %130, %3
  br i1 %131, label %134, label %132

132:                                              ; preds = %129
  %133 = icmp eq ptr %130, %30
  br i1 %133, label %136, label %105

134:                                              ; preds = %129
  %135 = add nuw nsw i32 %.1.2, 1
  br label %136

136:                                              ; preds = %134, %132
  %.1.3 = phi i32 [ %135, %134 ], [ %.1.2, %132 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %137 = call i32 @sc_thread_join(ptr noundef nonnull %37, ptr noundef nonnull %5)
  %138 = icmp eq i32 %137, 0
  br i1 %138, label %139, label %99

139:                                              ; preds = %136
  %140 = load ptr, ptr %5, align 8, !tbaa !12
  %141 = icmp eq ptr %140, %3
  br i1 %141, label %144, label %142

142:                                              ; preds = %139
  %143 = icmp eq ptr %140, %38
  br i1 %143, label %146, label %105

144:                                              ; preds = %139
  %145 = add nuw nsw i32 %.1.3, 1
  br label %146

146:                                              ; preds = %144, %142
  %.1.4 = phi i32 [ %145, %144 ], [ %.1.3, %142 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %147 = call i32 @sc_thread_join(ptr noundef nonnull %45, ptr noundef nonnull %5)
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %99

149:                                              ; preds = %146
  %150 = load ptr, ptr %5, align 8, !tbaa !12
  %151 = icmp eq ptr %150, %3
  br i1 %151, label %154, label %152

152:                                              ; preds = %149
  %153 = icmp eq ptr %150, %46
  br i1 %153, label %156, label %105

154:                                              ; preds = %149
  %155 = add nuw nsw i32 %.1.4, 1
  br label %156

156:                                              ; preds = %154, %152
  %.1.5 = phi i32 [ %155, %154 ], [ %.1.4, %152 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %157 = call i32 @sc_thread_join(ptr noundef nonnull %53, ptr noundef nonnull %5)
  %158 = icmp eq i32 %157, 0
  br i1 %158, label %159, label %99

159:                                              ; preds = %156
  %160 = load ptr, ptr %5, align 8, !tbaa !12
  %161 = icmp eq ptr %160, %3
  br i1 %161, label %164, label %162

162:                                              ; preds = %159
  %163 = icmp eq ptr %160, %54
  br i1 %163, label %166, label %105

164:                                              ; preds = %159
  %165 = add nuw nsw i32 %.1.5, 1
  br label %166

166:                                              ; preds = %164, %162
  %.1.6 = phi i32 [ %165, %164 ], [ %.1.5, %162 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %167 = call i32 @sc_thread_join(ptr noundef nonnull %61, ptr noundef nonnull %5)
  %168 = icmp eq i32 %167, 0
  br i1 %168, label %169, label %99

169:                                              ; preds = %166
  %170 = load ptr, ptr %5, align 8, !tbaa !12
  %171 = icmp eq ptr %170, %3
  br i1 %171, label %174, label %172

172:                                              ; preds = %169
  %173 = icmp eq ptr %170, %62
  br i1 %173, label %176, label %105

174:                                              ; preds = %169
  %175 = add nuw nsw i32 %.1.6, 1
  br label %176

176:                                              ; preds = %174, %172
  %.1.7 = phi i32 [ %175, %174 ], [ %.1.6, %172 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %177 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.157, i32 noundef %.1.7)
  %178 = icmp eq i32 %.1.7, 1
  br i1 %178, label %180, label %179

179:                                              ; preds = %176
  call void @__assert_fail(ptr noundef nonnull @.str.158, ptr noundef nonnull @.str.3, i32 noundef 1964, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

180:                                              ; preds = %176
  %181 = call i32 @sc_sock_term(ptr noundef nonnull %4) #5
  %182 = icmp eq i32 %181, 0
  br i1 %182, label %.preheader.preheader, label %185

.preheader.preheader:                             ; preds = %180
  %183 = call i32 @sc_sock_poll_term(ptr noundef nonnull %1) #5
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %.preheader.1, label %203

185:                                              ; preds = %180
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1967, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

.preheader.1:                                     ; preds = %.preheader.preheader
  %186 = call i32 @sc_sock_poll_term(ptr noundef nonnull %14) #5
  %187 = icmp eq i32 %186, 0
  br i1 %187, label %.preheader.2, label %203

.preheader.2:                                     ; preds = %.preheader.1
  %188 = call i32 @sc_sock_poll_term(ptr noundef nonnull %22) #5
  %189 = icmp eq i32 %188, 0
  br i1 %189, label %.preheader.3, label %203

.preheader.3:                                     ; preds = %.preheader.2
  %190 = call i32 @sc_sock_poll_term(ptr noundef nonnull %30) #5
  %191 = icmp eq i32 %190, 0
  br i1 %191, label %.preheader.4, label %203

.preheader.4:                                     ; preds = %.preheader.3
  %192 = call i32 @sc_sock_poll_term(ptr noundef nonnull %38) #5
  %193 = icmp eq i32 %192, 0
  br i1 %193, label %.preheader.5, label %203

.preheader.5:                                     ; preds = %.preheader.4
  %194 = call i32 @sc_sock_poll_term(ptr noundef nonnull %46) #5
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %.preheader.6, label %203

.preheader.6:                                     ; preds = %.preheader.5
  %196 = call i32 @sc_sock_poll_term(ptr noundef nonnull %54) #5
  %197 = icmp eq i32 %196, 0
  br i1 %197, label %.preheader.7, label %203

.preheader.7:                                     ; preds = %.preheader.6
  %198 = call i32 @sc_sock_poll_term(ptr noundef nonnull %62) #5
  %199 = icmp eq i32 %198, 0
  br i1 %199, label %200, label %203

200:                                              ; preds = %.preheader.7
  %201 = call i32 @sc_sock_term(ptr noundef nonnull %3) #5
  %202 = icmp eq i32 %201, 0
  br i1 %202, label %205, label %204

203:                                              ; preds = %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1971, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

204:                                              ; preds = %200
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 1975, ptr noundef nonnull @__PRETTY_FUNCTION__.test_poll_multithreaded_accept) #6
  unreachable

205:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 148, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 148, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #5
  ret void
}

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 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { noreturn 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, !8, i64 4}
!6 = !{!"sc_sock", !7, i64 0, !11, i64 12, !8, i64 16, !9, i64 20}
!7 = !{!"sc_sock_fd", !8, i64 0, !8, i64 4, !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"_Bool", !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass