; LLVM IR from litespeedtech/ls-qpack :: lsqpack (lsqpack_enc_decoder_in)

; 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.lsqpack_enc = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.lsqpack_enc_head, ptr, %struct.anon, %struct.anon.0, %struct.anon.1, %struct.anon.2, %struct.anon.3, i32, i32, ptr, float, float, ptr, i32, i32, i32 }
%struct.lsqpack_enc_head = type { ptr, ptr }
%struct.anon = type { ptr, ptr }
%struct.anon.0 = type { ptr, ptr }
%struct.anon.1 = type { ptr, ptr }
%struct.anon.2 = type { ptr, ptr, i32, i32, i32, i32 }
%struct.anon.3 = type { %struct.lsqpack_dec_int_state, ptr }
%struct.lsqpack_dec_int_state = type { i32, i32, i32, i64 }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__.lsqpack_enc_decoder_in = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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: nounwind uwtable
declare dso_local i32 @lsqpack_dec_int(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @lsqpack_enc_decoder_in(ptr noundef %0, ptr noundef %1, i64 noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = load i64, ptr %7, align 8, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %13, i64 %14
  store ptr %15, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 -1, ptr %11, align 4, !tbaa !11
  br label %16

16:                                               ; preds = %3
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.lsqpack_enc, ptr %17, i32 0, i32 23
  %19 = load ptr, ptr %18, align 8, !tbaa !13
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %35

21:                                               ; preds = %16
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.lsqpack_enc, ptr %22, i32 0, i32 23
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef @.str) #4
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.lsqpack_enc, ptr %26, i32 0, i32 23
  %28 = load ptr, ptr %27, align 8, !tbaa !13
  %29 = load i64, ptr %7, align 8, !tbaa !9
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.34, i64 noundef %29) #4
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.lsqpack_enc, ptr %31, i32 0, i32 23
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.2) #4
  br label %35

35:                                               ; preds = %21, %16
  br label %36

36:                                               ; preds = %35
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %120, %37
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = icmp ult ptr %39, %40
  br i1 %41, label %42, label %121

42:                                               ; preds = %38
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.lsqpack_enc, ptr %43, i32 0, i32 20
  %45 = getelementptr inbounds %struct.anon.3, ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds %struct.lsqpack_dec_int_state, ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !21
  switch i32 %47, label %120 [
    i32 0, label %48
    i32 1, label %85
  ]

48:                                               ; preds = %42
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 0
  %51 = load i8, ptr %50, align 1, !tbaa !22
  %52 = zext i8 %51 to i32
  %53 = and i32 %52, 128
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %59

55:                                               ; preds = %48
  store i32 7, ptr %11, align 4, !tbaa !11
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.lsqpack_enc, ptr %56, i32 0, i32 20
  %58 = getelementptr inbounds %struct.anon.3, ptr %57, i32 0, i32 1
  store ptr @enc_proc_header_ack, ptr %58, align 8, !tbaa !23
  br label %84

59:                                               ; preds = %48
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 0
  %62 = load i8, ptr %61, align 1, !tbaa !22
  %63 = zext i8 %62 to i32
  %64 = and i32 %63, 192
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %70

66:                                               ; preds = %59
  store i32 6, ptr %11, align 4, !tbaa !11
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.lsqpack_enc, ptr %67, i32 0, i32 20
  %69 = getelementptr inbounds %struct.anon.3, ptr %68, i32 0, i32 1
  store ptr @enc_proc_ici, ptr %69, align 8, !tbaa !23
  br label %83

70:                                               ; preds = %59
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 0
  %73 = load i8, ptr %72, align 1, !tbaa !22
  %74 = zext i8 %73 to i32
  %75 = and i32 %74, 192
  %76 = icmp eq i32 %75, 64
  br i1 %76, label %77, label %78

77:                                               ; preds = %70
  br label %79

78:                                               ; preds = %70
  call void @__assert_fail(ptr noundef @.str.35, ptr noundef @.str.8, i32 noundef 2494, ptr noundef @__PRETTY_FUNCTION__.lsqpack_enc_decoder_in) #5
  unreachable

79:                                               ; preds = %77
  store i32 6, ptr %11, align 4, !tbaa !11
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.lsqpack_enc, ptr %80, i32 0, i32 20
  %82 = getelementptr inbounds %struct.anon.3, ptr %81, i32 0, i32 1
  store ptr @enc_proc_stream_cancel, ptr %82, align 8, !tbaa !23
  br label %83

83:                                               ; preds = %79, %66
  br label %84

84:                                               ; preds = %83, %55
  br label %85

85:                                               ; preds = %84, %42
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = load i32, ptr %11, align 4, !tbaa !11
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.lsqpack_enc, ptr %88, i32 0, i32 20
  %90 = getelementptr inbounds %struct.anon.3, ptr %89, i32 0, i32 0
  %91 = call i32 @lsqpack_dec_int(ptr noundef %6, ptr noundef %86, i32 noundef %87, ptr noundef %9, ptr noundef %90)
  store i32 %91, ptr %10, align 4, !tbaa !11
  %92 = load i32, ptr %10, align 4, !tbaa !11
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %110

94:                                               ; preds = %85
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.lsqpack_enc, ptr %95, i32 0, i32 20
  %97 = getelementptr inbounds %struct.anon.3, ptr %96, i32 0, i32 1
  %98 = load ptr, ptr %97, align 8, !tbaa !23
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = load i64, ptr %9, align 8, !tbaa !9
  %101 = call i32 %98(ptr noundef %99, i64 noundef %100)
  store i32 %101, ptr %10, align 4, !tbaa !11
  %102 = load i32, ptr %10, align 4, !tbaa !11
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %94
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %128

105:                                              ; preds = %94
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.lsqpack_enc, ptr %106, i32 0, i32 20
  %108 = getelementptr inbounds %struct.anon.3, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds %struct.lsqpack_dec_int_state, ptr %108, i32 0, i32 0
  store i32 0, ptr %109, align 8, !tbaa !21
  br label %119

110:                                              ; preds = %85
  %111 = load i32, ptr %10, align 4, !tbaa !11
  %112 = icmp eq i32 %111, -1
  br i1 %112, label %113, label %118

113:                                              ; preds = %110
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.lsqpack_enc, ptr %114, i32 0, i32 20
  %116 = getelementptr inbounds %struct.anon.3, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds %struct.lsqpack_dec_int_state, ptr %116, i32 0, i32 0
  store i32 1, ptr %117, align 8, !tbaa !21
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %128

118:                                              ; preds = %110
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %128

119:                                              ; preds = %105
  br label %120

120:                                              ; preds = %119, %42
  br label %38, !llvm.loop !24

121:                                              ; preds = %38
  %122 = load i64, ptr %7, align 8, !tbaa !9
  %123 = trunc i64 %122 to i32
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.lsqpack_enc, ptr %124, i32 0, i32 22
  %126 = load i32, ptr %125, align 4, !tbaa !26
  %127 = add i32 %126, %123
  store i32 %127, ptr %125, align 4, !tbaa !26
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %128

128:                                              ; preds = %121, %118, %113, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %129 = load i32, ptr %4, align 4
  ret i32 %129
}

; Function Attrs: nounwind uwtable
declare hidden i32 @enc_proc_header_ack(ptr noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @enc_proc_ici(ptr noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @enc_proc_stream_cancel(ptr noundef, i64 noundef) #3

attributes #0 = { 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 = { 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 = { 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 = { nounwind }
attributes #5 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 200}
!14 = !{!"lsqpack_enc", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !15, i64 56, !6, i64 72, !16, i64 80, !16, i64 96, !16, i64 112, !17, i64 128, !18, i64 160, !12, i64 192, !12, i64 196, !6, i64 200, !20, i64 208, !20, i64 212, !6, i64 216, !12, i64 224, !12, i64 228, !12, i64 232}
!15 = !{!"lsqpack_enc_head", !6, i64 0, !6, i64 8}
!16 = !{!"", !6, i64 0, !6, i64 8}
!17 = !{!"", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28}
!18 = !{!"", !19, i64 0, !6, i64 24}
!19 = !{!"lsqpack_dec_int_state", !12, i64 0, !12, i64 4, !12, i64 8, !10, i64 16}
!20 = !{!"float", !7, i64 0}
!21 = !{!14, !12, i64 160}
!22 = !{!7, !7, i64 0}
!23 = !{!14, !6, i64 184}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!14, !12, i64 196}


; 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 [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [32 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @lsqpack_dec_int(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @lsqpack_enc_decoder_in(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %7 = getelementptr inbounds i8, ptr %0, i64 200
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %15, label %9

9:                                                ; preds = %3
  %10 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str) #3
  %11 = load ptr, ptr %7, align 8, !tbaa !9
  %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.34, i64 noundef %2) #3
  %13 = load ptr, ptr %7, align 8, !tbaa !9
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str.2) #3
  br label %15

15:                                               ; preds = %9, %3
  %16 = icmp sgt i64 %2, 0
  br i1 %16, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %15
  %17 = getelementptr inbounds i8, ptr %0, i64 160
  %18 = getelementptr inbounds i8, ptr %0, i64 184
  %.pre = load i32, ptr %17, align 8, !tbaa !19
  br label %19

19:                                               ; preds = %.lr.ph, %32
  %20 = phi ptr [ %1, %.lr.ph ], [ %33, %32 ]
  %21 = phi i32 [ %.pre, %.lr.ph ], [ %34, %32 ]
  %.032 = phi i32 [ -1, %.lr.ph ], [ %.2, %32 ]
  switch i32 %21, label %32 [
    i32 0, label %.sink.split
    i32 1, label %24
  ]

.sink.split:                                      ; preds = %19
  %22 = load i8, ptr %20, align 1, !tbaa !20
  %.not29 = icmp sgt i8 %22, -1
  %23 = icmp ult i8 %22, 64
  %enc_proc_ici.enc_proc_stream_cancel = select i1 %23, ptr @enc_proc_ici, ptr @enc_proc_stream_cancel
  %enc_proc_header_ack.sink = select i1 %.not29, ptr %enc_proc_ici.enc_proc_stream_cancel, ptr @enc_proc_header_ack
  %.1.ph = select i1 %.not29, i32 6, i32 7
  store ptr %enc_proc_header_ack.sink, ptr %18, align 8, !tbaa !21
  br label %24

24:                                               ; preds = %.sink.split, %19
  %.1 = phi i32 [ %.032, %19 ], [ %.1.ph, %.sink.split ]
  %25 = call i32 @lsqpack_dec_int(ptr noundef nonnull %4, ptr noundef nonnull %6, i32 noundef %.1, ptr noundef nonnull %5, ptr noundef nonnull %17)
  switch i32 %25, label %.loopexit [
    i32 0, label %26
    i32 -1, label %31
  ]

26:                                               ; preds = %24
  %27 = load ptr, ptr %18, align 8, !tbaa !21
  %28 = load i64, ptr %5, align 8, !tbaa !22
  %29 = call i32 %27(ptr noundef nonnull %0, i64 noundef %28) #3
  %.not30 = icmp eq i32 %29, 0
  br i1 %.not30, label %30, label %.loopexit

30:                                               ; preds = %26
  store i32 0, ptr %17, align 8, !tbaa !19
  %.pre33 = load ptr, ptr %4, align 8, !tbaa !5
  br label %32

31:                                               ; preds = %24
  store i32 1, ptr %17, align 8, !tbaa !19
  br label %.loopexit

32:                                               ; preds = %30, %19
  %33 = phi ptr [ %20, %19 ], [ %.pre33, %30 ]
  %34 = phi i32 [ %21, %19 ], [ 0, %30 ]
  %.2 = phi i32 [ %.032, %19 ], [ %.1, %30 ]
  %35 = icmp ult ptr %33, %6
  br i1 %35, label %19, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %32, %15
  %36 = trunc i64 %2 to i32
  %37 = getelementptr inbounds i8, ptr %0, i64 196
  %38 = load i32, ptr %37, align 4, !tbaa !25
  %39 = add i32 %38, %36
  store i32 %39, ptr %37, align 4, !tbaa !25
  br label %.loopexit

.loopexit:                                        ; preds = %24, %26, %._crit_edge, %31
  %.023 = phi i32 [ 0, %31 ], [ 0, %._crit_edge ], [ -1, %26 ], [ -1, %24 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret i32 %.023
}

; Function Attrs: nounwind uwtable
declare hidden i32 @enc_proc_header_ack(ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @enc_proc_ici(ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @enc_proc_stream_cancel(ptr noundef, i64 noundef) #2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync 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 200}
!10 = !{!"lsqpack_enc", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !12, i64 56, !6, i64 72, !13, i64 80, !13, i64 96, !13, i64 112, !14, i64 128, !15, i64 160, !11, i64 192, !11, i64 196, !6, i64 200, !18, i64 208, !18, i64 212, !6, i64 216, !11, i64 224, !11, i64 228, !11, i64 232}
!11 = !{!"int", !7, i64 0}
!12 = !{!"lsqpack_enc_head", !6, i64 0, !6, i64 8}
!13 = !{!"", !6, i64 0, !6, i64 8}
!14 = !{!"", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!15 = !{!"", !16, i64 0, !6, i64 24}
!16 = !{!"lsqpack_dec_int_state", !11, i64 0, !11, i64 4, !11, i64 8, !17, i64 16}
!17 = !{!"long", !7, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = !{!10, !11, i64 160}
!20 = !{!7, !7, i64 0}
!21 = !{!10, !6, i64 184}
!22 = !{!17, !17, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!10, !11, i64 196}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass