; LLVM IR from ClementineAccount/Albuquerque :: src/HelloSDL (main)

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

%union.nk_handle = type { ptr }
%struct.nk_font_atlas = type { ptr, i32, i32, %struct.nk_allocator, %struct.nk_allocator, %struct.nk_recti, [7 x %struct.nk_cursor], i32, ptr, ptr, ptr, ptr, i32 }
%struct.nk_allocator = type { %union.nk_handle, ptr, ptr }
%struct.nk_recti = type { i16, i16, i16, i16 }
%struct.nk_cursor = type { %struct.nk_image, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_image = type { %union.nk_handle, i16, i16, [4 x i16] }
%struct.nk_vec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [12 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local i32 @nk_strlen(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local ptr @nk_font_atlas_add_compressed(ptr noundef, ptr noundef, i64 noundef, float noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local ptr @nk_font_atlas_add_compressed_base85(ptr noundef %0, ptr noundef %1, float noundef %2, ptr noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %union.nk_handle, align 8
  %15 = alloca %union.nk_handle, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store float %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %19

18:                                               ; preds = %4
  br label %21

19:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str.1, i32 noundef 17555, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #6
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.nk_font_atlas, ptr %22, i32 0, i32 4
  %24 = getelementptr inbounds %struct.nk_allocator, ptr %23, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %28

27:                                               ; preds = %21
  br label %30

28:                                               ; preds = %21
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.1, i32 noundef 17556, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #6
  unreachable

29:                                               ; No predecessors!
  br label %30

30:                                               ; preds = %29, %27
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.nk_font_atlas, ptr %31, i32 0, i32 4
  %33 = getelementptr inbounds %struct.nk_allocator, ptr %32, i32 0, i32 2
  %34 = load ptr, ptr %33, align 8, !tbaa !17
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %37

36:                                               ; preds = %30
  br label %39

37:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.53, ptr noundef @.str.1, i32 noundef 17557, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #6
  unreachable

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38, %36
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.nk_font_atlas, ptr %40, i32 0, i32 3
  %42 = getelementptr inbounds %struct.nk_allocator, ptr %41, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !18
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %46

45:                                               ; preds = %39
  br label %48

46:                                               ; preds = %39
  call void @__assert_fail(ptr noundef @.str.50, ptr noundef @.str.1, i32 noundef 17558, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #6
  unreachable

47:                                               ; No predecessors!
  br label %48

48:                                               ; preds = %47, %45
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.nk_font_atlas, ptr %49, i32 0, i32 3
  %51 = getelementptr inbounds %struct.nk_allocator, ptr %50, i32 0, i32 2
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %55

54:                                               ; preds = %48
  br label %57

55:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str.51, ptr noundef @.str.1, i32 noundef 17559, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #6
  unreachable

56:                                               ; No predecessors!
  br label %57

57:                                               ; preds = %56, %54
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %61

60:                                               ; preds = %57
  br label %63

61:                                               ; preds = %57
  call void @__assert_fail(ptr noundef @.str.63, ptr noundef @.str.1, i32 noundef 17561, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #6
  unreachable

62:                                               ; No predecessors!
  br label %63

63:                                               ; preds = %62, %60
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = icmp ne ptr %64, null
  br i1 %65, label %66, label %93

66:                                               ; preds = %63
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = icmp ne ptr %67, null
  br i1 %68, label %69, label %93

69:                                               ; preds = %66
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.nk_font_atlas, ptr %70, i32 0, i32 4
  %72 = getelementptr inbounds %struct.nk_allocator, ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !11
  %74 = icmp ne ptr %73, null
  br i1 %74, label %75, label %93

75:                                               ; preds = %69
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.nk_font_atlas, ptr %76, i32 0, i32 4
  %78 = getelementptr inbounds %struct.nk_allocator, ptr %77, i32 0, i32 2
  %79 = load ptr, ptr %78, align 8, !tbaa !17
  %80 = icmp ne ptr %79, null
  br i1 %80, label %81, label %93

81:                                               ; preds = %75
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.nk_font_atlas, ptr %82, i32 0, i32 3
  %84 = getelementptr inbounds %struct.nk_allocator, ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !18
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %93

87:                                               ; preds = %81
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.nk_font_atlas, ptr %88, i32 0, i32 3
  %90 = getelementptr inbounds %struct.nk_allocator, ptr %89, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !19
  %92 = icmp ne ptr %91, null
  br i1 %92, label %94, label %93

93:                                               ; preds = %87, %81, %75, %69, %66, %63
  store ptr null, ptr %5, align 8
  store i32 1, ptr %13, align 4
  br label %142

94:                                               ; preds = %87
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = call i32 @nk_strlen(ptr noundef %95)
  %97 = add nsw i32 %96, 4
  %98 = sdiv i32 %97, 5
  %99 = mul nsw i32 %98, 4
  store i32 %99, ptr %10, align 4, !tbaa !20
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.nk_font_atlas, ptr %100, i32 0, i32 4
  %102 = getelementptr inbounds %struct.nk_allocator, ptr %101, i32 0, i32 1
  %103 = load ptr, ptr %102, align 8, !tbaa !11
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.nk_font_atlas, ptr %104, i32 0, i32 4
  %106 = getelementptr inbounds %struct.nk_allocator, ptr %105, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %106, i64 8, i1 false), !tbaa.struct !21
  %107 = load i32, ptr %10, align 4, !tbaa !20
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds %union.nk_handle, ptr %14, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8
  %111 = call noundef ptr %103(ptr %110, ptr noundef null, i64 noundef %108)
  store ptr %111, ptr %11, align 8, !tbaa !5
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %115

114:                                              ; preds = %94
  br label %117

115:                                              ; preds = %94
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str.1, i32 noundef 17568, ptr noundef @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #6
  unreachable

116:                                              ; No predecessors!
  br label %117

117:                                              ; preds = %116, %114
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %121, label %120

120:                                              ; preds = %117
  store ptr null, ptr %5, align 8
  store i32 1, ptr %13, align 4
  br label %142

121:                                              ; preds = %117
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZL12nk_decode_85PhPKh(ptr noundef %122, ptr noundef %123)
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = load i32, ptr %10, align 4, !tbaa !20
  %127 = sext i32 %126 to i64
  %128 = load float, ptr %8, align 4, !tbaa !9
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = call ptr @nk_font_atlas_add_compressed(ptr noundef %124, ptr noundef %125, i64 noundef %127, float noundef %128, ptr noundef %129)
  store ptr %130, ptr %12, align 8, !tbaa !5
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.nk_font_atlas, ptr %131, i32 0, i32 4
  %133 = getelementptr inbounds %struct.nk_allocator, ptr %132, i32 0, i32 2
  %134 = load ptr, ptr %133, align 8, !tbaa !17
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.nk_font_atlas, ptr %135, i32 0, i32 4
  %137 = getelementptr inbounds %struct.nk_allocator, ptr %136, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %137, i64 8, i1 false), !tbaa.struct !21
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds %union.nk_handle, ptr %15, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8
  call void %134(ptr %140, ptr noundef %138)
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %141, ptr %5, align 8
  store i32 1, ptr %13, align 4
  br label %142

142:                                              ; preds = %121, %120, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  %143 = load ptr, ptr %5, align 8
  ret ptr %143
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12nk_decode_85PhPKh(ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress 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 #4 = { mustprogress 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 48}
!12 = !{!"_ZTS13nk_font_atlas", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 40, !15, i64 64, !7, i64 72, !13, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !13, i64 392}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS12nk_allocator", !7, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTS8nk_recti", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6}
!16 = !{!"short", !7, i64 0}
!17 = !{!12, !6, i64 56}
!18 = !{!12, !6, i64 24}
!19 = !{!12, !6, i64 32}
!20 = !{!13, !13, i64 0}
!21 = !{i64 0, i64 8, !22}
!22 = !{!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"

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [12 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local i32 @nk_strlen(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local ptr @nk_font_atlas_add_compressed(ptr noundef, ptr noundef, i64 noundef, float noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local ptr @nk_font_atlas_add_compressed_base85(ptr noundef %0, ptr noundef %1, float noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %5, label %6

5:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.1, i32 noundef 17555, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #3
  unreachable

6:                                                ; preds = %4
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = getelementptr inbounds i8, ptr %0, i64 48
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %.not34 = icmp eq ptr %9, null
  br i1 %.not34, label %10, label %11

10:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.1, i32 noundef 17556, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #3
  unreachable

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

14:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.1, i32 noundef 17557, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #3
  unreachable

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !15
  %.not36 = icmp eq ptr %17, null
  br i1 %.not36, label %18, label %19

18:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.1, i32 noundef 17558, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #3
  unreachable

19:                                               ; preds = %15
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  %21 = load ptr, ptr %20, align 8, !tbaa !16
  %.not37 = icmp eq ptr %21, null
  br i1 %.not37, label %22, label %23

22:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.1, i32 noundef 17559, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #3
  unreachable

23:                                               ; preds = %19
  %.not38 = icmp eq ptr %1, null
  br i1 %.not38, label %24, label %25

24:                                               ; preds = %23
  tail call void @__assert_fail(ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.1, i32 noundef 17561, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #3
  unreachable

25:                                               ; preds = %23
  %26 = tail call i32 @nk_strlen(ptr noundef nonnull %1)
  %27 = add nsw i32 %26, 4
  %28 = sdiv i32 %27, 5
  %29 = shl nsw i32 %28, 2
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %.sroa.02.0.copyload = load ptr, ptr %7, align 8, !tbaa !17
  %31 = sext i32 %29 to i64
  %32 = tail call noundef ptr %30(ptr %.sroa.02.0.copyload, ptr noundef null, i64 noundef %31)
  %.not39 = icmp eq ptr %32, null
  br i1 %.not39, label %33, label %34

33:                                               ; preds = %25
  tail call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.1, i32 noundef 17568, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_font_atlas_add_compressed_base85) #3
  unreachable

34:                                               ; preds = %25
  tail call void @_ZL12nk_decode_85PhPKh(ptr noundef nonnull %32, ptr noundef nonnull %1)
  %35 = tail call ptr @nk_font_atlas_add_compressed(ptr noundef nonnull %0, ptr noundef nonnull %32, i64 noundef %31, float noundef %2, ptr noundef %3)
  %36 = load ptr, ptr %12, align 8, !tbaa !14
  %.sroa.0.0.copyload = load ptr, ptr %7, align 8, !tbaa !17
  tail call void %36(ptr %.sroa.0.0.copyload, ptr noundef nonnull %32)
  ret ptr %35
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12nk_decode_85PhPKh(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress 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 = { mustprogress 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 = { 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, !7, i64 48}
!6 = !{!"_ZTS13nk_font_atlas", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 40, !12, i64 64, !8, i64 72, !10, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !10, i64 392}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS12nk_allocator", !8, i64 0, !7, i64 8, !7, i64 16}
!12 = !{!"_ZTS8nk_recti", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6}
!13 = !{!"short", !8, i64 0}
!14 = !{!6, !7, i64 56}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 32}
!17 = !{!8, !8, i64 0}


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