; LLVM IR from FrancesoM/Bisc8FX :: sdk_projects/bisc8_platform/ps7_cortexa9_0/standalone_domain/bsp/ps7_cortexa9_0_ (SetHash)

; 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.XEmacPs_Instance = type { %struct.XEmacPs_Config, i32, i32, i32, %struct.XEmacPs_BdRing, %struct.XEmacPs_BdRing, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32 }
%struct.XEmacPs_Config = type { i16, i64, i8, i8, i8, i8, i8, i8, i8 }
%struct.XEmacPs_BdRing = type { i64, i64, i64, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32 }

@Xil_AssertStatus = external global i32, align 4
@.str = external hidden unnamed_addr constant [173 x i8], align 1

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

declare void @Xil_Assert(ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @Xil_In32(i64 noundef) #2

; 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 i64 @XEmacPs_SetHash(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %19, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %2
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %24

23:                                               ; preds = %2
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 215)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i64 0, ptr %3, align 8
  store i32 1, ptr %18, align 4
  br label %193

24:                                               ; preds = %22
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %29

28:                                               ; preds = %24
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 216)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i64 0, ptr %3, align 8
  store i32 1, ptr %18, align 4
  br label %193

29:                                               ; preds = %27
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.XEmacPs_Instance, ptr %30, i32 0, i32 2
  %32 = load i32, ptr %31, align 4, !tbaa !11
  %33 = icmp eq i32 %32, 286331153
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !9
  br label %36

35:                                               ; preds = %29
  call void @Xil_Assert(ptr noundef @.str, i32 noundef 217)
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !9
  store i64 0, ptr %3, align 8
  store i32 1, ptr %18, align 4
  br label %193

36:                                               ; preds = %34
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.XEmacPs_Instance, ptr %37, i32 0, i32 1
  %39 = load i32, ptr %38, align 8, !tbaa !17
  %40 = icmp eq i32 %39, 572662306
  br i1 %40, label %41, label %42

41:                                               ; preds = %36
  store i64 5, ptr %17, align 8, !tbaa !18
  br label %191

42:                                               ; preds = %36
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 0
  %45 = load i8, ptr %44, align 1, !tbaa !19
  %46 = zext i8 %45 to i32
  %47 = and i32 %46, 63
  %48 = trunc i32 %47 to i8
  store i8 %48, ptr %8, align 1, !tbaa !19
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 0
  %51 = load i8, ptr %50, align 1, !tbaa !19
  %52 = zext i8 %51 to i32
  %53 = ashr i32 %52, 6
  %54 = and i32 %53, 3
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 1
  %57 = load i8, ptr %56, align 1, !tbaa !19
  %58 = zext i8 %57 to i32
  %59 = and i32 %58, 15
  %60 = shl i32 %59, 2
  %61 = or i32 %54, %60
  %62 = trunc i32 %61 to i8
  store i8 %62, ptr %9, align 1, !tbaa !19
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 1
  %65 = load i8, ptr %64, align 1, !tbaa !19
  %66 = zext i8 %65 to i32
  %67 = ashr i32 %66, 4
  %68 = and i32 %67, 15
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %69, i64 2
  %71 = load i8, ptr %70, align 1, !tbaa !19
  %72 = zext i8 %71 to i32
  %73 = and i32 %72, 3
  %74 = shl i32 %73, 4
  %75 = or i32 %68, %74
  %76 = trunc i32 %75 to i8
  store i8 %76, ptr %10, align 1, !tbaa !19
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %77, i64 2
  %79 = load i8, ptr %78, align 1, !tbaa !19
  %80 = zext i8 %79 to i32
  %81 = ashr i32 %80, 2
  %82 = and i32 %81, 63
  %83 = trunc i32 %82 to i8
  store i8 %83, ptr %11, align 1, !tbaa !19
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 3
  %86 = load i8, ptr %85, align 1, !tbaa !19
  %87 = zext i8 %86 to i32
  %88 = and i32 %87, 63
  %89 = trunc i32 %88 to i8
  store i8 %89, ptr %12, align 1, !tbaa !19
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 3
  %92 = load i8, ptr %91, align 1, !tbaa !19
  %93 = zext i8 %92 to i32
  %94 = ashr i32 %93, 6
  %95 = and i32 %94, 3
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 4
  %98 = load i8, ptr %97, align 1, !tbaa !19
  %99 = zext i8 %98 to i32
  %100 = and i32 %99, 15
  %101 = shl i32 %100, 2
  %102 = or i32 %95, %101
  %103 = trunc i32 %102 to i8
  store i8 %103, ptr %13, align 1, !tbaa !19
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 4
  %106 = load i8, ptr %105, align 1, !tbaa !19
  %107 = zext i8 %106 to i32
  %108 = ashr i32 %107, 4
  %109 = and i32 %108, 15
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 5
  %112 = load i8, ptr %111, align 1, !tbaa !19
  %113 = zext i8 %112 to i32
  %114 = and i32 %113, 3
  %115 = shl i32 %114, 4
  %116 = or i32 %109, %115
  %117 = trunc i32 %116 to i8
  store i8 %117, ptr %14, align 1, !tbaa !19
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %118, i64 5
  %120 = load i8, ptr %119, align 1, !tbaa !19
  %121 = zext i8 %120 to i32
  %122 = ashr i32 %121, 2
  %123 = and i32 %122, 63
  %124 = trunc i32 %123 to i8
  store i8 %124, ptr %15, align 1, !tbaa !19
  %125 = load i8, ptr %8, align 1, !tbaa !19
  %126 = zext i8 %125 to i32
  %127 = load i8, ptr %9, align 1, !tbaa !19
  %128 = zext i8 %127 to i32
  %129 = xor i32 %126, %128
  %130 = load i8, ptr %10, align 1, !tbaa !19
  %131 = zext i8 %130 to i32
  %132 = xor i32 %129, %131
  %133 = load i8, ptr %11, align 1, !tbaa !19
  %134 = zext i8 %133 to i32
  %135 = xor i32 %132, %134
  %136 = load i8, ptr %12, align 1, !tbaa !19
  %137 = zext i8 %136 to i32
  %138 = xor i32 %135, %137
  %139 = load i8, ptr %13, align 1, !tbaa !19
  %140 = zext i8 %139 to i32
  %141 = xor i32 %138, %140
  %142 = load i8, ptr %14, align 1, !tbaa !19
  %143 = zext i8 %142 to i32
  %144 = xor i32 %141, %143
  %145 = load i8, ptr %15, align 1, !tbaa !19
  %146 = zext i8 %145 to i32
  %147 = xor i32 %144, %146
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = icmp uge i32 %148, 64
  br i1 %149, label %150, label %151

150:                                              ; preds = %42
  store i64 15, ptr %17, align 8, !tbaa !18
  br label %190

151:                                              ; preds = %42
  %152 = load i32, ptr %16, align 4, !tbaa !9
  %153 = icmp ult i32 %152, 32
  br i1 %153, label %154, label %171

154:                                              ; preds = %151
  %155 = load ptr, ptr %4, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.XEmacPs_Instance, ptr %155, i32 0, i32 0
  %157 = getelementptr inbounds %struct.XEmacPs_Config, ptr %156, i32 0, i32 1
  %158 = load i64, ptr %157, align 8, !tbaa !20
  %159 = add i64 %158, 128
  %160 = call i32 @Xil_In32(i64 noundef %159)
  store i32 %160, ptr %6, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = shl i32 1, %161
  %163 = load i32, ptr %6, align 4, !tbaa !9
  %164 = or i32 %163, %162
  store i32 %164, ptr %6, align 4, !tbaa !9
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.XEmacPs_Instance, ptr %165, i32 0, i32 0
  %167 = getelementptr inbounds %struct.XEmacPs_Config, ptr %166, i32 0, i32 1
  %168 = load i64, ptr %167, align 8, !tbaa !20
  %169 = add i64 %168, 128
  %170 = load i32, ptr %6, align 4, !tbaa !9
  call void @Xil_Out32(i64 noundef %169, i32 noundef %170)
  br label %189

171:                                              ; preds = %151
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.XEmacPs_Instance, ptr %172, i32 0, i32 0
  %174 = getelementptr inbounds %struct.XEmacPs_Config, ptr %173, i32 0, i32 1
  %175 = load i64, ptr %174, align 8, !tbaa !20
  %176 = add i64 %175, 132
  %177 = call i32 @Xil_In32(i64 noundef %176)
  store i32 %177, ptr %6, align 4, !tbaa !9
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = sub i32 %178, 32
  %180 = shl i32 1, %179
  %181 = load i32, ptr %6, align 4, !tbaa !9
  %182 = or i32 %181, %180
  store i32 %182, ptr %6, align 4, !tbaa !9
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.XEmacPs_Instance, ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds %struct.XEmacPs_Config, ptr %184, i32 0, i32 1
  %186 = load i64, ptr %185, align 8, !tbaa !20
  %187 = add i64 %186, 132
  %188 = load i32, ptr %6, align 4, !tbaa !9
  call void @Xil_Out32(i64 noundef %187, i32 noundef %188)
  br label %189

189:                                              ; preds = %171, %154
  store i64 0, ptr %17, align 8, !tbaa !18
  br label %190

190:                                              ; preds = %189, %150
  br label %191

191:                                              ; preds = %190, %41
  %192 = load i64, ptr %17, align 8, !tbaa !18
  store i64 %192, ptr %3, align 8
  store i32 1, ptr %18, align 4
  br label %193

193:                                              ; preds = %191, %35, %28, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %194 = load i64, ptr %3, align 8
  ret i64 %194
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { 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 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 28}
!12 = !{!"XEmacPs_Instance", !13, i64 0, !10, i64 24, !10, i64 28, !10, i64 32, !16, i64 40, !16, i64 152, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328}
!13 = !{!"", !14, i64 0, !15, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22}
!14 = !{!"short", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"", !15, i64 0, !15, i64 8, !15, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104}
!17 = !{!12, !10, i64 24}
!18 = !{!15, !15, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !15, i64 8}


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

@Xil_AssertStatus = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [173 x i8], align 1

declare void @Xil_Assert(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @Xil_Out32(i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @Xil_In32(i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i64 0, 6) i64 @XEmacPs_SetHash(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #2 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %4, label %3

3:                                                ; preds = %2
  store i32 0, ptr @Xil_AssertStatus, align 4, !tbaa !5
  %.not42 = icmp eq ptr %1, null
  br i1 %.not42, label %9, label %5

4:                                                ; preds = %2
  tail call void @Xil_Assert(ptr noundef nonnull @.str, i32 noundef 215) #3
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !5
  br label %73

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 28
  %7 = load i32, ptr %6, align 4, !tbaa !9
  %8 = icmp eq i32 %7, 286331153
  br i1 %8, label %10, label %14

9:                                                ; preds = %3
  tail call void @Xil_Assert(ptr noundef nonnull @.str, i32 noundef 216) #3
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !5
  br label %73

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  %12 = load i32, ptr %11, align 8, !tbaa !16
  %13 = icmp eq i32 %12, 572662306
  br i1 %13, label %73, label %15

14:                                               ; preds = %5
  tail call void @Xil_Assert(ptr noundef nonnull @.str, i32 noundef 217) #3
  store i32 1, ptr @Xil_AssertStatus, align 4, !tbaa !5
  br label %73

15:                                               ; preds = %10
  %16 = load i8, ptr %1, align 1, !tbaa !17
  %17 = and i8 %16, 63
  %18 = lshr i8 %16, 6
  %19 = getelementptr inbounds i8, ptr %1, i64 1
  %20 = load i8, ptr %19, align 1, !tbaa !17
  %21 = shl i8 %20, 2
  %22 = and i8 %21, 60
  %23 = or disjoint i8 %22, %18
  %24 = lshr i8 %20, 4
  %25 = getelementptr inbounds i8, ptr %1, i64 2
  %26 = load i8, ptr %25, align 1, !tbaa !17
  %27 = shl i8 %26, 4
  %28 = and i8 %27, 48
  %29 = or disjoint i8 %28, %24
  %30 = lshr i8 %26, 2
  %31 = getelementptr inbounds i8, ptr %1, i64 3
  %32 = load i8, ptr %31, align 1, !tbaa !17
  %33 = and i8 %32, 63
  %34 = lshr i8 %32, 6
  %35 = getelementptr inbounds i8, ptr %1, i64 4
  %36 = load i8, ptr %35, align 1, !tbaa !17
  %37 = shl i8 %36, 2
  %38 = and i8 %37, 60
  %39 = or disjoint i8 %38, %34
  %40 = lshr i8 %36, 4
  %41 = getelementptr inbounds i8, ptr %1, i64 5
  %42 = load i8, ptr %41, align 1, !tbaa !17
  %43 = shl i8 %42, 4
  %44 = and i8 %43, 48
  %45 = or disjoint i8 %44, %40
  %46 = lshr i8 %42, 2
  %47 = xor i8 %30, %17
  %48 = xor i8 %47, %23
  %49 = xor i8 %48, %33
  %50 = xor i8 %49, %29
  %51 = xor i8 %50, %46
  %52 = xor i8 %51, %39
  %53 = xor i8 %52, %45
  %54 = zext nneg i8 %53 to i32
  %55 = icmp ult i8 %53, 32
  %56 = getelementptr inbounds i8, ptr %0, i64 8
  %57 = load i64, ptr %56, align 8, !tbaa !18
  br i1 %55, label %58, label %65

58:                                               ; preds = %15
  %59 = add i64 %57, 128
  %60 = tail call i32 @Xil_In32(i64 noundef %59)
  %61 = shl nuw i32 1, %54
  %62 = or i32 %60, %61
  %63 = load i64, ptr %56, align 8, !tbaa !18
  %64 = add i64 %63, 128
  tail call void @Xil_Out32(i64 noundef %64, i32 noundef %62)
  br label %73

65:                                               ; preds = %15
  %66 = add i64 %57, 132
  %67 = tail call i32 @Xil_In32(i64 noundef %66)
  %68 = add nsw i32 %54, -32
  %69 = shl nuw i32 1, %68
  %70 = or i32 %67, %69
  %71 = load i64, ptr %56, align 8, !tbaa !18
  %72 = add i64 %71, 132
  tail call void @Xil_Out32(i64 noundef %72, i32 noundef %70)
  br label %73

73:                                               ; preds = %10, %65, %58, %14, %9, %4
  %.038 = phi i64 [ 0, %14 ], [ 0, %9 ], [ 0, %4 ], [ 5, %10 ], [ 0, %65 ], [ 0, %58 ]
  ret i64 %.038
}

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 = { 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 #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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 28}
!10 = !{!"XEmacPs_Instance", !11, i64 0, !6, i64 24, !6, i64 28, !6, i64 32, !14, i64 40, !14, i64 152, !15, i64 264, !15, i64 272, !15, i64 280, !15, i64 288, !15, i64 296, !15, i64 304, !6, i64 312, !6, i64 316, !6, i64 320, !6, i64 324, !6, i64 328}
!11 = !{!"", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !7, i64 20, !7, i64 21, !7, i64 22}
!12 = !{!"short", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"", !13, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !6, i64 88, !6, i64 92, !6, i64 96, !6, i64 100, !6, i64 104}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!10, !6, i64 24}
!17 = !{!7, !7, i64 0}
!18 = !{!10, !13, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass