; LLVM IR from trustwallet/wallet-core :: trezor-crypto/crypto (ecdsa)

; 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.bignum256 = type { [9 x i32] }
%struct.ecdsa_curve = type { %struct.bignum256, %struct.curve_point, %struct.bignum256, %struct.bignum256, i32, %struct.bignum256, [64 x [8 x %struct.curve_point]] }
%struct.curve_point = type { %struct.bignum256, %struct.bignum256 }
%struct.jacobian_curve_point = type { %struct.bignum256, %struct.bignum256, %struct.bignum256 }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__.point_jacobian_double = external hidden unnamed_addr constant [72 x i8], align 1

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

; 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 void @bn_subtractmod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare void @bn_multiply(ptr noundef, ptr noundef, ptr noundef) #3

declare void @bn_fast_mod(ptr noundef, ptr noundef) #3

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

declare void @bn_mult_k(ptr noundef, i8 noundef zeroext, ptr noundef) #3

declare void @bn_lshift(ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

declare void @bn_mult_half(ptr noundef, ptr noundef) #3

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

17:                                               ; preds = %2
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.ecdsa_curve, ptr %18, i32 0, i32 4
  %20 = load i32, ptr %19, align 4, !tbaa !9
  %21 = icmp sle i32 %20, 0
  br i1 %21, label %22, label %23

22:                                               ; preds = %17
  br label %24

23:                                               ; preds = %17, %2
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 341, ptr noundef @__PRETTY_FUNCTION__.point_jacobian_double) #7
  unreachable

24:                                               ; preds = %22
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.jacobian_curve_point, ptr %25, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %26, i64 36, i1 false), !tbaa.struct !14
  %27 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %6, ptr noundef %6, ptr noundef %27)
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_mult_k(ptr noundef %6, i8 noundef zeroext 3, ptr noundef %28)
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.jacobian_curve_point, ptr %29, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %30, i64 36, i1 false), !tbaa.struct !14
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %5, ptr noundef %5, ptr noundef %31)
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %5, ptr noundef %5, ptr noundef %32)
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ecdsa_curve, ptr %33, i32 0, i32 4
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = sub nsw i32 0, %35
  %37 = trunc i32 %36 to i8
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_mult_k(ptr noundef %5, i8 noundef zeroext %37, ptr noundef %38)
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_subtractmod(ptr noundef %6, ptr noundef %5, ptr noundef %6, ptr noundef %39)
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_mult_half(ptr noundef %6, ptr noundef %40)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %6, i64 36, i1 false), !tbaa.struct !14
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %7, ptr noundef %7, ptr noundef %41)
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.jacobian_curve_point, ptr %42, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %43, i64 36, i1 false), !tbaa.struct !14
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %8, ptr noundef %8, ptr noundef %44)
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.jacobian_curve_point, ptr %45, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %46, i64 36, i1 false), !tbaa.struct !14
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %8, ptr noundef %9, ptr noundef %47)
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.jacobian_curve_point, ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.jacobian_curve_point, ptr %50, i32 0, i32 2
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %49, ptr noundef %51, ptr noundef %52)
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.jacobian_curve_point, ptr %53, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %9, i64 36, i1 false), !tbaa.struct !14
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.jacobian_curve_point, ptr %55, i32 0, i32 0
  call void @bn_lshift(ptr noundef %56)
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.jacobian_curve_point, ptr %57, i32 0, i32 0
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_fast_mod(ptr noundef %58, ptr noundef %59)
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.jacobian_curve_point, ptr %60, i32 0, i32 0
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.jacobian_curve_point, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_subtractmod(ptr noundef %7, ptr noundef %61, ptr noundef %63, ptr noundef %64)
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.jacobian_curve_point, ptr %65, i32 0, i32 0
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_fast_mod(ptr noundef %66, ptr noundef %67)
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.jacobian_curve_point, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.jacobian_curve_point, ptr %70, i32 0, i32 1
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_subtractmod(ptr noundef %9, ptr noundef %69, ptr noundef %71, ptr noundef %72)
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.jacobian_curve_point, ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %6, ptr noundef %74, ptr noundef %75)
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_multiply(ptr noundef %8, ptr noundef %8, ptr noundef %76)
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.jacobian_curve_point, ptr %77, i32 0, i32 1
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.jacobian_curve_point, ptr %79, i32 0, i32 1
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_subtractmod(ptr noundef %78, ptr noundef %8, ptr noundef %80, ptr noundef %81)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.jacobian_curve_point, ptr %82, i32 0, i32 1
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  call void @bn_fast_mod(ptr noundef %83, ptr noundef %84)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %5) #6
  ret void
}

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn 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 = { 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 = { noreturn 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, !13, i64 180}
!10 = !{!"", !11, i64 0, !12, i64 36, !11, i64 108, !11, i64 144, !13, i64 180, !11, i64 184, !7, i64 220}
!11 = !{!"", !7, i64 0}
!12 = !{!"", !11, i64 0, !11, i64 36}
!13 = !{!"int", !7, i64 0}
!14 = !{i64 0, i64 36, !15}
!15 = !{!7, !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"

%struct.bignum256 = type { [9 x i32] }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__.point_jacobian_double = external hidden unnamed_addr constant [72 x i8], align 1

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

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

declare void @bn_subtractmod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @bn_multiply(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @bn_fast_mod(ptr noundef, ptr noundef) 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) #1

declare void @bn_mult_k(ptr noundef, i8 noundef zeroext, ptr noundef) local_unnamed_addr #2

declare void @bn_lshift(ptr noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @bn_mult_half(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @point_jacobian_double(ptr noundef %0, ptr noundef %1) local_unnamed_addr #4 {
  %3 = alloca %struct.bignum256, align 4
  %4 = alloca %struct.bignum256, align 4
  %5 = alloca %struct.bignum256, align 4
  %6 = alloca %struct.bignum256, align 4
  %7 = alloca %struct.bignum256, align 4
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #5
  %8 = getelementptr inbounds i8, ptr %1, i64 180
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = add i32 %9, 3
  %or.cond = icmp ult i32 %10, 4
  br i1 %or.cond, label %12, label %11

11:                                               ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 341, ptr noundef nonnull @__PRETTY_FUNCTION__.point_jacobian_double) #6
  unreachable

12:                                               ; preds = %2
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %4, ptr noundef nonnull align 4 dereferenceable(36) %0, i64 36, i1 false), !tbaa.struct !12
  call void @bn_multiply(ptr noundef nonnull %4, ptr noundef nonnull %4, ptr noundef nonnull %1) #5
  call void @bn_mult_k(ptr noundef nonnull %4, i8 noundef zeroext 3, ptr noundef nonnull %1) #5
  %13 = getelementptr inbounds i8, ptr %0, i64 72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %3, ptr noundef nonnull align 4 dereferenceable(36) %13, i64 36, i1 false), !tbaa.struct !12
  call void @bn_multiply(ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %1) #5
  call void @bn_multiply(ptr noundef nonnull %3, ptr noundef nonnull %3, ptr noundef nonnull %1) #5
  %14 = load i32, ptr %8, align 4, !tbaa !5
  %15 = trunc i32 %14 to i8
  %16 = sub i8 0, %15
  call void @bn_mult_k(ptr noundef nonnull %3, i8 noundef zeroext %16, ptr noundef nonnull %1) #5
  call void @bn_subtractmod(ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %1) #5
  call void @bn_mult_half(ptr noundef nonnull %4, ptr noundef nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %5, ptr noundef nonnull align 4 dereferenceable(36) %4, i64 36, i1 false), !tbaa.struct !12
  call void @bn_multiply(ptr noundef nonnull %5, ptr noundef nonnull %5, ptr noundef nonnull %1) #5
  %17 = getelementptr inbounds i8, ptr %0, i64 36
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %6, ptr noundef nonnull align 4 dereferenceable(36) %17, i64 36, i1 false), !tbaa.struct !12
  call void @bn_multiply(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %7, ptr noundef nonnull align 4 dereferenceable(36) %0, i64 36, i1 false), !tbaa.struct !12
  call void @bn_multiply(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %1) #5
  call void @bn_multiply(ptr noundef nonnull %17, ptr noundef nonnull %13, ptr noundef nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(36) %0, ptr noundef nonnull align 4 dereferenceable(36) %7, i64 36, i1 false), !tbaa.struct !12
  call void @bn_lshift(ptr noundef %0) #5
  call void @bn_fast_mod(ptr noundef %0, ptr noundef nonnull %1) #5
  call void @bn_subtractmod(ptr noundef nonnull %5, ptr noundef %0, ptr noundef %0, ptr noundef nonnull %1) #5
  call void @bn_fast_mod(ptr noundef %0, ptr noundef nonnull %1) #5
  call void @bn_subtractmod(ptr noundef nonnull %7, ptr noundef %0, ptr noundef nonnull %17, ptr noundef nonnull %1) #5
  call void @bn_multiply(ptr noundef nonnull %4, ptr noundef nonnull %17, ptr noundef nonnull %1) #5
  call void @bn_multiply(ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef nonnull %1) #5
  call void @bn_subtractmod(ptr noundef nonnull %17, ptr noundef nonnull %6, ptr noundef nonnull %17, ptr noundef nonnull %1) #5
  call void @bn_fast_mod(ptr noundef nonnull %17, ptr noundef nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %3) #5
  ret void
}

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn 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 #4 = { 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 }
attributes #6 = { noreturn 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, !11, i64 180}
!6 = !{!"", !7, i64 0, !10, i64 36, !7, i64 108, !7, i64 144, !11, i64 180, !7, i64 184, !8, i64 220}
!7 = !{!"", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !7, i64 0, !7, i64 36}
!11 = !{!"int", !8, i64 0}
!12 = !{i64 0, i64 36, !13}
!13 = !{!8, !8, i64 0}


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