; LLVM IR from clibs/clib :: src/common (clib-package)

; 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.clib_package_t = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }

; Function Attrs: nounwind
declare void @free(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @clib_package_free(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = icmp eq ptr null, %3
  br i1 %4, label %5, label %6

5:                                                ; preds = %1
  br label %190

6:                                                ; preds = %1
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.clib_package_t, ptr %7, i32 0, i32 19
  %9 = load i32, ptr %8, align 8, !tbaa !9
  %10 = icmp ne i32 0, %9
  br i1 %10, label %11, label %12

11:                                               ; preds = %6
  br label %190

12:                                               ; preds = %6
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.clib_package_t, ptr %13, i32 0, i32 0
  %15 = load ptr, ptr %14, align 8, !tbaa !12
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %23

17:                                               ; preds = %12
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.clib_package_t, ptr %18, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !12
  call void @free(ptr noundef %20) #3
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.clib_package_t, ptr %21, i32 0, i32 0
  store ptr null, ptr %22, align 8, !tbaa !12
  br label %23

23:                                               ; preds = %17, %12
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.clib_package_t, ptr %24, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %34

28:                                               ; preds = %23
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.clib_package_t, ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  call void @free(ptr noundef %31) #3
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.clib_package_t, ptr %32, i32 0, i32 1
  store ptr null, ptr %33, align 8, !tbaa !13
  br label %34

34:                                               ; preds = %28, %23
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.clib_package_t, ptr %35, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !14
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %45

39:                                               ; preds = %34
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.clib_package_t, ptr %40, i32 0, i32 2
  %42 = load ptr, ptr %41, align 8, !tbaa !14
  call void @free(ptr noundef %42) #3
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.clib_package_t, ptr %43, i32 0, i32 2
  store ptr null, ptr %44, align 8, !tbaa !14
  br label %45

45:                                               ; preds = %39, %34
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.clib_package_t, ptr %46, i32 0, i32 4
  %48 = load ptr, ptr %47, align 8, !tbaa !15
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %56

50:                                               ; preds = %45
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.clib_package_t, ptr %51, i32 0, i32 4
  %53 = load ptr, ptr %52, align 8, !tbaa !15
  call void @free(ptr noundef %53) #3
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.clib_package_t, ptr %54, i32 0, i32 4
  store ptr null, ptr %55, align 8, !tbaa !15
  br label %56

56:                                               ; preds = %50, %45
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.clib_package_t, ptr %57, i32 0, i32 5
  %59 = load ptr, ptr %58, align 8, !tbaa !16
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %67

61:                                               ; preds = %56
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.clib_package_t, ptr %62, i32 0, i32 5
  %64 = load ptr, ptr %63, align 8, !tbaa !16
  call void @free(ptr noundef %64) #3
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.clib_package_t, ptr %65, i32 0, i32 5
  store ptr null, ptr %66, align 8, !tbaa !16
  br label %67

67:                                               ; preds = %61, %56
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.clib_package_t, ptr %68, i32 0, i32 6
  %70 = load ptr, ptr %69, align 8, !tbaa !17
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %78

72:                                               ; preds = %67
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.clib_package_t, ptr %73, i32 0, i32 6
  %75 = load ptr, ptr %74, align 8, !tbaa !17
  call void @free(ptr noundef %75) #3
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.clib_package_t, ptr %76, i32 0, i32 6
  store ptr null, ptr %77, align 8, !tbaa !17
  br label %78

78:                                               ; preds = %72, %67
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.clib_package_t, ptr %79, i32 0, i32 11
  %81 = load ptr, ptr %80, align 8, !tbaa !18
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %89

83:                                               ; preds = %78
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.clib_package_t, ptr %84, i32 0, i32 11
  %86 = load ptr, ptr %85, align 8, !tbaa !18
  call void @free(ptr noundef %86) #3
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.clib_package_t, ptr %87, i32 0, i32 11
  store ptr null, ptr %88, align 8, !tbaa !18
  br label %89

89:                                               ; preds = %83, %78
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.clib_package_t, ptr %90, i32 0, i32 3
  %92 = load ptr, ptr %91, align 8, !tbaa !19
  %93 = icmp ne ptr %92, null
  br i1 %93, label %94, label %100

94:                                               ; preds = %89
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.clib_package_t, ptr %95, i32 0, i32 3
  %97 = load ptr, ptr %96, align 8, !tbaa !19
  call void @free(ptr noundef %97) #3
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.clib_package_t, ptr %98, i32 0, i32 3
  store ptr null, ptr %99, align 8, !tbaa !19
  br label %100

100:                                              ; preds = %94, %89
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.clib_package_t, ptr %101, i32 0, i32 7
  %103 = load ptr, ptr %102, align 8, !tbaa !20
  %104 = icmp ne ptr %103, null
  br i1 %104, label %105, label %111

105:                                              ; preds = %100
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.clib_package_t, ptr %106, i32 0, i32 7
  %108 = load ptr, ptr %107, align 8, !tbaa !20
  call void @free(ptr noundef %108) #3
  %109 = load ptr, ptr %2, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.clib_package_t, ptr %109, i32 0, i32 7
  store ptr null, ptr %110, align 8, !tbaa !20
  br label %111

111:                                              ; preds = %105, %100
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.clib_package_t, ptr %112, i32 0, i32 8
  %114 = load ptr, ptr %113, align 8, !tbaa !21
  %115 = icmp ne ptr %114, null
  br i1 %115, label %116, label %122

116:                                              ; preds = %111
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.clib_package_t, ptr %117, i32 0, i32 8
  %119 = load ptr, ptr %118, align 8, !tbaa !21
  call void @free(ptr noundef %119) #3
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.clib_package_t, ptr %120, i32 0, i32 8
  store ptr null, ptr %121, align 8, !tbaa !21
  br label %122

122:                                              ; preds = %116, %111
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.clib_package_t, ptr %123, i32 0, i32 9
  %125 = load ptr, ptr %124, align 8, !tbaa !22
  %126 = icmp ne ptr %125, null
  br i1 %126, label %127, label %133

127:                                              ; preds = %122
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.clib_package_t, ptr %128, i32 0, i32 9
  %130 = load ptr, ptr %129, align 8, !tbaa !22
  call void @free(ptr noundef %130) #3
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.clib_package_t, ptr %131, i32 0, i32 9
  store ptr null, ptr %132, align 8, !tbaa !22
  br label %133

133:                                              ; preds = %127, %122
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.clib_package_t, ptr %134, i32 0, i32 10
  %136 = load ptr, ptr %135, align 8, !tbaa !23
  %137 = icmp ne ptr %136, null
  br i1 %137, label %138, label %144

138:                                              ; preds = %133
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.clib_package_t, ptr %139, i32 0, i32 10
  %141 = load ptr, ptr %140, align 8, !tbaa !23
  call void @free(ptr noundef %141) #3
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.clib_package_t, ptr %142, i32 0, i32 10
  store ptr null, ptr %143, align 8, !tbaa !23
  br label %144

144:                                              ; preds = %138, %133
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.clib_package_t, ptr %145, i32 0, i32 13
  %147 = load ptr, ptr %146, align 8, !tbaa !24
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %155

149:                                              ; preds = %144
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.clib_package_t, ptr %150, i32 0, i32 13
  %152 = load ptr, ptr %151, align 8, !tbaa !24
  call void @free(ptr noundef %152) #3
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.clib_package_t, ptr %153, i32 0, i32 13
  store ptr null, ptr %154, align 8, !tbaa !24
  br label %155

155:                                              ; preds = %149, %144
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.clib_package_t, ptr %156, i32 0, i32 17
  %158 = load ptr, ptr %157, align 8, !tbaa !25
  %159 = icmp ne ptr %158, null
  br i1 %159, label %160, label %164

160:                                              ; preds = %155
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.clib_package_t, ptr %161, i32 0, i32 17
  %163 = load ptr, ptr %162, align 8, !tbaa !25
  call void @list_destroy(ptr noundef %163)
  br label %164

164:                                              ; preds = %160, %155
  %165 = load ptr, ptr %2, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.clib_package_t, ptr %165, i32 0, i32 17
  store ptr null, ptr %166, align 8, !tbaa !25
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.clib_package_t, ptr %167, i32 0, i32 15
  %169 = load ptr, ptr %168, align 8, !tbaa !26
  %170 = icmp ne ptr %169, null
  br i1 %170, label %171, label %175

171:                                              ; preds = %164
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.clib_package_t, ptr %172, i32 0, i32 15
  %174 = load ptr, ptr %173, align 8, !tbaa !26
  call void @list_destroy(ptr noundef %174)
  br label %175

175:                                              ; preds = %171, %164
  %176 = load ptr, ptr %2, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.clib_package_t, ptr %176, i32 0, i32 15
  store ptr null, ptr %177, align 8, !tbaa !26
  %178 = load ptr, ptr %2, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.clib_package_t, ptr %178, i32 0, i32 16
  %180 = load ptr, ptr %179, align 8, !tbaa !27
  %181 = icmp ne ptr %180, null
  br i1 %181, label %182, label %186

182:                                              ; preds = %175
  %183 = load ptr, ptr %2, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.clib_package_t, ptr %183, i32 0, i32 16
  %185 = load ptr, ptr %184, align 8, !tbaa !27
  call void @list_destroy(ptr noundef %185)
  br label %186

186:                                              ; preds = %182, %175
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.clib_package_t, ptr %187, i32 0, i32 16
  store ptr null, ptr %188, align 8, !tbaa !27
  %189 = load ptr, ptr %2, align 8, !tbaa !5
  call void @free(ptr noundef %189) #3
  store ptr null, ptr %2, align 8, !tbaa !5
  br label %190

190:                                              ; preds = %186, %11, %5
  ret void
}

declare void @list_destroy(ptr noundef) #2

attributes #0 = { 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 #1 = { 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 = { "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 }

!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, !11, i64 152}
!10 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !11, i64 152}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !6, i64 32}
!16 = !{!10, !6, i64 40}
!17 = !{!10, !6, i64 48}
!18 = !{!10, !6, i64 88}
!19 = !{!10, !6, i64 24}
!20 = !{!10, !6, i64 56}
!21 = !{!10, !6, i64 64}
!22 = !{!10, !6, i64 72}
!23 = !{!10, !6, i64 80}
!24 = !{!10, !6, i64 104}
!25 = !{!10, !6, i64 136}
!26 = !{!10, !6, i64 120}
!27 = !{!10, !6, i64 128}


; 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 willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @clib_package_free(ptr noundef %0) local_unnamed_addr #1 {
  %2 = icmp eq ptr %0, null
  br i1 %2, label %70, label %3

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 152
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %6, label %70

6:                                                ; preds = %3
  %7 = load ptr, ptr %0, align 8, !tbaa !11
  %.not67 = icmp eq ptr %7, null
  br i1 %.not67, label %9, label %8

8:                                                ; preds = %6
  tail call void @free(ptr noundef nonnull %7) #3
  store ptr null, ptr %0, align 8, !tbaa !11
  br label %9

9:                                                ; preds = %8, %6
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !12
  %.not68 = icmp eq ptr %11, null
  br i1 %.not68, label %13, label %12

12:                                               ; preds = %9
  tail call void @free(ptr noundef nonnull %11) #3
  store ptr null, ptr %10, align 8, !tbaa !12
  br label %13

13:                                               ; preds = %12, %9
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load ptr, ptr %14, align 8, !tbaa !13
  %.not69 = icmp eq ptr %15, null
  br i1 %.not69, label %17, label %16

16:                                               ; preds = %13
  tail call void @free(ptr noundef nonnull %15) #3
  store ptr null, ptr %14, align 8, !tbaa !13
  br label %17

17:                                               ; preds = %16, %13
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %.not70 = icmp eq ptr %19, null
  br i1 %.not70, label %21, label %20

20:                                               ; preds = %17
  tail call void @free(ptr noundef nonnull %19) #3
  store ptr null, ptr %18, align 8, !tbaa !14
  br label %21

21:                                               ; preds = %20, %17
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %.not71 = icmp eq ptr %23, null
  br i1 %.not71, label %25, label %24

24:                                               ; preds = %21
  tail call void @free(ptr noundef nonnull %23) #3
  store ptr null, ptr %22, align 8, !tbaa !15
  br label %25

25:                                               ; preds = %24, %21
  %26 = getelementptr inbounds i8, ptr %0, i64 48
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %.not72 = icmp eq ptr %27, null
  br i1 %.not72, label %29, label %28

28:                                               ; preds = %25
  tail call void @free(ptr noundef nonnull %27) #3
  store ptr null, ptr %26, align 8, !tbaa !16
  br label %29

29:                                               ; preds = %28, %25
  %30 = getelementptr inbounds i8, ptr %0, i64 88
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  %.not73 = icmp eq ptr %31, null
  br i1 %.not73, label %33, label %32

32:                                               ; preds = %29
  tail call void @free(ptr noundef nonnull %31) #3
  store ptr null, ptr %30, align 8, !tbaa !17
  br label %33

33:                                               ; preds = %32, %29
  %34 = getelementptr inbounds i8, ptr %0, i64 24
  %35 = load ptr, ptr %34, align 8, !tbaa !18
  %.not74 = icmp eq ptr %35, null
  br i1 %.not74, label %37, label %36

36:                                               ; preds = %33
  tail call void @free(ptr noundef nonnull %35) #3
  store ptr null, ptr %34, align 8, !tbaa !18
  br label %37

37:                                               ; preds = %36, %33
  %38 = getelementptr inbounds i8, ptr %0, i64 56
  %39 = load ptr, ptr %38, align 8, !tbaa !19
  %.not75 = icmp eq ptr %39, null
  br i1 %.not75, label %41, label %40

40:                                               ; preds = %37
  tail call void @free(ptr noundef nonnull %39) #3
  store ptr null, ptr %38, align 8, !tbaa !19
  br label %41

41:                                               ; preds = %40, %37
  %42 = getelementptr inbounds i8, ptr %0, i64 64
  %43 = load ptr, ptr %42, align 8, !tbaa !20
  %.not76 = icmp eq ptr %43, null
  br i1 %.not76, label %45, label %44

44:                                               ; preds = %41
  tail call void @free(ptr noundef nonnull %43) #3
  store ptr null, ptr %42, align 8, !tbaa !20
  br label %45

45:                                               ; preds = %44, %41
  %46 = getelementptr inbounds i8, ptr %0, i64 72
  %47 = load ptr, ptr %46, align 8, !tbaa !21
  %.not77 = icmp eq ptr %47, null
  br i1 %.not77, label %49, label %48

48:                                               ; preds = %45
  tail call void @free(ptr noundef nonnull %47) #3
  store ptr null, ptr %46, align 8, !tbaa !21
  br label %49

49:                                               ; preds = %48, %45
  %50 = getelementptr inbounds i8, ptr %0, i64 80
  %51 = load ptr, ptr %50, align 8, !tbaa !22
  %.not78 = icmp eq ptr %51, null
  br i1 %.not78, label %53, label %52

52:                                               ; preds = %49
  tail call void @free(ptr noundef nonnull %51) #3
  store ptr null, ptr %50, align 8, !tbaa !22
  br label %53

53:                                               ; preds = %52, %49
  %54 = getelementptr inbounds i8, ptr %0, i64 104
  %55 = load ptr, ptr %54, align 8, !tbaa !23
  %.not79 = icmp eq ptr %55, null
  br i1 %.not79, label %57, label %56

56:                                               ; preds = %53
  tail call void @free(ptr noundef nonnull %55) #3
  store ptr null, ptr %54, align 8, !tbaa !23
  br label %57

57:                                               ; preds = %56, %53
  %58 = getelementptr inbounds i8, ptr %0, i64 136
  %59 = load ptr, ptr %58, align 8, !tbaa !24
  %.not80 = icmp eq ptr %59, null
  br i1 %.not80, label %61, label %60

60:                                               ; preds = %57
  tail call void @list_destroy(ptr noundef nonnull %59) #3
  br label %61

61:                                               ; preds = %60, %57
  store ptr null, ptr %58, align 8, !tbaa !24
  %62 = getelementptr inbounds i8, ptr %0, i64 120
  %63 = load ptr, ptr %62, align 8, !tbaa !25
  %.not81 = icmp eq ptr %63, null
  br i1 %.not81, label %65, label %64

64:                                               ; preds = %61
  tail call void @list_destroy(ptr noundef nonnull %63) #3
  br label %65

65:                                               ; preds = %64, %61
  store ptr null, ptr %62, align 8, !tbaa !25
  %66 = getelementptr inbounds i8, ptr %0, i64 128
  %67 = load ptr, ptr %66, align 8, !tbaa !26
  %.not82 = icmp eq ptr %67, null
  br i1 %.not82, label %69, label %68

68:                                               ; preds = %65
  tail call void @list_destroy(ptr noundef nonnull %67) #3
  br label %69

69:                                               ; preds = %68, %65
  tail call void @free(ptr noundef nonnull %0) #3
  br label %70

70:                                               ; preds = %3, %1, %69
  ret void
}

declare void @list_destroy(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 = { "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 }

!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, !10, i64 152}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !10, i64 152}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 8}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 40}
!16 = !{!6, !7, i64 48}
!17 = !{!6, !7, i64 88}
!18 = !{!6, !7, i64 24}
!19 = !{!6, !7, i64 56}
!20 = !{!6, !7, i64 64}
!21 = !{!6, !7, i64 72}
!22 = !{!6, !7, i64 80}
!23 = !{!6, !7, i64 104}
!24 = !{!6, !7, i64 136}
!25 = !{!6, !7, i64 120}
!26 = !{!6, !7, i64 128}


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