; LLVM IR from mbrenman/TetrisPlayground :: game/Piece.ll (ZN5Piece8setPieceEi)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.Piece = type { [4 x [4 x i8]], i32 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN5Piece8setPieceEi = external hidden unnamed_addr constant [26 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Piece8setPieceEi(ptr noundef nonnull align 4 dereferenceable(20) %0, i32 noundef %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %5 = load ptr, ptr %3, align 8
  %6 = load i32, ptr %4, align 4, !tbaa !9
  %7 = icmp ne i32 %6, 0
  br i1 %7, label %8, label %9

8:                                                ; preds = %2
  br label %11

9:                                                ; preds = %2
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 24, ptr noundef @__PRETTY_FUNCTION__._ZN5Piece8setPieceEi) #4
  unreachable

10:                                               ; No predecessors!
  br label %11

11:                                               ; preds = %10, %8
  %12 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 1
  %13 = load i32, ptr %12, align 4, !tbaa !11
  switch i32 %13, label %357 [
    i32 1, label %14
    i32 2, label %63
    i32 3, label %112
    i32 4, label %161
    i32 5, label %210
    i32 6, label %259
    i32 7, label %308
  ]

14:                                               ; preds = %11
  %15 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %16 = getelementptr inbounds [4 x [4 x i8]], ptr %15, i64 0, i64 0
  %17 = getelementptr inbounds [4 x i8], ptr %16, i64 0, i64 0
  store i8 0, ptr %17, align 4, !tbaa !13
  %18 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %19 = getelementptr inbounds [4 x [4 x i8]], ptr %18, i64 0, i64 1
  %20 = getelementptr inbounds [4 x i8], ptr %19, i64 0, i64 0
  store i8 0, ptr %20, align 4, !tbaa !13
  %21 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %22 = getelementptr inbounds [4 x [4 x i8]], ptr %21, i64 0, i64 2
  %23 = getelementptr inbounds [4 x i8], ptr %22, i64 0, i64 0
  store i8 0, ptr %23, align 4, !tbaa !13
  %24 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %25 = getelementptr inbounds [4 x [4 x i8]], ptr %24, i64 0, i64 3
  %26 = getelementptr inbounds [4 x i8], ptr %25, i64 0, i64 0
  store i8 0, ptr %26, align 4, !tbaa !13
  %27 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %28 = getelementptr inbounds [4 x [4 x i8]], ptr %27, i64 0, i64 0
  %29 = getelementptr inbounds [4 x i8], ptr %28, i64 0, i64 1
  store i8 0, ptr %29, align 1, !tbaa !13
  %30 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %31 = getelementptr inbounds [4 x [4 x i8]], ptr %30, i64 0, i64 1
  %32 = getelementptr inbounds [4 x i8], ptr %31, i64 0, i64 1
  store i8 0, ptr %32, align 1, !tbaa !13
  %33 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %34 = getelementptr inbounds [4 x [4 x i8]], ptr %33, i64 0, i64 2
  %35 = getelementptr inbounds [4 x i8], ptr %34, i64 0, i64 1
  store i8 0, ptr %35, align 1, !tbaa !13
  %36 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %37 = getelementptr inbounds [4 x [4 x i8]], ptr %36, i64 0, i64 3
  %38 = getelementptr inbounds [4 x i8], ptr %37, i64 0, i64 1
  store i8 0, ptr %38, align 1, !tbaa !13
  %39 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %40 = getelementptr inbounds [4 x [4 x i8]], ptr %39, i64 0, i64 0
  %41 = getelementptr inbounds [4 x i8], ptr %40, i64 0, i64 2
  store i8 1, ptr %41, align 2, !tbaa !13
  %42 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %43 = getelementptr inbounds [4 x [4 x i8]], ptr %42, i64 0, i64 1
  %44 = getelementptr inbounds [4 x i8], ptr %43, i64 0, i64 2
  store i8 1, ptr %44, align 2, !tbaa !13
  %45 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %46 = getelementptr inbounds [4 x [4 x i8]], ptr %45, i64 0, i64 2
  %47 = getelementptr inbounds [4 x i8], ptr %46, i64 0, i64 2
  store i8 0, ptr %47, align 2, !tbaa !13
  %48 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %49 = getelementptr inbounds [4 x [4 x i8]], ptr %48, i64 0, i64 3
  %50 = getelementptr inbounds [4 x i8], ptr %49, i64 0, i64 2
  store i8 0, ptr %50, align 2, !tbaa !13
  %51 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %52 = getelementptr inbounds [4 x [4 x i8]], ptr %51, i64 0, i64 0
  %53 = getelementptr inbounds [4 x i8], ptr %52, i64 0, i64 3
  store i8 1, ptr %53, align 1, !tbaa !13
  %54 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %55 = getelementptr inbounds [4 x [4 x i8]], ptr %54, i64 0, i64 1
  %56 = getelementptr inbounds [4 x i8], ptr %55, i64 0, i64 3
  store i8 1, ptr %56, align 1, !tbaa !13
  %57 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %58 = getelementptr inbounds [4 x [4 x i8]], ptr %57, i64 0, i64 2
  %59 = getelementptr inbounds [4 x i8], ptr %58, i64 0, i64 3
  store i8 0, ptr %59, align 1, !tbaa !13
  %60 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %61 = getelementptr inbounds [4 x [4 x i8]], ptr %60, i64 0, i64 3
  %62 = getelementptr inbounds [4 x i8], ptr %61, i64 0, i64 3
  store i8 0, ptr %62, align 1, !tbaa !13
  br label %362

63:                                               ; preds = %11
  %64 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %65 = getelementptr inbounds [4 x [4 x i8]], ptr %64, i64 0, i64 0
  %66 = getelementptr inbounds [4 x i8], ptr %65, i64 0, i64 0
  store i8 0, ptr %66, align 4, !tbaa !13
  %67 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %68 = getelementptr inbounds [4 x [4 x i8]], ptr %67, i64 0, i64 1
  %69 = getelementptr inbounds [4 x i8], ptr %68, i64 0, i64 0
  store i8 0, ptr %69, align 4, !tbaa !13
  %70 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %71 = getelementptr inbounds [4 x [4 x i8]], ptr %70, i64 0, i64 2
  %72 = getelementptr inbounds [4 x i8], ptr %71, i64 0, i64 0
  store i8 0, ptr %72, align 4, !tbaa !13
  %73 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %74 = getelementptr inbounds [4 x [4 x i8]], ptr %73, i64 0, i64 3
  %75 = getelementptr inbounds [4 x i8], ptr %74, i64 0, i64 0
  store i8 0, ptr %75, align 4, !tbaa !13
  %76 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %77 = getelementptr inbounds [4 x [4 x i8]], ptr %76, i64 0, i64 0
  %78 = getelementptr inbounds [4 x i8], ptr %77, i64 0, i64 1
  store i8 0, ptr %78, align 1, !tbaa !13
  %79 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %80 = getelementptr inbounds [4 x [4 x i8]], ptr %79, i64 0, i64 1
  %81 = getelementptr inbounds [4 x i8], ptr %80, i64 0, i64 1
  store i8 0, ptr %81, align 1, !tbaa !13
  %82 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %83 = getelementptr inbounds [4 x [4 x i8]], ptr %82, i64 0, i64 2
  %84 = getelementptr inbounds [4 x i8], ptr %83, i64 0, i64 1
  store i8 0, ptr %84, align 1, !tbaa !13
  %85 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %86 = getelementptr inbounds [4 x [4 x i8]], ptr %85, i64 0, i64 3
  %87 = getelementptr inbounds [4 x i8], ptr %86, i64 0, i64 1
  store i8 0, ptr %87, align 1, !tbaa !13
  %88 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %89 = getelementptr inbounds [4 x [4 x i8]], ptr %88, i64 0, i64 0
  %90 = getelementptr inbounds [4 x i8], ptr %89, i64 0, i64 2
  store i8 1, ptr %90, align 2, !tbaa !13
  %91 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %92 = getelementptr inbounds [4 x [4 x i8]], ptr %91, i64 0, i64 1
  %93 = getelementptr inbounds [4 x i8], ptr %92, i64 0, i64 2
  store i8 0, ptr %93, align 2, !tbaa !13
  %94 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %95 = getelementptr inbounds [4 x [4 x i8]], ptr %94, i64 0, i64 2
  %96 = getelementptr inbounds [4 x i8], ptr %95, i64 0, i64 2
  store i8 0, ptr %96, align 2, !tbaa !13
  %97 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %98 = getelementptr inbounds [4 x [4 x i8]], ptr %97, i64 0, i64 3
  %99 = getelementptr inbounds [4 x i8], ptr %98, i64 0, i64 2
  store i8 0, ptr %99, align 2, !tbaa !13
  %100 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %101 = getelementptr inbounds [4 x [4 x i8]], ptr %100, i64 0, i64 0
  %102 = getelementptr inbounds [4 x i8], ptr %101, i64 0, i64 3
  store i8 1, ptr %102, align 1, !tbaa !13
  %103 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %104 = getelementptr inbounds [4 x [4 x i8]], ptr %103, i64 0, i64 1
  %105 = getelementptr inbounds [4 x i8], ptr %104, i64 0, i64 3
  store i8 1, ptr %105, align 1, !tbaa !13
  %106 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %107 = getelementptr inbounds [4 x [4 x i8]], ptr %106, i64 0, i64 2
  %108 = getelementptr inbounds [4 x i8], ptr %107, i64 0, i64 3
  store i8 1, ptr %108, align 1, !tbaa !13
  %109 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %110 = getelementptr inbounds [4 x [4 x i8]], ptr %109, i64 0, i64 3
  %111 = getelementptr inbounds [4 x i8], ptr %110, i64 0, i64 3
  store i8 0, ptr %111, align 1, !tbaa !13
  br label %362

112:                                              ; preds = %11
  %113 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %114 = getelementptr inbounds [4 x [4 x i8]], ptr %113, i64 0, i64 0
  %115 = getelementptr inbounds [4 x i8], ptr %114, i64 0, i64 0
  store i8 0, ptr %115, align 4, !tbaa !13
  %116 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %117 = getelementptr inbounds [4 x [4 x i8]], ptr %116, i64 0, i64 1
  %118 = getelementptr inbounds [4 x i8], ptr %117, i64 0, i64 0
  store i8 0, ptr %118, align 4, !tbaa !13
  %119 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %120 = getelementptr inbounds [4 x [4 x i8]], ptr %119, i64 0, i64 2
  %121 = getelementptr inbounds [4 x i8], ptr %120, i64 0, i64 0
  store i8 0, ptr %121, align 4, !tbaa !13
  %122 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %123 = getelementptr inbounds [4 x [4 x i8]], ptr %122, i64 0, i64 3
  %124 = getelementptr inbounds [4 x i8], ptr %123, i64 0, i64 0
  store i8 0, ptr %124, align 4, !tbaa !13
  %125 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %126 = getelementptr inbounds [4 x [4 x i8]], ptr %125, i64 0, i64 0
  %127 = getelementptr inbounds [4 x i8], ptr %126, i64 0, i64 1
  store i8 0, ptr %127, align 1, !tbaa !13
  %128 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %129 = getelementptr inbounds [4 x [4 x i8]], ptr %128, i64 0, i64 1
  %130 = getelementptr inbounds [4 x i8], ptr %129, i64 0, i64 1
  store i8 0, ptr %130, align 1, !tbaa !13
  %131 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %132 = getelementptr inbounds [4 x [4 x i8]], ptr %131, i64 0, i64 2
  %133 = getelementptr inbounds [4 x i8], ptr %132, i64 0, i64 1
  store i8 0, ptr %133, align 1, !tbaa !13
  %134 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %135 = getelementptr inbounds [4 x [4 x i8]], ptr %134, i64 0, i64 3
  %136 = getelementptr inbounds [4 x i8], ptr %135, i64 0, i64 1
  store i8 0, ptr %136, align 1, !tbaa !13
  %137 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %138 = getelementptr inbounds [4 x [4 x i8]], ptr %137, i64 0, i64 0
  %139 = getelementptr inbounds [4 x i8], ptr %138, i64 0, i64 2
  store i8 0, ptr %139, align 2, !tbaa !13
  %140 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %141 = getelementptr inbounds [4 x [4 x i8]], ptr %140, i64 0, i64 1
  %142 = getelementptr inbounds [4 x i8], ptr %141, i64 0, i64 2
  store i8 0, ptr %142, align 2, !tbaa !13
  %143 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %144 = getelementptr inbounds [4 x [4 x i8]], ptr %143, i64 0, i64 2
  %145 = getelementptr inbounds [4 x i8], ptr %144, i64 0, i64 2
  store i8 1, ptr %145, align 2, !tbaa !13
  %146 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %147 = getelementptr inbounds [4 x [4 x i8]], ptr %146, i64 0, i64 3
  %148 = getelementptr inbounds [4 x i8], ptr %147, i64 0, i64 2
  store i8 0, ptr %148, align 2, !tbaa !13
  %149 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %150 = getelementptr inbounds [4 x [4 x i8]], ptr %149, i64 0, i64 0
  %151 = getelementptr inbounds [4 x i8], ptr %150, i64 0, i64 3
  store i8 1, ptr %151, align 1, !tbaa !13
  %152 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %153 = getelementptr inbounds [4 x [4 x i8]], ptr %152, i64 0, i64 1
  %154 = getelementptr inbounds [4 x i8], ptr %153, i64 0, i64 3
  store i8 1, ptr %154, align 1, !tbaa !13
  %155 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %156 = getelementptr inbounds [4 x [4 x i8]], ptr %155, i64 0, i64 2
  %157 = getelementptr inbounds [4 x i8], ptr %156, i64 0, i64 3
  store i8 1, ptr %157, align 1, !tbaa !13
  %158 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %159 = getelementptr inbounds [4 x [4 x i8]], ptr %158, i64 0, i64 3
  %160 = getelementptr inbounds [4 x i8], ptr %159, i64 0, i64 3
  store i8 0, ptr %160, align 1, !tbaa !13
  br label %362

161:                                              ; preds = %11
  %162 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %163 = getelementptr inbounds [4 x [4 x i8]], ptr %162, i64 0, i64 0
  %164 = getelementptr inbounds [4 x i8], ptr %163, i64 0, i64 0
  store i8 0, ptr %164, align 4, !tbaa !13
  %165 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %166 = getelementptr inbounds [4 x [4 x i8]], ptr %165, i64 0, i64 1
  %167 = getelementptr inbounds [4 x i8], ptr %166, i64 0, i64 0
  store i8 0, ptr %167, align 4, !tbaa !13
  %168 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %169 = getelementptr inbounds [4 x [4 x i8]], ptr %168, i64 0, i64 2
  %170 = getelementptr inbounds [4 x i8], ptr %169, i64 0, i64 0
  store i8 0, ptr %170, align 4, !tbaa !13
  %171 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %172 = getelementptr inbounds [4 x [4 x i8]], ptr %171, i64 0, i64 3
  %173 = getelementptr inbounds [4 x i8], ptr %172, i64 0, i64 0
  store i8 0, ptr %173, align 4, !tbaa !13
  %174 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %175 = getelementptr inbounds [4 x [4 x i8]], ptr %174, i64 0, i64 0
  %176 = getelementptr inbounds [4 x i8], ptr %175, i64 0, i64 1
  store i8 0, ptr %176, align 1, !tbaa !13
  %177 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %178 = getelementptr inbounds [4 x [4 x i8]], ptr %177, i64 0, i64 1
  %179 = getelementptr inbounds [4 x i8], ptr %178, i64 0, i64 1
  store i8 0, ptr %179, align 1, !tbaa !13
  %180 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %181 = getelementptr inbounds [4 x [4 x i8]], ptr %180, i64 0, i64 2
  %182 = getelementptr inbounds [4 x i8], ptr %181, i64 0, i64 1
  store i8 0, ptr %182, align 1, !tbaa !13
  %183 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %184 = getelementptr inbounds [4 x [4 x i8]], ptr %183, i64 0, i64 3
  %185 = getelementptr inbounds [4 x i8], ptr %184, i64 0, i64 1
  store i8 0, ptr %185, align 1, !tbaa !13
  %186 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %187 = getelementptr inbounds [4 x [4 x i8]], ptr %186, i64 0, i64 0
  %188 = getelementptr inbounds [4 x i8], ptr %187, i64 0, i64 2
  store i8 0, ptr %188, align 2, !tbaa !13
  %189 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %190 = getelementptr inbounds [4 x [4 x i8]], ptr %189, i64 0, i64 1
  %191 = getelementptr inbounds [4 x i8], ptr %190, i64 0, i64 2
  store i8 0, ptr %191, align 2, !tbaa !13
  %192 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %193 = getelementptr inbounds [4 x [4 x i8]], ptr %192, i64 0, i64 2
  %194 = getelementptr inbounds [4 x i8], ptr %193, i64 0, i64 2
  store i8 0, ptr %194, align 2, !tbaa !13
  %195 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %196 = getelementptr inbounds [4 x [4 x i8]], ptr %195, i64 0, i64 3
  %197 = getelementptr inbounds [4 x i8], ptr %196, i64 0, i64 2
  store i8 0, ptr %197, align 2, !tbaa !13
  %198 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %199 = getelementptr inbounds [4 x [4 x i8]], ptr %198, i64 0, i64 0
  %200 = getelementptr inbounds [4 x i8], ptr %199, i64 0, i64 3
  store i8 1, ptr %200, align 1, !tbaa !13
  %201 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %202 = getelementptr inbounds [4 x [4 x i8]], ptr %201, i64 0, i64 1
  %203 = getelementptr inbounds [4 x i8], ptr %202, i64 0, i64 3
  store i8 1, ptr %203, align 1, !tbaa !13
  %204 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %205 = getelementptr inbounds [4 x [4 x i8]], ptr %204, i64 0, i64 2
  %206 = getelementptr inbounds [4 x i8], ptr %205, i64 0, i64 3
  store i8 1, ptr %206, align 1, !tbaa !13
  %207 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %208 = getelementptr inbounds [4 x [4 x i8]], ptr %207, i64 0, i64 3
  %209 = getelementptr inbounds [4 x i8], ptr %208, i64 0, i64 3
  store i8 1, ptr %209, align 1, !tbaa !13
  br label %362

210:                                              ; preds = %11
  %211 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %212 = getelementptr inbounds [4 x [4 x i8]], ptr %211, i64 0, i64 0
  %213 = getelementptr inbounds [4 x i8], ptr %212, i64 0, i64 0
  store i8 0, ptr %213, align 4, !tbaa !13
  %214 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %215 = getelementptr inbounds [4 x [4 x i8]], ptr %214, i64 0, i64 1
  %216 = getelementptr inbounds [4 x i8], ptr %215, i64 0, i64 0
  store i8 0, ptr %216, align 4, !tbaa !13
  %217 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %218 = getelementptr inbounds [4 x [4 x i8]], ptr %217, i64 0, i64 2
  %219 = getelementptr inbounds [4 x i8], ptr %218, i64 0, i64 0
  store i8 0, ptr %219, align 4, !tbaa !13
  %220 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %221 = getelementptr inbounds [4 x [4 x i8]], ptr %220, i64 0, i64 3
  %222 = getelementptr inbounds [4 x i8], ptr %221, i64 0, i64 0
  store i8 0, ptr %222, align 4, !tbaa !13
  %223 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %224 = getelementptr inbounds [4 x [4 x i8]], ptr %223, i64 0, i64 0
  %225 = getelementptr inbounds [4 x i8], ptr %224, i64 0, i64 1
  store i8 0, ptr %225, align 1, !tbaa !13
  %226 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %227 = getelementptr inbounds [4 x [4 x i8]], ptr %226, i64 0, i64 1
  %228 = getelementptr inbounds [4 x i8], ptr %227, i64 0, i64 1
  store i8 0, ptr %228, align 1, !tbaa !13
  %229 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %230 = getelementptr inbounds [4 x [4 x i8]], ptr %229, i64 0, i64 2
  %231 = getelementptr inbounds [4 x i8], ptr %230, i64 0, i64 1
  store i8 0, ptr %231, align 1, !tbaa !13
  %232 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %233 = getelementptr inbounds [4 x [4 x i8]], ptr %232, i64 0, i64 3
  %234 = getelementptr inbounds [4 x i8], ptr %233, i64 0, i64 1
  store i8 0, ptr %234, align 1, !tbaa !13
  %235 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %236 = getelementptr inbounds [4 x [4 x i8]], ptr %235, i64 0, i64 0
  %237 = getelementptr inbounds [4 x i8], ptr %236, i64 0, i64 2
  store i8 0, ptr %237, align 2, !tbaa !13
  %238 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %239 = getelementptr inbounds [4 x [4 x i8]], ptr %238, i64 0, i64 1
  %240 = getelementptr inbounds [4 x i8], ptr %239, i64 0, i64 2
  store i8 1, ptr %240, align 2, !tbaa !13
  %241 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %242 = getelementptr inbounds [4 x [4 x i8]], ptr %241, i64 0, i64 2
  %243 = getelementptr inbounds [4 x i8], ptr %242, i64 0, i64 2
  store i8 1, ptr %243, align 2, !tbaa !13
  %244 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %245 = getelementptr inbounds [4 x [4 x i8]], ptr %244, i64 0, i64 3
  %246 = getelementptr inbounds [4 x i8], ptr %245, i64 0, i64 2
  store i8 0, ptr %246, align 2, !tbaa !13
  %247 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %248 = getelementptr inbounds [4 x [4 x i8]], ptr %247, i64 0, i64 0
  %249 = getelementptr inbounds [4 x i8], ptr %248, i64 0, i64 3
  store i8 1, ptr %249, align 1, !tbaa !13
  %250 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %251 = getelementptr inbounds [4 x [4 x i8]], ptr %250, i64 0, i64 1
  %252 = getelementptr inbounds [4 x i8], ptr %251, i64 0, i64 3
  store i8 1, ptr %252, align 1, !tbaa !13
  %253 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %254 = getelementptr inbounds [4 x [4 x i8]], ptr %253, i64 0, i64 2
  %255 = getelementptr inbounds [4 x i8], ptr %254, i64 0, i64 3
  store i8 0, ptr %255, align 1, !tbaa !13
  %256 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %257 = getelementptr inbounds [4 x [4 x i8]], ptr %256, i64 0, i64 3
  %258 = getelementptr inbounds [4 x i8], ptr %257, i64 0, i64 3
  store i8 0, ptr %258, align 1, !tbaa !13
  br label %362

259:                                              ; preds = %11
  %260 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %261 = getelementptr inbounds [4 x [4 x i8]], ptr %260, i64 0, i64 0
  %262 = getelementptr inbounds [4 x i8], ptr %261, i64 0, i64 0
  store i8 0, ptr %262, align 4, !tbaa !13
  %263 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %264 = getelementptr inbounds [4 x [4 x i8]], ptr %263, i64 0, i64 1
  %265 = getelementptr inbounds [4 x i8], ptr %264, i64 0, i64 0
  store i8 0, ptr %265, align 4, !tbaa !13
  %266 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %267 = getelementptr inbounds [4 x [4 x i8]], ptr %266, i64 0, i64 2
  %268 = getelementptr inbounds [4 x i8], ptr %267, i64 0, i64 0
  store i8 0, ptr %268, align 4, !tbaa !13
  %269 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %270 = getelementptr inbounds [4 x [4 x i8]], ptr %269, i64 0, i64 3
  %271 = getelementptr inbounds [4 x i8], ptr %270, i64 0, i64 0
  store i8 0, ptr %271, align 4, !tbaa !13
  %272 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %273 = getelementptr inbounds [4 x [4 x i8]], ptr %272, i64 0, i64 0
  %274 = getelementptr inbounds [4 x i8], ptr %273, i64 0, i64 1
  store i8 0, ptr %274, align 1, !tbaa !13
  %275 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %276 = getelementptr inbounds [4 x [4 x i8]], ptr %275, i64 0, i64 1
  %277 = getelementptr inbounds [4 x i8], ptr %276, i64 0, i64 1
  store i8 0, ptr %277, align 1, !tbaa !13
  %278 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %279 = getelementptr inbounds [4 x [4 x i8]], ptr %278, i64 0, i64 2
  %280 = getelementptr inbounds [4 x i8], ptr %279, i64 0, i64 1
  store i8 0, ptr %280, align 1, !tbaa !13
  %281 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %282 = getelementptr inbounds [4 x [4 x i8]], ptr %281, i64 0, i64 3
  %283 = getelementptr inbounds [4 x i8], ptr %282, i64 0, i64 1
  store i8 0, ptr %283, align 1, !tbaa !13
  %284 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %285 = getelementptr inbounds [4 x [4 x i8]], ptr %284, i64 0, i64 0
  %286 = getelementptr inbounds [4 x i8], ptr %285, i64 0, i64 2
  store i8 1, ptr %286, align 2, !tbaa !13
  %287 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %288 = getelementptr inbounds [4 x [4 x i8]], ptr %287, i64 0, i64 1
  %289 = getelementptr inbounds [4 x i8], ptr %288, i64 0, i64 2
  store i8 1, ptr %289, align 2, !tbaa !13
  %290 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %291 = getelementptr inbounds [4 x [4 x i8]], ptr %290, i64 0, i64 2
  %292 = getelementptr inbounds [4 x i8], ptr %291, i64 0, i64 2
  store i8 0, ptr %292, align 2, !tbaa !13
  %293 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %294 = getelementptr inbounds [4 x [4 x i8]], ptr %293, i64 0, i64 3
  %295 = getelementptr inbounds [4 x i8], ptr %294, i64 0, i64 2
  store i8 0, ptr %295, align 2, !tbaa !13
  %296 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %297 = getelementptr inbounds [4 x [4 x i8]], ptr %296, i64 0, i64 0
  %298 = getelementptr inbounds [4 x i8], ptr %297, i64 0, i64 3
  store i8 0, ptr %298, align 1, !tbaa !13
  %299 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %300 = getelementptr inbounds [4 x [4 x i8]], ptr %299, i64 0, i64 1
  %301 = getelementptr inbounds [4 x i8], ptr %300, i64 0, i64 3
  store i8 1, ptr %301, align 1, !tbaa !13
  %302 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %303 = getelementptr inbounds [4 x [4 x i8]], ptr %302, i64 0, i64 2
  %304 = getelementptr inbounds [4 x i8], ptr %303, i64 0, i64 3
  store i8 1, ptr %304, align 1, !tbaa !13
  %305 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %306 = getelementptr inbounds [4 x [4 x i8]], ptr %305, i64 0, i64 3
  %307 = getelementptr inbounds [4 x i8], ptr %306, i64 0, i64 3
  store i8 0, ptr %307, align 1, !tbaa !13
  br label %362

308:                                              ; preds = %11
  %309 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %310 = getelementptr inbounds [4 x [4 x i8]], ptr %309, i64 0, i64 0
  %311 = getelementptr inbounds [4 x i8], ptr %310, i64 0, i64 0
  store i8 0, ptr %311, align 4, !tbaa !13
  %312 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %313 = getelementptr inbounds [4 x [4 x i8]], ptr %312, i64 0, i64 1
  %314 = getelementptr inbounds [4 x i8], ptr %313, i64 0, i64 0
  store i8 0, ptr %314, align 4, !tbaa !13
  %315 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %316 = getelementptr inbounds [4 x [4 x i8]], ptr %315, i64 0, i64 2
  %317 = getelementptr inbounds [4 x i8], ptr %316, i64 0, i64 0
  store i8 0, ptr %317, align 4, !tbaa !13
  %318 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %319 = getelementptr inbounds [4 x [4 x i8]], ptr %318, i64 0, i64 3
  %320 = getelementptr inbounds [4 x i8], ptr %319, i64 0, i64 0
  store i8 0, ptr %320, align 4, !tbaa !13
  %321 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %322 = getelementptr inbounds [4 x [4 x i8]], ptr %321, i64 0, i64 0
  %323 = getelementptr inbounds [4 x i8], ptr %322, i64 0, i64 1
  store i8 0, ptr %323, align 1, !tbaa !13
  %324 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %325 = getelementptr inbounds [4 x [4 x i8]], ptr %324, i64 0, i64 1
  %326 = getelementptr inbounds [4 x i8], ptr %325, i64 0, i64 1
  store i8 0, ptr %326, align 1, !tbaa !13
  %327 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %328 = getelementptr inbounds [4 x [4 x i8]], ptr %327, i64 0, i64 2
  %329 = getelementptr inbounds [4 x i8], ptr %328, i64 0, i64 1
  store i8 0, ptr %329, align 1, !tbaa !13
  %330 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %331 = getelementptr inbounds [4 x [4 x i8]], ptr %330, i64 0, i64 3
  %332 = getelementptr inbounds [4 x i8], ptr %331, i64 0, i64 1
  store i8 0, ptr %332, align 1, !tbaa !13
  %333 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %334 = getelementptr inbounds [4 x [4 x i8]], ptr %333, i64 0, i64 0
  %335 = getelementptr inbounds [4 x i8], ptr %334, i64 0, i64 2
  store i8 0, ptr %335, align 2, !tbaa !13
  %336 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %337 = getelementptr inbounds [4 x [4 x i8]], ptr %336, i64 0, i64 1
  %338 = getelementptr inbounds [4 x i8], ptr %337, i64 0, i64 2
  store i8 1, ptr %338, align 2, !tbaa !13
  %339 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %340 = getelementptr inbounds [4 x [4 x i8]], ptr %339, i64 0, i64 2
  %341 = getelementptr inbounds [4 x i8], ptr %340, i64 0, i64 2
  store i8 0, ptr %341, align 2, !tbaa !13
  %342 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %343 = getelementptr inbounds [4 x [4 x i8]], ptr %342, i64 0, i64 3
  %344 = getelementptr inbounds [4 x i8], ptr %343, i64 0, i64 2
  store i8 0, ptr %344, align 2, !tbaa !13
  %345 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %346 = getelementptr inbounds [4 x [4 x i8]], ptr %345, i64 0, i64 0
  %347 = getelementptr inbounds [4 x i8], ptr %346, i64 0, i64 3
  store i8 1, ptr %347, align 1, !tbaa !13
  %348 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %349 = getelementptr inbounds [4 x [4 x i8]], ptr %348, i64 0, i64 1
  %350 = getelementptr inbounds [4 x i8], ptr %349, i64 0, i64 3
  store i8 1, ptr %350, align 1, !tbaa !13
  %351 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %352 = getelementptr inbounds [4 x [4 x i8]], ptr %351, i64 0, i64 2
  %353 = getelementptr inbounds [4 x i8], ptr %352, i64 0, i64 3
  store i8 1, ptr %353, align 1, !tbaa !13
  %354 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 0
  %355 = getelementptr inbounds [4 x [4 x i8]], ptr %354, i64 0, i64 3
  %356 = getelementptr inbounds [4 x i8], ptr %355, i64 0, i64 3
  store i8 0, ptr %356, align 1, !tbaa !13
  br label %362

357:                                              ; preds = %11
  %358 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2)
  %359 = getelementptr inbounds %class.Piece, ptr %5, i32 0, i32 1
  %360 = load i32, ptr %359, align 4, !tbaa !11
  %361 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %358, i32 noundef %360)
  call void @exit(i32 noundef 1) #4
  unreachable

362:                                              ; preds = %308, %259, %210, %161, %112, %63, %14
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn 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 16}
!12 = !{!"_ZTS5Piece", !7, i64 0, !10, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, 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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN5Piece8setPieceEi = external hidden unnamed_addr constant [26 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Piece8setPieceEi(ptr nocapture noundef nonnull align 4 dereferenceable(20) %0, i32 noundef %1) local_unnamed_addr #0 align 2 {
  %.not = icmp eq i32 %1, 0
  br i1 %.not, label %3, label %4

3:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 24, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5Piece8setPieceEi) #4
  unreachable

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %switch.tableidx = add i32 %6, -1
  %7 = icmp ult i32 %switch.tableidx, 7
  br i1 %7, label %switch.lookup, label %8

8:                                                ; preds = %4
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.2)
  %10 = load i32, ptr %5, align 4, !tbaa !5
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %10)
  tail call void @exit(i32 noundef 1) #4
  unreachable

switch.lookup:                                    ; preds = %4
  %12 = shl nuw nsw i32 %switch.tableidx, 3
  %switch.shiftamt = zext nneg i32 %12 to i56
  %switch.downshift = lshr i56 1099511628033, %switch.shiftamt
  %switch.masked = trunc i56 %switch.downshift to i8
  %13 = shl nuw nsw i32 %switch.tableidx, 3
  %switch.shiftamt22 = zext nneg i32 %13 to i56
  %switch.downshift23 = lshr i56 282578783305729, %switch.shiftamt22
  %switch.masked24 = trunc i56 %switch.downshift23 to i8
  %14 = shl nuw nsw i32 %switch.tableidx, 3
  %switch.shiftamt26 = zext nneg i32 %14 to i56
  %switch.downshift27 = lshr i56 4295032832, %switch.shiftamt26
  %switch.masked28 = trunc i56 %switch.downshift27 to i8
  %15 = shl nuw nsw i32 %switch.tableidx, 3
  %switch.shiftamt30 = zext nneg i32 %15 to i56
  %switch.downshift31 = lshr i56 281479288520961, %switch.shiftamt30
  %switch.masked32 = trunc i56 %switch.downshift31 to i8
  %16 = shl nuw nsw i32 %switch.tableidx, 3
  %switch.shiftamt34 = zext nneg i32 %16 to i56
  %switch.downshift35 = lshr i56 282574505181440, %switch.shiftamt34
  %switch.masked36 = trunc i56 %switch.downshift35 to i8
  %17 = shl nuw nsw i32 %switch.tableidx, 3
  %switch.shiftamt38 = zext nneg i32 %17 to i56
  %switch.downshift39 = lshr i56 16777216, %switch.shiftamt38
  %switch.masked40 = trunc i56 %switch.downshift39 to i8
  store i8 0, ptr %0, align 4, !tbaa !10
  %18 = getelementptr inbounds i8, ptr %0, i64 4
  store i8 0, ptr %18, align 4, !tbaa !10
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 0, ptr %19, align 4, !tbaa !10
  %20 = getelementptr inbounds i8, ptr %0, i64 12
  store i8 0, ptr %20, align 4, !tbaa !10
  %21 = getelementptr inbounds i8, ptr %0, i64 1
  store i8 0, ptr %21, align 1, !tbaa !10
  %22 = getelementptr inbounds i8, ptr %0, i64 5
  store i8 0, ptr %22, align 1, !tbaa !10
  %23 = getelementptr inbounds i8, ptr %0, i64 9
  store i8 0, ptr %23, align 1, !tbaa !10
  %24 = getelementptr inbounds i8, ptr %0, i64 13
  store i8 0, ptr %24, align 1, !tbaa !10
  %25 = getelementptr inbounds i8, ptr %0, i64 2
  store i8 %switch.masked, ptr %25, align 2, !tbaa !10
  %26 = getelementptr inbounds i8, ptr %0, i64 6
  store i8 %switch.masked24, ptr %26, align 2, !tbaa !10
  %27 = getelementptr inbounds i8, ptr %0, i64 10
  store i8 %switch.masked28, ptr %27, align 2, !tbaa !10
  %28 = getelementptr inbounds i8, ptr %0, i64 14
  store i8 0, ptr %28, align 2, !tbaa !10
  %29 = getelementptr inbounds i8, ptr %0, i64 3
  store i8 %switch.masked32, ptr %29, align 1, !tbaa !10
  %30 = getelementptr inbounds i8, ptr %0, i64 7
  store i8 1, ptr %30, align 1, !tbaa !10
  %31 = getelementptr inbounds i8, ptr %0, i64 11
  store i8 %switch.masked36, ptr %31, align 1, !tbaa !10
  %32 = getelementptr inbounds i8, ptr %0, i64 15
  store i8 %switch.masked40, ptr %32, align 1, !tbaa !10
  ret void
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn 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, !9, i64 16}
!6 = !{!"_ZTS5Piece", !7, i64 0, !9, i64 16}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !7, i64 0}


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