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

; 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_dec = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, %struct.lsqpack_ringbuf, %struct.anon.8, [8 x %struct.anon.9], i32, float, %struct.anon.10, %struct.lsqpack_dec_err }
%struct.lsqpack_ringbuf = type { i32, i32, i32, ptr }
%struct.anon.8 = type { ptr, ptr }
%struct.anon.9 = type { ptr, ptr }
%struct.anon.10 = type { i32, %union.anon }
%union.anon = type { %struct.anon.11 }
%struct.anon.11 = type { %struct.lsqpack_dec_int_state, %struct.lsqpack_huff_decode_state, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, i8, i8 }
%struct.lsqpack_dec_int_state = type { i32, i32, i32, i64 }
%struct.lsqpack_huff_decode_state = type { i32, %struct.lsqpack_decode_status }
%struct.lsqpack_decode_status = type { i8, i8 }
%struct.lsqpack_dec_err = type { i32, i32, i64, i64 }
%struct.header_block_read_ctx = type { %struct.anon.15, %struct.anon.15, ptr, i64, i64, i64, i32, i32, i32, %struct.anon.16, ptr, i32, %struct.hbrc_buf, %union.anon.17 }
%struct.anon.15 = type { ptr, ptr }
%struct.anon.16 = type { ptr, i32, i32 }
%struct.hbrc_buf = type { ptr, i64, i64 }
%union.anon.17 = type { %struct.anon.22 }
%struct.anon.22 = type { i32, i32, i32, i32, i32, %struct.lsqpack_dec_int_state, %struct.lsqpack_huff_decode_state }

@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [71 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: nounwind uwtable
declare dso_local ptr @lsqpack_enc_int(ptr noundef, ptr noundef, i64 noundef, i32 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: nounwind uwtable
declare hidden ptr @find_header_block_read_ctx(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @destroy_header_block_read_ctx(ptr noundef, ptr noundef) #2

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

18:                                               ; preds = %4
  br label %19

19:                                               ; preds = %18
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.lsqpack_dec, ptr %20, i32 0, i32 11
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %37

24:                                               ; preds = %19
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.lsqpack_dec, ptr %25, i32 0, i32 11
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.41) #3
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.lsqpack_dec, ptr %29, i32 0, i32 11
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.49) #3
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.lsqpack_dec, ptr %33, i32 0, i32 11
  %35 = load ptr, ptr %34, align 8, !tbaa !11
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.2) #3
  br label %37

37:                                               ; preds = %24, %19
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  store i64 0, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %131

40:                                               ; preds = %4
  %41 = load i64, ptr %9, align 8, !tbaa !9
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  store i64 -1, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %131

44:                                               ; preds = %40
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 64, ptr %45, align 1, !tbaa !19
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = load i64, ptr %9, align 8, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %47, i64 %48
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.header_block_read_ctx, ptr %50, i32 0, i32 3
  %52 = load i64, ptr %51, align 8, !tbaa !20
  %53 = call ptr @lsqpack_enc_int(ptr noundef %46, ptr noundef %49, i64 noundef %52, i32 noundef 6)
  store ptr %53, ptr %11, align 8, !tbaa !5
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = icmp ugt ptr %54, %55
  br i1 %56, label %57, label %105

57:                                               ; preds = %44
  br label %58

58:                                               ; preds = %57
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.lsqpack_dec, ptr %59, i32 0, i32 11
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %85

63:                                               ; preds = %58
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.lsqpack_dec, ptr %64, i32 0, i32 11
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.37) #3
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.lsqpack_dec, ptr %68, i32 0, i32 11
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.header_block_read_ctx, ptr %71, i32 0, i32 3
  %73 = load i64, ptr %72, align 8, !tbaa !20
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = ptrtoint ptr %74 to i64
  %77 = ptrtoint ptr %75 to i64
  %78 = sub i64 %76, %77
  %79 = trunc i64 %78 to i32
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.50, i64 noundef %73, i32 noundef %79) #3
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.lsqpack_dec, ptr %81, i32 0, i32 11
  %83 = load ptr, ptr %82, align 8, !tbaa !11
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.2) #3
  br label %85

85:                                               ; preds = %63, %58
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  call void @destroy_header_block_read_ctx(ptr noundef %88, ptr noundef %89)
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = ptrtoint ptr %90 to i64
  %93 = ptrtoint ptr %91 to i64
  %94 = sub i64 %92, %93
  %95 = trunc i64 %94 to i32
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.lsqpack_dec, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %97, align 8, !tbaa !24
  %99 = add i32 %98, %95
  store i32 %99, ptr %97, align 8, !tbaa !24
  %100 = load ptr, ptr %11, align 8, !tbaa !5
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = ptrtoint ptr %100 to i64
  %103 = ptrtoint ptr %101 to i64
  %104 = sub i64 %102, %103
  store i64 %104, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %131

105:                                              ; preds = %44
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.lsqpack_dec, ptr %107, i32 0, i32 11
  %109 = load ptr, ptr %108, align 8, !tbaa !11
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %128

111:                                              ; preds = %106
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.lsqpack_dec, ptr %112, i32 0, i32 11
  %114 = load ptr, ptr %113, align 8, !tbaa !11
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.51) #3
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.lsqpack_dec, ptr %116, i32 0, i32 11
  %118 = load ptr, ptr %117, align 8, !tbaa !11
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.header_block_read_ctx, ptr %119, i32 0, i32 3
  %121 = load i64, ptr %120, align 8, !tbaa !20
  %122 = load i64, ptr %9, align 8, !tbaa !9
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.52, i64 noundef %121, i64 noundef %122) #3
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.lsqpack_dec, ptr %124, i32 0, i32 11
  %126 = load ptr, ptr %125, align 8, !tbaa !11
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str.2) #3
  br label %128

128:                                              ; preds = %111, %106
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129
  store i64 -1, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %131

131:                                              ; preds = %130, %87, %43, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %132 = load i64, ptr %5, align 8
  ret i64 %132
}

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 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 48}
!12 = !{!"lsqpack_dec", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !6, i64 40, !6, i64 48, !14, i64 56, !15, i64 80, !7, i64 96, !13, i64 224, !16, i64 228, !17, i64 232, !18, i64 328}
!13 = !{!"int", !7, i64 0}
!14 = !{!"lsqpack_ringbuf", !13, i64 0, !13, i64 4, !13, i64 8, !6, i64 16}
!15 = !{!"", !6, i64 0, !6, i64 8}
!16 = !{!"float", !7, i64 0}
!17 = !{!"", !13, i64 0, !7, i64 8}
!18 = !{!"lsqpack_dec_err", !13, i64 0, !13, i64 4, !10, i64 8, !10, i64 16}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !10, i64 40}
!21 = !{!"header_block_read_ctx", !15, i64 0, !15, i64 16, !6, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !22, i64 80, !6, i64 96, !13, i64 104, !23, i64 112, !7, i64 136}
!22 = !{!"", !6, i64 0, !13, i64 8, !13, i64 12}
!23 = !{!"hbrc_buf", !6, i64 0, !10, i64 8, !10, i64 16}
!24 = !{!12, !13, i64 24}


; 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.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [71 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: nounwind uwtable
declare dso_local ptr @lsqpack_enc_int(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden ptr @find_header_block_read_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @destroy_header_block_read_ctx(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i64 @lsqpack_dec_cancel_stream(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #1 {
  %5 = tail call ptr @find_header_block_read_ctx(ptr noundef %0, ptr noundef %1)
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %6, label %15

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

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

15:                                               ; preds = %4
  %16 = icmp eq i64 %3, 0
  br i1 %16, label %49, label %17

17:                                               ; preds = %15
  store i8 64, ptr %2, align 1, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %2, i64 %3
  %19 = getelementptr inbounds i8, ptr %5, i64 40
  %20 = load i64, ptr %19, align 8, !tbaa !18
  %21 = tail call ptr @lsqpack_enc_int(ptr noundef nonnull %2, ptr noundef nonnull %18, i64 noundef %20, i32 noundef 6)
  %22 = icmp ugt ptr %21, %2
  %23 = getelementptr inbounds i8, ptr %0, i64 48
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %.not44 = icmp eq ptr %24, null
  br i1 %22, label %25, label %41

25:                                               ; preds = %17
  br i1 %.not44, label %._crit_edge, label %26

._crit_edge:                                      ; preds = %25
  %.pre = ptrtoint ptr %21 to i64
  %.pre45 = ptrtoint ptr %2 to i64
  %.pre47 = sub i64 %.pre, %.pre45
  %.pre49 = trunc i64 %.pre47 to i32
  br label %37

26:                                               ; preds = %25
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %24, ptr noundef nonnull @.str.37) #2
  %28 = load ptr, ptr %23, align 8, !tbaa !5
  %29 = load i64, ptr %19, align 8, !tbaa !18
  %30 = ptrtoint ptr %21 to i64
  %31 = ptrtoint ptr %2 to i64
  %32 = sub i64 %30, %31
  %33 = trunc i64 %32 to i32
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str.50, i64 noundef %29, i32 noundef %33) #2
  %35 = load ptr, ptr %23, align 8, !tbaa !5
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.2) #2
  br label %37

37:                                               ; preds = %._crit_edge, %26
  %.pre-phi50 = phi i32 [ %.pre49, %._crit_edge ], [ %33, %26 ]
  %.pre-phi48 = phi i64 [ %.pre47, %._crit_edge ], [ %32, %26 ]
  tail call void @destroy_header_block_read_ctx(ptr noundef nonnull %0, ptr noundef nonnull %5)
  %38 = getelementptr inbounds i8, ptr %0, i64 24
  %39 = load i32, ptr %38, align 8, !tbaa !22
  %40 = add i32 %39, %.pre-phi50
  store i32 %40, ptr %38, align 8, !tbaa !22
  br label %49

41:                                               ; preds = %17
  br i1 %.not44, label %49, label %42

42:                                               ; preds = %41
  %43 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %24, ptr noundef nonnull @.str.51) #2
  %44 = load ptr, ptr %23, align 8, !tbaa !5
  %45 = load i64, ptr %19, align 8, !tbaa !18
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.52, i64 noundef %45, i64 noundef %3) #2
  %47 = load ptr, ptr %23, align 8, !tbaa !5
  %48 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.2) #2
  br label %49

49:                                               ; preds = %41, %42, %15, %6, %9, %37
  %.0 = phi i64 [ %.pre-phi48, %37 ], [ 0, %9 ], [ 0, %6 ], [ -1, %15 ], [ -1, %42 ], [ -1, %41 ]
  ret i64 %.0
}

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 = { 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 = { 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, !10, i64 48}
!6 = !{!"lsqpack_dec", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !10, i64 40, !10, i64 48, !11, i64 56, !12, i64 80, !8, i64 96, !7, i64 224, !13, i64 228, !14, i64 232, !15, i64 328}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"lsqpack_ringbuf", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!12 = !{!"", !10, i64 0, !10, i64 8}
!13 = !{!"float", !8, i64 0}
!14 = !{!"", !7, i64 0, !8, i64 8}
!15 = !{!"lsqpack_dec_err", !7, i64 0, !7, i64 4, !16, i64 8, !16, i64 16}
!16 = !{!"long", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !16, i64 40}
!19 = !{!"header_block_read_ctx", !12, i64 0, !12, i64 16, !10, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !20, i64 80, !10, i64 96, !7, i64 104, !21, i64 112, !8, i64 136}
!20 = !{!"", !10, i64 0, !7, i64 8, !7, i64 12}
!21 = !{!"hbrc_buf", !10, i64 0, !16, i64 8, !16, i64 16}
!22 = !{!6, !7, i64 24}


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