; LLVM IR from recp/cglm :: test/src (tests)

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

@stderr = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.787 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_quat_axis.q1 = external hidden unnamed_addr constant [4 x float], align 16

; 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 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
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

declare { ptr, i32 } @test_assert_vec3_eq(ptr noundef, ptr noundef) #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec3_normalize(ptr noundef) #4

declare void @test_rand_vec3(ptr noundef) #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_quat_axis(ptr noundef, ptr noundef) #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_rad(float noundef) #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_quatv(ptr noundef, float noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_quat_axis() #5 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x float], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [3 x float], align 4
  %6 = alloca [3 x float], align 4
  %7 = alloca %struct.test_status_t, align 8
  %8 = alloca %struct.test_status_t, align 8
  %9 = alloca i32, align 4
  %10 = alloca %struct.test_status_t, align 8
  %11 = alloca %struct.test_status_t, align 8
  %12 = alloca %struct.test_status_t, align 8
  %13 = alloca %struct.test_status_t, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_glm_quat_axis.q1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #6
  %14 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @test_rand_vec3(ptr noundef %14)
  %15 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %16 = call float @glm_rad(float noundef 6.000000e+01)
  %17 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_quatv(ptr noundef %15, float noundef %16, ptr noundef %17)
  %18 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %19 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_quat_axis(ptr noundef %18, ptr noundef %19)
  %20 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_vec3_normalize(ptr noundef %20)
  br label %21

21:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %22 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  %23 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  %24 = call { ptr, i32 } @test_assert_vec3_eq(ptr noundef %22, ptr noundef %23)
  %25 = getelementptr inbounds { ptr, i32 }, ptr %8, i32 0, i32 0
  %26 = extractvalue { ptr, i32 } %24, 0
  store ptr %26, ptr %25, align 8
  %27 = getelementptr inbounds { ptr, i32 }, ptr %8, i32 0, i32 1
  %28 = extractvalue { ptr, i32 } %24, 1
  store i32 %28, ptr %27, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  %29 = getelementptr inbounds %struct.test_status_t, ptr %7, i32 0, i32 1
  %30 = load i32, ptr %29, align 8, !tbaa !12
  %31 = icmp ne i32 %30, 1
  br i1 %31, label %32, label %39

32:                                               ; preds = %21
  %33 = load ptr, ptr @stderr, align 8, !tbaa !6
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 461, ptr noundef @.str.140) #6
  %35 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %36 = getelementptr inbounds %struct.test_status_t, ptr %7, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !14
  store ptr %37, ptr %35, align 8, !tbaa !14
  %38 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %38, align 8, !tbaa !12
  store i32 1, ptr %9, align 4
  br label %40

39:                                               ; preds = %21
  store i32 0, ptr %9, align 4
  br label %40

40:                                               ; preds = %39, %32
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  %41 = load i32, ptr %9, align 4
  switch i32 %41, label %109 [
    i32 0, label %42
  ]

42:                                               ; preds = %40
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  %45 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @test_rand_vec3(ptr noundef %45)
  %46 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %47 = call float @glm_rad(float noundef 6.000000e+01)
  %48 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_quatv(ptr noundef %46, float noundef %47, ptr noundef %48)
  %49 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %50 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_quat_axis(ptr noundef %49, ptr noundef %50)
  %51 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_vec3_normalize(ptr noundef %51)
  br label %52

52:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %53 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  %54 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  %55 = call { ptr, i32 } @test_assert_vec3_eq(ptr noundef %53, ptr noundef %54)
  %56 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 0
  %57 = extractvalue { ptr, i32 } %55, 0
  store ptr %57, ptr %56, align 8
  %58 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 1
  %59 = extractvalue { ptr, i32 } %55, 1
  store i32 %59, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  %60 = getelementptr inbounds %struct.test_status_t, ptr %10, i32 0, i32 1
  %61 = load i32, ptr %60, align 8, !tbaa !12
  %62 = icmp ne i32 %61, 1
  br i1 %62, label %63, label %70

63:                                               ; preds = %52
  %64 = load ptr, ptr @stderr, align 8, !tbaa !6
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 468, ptr noundef @.str.140) #6
  %66 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %67 = getelementptr inbounds %struct.test_status_t, ptr %10, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !14
  store ptr %68, ptr %66, align 8, !tbaa !14
  %69 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %69, align 8, !tbaa !12
  store i32 1, ptr %9, align 4
  br label %71

70:                                               ; preds = %52
  store i32 0, ptr %9, align 4
  br label %71

71:                                               ; preds = %70, %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  %72 = load i32, ptr %9, align 4
  switch i32 %72, label %109 [
    i32 0, label %73
  ]

73:                                               ; preds = %71
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  %76 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @test_rand_vec3(ptr noundef %76)
  %77 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %78 = call float @glm_rad(float noundef 6.000000e+01)
  %79 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_quatv(ptr noundef %77, float noundef %78, ptr noundef %79)
  %80 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %81 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_quat_axis(ptr noundef %80, ptr noundef %81)
  %82 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_vec3_normalize(ptr noundef %82)
  br label %83

83:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %84 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  %85 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  %86 = call { ptr, i32 } @test_assert_vec3_eq(ptr noundef %84, ptr noundef %85)
  %87 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 0
  %88 = extractvalue { ptr, i32 } %86, 0
  store ptr %88, ptr %87, align 8
  %89 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 1
  %90 = extractvalue { ptr, i32 } %86, 1
  store i32 %90, ptr %89, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  %91 = getelementptr inbounds %struct.test_status_t, ptr %12, i32 0, i32 1
  %92 = load i32, ptr %91, align 8, !tbaa !12
  %93 = icmp ne i32 %92, 1
  br i1 %93, label %94, label %101

94:                                               ; preds = %83
  %95 = load ptr, ptr @stderr, align 8, !tbaa !6
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 475, ptr noundef @.str.140) #6
  %97 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %98 = getelementptr inbounds %struct.test_status_t, ptr %12, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !14
  store ptr %99, ptr %97, align 8, !tbaa !14
  %100 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %100, align 8, !tbaa !12
  store i32 1, ptr %9, align 4
  br label %102

101:                                              ; preds = %83
  store i32 0, ptr %9, align 4
  br label %102

102:                                              ; preds = %101, %94
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  %103 = load i32, ptr %9, align 4
  switch i32 %103, label %109 [
    i32 0, label %104
  ]

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  %107 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %107, align 8, !tbaa !14
  %108 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %108, align 8, !tbaa !12
  store i32 1, ptr %9, align 4
  br label %109

109:                                              ; preds = %106, %102, %71, %40
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  %110 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %110
}

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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.787 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_quat_axis.q1 = external hidden unnamed_addr constant [4 x float], align 16

; 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 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

declare { ptr, i32 } @test_assert_vec3_eq(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec3_normalize(ptr noundef) local_unnamed_addr #4

declare void @test_rand_vec3(ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_quat_axis(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_rad(float noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_quatv(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_quat_axis() local_unnamed_addr #5 {
  %1 = alloca [4 x float], align 16
  %2 = alloca [4 x float], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [3 x float], align 4
  %5 = alloca [3 x float], align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_quat_axis.q1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  call void @test_rand_vec3(ptr noundef nonnull %4) #6
  %6 = call float @glm_rad(float noundef 6.000000e+01)
  call void @glm_quatv(ptr noundef nonnull %1, float noundef %6, ptr noundef nonnull %4)
  call void @glm_quat_axis(ptr noundef nonnull %1, ptr noundef nonnull %5)
  call void @glm_vec3_normalize(ptr noundef nonnull %4)
  %7 = call { ptr, i32 } @test_assert_vec3_eq(ptr noundef nonnull %4, ptr noundef nonnull %5) #6
  %8 = extractvalue { ptr, i32 } %7, 1
  %.not = icmp eq i32 %8, 1
  br i1 %.not, label %.critedge, label %9

9:                                                ; preds = %0
  %10 = extractvalue { ptr, i32 } %7, 0
  %11 = load ptr, ptr @stderr, align 8, !tbaa !5
  %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 461, ptr noundef nonnull @.str.140) #7
  br label %29

.critedge:                                        ; preds = %0
  call void @test_rand_vec3(ptr noundef nonnull %4) #6
  %13 = call float @glm_rad(float noundef 6.000000e+01)
  call void @glm_quatv(ptr noundef nonnull %2, float noundef %13, ptr noundef nonnull %4)
  call void @glm_quat_axis(ptr noundef nonnull %2, ptr noundef nonnull %5)
  call void @glm_vec3_normalize(ptr noundef nonnull %4)
  %14 = call { ptr, i32 } @test_assert_vec3_eq(ptr noundef nonnull %4, ptr noundef nonnull %5) #6
  %15 = extractvalue { ptr, i32 } %14, 1
  %.not21 = icmp eq i32 %15, 1
  br i1 %.not21, label %20, label %16

16:                                               ; preds = %.critedge
  %17 = extractvalue { ptr, i32 } %14, 0
  %18 = load ptr, ptr @stderr, align 8, !tbaa !5
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 468, ptr noundef nonnull @.str.140) #7
  br label %29

20:                                               ; preds = %.critedge
  call void @test_rand_vec3(ptr noundef nonnull %4) #6
  %21 = call float @glm_rad(float noundef 6.000000e+01)
  call void @glm_quatv(ptr noundef nonnull %3, float noundef %21, ptr noundef nonnull %4)
  call void @glm_quat_axis(ptr noundef nonnull %3, ptr noundef nonnull %5)
  call void @glm_vec3_normalize(ptr noundef nonnull %4)
  %22 = call { ptr, i32 } @test_assert_vec3_eq(ptr noundef nonnull %4, ptr noundef nonnull %5) #6
  %23 = extractvalue { ptr, i32 } %22, 1
  %.not22 = icmp eq i32 %23, 1
  br i1 %.not22, label %28, label %24

24:                                               ; preds = %20
  %25 = extractvalue { ptr, i32 } %22, 0
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 475, ptr noundef nonnull @.str.140) #7
  br label %28

28:                                               ; preds = %20, %24
  %spec.select = phi ptr [ %25, %24 ], [ null, %20 ]
  %spec.select23 = zext i1 %.not22 to i32
  br label %29

29:                                               ; preds = %16, %28, %9
  %.sroa.019.3 = phi ptr [ %17, %16 ], [ %10, %9 ], [ %spec.select, %28 ]
  %.sroa.520.3 = phi i32 [ 0, %16 ], [ 0, %9 ], [ %spec.select23, %28 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  %.fca.0.insert = insertvalue { ptr, i32 } poison, ptr %.sroa.019.3, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.520.3, 1
  ret { ptr, i32 } %.fca.1.insert
}

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass