; LLVM IR from caryll/otfcc :: lib/table (head)

; 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.otfcc_Options = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr }
%struct.otfcc_ILogger = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.table_head = type { i32, i32, i32, i32, i16, i16, i64, i64, i16, i16, i16, i16, i16, i16, i16, i16, i16 }

@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@headFlagsLabels = external hidden global [16 x ptr], align 16
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@macStyleLabels = external hidden global [8 x ptr], align 16
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1

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

declare ptr @sdscatprintf(ptr noundef, ptr noundef, ...) #1

declare ptr @sdsempty() #1

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

; Function Attrs: nounwind uwtable
define dso_local void @otfcc_dumpHead(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = icmp ne ptr %9, null
  br i1 %10, label %12, label %11

11:                                               ; preds = %3
  br label %144

12:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.otfcc_Options, ptr %13, i32 0, i32 24
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds %struct.otfcc_ILogger, ptr %15, i32 0, i32 4
  %17 = load ptr, ptr %16, align 8, !tbaa !12
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.otfcc_Options, ptr %18, i32 0, i32 24
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = call ptr @sdsempty()
  %22 = call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %21, ptr noundef @.str.1)
  call void %17(ptr noundef %20, ptr noundef %22)
  store i8 1, ptr %7, align 1, !tbaa !14
  br label %23

23:                                               ; preds = %135, %12
  %24 = load i8, ptr %7, align 1, !tbaa !14, !range !15, !noundef !16
  %25 = trunc i8 %24 to i1
  br i1 %25, label %27, label %26

26:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  br label %144

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %28 = call ptr @json_object_new(i64 noundef 15)
  store ptr %28, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.table_head, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !17
  %33 = call double @otfcc_from_fixed(i32 noundef %32)
  %34 = call ptr @json_double_new(double noundef %33)
  %35 = call ptr @json_object_push(ptr noundef %29, ptr noundef @.str.2, ptr noundef %34)
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.table_head, ptr %37, i32 0, i32 1
  %39 = load i32, ptr %38, align 4, !tbaa !22
  %40 = call double @otfcc_from_fixed(i32 noundef %39)
  %41 = call ptr @json_double_new(double noundef %40)
  %42 = call ptr @json_object_push(ptr noundef %36, ptr noundef @.str.3, ptr noundef %41)
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.table_head, ptr %44, i32 0, i32 4
  %46 = load i16, ptr %45, align 8, !tbaa !23
  %47 = zext i16 %46 to i32
  %48 = call ptr @otfcc_dump_flags(i32 noundef %47, ptr noundef @headFlagsLabels)
  %49 = call ptr @json_object_push(ptr noundef %43, ptr noundef @.str.4, ptr noundef %48)
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.table_head, ptr %51, i32 0, i32 5
  %53 = load i16, ptr %52, align 2, !tbaa !24
  %54 = zext i16 %53 to i64
  %55 = call ptr @json_integer_new(i64 noundef %54)
  %56 = call ptr @json_object_push(ptr noundef %50, ptr noundef @.str.5, ptr noundef %55)
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.table_head, ptr %58, i32 0, i32 6
  %60 = load i64, ptr %59, align 8, !tbaa !25
  %61 = call ptr @json_integer_new(i64 noundef %60)
  %62 = call ptr @json_object_push(ptr noundef %57, ptr noundef @.str.6, ptr noundef %61)
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.table_head, ptr %64, i32 0, i32 7
  %66 = load i64, ptr %65, align 8, !tbaa !26
  %67 = call ptr @json_integer_new(i64 noundef %66)
  %68 = call ptr @json_object_push(ptr noundef %63, ptr noundef @.str.7, ptr noundef %67)
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.table_head, ptr %70, i32 0, i32 8
  %72 = load i16, ptr %71, align 8, !tbaa !27
  %73 = sext i16 %72 to i64
  %74 = call ptr @json_integer_new(i64 noundef %73)
  %75 = call ptr @json_object_push(ptr noundef %69, ptr noundef @.str.8, ptr noundef %74)
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.table_head, ptr %77, i32 0, i32 10
  %79 = load i16, ptr %78, align 4, !tbaa !28
  %80 = sext i16 %79 to i64
  %81 = call ptr @json_integer_new(i64 noundef %80)
  %82 = call ptr @json_object_push(ptr noundef %76, ptr noundef @.str.9, ptr noundef %81)
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.table_head, ptr %84, i32 0, i32 9
  %86 = load i16, ptr %85, align 2, !tbaa !29
  %87 = sext i16 %86 to i64
  %88 = call ptr @json_integer_new(i64 noundef %87)
  %89 = call ptr @json_object_push(ptr noundef %83, ptr noundef @.str.10, ptr noundef %88)
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.table_head, ptr %91, i32 0, i32 11
  %93 = load i16, ptr %92, align 2, !tbaa !30
  %94 = sext i16 %93 to i64
  %95 = call ptr @json_integer_new(i64 noundef %94)
  %96 = call ptr @json_object_push(ptr noundef %90, ptr noundef @.str.11, ptr noundef %95)
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.table_head, ptr %98, i32 0, i32 12
  %100 = load i16, ptr %99, align 8, !tbaa !31
  %101 = zext i16 %100 to i32
  %102 = call ptr @otfcc_dump_flags(i32 noundef %101, ptr noundef @macStyleLabels)
  %103 = call ptr @json_object_push(ptr noundef %97, ptr noundef @.str.12, ptr noundef %102)
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.table_head, ptr %105, i32 0, i32 13
  %107 = load i16, ptr %106, align 2, !tbaa !32
  %108 = zext i16 %107 to i64
  %109 = call ptr @json_integer_new(i64 noundef %108)
  %110 = call ptr @json_object_push(ptr noundef %104, ptr noundef @.str.13, ptr noundef %109)
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.table_head, ptr %112, i32 0, i32 14
  %114 = load i16, ptr %113, align 4, !tbaa !33
  %115 = sext i16 %114 to i64
  %116 = call ptr @json_integer_new(i64 noundef %115)
  %117 = call ptr @json_object_push(ptr noundef %111, ptr noundef @.str.14, ptr noundef %116)
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.table_head, ptr %119, i32 0, i32 15
  %121 = load i16, ptr %120, align 2, !tbaa !34
  %122 = sext i16 %121 to i64
  %123 = call ptr @json_integer_new(i64 noundef %122)
  %124 = call ptr @json_object_push(ptr noundef %118, ptr noundef @.str.15, ptr noundef %123)
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.table_head, ptr %126, i32 0, i32 16
  %128 = load i16, ptr %127, align 8, !tbaa !35
  %129 = sext i16 %128 to i64
  %130 = call ptr @json_integer_new(i64 noundef %129)
  %131 = call ptr @json_object_push(ptr noundef %125, ptr noundef @.str.16, ptr noundef %130)
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = call ptr @json_object_push(ptr noundef %132, ptr noundef @.str.1, ptr noundef %133)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %135

135:                                              ; preds = %27
  store i8 0, ptr %7, align 1, !tbaa !14
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.otfcc_Options, ptr %136, i32 0, i32 24
  %138 = load ptr, ptr %137, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct.otfcc_ILogger, ptr %138, i32 0, i32 8
  %140 = load ptr, ptr %139, align 8, !tbaa !36
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.otfcc_Options, ptr %141, i32 0, i32 24
  %143 = load ptr, ptr %142, align 8, !tbaa !9
  call void %140(ptr noundef %143)
  br label %23, !llvm.loop !37

144:                                              ; preds = %26, %11
  ret void
}

declare ptr @json_object_new(i64 noundef) #1

declare ptr @json_object_push(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @json_double_new(double noundef) #1

declare double @otfcc_from_fixed(i32 noundef) #1

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

declare ptr @json_integer_new(i64 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { inlinehint 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 }

!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 32}
!10 = !{!"", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !11, i64 9, !11, i64 10, !11, i64 11, !11, i64 12, !11, i64 13, !11, i64 14, !11, i64 15, !11, i64 16, !11, i64 17, !11, i64 18, !11, i64 19, !11, i64 20, !11, i64 21, !11, i64 22, !6, i64 24, !6, i64 32}
!11 = !{!"_Bool", !7, i64 0}
!12 = !{!13, !6, i64 32}
!13 = !{!"otfcc_ILogger", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!14 = !{!11, !11, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !19, i64 0}
!18 = !{!"", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !20, i64 16, !20, i64 18, !21, i64 24, !21, i64 32, !20, i64 40, !20, i64 42, !20, i64 44, !20, i64 46, !20, i64 48, !20, i64 50, !20, i64 52, !20, i64 54, !20, i64 56}
!19 = !{!"int", !7, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!18, !19, i64 4}
!23 = !{!18, !20, i64 16}
!24 = !{!18, !20, i64 18}
!25 = !{!18, !21, i64 24}
!26 = !{!18, !21, i64 32}
!27 = !{!18, !20, i64 40}
!28 = !{!18, !20, i64 44}
!29 = !{!18, !20, i64 42}
!30 = !{!18, !20, i64 46}
!31 = !{!18, !20, i64 48}
!32 = !{!18, !20, i64 50}
!33 = !{!18, !20, i64 52}
!34 = !{!18, !20, i64 54}
!35 = !{!18, !20, i64 56}
!36 = !{!13, !6, i64 64}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}


; 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 [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@headFlagsLabels = external hidden global [16 x ptr], align 16
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@macStyleLabels = external hidden global [8 x ptr], align 16
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1

declare ptr @sdscatprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #0

declare ptr @sdsempty() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @otfcc_dumpHead(ptr noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #1 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %87, label %.critedge

.critedge:                                        ; preds = %3
  %4 = getelementptr inbounds i8, ptr %2, i64 32
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 32
  %7 = load ptr, ptr %6, align 8, !tbaa !11
  %8 = tail call ptr @sdsempty() #3
  %9 = tail call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %8, ptr noundef nonnull @.str.1) #3
  tail call void %7(ptr noundef %5, ptr noundef %9) #3
  %10 = tail call ptr @json_object_new(i64 noundef 15) #3
  %11 = load i32, ptr %0, align 8, !tbaa !13
  %12 = tail call double @otfcc_from_fixed(i32 noundef %11) #3
  %13 = tail call ptr @json_double_new(double noundef %12) #3
  %14 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.2, ptr noundef %13) #3
  %15 = getelementptr inbounds i8, ptr %0, i64 4
  %16 = load i32, ptr %15, align 4, !tbaa !18
  %17 = tail call double @otfcc_from_fixed(i32 noundef %16) #3
  %18 = tail call ptr @json_double_new(double noundef %17) #3
  %19 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.3, ptr noundef %18) #3
  %20 = getelementptr inbounds i8, ptr %0, i64 16
  %21 = load i16, ptr %20, align 8, !tbaa !19
  %22 = zext i16 %21 to i32
  %23 = tail call ptr @otfcc_dump_flags(i32 noundef %22, ptr noundef nonnull @headFlagsLabels)
  %24 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.4, ptr noundef %23) #3
  %25 = getelementptr inbounds i8, ptr %0, i64 18
  %26 = load i16, ptr %25, align 2, !tbaa !20
  %27 = zext i16 %26 to i64
  %28 = tail call ptr @json_integer_new(i64 noundef %27) #3
  %29 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.5, ptr noundef %28) #3
  %30 = getelementptr inbounds i8, ptr %0, i64 24
  %31 = load i64, ptr %30, align 8, !tbaa !21
  %32 = tail call ptr @json_integer_new(i64 noundef %31) #3
  %33 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.6, ptr noundef %32) #3
  %34 = getelementptr inbounds i8, ptr %0, i64 32
  %35 = load i64, ptr %34, align 8, !tbaa !22
  %36 = tail call ptr @json_integer_new(i64 noundef %35) #3
  %37 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.7, ptr noundef %36) #3
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  %39 = load i16, ptr %38, align 8, !tbaa !23
  %40 = sext i16 %39 to i64
  %41 = tail call ptr @json_integer_new(i64 noundef %40) #3
  %42 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.8, ptr noundef %41) #3
  %43 = getelementptr inbounds i8, ptr %0, i64 44
  %44 = load i16, ptr %43, align 4, !tbaa !24
  %45 = sext i16 %44 to i64
  %46 = tail call ptr @json_integer_new(i64 noundef %45) #3
  %47 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.9, ptr noundef %46) #3
  %48 = getelementptr inbounds i8, ptr %0, i64 42
  %49 = load i16, ptr %48, align 2, !tbaa !25
  %50 = sext i16 %49 to i64
  %51 = tail call ptr @json_integer_new(i64 noundef %50) #3
  %52 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.10, ptr noundef %51) #3
  %53 = getelementptr inbounds i8, ptr %0, i64 46
  %54 = load i16, ptr %53, align 2, !tbaa !26
  %55 = sext i16 %54 to i64
  %56 = tail call ptr @json_integer_new(i64 noundef %55) #3
  %57 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.11, ptr noundef %56) #3
  %58 = getelementptr inbounds i8, ptr %0, i64 48
  %59 = load i16, ptr %58, align 8, !tbaa !27
  %60 = zext i16 %59 to i32
  %61 = tail call ptr @otfcc_dump_flags(i32 noundef %60, ptr noundef nonnull @macStyleLabels)
  %62 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.12, ptr noundef %61) #3
  %63 = getelementptr inbounds i8, ptr %0, i64 50
  %64 = load i16, ptr %63, align 2, !tbaa !28
  %65 = zext i16 %64 to i64
  %66 = tail call ptr @json_integer_new(i64 noundef %65) #3
  %67 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.13, ptr noundef %66) #3
  %68 = getelementptr inbounds i8, ptr %0, i64 52
  %69 = load i16, ptr %68, align 4, !tbaa !29
  %70 = sext i16 %69 to i64
  %71 = tail call ptr @json_integer_new(i64 noundef %70) #3
  %72 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.14, ptr noundef %71) #3
  %73 = getelementptr inbounds i8, ptr %0, i64 54
  %74 = load i16, ptr %73, align 2, !tbaa !30
  %75 = sext i16 %74 to i64
  %76 = tail call ptr @json_integer_new(i64 noundef %75) #3
  %77 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.15, ptr noundef %76) #3
  %78 = getelementptr inbounds i8, ptr %0, i64 56
  %79 = load i16, ptr %78, align 8, !tbaa !31
  %80 = sext i16 %79 to i64
  %81 = tail call ptr @json_integer_new(i64 noundef %80) #3
  %82 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.16, ptr noundef %81) #3
  %83 = tail call ptr @json_object_push(ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef %10) #3
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 64
  %86 = load ptr, ptr %85, align 8, !tbaa !32
  tail call void %86(ptr noundef %84) #3
  br label %87

87:                                               ; preds = %3, %.critedge
  ret void
}

declare ptr @json_object_new(i64 noundef) local_unnamed_addr #0

declare ptr @json_object_push(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @json_double_new(double noundef) local_unnamed_addr #0

declare double @otfcc_from_fixed(i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @otfcc_dump_flags(i32 noundef, ptr noundef) local_unnamed_addr #2

declare ptr @json_integer_new(i64 noundef) local_unnamed_addr #0

attributes #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 #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 = { inlinehint 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, !10, i64 32}
!6 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22, !10, i64 24, !10, i64 32}
!7 = !{!"_Bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 32}
!12 = !{!"otfcc_ILogger", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88}
!13 = !{!14, !15, i64 0}
!14 = !{!"", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !16, i64 16, !16, i64 18, !17, i64 24, !17, i64 32, !16, i64 40, !16, i64 42, !16, i64 44, !16, i64 46, !16, i64 48, !16, i64 50, !16, i64 52, !16, i64 54, !16, i64 56}
!15 = !{!"int", !8, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!14, !15, i64 4}
!19 = !{!14, !16, i64 16}
!20 = !{!14, !16, i64 18}
!21 = !{!14, !17, i64 24}
!22 = !{!14, !17, i64 32}
!23 = !{!14, !16, i64 40}
!24 = !{!14, !16, i64 44}
!25 = !{!14, !16, i64 42}
!26 = !{!14, !16, i64 46}
!27 = !{!14, !16, i64 48}
!28 = !{!14, !16, i64 50}
!29 = !{!14, !16, i64 52}
!30 = !{!14, !16, i64 54}
!31 = !{!14, !16, i64 56}
!32 = !{!12, !10, i64 64}


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