; LLVM IR from ljm941004/HYPERCV_PUBLIC :: modules/process/src/c_src (colortransform)

; 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.SIMPLE_MAT = type { i32, i32, i32, i32, i32, ptr }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @sm_bgr2rgb(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %20

16:                                               ; preds = %2
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %16
  br label %24

20:                                               ; preds = %16, %2
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @exit(i32 noundef 1) #4
  unreachable

24:                                               ; preds = %19
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %25, i32 0, i32 2
  %27 = load i32, ptr %26, align 8, !tbaa !9
  %28 = icmp eq i32 %27, 1
  br i1 %28, label %29, label %30

29:                                               ; preds = %24
  br label %34

30:                                               ; preds = %24
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @exit(i32 noundef 1) #4
  unreachable

34:                                               ; preds = %29
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !12
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 8, !tbaa !12
  %41 = icmp eq i32 %37, %40
  br i1 %41, label %42, label %59

42:                                               ; preds = %34
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %43, i32 0, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !13
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %46, i32 0, i32 1
  %48 = load i32, ptr %47, align 4, !tbaa !13
  %49 = icmp eq i32 %45, %48
  br i1 %49, label %50, label %59

50:                                               ; preds = %42
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %51, i32 0, i32 3
  %53 = load i32, ptr %52, align 4, !tbaa !14
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %54, i32 0, i32 3
  %56 = load i32, ptr %55, align 4, !tbaa !14
  %57 = icmp eq i32 %53, %56
  br i1 %57, label %58, label %59

58:                                               ; preds = %50
  br label %63

59:                                               ; preds = %50, %42, %34
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @exit(i32 noundef 1) #4
  unreachable

63:                                               ; preds = %58
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %64, i32 0, i32 3
  %66 = load i32, ptr %65, align 4, !tbaa !14
  %67 = icmp eq i32 %66, 3
  br i1 %67, label %68, label %69

68:                                               ; preds = %63
  br label %73

69:                                               ; preds = %63
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @exit(i32 noundef 1) #4
  unreachable

73:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %74, i32 0, i32 0
  %76 = load i32, ptr %75, align 8, !tbaa !12
  store i32 %76, ptr %5, align 4, !tbaa !15
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %77, i32 0, i32 1
  %79 = load i32, ptr %78, align 4, !tbaa !13
  store i32 %79, ptr %6, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %80, i32 0, i32 3
  %82 = load i32, ptr %81, align 4, !tbaa !14
  store i32 %82, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %83, i32 0, i32 5
  %85 = load ptr, ptr %84, align 8, !tbaa !16
  store ptr %85, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.SIMPLE_MAT, ptr %86, i32 0, i32 5
  %88 = load ptr, ptr %87, align 8, !tbaa !16
  store ptr %88, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !15
  br label %89

89:                                               ; preds = %194, %73
  %90 = load i32, ptr %10, align 4, !tbaa !15
  %91 = load i32, ptr %5, align 4, !tbaa !15
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %197

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !15
  br label %95

95:                                               ; preds = %190, %94
  %96 = load i32, ptr %12, align 4, !tbaa !15
  %97 = load i32, ptr %6, align 4, !tbaa !15
  %98 = icmp slt i32 %96, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %95
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %193

100:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !15
  br label %101

101:                                              ; preds = %186, %100
  %102 = load i32, ptr %13, align 4, !tbaa !15
  %103 = load i32, ptr %7, align 4, !tbaa !15
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %189

106:                                              ; preds = %101
  %107 = load ptr, ptr %8, align 8, !tbaa !5
  %108 = load i32, ptr %10, align 4, !tbaa !15
  %109 = load i32, ptr %6, align 4, !tbaa !15
  %110 = mul nsw i32 %108, %109
  %111 = load i32, ptr %7, align 4, !tbaa !15
  %112 = mul nsw i32 %110, %111
  %113 = load i32, ptr %12, align 4, !tbaa !15
  %114 = load i32, ptr %7, align 4, !tbaa !15
  %115 = mul nsw i32 %113, %114
  %116 = add nsw i32 %112, %115
  %117 = add nsw i32 %116, 2
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds i8, ptr %107, i64 %118
  %120 = load i8, ptr %119, align 1, !tbaa !17
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = load i32, ptr %10, align 4, !tbaa !15
  %123 = load i32, ptr %6, align 4, !tbaa !15
  %124 = mul nsw i32 %122, %123
  %125 = load i32, ptr %7, align 4, !tbaa !15
  %126 = mul nsw i32 %124, %125
  %127 = load i32, ptr %12, align 4, !tbaa !15
  %128 = load i32, ptr %7, align 4, !tbaa !15
  %129 = mul nsw i32 %127, %128
  %130 = add nsw i32 %126, %129
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds i8, ptr %121, i64 %131
  store i8 %120, ptr %132, align 1, !tbaa !17
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = load i32, ptr %10, align 4, !tbaa !15
  %135 = load i32, ptr %6, align 4, !tbaa !15
  %136 = mul nsw i32 %134, %135
  %137 = load i32, ptr %7, align 4, !tbaa !15
  %138 = mul nsw i32 %136, %137
  %139 = load i32, ptr %12, align 4, !tbaa !15
  %140 = load i32, ptr %7, align 4, !tbaa !15
  %141 = mul nsw i32 %139, %140
  %142 = add nsw i32 %138, %141
  %143 = add nsw i32 %142, 1
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i8, ptr %133, i64 %144
  %146 = load i8, ptr %145, align 1, !tbaa !17
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = load i32, ptr %10, align 4, !tbaa !15
  %149 = load i32, ptr %6, align 4, !tbaa !15
  %150 = mul nsw i32 %148, %149
  %151 = load i32, ptr %7, align 4, !tbaa !15
  %152 = mul nsw i32 %150, %151
  %153 = load i32, ptr %12, align 4, !tbaa !15
  %154 = load i32, ptr %7, align 4, !tbaa !15
  %155 = mul nsw i32 %153, %154
  %156 = add nsw i32 %152, %155
  %157 = add nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds i8, ptr %147, i64 %158
  store i8 %146, ptr %159, align 1, !tbaa !17
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  %161 = load i32, ptr %10, align 4, !tbaa !15
  %162 = load i32, ptr %6, align 4, !tbaa !15
  %163 = mul nsw i32 %161, %162
  %164 = load i32, ptr %7, align 4, !tbaa !15
  %165 = mul nsw i32 %163, %164
  %166 = load i32, ptr %12, align 4, !tbaa !15
  %167 = load i32, ptr %7, align 4, !tbaa !15
  %168 = mul nsw i32 %166, %167
  %169 = add nsw i32 %165, %168
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds i8, ptr %160, i64 %170
  %172 = load i8, ptr %171, align 1, !tbaa !17
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  %174 = load i32, ptr %10, align 4, !tbaa !15
  %175 = load i32, ptr %6, align 4, !tbaa !15
  %176 = mul nsw i32 %174, %175
  %177 = load i32, ptr %7, align 4, !tbaa !15
  %178 = mul nsw i32 %176, %177
  %179 = load i32, ptr %12, align 4, !tbaa !15
  %180 = load i32, ptr %7, align 4, !tbaa !15
  %181 = mul nsw i32 %179, %180
  %182 = add nsw i32 %178, %181
  %183 = add nsw i32 %182, 2
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds i8, ptr %173, i64 %184
  store i8 %172, ptr %185, align 1, !tbaa !17
  br label %186

186:                                              ; preds = %106
  %187 = load i32, ptr %13, align 4, !tbaa !15
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %13, align 4, !tbaa !15
  br label %101, !llvm.loop !18

189:                                              ; preds = %105
  br label %190

190:                                              ; preds = %189
  %191 = load i32, ptr %12, align 4, !tbaa !15
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %12, align 4, !tbaa !15
  br label %95, !llvm.loop !20

193:                                              ; preds = %99
  br label %194

194:                                              ; preds = %193
  %195 = load i32, ptr %10, align 4, !tbaa !15
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %10, align 4, !tbaa !15
  br label %89, !llvm.loop !21

197:                                              ; preds = %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

attributes #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { noreturn nounwind }
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 8}
!10 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!10, !11, i64 4}
!14 = !{!10, !11, i64 12}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !6, i64 24}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}


; 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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @sm_bgr2rgb(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #2 {
  %3 = icmp ne ptr %0, null
  %4 = icmp ne ptr %1, null
  %or.cond = and i1 %3, %4
  br i1 %or.cond, label %9, label %5

5:                                                ; preds = %2
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  tail call void @exit(i32 noundef 1) #3
  unreachable

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = icmp eq i32 %11, 1
  br i1 %12, label %17, label %13

13:                                               ; preds = %9
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %16 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  tail call void @exit(i32 noundef 1) #3
  unreachable

17:                                               ; preds = %9
  %18 = load i32, ptr %0, align 8, !tbaa !11
  %19 = load i32, ptr %1, align 8, !tbaa !11
  %20 = icmp eq i32 %18, %19
  br i1 %20, label %21, label %33

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %0, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !12
  %24 = getelementptr inbounds i8, ptr %1, i64 4
  %25 = load i32, ptr %24, align 4, !tbaa !12
  %26 = icmp eq i32 %23, %25
  br i1 %26, label %27, label %33

27:                                               ; preds = %21
  %28 = getelementptr inbounds i8, ptr %0, i64 12
  %29 = load i32, ptr %28, align 4, !tbaa !13
  %30 = getelementptr inbounds i8, ptr %1, i64 12
  %31 = load i32, ptr %30, align 4, !tbaa !13
  %32 = icmp eq i32 %29, %31
  br i1 %32, label %37, label %33

33:                                               ; preds = %27, %21, %17
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  tail call void @exit(i32 noundef 1) #3
  unreachable

37:                                               ; preds = %27
  %38 = icmp eq i32 %29, 3
  br i1 %38, label %43, label %39

39:                                               ; preds = %37
  %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  tail call void @exit(i32 noundef 1) #3
  unreachable

43:                                               ; preds = %37
  %44 = getelementptr inbounds i8, ptr %0, i64 24
  %45 = load ptr, ptr %44, align 8, !tbaa !14
  %46 = getelementptr inbounds i8, ptr %1, i64 24
  %47 = load ptr, ptr %46, align 8, !tbaa !14
  %48 = icmp sgt i32 %18, 0
  %49 = icmp sgt i32 %23, 0
  %or.cond79 = and i1 %48, %49
  br i1 %or.cond79, label %.preheader67.us.preheader, label %._crit_edge71

.preheader67.us.preheader:                        ; preds = %43
  %50 = zext nneg i32 %23 to i64
  %wide.trip.count77 = zext nneg i32 %18 to i64
  br label %.preheader67.us

.preheader67.us:                                  ; preds = %.preheader67.us.preheader, %._crit_edge.us
  %indvars.iv74 = phi i64 [ 0, %.preheader67.us.preheader ], [ %indvars.iv.next75, %._crit_edge.us ]
  %51 = mul nuw nsw i64 %indvars.iv74, %50
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader67.us, %.preheader.us
  %indvars.iv = phi i64 [ 0, %.preheader67.us ], [ %indvars.iv.next, %.preheader.us ]
  %52 = add nuw nsw i64 %indvars.iv, %51
  %53 = trunc nuw i64 %52 to i32
  %54 = mul i32 %53, 3
  %55 = add nsw i32 %54, 2
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds i8, ptr %45, i64 %56
  %58 = sext i32 %54 to i64
  %59 = getelementptr inbounds i8, ptr %47, i64 %58
  %60 = add nsw i32 %54, 1
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds i8, ptr %45, i64 %61
  %63 = getelementptr inbounds i8, ptr %47, i64 %61
  %64 = getelementptr inbounds i8, ptr %45, i64 %58
  %65 = getelementptr inbounds i8, ptr %47, i64 %56
  %66 = load i8, ptr %57, align 1, !tbaa !15
  store i8 %66, ptr %59, align 1, !tbaa !15
  %67 = load i8, ptr %62, align 1, !tbaa !15
  store i8 %67, ptr %63, align 1, !tbaa !15
  %68 = load i8, ptr %64, align 1, !tbaa !15
  store i8 %68, ptr %65, align 1, !tbaa !15
  %69 = load i8, ptr %57, align 1, !tbaa !15
  store i8 %69, ptr %59, align 1, !tbaa !15
  %70 = load i8, ptr %62, align 1, !tbaa !15
  store i8 %70, ptr %63, align 1, !tbaa !15
  %71 = load i8, ptr %64, align 1, !tbaa !15
  store i8 %71, ptr %65, align 1, !tbaa !15
  %72 = load i8, ptr %57, align 1, !tbaa !15
  store i8 %72, ptr %59, align 1, !tbaa !15
  %73 = load i8, ptr %62, align 1, !tbaa !15
  store i8 %73, ptr %63, align 1, !tbaa !15
  %74 = load i8, ptr %64, align 1, !tbaa !15
  store i8 %74, ptr %65, align 1, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %50
  br i1 %exitcond.not, label %._crit_edge.us, label %.preheader.us, !llvm.loop !16

._crit_edge.us:                                   ; preds = %.preheader.us
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  %exitcond78.not = icmp eq i64 %indvars.iv.next75, %wide.trip.count77
  br i1 %exitcond78.not, label %._crit_edge71, label %.preheader67.us, !llvm.loop !18

._crit_edge71:                                    ; preds = %._crit_edge.us, %43
  ret void
}

attributes #0 = { 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" }
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 = { 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 #3 = { 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, !7, i64 8}
!6 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !7, i64 4}
!13 = !{!6, !7, i64 12}
!14 = !{!6, !10, i64 24}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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