; LLVM IR from yinqiwen/ardb :: src/common/util (network_helper)

; 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.ardb::SocketHostAddress" = type <{ %"class.ardb::Address", %"class.std::__cxx11::basic_string", i16, [6 x i8] }>
%"class.ardb::Address" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.ifconf = type { i32, %union.anon.1 }
%union.anon.1 = type { ptr }
%struct.ifreq = type { %union.anon.2, %union.anon.3 }
%union.anon.2 = type { [16 x i8] }
%union.anon.3 = type { %struct.ifmap }
%struct.ifmap = type { i64, i64, i16, i8, i8, i8 }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketHostAddress7GetHostB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(42)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ardb16get_host_addressERK8sockaddr(ptr dead_on_unwind noalias writable sret(%"class.ardb::SocketHostAddress") align 8, ptr noundef nonnull align 2 dereferenceable(16)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb17SocketHostAddressD2Ev(ptr noundef nonnull align 8 dereferenceable(42)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4ardb18get_ip_by_nic_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.ifconf, align 8
  %9 = alloca [16 x %struct.ifreq], align 16
  %10 = alloca i32, align 4
  %11 = alloca %"class.ardb::SocketHostAddress", align 8
  %12 = alloca ptr, align 8
  %13 = 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 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 640, ptr %9) #6
  %14 = call i32 @socket(i32 noundef 2, i32 noundef 2, i32 noundef 0) #6
  store i32 %14, ptr %6, align 4, !tbaa !9
  %15 = icmp eq i32 -1, %14
  br i1 %15, label %16, label %17

16:                                               ; preds = %2
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %76

17:                                               ; preds = %2
  %18 = getelementptr inbounds %struct.ifconf, ptr %8, i32 0, i32 0
  store i32 640, ptr %18, align 8, !tbaa !11
  %19 = getelementptr inbounds [16 x %struct.ifreq], ptr %9, i64 0, i64 0
  %20 = getelementptr inbounds %struct.ifconf, ptr %8, i32 0, i32 1
  store ptr %19, ptr %20, align 8, !tbaa !13
  %21 = load i32, ptr %6, align 4, !tbaa !9
  %22 = call i32 (i32, i64, ...) @ioctl(i32 noundef %21, i64 noundef 35090, ptr noundef %8) #6
  %23 = icmp eq i32 -1, %22
  br i1 %23, label %24, label %27

24:                                               ; preds = %17
  %25 = load i32, ptr %6, align 4, !tbaa !9
  %26 = call i32 @close(i32 noundef %25)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %76

27:                                               ; preds = %17
  %28 = getelementptr inbounds %struct.ifconf, ptr %8, i32 0, i32 0
  %29 = load i32, ptr %28, align 8, !tbaa !11
  %30 = sext i32 %29 to i64
  %31 = udiv i64 %30, 40
  %32 = trunc i64 %31 to i32
  store i32 %32, ptr %7, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %72, %44, %27
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = add nsw i32 %34, -1
  store i32 %35, ptr %7, align 4, !tbaa !9
  %36 = icmp sgt i32 %34, 0
  br i1 %36, label %37, label %73

37:                                               ; preds = %33
  %38 = load i32, ptr %6, align 4, !tbaa !9
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [16 x %struct.ifreq], ptr %9, i64 0, i64 %40
  %42 = call i32 (i32, i64, ...) @ioctl(i32 noundef %38, i64 noundef 35093, ptr noundef %41) #6
  %43 = icmp eq i32 -1, %42
  br i1 %43, label %44, label %45

44:                                               ; preds = %37
  br label %33, !llvm.loop !14

45:                                               ; preds = %37
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %46) #6
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [16 x %struct.ifreq], ptr %9, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.ifreq, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds [16 x i8], ptr %51, i64 0, i64 0
  %53 = call i32 @strcmp(ptr noundef %47, ptr noundef %52) #7
  %54 = icmp eq i32 0, %53
  br i1 %54, label %55, label %72

55:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #6
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [16 x %struct.ifreq], ptr %9, i64 0, i64 %57
  %59 = getelementptr inbounds %struct.ifreq, ptr %58, i32 0, i32 1
  call void @_ZN4ardb16get_host_addressERK8sockaddr(ptr dead_on_unwind writable sret(%"class.ardb::SocketHostAddress") align 8 %11, ptr noundef nonnull align 2 dereferenceable(16) %59)
  %60 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketHostAddress7GetHostB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(42) %11)
          to label %61 unwind label %68

61:                                               ; preds = %55
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(32) %60)
          to label %64 unwind label %68

64:                                               ; preds = %61
  %65 = load i32, ptr %6, align 4, !tbaa !9
  %66 = invoke i32 @close(i32 noundef %65)
          to label %67 unwind label %68

67:                                               ; preds = %64
  store i32 0, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZN4ardb17SocketHostAddressD2Ev(ptr noundef nonnull align 8 dereferenceable(42) %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #6
  br label %76

68:                                               ; preds = %64, %61, %55
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %12, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %13, align 4
  call void @_ZN4ardb17SocketHostAddressD2Ev(ptr noundef nonnull align 8 dereferenceable(42) %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 640, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %78

72:                                               ; preds = %45
  br label %33, !llvm.loop !14

73:                                               ; preds = %33
  %74 = load i32, ptr %6, align 4, !tbaa !9
  %75 = call i32 @close(i32 noundef %74)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %76

76:                                               ; preds = %73, %67, %24, %16
  call void @llvm.lifetime.end.p0(i64 640, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %77 = load i32, ptr %3, align 4
  ret i32 %77

78:                                               ; preds = %68
  %79 = load ptr, ptr %12, align 8
  %80 = load i32, ptr %13, align 4
  %81 = insertvalue { ptr, i32 } poison, ptr %79, 0
  %82 = insertvalue { ptr, i32 } %81, i32 %80, 1
  resume { ptr, i32 } %82
}

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

; Function Attrs: nounwind
declare i32 @ioctl(i32 noundef, i64 noundef, ...) #3

declare i32 @close(i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { "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 0}
!12 = !{!"_ZTS6ifconf", !10, i64 0, !7, i64 8}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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

%"class.ardb::SocketHostAddress" = type <{ %"class.ardb::Address", %"class.std::__cxx11::basic_string", i16, [6 x i8] }>
%"class.ardb::Address" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.ifconf = type { i32, %union.anon.1 }
%union.anon.1 = type { ptr }
%struct.ifreq = type { %union.anon.2, %union.anon.3 }
%union.anon.2 = type { [16 x i8] }
%union.anon.3 = type { %struct.ifmap }
%struct.ifmap = type { i64, i64, i16, i8, i8, i8 }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketHostAddress7GetHostB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(42)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4ardb16get_host_addressERK8sockaddr(ptr dead_on_unwind noalias writable sret(%"class.ardb::SocketHostAddress") align 8, ptr noundef nonnull align 2 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4ardb17SocketHostAddressD2Ev(ptr noundef nonnull align 8 dereferenceable(42)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 -1, 1) i32 @_ZN4ardb18get_ip_by_nic_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS5_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.ifconf, align 8
  %4 = alloca [16 x %struct.ifreq], align 16
  %5 = alloca %"class.ardb::SocketHostAddress", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 640, ptr nonnull %4) #6
  %6 = tail call i32 @socket(i32 noundef 2, i32 noundef 2, i32 noundef 0) #6
  %7 = icmp eq i32 %6, -1
  br i1 %7, label %39, label %8

8:                                                ; preds = %2
  store i32 640, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %3, i64 8
  store ptr %4, ptr %9, align 8, !tbaa !10
  %10 = call i32 (i32, i64, ...) @ioctl(i32 noundef %6, i64 noundef 35090, ptr noundef nonnull %3) #6
  %11 = icmp eq i32 %10, -1
  br i1 %11, label %12, label %14

12:                                               ; preds = %8
  %13 = call i32 @close(i32 noundef %6)
  br label %39

14:                                               ; preds = %8
  %15 = load i32, ptr %3, align 8, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = udiv i64 %16, 40
  %18 = trunc i64 %17 to i32
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %14
  %20 = and i64 %17, 2147483647
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.backedge
  %indvars.iv = phi i64 [ %20, %.lr.ph.preheader ], [ %indvars.iv.next, %.backedge ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %21 = getelementptr inbounds [16 x %struct.ifreq], ptr %4, i64 0, i64 %indvars.iv.next
  %22 = call i32 (i32, i64, ...) @ioctl(i32 noundef %6, i64 noundef 35093, ptr noundef nonnull %21) #6
  %23 = icmp eq i32 %22, -1
  br i1 %23, label %.backedge, label %25

.backedge:                                        ; preds = %.lr.ph, %25
  %24 = icmp ugt i64 %indvars.iv, 1
  br i1 %24, label %.lr.ph, label %._crit_edge, !llvm.loop !11

25:                                               ; preds = %.lr.ph
  %26 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  %27 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %26, ptr noundef nonnull dereferenceable(1) %21) #7
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %.backedge

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #6
  %30 = getelementptr inbounds i8, ptr %21, i64 16
  call void @_ZN4ardb16get_host_addressERK8sockaddr(ptr dead_on_unwind nonnull writable sret(%"class.ardb::SocketHostAddress") align 8 %5, ptr noundef nonnull align 2 dereferenceable(16) %30)
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK4ardb17SocketHostAddress7GetHostB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(42) %5)
  %32 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %33 unwind label %36

33:                                               ; preds = %29
  %34 = invoke i32 @close(i32 noundef %6)
          to label %35 unwind label %36

35:                                               ; preds = %33
  call void @_ZN4ardb17SocketHostAddressD2Ev(ptr noundef nonnull align 8 dereferenceable(42) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  br label %39

36:                                               ; preds = %33, %29
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ardb17SocketHostAddressD2Ev(ptr noundef nonnull align 8 dereferenceable(42) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 640, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  resume { ptr, i32 } %37

._crit_edge:                                      ; preds = %.backedge, %14
  %38 = call i32 @close(i32 noundef %6)
  br label %39

39:                                               ; preds = %2, %._crit_edge, %35, %12
  %.0 = phi i32 [ -1, %12 ], [ 0, %35 ], [ -1, %._crit_edge ], [ -1, %2 ]
  call void @llvm.lifetime.end.p0(i64 640, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret i32 %.0
}

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

; Function Attrs: nounwind
declare i32 @ioctl(i32 noundef, i64 noundef, ...) local_unnamed_addr #3

declare i32 @close(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { "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: 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, !7, i64 0}
!6 = !{!"_ZTS6ifconf", !7, i64 0, !8, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass