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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @getstate(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @buildshifts(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.state, ptr %12, i32 0, i32 1
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %14, ptr %5, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %21, %2
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %25

18:                                               ; preds = %15
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.config, ptr %19, i32 0, i32 6
  store i32 1, ptr %20, align 8, !tbaa !12
  br label %21

21:                                               ; preds = %18
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.config, ptr %22, i32 0, i32 7
  %24 = load ptr, ptr %23, align 8, !tbaa !14
  store ptr %24, ptr %5, align 8, !tbaa !5
  br label %15, !llvm.loop !15

25:                                               ; preds = %15
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.state, ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  store ptr %28, ptr %5, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %152, %25
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %156

32:                                               ; preds = %29
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.config, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %34, align 8, !tbaa !12
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  br label %152

38:                                               ; preds = %32
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.config, ptr %39, i32 0, i32 1
  %41 = load i32, ptr %40, align 8, !tbaa !17
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.config, ptr %42, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !18
  %45 = getelementptr inbounds %struct.rule, ptr %44, i32 0, i32 4
  %46 = load i32, ptr %45, align 8, !tbaa !19
  %47 = icmp sge i32 %41, %46
  br i1 %47, label %48, label %49

48:                                               ; preds = %38
  br label %152

49:                                               ; preds = %38
  call void @Configlist_reset()
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.config, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !18
  %53 = getelementptr inbounds %struct.rule, ptr %52, i32 0, i32 5
  %54 = load ptr, ptr %53, align 8, !tbaa !21
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.config, ptr %55, i32 0, i32 1
  %57 = load i32, ptr %56, align 8, !tbaa !17
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds ptr, ptr %54, i64 %58
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  store ptr %60, ptr %8, align 8, !tbaa !5
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %61, ptr %6, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %113, %49
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %117

65:                                               ; preds = %62
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.config, ptr %66, i32 0, i32 6
  %68 = load i32, ptr %67, align 8, !tbaa !12
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %65
  br label %113

71:                                               ; preds = %65
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.config, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 8, !tbaa !17
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.config, ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !18
  %78 = getelementptr inbounds %struct.rule, ptr %77, i32 0, i32 4
  %79 = load i32, ptr %78, align 8, !tbaa !19
  %80 = icmp sge i32 %74, %79
  br i1 %80, label %81, label %82

81:                                               ; preds = %71
  br label %113

82:                                               ; preds = %71
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.config, ptr %83, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8, !tbaa !18
  %86 = getelementptr inbounds %struct.rule, ptr %85, i32 0, i32 5
  %87 = load ptr, ptr %86, align 8, !tbaa !21
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.config, ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 8, !tbaa !17
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds ptr, ptr %87, i64 %91
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  store ptr %93, ptr %9, align 8, !tbaa !5
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = call i32 @same_symbol(ptr noundef %94, ptr noundef %95)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %99, label %98

98:                                               ; preds = %82
  br label %113

99:                                               ; preds = %82
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.config, ptr %100, i32 0, i32 6
  store i32 0, ptr %101, align 8, !tbaa !12
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.config, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !18
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.config, ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 8, !tbaa !17
  %108 = add nsw i32 %107, 1
  %109 = call ptr @Configlist_addbasis(ptr noundef %104, i32 noundef %108)
  store ptr %109, ptr %7, align 8, !tbaa !5
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.config, ptr %110, i32 0, i32 4
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  call void @Plink_add(ptr noundef %111, ptr noundef %112)
  br label %113

113:                                              ; preds = %99, %98, %81, %70
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.config, ptr %114, i32 0, i32 7
  %116 = load ptr, ptr %115, align 8, !tbaa !14
  store ptr %116, ptr %6, align 8, !tbaa !5
  br label %62, !llvm.loop !22

117:                                              ; preds = %62
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = call ptr @getstate(ptr noundef %118)
  store ptr %119, ptr %10, align 8, !tbaa !5
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.symbol, ptr %120, i32 0, i32 2
  %122 = load i32, ptr %121, align 4, !tbaa !23
  %123 = icmp eq i32 %122, 2
  br i1 %123, label %124, label %146

124:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  store i32 0, ptr %11, align 4, !tbaa !25
  br label %125

125:                                              ; preds = %142, %124
  %126 = load i32, ptr %11, align 4, !tbaa !25
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.symbol, ptr %127, i32 0, i32 15
  %129 = load i32, ptr %128, align 8, !tbaa !26
  %130 = icmp slt i32 %126, %129
  br i1 %130, label %131, label %145

131:                                              ; preds = %125
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.state, ptr %132, i32 0, i32 3
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.symbol, ptr %134, i32 0, i32 16
  %136 = load ptr, ptr %135, align 8, !tbaa !27
  %137 = load i32, ptr %11, align 4, !tbaa !25
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds ptr, ptr %136, i64 %138
  %140 = load ptr, ptr %139, align 8, !tbaa !5
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  call void @Action_add(ptr noundef %133, i32 noundef 0, ptr noundef %140, ptr noundef %141)
  br label %142

142:                                              ; preds = %131
  %143 = load i32, ptr %11, align 4, !tbaa !25
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %11, align 4, !tbaa !25
  br label %125, !llvm.loop !28

145:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  br label %151

146:                                              ; preds = %117
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.state, ptr %147, i32 0, i32 3
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = load ptr, ptr %10, align 8, !tbaa !5
  call void @Action_add(ptr noundef %148, i32 noundef 0, ptr noundef %149, ptr noundef %150)
  br label %151

151:                                              ; preds = %146, %145
  br label %152

152:                                              ; preds = %151, %48, %37
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.config, ptr %153, i32 0, i32 7
  %155 = load ptr, ptr %154, align 8, !tbaa !14
  store ptr %155, ptr %5, align 8, !tbaa !5
  br label %29, !llvm.loop !29

156:                                              ; preds = %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #2
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @Configlist_reset() #0

; Function Attrs: nounwind uwtable
declare dso_local void @Plink_add(ptr noundef, ptr noundef) #0

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 = { 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 8}
!10 = !{!"state", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !6, i64 56, !11, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 48}
!13 = !{!"config", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !6, i64 64}
!14 = !{!13, !6, i64 56}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!13, !11, i64 8}
!18 = !{!13, !6, i64 0}
!19 = !{!20, !11, i64 24}
!20 = !{!"rule", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !6, i64 120, !6, i64 128}
!21 = !{!20, !6, i64 32}
!22 = distinct !{!22, !16}
!23 = !{!24, !11, i64 12}
!24 = !{!"symbol", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !6, i64 40, !11, i64 48, !11, i64 52, !6, i64 56, !11, i64 64, !6, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !6, i64 96}
!25 = !{!11, !11, i64 0}
!26 = !{!24, !11, i64 88}
!27 = !{!24, !6, i64 96}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}


; 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
declare dso_local void @Action_add(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @getstate(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @buildshifts(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  %.03847 = load ptr, ptr %3, align 8, !tbaa !5
  %.not48 = icmp eq ptr %.03847, null
  br i1 %.not48, label %._crit_edge, label %.lr.ph

.preheader46:                                     ; preds = %.lr.ph
  br i1 %.not48, label %._crit_edge, label %.lr.ph56

.lr.ph56:                                         ; preds = %.preheader46
  %4 = getelementptr inbounds i8, ptr %1, i64 24
  br label %7

.lr.ph:                                           ; preds = %2, %.lr.ph
  %.03849 = phi ptr [ %.038, %.lr.ph ], [ %.03847, %2 ]
  %5 = getelementptr inbounds i8, ptr %.03849, i64 48
  store i32 1, ptr %5, align 8, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %.03849, i64 56
  %.038 = load ptr, ptr %6, align 8, !tbaa !5
  %.not = icmp eq ptr %.038, null
  br i1 %.not, label %.preheader46, label %.lr.ph, !llvm.loop !12

7:                                                ; preds = %.lr.ph56, %.loopexit
  %.155 = phi ptr [ %.03847, %.lr.ph56 ], [ %.1, %.loopexit ]
  %8 = getelementptr inbounds i8, ptr %.155, i64 48
  %9 = load i32, ptr %8, align 8, !tbaa !9
  %10 = icmp eq i32 %9, 0
  br i1 %10, label %.loopexit, label %11

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %.155, i64 8
  %13 = load i32, ptr %12, align 8, !tbaa !14
  %14 = load ptr, ptr %.155, align 8, !tbaa !15
  %15 = getelementptr inbounds i8, ptr %14, i64 24
  %16 = load i32, ptr %15, align 8, !tbaa !16
  %.not42 = icmp slt i32 %13, %16
  br i1 %.not42, label %17, label %.loopexit

17:                                               ; preds = %11
  tail call void @Configlist_reset()
  %18 = load ptr, ptr %.155, align 8, !tbaa !15
  %19 = getelementptr inbounds i8, ptr %18, i64 32
  %20 = load ptr, ptr %19, align 8, !tbaa !18
  %21 = load i32, ptr %12, align 8, !tbaa !14
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds ptr, ptr %20, i64 %22
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %17, %48
  %.03950 = phi ptr [ %.155, %17 ], [ %50, %48 ]
  %26 = getelementptr inbounds i8, ptr %.03950, i64 48
  %27 = load i32, ptr %26, align 8, !tbaa !9
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %48, label %29

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %.03950, i64 8
  %31 = load i32, ptr %30, align 8, !tbaa !14
  %32 = load ptr, ptr %.03950, align 8, !tbaa !15
  %33 = getelementptr inbounds i8, ptr %32, i64 24
  %34 = load i32, ptr %33, align 8, !tbaa !16
  %.not44 = icmp slt i32 %31, %34
  br i1 %.not44, label %35, label %48

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %32, i64 32
  %37 = load ptr, ptr %36, align 8, !tbaa !18
  %38 = sext i32 %31 to i64
  %39 = getelementptr inbounds ptr, ptr %37, i64 %38
  %40 = load ptr, ptr %39, align 8, !tbaa !5
  %41 = tail call i32 @same_symbol(ptr noundef %40, ptr noundef %24)
  %.not45 = icmp eq i32 %41, 0
  br i1 %.not45, label %48, label %42

42:                                               ; preds = %35
  store i32 0, ptr %26, align 8, !tbaa !9
  %43 = load ptr, ptr %.03950, align 8, !tbaa !15
  %44 = load i32, ptr %30, align 8, !tbaa !14
  %45 = add nsw i32 %44, 1
  %46 = tail call ptr @Configlist_addbasis(ptr noundef %43, i32 noundef %45)
  %47 = getelementptr inbounds i8, ptr %46, i64 32
  tail call void @Plink_add(ptr noundef nonnull %47, ptr noundef nonnull %.03950)
  br label %48

48:                                               ; preds = %35, %29, %25, %42
  %49 = getelementptr inbounds i8, ptr %.03950, i64 56
  %50 = load ptr, ptr %49, align 8, !tbaa !19
  %.not43 = icmp eq ptr %50, null
  br i1 %.not43, label %51, label %25, !llvm.loop !20

51:                                               ; preds = %48
  %52 = tail call ptr @getstate(ptr noundef %0)
  %53 = getelementptr inbounds i8, ptr %24, i64 12
  %54 = load i32, ptr %53, align 4, !tbaa !21
  %55 = icmp eq i32 %54, 2
  br i1 %55, label %.preheader, label %67

.preheader:                                       ; preds = %51
  %56 = getelementptr inbounds i8, ptr %24, i64 88
  %57 = load i32, ptr %56, align 8, !tbaa !23
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %.lr.ph52, label %.loopexit

.lr.ph52:                                         ; preds = %.preheader
  %59 = getelementptr inbounds i8, ptr %24, i64 96
  br label %60

60:                                               ; preds = %.lr.ph52, %60
  %indvars.iv = phi i64 [ 0, %.lr.ph52 ], [ %indvars.iv.next, %60 ]
  %61 = load ptr, ptr %59, align 8, !tbaa !24
  %62 = getelementptr inbounds ptr, ptr %61, i64 %indvars.iv
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  tail call void @Action_add(ptr noundef nonnull %4, i32 noundef 0, ptr noundef %63, ptr noundef %52)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %64 = load i32, ptr %56, align 8, !tbaa !23
  %65 = sext i32 %64 to i64
  %66 = icmp slt i64 %indvars.iv.next, %65
  br i1 %66, label %60, label %.loopexit, !llvm.loop !25

67:                                               ; preds = %51
  tail call void @Action_add(ptr noundef nonnull %4, i32 noundef 0, ptr noundef nonnull %24, ptr noundef %52)
  br label %.loopexit

.loopexit:                                        ; preds = %60, %.preheader, %67, %11, %7
  %68 = getelementptr inbounds i8, ptr %.155, i64 56
  %.1 = load ptr, ptr %68, align 8, !tbaa !5
  %.not41 = icmp eq ptr %.1, null
  br i1 %.not41, label %._crit_edge, label %7, !llvm.loop !26

._crit_edge:                                      ; preds = %.loopexit, %2, %.preheader46
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @Configlist_reset() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @Plink_add(ptr noundef, ptr noundef) local_unnamed_addr #0

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

!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, !11, i64 48}
!10 = !{!"config", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !6, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !11, i64 8}
!15 = !{!10, !6, i64 0}
!16 = !{!17, !11, i64 24}
!17 = !{!"rule", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !6, i64 120, !6, i64 128}
!18 = !{!17, !6, i64 32}
!19 = !{!10, !6, i64 56}
!20 = distinct !{!20, !13}
!21 = !{!22, !11, i64 12}
!22 = !{!"symbol", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !6, i64 40, !11, i64 48, !11, i64 52, !6, i64 56, !11, i64 64, !6, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !6, i64 96}
!23 = !{!22, !11, i64 88}
!24 = !{!22, !6, i64 96}
!25 = distinct !{!25, !13}
!26 = distinct !{!26, !13}


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