; LLVM IR from mlcommons/tiny :: benchmark/interface/Middlewares/ST/filex/common/src/fx_media_boot_info_extract_525a23a6 (extract)

; 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.FX_MEDIA_STRUCT = type { i64, ptr, ptr, i64, i32, i64, ptr, ptr, i64, i64, i32, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i64, i64, i32, i64, i64, ptr, i32, i32, ptr, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i64, ptr, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %struct.TX_MUTEX_STRUCT, i32, %struct.FX_DIR_ENTRY_STRUCT, %struct.FX_DIR_ENTRY_STRUCT, [256 x i8], [256 x i8], %struct.FX_PATH_STRUCT, [16 x %struct.FX_FAT_CACHE_ENTRY_STRUCT], [128 x i8], i64, [1024 x i8], [256 x %struct.FX_CACHED_SECTOR_STRUCT], i64, i64, i64, i64, i8 }
%struct.TX_MUTEX_STRUCT = type { i64, ptr, i32, ptr, i32, i32, ptr, i32, ptr, ptr, i32, ptr, ptr }
%struct.FX_DIR_ENTRY_STRUCT = type { ptr, [13 x i8], i32, i32, i8, i8, i8, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.FX_PATH_STRUCT = type { %struct.FX_DIR_ENTRY_STRUCT, [256 x i8], [256 x i8], i64 }
%struct.FX_FAT_CACHE_ENTRY_STRUCT = type { i64, i64, i64 }
%struct.FX_CACHED_SECTOR_STRUCT = type { ptr, i64, i8, i8, i8, i8, ptr }

; Function Attrs: nounwind uwtable
define dso_local i32 @_fx_media_boot_info_extract(ptr noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %6, i32 0, i32 34
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  store ptr %8, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 11
  %11 = call i32 @_fx_utility_16_unsigned_read(ptr noundef %10)
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %12, i32 0, i32 10
  store i32 %11, ptr %13, align 8, !tbaa !17
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %14, i32 0, i32 10
  %16 = load i32, ptr %15, align 8, !tbaa !17
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %19

18:                                               ; preds = %1
  store i32 2, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %128

19:                                               ; preds = %1
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 24
  %22 = call i32 @_fx_utility_16_unsigned_read(ptr noundef %21)
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %23, i32 0, i32 11
  store i32 %22, ptr %24, align 4, !tbaa !18
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 26
  %27 = call i32 @_fx_utility_16_unsigned_read(ptr noundef %26)
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %28, i32 0, i32 12
  store i32 %27, ptr %29, align 8, !tbaa !19
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 19
  %32 = call i32 @_fx_utility_16_unsigned_read(ptr noundef %31)
  %33 = zext i32 %32 to i64
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %34, i32 0, i32 13
  store i64 %33, ptr %35, align 8, !tbaa !20
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %36, i32 0, i32 13
  %38 = load i64, ptr %37, align 8, !tbaa !20
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %40, label %46

40:                                               ; preds = %19
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %41, i64 32
  %43 = call i64 @_fx_utility_32_unsigned_read(ptr noundef %42)
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %44, i32 0, i32 13
  store i64 %43, ptr %45, align 8, !tbaa !20
  br label %46

46:                                               ; preds = %40, %19
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %47, i32 0, i32 13
  %49 = load i64, ptr %48, align 8, !tbaa !20
  %50 = icmp eq i64 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %46
  store i32 2, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %128

52:                                               ; preds = %46
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %53, i64 14
  %55 = call i32 @_fx_utility_16_unsigned_read(ptr noundef %54)
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %56, i32 0, i32 15
  store i32 %55, ptr %57, align 8, !tbaa !21
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %58, i32 0, i32 15
  %60 = load i32, ptr %59, align 8, !tbaa !21
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %52
  store i32 2, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %128

63:                                               ; preds = %52
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 13
  %66 = load i8, ptr %65, align 1, !tbaa !22
  %67 = zext i8 %66 to i32
  %68 = and i32 %67, 255
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %69, i32 0, i32 19
  store i32 %68, ptr %70, align 8, !tbaa !23
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %71, i32 0, i32 19
  %73 = load i32, ptr %72, align 8, !tbaa !23
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %63
  store i32 2, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %128

76:                                               ; preds = %63
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 22
  %79 = call i32 @_fx_utility_16_unsigned_read(ptr noundef %78)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %80, i32 0, i32 20
  store i32 %79, ptr %81, align 4, !tbaa !24
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %82, i32 0, i32 20
  %84 = load i32, ptr %83, align 4, !tbaa !24
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %93

86:                                               ; preds = %76
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 36
  %89 = call i64 @_fx_utility_32_unsigned_read(ptr noundef %88)
  %90 = trunc i64 %89 to i32
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %91, i32 0, i32 20
  store i32 %90, ptr %92, align 4, !tbaa !24
  br label %93

93:                                               ; preds = %86, %76
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %94, i32 0, i32 20
  %96 = load i32, ptr %95, align 4, !tbaa !24
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %93
  store i32 2, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %128

99:                                               ; preds = %93
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 16
  %102 = load i8, ptr %101, align 1, !tbaa !22
  %103 = zext i8 %102 to i32
  %104 = and i32 %103, 255
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %105, i32 0, i32 21
  store i32 %104, ptr %106, align 8, !tbaa !25
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %107, i32 0, i32 21
  %109 = load i32, ptr %108, align 8, !tbaa !25
  %110 = icmp eq i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %99
  store i32 1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %128

112:                                              ; preds = %99
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i64 28
  %115 = call i64 @_fx_utility_32_unsigned_read(ptr noundef %114)
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %116, i32 0, i32 26
  store i64 %115, ptr %117, align 8, !tbaa !26
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %118, i64 17
  %120 = call i32 @_fx_utility_16_unsigned_read(ptr noundef %119)
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %121, i32 0, i32 28
  store i32 %120, ptr %122, align 8, !tbaa !27
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %123, i64 44
  %125 = call i64 @_fx_utility_32_unsigned_read(ptr noundef %124)
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %126, i32 0, i32 27
  store i64 %125, ptr %127, align 8, !tbaa !28
  store i32 0, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %128

128:                                              ; preds = %112, %111, %98, %75, %62, %51, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %129 = load i32, ptr %2, align 4
  ret i32 %129
}

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

declare i32 @_fx_utility_16_unsigned_read(ptr noundef) #2

declare i64 @_fx_utility_32_unsigned_read(ptr noundef) #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 224}
!10 = !{!"FX_MEDIA_STRUCT", !11, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !12, i64 32, !11, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !11, i64 72, !12, i64 80, !12, i64 84, !12, i64 88, !13, i64 96, !11, i64 104, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !11, i64 152, !12, i64 160, !11, i64 168, !11, i64 176, !12, i64 184, !11, i64 192, !11, i64 200, !6, i64 208, !12, i64 216, !12, i64 220, !6, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !12, i64 256, !12, i64 260, !12, i64 264, !12, i64 268, !12, i64 272, !12, i64 276, !12, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !11, i64 320, !6, i64 328, !6, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !11, i64 640, !11, i64 648, !11, i64 656, !11, i64 664, !11, i64 672, !11, i64 680, !11, i64 688, !11, i64 696, !11, i64 704, !11, i64 712, !11, i64 720, !11, i64 728, !11, i64 736, !11, i64 744, !11, i64 752, !11, i64 760, !11, i64 768, !11, i64 776, !11, i64 784, !11, i64 792, !11, i64 800, !11, i64 808, !11, i64 816, !14, i64 824, !12, i64 920, !15, i64 928, !15, i64 1064, !7, i64 1200, !7, i64 1456, !16, i64 1712, !7, i64 2368, !7, i64 2752, !11, i64 2880, !7, i64 2888, !7, i64 3912, !11, i64 12104, !11, i64 12112, !11, i64 12120, !11, i64 12128, !7, i64 12136}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"TX_MUTEX_STRUCT", !11, i64 0, !6, i64 8, !12, i64 16, !6, i64 24, !12, i64 32, !12, i64 36, !6, i64 40, !12, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !6, i64 88}
!15 = !{!"FX_DIR_ENTRY_STRUCT", !6, i64 0, !7, i64 8, !12, i64 24, !12, i64 28, !7, i64 32, !7, i64 33, !7, i64 34, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !13, i64 64, !13, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !13, i64 112, !11, i64 120, !13, i64 128}
!16 = !{!"FX_PATH_STRUCT", !15, i64 0, !7, i64 136, !7, i64 392, !11, i64 648}
!17 = !{!10, !12, i64 80}
!18 = !{!10, !12, i64 84}
!19 = !{!10, !12, i64 88}
!20 = !{!10, !13, i64 96}
!21 = !{!10, !12, i64 112}
!22 = !{!7, !7, i64 0}
!23 = !{!10, !12, i64 128}
!24 = !{!10, !12, i64 132}
!25 = !{!10, !12, i64 136}
!26 = !{!10, !11, i64 168}
!27 = !{!10, !12, i64 184}
!28 = !{!10, !11, i64 176}


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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 3) i32 @_fx_media_boot_info_extract(ptr nocapture noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 224
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 11
  %5 = tail call i32 @_fx_utility_16_unsigned_read(ptr noundef nonnull %4) #2
  %6 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 %5, ptr %6, align 8, !tbaa !16
  %7 = icmp eq i32 %5, 0
  br i1 %7, label %62, label %8

8:                                                ; preds = %1
  %9 = getelementptr inbounds i8, ptr %3, i64 24
  %10 = tail call i32 @_fx_utility_16_unsigned_read(ptr noundef nonnull %9) #2
  %11 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 %10, ptr %11, align 4, !tbaa !17
  %12 = getelementptr inbounds i8, ptr %3, i64 26
  %13 = tail call i32 @_fx_utility_16_unsigned_read(ptr noundef nonnull %12) #2
  %14 = getelementptr inbounds i8, ptr %0, i64 88
  store i32 %13, ptr %14, align 8, !tbaa !18
  %15 = getelementptr inbounds i8, ptr %3, i64 19
  %16 = tail call i32 @_fx_utility_16_unsigned_read(ptr noundef nonnull %15) #2
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds i8, ptr %0, i64 96
  store i64 %17, ptr %18, align 8, !tbaa !19
  %19 = icmp eq i32 %16, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %8
  %21 = getelementptr inbounds i8, ptr %3, i64 32
  %22 = tail call i64 @_fx_utility_32_unsigned_read(ptr noundef nonnull %21) #2
  store i64 %22, ptr %18, align 8, !tbaa !19
  br label %23

23:                                               ; preds = %20, %8
  %24 = phi i64 [ %22, %20 ], [ %17, %8 ]
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %62, label %26

26:                                               ; preds = %23
  %27 = getelementptr inbounds i8, ptr %3, i64 14
  %28 = tail call i32 @_fx_utility_16_unsigned_read(ptr noundef nonnull %27) #2
  %29 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 %28, ptr %29, align 8, !tbaa !20
  %30 = icmp eq i32 %28, 0
  br i1 %30, label %62, label %31

31:                                               ; preds = %26
  %32 = getelementptr inbounds i8, ptr %3, i64 13
  %33 = load i8, ptr %32, align 1, !tbaa !21
  %34 = zext i8 %33 to i32
  %35 = getelementptr inbounds i8, ptr %0, i64 128
  store i32 %34, ptr %35, align 8, !tbaa !22
  %36 = icmp eq i8 %33, 0
  br i1 %36, label %62, label %37

37:                                               ; preds = %31
  %38 = getelementptr inbounds i8, ptr %3, i64 22
  %39 = tail call i32 @_fx_utility_16_unsigned_read(ptr noundef nonnull %38) #2
  %40 = getelementptr inbounds i8, ptr %0, i64 132
  store i32 %39, ptr %40, align 4, !tbaa !23
  %41 = icmp eq i32 %39, 0
  br i1 %41, label %42, label %.thread

42:                                               ; preds = %37
  %43 = getelementptr inbounds i8, ptr %3, i64 36
  %44 = tail call i64 @_fx_utility_32_unsigned_read(ptr noundef nonnull %43) #2
  %45 = trunc i64 %44 to i32
  store i32 %45, ptr %40, align 4, !tbaa !23
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %62, label %.thread

.thread:                                          ; preds = %37, %42
  %47 = getelementptr inbounds i8, ptr %3, i64 16
  %48 = load i8, ptr %47, align 1, !tbaa !21
  %49 = zext i8 %48 to i32
  %50 = getelementptr inbounds i8, ptr %0, i64 136
  store i32 %49, ptr %50, align 8, !tbaa !24
  %51 = icmp eq i8 %48, 0
  br i1 %51, label %62, label %52

52:                                               ; preds = %.thread
  %53 = getelementptr inbounds i8, ptr %3, i64 28
  %54 = tail call i64 @_fx_utility_32_unsigned_read(ptr noundef nonnull %53) #2
  %55 = getelementptr inbounds i8, ptr %0, i64 168
  store i64 %54, ptr %55, align 8, !tbaa !25
  %56 = getelementptr inbounds i8, ptr %3, i64 17
  %57 = tail call i32 @_fx_utility_16_unsigned_read(ptr noundef nonnull %56) #2
  %58 = getelementptr inbounds i8, ptr %0, i64 184
  store i32 %57, ptr %58, align 8, !tbaa !26
  %59 = getelementptr inbounds i8, ptr %3, i64 44
  %60 = tail call i64 @_fx_utility_32_unsigned_read(ptr noundef nonnull %59) #2
  %61 = getelementptr inbounds i8, ptr %0, i64 176
  store i64 %60, ptr %61, align 8, !tbaa !27
  br label %62

62:                                               ; preds = %.thread, %42, %31, %26, %23, %1, %52
  %.0 = phi i32 [ 0, %52 ], [ 2, %1 ], [ 2, %23 ], [ 2, %26 ], [ 2, %31 ], [ 2, %42 ], [ 1, %.thread ]
  ret i32 %.0
}

declare i32 @_fx_utility_16_unsigned_read(ptr noundef) local_unnamed_addr #1

declare i64 @_fx_utility_32_unsigned_read(ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 #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 }

!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 224}
!6 = !{!"FX_MEDIA_STRUCT", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !7, i64 40, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !12, i64 96, !7, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !7, i64 152, !11, i64 160, !7, i64 168, !7, i64 176, !11, i64 184, !7, i64 192, !7, i64 200, !10, i64 208, !11, i64 216, !11, i64 220, !10, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !7, i64 320, !10, i64 328, !10, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432, !7, i64 440, !7, i64 448, !7, i64 456, !7, i64 464, !7, i64 472, !7, i64 480, !7, i64 488, !7, i64 496, !7, i64 504, !7, i64 512, !7, i64 520, !7, i64 528, !7, i64 536, !7, i64 544, !7, i64 552, !7, i64 560, !7, i64 568, !7, i64 576, !7, i64 584, !7, i64 592, !7, i64 600, !7, i64 608, !7, i64 616, !7, i64 624, !7, i64 632, !7, i64 640, !7, i64 648, !7, i64 656, !7, i64 664, !7, i64 672, !7, i64 680, !7, i64 688, !7, i64 696, !7, i64 704, !7, i64 712, !7, i64 720, !7, i64 728, !7, i64 736, !7, i64 744, !7, i64 752, !7, i64 760, !7, i64 768, !7, i64 776, !7, i64 784, !7, i64 792, !7, i64 800, !7, i64 808, !7, i64 816, !13, i64 824, !11, i64 920, !14, i64 928, !14, i64 1064, !8, i64 1200, !8, i64 1456, !15, i64 1712, !8, i64 2368, !8, i64 2752, !7, i64 2880, !8, i64 2888, !8, i64 3912, !7, i64 12104, !7, i64 12112, !7, i64 12120, !7, i64 12128, !8, i64 12136}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"TX_MUTEX_STRUCT", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !11, i64 32, !11, i64 36, !10, i64 40, !11, i64 48, !10, i64 56, !10, i64 64, !11, i64 72, !10, i64 80, !10, i64 88}
!14 = !{!"FX_DIR_ENTRY_STRUCT", !10, i64 0, !8, i64 8, !11, i64 24, !11, i64 28, !8, i64 32, !8, i64 33, !8, i64 34, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !7, i64 56, !12, i64 64, !12, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !12, i64 112, !7, i64 120, !12, i64 128}
!15 = !{!"FX_PATH_STRUCT", !14, i64 0, !8, i64 136, !8, i64 392, !7, i64 648}
!16 = !{!6, !11, i64 80}
!17 = !{!6, !11, i64 84}
!18 = !{!6, !11, i64 88}
!19 = !{!6, !12, i64 96}
!20 = !{!6, !11, i64 112}
!21 = !{!8, !8, i64 0}
!22 = !{!6, !11, i64 128}
!23 = !{!6, !11, i64 132}
!24 = !{!6, !11, i64 136}
!25 = !{!6, !7, i64 168}
!26 = !{!6, !11, i64 184}
!27 = !{!6, !7, i64 176}


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