; LLVM IR from jingweizhanghuai/Morn :: src/image (morn_image)

; 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.HandleList = type { %struct.MList, i32, i32, i32, i32 }
%struct.MList = type { i32, ptr }
%struct.MHandle = type { i32, i32, ptr, ptr }
%struct.MImage = type { i32, i32, i32, [4 x ptr], ptr }
%struct.HandleImageCreate = type { ptr, ptr, [8 x i64], i32, i32, i32, i32, ptr, ptr, ptr, ptr, [4 x ptr], i32, i32 }

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local void @MImageDataExchange(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca [4 x ptr], align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.HandleList, ptr %9, i64 -1
  %11 = getelementptr inbounds %struct.HandleList, ptr %10, i32 0, i32 0
  %12 = getelementptr inbounds %struct.MList, ptr %11, i32 0, i32 1
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds ptr, ptr %13, i64 0
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.MHandle, ptr %15, i32 0, i32 3
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  store ptr %17, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.HandleList, ptr %18, i64 -1
  %20 = getelementptr inbounds %struct.HandleList, ptr %19, i32 0, i32 0
  %21 = getelementptr inbounds %struct.MList, ptr %20, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds ptr, ptr %22, i64 0
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.MHandle, ptr %24, i32 0, i32 3
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  store ptr %26, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #3
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.MImage, ptr %27, i32 0, i32 0
  %29 = load i32, ptr %28, align 8, !tbaa !15
  store i32 %29, ptr %7, align 4, !tbaa !17
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.MImage, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !15
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.MImage, ptr %33, i32 0, i32 0
  store i32 %32, ptr %34, align 8, !tbaa !15
  %35 = load i32, ptr %7, align 4, !tbaa !17
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.MImage, ptr %36, i32 0, i32 0
  store i32 %35, ptr %37, align 8, !tbaa !15
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.MImage, ptr %38, i32 0, i32 2
  %40 = load i32, ptr %39, align 8, !tbaa !18
  store i32 %40, ptr %7, align 4, !tbaa !17
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.MImage, ptr %41, i32 0, i32 2
  %43 = load i32, ptr %42, align 8, !tbaa !18
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.MImage, ptr %44, i32 0, i32 2
  store i32 %43, ptr %45, align 8, !tbaa !18
  %46 = load i32, ptr %7, align 4, !tbaa !17
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.MImage, ptr %47, i32 0, i32 2
  store i32 %46, ptr %48, align 8, !tbaa !18
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.MImage, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 4, !tbaa !19
  store i32 %51, ptr %7, align 4, !tbaa !17
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.MImage, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !19
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.MImage, ptr %55, i32 0, i32 1
  store i32 %54, ptr %56, align 4, !tbaa !19
  %57 = load i32, ptr %7, align 4, !tbaa !17
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.MImage, ptr %58, i32 0, i32 1
  store i32 %57, ptr %59, align 4, !tbaa !19
  %60 = getelementptr inbounds [4 x ptr], ptr %8, i64 0, i64 0
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.MImage, ptr %61, i32 0, i32 3
  %63 = getelementptr inbounds [4 x ptr], ptr %62, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %60, ptr align 8 %63, i64 32, i1 false)
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.MImage, ptr %64, i32 0, i32 3
  %66 = getelementptr inbounds [4 x ptr], ptr %65, i64 0, i64 0
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.MImage, ptr %67, i32 0, i32 3
  %69 = getelementptr inbounds [4 x ptr], ptr %68, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %66, ptr align 8 %69, i64 32, i1 false)
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.MImage, ptr %70, i32 0, i32 3
  %72 = getelementptr inbounds [4 x ptr], ptr %71, i64 0, i64 0
  %73 = getelementptr inbounds [4 x ptr], ptr %8, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %72, ptr align 16 %73, i64 32, i1 false)
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.HandleImageCreate, ptr %74, i32 0, i32 4
  %76 = load i32, ptr %75, align 4, !tbaa !20
  store i32 %76, ptr %7, align 4, !tbaa !17
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.HandleImageCreate, ptr %77, i32 0, i32 4
  %79 = load i32, ptr %78, align 4, !tbaa !20
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.HandleImageCreate, ptr %80, i32 0, i32 4
  store i32 %79, ptr %81, align 4, !tbaa !20
  %82 = load i32, ptr %7, align 4, !tbaa !17
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.HandleImageCreate, ptr %83, i32 0, i32 4
  store i32 %82, ptr %84, align 4, !tbaa !20
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.HandleImageCreate, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %86, align 4, !tbaa !22
  store i32 %87, ptr %7, align 4, !tbaa !17
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.HandleImageCreate, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %89, align 4, !tbaa !22
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.HandleImageCreate, ptr %91, i32 0, i32 6
  store i32 %90, ptr %92, align 4, !tbaa !22
  %93 = load i32, ptr %7, align 4, !tbaa !17
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.HandleImageCreate, ptr %94, i32 0, i32 6
  store i32 %93, ptr %95, align 4, !tbaa !22
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.HandleImageCreate, ptr %96, i32 0, i32 5
  %98 = load i32, ptr %97, align 8, !tbaa !23
  store i32 %98, ptr %7, align 4, !tbaa !17
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.HandleImageCreate, ptr %99, i32 0, i32 5
  %101 = load i32, ptr %100, align 8, !tbaa !23
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.HandleImageCreate, ptr %102, i32 0, i32 5
  store i32 %101, ptr %103, align 8, !tbaa !23
  %104 = load i32, ptr %7, align 4, !tbaa !17
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.HandleImageCreate, ptr %105, i32 0, i32 5
  store i32 %104, ptr %106, align 8, !tbaa !23
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.HandleImageCreate, ptr %107, i32 0, i32 7
  %109 = load ptr, ptr %108, align 8, !tbaa !24
  %110 = getelementptr inbounds [4 x ptr], ptr %8, i64 0, i64 0
  store ptr %109, ptr %110, align 16, !tbaa !5
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.HandleImageCreate, ptr %111, i32 0, i32 7
  %113 = load ptr, ptr %112, align 8, !tbaa !24
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.HandleImageCreate, ptr %114, i32 0, i32 7
  store ptr %113, ptr %115, align 8, !tbaa !24
  %116 = getelementptr inbounds [4 x ptr], ptr %8, i64 0, i64 0
  %117 = load ptr, ptr %116, align 16, !tbaa !5
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.HandleImageCreate, ptr %118, i32 0, i32 7
  store ptr %117, ptr %119, align 8, !tbaa !24
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.HandleImageCreate, ptr %120, i32 0, i32 8
  %122 = load ptr, ptr %121, align 8, !tbaa !25
  %123 = getelementptr inbounds [4 x ptr], ptr %8, i64 0, i64 0
  store ptr %122, ptr %123, align 16, !tbaa !5
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.HandleImageCreate, ptr %124, i32 0, i32 8
  %126 = load ptr, ptr %125, align 8, !tbaa !25
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.HandleImageCreate, ptr %127, i32 0, i32 8
  store ptr %126, ptr %128, align 8, !tbaa !25
  %129 = getelementptr inbounds [4 x ptr], ptr %8, i64 0, i64 0
  %130 = load ptr, ptr %129, align 16, !tbaa !5
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.HandleImageCreate, ptr %131, i32 0, i32 8
  store ptr %130, ptr %132, align 8, !tbaa !25
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.HandleImageCreate, ptr %133, i32 0, i32 12
  %135 = load i32, ptr %134, align 8, !tbaa !26
  store i32 %135, ptr %7, align 4, !tbaa !17
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.HandleImageCreate, ptr %136, i32 0, i32 12
  %138 = load i32, ptr %137, align 8, !tbaa !26
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.HandleImageCreate, ptr %139, i32 0, i32 12
  store i32 %138, ptr %140, align 8, !tbaa !26
  %141 = load i32, ptr %7, align 4, !tbaa !17
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.HandleImageCreate, ptr %142, i32 0, i32 12
  store i32 %141, ptr %143, align 8, !tbaa !26
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.HandleImageCreate, ptr %144, i32 0, i32 13
  %146 = load i32, ptr %145, align 4, !tbaa !27
  store i32 %146, ptr %7, align 4, !tbaa !17
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.HandleImageCreate, ptr %147, i32 0, i32 13
  %149 = load i32, ptr %148, align 4, !tbaa !27
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.HandleImageCreate, ptr %150, i32 0, i32 13
  store i32 %149, ptr %151, align 4, !tbaa !27
  %152 = load i32, ptr %7, align 4, !tbaa !17
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.HandleImageCreate, ptr %153, i32 0, i32 13
  store i32 %152, ptr %154, align 4, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 }

!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 8}
!10 = !{!"HandleList", !11, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28}
!11 = !{!"MList", !12, i64 0, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"MHandle", !12, i64 0, !12, i64 4, !6, i64 8, !6, i64 16}
!15 = !{!16, !12, i64 0}
!16 = !{!"MImage", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 16, !6, i64 48}
!17 = !{!12, !12, i64 0}
!18 = !{!16, !12, i64 8}
!19 = !{!16, !12, i64 4}
!20 = !{!21, !12, i64 84}
!21 = !{!"HandleImageCreate", !6, i64 0, !6, i64 8, !7, i64 16, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !7, i64 128, !12, i64 160, !12, i64 164}
!22 = !{!21, !12, i64 92}
!23 = !{!21, !12, i64 88}
!24 = !{!21, !6, i64 96}
!25 = !{!21, !6, i64 104}
!26 = !{!21, !12, i64 160}
!27 = !{!21, !12, i64 164}


; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @MImageDataExchange(ptr nocapture noundef %0, ptr nocapture noundef %1) local_unnamed_addr #2 {
  %.sroa.8 = alloca [3 x ptr], align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 -24
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !12
  %6 = getelementptr inbounds i8, ptr %5, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !13
  %8 = getelementptr inbounds i8, ptr %1, i64 -24
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %12 = load ptr, ptr %11, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %.sroa.8)
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = load i32, ptr %13, align 8, !tbaa !15
  %15 = getelementptr inbounds i8, ptr %1, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !15
  store i32 %16, ptr %13, align 8, !tbaa !15
  store i32 %14, ptr %15, align 8, !tbaa !15
  %17 = load <2 x i32>, ptr %1, align 8, !tbaa !17
  %18 = load <2 x i32>, ptr %0, align 8, !tbaa !17
  store <2 x i32> %17, ptr %0, align 8, !tbaa !17
  store <2 x i32> %18, ptr %1, align 8, !tbaa !17
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  %.sroa.0.0.copyload = load ptr, ptr %19, align 8
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %.sroa.8, ptr noundef nonnull align 8 dereferenceable(24) %.sroa.8.0..sroa_idx, i64 24, i1 false)
  %20 = getelementptr inbounds i8, ptr %1, i64 16
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %20, i64 32, i1 false)
  store ptr %.sroa.0.0.copyload, ptr %20, align 8
  %.sroa.8.0..sroa_idx3 = getelementptr inbounds i8, ptr %1, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %.sroa.8.0..sroa_idx3, ptr noundef nonnull align 8 dereferenceable(24) %.sroa.8, i64 24, i1 false)
  %21 = getelementptr inbounds i8, ptr %7, i64 84
  %22 = getelementptr inbounds i8, ptr %12, i64 84
  %23 = getelementptr inbounds i8, ptr %7, i64 92
  %24 = load i32, ptr %23, align 4, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %12, i64 92
  %26 = load i32, ptr %25, align 4, !tbaa !18
  store i32 %26, ptr %23, align 4, !tbaa !18
  store i32 %24, ptr %25, align 4, !tbaa !18
  %27 = load <2 x i32>, ptr %22, align 4, !tbaa !17
  %28 = load <2 x i32>, ptr %21, align 4, !tbaa !17
  store <2 x i32> %27, ptr %21, align 4, !tbaa !17
  store <2 x i32> %28, ptr %22, align 4, !tbaa !17
  %29 = getelementptr inbounds i8, ptr %7, i64 96
  %30 = getelementptr inbounds i8, ptr %12, i64 96
  %31 = load <2 x ptr>, ptr %30, align 8, !tbaa !12
  %32 = load <2 x ptr>, ptr %29, align 8, !tbaa !12
  store <2 x ptr> %31, ptr %29, align 8, !tbaa !12
  store <2 x ptr> %32, ptr %30, align 8, !tbaa !12
  %33 = getelementptr inbounds i8, ptr %7, i64 160
  %34 = getelementptr inbounds i8, ptr %12, i64 160
  %35 = load <2 x i32>, ptr %34, align 8, !tbaa !17
  %36 = load <2 x i32>, ptr %33, align 8, !tbaa !17
  store <2 x i32> %35, ptr %33, align 8, !tbaa !17
  store <2 x i32> %36, ptr %34, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %.sroa.8)
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree norecurse nosync nounwind willreturn 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" }

!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, !11, i64 8}
!6 = !{!"HandleList", !7, i64 0, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28}
!7 = !{!"MList", !8, i64 0, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !11, i64 16}
!14 = !{!"MHandle", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16}
!15 = !{!16, !8, i64 8}
!16 = !{!"MImage", !8, i64 0, !8, i64 4, !8, i64 8, !9, i64 16, !11, i64 48}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !8, i64 92}
!19 = !{!"HandleImageCreate", !11, i64 0, !11, i64 8, !9, i64 16, !8, i64 80, !8, i64 84, !8, i64 88, !8, i64 92, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !9, i64 128, !8, i64 160, !8, i64 164}


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