; LLVM IR from 0intro/wmii :: cmd/strut (ewmh)

; 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.Rectangle = type { %struct.Point, %struct.Point }
%struct.Point = type { i32, i32 }

@.str = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @ewmh_getstrut(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.Rectangle, align 4
  %9 = alloca %struct.Rectangle, align 4
  %10 = alloca %struct.Rectangle, align 4
  %11 = alloca %struct.Rectangle, align 4
  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) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 64, i1 false)
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call i64 @getprop_long(ptr noundef %13, ptr noundef @.str, ptr noundef @.str.1, i64 noundef 0, ptr noundef %5, i64 noundef 12)
  store i64 %14, ptr %6, align 8, !tbaa !9
  %15 = load i64, ptr %6, align 8, !tbaa !9
  %16 = icmp ne i64 %15, 12
  br i1 %16, label %17, label %44

17:                                               ; preds = %2
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %18) #6
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = call i64 @getprop_long(ptr noundef %19, ptr noundef @.str.2, ptr noundef @.str.1, i64 noundef 0, ptr noundef %5, i64 noundef 4)
  store i64 %20, ptr %6, align 8, !tbaa !9
  %21 = load i64, ptr %6, align 8, !tbaa !9
  %22 = icmp ne i64 %21, 4
  br i1 %22, label %23, label %25

23:                                               ; preds = %17
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %24) #6
  store i32 1, ptr %7, align 4
  br label %128

25:                                               ; preds = %17
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call ptr @erealloc(ptr noundef %26, i32 noundef 96)
  store ptr %27, ptr %5, align 8, !tbaa !5
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds i64, ptr %28, i64 6
  store i64 0, ptr %29, align 8, !tbaa !9
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds i64, ptr %30, i64 4
  store i64 0, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds i64, ptr %32, i64 7
  store i64 2147483647, ptr %33, align 8, !tbaa !9
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds i64, ptr %34, i64 5
  store i64 2147483647, ptr %35, align 8, !tbaa !9
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds i64, ptr %36, i64 10
  store i64 0, ptr %37, align 8, !tbaa !9
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds i64, ptr %38, i64 8
  store i64 0, ptr %39, align 8, !tbaa !9
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds i64, ptr %40, i64 11
  store i64 2147483647, ptr %41, align 8, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds i64, ptr %42, i64 9
  store i64 2147483647, ptr %43, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %25, %2
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.Rectangle, ptr %45, i64 0
  %47 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 0
  %48 = getelementptr inbounds %struct.Point, ptr %47, i32 0, i32 0
  store i32 0, ptr %48, align 4, !tbaa !11
  %49 = getelementptr inbounds %struct.Point, ptr %47, i32 0, i32 1
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds i64, ptr %50, i64 4
  %52 = load i64, ptr %51, align 8, !tbaa !9
  %53 = trunc i64 %52 to i32
  store i32 %53, ptr %49, align 4, !tbaa !14
  %54 = getelementptr inbounds %struct.Rectangle, ptr %8, i32 0, i32 1
  %55 = getelementptr inbounds %struct.Point, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds i64, ptr %56, i64 0
  %58 = load i64, ptr %57, align 8, !tbaa !9
  %59 = trunc i64 %58 to i32
  store i32 %59, ptr %55, align 4, !tbaa !11
  %60 = getelementptr inbounds %struct.Point, ptr %54, i32 0, i32 1
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds i64, ptr %61, i64 5
  %63 = load i64, ptr %62, align 8, !tbaa !9
  %64 = trunc i64 %63 to i32
  store i32 %64, ptr %60, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %8, i64 16, i1 false), !tbaa.struct !15
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.Rectangle, ptr %65, i64 1
  %67 = getelementptr inbounds %struct.Rectangle, ptr %9, i32 0, i32 0
  %68 = getelementptr inbounds %struct.Point, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds i64, ptr %69, i64 1
  %71 = load i64, ptr %70, align 8, !tbaa !9
  %72 = sub nsw i64 0, %71
  %73 = trunc i64 %72 to i32
  store i32 %73, ptr %68, align 4, !tbaa !11
  %74 = getelementptr inbounds %struct.Point, ptr %67, i32 0, i32 1
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds i64, ptr %75, i64 6
  %77 = load i64, ptr %76, align 8, !tbaa !9
  %78 = trunc i64 %77 to i32
  store i32 %78, ptr %74, align 4, !tbaa !14
  %79 = getelementptr inbounds %struct.Rectangle, ptr %9, i32 0, i32 1
  %80 = getelementptr inbounds %struct.Point, ptr %79, i32 0, i32 0
  store i32 0, ptr %80, align 4, !tbaa !11
  %81 = getelementptr inbounds %struct.Point, ptr %79, i32 0, i32 1
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds i64, ptr %82, i64 7
  %84 = load i64, ptr %83, align 8, !tbaa !9
  %85 = trunc i64 %84 to i32
  store i32 %85, ptr %81, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %9, i64 16, i1 false), !tbaa.struct !15
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.Rectangle, ptr %86, i64 2
  %88 = getelementptr inbounds %struct.Rectangle, ptr %10, i32 0, i32 0
  %89 = getelementptr inbounds %struct.Point, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds i64, ptr %90, i64 8
  %92 = load i64, ptr %91, align 8, !tbaa !9
  %93 = trunc i64 %92 to i32
  store i32 %93, ptr %89, align 4, !tbaa !11
  %94 = getelementptr inbounds %struct.Point, ptr %88, i32 0, i32 1
  store i32 0, ptr %94, align 4, !tbaa !14
  %95 = getelementptr inbounds %struct.Rectangle, ptr %10, i32 0, i32 1
  %96 = getelementptr inbounds %struct.Point, ptr %95, i32 0, i32 0
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds i64, ptr %97, i64 9
  %99 = load i64, ptr %98, align 8, !tbaa !9
  %100 = trunc i64 %99 to i32
  store i32 %100, ptr %96, align 4, !tbaa !11
  %101 = getelementptr inbounds %struct.Point, ptr %95, i32 0, i32 1
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds i64, ptr %102, i64 2
  %104 = load i64, ptr %103, align 8, !tbaa !9
  %105 = trunc i64 %104 to i32
  store i32 %105, ptr %101, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !15
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.Rectangle, ptr %106, i64 3
  %108 = getelementptr inbounds %struct.Rectangle, ptr %11, i32 0, i32 0
  %109 = getelementptr inbounds %struct.Point, ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds i64, ptr %110, i64 10
  %112 = load i64, ptr %111, align 8, !tbaa !9
  %113 = trunc i64 %112 to i32
  store i32 %113, ptr %109, align 4, !tbaa !11
  %114 = getelementptr inbounds %struct.Point, ptr %108, i32 0, i32 1
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds i64, ptr %115, i64 3
  %117 = load i64, ptr %116, align 8, !tbaa !9
  %118 = sub nsw i64 0, %117
  %119 = trunc i64 %118 to i32
  store i32 %119, ptr %114, align 4, !tbaa !14
  %120 = getelementptr inbounds %struct.Rectangle, ptr %11, i32 0, i32 1
  %121 = getelementptr inbounds %struct.Point, ptr %120, i32 0, i32 0
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds i64, ptr %122, i64 11
  %124 = load i64, ptr %123, align 8, !tbaa !9
  %125 = trunc i64 %124 to i32
  store i32 %125, ptr %121, align 4, !tbaa !11
  %126 = getelementptr inbounds %struct.Point, ptr %120, i32 0, i32 1
  store i32 0, ptr %126, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %107, ptr align 4 %11, i64 16, i1 false), !tbaa.struct !15
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %127) #6
  store i32 0, ptr %7, align 4
  br label %128

128:                                              ; preds = %44, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  %129 = load i32, ptr %7, align 4
  switch i32 %129, label %131 [
    i32 0, label %130
    i32 1, label %130
  ]

130:                                              ; preds = %128, %128
  ret void

131:                                              ; preds = %128
  unreachable
}

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

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

declare i64 @getprop_long(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #3

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

declare ptr @erealloc(ptr noundef, i32 noundef) #3

; 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) #5

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

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 "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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"Point", !13, i64 0, !13, i64 4}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{i64 0, i64 4, !16, i64 4, i64 4, !16, i64 8, i64 4, !16, i64 12, i64 4, !16}
!16 = !{!13, !13, i64 0}


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

@.str = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @ewmh_getstrut(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %1, i8 0, i64 64, i1 false)
  %4 = call i64 @getprop_long(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i64 noundef 0, ptr noundef nonnull %3, i64 noundef 12) #5
  %.not = icmp eq i64 %4, 12
  %.pre = load ptr, ptr %3, align 8, !tbaa !5
  br i1 %.not, label %._crit_edge, label %13

._crit_edge:                                      ; preds = %2
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 32
  %.pre21 = load i64, ptr %.phi.trans.insert, align 8, !tbaa !9
  %.phi.trans.insert22 = getelementptr inbounds i8, ptr %.pre, i64 40
  %.pre23 = load i64, ptr %.phi.trans.insert22, align 8, !tbaa !9
  %.phi.trans.insert24 = getelementptr inbounds i8, ptr %.pre, i64 48
  %.pre25 = load i64, ptr %.phi.trans.insert24, align 8, !tbaa !9
  %.phi.trans.insert26 = getelementptr inbounds i8, ptr %.pre, i64 56
  %5 = load <2 x i64>, ptr %.phi.trans.insert26, align 8, !tbaa !9
  %.phi.trans.insert30 = getelementptr inbounds i8, ptr %.pre, i64 72
  %.pre31 = load i64, ptr %.phi.trans.insert30, align 8, !tbaa !9
  %.phi.trans.insert32 = getelementptr inbounds i8, ptr %.pre, i64 80
  %.pre33 = load i64, ptr %.phi.trans.insert32, align 8, !tbaa !9
  %.phi.trans.insert34 = getelementptr inbounds i8, ptr %.pre, i64 88
  %.pre35 = load i64, ptr %.phi.trans.insert34, align 8, !tbaa !9
  %6 = trunc i64 %.pre21 to i32
  %7 = trunc i64 %.pre23 to i32
  %8 = trunc i64 %.pre25 to i32
  %9 = trunc <2 x i64> %5 to <2 x i32>
  %10 = trunc i64 %.pre31 to i32
  %11 = trunc i64 %.pre33 to i32
  %12 = trunc i64 %.pre35 to i32
  br label %27

13:                                               ; preds = %2
  call void @free(ptr noundef %.pre) #5
  %14 = call i64 @getprop_long(ptr noundef %0, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i64 noundef 0, ptr noundef nonnull %3, i64 noundef 4) #5
  %.not20 = icmp eq i64 %14, 4
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  br i1 %.not20, label %17, label %16

16:                                               ; preds = %13
  call void @free(ptr noundef %15) #5
  br label %51

17:                                               ; preds = %13
  %18 = call ptr @erealloc(ptr noundef %15, i32 noundef 96) #5
  store ptr %18, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 48
  store i64 0, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %18, i64 32
  store i64 0, ptr %20, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %18, i64 56
  store i64 2147483647, ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %18, i64 40
  store i64 2147483647, ptr %22, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %18, i64 80
  store i64 0, ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds i8, ptr %18, i64 64
  store i64 0, ptr %24, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %18, i64 88
  store i64 2147483647, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %18, i64 72
  store i64 2147483647, ptr %26, align 8, !tbaa !9
  br label %27

27:                                               ; preds = %._crit_edge, %17
  %28 = phi i32 [ 2147483647, %17 ], [ %12, %._crit_edge ]
  %29 = phi i32 [ 0, %17 ], [ %11, %._crit_edge ]
  %30 = phi i32 [ 2147483647, %17 ], [ %10, %._crit_edge ]
  %31 = phi i32 [ 0, %17 ], [ %8, %._crit_edge ]
  %32 = phi i32 [ 2147483647, %17 ], [ %7, %._crit_edge ]
  %33 = phi i32 [ 0, %17 ], [ %6, %._crit_edge ]
  %34 = phi ptr [ %18, %17 ], [ %.pre, %._crit_edge ]
  %35 = phi <2 x i32> [ <i32 2147483647, i32 0>, %17 ], [ %9, %._crit_edge ]
  %36 = load i64, ptr %34, align 8, !tbaa !9
  %37 = trunc i64 %36 to i32
  store i32 0, ptr %1, align 4, !tbaa !11
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 4
  store i32 %33, ptr %.sroa.210.0..sroa_idx, align 4, !tbaa !11
  %.sroa.311.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 8
  store i32 %37, ptr %.sroa.311.0..sroa_idx, align 4, !tbaa !11
  %.sroa.412.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 12
  store i32 %32, ptr %.sroa.412.0..sroa_idx, align 4, !tbaa !11
  %38 = getelementptr inbounds i8, ptr %1, i64 16
  %39 = getelementptr inbounds i8, ptr %34, i64 8
  %40 = load i64, ptr %39, align 8, !tbaa !9
  %41 = trunc i64 %40 to i32
  %42 = sub i32 0, %41
  store i32 %42, ptr %38, align 4, !tbaa !11
  %.sroa.26.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 20
  store i32 %31, ptr %.sroa.26.0..sroa_idx, align 4, !tbaa !11
  %.sroa.37.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 24
  store i32 0, ptr %.sroa.37.0..sroa_idx, align 4, !tbaa !11
  %.sroa.48.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 28
  %43 = getelementptr inbounds i8, ptr %34, i64 16
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = trunc i64 %44 to i32
  store <2 x i32> %35, ptr %.sroa.48.0..sroa_idx, align 4, !tbaa !11
  %.sroa.22.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 36
  store i32 0, ptr %.sroa.22.0..sroa_idx, align 4, !tbaa !11
  %.sroa.33.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 40
  store i32 %30, ptr %.sroa.33.0..sroa_idx, align 4, !tbaa !11
  %.sroa.44.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 44
  store i32 %45, ptr %.sroa.44.0..sroa_idx, align 4, !tbaa !11
  %46 = getelementptr inbounds i8, ptr %1, i64 48
  %47 = getelementptr inbounds i8, ptr %34, i64 24
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = trunc i64 %48 to i32
  %50 = sub i32 0, %49
  store i32 %29, ptr %46, align 4, !tbaa !11
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 52
  store i32 %50, ptr %.sroa.2.0..sroa_idx, align 4, !tbaa !11
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 56
  store i32 %28, ptr %.sroa.3.0..sroa_idx, align 4, !tbaa !11
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 60
  store i32 0, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !11
  call void @free(ptr noundef nonnull %34) #5
  br label %51

51:                                               ; preds = %27, %16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret void
}

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

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

declare i64 @getprop_long(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

declare ptr @erealloc(ptr noundef, i32 noundef) local_unnamed_addr #3

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

attributes #0 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 = { 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 #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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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