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

; 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::pipe_t" = type { %"class.zmq::object_t.base", [4 x i8], %"class.zmq::array_item_t.base", [4 x i8], %"class.zmq::array_item_t.base.9", [4 x i8], %"class.zmq::array_item_t.base.11", ptr, ptr, i8, i8, i32, i32, i32, i32, i64, i64, i64, ptr, ptr, i32, i8, [3 x i8], %"struct.zmq::blob_t", i32, i8, [3 x i8], %"struct.zmq::endpoint_uri_pair_t" }
%"class.zmq::object_t.base" = type <{ ptr, ptr, i32 }>
%"class.zmq::array_item_t.base" = type <{ ptr, i32 }>
%"class.zmq::array_item_t.base.9" = type <{ ptr, i32 }>
%"class.zmq::array_item_t.base.11" = type <{ ptr, i32 }>
%"struct.zmq::blob_t" = type <{ ptr, i64, i8, [7 x i8] }>
%"struct.zmq::endpoint_uri_pair_t" = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.12 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.12 = type { i64, [8 x i8] }

@_ZTVN3zmq6pipe_tE = external dso_local unnamed_addr constant { [24 x ptr], [4 x ptr], [4 x ptr], [4 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3zmq6pipe_tC2EPNS_8object_tEPNS_12ypipe_base_tINS_5msg_tEEES6_iib(ptr noundef nonnull align 8 dereferenceable(264) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i1 noundef zeroext %6) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  %17 = zext i1 %6 to i8
  store i8 %17, ptr %14, align 1, !tbaa !11
  %18 = load ptr, ptr %8, align 8
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN3zmq8object_tC2EPS0_(ptr noundef nonnull align 8 dereferenceable(20) %18, ptr noundef %19)
  %20 = getelementptr inbounds i8, ptr %18, i64 24
  invoke void @_ZN3zmq12array_item_tILi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %20)
          to label %21 unwind label %59

21:                                               ; preds = %7
  %22 = getelementptr inbounds i8, ptr %18, i64 40
  invoke void @_ZN3zmq12array_item_tILi2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %22)
          to label %23 unwind label %63

23:                                               ; preds = %21
  %24 = getelementptr inbounds i8, ptr %18, i64 56
  invoke void @_ZN3zmq12array_item_tILi3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %24)
          to label %25 unwind label %67

25:                                               ; preds = %23
  store ptr getelementptr inbounds inrange(-16, 176) ({ [24 x ptr], [4 x ptr], [4 x ptr], [4 x ptr] }, ptr @_ZTVN3zmq6pipe_tE, i32 0, i32 0, i32 2), ptr %18, align 8, !tbaa !13
  %26 = getelementptr inbounds i8, ptr %18, i64 24
  store ptr getelementptr inbounds inrange(-16, 16) ({ [24 x ptr], [4 x ptr], [4 x ptr], [4 x ptr] }, ptr @_ZTVN3zmq6pipe_tE, i32 0, i32 1, i32 2), ptr %26, align 8, !tbaa !13
  %27 = getelementptr inbounds i8, ptr %18, i64 40
  store ptr getelementptr inbounds inrange(-16, 16) ({ [24 x ptr], [4 x ptr], [4 x ptr], [4 x ptr] }, ptr @_ZTVN3zmq6pipe_tE, i32 0, i32 2, i32 2), ptr %27, align 8, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %18, i64 56
  store ptr getelementptr inbounds inrange(-16, 16) ({ [24 x ptr], [4 x ptr], [4 x ptr], [4 x ptr] }, ptr @_ZTVN3zmq6pipe_tE, i32 0, i32 3, i32 2), ptr %28, align 8, !tbaa !13
  %29 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 7
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %30, ptr %29, align 8, !tbaa !15
  %31 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 8
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %32, ptr %31, align 8, !tbaa !28
  %33 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 9
  store i8 1, ptr %33, align 8, !tbaa !29
  %34 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 10
  store i8 1, ptr %34, align 1, !tbaa !30
  %35 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 11
  %36 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %36, ptr %35, align 4, !tbaa !31
  %37 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 12
  %38 = load i32, ptr %12, align 4, !tbaa !9
  %39 = invoke noundef i32 @_ZN3zmq6pipe_t11compute_lwmEi(i32 noundef %38)
          to label %40 unwind label %71

40:                                               ; preds = %25
  store i32 %39, ptr %37, align 8, !tbaa !32
  %41 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 13
  store i32 -1, ptr %41, align 4, !tbaa !33
  %42 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 14
  store i32 -1, ptr %42, align 8, !tbaa !34
  %43 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 15
  store i64 0, ptr %43, align 8, !tbaa !35
  %44 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 16
  store i64 0, ptr %44, align 8, !tbaa !36
  %45 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 17
  store i64 0, ptr %45, align 8, !tbaa !37
  %46 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 18
  store ptr null, ptr %46, align 8, !tbaa !38
  %47 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 19
  store ptr null, ptr %47, align 8, !tbaa !39
  %48 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 20
  store i32 0, ptr %48, align 8, !tbaa !40
  %49 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 21
  store i8 1, ptr %49, align 4, !tbaa !41
  %50 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 23
  invoke void @_ZN3zmq6blob_tC2Ev(ptr noundef nonnull align 8 dereferenceable(17) %50)
          to label %51 unwind label %71

51:                                               ; preds = %40
  %52 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 24
  store i32 0, ptr %52, align 8, !tbaa !42
  %53 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 25
  %54 = load i8, ptr %14, align 1, !tbaa !11, !range !43, !noundef !44
  %55 = trunc i8 %54 to i1
  %56 = zext i1 %55 to i8
  store i8 %56, ptr %53, align 4, !tbaa !45
  %57 = getelementptr inbounds %"class.zmq::pipe_t", ptr %18, i32 0, i32 27
  invoke void @_ZN3zmq19endpoint_uri_pair_tC2Ev(ptr noundef nonnull align 8 dereferenceable(68) %57)
          to label %58 unwind label %75

58:                                               ; preds = %51
  ret void

59:                                               ; preds = %7
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %15, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %16, align 4
  br label %85

63:                                               ; preds = %21
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %15, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %16, align 4
  br label %83

67:                                               ; preds = %23
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %15, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %16, align 4
  br label %81

71:                                               ; preds = %40, %25
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %15, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %16, align 4
  br label %79

75:                                               ; preds = %51
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %15, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %16, align 4
  call void @_ZN3zmq6blob_tD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %50) #5
  br label %79

79:                                               ; preds = %75, %71
  %80 = getelementptr inbounds i8, ptr %18, i64 56
  call void @_ZN3zmq12array_item_tILi3EED2Ev(ptr noundef nonnull align 8 dereferenceable(12) %80) #5
  br label %81

81:                                               ; preds = %79, %67
  %82 = getelementptr inbounds i8, ptr %18, i64 40
  call void @_ZN3zmq12array_item_tILi2EED2Ev(ptr noundef nonnull align 8 dereferenceable(12) %82) #5
  br label %83

83:                                               ; preds = %81, %63
  %84 = getelementptr inbounds i8, ptr %18, i64 24
  call void @_ZN3zmq12array_item_tILi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(12) %84) #5
  br label %85

85:                                               ; preds = %83, %59
  call void @_ZN3zmq8object_tD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %18) #5
  br label %86

86:                                               ; preds = %85
  %87 = load ptr, ptr %15, align 8
  %88 = load i32, ptr %16, align 4
  %89 = insertvalue { ptr, i32 } poison, ptr %87, 0
  %90 = insertvalue { ptr, i32 } %89, i32 %88, 1
  resume { ptr, i32 } %90
}

declare void @_ZN3zmq8object_tC2EPS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3zmq6pipe_t11compute_lwmEi(i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq6blob_tC2Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq19endpoint_uri_pair_tC2Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq6blob_tD2Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN3zmq8object_tD2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi1EED2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi2EED2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi3EED2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

attributes #0 = { 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 #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 = { inlinehint mustprogress 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 #3 = { mustprogress 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 #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 = { 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 = !{!"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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !6, i64 72}
!16 = !{!"_ZTSN3zmq6pipe_tE", !17, i64 0, !18, i64 24, !19, i64 40, !20, i64 56, !6, i64 72, !6, i64 80, !12, i64 88, !12, i64 89, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !21, i64 112, !21, i64 120, !21, i64 128, !6, i64 136, !6, i64 144, !22, i64 152, !12, i64 156, !23, i64 160, !10, i64 184, !12, i64 188, !24, i64 192}
!17 = !{!"_ZTSN3zmq8object_tE", !6, i64 8, !10, i64 16}
!18 = !{!"_ZTSN3zmq12array_item_tILi1EEE", !10, i64 8}
!19 = !{!"_ZTSN3zmq12array_item_tILi2EEE", !10, i64 8}
!20 = !{!"_ZTSN3zmq12array_item_tILi3EEE", !10, i64 8}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSN3zmq6pipe_tUt_E", !7, i64 0}
!23 = !{!"_ZTSN3zmq6blob_tE", !6, i64 0, !21, i64 8, !12, i64 16}
!24 = !{!"_ZTSN3zmq19endpoint_uri_pair_tE", !25, i64 0, !25, i64 32, !27, i64 64}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !21, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!27 = !{!"_ZTSN3zmq15endpoint_type_tE", !7, i64 0}
!28 = !{!16, !6, i64 80}
!29 = !{!16, !12, i64 88}
!30 = !{!16, !12, i64 89}
!31 = !{!16, !10, i64 92}
!32 = !{!16, !10, i64 96}
!33 = !{!16, !10, i64 100}
!34 = !{!16, !10, i64 104}
!35 = !{!16, !21, i64 112}
!36 = !{!16, !21, i64 120}
!37 = !{!16, !21, i64 128}
!38 = !{!16, !6, i64 136}
!39 = !{!16, !6, i64 144}
!40 = !{!16, !22, i64 152}
!41 = !{!16, !12, i64 156}
!42 = !{!16, !10, i64 184}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!16, !12, i64 188}


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

@_ZTVN3zmq6pipe_tE = external dso_local unnamed_addr constant { [24 x ptr], [4 x ptr], [4 x ptr], [4 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3zmq6pipe_tC2EPNS_8object_tEPNS_12ypipe_base_tINS_5msg_tEEES6_iib(ptr noundef nonnull align 8 dereferenceable(264) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i1 noundef zeroext %6) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %8 = zext i1 %6 to i8
  tail call void @_ZN3zmq8object_tC2EPS0_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef %1)
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN3zmq12array_item_tILi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %9)
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN3zmq12array_item_tILi2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %10)
  %11 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZN3zmq12array_item_tILi3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12) %11)
  store ptr getelementptr inbounds inrange(-16, 176) (i8, ptr @_ZTVN3zmq6pipe_tE, i64 16), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN3zmq6pipe_tE, i64 208), ptr %9, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN3zmq6pipe_tE, i64 240), ptr %10, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN3zmq6pipe_tE, i64 272), ptr %11, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %2, ptr %12, align 8, !tbaa !8
  %13 = getelementptr inbounds i8, ptr %0, i64 80
  store ptr %3, ptr %13, align 8, !tbaa !25
  %14 = getelementptr inbounds i8, ptr %0, i64 88
  store i8 1, ptr %14, align 8, !tbaa !26
  %15 = getelementptr inbounds i8, ptr %0, i64 89
  store i8 1, ptr %15, align 1, !tbaa !27
  %16 = getelementptr inbounds i8, ptr %0, i64 92
  store i32 %5, ptr %16, align 4, !tbaa !28
  %17 = getelementptr inbounds i8, ptr %0, i64 96
  %18 = tail call noundef i32 @_ZN3zmq6pipe_t11compute_lwmEi(i32 noundef %4)
  store i32 %18, ptr %17, align 8, !tbaa !29
  %19 = getelementptr inbounds i8, ptr %0, i64 100
  store i32 -1, ptr %19, align 4, !tbaa !30
  %20 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 -1, ptr %20, align 8, !tbaa !31
  %21 = getelementptr inbounds i8, ptr %0, i64 112
  %22 = getelementptr inbounds i8, ptr %0, i64 156
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(44) %21, i8 0, i64 44, i1 false)
  store i8 1, ptr %22, align 4, !tbaa !32
  %23 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @_ZN3zmq6blob_tC2Ev(ptr noundef nonnull align 8 dereferenceable(17) %23)
  %24 = getelementptr inbounds i8, ptr %0, i64 184
  store i32 0, ptr %24, align 8, !tbaa !33
  %25 = getelementptr inbounds i8, ptr %0, i64 188
  store i8 %8, ptr %25, align 4, !tbaa !34
  %26 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZN3zmq19endpoint_uri_pair_tC2Ev(ptr noundef nonnull align 8 dereferenceable(68) %26)
  ret void
}

declare void @_ZN3zmq8object_tC2EPS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq12array_item_tILi3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3zmq6pipe_t11compute_lwmEi(i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq6blob_tC2Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3zmq19endpoint_uri_pair_tC2Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #3 align 2

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

attributes #0 = { 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 #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 = { inlinehint mustprogress 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 #3 = { mustprogress 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 72}
!9 = !{!"_ZTSN3zmq6pipe_tE", !10, i64 0, !14, i64 24, !15, i64 40, !16, i64 56, !11, i64 72, !11, i64 80, !17, i64 88, !17, i64 89, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !11, i64 136, !11, i64 144, !19, i64 152, !17, i64 156, !20, i64 160, !13, i64 184, !17, i64 188, !21, i64 192}
!10 = !{!"_ZTSN3zmq8object_tE", !11, i64 8, !13, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"int", !12, i64 0}
!14 = !{!"_ZTSN3zmq12array_item_tILi1EEE", !13, i64 8}
!15 = !{!"_ZTSN3zmq12array_item_tILi2EEE", !13, i64 8}
!16 = !{!"_ZTSN3zmq12array_item_tILi3EEE", !13, i64 8}
!17 = !{!"bool", !12, i64 0}
!18 = !{!"long", !12, i64 0}
!19 = !{!"_ZTSN3zmq6pipe_tUt_E", !12, i64 0}
!20 = !{!"_ZTSN3zmq6blob_tE", !11, i64 0, !18, i64 8, !17, i64 16}
!21 = !{!"_ZTSN3zmq19endpoint_uri_pair_tE", !22, i64 0, !22, i64 32, !24, i64 64}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !18, i64 8, !12, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!24 = !{!"_ZTSN3zmq15endpoint_type_tE", !12, i64 0}
!25 = !{!9, !11, i64 80}
!26 = !{!9, !17, i64 88}
!27 = !{!9, !17, i64 89}
!28 = !{!9, !13, i64 92}
!29 = !{!9, !13, i64 96}
!30 = !{!9, !13, i64 100}
!31 = !{!9, !13, i64 104}
!32 = !{!9, !17, i64 156}
!33 = !{!9, !13, i64 184}
!34 = !{!9, !17, i64 188}


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