; LLVM IR from pupnp/pupnp :: ixml/src (element)

; 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._IXML_ATTR = type { %struct._IXML_Node, i32, ptr }
%struct._IXML_Node = type { ptr, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._IXML_Element = type { %struct._IXML_Node, ptr }

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @ixmlElement_setAttributeNodeNS(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store ptr null, ptr %13, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %20, label %17

17:                                               ; preds = %3
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = icmp eq ptr %18, null
  br i1 %19, label %20, label %21

20:                                               ; preds = %17, %3
  store i32 105, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %160

21:                                               ; preds = %17
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct._IXML_ATTR, ptr %22, i32 0, i32 0
  %24 = getelementptr inbounds %struct._IXML_Node, ptr %23, i32 0, i32 12
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._IXML_Element, ptr %26, i32 0, i32 0
  %28 = getelementptr inbounds %struct._IXML_Node, ptr %27, i32 0, i32 12
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = icmp ne ptr %25, %29
  br i1 %30, label %31, label %32

31:                                               ; preds = %21
  store i32 4, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %160

32:                                               ; preds = %21
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct._IXML_ATTR, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !15
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %44

37:                                               ; preds = %32
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._IXML_ATTR, ptr %38, i32 0, i32 2
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = icmp ne ptr %40, %41
  br i1 %42, label %43, label %44

43:                                               ; preds = %37
  store i32 10, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %160

44:                                               ; preds = %37, %32
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._IXML_ATTR, ptr %46, i32 0, i32 2
  store ptr %45, ptr %47, align 8, !tbaa !15
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %48, ptr %9, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._IXML_Element, ptr %49, i32 0, i32 0
  %51 = getelementptr inbounds %struct._IXML_Node, ptr %50, i32 0, i32 11
  %52 = load ptr, ptr %51, align 8, !tbaa !16
  store ptr %52, ptr %8, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %79, %44
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %80

56:                                               ; preds = %53
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct._IXML_Node, ptr %57, i32 0, i32 5
  %59 = load ptr, ptr %58, align 8, !tbaa !17
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._IXML_Node, ptr %60, i32 0, i32 5
  %62 = load ptr, ptr %61, align 8, !tbaa !17
  %63 = call i32 @strcmp(ptr noundef %59, ptr noundef %62) #4
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %75

65:                                               ; preds = %56
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._IXML_Node, ptr %66, i32 0, i32 3
  %68 = load ptr, ptr %67, align 8, !tbaa !18
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IXML_Node, ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !18
  %72 = call i32 @strcmp(ptr noundef %68, ptr noundef %71) #4
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %65
  br label %80

75:                                               ; preds = %65, %56
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._IXML_Node, ptr %76, i32 0, i32 10
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  store ptr %78, ptr %8, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %75
  br label %53, !llvm.loop !20

80:                                               ; preds = %74, %53
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %118

83:                                               ; preds = %80
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._IXML_Node, ptr %84, i32 0, i32 9
  %86 = load ptr, ptr %85, align 8, !tbaa !22
  store ptr %86, ptr %12, align 8, !tbaa !5
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct._IXML_Node, ptr %87, i32 0, i32 10
  %89 = load ptr, ptr %88, align 8, !tbaa !19
  store ptr %89, ptr %13, align 8, !tbaa !5
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = icmp ne ptr %90, null
  br i1 %91, label %92, label %96

92:                                               ; preds = %83
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct._IXML_Node, ptr %94, i32 0, i32 10
  store ptr %93, ptr %95, align 8, !tbaa !19
  br label %96

96:                                               ; preds = %92, %83
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  %98 = icmp ne ptr %97, null
  br i1 %98, label %99, label %103

99:                                               ; preds = %96
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._IXML_Node, ptr %101, i32 0, i32 9
  store ptr %100, ptr %102, align 8, !tbaa !22
  br label %103

103:                                              ; preds = %99, %96
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct._IXML_Element, ptr %104, i32 0, i32 0
  %106 = getelementptr inbounds %struct._IXML_Node, ptr %105, i32 0, i32 11
  %107 = load ptr, ptr %106, align 8, !tbaa !16
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = icmp eq ptr %107, %108
  br i1 %109, label %110, label %115

110:                                              ; preds = %103
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct._IXML_Element, ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds %struct._IXML_Node, ptr %113, i32 0, i32 11
  store ptr %111, ptr %114, align 8, !tbaa !16
  br label %115

115:                                              ; preds = %110, %103
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %116, ptr %117, align 8, !tbaa !5
  br label %159

118:                                              ; preds = %80
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct._IXML_Element, ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds %struct._IXML_Node, ptr %120, i32 0, i32 11
  %122 = load ptr, ptr %121, align 8, !tbaa !16
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %144

124:                                              ; preds = %118
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct._IXML_Element, ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds %struct._IXML_Node, ptr %126, i32 0, i32 11
  %128 = load ptr, ptr %127, align 8, !tbaa !16
  store ptr %128, ptr %10, align 8, !tbaa !5
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct._IXML_Node, ptr %129, i32 0, i32 10
  %131 = load ptr, ptr %130, align 8, !tbaa !19
  store ptr %131, ptr %11, align 8, !tbaa !5
  br label %132

132:                                              ; preds = %135, %124
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = icmp ne ptr %133, null
  br i1 %134, label %135, label %140

135:                                              ; preds = %132
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %136, ptr %10, align 8, !tbaa !5
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct._IXML_Node, ptr %137, i32 0, i32 10
  %139 = load ptr, ptr %138, align 8, !tbaa !19
  store ptr %139, ptr %11, align 8, !tbaa !5
  br label %132, !llvm.loop !23

140:                                              ; preds = %132
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct._IXML_Node, ptr %142, i32 0, i32 10
  store ptr %141, ptr %143, align 8, !tbaa !19
  br label %153

144:                                              ; preds = %118
  %145 = load ptr, ptr %9, align 8, !tbaa !5
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct._IXML_Element, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds %struct._IXML_Node, ptr %147, i32 0, i32 11
  store ptr %145, ptr %148, align 8, !tbaa !16
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct._IXML_Node, ptr %149, i32 0, i32 9
  store ptr null, ptr %150, align 8, !tbaa !22
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct._IXML_Node, ptr %151, i32 0, i32 10
  store ptr null, ptr %152, align 8, !tbaa !19
  br label %153

153:                                              ; preds = %144, %140
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = icmp ne ptr %154, null
  br i1 %155, label %156, label %158

156:                                              ; preds = %153
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr null, ptr %157, align 8, !tbaa !5
  br label %158

158:                                              ; preds = %156, %153
  br label %159

159:                                              ; preds = %158, %115
  store i32 0, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %160

160:                                              ; preds = %159, %43, %31, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %161 = load i32, ptr %4, align 4
  ret i32 %161
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !6, i64 96}
!10 = !{!"_IXML_ATTR", !11, i64 0, !12, i64 104, !6, i64 112}
!11 = !{!"_IXML_Node", !6, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 96}
!14 = !{!"_IXML_Element", !11, i64 0, !6, i64 104}
!15 = !{!10, !6, i64 112}
!16 = !{!14, !6, i64 88}
!17 = !{!11, !6, i64 40}
!18 = !{!11, !6, i64 24}
!19 = !{!11, !6, i64 80}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!11, !6, i64 72}
!23 = distinct !{!23, !21}


; 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 nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local range(i32 0, 106) i32 @ixmlElement_setAttributeNodeNS(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #1 {
  %4 = icmp eq ptr %0, null
  %5 = icmp eq ptr %1, null
  %or.cond = or i1 %4, %5
  br i1 %or.cond, label %48, label %6

6:                                                ; preds = %3
  %7 = getelementptr inbounds i8, ptr %1, i64 96
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 96
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %.not = icmp eq ptr %8, %10
  br i1 %.not, label %11, label %48

11:                                               ; preds = %6
  %12 = getelementptr inbounds i8, ptr %1, i64 112
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %.not57 = icmp eq ptr %13, null
  %.not58 = icmp eq ptr %13, %0
  %or.cond65 = or i1 %.not57, %.not58
  br i1 %or.cond65, label %14, label %48

14:                                               ; preds = %11
  store ptr %0, ptr %12, align 8, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %0, i64 88
  %.04867 = load ptr, ptr %15, align 8, !tbaa !15
  %.not5968 = icmp eq ptr %.04867, null
  br i1 %.not5968, label %.critedge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %14
  %16 = getelementptr inbounds i8, ptr %1, i64 40
  %17 = load ptr, ptr %16, align 8, !tbaa !16
  %18 = getelementptr inbounds i8, ptr %1, i64 24
  br label %19

19:                                               ; preds = %.lr.ph, %30
  %.04869 = phi ptr [ %.04867, %.lr.ph ], [ %.048, %30 ]
  %20 = getelementptr inbounds i8, ptr %.04869, i64 40
  %21 = load ptr, ptr %20, align 8, !tbaa !16
  %22 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %21, ptr noundef nonnull dereferenceable(1) %17) #3
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %30

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %.04869, i64 24
  %26 = load ptr, ptr %25, align 8, !tbaa !17
  %27 = load ptr, ptr %18, align 8, !tbaa !17
  %28 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %26, ptr noundef nonnull dereferenceable(1) %27) #3
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %32, label %30

30:                                               ; preds = %24, %19
  %31 = getelementptr inbounds i8, ptr %.04869, i64 80
  %.048 = load ptr, ptr %31, align 8, !tbaa !15
  %.not59 = icmp eq ptr %.048, null
  br i1 %.not59, label %.critedge, label %19, !llvm.loop !18

32:                                               ; preds = %24
  %33 = getelementptr inbounds i8, ptr %.04869, i64 72
  %34 = load ptr, ptr %33, align 8, !tbaa !20
  %35 = getelementptr inbounds i8, ptr %.04869, i64 80
  %36 = load ptr, ptr %35, align 8, !tbaa !21
  %.not63 = icmp eq ptr %34, null
  br i1 %.not63, label %39, label %37

37:                                               ; preds = %32
  %38 = getelementptr inbounds i8, ptr %34, i64 80
  store ptr %1, ptr %38, align 8, !tbaa !21
  br label %39

39:                                               ; preds = %37, %32
  %.not64 = icmp eq ptr %36, null
  br i1 %.not64, label %42, label %40

40:                                               ; preds = %39
  %41 = getelementptr inbounds i8, ptr %36, i64 72
  store ptr %1, ptr %41, align 8, !tbaa !20
  br label %42

42:                                               ; preds = %40, %39
  %43 = icmp eq ptr %.04867, %.04869
  br i1 %43, label %44, label %.sink.split

44:                                               ; preds = %42
  store ptr %1, ptr %15, align 8, !tbaa !22
  br label %.sink.split

.critedge:                                        ; preds = %30
  br i1 %.not5968, label %.critedge.thread, label %.preheader

.preheader:                                       ; preds = %.critedge, %.preheader
  %.047 = phi ptr [ %.0, %.preheader ], [ %.04867, %.critedge ]
  %.0.in = getelementptr inbounds i8, ptr %.047, i64 80
  %.0 = load ptr, ptr %.0.in, align 8, !tbaa !21
  %.not61 = icmp eq ptr %.0, null
  br i1 %.not61, label %45, label %.preheader, !llvm.loop !23

45:                                               ; preds = %.preheader
  %.0.in.le = getelementptr inbounds i8, ptr %.047, i64 80
  store ptr %1, ptr %.0.in.le, align 8, !tbaa !21
  br label %47

.critedge.thread:                                 ; preds = %14, %.critedge
  store ptr %1, ptr %15, align 8, !tbaa !22
  %46 = getelementptr inbounds i8, ptr %1, i64 72
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %46, i8 0, i64 16, i1 false)
  br label %47

47:                                               ; preds = %.critedge.thread, %45
  %.not62 = icmp eq ptr %2, null
  br i1 %.not62, label %48, label %.sink.split

.sink.split:                                      ; preds = %47, %42, %44
  %.04869.lcssa.sink = phi ptr [ %.04869, %44 ], [ %.04869, %42 ], [ null, %47 ]
  store ptr %.04869.lcssa.sink, ptr %2, align 8, !tbaa !15
  br label %48

48:                                               ; preds = %.sink.split, %47, %11, %6, %3
  %.049 = phi i32 [ 105, %3 ], [ 4, %6 ], [ 10, %11 ], [ 0, %47 ], [ 0, %.sink.split ]
  ret i32 %.049
}

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

attributes #0 = { 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 #1 = { nofree nounwind memory(readwrite, inaccessiblemem: none) 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 96}
!6 = !{!"_IXML_ATTR", !7, i64 0, !11, i64 104, !8, i64 112}
!7 = !{!"_IXML_Node", !8, i64 0, !8, i64 8, !11, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 96}
!13 = !{!"_IXML_Element", !7, i64 0, !8, i64 104}
!14 = !{!6, !8, i64 112}
!15 = !{!8, !8, i64 0}
!16 = !{!7, !8, i64 40}
!17 = !{!7, !8, i64 24}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!7, !8, i64 72}
!21 = !{!7, !8, i64 80}
!22 = !{!13, !8, i64 88}
!23 = distinct !{!23, !19}


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