; LLVM IR from alekras/ao.rtos.cpp :: Library/hex2bin/Hex2BinEFSMachine.ll (ZN17Hex2BinEFSMachine13processRecordEv)

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

%class.Hex2BinEFSMachine = type { %class.Efsm, i32, i32, i32, i32, i32, [256 x i8], i32, i32, i32, i32, ptr, i32, i32, %class.FormatParser }
%class.Efsm = type { { i64, i64 } }
%class.FormatParser = type { %class.Fsm, ptr, ptr, i32, i32, [1 x %struct.__va_list_tag] }
%class.Fsm = type { { i64, i64 } }
%struct.__va_list_tag = type { i32, i32, ptr, ptr }

@.str.6 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN17Hex2BinEFSMachine13processRecordEv(ptr noundef nonnull align 8 dereferenceable(392) %0) #1 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca [80 x i8], align 16
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 80, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %11 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 12
  %12 = load i32, ptr %11, align 8, !tbaa !9
  switch i32 %12, label %132 [
    i32 0, label %13
    i32 1, label %66
    i32 2, label %67
    i32 4, label %86
    i32 3, label %107
    i32 5, label %107
  ]

13:                                               ; preds = %1
  %14 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 10
  %15 = load i32, ptr %14, align 8, !tbaa !15
  %16 = icmp eq i32 %15, 1
  br i1 %16, label %17, label %26

17:                                               ; preds = %13
  %18 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 9
  %19 = load i32, ptr %18, align 4, !tbaa !16
  %20 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 7
  %21 = load i32, ptr %20, align 4, !tbaa !17
  %22 = add i32 %19, %21
  %23 = zext i32 %22 to i64
  %24 = inttoptr i64 %23 to ptr
  %25 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 11
  store ptr %24, ptr %25, align 8, !tbaa !18
  br label %46

26:                                               ; preds = %13
  %27 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 10
  %28 = load i32, ptr %27, align 8, !tbaa !15
  %29 = icmp eq i32 %28, 2
  br i1 %29, label %30, label %39

30:                                               ; preds = %26
  %31 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 8
  %32 = load i32, ptr %31, align 8, !tbaa !19
  %33 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 7
  %34 = load i32, ptr %33, align 4, !tbaa !17
  %35 = add i32 %32, %34
  %36 = zext i32 %35 to i64
  %37 = inttoptr i64 %36 to ptr
  %38 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 11
  store ptr %37, ptr %38, align 8, !tbaa !18
  br label %45

39:                                               ; preds = %26
  %40 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 7
  %41 = load i32, ptr %40, align 4, !tbaa !17
  %42 = zext i32 %41 to i64
  %43 = inttoptr i64 %42 to ptr
  %44 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 11
  store ptr %43, ptr %44, align 8, !tbaa !18
  br label %45

45:                                               ; preds = %39, %30
  br label %46

46:                                               ; preds = %45, %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !20
  br label %47

47:                                               ; preds = %62, %46
  %48 = load i32, ptr %8, align 4, !tbaa !20
  %49 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 4
  %50 = load i32, ptr %49, align 4, !tbaa !21
  %51 = icmp slt i32 %48, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %65

53:                                               ; preds = %47
  %54 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %55 = load i32, ptr %8, align 4, !tbaa !20
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [256 x i8], ptr %54, i64 0, i64 %56
  %58 = load i8, ptr %57, align 1, !tbaa !22
  %59 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 11
  %60 = load ptr, ptr %59, align 8, !tbaa !18
  %61 = getelementptr inbounds i8, ptr %60, i32 1
  store ptr %61, ptr %59, align 8, !tbaa !18
  store i8 %58, ptr %60, align 1, !tbaa !22
  br label %62

62:                                               ; preds = %53
  %63 = load i32, ptr %8, align 4, !tbaa !20
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %8, align 4, !tbaa !20
  br label %47, !llvm.loop !23

65:                                               ; preds = %52
  br label %133

66:                                               ; preds = %1
  call void @sendString(ptr noundef @.str.6)
  store i32 1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %144

67:                                               ; preds = %1
  %68 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 10
  store i32 2, ptr %68, align 8, !tbaa !15
  %69 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %70 = getelementptr inbounds [256 x i8], ptr %69, i64 0, i64 0
  %71 = load i8, ptr %70, align 4, !tbaa !22
  %72 = zext i8 %71 to i32
  %73 = mul nsw i32 256, %72
  %74 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %75 = getelementptr inbounds [256 x i8], ptr %74, i64 0, i64 1
  %76 = load i8, ptr %75, align 1, !tbaa !22
  %77 = zext i8 %76 to i32
  %78 = add nsw i32 %73, %77
  %79 = shl i32 %78, 4
  %80 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 8
  store i32 %79, ptr %80, align 8, !tbaa !19
  %81 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 14
  %82 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
  %83 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 8
  %84 = load i32, ptr %83, align 8, !tbaa !19
  call void (ptr, ptr, ptr, ...) @_ZN12FormatParser6formatEPcPKcz(ptr noundef nonnull align 8 dereferenceable(64) %81, ptr noundef %82, ptr noundef @.str.7, i32 noundef %84)
  %85 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
  call void @sendString(ptr noundef %85)
  br label %133

86:                                               ; preds = %1
  %87 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 10
  store i32 1, ptr %87, align 8, !tbaa !15
  %88 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %89 = getelementptr inbounds [256 x i8], ptr %88, i64 0, i64 0
  %90 = load i8, ptr %89, align 4, !tbaa !22
  %91 = zext i8 %90 to i32
  %92 = mul nsw i32 256, %91
  %93 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %94 = getelementptr inbounds [256 x i8], ptr %93, i64 0, i64 1
  %95 = load i8, ptr %94, align 1, !tbaa !22
  %96 = zext i8 %95 to i32
  %97 = add nsw i32 %92, %96
  %98 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 9
  store i32 %97, ptr %98, align 4, !tbaa !16
  %99 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 9
  %100 = load i32, ptr %99, align 4, !tbaa !16
  %101 = shl i32 %100, 16
  store i32 %101, ptr %99, align 4, !tbaa !16
  %102 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 14
  %103 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
  %104 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 9
  %105 = load i32, ptr %104, align 4, !tbaa !16
  call void (ptr, ptr, ptr, ...) @_ZN12FormatParser6formatEPcPKcz(ptr noundef nonnull align 8 dereferenceable(64) %102, ptr noundef %103, ptr noundef @.str.8, i32 noundef %105)
  %106 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
  call void @sendString(ptr noundef %106)
  br label %133

107:                                              ; preds = %1, %1
  %108 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %109 = getelementptr inbounds [256 x i8], ptr %108, i64 0, i64 0
  %110 = load i8, ptr %109, align 4, !tbaa !22
  %111 = zext i8 %110 to i32
  %112 = mul nsw i32 256, %111
  %113 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %114 = getelementptr inbounds [256 x i8], ptr %113, i64 0, i64 1
  %115 = load i8, ptr %114, align 1, !tbaa !22
  %116 = zext i8 %115 to i32
  %117 = add nsw i32 %112, %116
  store i32 %117, ptr %5, align 4, !tbaa !20
  %118 = load i32, ptr %5, align 4, !tbaa !20
  %119 = shl i32 %118, 16
  store i32 %119, ptr %5, align 4, !tbaa !20
  %120 = load i32, ptr %5, align 4, !tbaa !20
  %121 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %122 = getelementptr inbounds [256 x i8], ptr %121, i64 0, i64 2
  %123 = load i8, ptr %122, align 2, !tbaa !22
  %124 = zext i8 %123 to i32
  %125 = mul nsw i32 256, %124
  %126 = add nsw i32 %120, %125
  %127 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 6
  %128 = getelementptr inbounds [256 x i8], ptr %127, i64 0, i64 3
  %129 = load i8, ptr %128, align 1, !tbaa !22
  %130 = zext i8 %129 to i32
  %131 = add nsw i32 %126, %130
  store i32 %131, ptr %5, align 4, !tbaa !20
  br label %133

132:                                              ; preds = %1
  br label %133

133:                                              ; preds = %132, %107, %86, %67, %65
  %134 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 5
  %135 = load i32, ptr %134, align 8, !tbaa !25
  %136 = xor i32 %135, -1
  %137 = add nsw i32 1, %136
  %138 = and i32 %137, 255
  %139 = getelementptr inbounds %class.Hex2BinEFSMachine, ptr %10, i32 0, i32 13
  %140 = load i32, ptr %139, align 4, !tbaa !26
  %141 = icmp ne i32 %138, %140
  br i1 %141, label %142, label %143

142:                                              ; preds = %133
  call void @sendString(ptr noundef @.str.9)
  br label %143

143:                                              ; preds = %142, %133
  store i32 0, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %144

144:                                              ; preds = %143, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 80, ptr %4) #3
  %145 = load i32, ptr %2, align 4
  ret i32 %145
}

declare void @sendString(ptr noundef) #2

declare void @_ZN12FormatParser6formatEPcPKcz(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ...) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { "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++ TBAA"}
!9 = !{!10, !12, i64 320}
!10 = !{!"_ZTS17Hex2BinEFSMachine", !11, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !7, i64 36, !12, i64 292, !12, i64 296, !12, i64 300, !12, i64 304, !6, i64 312, !12, i64 320, !12, i64 324, !13, i64 328}
!11 = !{!"_ZTS4EfsmIcE", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS12FormatParser", !14, i64 0, !6, i64 16, !6, i64 24, !12, i64 32, !12, i64 36, !7, i64 40}
!14 = !{!"_ZTS3FsmIKcE", !7, i64 0}
!15 = !{!10, !12, i64 304}
!16 = !{!10, !12, i64 300}
!17 = !{!10, !12, i64 292}
!18 = !{!10, !6, i64 312}
!19 = !{!10, !12, i64 296}
!20 = !{!12, !12, i64 0}
!21 = !{!10, !12, i64 28}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!10, !12, i64 32}
!26 = !{!10, !12, i64 324}


; 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.6 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN17Hex2BinEFSMachine13processRecordEv(ptr noundef nonnull align 8 dereferenceable(392) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca [80 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %2) #3
  %3 = getelementptr inbounds i8, ptr %0, i64 320
  %4 = load i32, ptr %3, align 8, !tbaa !5
  switch i32 %4, label %.loopexit [
    i32 0, label %5
    i32 1, label %40
    i32 2, label %41
    i32 4, label %54
  ]

5:                                                ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 304
  %7 = load i32, ptr %6, align 8, !tbaa !14
  switch i32 %7, label %20 [
    i32 1, label %8
    i32 2, label %14
  ]

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 300
  %10 = load i32, ptr %9, align 4, !tbaa !15
  %11 = getelementptr inbounds i8, ptr %0, i64 292
  %12 = load i32, ptr %11, align 4, !tbaa !16
  %13 = add i32 %12, %10
  br label %23

14:                                               ; preds = %5
  %15 = getelementptr inbounds i8, ptr %0, i64 296
  %16 = load i32, ptr %15, align 8, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %0, i64 292
  %18 = load i32, ptr %17, align 4, !tbaa !16
  %19 = add i32 %18, %16
  br label %23

20:                                               ; preds = %5
  %21 = getelementptr inbounds i8, ptr %0, i64 292
  %22 = load i32, ptr %21, align 4, !tbaa !16
  br label %23

23:                                               ; preds = %14, %20, %8
  %.sink = phi i32 [ %19, %14 ], [ %22, %20 ], [ %13, %8 ]
  %24 = zext i32 %.sink to i64
  %25 = inttoptr i64 %24 to ptr
  %26 = getelementptr inbounds i8, ptr %0, i64 312
  store ptr %25, ptr %26, align 8, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %0, i64 28
  %28 = load i32, ptr %27, align 4, !tbaa !19
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %23
  %30 = getelementptr inbounds i8, ptr %0, i64 36
  %31 = getelementptr inbounds i8, ptr %0, i64 312
  br label %32

32:                                               ; preds = %.lr.ph, %32
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %32 ]
  %33 = getelementptr inbounds [256 x i8], ptr %30, i64 0, i64 %indvars.iv
  %34 = load i8, ptr %33, align 1, !tbaa !20
  %35 = load ptr, ptr %31, align 8, !tbaa !18
  %36 = getelementptr inbounds i8, ptr %35, i64 1
  store ptr %36, ptr %31, align 8, !tbaa !18
  store i8 %34, ptr %35, align 1, !tbaa !20
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = load i32, ptr %27, align 4, !tbaa !19
  %38 = sext i32 %37 to i64
  %39 = icmp slt i64 %indvars.iv.next, %38
  br i1 %39, label %32, label %.loopexit, !llvm.loop !21

40:                                               ; preds = %1
  tail call void @sendString(ptr noundef nonnull @.str.6)
  br label %74

41:                                               ; preds = %1
  %42 = getelementptr inbounds i8, ptr %0, i64 304
  store i32 2, ptr %42, align 8, !tbaa !14
  %43 = getelementptr inbounds i8, ptr %0, i64 36
  %44 = load i8, ptr %43, align 4, !tbaa !20
  %45 = zext i8 %44 to i32
  %46 = getelementptr inbounds i8, ptr %0, i64 37
  %47 = load i8, ptr %46, align 1, !tbaa !20
  %48 = zext i8 %47 to i32
  %49 = shl nuw nsw i32 %45, 12
  %50 = shl nuw nsw i32 %48, 4
  %51 = or disjoint i32 %50, %49
  %52 = getelementptr inbounds i8, ptr %0, i64 296
  store i32 %51, ptr %52, align 8, !tbaa !17
  %53 = getelementptr inbounds i8, ptr %0, i64 328
  call void (ptr, ptr, ptr, ...) @_ZN12FormatParser6formatEPcPKcz(ptr noundef nonnull align 8 dereferenceable(64) %53, ptr noundef nonnull %2, ptr noundef nonnull @.str.7, i32 noundef %51)
  br label %.loopexit.sink.split

54:                                               ; preds = %1
  %55 = getelementptr inbounds i8, ptr %0, i64 304
  store i32 1, ptr %55, align 8, !tbaa !14
  %56 = getelementptr inbounds i8, ptr %0, i64 36
  %57 = load i8, ptr %56, align 4, !tbaa !20
  %58 = zext i8 %57 to i32
  %59 = getelementptr inbounds i8, ptr %0, i64 37
  %60 = load i8, ptr %59, align 1, !tbaa !20
  %61 = zext i8 %60 to i32
  %62 = getelementptr inbounds i8, ptr %0, i64 300
  %63 = shl nuw i32 %58, 24
  %64 = shl nuw nsw i32 %61, 16
  %65 = or disjoint i32 %64, %63
  store i32 %65, ptr %62, align 4, !tbaa !15
  %66 = getelementptr inbounds i8, ptr %0, i64 328
  call void (ptr, ptr, ptr, ...) @_ZN12FormatParser6formatEPcPKcz(ptr noundef nonnull align 8 dereferenceable(64) %66, ptr noundef nonnull %2, ptr noundef nonnull @.str.8, i32 noundef %65)
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %41, %54
  call void @sendString(ptr noundef nonnull %2)
  br label %.loopexit

.loopexit:                                        ; preds = %32, %.loopexit.sink.split, %23, %1
  %67 = getelementptr inbounds i8, ptr %0, i64 32
  %68 = load i32, ptr %67, align 8, !tbaa !23
  %69 = sub nsw i32 0, %68
  %70 = and i32 %69, 255
  %71 = getelementptr inbounds i8, ptr %0, i64 324
  %72 = load i32, ptr %71, align 4, !tbaa !24
  %.not = icmp eq i32 %70, %72
  br i1 %.not, label %74, label %73

73:                                               ; preds = %.loopexit
  call void @sendString(ptr noundef nonnull @.str.9)
  br label %74

74:                                               ; preds = %.loopexit, %73, %40
  %.06 = phi i32 [ 1, %40 ], [ 0, %73 ], [ 0, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %2) #3
  ret i32 %.06
}

declare void @sendString(ptr noundef) local_unnamed_addr #2

declare void @_ZN12FormatParser6formatEPcPKcz(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ...) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 = { "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 320}
!6 = !{!"_ZTS17Hex2BinEFSMachine", !7, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !8, i64 36, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !11, i64 312, !10, i64 320, !10, i64 324, !12, i64 328}
!7 = !{!"_ZTS4EfsmIcE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTS12FormatParser", !13, i64 0, !11, i64 16, !11, i64 24, !10, i64 32, !10, i64 36, !8, i64 40}
!13 = !{!"_ZTS3FsmIKcE", !8, i64 0}
!14 = !{!6, !10, i64 304}
!15 = !{!6, !10, i64 300}
!16 = !{!6, !10, i64 292}
!17 = !{!6, !10, i64 296}
!18 = !{!6, !11, i64 312}
!19 = !{!6, !10, i64 28}
!20 = !{!8, !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !10, i64 32}
!24 = !{!6, !10, i64 324}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass