; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/misc/sim_tests/simple_cpu (simple_cpu)

; 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.exec_decode = type { %"class.sc_core::sc_module", %"class.sc_core::sc_in", ptr, i32, [32 x i32], ptr }
%"class.sc_core::sc_module" = type { %"class.sc_core::sc_object", %"class.sc_core::sc_process_host", %"class.sc_core::sc_sensitive", %"class.sc_core::sc_sensitive_pos", %"class.sc_core::sc_sensitive_neg", i8, ptr, i32, ptr, ptr }
%"class.sc_core::sc_object" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::__cxx11::basic_string", ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_event *, std::allocator<sc_core::sc_event *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_object *, std::allocator<sc_core::sc_object *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.sc_core::sc_process_host" = type { ptr }
%"class.sc_core::sc_sensitive" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_pos" = type { ptr, i32, ptr }
%"class.sc_core::sc_sensitive_neg" = type { ptr, i32, ptr }
%"class.sc_core::sc_in" = type { %"class.sc_core::sc_port", ptr, ptr }
%"class.sc_core::sc_port" = type { %"class.sc_core::sc_port_b" }
%"class.sc_core::sc_port_b" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.8" }
%"class.sc_core::sc_port_base" = type { %"class.sc_core::sc_object", ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<unsigned int> *, std::allocator<sc_core::sc_signal_in_if<unsigned int> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<unsigned int> *, std::allocator<sc_core::sc_signal_in_if<unsigned int> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<unsigned int> *, std::allocator<sc_core::sc_signal_in_if<unsigned int> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<unsigned int> *, std::allocator<sc_core::sc_signal_in_if<unsigned int> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11exec_decode5entryEv(ptr noundef nonnull align 8 dereferenceable(552) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  %11 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 1
  %12 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK7sc_core5sc_inIjE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %11)
  %13 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %13, ptr %3, align 4, !tbaa !9
  %14 = load i32, ptr %3, align 4, !tbaa !9
  %15 = and i32 %14, -536870912
  %16 = lshr i32 %15, 29
  store i32 %16, ptr %4, align 4, !tbaa !9
  %17 = load i32, ptr %4, align 4, !tbaa !9
  switch i32 %17, label %292 [
    i32 0, label %18
    i32 1, label %38
    i32 2, label %67
    i32 3, label %96
    i32 4, label %135
    i32 5, label %174
    i32 6, label %213
    i32 7, label %262
  ]

18:                                               ; preds = %1
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %20 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %21 = load i32, ptr %20, align 8, !tbaa !11
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %34, %18
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = icmp slt i32 %24, 32
  br i1 %25, label %26, label %37

26:                                               ; preds = %23
  %27 = load i32, ptr %9, align 4, !tbaa !9
  %28 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [32 x i32], ptr %28, i64 0, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !9
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27, i32 noundef %32)
  br label %34

34:                                               ; preds = %26
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %9, align 4, !tbaa !9
  br label %23, !llvm.loop !42

37:                                               ; preds = %23
  br label %305

38:                                               ; preds = %1
  %39 = load i32, ptr %3, align 4, !tbaa !9
  %40 = and i32 %39, 520093696
  %41 = lshr i32 %40, 24
  store i32 %41, ptr %5, align 4, !tbaa !9
  %42 = load i32, ptr %3, align 4, !tbaa !9
  %43 = and i32 %42, 16777215
  store i32 %43, ptr %8, align 4, !tbaa !9
  %44 = load i32, ptr %8, align 4, !tbaa !9
  %45 = load i32, ptr %5, align 4, !tbaa !9
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %44, i32 noundef %45)
  %47 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %48 = load i32, ptr %5, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds [32 x i32], ptr %47, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !9
  %52 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 5
  %53 = load ptr, ptr %52, align 8, !tbaa !44
  %54 = load i32, ptr %8, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds i32, ptr %53, i64 %55
  store i32 %51, ptr %56, align 4, !tbaa !9
  %57 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %58 = load i32, ptr %57, align 8, !tbaa !11
  %59 = add i32 %58, 1
  %60 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %59, ptr %60, align 8, !tbaa !11
  %61 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !45
  %63 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %64 = load ptr, ptr %62, align 8, !tbaa !46
  %65 = getelementptr inbounds ptr, ptr %64, i64 9
  %66 = load ptr, ptr %65, align 8
  call void %66(ptr noundef nonnull align 8 dereferenceable(196) %62, ptr noundef nonnull align 4 dereferenceable(4) %63)
  br label %305

67:                                               ; preds = %1
  %68 = load i32, ptr %3, align 4, !tbaa !9
  %69 = and i32 %68, 520093696
  %70 = lshr i32 %69, 24
  store i32 %70, ptr %5, align 4, !tbaa !9
  %71 = load i32, ptr %3, align 4, !tbaa !9
  %72 = and i32 %71, 16777215
  store i32 %72, ptr %8, align 4, !tbaa !9
  %73 = load i32, ptr %5, align 4, !tbaa !9
  %74 = load i32, ptr %8, align 4, !tbaa !9
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %73, i32 noundef %74)
  %76 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 5
  %77 = load ptr, ptr %76, align 8, !tbaa !44
  %78 = load i32, ptr %8, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds i32, ptr %77, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %83 = load i32, ptr %5, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = getelementptr inbounds [32 x i32], ptr %82, i64 0, i64 %84
  store i32 %81, ptr %85, align 4, !tbaa !9
  %86 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %87 = load i32, ptr %86, align 8, !tbaa !11
  %88 = add i32 %87, 1
  %89 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %88, ptr %89, align 8, !tbaa !11
  %90 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !45
  %92 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %93 = load ptr, ptr %91, align 8, !tbaa !46
  %94 = getelementptr inbounds ptr, ptr %93, i64 9
  %95 = load ptr, ptr %94, align 8
  call void %95(ptr noundef nonnull align 8 dereferenceable(196) %91, ptr noundef nonnull align 4 dereferenceable(4) %92)
  br label %305

96:                                               ; preds = %1
  %97 = load i32, ptr %3, align 4, !tbaa !9
  %98 = and i32 %97, 520093696
  %99 = lshr i32 %98, 24
  store i32 %99, ptr %5, align 4, !tbaa !9
  %100 = load i32, ptr %3, align 4, !tbaa !9
  %101 = and i32 %100, 16252928
  %102 = lshr i32 %101, 19
  store i32 %102, ptr %6, align 4, !tbaa !9
  %103 = load i32, ptr %3, align 4, !tbaa !9
  %104 = and i32 %103, 507904
  %105 = lshr i32 %104, 14
  store i32 %105, ptr %7, align 4, !tbaa !9
  %106 = load i32, ptr %7, align 4, !tbaa !9
  %107 = load i32, ptr %5, align 4, !tbaa !9
  %108 = load i32, ptr %6, align 4, !tbaa !9
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %106, i32 noundef %107, i32 noundef %108)
  %110 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %111 = load i32, ptr %5, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds [32 x i32], ptr %110, i64 0, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %116 = load i32, ptr %6, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds [32 x i32], ptr %115, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = add i32 %114, %119
  %121 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %122 = load i32, ptr %7, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds [32 x i32], ptr %121, i64 0, i64 %123
  store i32 %120, ptr %124, align 4, !tbaa !9
  %125 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %126 = load i32, ptr %125, align 8, !tbaa !11
  %127 = add i32 %126, 1
  %128 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %127, ptr %128, align 8, !tbaa !11
  %129 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %130 = load ptr, ptr %129, align 8, !tbaa !45
  %131 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %132 = load ptr, ptr %130, align 8, !tbaa !46
  %133 = getelementptr inbounds ptr, ptr %132, i64 9
  %134 = load ptr, ptr %133, align 8
  call void %134(ptr noundef nonnull align 8 dereferenceable(196) %130, ptr noundef nonnull align 4 dereferenceable(4) %131)
  br label %305

135:                                              ; preds = %1
  %136 = load i32, ptr %3, align 4, !tbaa !9
  %137 = and i32 %136, 520093696
  %138 = lshr i32 %137, 24
  store i32 %138, ptr %5, align 4, !tbaa !9
  %139 = load i32, ptr %3, align 4, !tbaa !9
  %140 = and i32 %139, 16252928
  %141 = lshr i32 %140, 19
  store i32 %141, ptr %6, align 4, !tbaa !9
  %142 = load i32, ptr %3, align 4, !tbaa !9
  %143 = and i32 %142, 507904
  %144 = lshr i32 %143, 14
  store i32 %144, ptr %7, align 4, !tbaa !9
  %145 = load i32, ptr %7, align 4, !tbaa !9
  %146 = load i32, ptr %5, align 4, !tbaa !9
  %147 = load i32, ptr %6, align 4, !tbaa !9
  %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %145, i32 noundef %146, i32 noundef %147)
  %149 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %150 = load i32, ptr %5, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds [32 x i32], ptr %149, i64 0, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %155 = load i32, ptr %6, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds [32 x i32], ptr %154, i64 0, i64 %156
  %158 = load i32, ptr %157, align 4, !tbaa !9
  %159 = sub i32 %153, %158
  %160 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %161 = load i32, ptr %7, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds [32 x i32], ptr %160, i64 0, i64 %162
  store i32 %159, ptr %163, align 4, !tbaa !9
  %164 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %165 = load i32, ptr %164, align 8, !tbaa !11
  %166 = add i32 %165, 1
  %167 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %166, ptr %167, align 8, !tbaa !11
  %168 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %169 = load ptr, ptr %168, align 8, !tbaa !45
  %170 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %171 = load ptr, ptr %169, align 8, !tbaa !46
  %172 = getelementptr inbounds ptr, ptr %171, i64 9
  %173 = load ptr, ptr %172, align 8
  call void %173(ptr noundef nonnull align 8 dereferenceable(196) %169, ptr noundef nonnull align 4 dereferenceable(4) %170)
  br label %305

174:                                              ; preds = %1
  %175 = load i32, ptr %3, align 4, !tbaa !9
  %176 = and i32 %175, 520093696
  %177 = lshr i32 %176, 24
  store i32 %177, ptr %5, align 4, !tbaa !9
  %178 = load i32, ptr %3, align 4, !tbaa !9
  %179 = and i32 %178, 16252928
  %180 = lshr i32 %179, 19
  store i32 %180, ptr %6, align 4, !tbaa !9
  %181 = load i32, ptr %3, align 4, !tbaa !9
  %182 = and i32 %181, 507904
  %183 = lshr i32 %182, 14
  store i32 %183, ptr %7, align 4, !tbaa !9
  %184 = load i32, ptr %7, align 4, !tbaa !9
  %185 = load i32, ptr %5, align 4, !tbaa !9
  %186 = load i32, ptr %6, align 4, !tbaa !9
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %184, i32 noundef %185, i32 noundef %186)
  %188 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %189 = load i32, ptr %5, align 4, !tbaa !9
  %190 = zext i32 %189 to i64
  %191 = getelementptr inbounds [32 x i32], ptr %188, i64 0, i64 %190
  %192 = load i32, ptr %191, align 4, !tbaa !9
  %193 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %194 = load i32, ptr %6, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds [32 x i32], ptr %193, i64 0, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !9
  %198 = mul i32 %192, %197
  %199 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %200 = load i32, ptr %7, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds [32 x i32], ptr %199, i64 0, i64 %201
  store i32 %198, ptr %202, align 4, !tbaa !9
  %203 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %204 = load i32, ptr %203, align 8, !tbaa !11
  %205 = add i32 %204, 1
  %206 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %205, ptr %206, align 8, !tbaa !11
  %207 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %208 = load ptr, ptr %207, align 8, !tbaa !45
  %209 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %210 = load ptr, ptr %208, align 8, !tbaa !46
  %211 = getelementptr inbounds ptr, ptr %210, i64 9
  %212 = load ptr, ptr %211, align 8
  call void %212(ptr noundef nonnull align 8 dereferenceable(196) %208, ptr noundef nonnull align 4 dereferenceable(4) %209)
  br label %305

213:                                              ; preds = %1
  %214 = load i32, ptr %3, align 4, !tbaa !9
  %215 = and i32 %214, 520093696
  %216 = lshr i32 %215, 24
  store i32 %216, ptr %5, align 4, !tbaa !9
  %217 = load i32, ptr %3, align 4, !tbaa !9
  %218 = and i32 %217, 16252928
  %219 = lshr i32 %218, 19
  store i32 %219, ptr %6, align 4, !tbaa !9
  %220 = load i32, ptr %3, align 4, !tbaa !9
  %221 = and i32 %220, 507904
  %222 = lshr i32 %221, 14
  store i32 %222, ptr %7, align 4, !tbaa !9
  %223 = load i32, ptr %7, align 4, !tbaa !9
  %224 = load i32, ptr %5, align 4, !tbaa !9
  %225 = load i32, ptr %6, align 4, !tbaa !9
  %226 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %223, i32 noundef %224, i32 noundef %225)
  %227 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %228 = load i32, ptr %6, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = getelementptr inbounds [32 x i32], ptr %227, i64 0, i64 %229
  %231 = load i32, ptr %230, align 4, !tbaa !9
  %232 = icmp eq i32 %231, 0
  br i1 %232, label %233, label %235

233:                                              ; preds = %213
  %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  br label %251

235:                                              ; preds = %213
  %236 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %237 = load i32, ptr %5, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = getelementptr inbounds [32 x i32], ptr %236, i64 0, i64 %238
  %240 = load i32, ptr %239, align 4, !tbaa !9
  %241 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %242 = load i32, ptr %6, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds [32 x i32], ptr %241, i64 0, i64 %243
  %245 = load i32, ptr %244, align 4, !tbaa !9
  %246 = udiv i32 %240, %245
  %247 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %248 = load i32, ptr %7, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = getelementptr inbounds [32 x i32], ptr %247, i64 0, i64 %249
  store i32 %246, ptr %250, align 4, !tbaa !9
  br label %251

251:                                              ; preds = %235, %233
  %252 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %253 = load i32, ptr %252, align 8, !tbaa !11
  %254 = add i32 %253, 1
  %255 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %254, ptr %255, align 8, !tbaa !11
  %256 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %257 = load ptr, ptr %256, align 8, !tbaa !45
  %258 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %259 = load ptr, ptr %257, align 8, !tbaa !46
  %260 = getelementptr inbounds ptr, ptr %259, i64 9
  %261 = load ptr, ptr %260, align 8
  call void %261(ptr noundef nonnull align 8 dereferenceable(196) %257, ptr noundef nonnull align 4 dereferenceable(4) %258)
  br label %305

262:                                              ; preds = %1
  %263 = load i32, ptr %3, align 4, !tbaa !9
  %264 = and i32 %263, 520093696
  %265 = lshr i32 %264, 24
  store i32 %265, ptr %5, align 4, !tbaa !9
  %266 = load i32, ptr %3, align 4, !tbaa !9
  %267 = and i32 %266, 16777215
  store i32 %267, ptr %8, align 4, !tbaa !9
  %268 = load i32, ptr %5, align 4, !tbaa !9
  %269 = load i32, ptr %8, align 4, !tbaa !9
  %270 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %268, i32 noundef %269)
  %271 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 4
  %272 = load i32, ptr %5, align 4, !tbaa !9
  %273 = zext i32 %272 to i64
  %274 = getelementptr inbounds [32 x i32], ptr %271, i64 0, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !9
  %276 = icmp eq i32 %275, 0
  br i1 %276, label %277, label %282

277:                                              ; preds = %262
  %278 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %279 = load i32, ptr %278, align 8, !tbaa !11
  %280 = add i32 %279, 1
  %281 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %280, ptr %281, align 8, !tbaa !11
  br label %285

282:                                              ; preds = %262
  %283 = load i32, ptr %8, align 4, !tbaa !9
  %284 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %283, ptr %284, align 8, !tbaa !11
  br label %285

285:                                              ; preds = %282, %277
  %286 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %287 = load ptr, ptr %286, align 8, !tbaa !45
  %288 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %289 = load ptr, ptr %287, align 8, !tbaa !46
  %290 = getelementptr inbounds ptr, ptr %289, i64 9
  %291 = load ptr, ptr %290, align 8
  call void %291(ptr noundef nonnull align 8 dereferenceable(196) %287, ptr noundef nonnull align 4 dereferenceable(4) %288)
  br label %305

292:                                              ; preds = %1
  %293 = load i32, ptr %4, align 4, !tbaa !9
  %294 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %293)
  %295 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %296 = load i32, ptr %295, align 8, !tbaa !11
  %297 = add i32 %296, 1
  %298 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  store i32 %297, ptr %298, align 8, !tbaa !11
  %299 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 2
  %300 = load ptr, ptr %299, align 8, !tbaa !45
  %301 = getelementptr inbounds %struct.exec_decode, ptr %10, i32 0, i32 3
  %302 = load ptr, ptr %300, align 8, !tbaa !46
  %303 = getelementptr inbounds ptr, ptr %302, i64 9
  %304 = load ptr, ptr %303, align 8
  call void %304(ptr noundef nonnull align 8 dereferenceable(196) %300, ptr noundef nonnull align 4 dereferenceable(4) %301)
  br label %305

305:                                              ; preds = %292, %285, %251, %174, %135, %96, %67, %38, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK7sc_core5sc_inIjE4readEv(ptr noundef nonnull align 8 dereferenceable(168)) #0 align 2

declare i32 @printf(ptr noundef, ...) #2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 408}
!12 = !{!"_ZTS11exec_decode", !13, i64 0, !34, i64 232, !6, i64 400, !10, i64 408, !7, i64 412, !6, i64 544}
!13 = !{!"_ZTSN7sc_core9sc_moduleE", !14, i64 0, !26, i64 112, !27, i64 120, !29, i64 144, !31, i64 168, !33, i64 192, !6, i64 200, !10, i64 208, !6, i64 216, !6, i64 224}
!14 = !{!"_ZTSN7sc_core9sc_objectE", !6, i64 8, !15, i64 16, !19, i64 40, !23, i64 64, !6, i64 96, !6, i64 104}
!15 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !25, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!27 = !{!"_ZTSN7sc_core12sc_sensitiveE", !6, i64 0, !28, i64 8, !6, i64 16}
!28 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !7, i64 0}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !6, i64 0, !30, i64 8, !6, i64 16}
!30 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !7, i64 0}
!31 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !6, i64 0, !32, i64 8, !6, i64 16}
!32 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !7, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{!"_ZTSN7sc_core5sc_inIjEE", !35, i64 0, !6, i64 152, !6, i64 160}
!35 = !{!"_ZTSN7sc_core7sc_portINS_15sc_signal_in_ifIjEELi1ELNS_14sc_port_policyE0EEE", !36, i64 0}
!36 = !{!"_ZTSN7sc_core9sc_port_bINS_15sc_signal_in_ifIjEEEE", !37, i64 0, !6, i64 120, !38, i64 128}
!37 = !{!"_ZTSN7sc_core12sc_port_baseE", !14, i64 0, !6, i64 112}
!38 = !{!"_ZTSSt6vectorIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!12, !6, i64 544}
!45 = !{!12, !6, i64 400}
!46 = !{!47, !47, i64 0}
!47 = !{!"vtable pointer", !8, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11exec_decode5entryEv(ptr noundef nonnull align 8 dereferenceable(552) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 232
  %3 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK7sc_core5sc_inIjE4readEv(ptr noundef nonnull align 8 dereferenceable(168) %2)
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = lshr i32 %4, 29
  switch i32 %5, label %default.unreachable65 [
    i32 0, label %.loopexit.loopexit
    i32 1, label %106
    i32 2, label %127
    i32 3, label %148
    i32 4, label %174
    i32 5, label %200
    i32 6, label %226
    i32 7, label %257
  ]

.loopexit.loopexit:                               ; preds = %1
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %7 = getelementptr inbounds i8, ptr %0, i64 408
  %8 = load i32, ptr %7, align 8, !tbaa !9
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %8)
  %10 = getelementptr inbounds i8, ptr %0, i64 412
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 0, i32 noundef %11)
  %13 = getelementptr inbounds i8, ptr %0, i64 416
  %14 = load i32, ptr %13, align 8, !tbaa !5
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 1, i32 noundef %14)
  %16 = getelementptr inbounds i8, ptr %0, i64 420
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 2, i32 noundef %17)
  %19 = getelementptr inbounds i8, ptr %0, i64 424
  %20 = load i32, ptr %19, align 8, !tbaa !5
  %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 3, i32 noundef %20)
  %22 = getelementptr inbounds i8, ptr %0, i64 428
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 4, i32 noundef %23)
  %25 = getelementptr inbounds i8, ptr %0, i64 432
  %26 = load i32, ptr %25, align 8, !tbaa !5
  %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 5, i32 noundef %26)
  %28 = getelementptr inbounds i8, ptr %0, i64 436
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 6, i32 noundef %29)
  %31 = getelementptr inbounds i8, ptr %0, i64 440
  %32 = load i32, ptr %31, align 8, !tbaa !5
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 7, i32 noundef %32)
  %34 = getelementptr inbounds i8, ptr %0, i64 444
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 8, i32 noundef %35)
  %37 = getelementptr inbounds i8, ptr %0, i64 448
  %38 = load i32, ptr %37, align 8, !tbaa !5
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 9, i32 noundef %38)
  %40 = getelementptr inbounds i8, ptr %0, i64 452
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 10, i32 noundef %41)
  %43 = getelementptr inbounds i8, ptr %0, i64 456
  %44 = load i32, ptr %43, align 8, !tbaa !5
  %45 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 11, i32 noundef %44)
  %46 = getelementptr inbounds i8, ptr %0, i64 460
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 12, i32 noundef %47)
  %49 = getelementptr inbounds i8, ptr %0, i64 464
  %50 = load i32, ptr %49, align 8, !tbaa !5
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 13, i32 noundef %50)
  %52 = getelementptr inbounds i8, ptr %0, i64 468
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 14, i32 noundef %53)
  %55 = getelementptr inbounds i8, ptr %0, i64 472
  %56 = load i32, ptr %55, align 8, !tbaa !5
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 15, i32 noundef %56)
  %58 = getelementptr inbounds i8, ptr %0, i64 476
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 16, i32 noundef %59)
  %61 = getelementptr inbounds i8, ptr %0, i64 480
  %62 = load i32, ptr %61, align 8, !tbaa !5
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 17, i32 noundef %62)
  %64 = getelementptr inbounds i8, ptr %0, i64 484
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 18, i32 noundef %65)
  %67 = getelementptr inbounds i8, ptr %0, i64 488
  %68 = load i32, ptr %67, align 8, !tbaa !5
  %69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 19, i32 noundef %68)
  %70 = getelementptr inbounds i8, ptr %0, i64 492
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 20, i32 noundef %71)
  %73 = getelementptr inbounds i8, ptr %0, i64 496
  %74 = load i32, ptr %73, align 8, !tbaa !5
  %75 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 21, i32 noundef %74)
  %76 = getelementptr inbounds i8, ptr %0, i64 500
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 22, i32 noundef %77)
  %79 = getelementptr inbounds i8, ptr %0, i64 504
  %80 = load i32, ptr %79, align 8, !tbaa !5
  %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 23, i32 noundef %80)
  %82 = getelementptr inbounds i8, ptr %0, i64 508
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 24, i32 noundef %83)
  %85 = getelementptr inbounds i8, ptr %0, i64 512
  %86 = load i32, ptr %85, align 8, !tbaa !5
  %87 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 25, i32 noundef %86)
  %88 = getelementptr inbounds i8, ptr %0, i64 516
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 26, i32 noundef %89)
  %91 = getelementptr inbounds i8, ptr %0, i64 520
  %92 = load i32, ptr %91, align 8, !tbaa !5
  %93 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 27, i32 noundef %92)
  %94 = getelementptr inbounds i8, ptr %0, i64 524
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 28, i32 noundef %95)
  %97 = getelementptr inbounds i8, ptr %0, i64 528
  %98 = load i32, ptr %97, align 8, !tbaa !5
  %99 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 29, i32 noundef %98)
  %100 = getelementptr inbounds i8, ptr %0, i64 532
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 30, i32 noundef %101)
  %103 = getelementptr inbounds i8, ptr %0, i64 536
  %104 = load i32, ptr %103, align 8, !tbaa !5
  %105 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 31, i32 noundef %104)
  br label %.loopexit

106:                                              ; preds = %1
  %107 = lshr i32 %4, 24
  %108 = and i32 %107, 31
  %109 = and i32 %4, 16777215
  %110 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %109, i32 noundef %108)
  %111 = getelementptr inbounds i8, ptr %0, i64 412
  %112 = zext nneg i32 %108 to i64
  %113 = getelementptr inbounds [32 x i32], ptr %111, i64 0, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %0, i64 544
  %116 = load ptr, ptr %115, align 8, !tbaa !41
  %117 = zext nneg i32 %109 to i64
  %118 = getelementptr inbounds i32, ptr %116, i64 %117
  store i32 %114, ptr %118, align 4, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %0, i64 408
  %120 = load i32, ptr %119, align 8, !tbaa !9
  %121 = add i32 %120, 1
  store i32 %121, ptr %119, align 8, !tbaa !9
  %122 = getelementptr inbounds i8, ptr %0, i64 400
  %123 = load ptr, ptr %122, align 8, !tbaa !42
  %124 = load ptr, ptr %123, align 8, !tbaa !43
  %125 = getelementptr inbounds i8, ptr %124, i64 72
  %126 = load ptr, ptr %125, align 8
  tail call void %126(ptr noundef nonnull align 8 dereferenceable(196) %123, ptr noundef nonnull align 4 dereferenceable(4) %119)
  br label %.loopexit

127:                                              ; preds = %1
  %128 = lshr i32 %4, 24
  %129 = and i32 %128, 31
  %130 = and i32 %4, 16777215
  %131 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %129, i32 noundef %130)
  %132 = getelementptr inbounds i8, ptr %0, i64 544
  %133 = load ptr, ptr %132, align 8, !tbaa !41
  %134 = zext nneg i32 %130 to i64
  %135 = getelementptr inbounds i32, ptr %133, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = getelementptr inbounds i8, ptr %0, i64 412
  %138 = zext nneg i32 %129 to i64
  %139 = getelementptr inbounds [32 x i32], ptr %137, i64 0, i64 %138
  store i32 %136, ptr %139, align 4, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %0, i64 408
  %141 = load i32, ptr %140, align 8, !tbaa !9
  %142 = add i32 %141, 1
  store i32 %142, ptr %140, align 8, !tbaa !9
  %143 = getelementptr inbounds i8, ptr %0, i64 400
  %144 = load ptr, ptr %143, align 8, !tbaa !42
  %145 = load ptr, ptr %144, align 8, !tbaa !43
  %146 = getelementptr inbounds i8, ptr %145, i64 72
  %147 = load ptr, ptr %146, align 8
  tail call void %147(ptr noundef nonnull align 8 dereferenceable(196) %144, ptr noundef nonnull align 4 dereferenceable(4) %140)
  br label %.loopexit

148:                                              ; preds = %1
  %149 = lshr i32 %4, 24
  %150 = and i32 %149, 31
  %151 = lshr i32 %4, 19
  %152 = and i32 %151, 31
  %153 = lshr i32 %4, 14
  %154 = and i32 %153, 31
  %155 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %154, i32 noundef %150, i32 noundef %152)
  %156 = getelementptr inbounds i8, ptr %0, i64 412
  %157 = zext nneg i32 %150 to i64
  %158 = getelementptr inbounds [32 x i32], ptr %156, i64 0, i64 %157
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = zext nneg i32 %152 to i64
  %161 = getelementptr inbounds [32 x i32], ptr %156, i64 0, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %163 = add i32 %162, %159
  %164 = zext nneg i32 %154 to i64
  %165 = getelementptr inbounds [32 x i32], ptr %156, i64 0, i64 %164
  store i32 %163, ptr %165, align 4, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %0, i64 408
  %167 = load i32, ptr %166, align 8, !tbaa !9
  %168 = add i32 %167, 1
  store i32 %168, ptr %166, align 8, !tbaa !9
  %169 = getelementptr inbounds i8, ptr %0, i64 400
  %170 = load ptr, ptr %169, align 8, !tbaa !42
  %171 = load ptr, ptr %170, align 8, !tbaa !43
  %172 = getelementptr inbounds i8, ptr %171, i64 72
  %173 = load ptr, ptr %172, align 8
  tail call void %173(ptr noundef nonnull align 8 dereferenceable(196) %170, ptr noundef nonnull align 4 dereferenceable(4) %166)
  br label %.loopexit

174:                                              ; preds = %1
  %175 = lshr i32 %4, 24
  %176 = and i32 %175, 31
  %177 = lshr i32 %4, 19
  %178 = and i32 %177, 31
  %179 = lshr i32 %4, 14
  %180 = and i32 %179, 31
  %181 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %180, i32 noundef %176, i32 noundef %178)
  %182 = getelementptr inbounds i8, ptr %0, i64 412
  %183 = zext nneg i32 %176 to i64
  %184 = getelementptr inbounds [32 x i32], ptr %182, i64 0, i64 %183
  %185 = load i32, ptr %184, align 4, !tbaa !5
  %186 = zext nneg i32 %178 to i64
  %187 = getelementptr inbounds [32 x i32], ptr %182, i64 0, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = sub i32 %185, %188
  %190 = zext nneg i32 %180 to i64
  %191 = getelementptr inbounds [32 x i32], ptr %182, i64 0, i64 %190
  store i32 %189, ptr %191, align 4, !tbaa !5
  %192 = getelementptr inbounds i8, ptr %0, i64 408
  %193 = load i32, ptr %192, align 8, !tbaa !9
  %194 = add i32 %193, 1
  store i32 %194, ptr %192, align 8, !tbaa !9
  %195 = getelementptr inbounds i8, ptr %0, i64 400
  %196 = load ptr, ptr %195, align 8, !tbaa !42
  %197 = load ptr, ptr %196, align 8, !tbaa !43
  %198 = getelementptr inbounds i8, ptr %197, i64 72
  %199 = load ptr, ptr %198, align 8
  tail call void %199(ptr noundef nonnull align 8 dereferenceable(196) %196, ptr noundef nonnull align 4 dereferenceable(4) %192)
  br label %.loopexit

200:                                              ; preds = %1
  %201 = lshr i32 %4, 24
  %202 = and i32 %201, 31
  %203 = lshr i32 %4, 19
  %204 = and i32 %203, 31
  %205 = lshr i32 %4, 14
  %206 = and i32 %205, 31
  %207 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %206, i32 noundef %202, i32 noundef %204)
  %208 = getelementptr inbounds i8, ptr %0, i64 412
  %209 = zext nneg i32 %202 to i64
  %210 = getelementptr inbounds [32 x i32], ptr %208, i64 0, i64 %209
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = zext nneg i32 %204 to i64
  %213 = getelementptr inbounds [32 x i32], ptr %208, i64 0, i64 %212
  %214 = load i32, ptr %213, align 4, !tbaa !5
  %215 = mul i32 %214, %211
  %216 = zext nneg i32 %206 to i64
  %217 = getelementptr inbounds [32 x i32], ptr %208, i64 0, i64 %216
  store i32 %215, ptr %217, align 4, !tbaa !5
  %218 = getelementptr inbounds i8, ptr %0, i64 408
  %219 = load i32, ptr %218, align 8, !tbaa !9
  %220 = add i32 %219, 1
  store i32 %220, ptr %218, align 8, !tbaa !9
  %221 = getelementptr inbounds i8, ptr %0, i64 400
  %222 = load ptr, ptr %221, align 8, !tbaa !42
  %223 = load ptr, ptr %222, align 8, !tbaa !43
  %224 = getelementptr inbounds i8, ptr %223, i64 72
  %225 = load ptr, ptr %224, align 8
  tail call void %225(ptr noundef nonnull align 8 dereferenceable(196) %222, ptr noundef nonnull align 4 dereferenceable(4) %218)
  br label %.loopexit

226:                                              ; preds = %1
  %227 = lshr i32 %4, 24
  %228 = and i32 %227, 31
  %229 = lshr i32 %4, 19
  %230 = and i32 %229, 31
  %231 = lshr i32 %4, 14
  %232 = and i32 %231, 31
  %233 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %232, i32 noundef %228, i32 noundef %230)
  %234 = getelementptr inbounds i8, ptr %0, i64 412
  %235 = zext nneg i32 %230 to i64
  %236 = getelementptr inbounds [32 x i32], ptr %234, i64 0, i64 %235
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %238 = icmp eq i32 %237, 0
  br i1 %238, label %239, label %241

239:                                              ; preds = %226
  %240 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  br label %248

241:                                              ; preds = %226
  %242 = zext nneg i32 %228 to i64
  %243 = getelementptr inbounds [32 x i32], ptr %234, i64 0, i64 %242
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = udiv i32 %244, %237
  %246 = zext nneg i32 %232 to i64
  %247 = getelementptr inbounds [32 x i32], ptr %234, i64 0, i64 %246
  store i32 %245, ptr %247, align 4, !tbaa !5
  br label %248

248:                                              ; preds = %241, %239
  %249 = getelementptr inbounds i8, ptr %0, i64 408
  %250 = load i32, ptr %249, align 8, !tbaa !9
  %251 = add i32 %250, 1
  store i32 %251, ptr %249, align 8, !tbaa !9
  %252 = getelementptr inbounds i8, ptr %0, i64 400
  %253 = load ptr, ptr %252, align 8, !tbaa !42
  %254 = load ptr, ptr %253, align 8, !tbaa !43
  %255 = getelementptr inbounds i8, ptr %254, i64 72
  %256 = load ptr, ptr %255, align 8
  tail call void %256(ptr noundef nonnull align 8 dereferenceable(196) %253, ptr noundef nonnull align 4 dereferenceable(4) %249)
  br label %.loopexit

257:                                              ; preds = %1
  %258 = lshr i32 %4, 24
  %259 = and i32 %258, 31
  %260 = and i32 %4, 16777215
  %261 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %259, i32 noundef %260)
  %262 = getelementptr inbounds i8, ptr %0, i64 412
  %263 = zext nneg i32 %259 to i64
  %264 = getelementptr inbounds [32 x i32], ptr %262, i64 0, i64 %263
  %265 = load i32, ptr %264, align 4, !tbaa !5
  %266 = icmp eq i32 %265, 0
  %267 = getelementptr inbounds i8, ptr %0, i64 408
  %268 = load i32, ptr %267, align 8
  %269 = add i32 %268, 1
  %.sink = select i1 %266, i32 %269, i32 %260
  store i32 %.sink, ptr %267, align 8, !tbaa !9
  %270 = getelementptr inbounds i8, ptr %0, i64 400
  %271 = load ptr, ptr %270, align 8, !tbaa !42
  %272 = getelementptr inbounds i8, ptr %0, i64 408
  %273 = load ptr, ptr %271, align 8, !tbaa !43
  %274 = getelementptr inbounds i8, ptr %273, i64 72
  %275 = load ptr, ptr %274, align 8
  tail call void %275(ptr noundef nonnull align 8 dereferenceable(196) %271, ptr noundef nonnull align 4 dereferenceable(4) %272)
  br label %.loopexit

default.unreachable65:                            ; preds = %1
  unreachable

.loopexit:                                        ; preds = %.loopexit.loopexit, %257, %248, %200, %174, %148, %127, %106
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK7sc_core5sc_inIjE4readEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #0 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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" }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 408}
!10 = !{!"_ZTS11exec_decode", !11, i64 0, !33, i64 232, !13, i64 400, !6, i64 408, !7, i64 412, !13, i64 544}
!11 = !{!"_ZTSN7sc_core9sc_moduleE", !12, i64 0, !25, i64 112, !26, i64 120, !28, i64 144, !30, i64 168, !32, i64 192, !13, i64 200, !6, i64 208, !13, i64 216, !13, i64 224}
!12 = !{!"_ZTSN7sc_core9sc_objectE", !13, i64 8, !14, i64 16, !18, i64 40, !22, i64 64, !13, i64 96, !13, i64 104}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!18 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !7, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!26 = !{!"_ZTSN7sc_core12sc_sensitiveE", !13, i64 0, !27, i64 8, !13, i64 16}
!27 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !7, i64 0}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !13, i64 0, !29, i64 8, !13, i64 16}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !7, i64 0}
!30 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !13, i64 0, !31, i64 8, !13, i64 16}
!31 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !7, i64 0}
!32 = !{!"bool", !7, i64 0}
!33 = !{!"_ZTSN7sc_core5sc_inIjEE", !34, i64 0, !13, i64 152, !13, i64 160}
!34 = !{!"_ZTSN7sc_core7sc_portINS_15sc_signal_in_ifIjEELi1ELNS_14sc_port_policyE0EEE", !35, i64 0}
!35 = !{!"_ZTSN7sc_core9sc_port_bINS_15sc_signal_in_ifIjEEEE", !36, i64 0, !13, i64 120, !37, i64 128}
!36 = !{!"_ZTSN7sc_core12sc_port_baseE", !12, i64 0, !13, i64 112}
!37 = !{!"_ZTSSt6vectorIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIjEESaIS3_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!41 = !{!10, !13, i64 544}
!42 = !{!10, !13, i64 400}
!43 = !{!44, !44, i64 0}
!44 = !{!"vtable pointer", !8, i64 0}


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