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

; 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_maxp = type { i32, i16, i16, i16, i16, i16, 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 [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [18 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_dumpMaxp(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 %146

12:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #3
  %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 = %137, %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) #3
  br label %146

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

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

146:                                              ; 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

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 = { 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, !20, i64 4, !20, i64 6, !20, i64 8, !20, i64 10, !20, i64 12, !20, i64 14, !20, i64 16, !20, i64 18, !20, i64 20, !20, i64 22, !20, i64 24, !20, i64 26, !20, i64 28, !20, i64 30}
!19 = !{!"int", !7, i64 0}
!20 = !{!"short", !7, i64 0}
!21 = !{!18, !20, i64 4}
!22 = !{!18, !20, i64 6}
!23 = !{!18, !20, i64 8}
!24 = !{!18, !20, i64 10}
!25 = !{!18, !20, i64 12}
!26 = !{!18, !20, i64 14}
!27 = !{!18, !20, i64 16}
!28 = !{!18, !20, i64 18}
!29 = !{!18, !20, i64 20}
!30 = !{!18, !20, i64 22}
!31 = !{!18, !20, i64 24}
!32 = !{!18, !20, i64 26}
!33 = !{!18, !20, i64 28}
!34 = !{!18, !20, i64 30}
!35 = !{!13, !6, i64 64}
!36 = distinct !{!36, !37}
!37 = !{!"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 [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [18 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_dumpMaxp(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 %89, 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() #2
  %9 = tail call ptr (ptr, ptr, ...) @sdscatprintf(ptr noundef %8, ptr noundef nonnull @.str.1) #2
  tail call void %7(ptr noundef %5, ptr noundef %9) #2
  %10 = tail call ptr @json_object_new(i64 noundef 15) #2
  %11 = load i32, ptr %0, align 4, !tbaa !13
  %12 = tail call double @otfcc_from_fixed(i32 noundef %11) #2
  %13 = tail call ptr @json_double_new(double noundef %12) #2
  %14 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.2, ptr noundef %13) #2
  %15 = getelementptr inbounds i8, ptr %0, i64 4
  %16 = load i16, ptr %15, align 4, !tbaa !17
  %17 = zext i16 %16 to i64
  %18 = tail call ptr @json_integer_new(i64 noundef %17) #2
  %19 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.3, ptr noundef %18) #2
  %20 = getelementptr inbounds i8, ptr %0, i64 6
  %21 = load i16, ptr %20, align 2, !tbaa !18
  %22 = zext i16 %21 to i64
  %23 = tail call ptr @json_integer_new(i64 noundef %22) #2
  %24 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.4, ptr noundef %23) #2
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = load i16, ptr %25, align 4, !tbaa !19
  %27 = zext i16 %26 to i64
  %28 = tail call ptr @json_integer_new(i64 noundef %27) #2
  %29 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.5, ptr noundef %28) #2
  %30 = getelementptr inbounds i8, ptr %0, i64 10
  %31 = load i16, ptr %30, align 2, !tbaa !20
  %32 = zext i16 %31 to i64
  %33 = tail call ptr @json_integer_new(i64 noundef %32) #2
  %34 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.6, ptr noundef %33) #2
  %35 = getelementptr inbounds i8, ptr %0, i64 12
  %36 = load i16, ptr %35, align 4, !tbaa !21
  %37 = zext i16 %36 to i64
  %38 = tail call ptr @json_integer_new(i64 noundef %37) #2
  %39 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.7, ptr noundef %38) #2
  %40 = getelementptr inbounds i8, ptr %0, i64 14
  %41 = load i16, ptr %40, align 2, !tbaa !22
  %42 = zext i16 %41 to i64
  %43 = tail call ptr @json_integer_new(i64 noundef %42) #2
  %44 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.8, ptr noundef %43) #2
  %45 = getelementptr inbounds i8, ptr %0, i64 16
  %46 = load i16, ptr %45, align 4, !tbaa !23
  %47 = zext i16 %46 to i64
  %48 = tail call ptr @json_integer_new(i64 noundef %47) #2
  %49 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.9, ptr noundef %48) #2
  %50 = getelementptr inbounds i8, ptr %0, i64 18
  %51 = load i16, ptr %50, align 2, !tbaa !24
  %52 = zext i16 %51 to i64
  %53 = tail call ptr @json_integer_new(i64 noundef %52) #2
  %54 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.10, ptr noundef %53) #2
  %55 = getelementptr inbounds i8, ptr %0, i64 20
  %56 = load i16, ptr %55, align 4, !tbaa !25
  %57 = zext i16 %56 to i64
  %58 = tail call ptr @json_integer_new(i64 noundef %57) #2
  %59 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.11, ptr noundef %58) #2
  %60 = getelementptr inbounds i8, ptr %0, i64 22
  %61 = load i16, ptr %60, align 2, !tbaa !26
  %62 = zext i16 %61 to i64
  %63 = tail call ptr @json_integer_new(i64 noundef %62) #2
  %64 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.12, ptr noundef %63) #2
  %65 = getelementptr inbounds i8, ptr %0, i64 24
  %66 = load i16, ptr %65, align 4, !tbaa !27
  %67 = zext i16 %66 to i64
  %68 = tail call ptr @json_integer_new(i64 noundef %67) #2
  %69 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.13, ptr noundef %68) #2
  %70 = getelementptr inbounds i8, ptr %0, i64 26
  %71 = load i16, ptr %70, align 2, !tbaa !28
  %72 = zext i16 %71 to i64
  %73 = tail call ptr @json_integer_new(i64 noundef %72) #2
  %74 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.14, ptr noundef %73) #2
  %75 = getelementptr inbounds i8, ptr %0, i64 28
  %76 = load i16, ptr %75, align 4, !tbaa !29
  %77 = zext i16 %76 to i64
  %78 = tail call ptr @json_integer_new(i64 noundef %77) #2
  %79 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.15, ptr noundef %78) #2
  %80 = getelementptr inbounds i8, ptr %0, i64 30
  %81 = load i16, ptr %80, align 2, !tbaa !30
  %82 = zext i16 %81 to i64
  %83 = tail call ptr @json_integer_new(i64 noundef %82) #2
  %84 = tail call ptr @json_object_push(ptr noundef %10, ptr noundef nonnull @.str.16, ptr noundef %83) #2
  %85 = tail call ptr @json_object_push(ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef %10) #2
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %86, i64 64
  %88 = load ptr, ptr %87, align 8, !tbaa !31
  tail call void %88(ptr noundef %86) #2
  br label %89

89:                                               ; 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

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 = { 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, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !16, i64 18, !16, i64 20, !16, i64 22, !16, i64 24, !16, i64 26, !16, i64 28, !16, i64 30}
!15 = !{!"int", !8, i64 0}
!16 = !{!"short", !8, i64 0}
!17 = !{!14, !16, i64 4}
!18 = !{!14, !16, i64 6}
!19 = !{!14, !16, i64 8}
!20 = !{!14, !16, i64 10}
!21 = !{!14, !16, i64 12}
!22 = !{!14, !16, i64 14}
!23 = !{!14, !16, i64 16}
!24 = !{!14, !16, i64 18}
!25 = !{!14, !16, i64 20}
!26 = !{!14, !16, i64 22}
!27 = !{!14, !16, i64 24}
!28 = !{!14, !16, i64 26}
!29 = !{!14, !16, i64 28}
!30 = !{!14, !16, i64 30}
!31 = !{!12, !10, i64 64}


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