; LLVM IR from clausecker/24puzzle :: compact (unpack_puzzle)

; 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.compact_puzzle = type { i64, i64 }
%struct.puzzle = type { [25 x i8], [7 x i8], [25 x i8], [7 x i8] }

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

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

; Function Attrs: nounwind uwtable
define dso_local void @unpack_puzzle(ptr noalias noundef %0, ptr noalias noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca <2 x i64>, align 16
  %8 = alloca <2 x i64>, align 16
  %9 = alloca <2 x i64>, align 16
  %10 = alloca <2 x i64>, align 16
  %11 = alloca <2 x i64>, align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 64, i1 false)
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.compact_puzzle, ptr %13, i32 0, i32 0
  %15 = load i64, ptr %14, align 8, !tbaa !9
  %16 = lshr i64 %15, 4
  store i64 %16, ptr %6, align 8, !tbaa !12
  store i64 1, ptr %5, align 8, !tbaa !13
  br label %17

17:                                               ; preds = %37, %2
  %18 = load i64, ptr %5, align 8, !tbaa !13
  %19 = icmp ule i64 %18, 12
  br i1 %19, label %20, label %40

20:                                               ; preds = %17
  %21 = load i64, ptr %6, align 8, !tbaa !12
  %22 = and i64 %21, 31
  %23 = trunc i64 %22 to i8
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.puzzle, ptr %24, i32 0, i32 0
  %26 = load i64, ptr %5, align 8, !tbaa !13
  %27 = getelementptr inbounds [25 x i8], ptr %25, i64 0, i64 %26
  store i8 %23, ptr %27, align 1, !tbaa !15
  %28 = load i64, ptr %5, align 8, !tbaa !13
  %29 = trunc i64 %28 to i8
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.puzzle, ptr %30, i32 0, i32 2
  %32 = load i64, ptr %6, align 8, !tbaa !12
  %33 = and i64 %32, 31
  %34 = getelementptr inbounds [25 x i8], ptr %31, i64 0, i64 %33
  store i8 %29, ptr %34, align 1, !tbaa !15
  %35 = load i64, ptr %6, align 8, !tbaa !12
  %36 = lshr i64 %35, 5
  store i64 %36, ptr %6, align 8, !tbaa !12
  br label %37

37:                                               ; preds = %20
  %38 = load i64, ptr %5, align 8, !tbaa !13
  %39 = add i64 %38, 1
  store i64 %39, ptr %5, align 8, !tbaa !13
  br label %17, !llvm.loop !16

40:                                               ; preds = %17
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.compact_puzzle, ptr %41, i32 0, i32 1
  %43 = load i64, ptr %42, align 8, !tbaa !18
  store i64 %43, ptr %6, align 8, !tbaa !12
  br label %44

44:                                               ; preds = %64, %40
  %45 = load i64, ptr %5, align 8, !tbaa !13
  %46 = icmp ult i64 %45, 25
  br i1 %46, label %47, label %67

47:                                               ; preds = %44
  %48 = load i64, ptr %6, align 8, !tbaa !12
  %49 = and i64 %48, 31
  %50 = trunc i64 %49 to i8
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.puzzle, ptr %51, i32 0, i32 0
  %53 = load i64, ptr %5, align 8, !tbaa !13
  %54 = getelementptr inbounds [25 x i8], ptr %52, i64 0, i64 %53
  store i8 %50, ptr %54, align 1, !tbaa !15
  %55 = load i64, ptr %5, align 8, !tbaa !13
  %56 = trunc i64 %55 to i8
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.puzzle, ptr %57, i32 0, i32 2
  %59 = load i64, ptr %6, align 8, !tbaa !12
  %60 = and i64 %59, 31
  %61 = getelementptr inbounds [25 x i8], ptr %58, i64 0, i64 %60
  store i8 %56, ptr %61, align 1, !tbaa !15
  %62 = load i64, ptr %6, align 8, !tbaa !12
  %63 = lshr i64 %62, 5
  store i64 %63, ptr %6, align 8, !tbaa !12
  br label %64

64:                                               ; preds = %47
  %65 = load i64, ptr %5, align 8, !tbaa !13
  %66 = add i64 %65, 1
  store i64 %66, ptr %5, align 8, !tbaa !13
  br label %44, !llvm.loop !19

67:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.puzzle, ptr %68, i32 0, i32 2
  %70 = getelementptr inbounds <2 x i64>, ptr %69, i64 0
  %71 = call <2 x i64> @_mm_loadu_si128(ptr noundef %70)
  store <2 x i64> %71, ptr %7, align 16, !tbaa !15
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.puzzle, ptr %72, i32 0, i32 2
  %74 = getelementptr inbounds <2 x i64>, ptr %73, i64 1
  %75 = call <2 x i64> @_mm_loadu_si128(ptr noundef %74)
  store <2 x i64> %75, ptr %8, align 16, !tbaa !15
  %76 = call <2 x i64> @_mm_setzero_si128()
  store <2 x i64> %76, ptr %11, align 16, !tbaa !15
  %77 = load <2 x i64>, ptr %7, align 16, !tbaa !15
  %78 = load <2 x i64>, ptr %11, align 16, !tbaa !15
  %79 = call <2 x i64> @_mm_cmpeq_epi8(<2 x i64> noundef %77, <2 x i64> noundef %78)
  store <2 x i64> %79, ptr %9, align 16, !tbaa !15
  %80 = load <2 x i64>, ptr %8, align 16, !tbaa !15
  %81 = load <2 x i64>, ptr %11, align 16, !tbaa !15
  %82 = call <2 x i64> @_mm_cmpeq_epi8(<2 x i64> noundef %80, <2 x i64> noundef %81)
  store <2 x i64> %82, ptr %10, align 16, !tbaa !15
  %83 = load <2 x i64>, ptr %10, align 16, !tbaa !15
  %84 = call i32 @_mm_movemask_epi8(<2 x i64> noundef %83)
  %85 = shl i32 %84, 16
  %86 = load <2 x i64>, ptr %9, align 16, !tbaa !15
  %87 = call i32 @_mm_movemask_epi8(<2 x i64> noundef %86)
  %88 = or i32 %85, %87
  %89 = call i32 @ctz(i32 noundef %88)
  %90 = trunc i32 %89 to i8
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.puzzle, ptr %91, i32 0, i32 0
  %93 = getelementptr inbounds [25 x i8], ptr %92, i64 0, i64 0
  store i8 %90, ptr %93, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <2 x i64> @_mm_loadu_si128(ptr noundef) #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <2 x i64> @_mm_setzero_si128() #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <2 x i64> @_mm_cmpeq_epi8(<2 x i64> noundef, <2 x i64> noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @ctz(i32 noundef) #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @_mm_movemask_epi8(<2 x i64> noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="128" "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { alwaysinline nounwind uwtable "min-legal-vector-width"="128" "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 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"compact_puzzle", !11, i64 0, !11, i64 8}
!11 = !{!"long long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!10, !11, i64 8}
!19 = distinct !{!19, !17}


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

; Function Attrs: nounwind uwtable
define dso_local void @unpack_puzzle(ptr noalias noundef %0, ptr noalias nocapture noundef readonly %1) local_unnamed_addr #0 {
._crit_edge:
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %0, i8 0, i64 64, i1 false)
  %2 = load i64, ptr %1, align 8, !tbaa !5
  %3 = lshr i64 %2, 4
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  %5 = and i64 %3, 31
  %6 = trunc nuw nsw i64 %5 to i8
  %7 = getelementptr inbounds i8, ptr %0, i64 1
  store i8 %6, ptr %7, align 1, !tbaa !10
  %8 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %5
  store i8 1, ptr %8, align 1, !tbaa !10
  %9 = lshr i64 %2, 9
  %10 = and i64 %9, 31
  %11 = trunc nuw nsw i64 %10 to i8
  %12 = getelementptr inbounds i8, ptr %0, i64 2
  store i8 %11, ptr %12, align 1, !tbaa !10
  %13 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %10
  store i8 2, ptr %13, align 1, !tbaa !10
  %14 = lshr i64 %2, 14
  %15 = and i64 %14, 31
  %16 = trunc nuw nsw i64 %15 to i8
  %17 = getelementptr inbounds i8, ptr %0, i64 3
  store i8 %16, ptr %17, align 1, !tbaa !10
  %18 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %15
  store i8 3, ptr %18, align 1, !tbaa !10
  %19 = lshr i64 %2, 19
  %20 = and i64 %19, 31
  %21 = trunc nuw nsw i64 %20 to i8
  %22 = getelementptr inbounds i8, ptr %0, i64 4
  store i8 %21, ptr %22, align 1, !tbaa !10
  %23 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %20
  store i8 4, ptr %23, align 1, !tbaa !10
  %24 = lshr i64 %2, 24
  %25 = and i64 %24, 31
  %26 = trunc nuw nsw i64 %25 to i8
  %27 = getelementptr inbounds i8, ptr %0, i64 5
  store i8 %26, ptr %27, align 1, !tbaa !10
  %28 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %25
  store i8 5, ptr %28, align 1, !tbaa !10
  %29 = lshr i64 %2, 29
  %30 = and i64 %29, 31
  %31 = trunc nuw nsw i64 %30 to i8
  %32 = getelementptr inbounds i8, ptr %0, i64 6
  store i8 %31, ptr %32, align 1, !tbaa !10
  %33 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %30
  store i8 6, ptr %33, align 1, !tbaa !10
  %34 = lshr i64 %2, 34
  %35 = and i64 %34, 31
  %36 = trunc nuw nsw i64 %35 to i8
  %37 = getelementptr inbounds i8, ptr %0, i64 7
  store i8 %36, ptr %37, align 1, !tbaa !10
  %38 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %35
  store i8 7, ptr %38, align 1, !tbaa !10
  %39 = lshr i64 %2, 39
  %40 = and i64 %39, 31
  %41 = trunc nuw nsw i64 %40 to i8
  %42 = getelementptr inbounds i8, ptr %0, i64 8
  store i8 %41, ptr %42, align 1, !tbaa !10
  %43 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %40
  store i8 8, ptr %43, align 1, !tbaa !10
  %44 = lshr i64 %2, 44
  %45 = and i64 %44, 31
  %46 = trunc nuw nsw i64 %45 to i8
  %47 = getelementptr inbounds i8, ptr %0, i64 9
  store i8 %46, ptr %47, align 1, !tbaa !10
  %48 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %45
  store i8 9, ptr %48, align 1, !tbaa !10
  %49 = lshr i64 %2, 49
  %50 = and i64 %49, 31
  %51 = trunc nuw nsw i64 %50 to i8
  %52 = getelementptr inbounds i8, ptr %0, i64 10
  store i8 %51, ptr %52, align 1, !tbaa !10
  %53 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %50
  store i8 10, ptr %53, align 1, !tbaa !10
  %54 = lshr i64 %2, 54
  %55 = and i64 %54, 31
  %56 = trunc nuw nsw i64 %55 to i8
  %57 = getelementptr inbounds i8, ptr %0, i64 11
  store i8 %56, ptr %57, align 1, !tbaa !10
  %58 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %55
  store i8 11, ptr %58, align 1, !tbaa !10
  %59 = lshr i64 %2, 59
  %60 = trunc nuw nsw i64 %59 to i8
  %61 = getelementptr inbounds i8, ptr %0, i64 12
  store i8 %60, ptr %61, align 1, !tbaa !10
  %62 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %59
  store i8 12, ptr %62, align 1, !tbaa !10
  %63 = getelementptr inbounds i8, ptr %1, i64 8
  %64 = load i64, ptr %63, align 8, !tbaa !11
  %65 = and i64 %64, 31
  %66 = trunc nuw nsw i64 %65 to i8
  %67 = getelementptr inbounds i8, ptr %0, i64 13
  store i8 %66, ptr %67, align 1, !tbaa !10
  %68 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %65
  store i8 13, ptr %68, align 1, !tbaa !10
  %69 = lshr i64 %64, 5
  %70 = and i64 %69, 31
  %71 = trunc nuw nsw i64 %70 to i8
  %72 = getelementptr inbounds i8, ptr %0, i64 14
  store i8 %71, ptr %72, align 1, !tbaa !10
  %73 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %70
  store i8 14, ptr %73, align 1, !tbaa !10
  %74 = lshr i64 %64, 10
  %75 = and i64 %74, 31
  %76 = trunc nuw nsw i64 %75 to i8
  %77 = getelementptr inbounds i8, ptr %0, i64 15
  store i8 %76, ptr %77, align 1, !tbaa !10
  %78 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %75
  store i8 15, ptr %78, align 1, !tbaa !10
  %79 = lshr i64 %64, 15
  %80 = and i64 %79, 31
  %81 = trunc nuw nsw i64 %80 to i8
  %82 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 %81, ptr %82, align 1, !tbaa !10
  %83 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %80
  store i8 16, ptr %83, align 1, !tbaa !10
  %84 = lshr i64 %64, 20
  %85 = and i64 %84, 31
  %86 = trunc nuw nsw i64 %85 to i8
  %87 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 %86, ptr %87, align 1, !tbaa !10
  %88 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %85
  store i8 17, ptr %88, align 1, !tbaa !10
  %89 = lshr i64 %64, 25
  %90 = and i64 %89, 31
  %91 = trunc nuw nsw i64 %90 to i8
  %92 = getelementptr inbounds i8, ptr %0, i64 18
  store i8 %91, ptr %92, align 1, !tbaa !10
  %93 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %90
  store i8 18, ptr %93, align 1, !tbaa !10
  %94 = lshr i64 %64, 30
  %95 = and i64 %94, 31
  %96 = trunc nuw nsw i64 %95 to i8
  %97 = getelementptr inbounds i8, ptr %0, i64 19
  store i8 %96, ptr %97, align 1, !tbaa !10
  %98 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %95
  store i8 19, ptr %98, align 1, !tbaa !10
  %99 = lshr i64 %64, 35
  %100 = and i64 %99, 31
  %101 = trunc nuw nsw i64 %100 to i8
  %102 = getelementptr inbounds i8, ptr %0, i64 20
  store i8 %101, ptr %102, align 1, !tbaa !10
  %103 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %100
  store i8 20, ptr %103, align 1, !tbaa !10
  %104 = lshr i64 %64, 40
  %105 = and i64 %104, 31
  %106 = trunc nuw nsw i64 %105 to i8
  %107 = getelementptr inbounds i8, ptr %0, i64 21
  store i8 %106, ptr %107, align 1, !tbaa !10
  %108 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %105
  store i8 21, ptr %108, align 1, !tbaa !10
  %109 = lshr i64 %64, 45
  %110 = and i64 %109, 31
  %111 = trunc nuw nsw i64 %110 to i8
  %112 = getelementptr inbounds i8, ptr %0, i64 22
  store i8 %111, ptr %112, align 1, !tbaa !10
  %113 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %110
  store i8 22, ptr %113, align 1, !tbaa !10
  %114 = lshr i64 %64, 50
  %115 = and i64 %114, 31
  %116 = trunc nuw nsw i64 %115 to i8
  %117 = getelementptr inbounds i8, ptr %0, i64 23
  store i8 %116, ptr %117, align 1, !tbaa !10
  %118 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %115
  store i8 23, ptr %118, align 1, !tbaa !10
  %119 = lshr i64 %64, 55
  %120 = and i64 %119, 31
  %121 = trunc nuw nsw i64 %120 to i8
  %122 = getelementptr inbounds i8, ptr %0, i64 24
  store i8 %121, ptr %122, align 1, !tbaa !10
  %123 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 %120
  store i8 24, ptr %123, align 1, !tbaa !10
  %124 = tail call <2 x i64> @_mm_loadu_si128(ptr noundef nonnull %4)
  %125 = getelementptr inbounds i8, ptr %0, i64 48
  %126 = tail call <2 x i64> @_mm_loadu_si128(ptr noundef nonnull %125)
  %127 = tail call <2 x i64> @_mm_setzero_si128()
  %128 = tail call <2 x i64> @_mm_cmpeq_epi8(<2 x i64> noundef %124, <2 x i64> noundef %127)
  %129 = tail call <2 x i64> @_mm_cmpeq_epi8(<2 x i64> noundef %126, <2 x i64> noundef %127)
  %130 = tail call i32 @_mm_movemask_epi8(<2 x i64> noundef %129)
  %131 = shl i32 %130, 16
  %132 = tail call i32 @_mm_movemask_epi8(<2 x i64> noundef %128)
  %133 = or i32 %131, %132
  %134 = tail call i32 @ctz(i32 noundef %133)
  %135 = trunc i32 %134 to i8
  store i8 %135, ptr %0, align 8, !tbaa !10
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <2 x i64> @_mm_loadu_si128(ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <2 x i64> @_mm_setzero_si128() local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <2 x i64> @_mm_cmpeq_epi8(<2 x i64> noundef, <2 x i64> noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @ctz(i32 noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @_mm_movemask_epi8(<2 x i64> noundef) local_unnamed_addr #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="128" "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { alwaysinline nounwind uwtable "min-legal-vector-width"="128" "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 = { inlinehint 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, !7, i64 0}
!6 = !{!"compact_puzzle", !7, i64 0, !7, i64 8}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!6, !7, i64 8}


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