; LLVM IR from fritzsedlazeck/SURVIVOR :: src/simulator/Eval_vcf.ll (Z18match_coords_paper8strsimul11strvcfentryi)

; 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.strsimul = type <{ %struct.strcoordinate, %struct.strcoordinate, i16, i8, i8, [4 x i8] }>
%struct.strcoordinate = type { i32, %"class.std::__cxx11::basic_string" }
%"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.strvcfentry = type <{ %"class.std::__cxx11::basic_string", %struct.strcoordinate, %struct.strcoordinate, i16, [6 x i8], %"class.std::map", i32, i32, %"class.std::vector.7", %"struct.std::pair", [2 x i8], %"struct.std::pair.12", [4 x i8], %"class.std::__cxx11::basic_string", i32, [4 x i8], %"class.std::__cxx11::basic_string", double, %"class.std::__cxx11::basic_string", i32, [4 x i8], %"struct.std::pair.14", %"struct.std::pair.12", %"struct.std::pair.12", i32, [4 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i8, i8 }
%"struct.std::pair.14" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"struct.std::pair.12" = type { i32, i32 }

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_Z18match_coords_paper8strsimul11strvcfentryi(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  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
  %8 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 0
  %9 = getelementptr inbounds %struct.strcoordinate, ptr %8, i32 0, i32 1
  %10 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #3
  %11 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 1
  %12 = getelementptr inbounds %struct.strcoordinate, ptr %11, i32 0, i32 1
  %13 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #3
  %14 = call i32 @strcmp(ptr noundef %10, ptr noundef %13) #4
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %60

16:                                               ; preds = %3
  %17 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 0
  %18 = getelementptr inbounds %struct.strcoordinate, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8, !tbaa !11
  %20 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 1
  %21 = getelementptr inbounds %struct.strcoordinate, ptr %20, i32 0, i32 0
  %22 = load i32, ptr %21, align 8, !tbaa !19
  %23 = sub nsw i32 %19, %22
  %24 = call i32 @llvm.abs.i32(i32 %23, i1 true)
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = icmp slt i32 %24, %25
  br i1 %26, label %27, label %60

27:                                               ; preds = %16
  %28 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 2
  %29 = load i16, ptr %28, align 8, !tbaa !37
  %30 = sext i16 %29 to i32
  %31 = icmp eq i32 %30, 4
  br i1 %31, label %37, label %32

32:                                               ; preds = %27
  %33 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 2
  %34 = load i16, ptr %33, align 8, !tbaa !37
  %35 = sext i16 %34 to i32
  %36 = icmp eq i32 %35, 3
  br i1 %36, label %37, label %38

37:                                               ; preds = %32, %27
  store i1 true, ptr %4, align 1
  br label %115

38:                                               ; preds = %32
  %39 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 1
  %40 = getelementptr inbounds %struct.strcoordinate, ptr %39, i32 0, i32 1
  %41 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %40) #3
  %42 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 2
  %43 = getelementptr inbounds %struct.strcoordinate, ptr %42, i32 0, i32 1
  %44 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %43) #3
  %45 = call i32 @strcmp(ptr noundef %41, ptr noundef %44) #4
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %58

47:                                               ; preds = %38
  %48 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 1
  %49 = getelementptr inbounds %struct.strcoordinate, ptr %48, i32 0, i32 0
  %50 = load i32, ptr %49, align 8, !tbaa !38
  %51 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 2
  %52 = getelementptr inbounds %struct.strcoordinate, ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !39
  %54 = sub nsw i32 %50, %53
  %55 = call i32 @llvm.abs.i32(i32 %54, i1 true)
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = icmp slt i32 %55, %56
  br label %58

58:                                               ; preds = %47, %38
  %59 = phi i1 [ false, %38 ], [ %57, %47 ]
  store i1 %59, ptr %4, align 1
  br label %115

60:                                               ; preds = %16, %3
  %61 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 1
  %62 = getelementptr inbounds %struct.strcoordinate, ptr %61, i32 0, i32 1
  %63 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %62) #3
  %64 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 1
  %65 = getelementptr inbounds %struct.strcoordinate, ptr %64, i32 0, i32 1
  %66 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %65) #3
  %67 = call i32 @strcmp(ptr noundef %63, ptr noundef %66) #4
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %113

69:                                               ; preds = %60
  %70 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 1
  %71 = getelementptr inbounds %struct.strcoordinate, ptr %70, i32 0, i32 0
  %72 = load i32, ptr %71, align 8, !tbaa !38
  %73 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 1
  %74 = getelementptr inbounds %struct.strcoordinate, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !19
  %76 = sub nsw i32 %72, %75
  %77 = call i32 @llvm.abs.i32(i32 %76, i1 true)
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %80, label %113

80:                                               ; preds = %69
  %81 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 2
  %82 = load i16, ptr %81, align 8, !tbaa !37
  %83 = sext i16 %82 to i32
  %84 = icmp eq i32 %83, 4
  br i1 %84, label %90, label %85

85:                                               ; preds = %80
  %86 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 2
  %87 = load i16, ptr %86, align 8, !tbaa !37
  %88 = sext i16 %87 to i32
  %89 = icmp eq i32 %88, 3
  br i1 %89, label %90, label %91

90:                                               ; preds = %85, %80
  store i1 true, ptr %4, align 1
  br label %115

91:                                               ; preds = %85
  %92 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 0
  %93 = getelementptr inbounds %struct.strcoordinate, ptr %92, i32 0, i32 1
  %94 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %93) #3
  %95 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 2
  %96 = getelementptr inbounds %struct.strcoordinate, ptr %95, i32 0, i32 1
  %97 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %96) #3
  %98 = call i32 @strcmp(ptr noundef %94, ptr noundef %97) #4
  %99 = icmp eq i32 %98, 0
  br i1 %99, label %100, label %111

100:                                              ; preds = %91
  %101 = getelementptr inbounds %struct.strsimul, ptr %0, i32 0, i32 0
  %102 = getelementptr inbounds %struct.strcoordinate, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 8, !tbaa !11
  %104 = getelementptr inbounds %struct.strvcfentry, ptr %1, i32 0, i32 2
  %105 = getelementptr inbounds %struct.strcoordinate, ptr %104, i32 0, i32 0
  %106 = load i32, ptr %105, align 8, !tbaa !39
  %107 = sub nsw i32 %103, %106
  %108 = call i32 @llvm.abs.i32(i32 %107, i1 true)
  %109 = load i32, ptr %7, align 4, !tbaa !9
  %110 = icmp slt i32 %108, %109
  br label %111

111:                                              ; preds = %100, %91
  %112 = phi i1 [ false, %91 ], [ %110, %100 ]
  store i1 %112, ptr %4, align 1
  br label %115

113:                                              ; preds = %69, %60
  br label %114

114:                                              ; preds = %113
  store i1 false, ptr %4, align 1
  br label %115

115:                                              ; preds = %114, %111, %90, %58, %37
  %116 = load i1, ptr %4, align 1
  ret i1 %116
}

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
attributes #4 = { 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 = !{!"_ZTS8strsimul", !13, i64 0, !13, i64 40, !17, i64 80, !18, i64 82, !18, i64 83}
!13 = !{!"_ZTS13strcoordinate", !10, i64 0, !14, i64 8}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!20, !10, i64 32}
!20 = !{!"_ZTS11strvcfentry", !14, i64 0, !13, i64 32, !13, i64 72, !17, i64 112, !21, i64 120, !10, i64 168, !10, i64 172, !29, i64 176, !33, i64 200, !34, i64 204, !14, i64 216, !10, i64 248, !14, i64 256, !35, i64 288, !14, i64 296, !10, i64 328, !36, i64 336, !34, i64 400, !34, i64 408, !10, i64 416}
!21 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !16, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!29 = !{!"_ZTSSt6vectorIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt4pairIbbE", !18, i64 0, !18, i64 1}
!34 = !{!"_ZTSSt4pairIiiE", !10, i64 0, !10, i64 4}
!35 = !{!"double", !7, i64 0}
!36 = !{!"_ZTSSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_E", !14, i64 0, !14, i64 32}
!37 = !{!12, !17, i64 80}
!38 = !{!12, !10, i64 40}
!39 = !{!20, !10, i64 72}


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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_Z18match_coords_paper8strsimul11strvcfentryi(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  %6 = getelementptr inbounds i8, ptr %1, i64 32
  %7 = getelementptr inbounds i8, ptr %1, i64 40
  %8 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #3
  %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %8) #4
  %10 = icmp eq i32 %9, 0
  br i1 %10, label %11, label %29

11:                                               ; preds = %3
  %12 = load i32, ptr %0, align 8, !tbaa !5
  %13 = load i32, ptr %6, align 8, !tbaa !17
  %14 = sub nsw i32 %12, %13
  %15 = tail call i32 @llvm.abs.i32(i32 %14, i1 true)
  %16 = icmp slt i32 %15, %2
  br i1 %16, label %17, label %29

17:                                               ; preds = %11
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  %19 = load i16, ptr %18, align 8, !tbaa !35
  %.off = add i16 %19, -3
  %switch = icmp ult i16 %.off, 2
  br i1 %switch, label %56, label %20

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %0, i64 48
  %22 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #3
  %23 = getelementptr inbounds i8, ptr %1, i64 80
  %24 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #3
  %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %22, ptr noundef nonnull dereferenceable(1) %24) #4
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %56

27:                                               ; preds = %20
  %28 = getelementptr inbounds i8, ptr %0, i64 40
  br label %.sink.split

29:                                               ; preds = %11, %3
  %30 = getelementptr inbounds i8, ptr %0, i64 48
  %31 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %30) #3
  %32 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #3
  %33 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %31, ptr noundef nonnull dereferenceable(1) %32) #4
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %56

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %0, i64 40
  %37 = load i32, ptr %36, align 8, !tbaa !36
  %38 = load i32, ptr %6, align 8, !tbaa !17
  %39 = sub nsw i32 %37, %38
  %40 = tail call i32 @llvm.abs.i32(i32 %39, i1 true)
  %41 = icmp slt i32 %40, %2
  br i1 %41, label %42, label %56

42:                                               ; preds = %35
  %43 = getelementptr inbounds i8, ptr %0, i64 80
  %44 = load i16, ptr %43, align 8, !tbaa !35
  %.off7 = add i16 %44, -3
  %switch8 = icmp ult i16 %.off7, 2
  br i1 %switch8, label %56, label %45

45:                                               ; preds = %42
  %46 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  %47 = getelementptr inbounds i8, ptr %1, i64 80
  %48 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %47) #3
  %49 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %46, ptr noundef nonnull dereferenceable(1) %48) #4
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %.sink.split, label %56

.sink.split:                                      ; preds = %45, %27
  %.sink12 = phi ptr [ %28, %27 ], [ %0, %45 ]
  %.sink11 = getelementptr inbounds i8, ptr %1, i64 72
  %51 = load i32, ptr %.sink12, align 8, !tbaa !37
  %52 = load i32, ptr %.sink11, align 8, !tbaa !38
  %53 = sub nsw i32 %51, %52
  %54 = tail call i32 @llvm.abs.i32(i32 %53, i1 true)
  %55 = icmp ult i32 %54, %2
  br label %56

56:                                               ; preds = %.sink.split, %42, %17, %35, %29, %45, %20
  %.0 = phi i1 [ true, %17 ], [ false, %20 ], [ true, %42 ], [ false, %45 ], [ false, %29 ], [ false, %35 ], [ %55, %.sink.split ]
  ret i1 %.0
}

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
attributes #4 = { 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, !8, i64 0}
!6 = !{!"_ZTS8strsimul", !7, i64 0, !7, i64 40, !15, i64 80, !16, i64 82, !16, i64 83}
!7 = !{!"_ZTS13strcoordinate", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !14, i64 8, !9, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!"short", !9, i64 0}
!16 = !{!"bool", !9, i64 0}
!17 = !{!18, !8, i64 32}
!18 = !{!"_ZTS11strvcfentry", !11, i64 0, !7, i64 32, !7, i64 72, !15, i64 112, !19, i64 120, !8, i64 168, !8, i64 172, !27, i64 176, !31, i64 200, !32, i64 204, !11, i64 216, !8, i64 248, !11, i64 256, !33, i64 288, !11, i64 296, !8, i64 328, !34, i64 336, !32, i64 400, !32, i64 408, !8, i64 416}
!19 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEE", !20, i64 0}
!20 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !21, i64 0}
!21 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !22, i64 0, !24, i64 8}
!22 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !23, i64 0}
!23 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!24 = !{!"_ZTSSt15_Rb_tree_header", !25, i64 0, !14, i64 32}
!25 = !{!"_ZTSSt18_Rb_tree_node_base", !26, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!26 = !{!"_ZTSSt14_Rb_tree_color", !9, i64 0}
!27 = !{!"_ZTSSt6vectorIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!31 = !{!"_ZTSSt4pairIbbE", !16, i64 0, !16, i64 1}
!32 = !{!"_ZTSSt4pairIiiE", !8, i64 0, !8, i64 4}
!33 = !{!"double", !9, i64 0}
!34 = !{!"_ZTSSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_E", !11, i64 0, !11, i64 32}
!35 = !{!6, !15, i64 80}
!36 = !{!6, !8, i64 40}
!37 = !{!8, !8, i64 0}
!38 = !{!18, !8, i64 72}


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