; 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

declare void @ixmlAttr_free(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @ixmlElement_setAttributeNode(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %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) #4
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store ptr null, ptr %13, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %20

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

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

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 %154

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 %38

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

38:                                               ; preds = %32
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._IXML_ATTR, ptr %40, i32 0, i32 2
  store ptr %39, ptr %41, align 8, !tbaa !15
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %42, ptr %9, align 8, !tbaa !5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._IXML_Element, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %struct._IXML_Node, ptr %44, i32 0, i32 11
  %46 = load ptr, ptr %45, align 8, !tbaa !16
  store ptr %46, ptr %8, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %64, %38
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %65

50:                                               ; preds = %47
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._IXML_Node, ptr %51, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8, !tbaa !17
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._IXML_Node, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !17
  %57 = call i32 @strcmp(ptr noundef %53, ptr noundef %56) #5
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %60, label %59

59:                                               ; preds = %50
  br label %65

60:                                               ; preds = %50
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._IXML_Node, ptr %61, i32 0, i32 10
  %63 = load ptr, ptr %62, align 8, !tbaa !18
  store ptr %63, ptr %8, align 8, !tbaa !5
  br label %64

64:                                               ; preds = %60
  br label %47, !llvm.loop !19

65:                                               ; preds = %59, %47
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %109

68:                                               ; preds = %65
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IXML_Node, ptr %69, i32 0, i32 9
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  store ptr %71, ptr %12, align 8, !tbaa !5
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._IXML_Node, ptr %72, i32 0, i32 10
  %74 = load ptr, ptr %73, align 8, !tbaa !18
  store ptr %74, ptr %13, align 8, !tbaa !5
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %81

77:                                               ; preds = %68
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = load ptr, ptr %12, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._IXML_Node, ptr %79, i32 0, i32 10
  store ptr %78, ptr %80, align 8, !tbaa !18
  br label %81

81:                                               ; preds = %77, %68
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %88

84:                                               ; preds = %81
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._IXML_Node, ptr %86, i32 0, i32 9
  store ptr %85, ptr %87, align 8, !tbaa !21
  br label %88

88:                                               ; preds = %84, %81
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._IXML_Element, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds %struct._IXML_Node, ptr %90, i32 0, i32 11
  %92 = load ptr, ptr %91, align 8, !tbaa !16
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = icmp eq ptr %92, %93
  br i1 %94, label %95, label %100

95:                                               ; preds = %88
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._IXML_Element, ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds %struct._IXML_Node, ptr %98, i32 0, i32 11
  store ptr %96, ptr %99, align 8, !tbaa !16
  br label %100

100:                                              ; preds = %95, %88
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %106

103:                                              ; preds = %100
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %104, ptr %105, align 8, !tbaa !5
  br label %108

106:                                              ; preds = %100
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  call void @ixmlAttr_free(ptr noundef %107)
  br label %108

108:                                              ; preds = %106, %103
  br label %153

109:                                              ; preds = %65
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct._IXML_Element, ptr %110, i32 0, i32 0
  %112 = getelementptr inbounds %struct._IXML_Node, ptr %111, i32 0, i32 11
  %113 = load ptr, ptr %112, align 8, !tbaa !16
  %114 = icmp ne ptr %113, null
  br i1 %114, label %115, label %138

115:                                              ; preds = %109
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct._IXML_Element, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds %struct._IXML_Node, ptr %117, i32 0, i32 11
  %119 = load ptr, ptr %118, align 8, !tbaa !16
  store ptr %119, ptr %11, align 8, !tbaa !5
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._IXML_Node, ptr %120, i32 0, i32 10
  %122 = load ptr, ptr %121, align 8, !tbaa !18
  store ptr %122, ptr %10, align 8, !tbaa !5
  br label %123

123:                                              ; preds = %126, %115
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = icmp ne ptr %124, null
  br i1 %125, label %126, label %131

126:                                              ; preds = %123
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %127, ptr %11, align 8, !tbaa !5
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._IXML_Node, ptr %128, i32 0, i32 10
  %130 = load ptr, ptr %129, align 8, !tbaa !18
  store ptr %130, ptr %10, align 8, !tbaa !5
  br label %123, !llvm.loop !22

131:                                              ; preds = %123
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct._IXML_Node, ptr %133, i32 0, i32 10
  store ptr %132, ptr %134, align 8, !tbaa !18
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct._IXML_Node, ptr %136, i32 0, i32 9
  store ptr %135, ptr %137, align 8, !tbaa !21
  br label %147

138:                                              ; preds = %109
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct._IXML_Element, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds %struct._IXML_Node, ptr %141, i32 0, i32 11
  store ptr %139, ptr %142, align 8, !tbaa !16
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._IXML_Node, ptr %143, i32 0, i32 9
  store ptr null, ptr %144, align 8, !tbaa !21
  %145 = load ptr, ptr %9, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct._IXML_Node, ptr %145, i32 0, i32 10
  store ptr null, ptr %146, align 8, !tbaa !18
  br label %147

147:                                              ; preds = %138, %131
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %152

150:                                              ; preds = %147
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr null, ptr %151, align 8, !tbaa !5
  br label %152

152:                                              ; preds = %150, %147
  br label %153

153:                                              ; preds = %152, %108
  store i32 0, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %154

154:                                              ; preds = %153, %37, %31, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %155 = load i32, ptr %4, align 4
  ret i32 %155
}

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 = { "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 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 }
attributes #5 = { 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 0}
!18 = !{!11, !6, i64 80}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!11, !6, i64 72}
!22 = distinct !{!22, !20}


; 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

declare void @ixmlAttr_free(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 106) i32 @ixmlElement_setAttributeNode(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #2 {
  %4 = icmp ne ptr %0, null
  %5 = icmp ne ptr %1, null
  %or.cond = and i1 %4, %5
  br i1 %or.cond, label %6, label %43

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 %43

11:                                               ; preds = %6
  %12 = getelementptr inbounds i8, ptr %1, i64 112
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %.not56 = icmp eq ptr %13, null
  br i1 %.not56, label %14, label %43

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

.lr.ph:                                           ; preds = %14
  %16 = load ptr, ptr %1, align 8, !tbaa !16
  br label %17

17:                                               ; preds = %.lr.ph, %20
  %.04868 = phi ptr [ %.04866, %.lr.ph ], [ %.048, %20 ]
  %18 = load ptr, ptr %.04868, align 8, !tbaa !16
  %19 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) %16) #4
  %.not58 = icmp eq i32 %19, 0
  br i1 %.not58, label %22, label %20

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %.04868, i64 80
  %.048 = load ptr, ptr %21, align 8, !tbaa !15
  %.not57 = icmp eq ptr %.048, null
  br i1 %.not57, label %.critedge, label %17, !llvm.loop !17

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %.04868, i64 72
  %24 = load ptr, ptr %23, align 8, !tbaa !19
  %25 = getelementptr inbounds i8, ptr %.04868, i64 80
  %26 = load ptr, ptr %25, align 8, !tbaa !20
  %.not62 = icmp eq ptr %24, null
  br i1 %.not62, label %29, label %27

27:                                               ; preds = %22
  %28 = getelementptr inbounds i8, ptr %24, i64 80
  store ptr %1, ptr %28, align 8, !tbaa !20
  br label %29

29:                                               ; preds = %27, %22
  %.not63 = icmp eq ptr %26, null
  br i1 %.not63, label %32, label %30

30:                                               ; preds = %29
  %31 = getelementptr inbounds i8, ptr %26, i64 72
  store ptr %1, ptr %31, align 8, !tbaa !19
  br label %32

32:                                               ; preds = %30, %29
  %33 = icmp eq ptr %.04866, %.04868
  br i1 %33, label %34, label %35

34:                                               ; preds = %32
  store ptr %1, ptr %15, align 8, !tbaa !21
  br label %35

35:                                               ; preds = %34, %32
  %.not64 = icmp eq ptr %2, null
  br i1 %.not64, label %37, label %36

36:                                               ; preds = %35
  store ptr %.04868, ptr %2, align 8, !tbaa !15
  br label %43

37:                                               ; preds = %35
  tail call void @ixmlAttr_free(ptr noundef nonnull %.04868) #5
  br label %43

.critedge:                                        ; preds = %20
  br i1 %.not5767, label %.critedge.thread, label %.preheader

.preheader:                                       ; preds = %.critedge, %.preheader
  %.0 = phi ptr [ %.047, %.preheader ], [ %.04866, %.critedge ]
  %.047.in = getelementptr inbounds i8, ptr %.0, i64 80
  %.047 = load ptr, ptr %.047.in, align 8, !tbaa !20
  %.not60 = icmp eq ptr %.047, null
  br i1 %.not60, label %38, label %.preheader, !llvm.loop !22

38:                                               ; preds = %.preheader
  %.047.in.le = getelementptr inbounds i8, ptr %.0, i64 80
  store ptr %1, ptr %.047.in.le, align 8, !tbaa !20
  %39 = getelementptr inbounds i8, ptr %1, i64 72
  store ptr %.0, ptr %39, align 8, !tbaa !19
  br label %41

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

41:                                               ; preds = %.critedge.thread, %38
  %.not61 = icmp eq ptr %2, null
  br i1 %.not61, label %43, label %42

42:                                               ; preds = %41
  store ptr null, ptr %2, align 8, !tbaa !15
  br label %43

43:                                               ; preds = %37, %36, %42, %41, %11, %6, %3
  %.049 = phi i32 [ 105, %3 ], [ 4, %6 ], [ 10, %11 ], [ 0, %41 ], [ 0, %42 ], [ 0, %36 ], [ 0, %37 ]
  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) #3

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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind willreturn memory(read) }
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, !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 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !8, i64 72}
!20 = !{!7, !8, i64 80}
!21 = !{!13, !8, i64 88}
!22 = distinct !{!22, !18}


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