; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/zeromq/src (tcp_address)

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

%"class.zmq::tcp_address_mask_t" = type { %"union.zmq::ip_addr_t", i32 }
%"union.zmq::ip_addr_t" = type { %struct.sockaddr_in6 }
%struct.sockaddr_in6 = type { i16, i16, i32, %struct.in6_addr, i32 }
%struct.in6_addr = type { %union.anon }
%union.anon = type { [4 x i32] }
%struct.sockaddr = type { i16, [14 x i8] }
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #0

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

declare i32 @fflush(ptr noundef) #2

declare void @_ZN3zmq9zmq_abortEPKc(ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3zmq18tcp_address_mask_t13match_addressEPK8sockaddrj(ptr noundef nonnull align 4 dereferenceable(32) %0, ptr noundef %1, i32 noundef %2) #4 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  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
  %14 = load ptr, ptr %5, align 8
  br label %15

15:                                               ; preds = %3
  %16 = getelementptr inbounds %"class.zmq::tcp_address_mask_t", ptr %14, i32 0, i32 1
  %17 = load i32, ptr %16, align 4, !tbaa !11
  %18 = icmp ne i32 %17, -1
  br i1 %18, label %19, label %25

19:                                               ; preds = %15
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %25

22:                                               ; preds = %19
  %23 = load i32, ptr %7, align 4, !tbaa !9
  %24 = icmp uge i32 %23, 16
  br label %25

25:                                               ; preds = %22, %19, %15
  %26 = phi i1 [ false, %19 ], [ false, %15 ], [ %24, %22 ]
  %27 = xor i1 %26, true
  %28 = zext i1 %27 to i64
  %29 = call i64 @llvm.expect.i64(i64 %28, i64 0)
  %30 = icmp ne i64 %29, 0
  br i1 %30, label %31, label %36

31:                                               ; preds = %25
  %32 = load ptr, ptr @stderr, align 8, !tbaa !5
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 319) #6
  %34 = load ptr, ptr @stderr, align 8, !tbaa !5
  %35 = call i32 @fflush(ptr noundef %34)
  call void @_ZN3zmq9zmq_abortEPKc(ptr noundef @.str.5)
  br label %36

36:                                               ; preds = %31, %25
  br label %37

37:                                               ; preds = %36
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.sockaddr, ptr %38, i32 0, i32 0
  %40 = load i16, ptr %39, align 2, !tbaa !13
  %41 = zext i16 %40 to i32
  %42 = getelementptr inbounds %"class.zmq::tcp_address_mask_t", ptr %14, i32 0, i32 0
  %43 = getelementptr inbounds %struct.sockaddr, ptr %42, i32 0, i32 0
  %44 = load i16, ptr %43, align 4, !tbaa !16
  %45 = zext i16 %44 to i32
  %46 = icmp ne i32 %41, %45
  br i1 %46, label %47, label %48

47:                                               ; preds = %37
  store i1 false, ptr %4, align 1
  br label %152

48:                                               ; preds = %37
  %49 = getelementptr inbounds %"class.zmq::tcp_address_mask_t", ptr %14, i32 0, i32 1
  %50 = load i32, ptr %49, align 4, !tbaa !11
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %52, label %151

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.sockaddr, ptr %53, i32 0, i32 0
  %55 = load i16, ptr %54, align 2, !tbaa !13
  %56 = zext i16 %55 to i32
  %57 = icmp eq i32 %56, 10
  br i1 %57, label %58, label %79

58:                                               ; preds = %52
  br label %59

59:                                               ; preds = %58
  %60 = load i32, ptr %7, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = icmp eq i64 %61, 28
  %63 = xor i1 %62, true
  %64 = zext i1 %63 to i64
  %65 = call i64 @llvm.expect.i64(i64 %64, i64 0)
  %66 = icmp ne i64 %65, 0
  br i1 %66, label %67, label %72

67:                                               ; preds = %59
  %68 = load ptr, ptr @stderr, align 8, !tbaa !5
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 328) #6
  %70 = load ptr, ptr @stderr, align 8, !tbaa !5
  %71 = call i32 @fflush(ptr noundef %70)
  call void @_ZN3zmq9zmq_abortEPKc(ptr noundef @.str.6)
  br label %72

72:                                               ; preds = %67, %59
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.sockaddr_in6, ptr %75, i32 0, i32 3
  store ptr %76, ptr %10, align 8, !tbaa !5
  %77 = getelementptr inbounds %"class.zmq::tcp_address_mask_t", ptr %14, i32 0, i32 0
  %78 = getelementptr inbounds %struct.sockaddr_in6, ptr %77, i32 0, i32 3
  store ptr %78, ptr %9, align 8, !tbaa !5
  store i32 128, ptr %8, align 4, !tbaa !9
  br label %100

79:                                               ; preds = %52
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = icmp eq i64 %82, 16
  %84 = xor i1 %83, true
  %85 = zext i1 %84 to i64
  %86 = call i64 @llvm.expect.i64(i64 %85, i64 0)
  %87 = icmp ne i64 %86, 0
  br i1 %87, label %88, label %93

88:                                               ; preds = %80
  %89 = load ptr, ptr @stderr, align 8, !tbaa !5
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 336) #6
  %91 = load ptr, ptr @stderr, align 8, !tbaa !5
  %92 = call i32 @fflush(ptr noundef %91)
  call void @_ZN3zmq9zmq_abortEPKc(ptr noundef @.str.7)
  br label %93

93:                                               ; preds = %88, %80
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.sockaddr_in, ptr %96, i32 0, i32 2
  store ptr %97, ptr %10, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.zmq::tcp_address_mask_t", ptr %14, i32 0, i32 0
  %99 = getelementptr inbounds %struct.sockaddr_in, ptr %98, i32 0, i32 2
  store ptr %99, ptr %9, align 8, !tbaa !5
  store i32 32, ptr %8, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %95, %74
  %101 = getelementptr inbounds %"class.zmq::tcp_address_mask_t", ptr %14, i32 0, i32 1
  %102 = load i32, ptr %101, align 4, !tbaa !11
  %103 = load i32, ptr %8, align 4, !tbaa !9
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %105, label %108

105:                                              ; preds = %100
  %106 = getelementptr inbounds %"class.zmq::tcp_address_mask_t", ptr %14, i32 0, i32 1
  %107 = load i32, ptr %106, align 4, !tbaa !11
  store i32 %107, ptr %8, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %105, %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %109 = load i32, ptr %8, align 4, !tbaa !9
  %110 = sdiv i32 %109, 8
  %111 = sext i32 %110 to i64
  store i64 %111, ptr %11, align 8, !tbaa !17
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = load i64, ptr %11, align 8, !tbaa !17
  %115 = call i32 @memcmp(ptr noundef %112, ptr noundef %113, i64 noundef %114) #7
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %108
  store i1 false, ptr %4, align 1
  store i32 1, ptr %12, align 4
  br label %148

118:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  %119 = load i32, ptr %8, align 4, !tbaa !9
  %120 = srem i32 %119, 8
  %121 = sub nsw i32 8, %120
  %122 = shl i32 255, %121
  %123 = trunc i32 %122 to i8
  store i8 %123, ptr %13, align 1, !tbaa !16
  %124 = load i8, ptr %13, align 1, !tbaa !16
  %125 = icmp ne i8 %124, 0
  br i1 %125, label %126, label %146

126:                                              ; preds = %118
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  %128 = load i64, ptr %11, align 8, !tbaa !17
  %129 = getelementptr inbounds i8, ptr %127, i64 %128
  %130 = load i8, ptr %129, align 1, !tbaa !16
  %131 = zext i8 %130 to i32
  %132 = load i8, ptr %13, align 1, !tbaa !16
  %133 = zext i8 %132 to i32
  %134 = and i32 %131, %133
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = load i64, ptr %11, align 8, !tbaa !17
  %137 = getelementptr inbounds i8, ptr %135, i64 %136
  %138 = load i8, ptr %137, align 1, !tbaa !16
  %139 = zext i8 %138 to i32
  %140 = load i8, ptr %13, align 1, !tbaa !16
  %141 = zext i8 %140 to i32
  %142 = and i32 %139, %141
  %143 = icmp ne i32 %134, %142
  br i1 %143, label %144, label %145

144:                                              ; preds = %126
  store i1 false, ptr %4, align 1
  store i32 1, ptr %12, align 4
  br label %147

145:                                              ; preds = %126
  br label %146

146:                                              ; preds = %145, %118
  store i32 0, ptr %12, align 4
  br label %147

147:                                              ; preds = %146, %144
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  br label %148

148:                                              ; preds = %147, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %149 = load i32, ptr %12, align 4
  switch i32 %149, label %154 [
    i32 0, label %150
    i32 1, label %152
  ]

150:                                              ; preds = %148
  br label %151

151:                                              ; preds = %150, %48
  store i1 true, ptr %4, align 1
  br label %152

152:                                              ; preds = %151, %148, %47
  %153 = load i1, ptr %4, align 1
  ret i1 %153

154:                                              ; preds = %148
  unreachable
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #1 = { 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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress 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) }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"_ZTSN3zmq18tcp_address_mask_tE", !7, i64 0, !10, i64 28}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS8sockaddr", !15, i64 0, !7, i64 2}
!15 = !{!"short", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

declare void @_ZN3zmq9zmq_abortEPKc(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3zmq18tcp_address_mask_t13match_addressEPK8sockaddrj(ptr nocapture noundef nonnull readonly align 4 dereferenceable(32) %0, ptr noundef readonly %1, i32 noundef %2) local_unnamed_addr #2 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 28
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = icmp eq i32 %5, -1
  %7 = icmp eq ptr %1, null
  %or.cond.not = or i1 %7, %6
  %8 = icmp ult i32 %2, 16
  %spec.select = or i1 %8, %or.cond.not
  br i1 %spec.select, label %9, label %14, !prof !10

9:                                                ; preds = %3
  %10 = load ptr, ptr @stderr, align 8, !tbaa !11
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 319) #5
  %12 = load ptr, ptr @stderr, align 8, !tbaa !11
  %13 = tail call i32 @fflush(ptr noundef %12)
  tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.5)
  br label %14

14:                                               ; preds = %3, %9
  %15 = load i16, ptr %1, align 2, !tbaa !13
  %16 = load i16, ptr %0, align 4, !tbaa !16
  %.not = icmp eq i16 %15, %16
  br i1 %.not, label %17, label %51

17:                                               ; preds = %14
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %20, label %51

20:                                               ; preds = %17
  %21 = icmp eq i16 %15, 10
  br i1 %21, label %22, label %26

22:                                               ; preds = %20
  %.not33 = icmp eq i32 %2, 28
  br i1 %.not33, label %32, label %23, !prof !17

23:                                               ; preds = %22
  %24 = load ptr, ptr @stderr, align 8, !tbaa !11
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 328) #5
  br label %.sink.split

26:                                               ; preds = %20
  %.not32 = icmp eq i32 %2, 16
  br i1 %.not32, label %32, label %27, !prof !17

27:                                               ; preds = %26
  %28 = load ptr, ptr @stderr, align 8, !tbaa !11
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 336) #5
  br label %.sink.split

.sink.split:                                      ; preds = %23, %27
  %.str.7.sink = phi ptr [ @.str.7, %27 ], [ @.str.6, %23 ]
  %.sink42.ph = phi i64 [ 4, %27 ], [ 8, %23 ]
  %.026.ph = phi i32 [ 32, %27 ], [ 128, %23 ]
  %30 = load ptr, ptr @stderr, align 8, !tbaa !11
  %31 = tail call i32 @fflush(ptr noundef %30)
  tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull %.str.7.sink)
  br label %32

32:                                               ; preds = %.sink.split, %26, %22
  %.sink42 = phi i64 [ 8, %22 ], [ 4, %26 ], [ %.sink42.ph, %.sink.split ]
  %.026 = phi i32 [ 128, %22 ], [ 32, %26 ], [ %.026.ph, %.sink.split ]
  %33 = getelementptr inbounds i8, ptr %1, i64 %.sink42
  %34 = getelementptr inbounds i8, ptr %0, i64 %.sink42
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %spec.select37 = tail call i32 @llvm.smin.i32(i32 %35, i32 %.026)
  %36 = sdiv i32 %spec.select37, 8
  %37 = srem i32 %spec.select37, 8
  %38 = sext i32 %36 to i64
  %bcmp = tail call i32 @bcmp(ptr nonnull %34, ptr nonnull %33, i64 %38)
  %.not34 = icmp eq i32 %bcmp, 0
  br i1 %.not34, label %39, label %.thread

39:                                               ; preds = %32
  %40 = sub nsw i32 8, %37
  %41 = shl nuw nsw i32 255, %40
  %42 = and i32 %41, 255
  %.not35 = icmp eq i32 %42, 0
  br i1 %.not35, label %51, label %43

43:                                               ; preds = %39
  %44 = getelementptr inbounds i8, ptr %33, i64 %38
  %45 = load i8, ptr %44, align 1, !tbaa !16
  %46 = getelementptr inbounds i8, ptr %34, i64 %38
  %47 = load i8, ptr %46, align 1, !tbaa !16
  %48 = xor i8 %47, %45
  %49 = zext i8 %48 to i32
  %50 = and i32 %41, %49
  %.not36 = icmp eq i32 %50, 0
  br i1 %.not36, label %51, label %.thread

.thread:                                          ; preds = %32, %43
  br label %51

51:                                               ; preds = %17, %39, %43, %.thread, %14
  %.2 = phi i1 [ false, %14 ], [ false, %.thread ], [ true, %43 ], [ true, %39 ], [ true, %17 ]
  ret i1 %.2
}

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #3

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

attributes #0 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 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 #3 = { nofree nounwind willreturn memory(argmem: read) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { cold 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, !9, i64 28}
!6 = !{!"_ZTSN3zmq18tcp_address_mask_tE", !7, i64 0, !9, i64 28}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS8sockaddr", !15, i64 0, !7, i64 2}
!15 = !{!"short", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!"branch_weights", !"expected", i32 2000, i32 1}


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