; LLVM IR from musetronstar/tagd :: tagl/src (lemon)

; 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.action = type { ptr, i32, %union.anon, ptr, ptr, ptr }
%union.anon = type { ptr }
%struct.symbol = type { ptr, i32, i32, ptr, ptr, i32, i32, ptr, i32, i32, ptr, i32, ptr, i32, i32, i32, ptr }
%struct.state = type { ptr, ptr, i32, ptr, i32, i32, i32, i32, i32, ptr, i32 }
%struct.rule = type { ptr, ptr, i32, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr, ptr }

@showPrecedenceConflict = external hidden global i32, align 4
@.str.100 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [23 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
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
declare dso_local void @RulePrint(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @PrintAction(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 1, ptr %7, align 4, !tbaa !9
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.action, ptr %11, i32 0, i32 1
  %13 = load i32, ptr %12, align 8, !tbaa !11
  switch i32 %13, label %148 [
    i32 0, label %14
    i32 2, label %29
    i32 10, label %46
    i32 1, label %63
    i32 3, label %72
    i32 5, label %81
    i32 6, label %81
    i32 4, label %95
    i32 7, label %109
    i32 8, label %128
    i32 9, label %147
  ]

14:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.action, ptr %15, i32 0, i32 2
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  store ptr %17, ptr %8, align 8, !tbaa !5
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.action, ptr %20, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !14
  %23 = getelementptr inbounds %struct.symbol, ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !15
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.state, ptr %25, i32 0, i32 2
  %27 = load i32, ptr %26, align 8, !tbaa !17
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef @.str.100, i32 noundef %19, ptr noundef %24, i32 noundef %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %148

29:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.action, ptr %30, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  store ptr %32, ptr %9, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = load i32, ptr %6, align 4, !tbaa !9
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.action, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !14
  %38 = getelementptr inbounds %struct.symbol, ptr %37, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !15
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.rule, ptr %40, i32 0, i32 13
  %42 = load i32, ptr %41, align 4, !tbaa !19
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.101, i32 noundef %34, ptr noundef %39, i32 noundef %42) #3
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  call void @RulePrint(ptr noundef %44, ptr noundef %45, i32 noundef -1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %148

46:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.action, ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !13
  store ptr %49, ptr %10, align 8, !tbaa !5
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = load i32, ptr %6, align 4, !tbaa !9
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.action, ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !14
  %55 = getelementptr inbounds %struct.symbol, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.rule, ptr %57, i32 0, i32 13
  %59 = load i32, ptr %58, align 4, !tbaa !19
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.102, i32 noundef %51, ptr noundef %56, i32 noundef %59) #3
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  call void @RulePrint(ptr noundef %61, ptr noundef %62, i32 noundef -1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %148

63:                                               ; preds = %3
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !9
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.action, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !14
  %69 = getelementptr inbounds %struct.symbol, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !15
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.103, i32 noundef %65, ptr noundef %70) #3
  br label %148

72:                                               ; preds = %3
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = load i32, ptr %6, align 4, !tbaa !9
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.action, ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !14
  %78 = getelementptr inbounds %struct.symbol, ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !15
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.104, i32 noundef %74, ptr noundef %79) #3
  br label %148

81:                                               ; preds = %3, %3
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = load i32, ptr %6, align 4, !tbaa !9
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.action, ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !14
  %87 = getelementptr inbounds %struct.symbol, ptr %86, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !15
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.action, ptr %89, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  %92 = getelementptr inbounds %struct.rule, ptr %91, i32 0, i32 13
  %93 = load i32, ptr %92, align 4, !tbaa !19
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.105, i32 noundef %83, ptr noundef %88, i32 noundef %93) #3
  br label %148

95:                                               ; preds = %3
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = load i32, ptr %6, align 4, !tbaa !9
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.action, ptr %98, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8, !tbaa !14
  %101 = getelementptr inbounds %struct.symbol, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !15
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.action, ptr %103, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !13
  %106 = getelementptr inbounds %struct.state, ptr %105, i32 0, i32 2
  %107 = load i32, ptr %106, align 8, !tbaa !17
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.106, i32 noundef %97, ptr noundef %102, i32 noundef %107) #3
  br label %148

109:                                              ; preds = %3
  %110 = load i32, ptr @showPrecedenceConflict, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %126

112:                                              ; preds = %109
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = load i32, ptr %6, align 4, !tbaa !9
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.action, ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !14
  %118 = getelementptr inbounds %struct.symbol, ptr %117, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !15
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.action, ptr %120, i32 0, i32 2
  %122 = load ptr, ptr %121, align 8, !tbaa !13
  %123 = getelementptr inbounds %struct.state, ptr %122, i32 0, i32 2
  %124 = load i32, ptr %123, align 8, !tbaa !17
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.107, i32 noundef %114, ptr noundef %119, i32 noundef %124) #3
  br label %127

126:                                              ; preds = %109
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %126, %112
  br label %148

128:                                              ; preds = %3
  %129 = load i32, ptr @showPrecedenceConflict, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %145

131:                                              ; preds = %128
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = load i32, ptr %6, align 4, !tbaa !9
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.action, ptr %134, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !14
  %137 = getelementptr inbounds %struct.symbol, ptr %136, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8, !tbaa !15
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.action, ptr %139, i32 0, i32 2
  %141 = load ptr, ptr %140, align 8, !tbaa !13
  %142 = getelementptr inbounds %struct.rule, ptr %141, i32 0, i32 13
  %143 = load i32, ptr %142, align 4, !tbaa !19
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.108, i32 noundef %133, ptr noundef %138, i32 noundef %143) #3
  br label %146

145:                                              ; preds = %128
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %145, %131
  br label %148

147:                                              ; preds = %3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %148

148:                                              ; preds = %147, %146, %127, %95, %81, %72, %63, %46, %29, %14, %3
  %149 = load i32, ptr %7, align 4, !tbaa !9
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %151, label %169

151:                                              ; preds = %148
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.action, ptr %152, i32 0, i32 3
  %154 = load ptr, ptr %153, align 8, !tbaa !21
  %155 = icmp ne ptr %154, null
  br i1 %155, label %156, label %169

156:                                              ; preds = %151
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.action, ptr %158, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8, !tbaa !14
  %161 = getelementptr inbounds %struct.symbol, ptr %160, i32 0, i32 0
  %162 = load ptr, ptr %161, align 8, !tbaa !15
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.action, ptr %163, i32 0, i32 3
  %165 = load ptr, ptr %164, align 8, !tbaa !21
  %166 = getelementptr inbounds %struct.symbol, ptr %165, i32 0, i32 0
  %167 = load ptr, ptr %166, align 8, !tbaa !15
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.109, ptr noundef %162, ptr noundef %167) #3
  br label %169

169:                                              ; preds = %156, %151, %148
  %170 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  ret i32 %170
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"action", !6, i64 0, !10, i64 8, !7, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!13 = !{!7, !7, i64 0}
!14 = !{!12, !6, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"symbol", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !10, i64 48, !10, i64 52, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !6, i64 96}
!17 = !{!18, !10, i64 16}
!18 = !{!"state", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !6, i64 56, !10, i64 64}
!19 = !{!20, !10, i64 92}
!20 = !{!"rule", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !6, i64 120, !6, i64 128}
!21 = !{!12, !6, i64 24}


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

@showPrecedenceConflict = external hidden local_unnamed_addr global i32, align 4
@.str.100 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [23 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @PrintAction(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load i32, ptr %4, align 8, !tbaa !5
  switch i32 %5, label %74 [
    i32 0, label %6
    i32 2, label %14
    i32 10, label %22
    i32 1, label %30
    i32 3, label %34
    i32 5, label %38
    i32 6, label %38
    i32 4, label %46
    i32 7, label %54
    i32 8, label %64
    i32 9, label %82
  ]

6:                                                ; preds = %3
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = load ptr, ptr %7, align 8, !tbaa !11
  %9 = load ptr, ptr %0, align 8, !tbaa !12
  %10 = load ptr, ptr %9, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %8, i64 16
  %12 = load i32, ptr %11, align 8, !tbaa !15
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.100, i32 noundef %2, ptr noundef %10, i32 noundef %12) #2
  br label %74

14:                                               ; preds = %3
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = load ptr, ptr %0, align 8, !tbaa !12
  %18 = load ptr, ptr %17, align 8, !tbaa !13
  %19 = getelementptr inbounds i8, ptr %16, i64 92
  %20 = load i32, ptr %19, align 4, !tbaa !17
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.101, i32 noundef %2, ptr noundef %18, i32 noundef %20) #2
  tail call void @RulePrint(ptr noundef %1, ptr noundef %16, i32 noundef -1)
  br label %74

22:                                               ; preds = %3
  %23 = getelementptr inbounds i8, ptr %0, i64 16
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = load ptr, ptr %0, align 8, !tbaa !12
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = getelementptr inbounds i8, ptr %24, i64 92
  %28 = load i32, ptr %27, align 4, !tbaa !17
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.102, i32 noundef %2, ptr noundef %26, i32 noundef %28) #2
  tail call void @RulePrint(ptr noundef %1, ptr noundef %24, i32 noundef -1)
  br label %74

30:                                               ; preds = %3
  %31 = load ptr, ptr %0, align 8, !tbaa !12
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.103, i32 noundef %2, ptr noundef %32) #2
  br label %74

34:                                               ; preds = %3
  %35 = load ptr, ptr %0, align 8, !tbaa !12
  %36 = load ptr, ptr %35, align 8, !tbaa !13
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.104, i32 noundef %2, ptr noundef %36) #2
  br label %74

38:                                               ; preds = %3, %3
  %39 = load ptr, ptr %0, align 8, !tbaa !12
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = getelementptr inbounds i8, ptr %0, i64 16
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = getelementptr inbounds i8, ptr %42, i64 92
  %44 = load i32, ptr %43, align 4, !tbaa !17
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.105, i32 noundef %2, ptr noundef %40, i32 noundef %44) #2
  br label %74

46:                                               ; preds = %3
  %47 = load ptr, ptr %0, align 8, !tbaa !12
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = getelementptr inbounds i8, ptr %0, i64 16
  %50 = load ptr, ptr %49, align 8, !tbaa !11
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  %52 = load i32, ptr %51, align 8, !tbaa !15
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.106, i32 noundef %2, ptr noundef %48, i32 noundef %52) #2
  br label %74

54:                                               ; preds = %3
  %55 = load i32, ptr @showPrecedenceConflict, align 4, !tbaa !19
  %.not48 = icmp eq i32 %55, 0
  br i1 %.not48, label %82, label %56

56:                                               ; preds = %54
  %57 = load ptr, ptr %0, align 8, !tbaa !12
  %58 = load ptr, ptr %57, align 8, !tbaa !13
  %59 = getelementptr inbounds i8, ptr %0, i64 16
  %60 = load ptr, ptr %59, align 8, !tbaa !11
  %61 = getelementptr inbounds i8, ptr %60, i64 16
  %62 = load i32, ptr %61, align 8, !tbaa !15
  %63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.107, i32 noundef %2, ptr noundef %58, i32 noundef %62) #2
  br label %74

64:                                               ; preds = %3
  %65 = load i32, ptr @showPrecedenceConflict, align 4, !tbaa !19
  %.not = icmp eq i32 %65, 0
  br i1 %.not, label %82, label %66

66:                                               ; preds = %64
  %67 = load ptr, ptr %0, align 8, !tbaa !12
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = getelementptr inbounds i8, ptr %0, i64 16
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds i8, ptr %70, i64 92
  %72 = load i32, ptr %71, align 4, !tbaa !17
  %73 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.108, i32 noundef %2, ptr noundef %68, i32 noundef %72) #2
  br label %74

74:                                               ; preds = %3, %66, %56, %46, %38, %34, %30, %22, %14, %6
  %75 = getelementptr inbounds i8, ptr %0, i64 24
  %76 = load ptr, ptr %75, align 8, !tbaa !20
  %.not50 = icmp eq ptr %76, null
  br i1 %.not50, label %82, label %77

77:                                               ; preds = %74
  %78 = load ptr, ptr %0, align 8, !tbaa !12
  %79 = load ptr, ptr %78, align 8, !tbaa !13
  %80 = load ptr, ptr %76, align 8, !tbaa !13
  %81 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.109, ptr noundef %79, ptr noundef %80) #2
  br label %82

82:                                               ; preds = %3, %54, %64, %77, %74
  %.054 = phi i32 [ 1, %77 ], [ 1, %74 ], [ 0, %54 ], [ 0, %64 ], [ 0, %3 ]
  ret i32 %.054
}

attributes #0 = { 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 #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 8}
!6 = !{!"action", !7, i64 0, !10, i64 8, !8, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!8, !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"symbol", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !7, i64 40, !10, i64 48, !10, i64 52, !7, i64 56, !10, i64 64, !7, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !7, i64 96}
!15 = !{!16, !10, i64 16}
!16 = !{!"state", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 56, !10, i64 64}
!17 = !{!18, !10, i64 92}
!18 = !{!"rule", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !7, i64 120, !7, i64 128}
!19 = !{!10, !10, i64 0}
!20 = !{!6, !7, i64 24}


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