; LLVM IR from aap/pdp6 :: newemu (pdp6)

; 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.PDP6 = type { i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i64, i64, i8, i64, i64, i64, i32, i32, i32, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i64, i64, i64, i8, i8, i8, i8, i64, i8, i8, i8, i32, %struct.FD, i64, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, %struct.FD, i32, i64, i64, %struct.FD, i8, i64, i64, i64, i64, i64, i8, i64 }
%struct.FD = type { i32, i32, i32 }

@codetab = external dso_local global [512 x i32], align 16
@iotcodetab = external dso_local global [8 x i32], align 16

; Function Attrs: nounwind uwtable
define dso_local void @decode(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds %struct.PDP6, ptr %3, i32 0, i32 37
  %5 = load i32, ptr %4, align 4, !tbaa !9
  %6 = lshr i32 %5, 9
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.PDP6, ptr %7, i32 0, i32 2
  store i32 %6, ptr %8, align 8, !tbaa !15
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.PDP6, ptr %9, i32 0, i32 2
  %11 = load i32, ptr %10, align 8, !tbaa !15
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [512 x i32], ptr @codetab, i64 0, i64 %12
  %14 = load i32, ptr %13, align 4, !tbaa !16
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.PDP6, ptr %15, i32 0, i32 3
  store i32 %14, ptr %16, align 4, !tbaa !17
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.PDP6, ptr %17, i32 0, i32 3
  %19 = load i32, ptr %18, align 4, !tbaa !17
  %20 = and i32 %19, 2063
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %190

22:                                               ; preds = %1
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.PDP6, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 4, !tbaa !17
  %26 = and i32 %25, 2048
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %28, label %41

28:                                               ; preds = %22
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.PDP6, ptr %29, i32 0, i32 37
  %31 = load i32, ptr %30, align 4, !tbaa !9
  %32 = lshr i32 %31, 5
  %33 = and i32 %32, 15
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %40

35:                                               ; preds = %28
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.PDP6, ptr %36, i32 0, i32 3
  %38 = load i32, ptr %37, align 4, !tbaa !17
  %39 = or i32 %38, 1024
  store i32 %39, ptr %37, align 4, !tbaa !17
  br label %40

40:                                               ; preds = %35, %28
  br label %41

41:                                               ; preds = %40, %22
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.PDP6, ptr %42, i32 0, i32 3
  %44 = load i32, ptr %43, align 4, !tbaa !17
  %45 = and i32 %44, 2
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %83

47:                                               ; preds = %41
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.PDP6, ptr %48, i32 0, i32 105
  %50 = load i8, ptr %49, align 8, !tbaa !18, !range !19, !noundef !20
  %51 = trunc i8 %50 to i1
  br i1 %51, label %52, label %66

52:                                               ; preds = %47
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.PDP6, ptr %53, i32 0, i32 117
  %55 = load i8, ptr %54, align 8, !tbaa !21, !range !19, !noundef !20
  %56 = trunc i8 %55 to i1
  br i1 %56, label %66, label %57

57:                                               ; preds = %52
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.PDP6, ptr %58, i32 0, i32 107
  %60 = load i8, ptr %59, align 2, !tbaa !22, !range !19, !noundef !20
  %61 = trunc i8 %60 to i1
  br i1 %61, label %66, label %62

62:                                               ; preds = %57
  %63 = load i32, ptr @codetab, align 16, !tbaa !16
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.PDP6, ptr %64, i32 0, i32 3
  store i32 %63, ptr %65, align 4, !tbaa !17
  br label %82

66:                                               ; preds = %57, %52, %47
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.PDP6, ptr %67, i32 0, i32 37
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = lshr i32 %69, 5
  %71 = and i32 %70, 7
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.PDP6, ptr %72, i32 0, i32 2
  store i32 %71, ptr %73, align 8, !tbaa !15
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.PDP6, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 8, !tbaa !15
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [8 x i32], ptr @iotcodetab, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !16
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.PDP6, ptr %80, i32 0, i32 3
  store i32 %79, ptr %81, align 4, !tbaa !17
  br label %82

82:                                               ; preds = %66, %62
  br label %180

83:                                               ; preds = %41
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.PDP6, ptr %84, i32 0, i32 3
  %86 = load i32, ptr %85, align 4, !tbaa !17
  %87 = and i32 %86, 4
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %105

89:                                               ; preds = %83
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.PDP6, ptr %90, i32 0, i32 105
  %92 = load i8, ptr %91, align 8, !tbaa !18, !range !19, !noundef !20
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %104

94:                                               ; preds = %89
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.PDP6, ptr %95, i32 0, i32 37
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = and i32 %97, 384
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %104

100:                                              ; preds = %94
  %101 = load i32, ptr @codetab, align 16, !tbaa !16
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.PDP6, ptr %102, i32 0, i32 3
  store i32 %101, ptr %103, align 4, !tbaa !17
  br label %104

104:                                              ; preds = %100, %94, %89
  br label %179

105:                                              ; preds = %83
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.PDP6, ptr %106, i32 0, i32 3
  %108 = load i32, ptr %107, align 4, !tbaa !17
  %109 = and i32 %108, 8
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %178

111:                                              ; preds = %105
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.PDP6, ptr %112, i32 0, i32 95
  %114 = load i8, ptr %113, align 2, !tbaa !23, !range !19, !noundef !20
  %115 = trunc i8 %114 to i1
  br i1 %115, label %150, label %116

116:                                              ; preds = %111
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.PDP6, ptr %117, i32 0, i32 2
  %119 = load i32, ptr %118, align 8, !tbaa !15
  %120 = icmp eq i32 %119, 91
  %121 = zext i1 %120 to i64
  %122 = select i1 %120, i32 0, i32 16384
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.PDP6, ptr %123, i32 0, i32 3
  store i32 %122, ptr %124, align 4, !tbaa !17
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.PDP6, ptr %125, i32 0, i32 2
  %127 = load i32, ptr %126, align 8, !tbaa !15
  %128 = and i32 %127, 5
  %129 = icmp ne i32 %128, 5
  br i1 %129, label %130, label %142

130:                                              ; preds = %116
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.PDP6, ptr %131, i32 0, i32 96
  %133 = load i8, ptr %132, align 1, !tbaa !24, !range !19, !noundef !20
  %134 = trunc i8 %133 to i1
  br i1 %134, label %142, label %135

135:                                              ; preds = %130
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.PDP6, ptr %136, i32 0, i32 2
  store i32 24, ptr %137, align 8, !tbaa !15
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.PDP6, ptr %138, i32 0, i32 3
  %140 = load i32, ptr %139, align 4, !tbaa !17
  %141 = or i32 %140, 528
  store i32 %141, ptr %139, align 4, !tbaa !17
  br label %149

142:                                              ; preds = %130, %116
  %143 = load ptr, ptr %2, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.PDP6, ptr %143, i32 0, i32 2
  store i32 25, ptr %144, align 8, !tbaa !15
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.PDP6, ptr %145, i32 0, i32 3
  %147 = load i32, ptr %146, align 4, !tbaa !17
  %148 = or i32 %147, 272
  store i32 %148, ptr %146, align 4, !tbaa !17
  br label %149

149:                                              ; preds = %142, %135
  br label %177

150:                                              ; preds = %111
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.PDP6, ptr %151, i32 0, i32 2
  %153 = load i32, ptr %152, align 8, !tbaa !15
  %154 = and i32 %153, 6
  %155 = icmp eq i32 %154, 4
  br i1 %155, label %156, label %161

156:                                              ; preds = %150
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.PDP6, ptr %157, i32 0, i32 2
  store i32 26, ptr %158, align 8, !tbaa !15
  %159 = load ptr, ptr %2, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.PDP6, ptr %159, i32 0, i32 3
  store i32 272, ptr %160, align 4, !tbaa !17
  br label %176

161:                                              ; preds = %150
  %162 = load ptr, ptr %2, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.PDP6, ptr %162, i32 0, i32 2
  %164 = load i32, ptr %163, align 8, !tbaa !15
  %165 = and i32 %164, 6
  %166 = icmp eq i32 %165, 6
  br i1 %166, label %167, label %172

167:                                              ; preds = %161
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.PDP6, ptr %168, i32 0, i32 2
  store i32 27, ptr %169, align 8, !tbaa !15
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.PDP6, ptr %170, i32 0, i32 3
  store i32 1536, ptr %171, align 4, !tbaa !17
  br label %175

172:                                              ; preds = %161
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.PDP6, ptr %173, i32 0, i32 2
  store i32 29, ptr %174, align 8, !tbaa !15
  br label %175

175:                                              ; preds = %172, %167
  br label %176

176:                                              ; preds = %175, %156
  br label %177

177:                                              ; preds = %176, %149
  br label %178

178:                                              ; preds = %177, %105
  br label %179

179:                                              ; preds = %178, %104
  br label %180

180:                                              ; preds = %179, %82
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.PDP6, ptr %181, i32 0, i32 3
  %183 = load i32, ptr %182, align 4, !tbaa !17
  %184 = and i32 %183, 1
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %189

186:                                              ; preds = %180
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.PDP6, ptr %187, i32 0, i32 2
  store i32 8, ptr %188, align 8, !tbaa !15
  br label %189

189:                                              ; preds = %186, %180
  br label %190

190:                                              ; preds = %189, %1
  ret void
}

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 100}
!10 = !{!"PDP6", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 17, !12, i64 18, !12, i64 19, !12, i64 20, !12, i64 21, !12, i64 22, !12, i64 23, !12, i64 24, !12, i64 25, !12, i64 26, !12, i64 27, !12, i64 28, !12, i64 29, !12, i64 30, !12, i64 31, !12, i64 32, !12, i64 33, !12, i64 34, !12, i64 35, !12, i64 36, !12, i64 37, !12, i64 38, !12, i64 39, !13, i64 40, !13, i64 48, !7, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !13, i64 112, !7, i64 120, !12, i64 121, !12, i64 122, !12, i64 123, !12, i64 124, !12, i64 125, !12, i64 126, !12, i64 127, !12, i64 128, !12, i64 129, !12, i64 130, !12, i64 131, !12, i64 132, !12, i64 133, !12, i64 134, !12, i64 135, !12, i64 136, !12, i64 137, !12, i64 138, !12, i64 139, !12, i64 140, !12, i64 141, !12, i64 142, !12, i64 143, !12, i64 144, !12, i64 145, !12, i64 146, !12, i64 147, !12, i64 148, !12, i64 149, !12, i64 150, !12, i64 151, !12, i64 152, !12, i64 153, !12, i64 154, !12, i64 155, !12, i64 156, !12, i64 157, !12, i64 158, !12, i64 159, !12, i64 160, !12, i64 161, !12, i64 162, !12, i64 163, !12, i64 164, !12, i64 165, !12, i64 166, !12, i64 167, !12, i64 168, !12, i64 169, !12, i64 170, !12, i64 171, !12, i64 172, !12, i64 173, !12, i64 174, !12, i64 175, !12, i64 176, !12, i64 177, !12, i64 178, !12, i64 179, !7, i64 180, !7, i64 181, !7, i64 182, !7, i64 183, !12, i64 184, !12, i64 185, !12, i64 186, !12, i64 187, !12, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !12, i64 204, !12, i64 205, !12, i64 206, !12, i64 207, !12, i64 208, !12, i64 209, !12, i64 210, !12, i64 211, !12, i64 212, !12, i64 213, !12, i64 214, !12, i64 215, !7, i64 216, !12, i64 217, !12, i64 218, !12, i64 219, !12, i64 220, !12, i64 221, !12, i64 222, !12, i64 223, !12, i64 224, !12, i64 225, !12, i64 226, !12, i64 227, !12, i64 228, !12, i64 229, !7, i64 230, !11, i64 232, !11, i64 236, !13, i64 240, !13, i64 248, !13, i64 256, !12, i64 264, !12, i64 265, !12, i64 266, !7, i64 267, !13, i64 272, !12, i64 280, !12, i64 281, !12, i64 282, !11, i64 284, !14, i64 288, !13, i64 304, !7, i64 312, !12, i64 313, !12, i64 314, !12, i64 315, !7, i64 316, !12, i64 317, !12, i64 318, !7, i64 319, !11, i64 320, !11, i64 324, !14, i64 328, !11, i64 340, !13, i64 344, !13, i64 352, !14, i64 360, !12, i64 372, !13, i64 376, !13, i64 384, !13, i64 392, !13, i64 400, !13, i64 408, !12, i64 416, !13, i64 424}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"FD", !11, i64 0, !11, i64 4, !11, i64 8}
!15 = !{!10, !11, i64 8}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !11, i64 12}
!18 = !{!10, !12, i64 184}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!10, !12, i64 208}
!22 = !{!10, !12, i64 186}
!23 = !{!10, !12, i64 174}
!24 = !{!10, !12, i64 175}


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

@codetab = external dso_local local_unnamed_addr global [512 x i32], align 16
@iotcodetab = external dso_local local_unnamed_addr global [8 x i32], align 16

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @decode(ptr nocapture noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 100
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %4 = lshr i32 %3, 9
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %4, ptr %5, align 8, !tbaa !13
  %6 = zext nneg i32 %4 to i64
  %7 = getelementptr inbounds [512 x i32], ptr @codetab, i64 0, i64 %6
  %8 = load i32, ptr %7, align 4, !tbaa !14
  %9 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %8, ptr %9, align 4, !tbaa !15
  %10 = and i32 %8, 2063
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %.thread, label %11

11:                                               ; preds = %1
  %12 = and i32 %8, 2048
  %.not40 = icmp ne i32 %12, 0
  %13 = and i32 %3, 480
  %14 = icmp eq i32 %13, 0
  %or.cond = and i1 %14, %.not40
  br i1 %or.cond, label %15, label %17

15:                                               ; preds = %11
  %16 = or i32 %8, 1024
  store i32 %16, ptr %9, align 4, !tbaa !15
  br label %17

17:                                               ; preds = %15, %11
  %18 = phi i32 [ %16, %15 ], [ %8, %11 ]
  %19 = and i32 %18, 2
  %.not41 = icmp eq i32 %19, 0
  br i1 %.not41, label %40, label %20

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %0, i64 184
  %22 = load i8, ptr %21, align 8, !tbaa !16, !range !17, !noundef !18
  %23 = trunc nuw i8 %22 to i1
  br i1 %23, label %24, label %34

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %0, i64 208
  %26 = load i8, ptr %25, align 8, !tbaa !19, !range !17, !noundef !18
  %27 = trunc nuw i8 %26 to i1
  br i1 %27, label %34, label %28

28:                                               ; preds = %24
  %29 = getelementptr inbounds i8, ptr %0, i64 186
  %30 = load i8, ptr %29, align 2, !tbaa !20, !range !17, !noundef !18
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %34, label %32

32:                                               ; preds = %28
  %33 = load i32, ptr @codetab, align 16, !tbaa !14
  store i32 %33, ptr %9, align 4, !tbaa !15
  br label %72

34:                                               ; preds = %28, %24, %20
  %35 = lshr i32 %3, 5
  %36 = and i32 %35, 7
  store i32 %36, ptr %5, align 8, !tbaa !13
  %37 = zext nneg i32 %36 to i64
  %38 = getelementptr inbounds [8 x i32], ptr @iotcodetab, i64 0, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !14
  store i32 %39, ptr %9, align 4, !tbaa !15
  br label %72

40:                                               ; preds = %17
  %41 = and i32 %18, 4
  %.not42 = icmp eq i32 %41, 0
  br i1 %.not42, label %49, label %42

42:                                               ; preds = %40
  %43 = getelementptr inbounds i8, ptr %0, i64 184
  %44 = load i8, ptr %43, align 8, !tbaa !16, !range !17, !noundef !18
  %45 = trunc nuw i8 %44 to i1
  %46 = and i32 %3, 384
  %.not45 = icmp ne i32 %46, 0
  %or.cond49.not = and i1 %.not45, %45
  br i1 %or.cond49.not, label %47, label %72

47:                                               ; preds = %42
  %48 = load i32, ptr @codetab, align 16, !tbaa !14
  store i32 %48, ptr %9, align 4, !tbaa !15
  br label %72

49:                                               ; preds = %40
  %50 = and i32 %18, 8
  %.not43 = icmp eq i32 %50, 0
  br i1 %.not43, label %72, label %51

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %0, i64 174
  %53 = load i8, ptr %52, align 2, !tbaa !21, !range !17, !noundef !18
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %67, label %55

55:                                               ; preds = %51
  %56 = icmp eq i32 %4, 91
  %57 = select i1 %56, i32 0, i32 16384
  %58 = and i32 %3, 2560
  %.not44 = icmp eq i32 %58, 2560
  br i1 %.not44, label %65, label %59

59:                                               ; preds = %55
  %60 = getelementptr inbounds i8, ptr %0, i64 175
  %61 = load i8, ptr %60, align 1, !tbaa !22, !range !17, !noundef !18
  %62 = trunc nuw i8 %61 to i1
  br i1 %62, label %65, label %63

63:                                               ; preds = %59
  store i32 24, ptr %5, align 8, !tbaa !13
  %64 = or disjoint i32 %57, 528
  store i32 %64, ptr %9, align 4, !tbaa !15
  br label %72

65:                                               ; preds = %59, %55
  store i32 25, ptr %5, align 8, !tbaa !13
  %66 = or disjoint i32 %57, 272
  store i32 %66, ptr %9, align 4, !tbaa !15
  br label %72

67:                                               ; preds = %51
  %68 = and i32 %4, 6
  switch i32 %68, label %71 [
    i32 4, label %69
    i32 6, label %70
  ]

69:                                               ; preds = %67
  store i32 26, ptr %5, align 8, !tbaa !13
  store i32 272, ptr %9, align 4, !tbaa !15
  br label %.thread

70:                                               ; preds = %67
  store i32 27, ptr %5, align 8, !tbaa !13
  store i32 1536, ptr %9, align 4, !tbaa !15
  br label %.thread

71:                                               ; preds = %67
  store i32 29, ptr %5, align 8, !tbaa !13
  br label %72

72:                                               ; preds = %47, %42, %65, %63, %71, %49, %32, %34
  %73 = phi i32 [ %48, %47 ], [ %18, %42 ], [ %66, %65 ], [ %64, %63 ], [ %18, %71 ], [ %18, %49 ], [ %33, %32 ], [ %39, %34 ]
  %74 = and i32 %73, 1
  %.not46 = icmp eq i32 %74, 0
  br i1 %.not46, label %.thread, label %75

75:                                               ; preds = %72
  store i32 8, ptr %5, align 8, !tbaa !13
  br label %.thread

.thread:                                          ; preds = %69, %70, %72, %75, %1
  ret void
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) 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, !7, i64 100}
!6 = !{!"PDP6", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 17, !10, i64 18, !10, i64 19, !10, i64 20, !10, i64 21, !10, i64 22, !10, i64 23, !10, i64 24, !10, i64 25, !10, i64 26, !10, i64 27, !10, i64 28, !10, i64 29, !10, i64 30, !10, i64 31, !10, i64 32, !10, i64 33, !10, i64 34, !10, i64 35, !10, i64 36, !10, i64 37, !10, i64 38, !10, i64 39, !11, i64 40, !11, i64 48, !8, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !11, i64 112, !8, i64 120, !10, i64 121, !10, i64 122, !10, i64 123, !10, i64 124, !10, i64 125, !10, i64 126, !10, i64 127, !10, i64 128, !10, i64 129, !10, i64 130, !10, i64 131, !10, i64 132, !10, i64 133, !10, i64 134, !10, i64 135, !10, i64 136, !10, i64 137, !10, i64 138, !10, i64 139, !10, i64 140, !10, i64 141, !10, i64 142, !10, i64 143, !10, i64 144, !10, i64 145, !10, i64 146, !10, i64 147, !10, i64 148, !10, i64 149, !10, i64 150, !10, i64 151, !10, i64 152, !10, i64 153, !10, i64 154, !10, i64 155, !10, i64 156, !10, i64 157, !10, i64 158, !10, i64 159, !10, i64 160, !10, i64 161, !10, i64 162, !10, i64 163, !10, i64 164, !10, i64 165, !10, i64 166, !10, i64 167, !10, i64 168, !10, i64 169, !10, i64 170, !10, i64 171, !10, i64 172, !10, i64 173, !10, i64 174, !10, i64 175, !10, i64 176, !10, i64 177, !10, i64 178, !10, i64 179, !8, i64 180, !8, i64 181, !8, i64 182, !8, i64 183, !10, i64 184, !10, i64 185, !10, i64 186, !10, i64 187, !10, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !10, i64 204, !10, i64 205, !10, i64 206, !10, i64 207, !10, i64 208, !10, i64 209, !10, i64 210, !10, i64 211, !10, i64 212, !10, i64 213, !10, i64 214, !10, i64 215, !8, i64 216, !10, i64 217, !10, i64 218, !10, i64 219, !10, i64 220, !10, i64 221, !10, i64 222, !10, i64 223, !10, i64 224, !10, i64 225, !10, i64 226, !10, i64 227, !10, i64 228, !10, i64 229, !8, i64 230, !7, i64 232, !7, i64 236, !11, i64 240, !11, i64 248, !11, i64 256, !10, i64 264, !10, i64 265, !10, i64 266, !8, i64 267, !11, i64 272, !10, i64 280, !10, i64 281, !10, i64 282, !7, i64 284, !12, i64 288, !11, i64 304, !8, i64 312, !10, i64 313, !10, i64 314, !10, i64 315, !8, i64 316, !10, i64 317, !10, i64 318, !8, i64 319, !7, i64 320, !7, i64 324, !12, i64 328, !7, i64 340, !11, i64 344, !11, i64 352, !12, i64 360, !10, i64 372, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !10, i64 416, !11, i64 424}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_Bool", !8, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!"FD", !7, i64 0, !7, i64 4, !7, i64 8}
!13 = !{!6, !7, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !10, i64 184}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !10, i64 208}
!20 = !{!6, !10, i64 186}
!21 = !{!6, !10, i64 174}
!22 = !{!6, !10, i64 175}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass