; LLVM IR from InsightSoftwareConsortium/ITK :: Modules/ThirdParty/NIFTI/src/nifti/niftilib (nifti1_tool)

; 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.field_s = type { i32, i32, i32, i32, [20 x i8] }

@stdout = external global ptr, align 8
@.str.94 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [11 x i8], align 1
@g_history = external hidden global [29 x ptr], align 16
@.str.97 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [8 x i8], align 1
@g_version = external hidden global [34 x i8], align 16
@.str.101 = external hidden unnamed_addr constant [34 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: nounwind uwtable
declare dso_local i32 @fill_hdr_field_array(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @fill_nim_field_array(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @fill_ana_field_array(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @usage(ptr noundef %0, i32 noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca [43 x %struct.field_s], align 16
  %10 = alloca [47 x %struct.field_s], align 16
  %11 = alloca [63 x %struct.field_s], align 16
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %12 = load i32, ptr %5, align 4, !tbaa !9
  %13 = icmp eq i32 %12, 1
  br i1 %13, label %14, label %21

14:                                               ; preds = %2
  %15 = load ptr, ptr @stdout, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.94, ptr noundef %16) #4
  %18 = load ptr, ptr @stdout, align 8, !tbaa !5
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.95, ptr noundef %19) #4
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %87

21:                                               ; preds = %2
  %22 = load i32, ptr %5, align 4, !tbaa !9
  %23 = icmp eq i32 %22, 2
  br i1 %23, label %24, label %26

24:                                               ; preds = %21
  %25 = call i32 @use_full(ptr noundef @.str.96)
  br label %85

26:                                               ; preds = %21
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = icmp eq i32 %27, 3
  br i1 %28, label %29, label %45

29:                                               ; preds = %26
  store i32 29, ptr %7, align 4, !tbaa !9
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %41, %29
  %31 = load i32, ptr %6, align 4, !tbaa !9
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %34, label %44

34:                                               ; preds = %30
  %35 = load i32, ptr %6, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [29 x ptr], ptr @g_history, i64 0, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = load ptr, ptr @stdout, align 8, !tbaa !5
  %40 = call i32 @fputs(ptr noundef %38, ptr noundef %39)
  br label %41

41:                                               ; preds = %34
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %6, align 4, !tbaa !9
  br label %30, !llvm.loop !11

44:                                               ; preds = %30
  br label %84

45:                                               ; preds = %26
  %46 = load i32, ptr %5, align 4, !tbaa !9
  %47 = icmp eq i32 %46, 4
  br i1 %47, label %48, label %53

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 1548, ptr %9) #4
  %49 = getelementptr inbounds [43 x %struct.field_s], ptr %9, i64 0, i64 0
  %50 = call i32 @fill_hdr_field_array(ptr noundef %49)
  %51 = getelementptr inbounds [43 x %struct.field_s], ptr %9, i64 0, i64 0
  %52 = call i32 @disp_field_s_list(ptr noundef @.str.97, ptr noundef %51, i32 noundef 43)
  call void @llvm.lifetime.end.p0(i64 1548, ptr %9) #4
  br label %83

53:                                               ; preds = %45
  %54 = load i32, ptr %5, align 4, !tbaa !9
  %55 = icmp eq i32 %54, 6
  br i1 %55, label %56, label %61

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 1692, ptr %10) #4
  %57 = getelementptr inbounds [47 x %struct.field_s], ptr %10, i64 0, i64 0
  %58 = call i32 @fill_ana_field_array(ptr noundef %57)
  %59 = getelementptr inbounds [47 x %struct.field_s], ptr %10, i64 0, i64 0
  %60 = call i32 @disp_field_s_list(ptr noundef @.str.98, ptr noundef %59, i32 noundef 47)
  call void @llvm.lifetime.end.p0(i64 1692, ptr %10) #4
  br label %82

61:                                               ; preds = %53
  %62 = load i32, ptr %5, align 4, !tbaa !9
  %63 = icmp eq i32 %62, 5
  br i1 %63, label %64, label %69

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 2268, ptr %11) #4
  %65 = getelementptr inbounds [63 x %struct.field_s], ptr %11, i64 0, i64 0
  %66 = call i32 @fill_nim_field_array(ptr noundef %65)
  %67 = getelementptr inbounds [63 x %struct.field_s], ptr %11, i64 0, i64 0
  %68 = call i32 @disp_field_s_list(ptr noundef @.str.99, ptr noundef %67, i32 noundef 63)
  call void @llvm.lifetime.end.p0(i64 2268, ptr %11) #4
  br label %81

69:                                               ; preds = %61
  %70 = load i32, ptr %5, align 4, !tbaa !9
  %71 = icmp eq i32 %70, 8
  br i1 %71, label %72, label %76

72:                                               ; preds = %69
  %73 = load ptr, ptr @stdout, align 8, !tbaa !5
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.100, ptr noundef %74, ptr noundef @g_version) #4
  br label %80

76:                                               ; preds = %69
  %77 = load ptr, ptr @stdout, align 8, !tbaa !5
  %78 = load i32, ptr %5, align 4, !tbaa !9
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.101, i32 noundef %78) #4
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %87

80:                                               ; preds = %72
  br label %81

81:                                               ; preds = %80, %64
  br label %82

82:                                               ; preds = %81, %56
  br label %83

83:                                               ; preds = %82, %48
  br label %84

84:                                               ; preds = %83, %44
  br label %85

85:                                               ; preds = %84, %24
  br label %86

86:                                               ; preds = %85
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %87

87:                                               ; preds = %86, %76, %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %88 = load i32, ptr %3, align 4
  ret i32 %88
}

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @use_full(ptr noundef) #1

declare i32 @fputs(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @disp_field_s_list(ptr noundef, ptr noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 "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 = { "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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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"

%struct.field_s = type { i32, i32, i32, i32, [20 x i8] }

@stdout = external local_unnamed_addr global ptr, align 8
@.str.94 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [11 x i8], align 1
@g_history = external hidden local_unnamed_addr global [29 x ptr], align 16
@.str.97 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [8 x i8], align 1
@g_version = external hidden global [34 x i8], align 16
@.str.101 = external hidden unnamed_addr constant [34 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: nounwind uwtable
declare dso_local i32 @fill_hdr_field_array(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @fill_nim_field_array(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @fill_ana_field_array(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @usage(ptr noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = alloca [43 x %struct.field_s], align 16
  %4 = alloca [47 x %struct.field_s], align 16
  %5 = alloca [63 x %struct.field_s], align 16
  switch i32 %1, label %112 [
    i32 1, label %93
    i32 2, label %98
    i32 3, label %.preheader.preheader
    i32 4, label %100
    i32 6, label %103
    i32 5, label %106
    i32 8, label %109
  ]

.preheader.preheader:                             ; preds = %2
  %6 = load ptr, ptr @g_history, align 16, !tbaa !5
  %7 = load ptr, ptr @stdout, align 8, !tbaa !5
  %8 = tail call i32 @fputs(ptr noundef %6, ptr noundef %7)
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 8), align 8, !tbaa !5
  %10 = load ptr, ptr @stdout, align 8, !tbaa !5
  %11 = tail call i32 @fputs(ptr noundef %9, ptr noundef %10)
  %12 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 16), align 16, !tbaa !5
  %13 = load ptr, ptr @stdout, align 8, !tbaa !5
  %14 = tail call i32 @fputs(ptr noundef %12, ptr noundef %13)
  %15 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 24), align 8, !tbaa !5
  %16 = load ptr, ptr @stdout, align 8, !tbaa !5
  %17 = tail call i32 @fputs(ptr noundef %15, ptr noundef %16)
  %18 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 32), align 16, !tbaa !5
  %19 = load ptr, ptr @stdout, align 8, !tbaa !5
  %20 = tail call i32 @fputs(ptr noundef %18, ptr noundef %19)
  %21 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 40), align 8, !tbaa !5
  %22 = load ptr, ptr @stdout, align 8, !tbaa !5
  %23 = tail call i32 @fputs(ptr noundef %21, ptr noundef %22)
  %24 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 48), align 16, !tbaa !5
  %25 = load ptr, ptr @stdout, align 8, !tbaa !5
  %26 = tail call i32 @fputs(ptr noundef %24, ptr noundef %25)
  %27 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 56), align 8, !tbaa !5
  %28 = load ptr, ptr @stdout, align 8, !tbaa !5
  %29 = tail call i32 @fputs(ptr noundef %27, ptr noundef %28)
  %30 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 64), align 16, !tbaa !5
  %31 = load ptr, ptr @stdout, align 8, !tbaa !5
  %32 = tail call i32 @fputs(ptr noundef %30, ptr noundef %31)
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 72), align 8, !tbaa !5
  %34 = load ptr, ptr @stdout, align 8, !tbaa !5
  %35 = tail call i32 @fputs(ptr noundef %33, ptr noundef %34)
  %36 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 80), align 16, !tbaa !5
  %37 = load ptr, ptr @stdout, align 8, !tbaa !5
  %38 = tail call i32 @fputs(ptr noundef %36, ptr noundef %37)
  %39 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 88), align 8, !tbaa !5
  %40 = load ptr, ptr @stdout, align 8, !tbaa !5
  %41 = tail call i32 @fputs(ptr noundef %39, ptr noundef %40)
  %42 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 96), align 16, !tbaa !5
  %43 = load ptr, ptr @stdout, align 8, !tbaa !5
  %44 = tail call i32 @fputs(ptr noundef %42, ptr noundef %43)
  %45 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 104), align 8, !tbaa !5
  %46 = load ptr, ptr @stdout, align 8, !tbaa !5
  %47 = tail call i32 @fputs(ptr noundef %45, ptr noundef %46)
  %48 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 112), align 16, !tbaa !5
  %49 = load ptr, ptr @stdout, align 8, !tbaa !5
  %50 = tail call i32 @fputs(ptr noundef %48, ptr noundef %49)
  %51 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 120), align 8, !tbaa !5
  %52 = load ptr, ptr @stdout, align 8, !tbaa !5
  %53 = tail call i32 @fputs(ptr noundef %51, ptr noundef %52)
  %54 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 128), align 16, !tbaa !5
  %55 = load ptr, ptr @stdout, align 8, !tbaa !5
  %56 = tail call i32 @fputs(ptr noundef %54, ptr noundef %55)
  %57 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 136), align 8, !tbaa !5
  %58 = load ptr, ptr @stdout, align 8, !tbaa !5
  %59 = tail call i32 @fputs(ptr noundef %57, ptr noundef %58)
  %60 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 144), align 16, !tbaa !5
  %61 = load ptr, ptr @stdout, align 8, !tbaa !5
  %62 = tail call i32 @fputs(ptr noundef %60, ptr noundef %61)
  %63 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 152), align 8, !tbaa !5
  %64 = load ptr, ptr @stdout, align 8, !tbaa !5
  %65 = tail call i32 @fputs(ptr noundef %63, ptr noundef %64)
  %66 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 160), align 16, !tbaa !5
  %67 = load ptr, ptr @stdout, align 8, !tbaa !5
  %68 = tail call i32 @fputs(ptr noundef %66, ptr noundef %67)
  %69 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 168), align 8, !tbaa !5
  %70 = load ptr, ptr @stdout, align 8, !tbaa !5
  %71 = tail call i32 @fputs(ptr noundef %69, ptr noundef %70)
  %72 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 176), align 16, !tbaa !5
  %73 = load ptr, ptr @stdout, align 8, !tbaa !5
  %74 = tail call i32 @fputs(ptr noundef %72, ptr noundef %73)
  %75 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 184), align 8, !tbaa !5
  %76 = load ptr, ptr @stdout, align 8, !tbaa !5
  %77 = tail call i32 @fputs(ptr noundef %75, ptr noundef %76)
  %78 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 192), align 16, !tbaa !5
  %79 = load ptr, ptr @stdout, align 8, !tbaa !5
  %80 = tail call i32 @fputs(ptr noundef %78, ptr noundef %79)
  %81 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 200), align 8, !tbaa !5
  %82 = load ptr, ptr @stdout, align 8, !tbaa !5
  %83 = tail call i32 @fputs(ptr noundef %81, ptr noundef %82)
  %84 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 208), align 16, !tbaa !5
  %85 = load ptr, ptr @stdout, align 8, !tbaa !5
  %86 = tail call i32 @fputs(ptr noundef %84, ptr noundef %85)
  %87 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 216), align 8, !tbaa !5
  %88 = load ptr, ptr @stdout, align 8, !tbaa !5
  %89 = tail call i32 @fputs(ptr noundef %87, ptr noundef %88)
  %90 = load ptr, ptr getelementptr inbounds (i8, ptr @g_history, i64 224), align 16, !tbaa !5
  %91 = load ptr, ptr @stdout, align 8, !tbaa !5
  %92 = tail call i32 @fputs(ptr noundef %90, ptr noundef %91)
  br label %.loopexit

93:                                               ; preds = %2
  %94 = load ptr, ptr @stdout, align 8, !tbaa !5
  %95 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef nonnull @.str.94, ptr noundef %0) #3
  %96 = load ptr, ptr @stdout, align 8, !tbaa !5
  %97 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef nonnull @.str.95, ptr noundef %0) #3
  br label %.loopexit

98:                                               ; preds = %2
  %99 = tail call i32 @use_full(ptr noundef nonnull @.str.96)
  br label %.loopexit

100:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1548, ptr nonnull %3) #3
  %101 = call i32 @fill_hdr_field_array(ptr noundef nonnull %3)
  %102 = call i32 @disp_field_s_list(ptr noundef nonnull @.str.97, ptr noundef nonnull %3, i32 noundef 43)
  call void @llvm.lifetime.end.p0(i64 1548, ptr nonnull %3) #3
  br label %.loopexit

103:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1692, ptr nonnull %4) #3
  %104 = call i32 @fill_ana_field_array(ptr noundef nonnull %4)
  %105 = call i32 @disp_field_s_list(ptr noundef nonnull @.str.98, ptr noundef nonnull %4, i32 noundef 47)
  call void @llvm.lifetime.end.p0(i64 1692, ptr nonnull %4) #3
  br label %.loopexit

106:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 2268, ptr nonnull %5) #3
  %107 = call i32 @fill_nim_field_array(ptr noundef nonnull %5)
  %108 = call i32 @disp_field_s_list(ptr noundef nonnull @.str.99, ptr noundef nonnull %5, i32 noundef 63)
  call void @llvm.lifetime.end.p0(i64 2268, ptr nonnull %5) #3
  br label %.loopexit

109:                                              ; preds = %2
  %110 = load ptr, ptr @stdout, align 8, !tbaa !5
  %111 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef nonnull @.str.100, ptr noundef %0, ptr noundef nonnull @g_version) #3
  br label %.loopexit

112:                                              ; preds = %2
  %113 = load ptr, ptr @stdout, align 8, !tbaa !5
  %114 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef nonnull @.str.101, i32 noundef %1) #3
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.preheader, %103, %109, %106, %100, %98, %112, %93
  %.0 = phi i32 [ -1, %93 ], [ -1, %112 ], [ 1, %98 ], [ 1, %100 ], [ 1, %106 ], [ 1, %109 ], [ 1, %103 ], [ 1, %.preheader.preheader ]
  ret i32 %.0
}

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @use_full(ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @disp_field_s_list(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass