; LLVM IR from facebook/redex :: libredex/IRInstruction.ll (ZNK13IRInstructioneqERKS_)

; 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.IRInstruction = type { i16, i16, i32, %union.anon.0, %union.anon.1 }
%union.anon.0 = type { i64 }
%union.anon.1 = type { ptr, [8 x i8] }

@.str.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [55 x i8], align 1
@__PRETTY_FUNCTION__._ZNK13IRInstructioneqERKS_ = external hidden unnamed_addr constant [60 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [55 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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK13IRInstructioneqERKS_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #2 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i16, align 2
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %10 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %11 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 0
  %12 = load i16, ptr %11, align 8, !tbaa !9
  %13 = zext i16 %12 to i32
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %class.IRInstruction, ptr %14, i32 0, i32 0
  %16 = load i16, ptr %15, align 8, !tbaa !9
  %17 = zext i16 %16 to i32
  %18 = icmp eq i32 %13, %17
  br i1 %18, label %19, label %35

19:                                               ; preds = %2
  %20 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 1
  %21 = load i16, ptr %20, align 2, !tbaa !14
  %22 = zext i16 %21 to i32
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %class.IRInstruction, ptr %23, i32 0, i32 1
  %25 = load i16, ptr %24, align 2, !tbaa !14
  %26 = zext i16 %25 to i32
  %27 = icmp eq i32 %22, %26
  br i1 %27, label %28, label %35

28:                                               ; preds = %19
  %29 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 2
  %30 = load i32, ptr %29, align 4, !tbaa !15
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %class.IRInstruction, ptr %31, i32 0, i32 2
  %33 = load i32, ptr %32, align 4, !tbaa !15
  %34 = icmp eq i32 %30, %33
  br label %35

35:                                               ; preds = %28, %19, %2
  %36 = phi i1 [ false, %19 ], [ false, %2 ], [ %34, %28 ]
  %37 = zext i1 %36 to i8
  store i8 %37, ptr %6, align 1, !tbaa !16
  %38 = load i8, ptr %6, align 1, !tbaa !16, !range !18, !noundef !19
  %39 = trunc i8 %38 to i1
  br i1 %39, label %41, label %40

40:                                               ; preds = %35
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %145

41:                                               ; preds = %35
  %42 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 0
  %43 = load i16, ptr %42, align 8, !tbaa !9
  %44 = zext i16 %43 to i32
  %45 = icmp eq i32 %44, 24
  br i1 %45, label %46, label %81

46:                                               ; preds = %41
  %47 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 0
  %48 = load i16, ptr %47, align 8, !tbaa !9
  %49 = call noundef i32 @_ZN6opcode3refE8IROpcode(i16 noundef zeroext %48)
  %50 = icmp eq i32 %49, 8
  br i1 %50, label %51, label %52

51:                                               ; preds = %46
  br label %54

52:                                               ; preds = %46
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.11, ptr noundef @.str.8, i32 noundef 77, ptr noundef @__PRETTY_FUNCTION__._ZNK13IRInstructioneqERKS_, i32 noundef 2, ptr noundef @.str.9) #7
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %55 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 3
  %56 = load ptr, ptr %55, align 8, !tbaa !20
  %57 = call noundef i64 @_ZNK13DexOpcodeData9data_sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %56)
  store i64 %57, ptr %8, align 8, !tbaa !21
  %58 = load i64, ptr %8, align 8, !tbaa !21
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.IRInstruction, ptr %59, i32 0, i32 3
  %61 = load ptr, ptr %60, align 8, !tbaa !20
  %62 = call noundef i64 @_ZNK13DexOpcodeData9data_sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
  %63 = icmp ne i64 %58, %62
  br i1 %63, label %76, label %64

64:                                               ; preds = %54
  %65 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 3
  %66 = load ptr, ptr %65, align 8, !tbaa !20
  %67 = call noundef ptr @_ZNK13DexOpcodeData4dataEv(ptr noundef nonnull align 8 dereferenceable(40) %66)
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %class.IRInstruction, ptr %68, i32 0, i32 3
  %70 = load ptr, ptr %69, align 8, !tbaa !20
  %71 = call noundef ptr @_ZNK13DexOpcodeData4dataEv(ptr noundef nonnull align 8 dereferenceable(40) %70)
  %72 = load i64, ptr %8, align 8, !tbaa !21
  %73 = mul i64 %72, 2
  %74 = call i32 @memcmp(ptr noundef %67, ptr noundef %71, i64 noundef %73) #8
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %64, %54
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %78

77:                                               ; preds = %64
  store i32 0, ptr %7, align 4
  br label %78

78:                                               ; preds = %77, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %79 = load i32, ptr %7, align 4
  switch i32 %79, label %145 [
    i32 0, label %80
  ]

80:                                               ; preds = %78
  br label %98

81:                                               ; preds = %41
  %82 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 0
  %83 = load i16, ptr %82, align 8, !tbaa !9
  %84 = call noundef i32 @_ZN6opcode3refE8IROpcode(i16 noundef zeroext %83)
  %85 = icmp ne i32 %84, 8
  br i1 %85, label %86, label %87

86:                                               ; preds = %81
  br label %89

87:                                               ; preds = %81
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.12, ptr noundef @.str.8, i32 noundef 87, ptr noundef @__PRETTY_FUNCTION__._ZNK13IRInstructioneqERKS_, i32 noundef 2, ptr noundef @.str.9) #7
  unreachable

88:                                               ; No predecessors!
  br label %89

89:                                               ; preds = %88, %86
  %90 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 3
  %91 = load i64, ptr %90, align 8, !tbaa !20
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %class.IRInstruction, ptr %92, i32 0, i32 3
  %94 = load i64, ptr %93, align 8, !tbaa !20
  %95 = icmp ne i64 %91, %94
  br i1 %95, label %96, label %97

96:                                               ; preds = %89
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %145

97:                                               ; preds = %89
  br label %98

98:                                               ; preds = %97, %80
  %99 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 1
  %100 = load i16, ptr %99, align 2, !tbaa !14
  %101 = zext i16 %100 to i32
  %102 = icmp sle i32 %101, 4
  br i1 %102, label %103, label %133

103:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #6
  store i16 0, ptr %9, align 2, !tbaa !23
  br label %104

104:                                              ; preds = %127, %103
  %105 = load i16, ptr %9, align 2, !tbaa !23
  %106 = zext i16 %105 to i32
  %107 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 1
  %108 = load i16, ptr %107, align 2, !tbaa !14
  %109 = zext i16 %108 to i32
  %110 = icmp slt i32 %106, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %104
  store i32 2, ptr %7, align 4
  br label %130

112:                                              ; preds = %104
  %113 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 4
  %114 = load i16, ptr %9, align 2, !tbaa !23
  %115 = zext i16 %114 to i64
  %116 = getelementptr inbounds [4 x i32], ptr %113, i64 0, i64 %115
  %117 = load i32, ptr %116, align 4, !tbaa !20
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %class.IRInstruction, ptr %118, i32 0, i32 4
  %120 = load i16, ptr %9, align 2, !tbaa !23
  %121 = zext i16 %120 to i64
  %122 = getelementptr inbounds [4 x i32], ptr %119, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !20
  %124 = icmp ne i32 %117, %123
  br i1 %124, label %125, label %126

125:                                              ; preds = %112
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %130

126:                                              ; preds = %112
  br label %127

127:                                              ; preds = %126
  %128 = load i16, ptr %9, align 2, !tbaa !23
  %129 = add i16 %128, 1
  store i16 %129, ptr %9, align 2, !tbaa !23
  br label %104, !llvm.loop !24

130:                                              ; preds = %125, %111
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #6
  %131 = load i32, ptr %7, align 4
  switch i32 %131, label %145 [
    i32 2, label %132
  ]

132:                                              ; preds = %130
  store i1 true, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %145

133:                                              ; preds = %98
  %134 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 4
  %135 = load ptr, ptr %134, align 8, !tbaa !20
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %class.IRInstruction, ptr %136, i32 0, i32 4
  %138 = load ptr, ptr %137, align 8, !tbaa !20
  %139 = getelementptr inbounds %class.IRInstruction, ptr %10, i32 0, i32 1
  %140 = load i16, ptr %139, align 2, !tbaa !14
  %141 = zext i16 %140 to i64
  %142 = mul i64 %141, 4
  %143 = call i32 @memcmp(ptr noundef %135, ptr noundef %138, i64 noundef %142) #8
  %144 = icmp eq i32 %143, 0
  store i1 %144, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %145

145:                                              ; preds = %133, %132, %130, %96, %78, %40
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  %146 = load i1, ptr %3, align 1
  ret i1 %146
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN6opcode3refE8IROpcode(i16 noundef zeroext) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK13DexOpcodeData9data_sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK13DexOpcodeData4dataEv(ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "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 = { 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 = { 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 #4 = { mustprogress 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 willreturn memory(read) "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 #6 = { nounwind }
attributes #7 = { noreturn }
attributes #8 = { nounwind willreturn memory(read) }

!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, !11, i64 0}
!10 = !{!"_ZTS13IRInstruction", !11, i64 0, !12, i64 2, !13, i64 4, !7, i64 8, !7, i64 16}
!11 = !{!"_ZTS8IROpcode", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !12, i64 2}
!15 = !{!10, !13, i64 4}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!12, !12, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; 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.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [55 x i8], align 1
@__PRETTY_FUNCTION__._ZNK13IRInstructioneqERKS_ = external hidden unnamed_addr constant [60 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [55 x i8], align 1

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK13IRInstructioneqERKS_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %1) local_unnamed_addr #1 align 2 {
  %3 = load i16, ptr %0, align 8, !tbaa !5
  %4 = load i16, ptr %1, align 8, !tbaa !5
  %5 = icmp eq i16 %3, %4
  br i1 %5, label %6, label %.critedge

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 2
  %8 = load i16, ptr %7, align 2, !tbaa !12
  %9 = getelementptr inbounds i8, ptr %1, i64 2
  %10 = load i16, ptr %9, align 2, !tbaa !12
  %11 = icmp eq i16 %8, %10
  br i1 %11, label %12, label %.critedge

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %0, i64 4
  %14 = load i32, ptr %13, align 4, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %1, i64 4
  %16 = load i32, ptr %15, align 4, !tbaa !13
  %17 = icmp eq i32 %14, %16
  br i1 %17, label %18, label %.critedge

18:                                               ; preds = %12
  %19 = icmp eq i16 %3, 24
  br i1 %19, label %20, label %37

20:                                               ; preds = %18
  %21 = tail call noundef i32 @_ZN6opcode3refE8IROpcode(i16 noundef zeroext 24)
  %22 = icmp eq i32 %21, 8
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.8, i32 noundef 77, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK13IRInstructioneqERKS_, i32 noundef 2, ptr noundef nonnull @.str.9) #5
  unreachable

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  %27 = tail call noundef i64 @_ZNK13DexOpcodeData9data_sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %26)
  %28 = getelementptr inbounds i8, ptr %1, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  %30 = tail call noundef i64 @_ZNK13DexOpcodeData9data_sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  %.not24 = icmp eq i64 %27, %30
  br i1 %.not24, label %31, label %.critedge

31:                                               ; preds = %24
  %32 = load ptr, ptr %25, align 8, !tbaa !14
  %33 = tail call noundef ptr @_ZNK13DexOpcodeData4dataEv(ptr noundef nonnull align 8 dereferenceable(40) %32)
  %34 = load ptr, ptr %28, align 8, !tbaa !14
  %35 = tail call noundef ptr @_ZNK13DexOpcodeData4dataEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %36 = shl i64 %27, 1
  %bcmp = tail call i32 @bcmp(ptr %33, ptr %35, i64 %36)
  %.not25 = icmp eq i32 %bcmp, 0
  br i1 %.not25, label %.critedge30, label %.critedge

37:                                               ; preds = %18
  %38 = tail call noundef i32 @_ZN6opcode3refE8IROpcode(i16 noundef zeroext %3)
  %.not = icmp eq i32 %38, 8
  br i1 %.not, label %39, label %40

39:                                               ; preds = %37
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.8, i32 noundef 87, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK13IRInstructioneqERKS_, i32 noundef 2, ptr noundef nonnull @.str.9) #5
  unreachable

40:                                               ; preds = %37
  %41 = getelementptr inbounds i8, ptr %0, i64 8
  %42 = load i64, ptr %41, align 8, !tbaa !14
  %43 = getelementptr inbounds i8, ptr %1, i64 8
  %44 = load i64, ptr %43, align 8, !tbaa !14
  %.not23 = icmp eq i64 %42, %44
  br i1 %.not23, label %.critedge30, label %.critedge

.critedge30:                                      ; preds = %31, %40
  %45 = load i16, ptr %7, align 2, !tbaa !12
  %46 = icmp ult i16 %45, 5
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %46, label %.preheader, label %69

.preheader:                                       ; preds = %.critedge30
  %.not2831 = icmp eq i16 %45, 0
  br i1 %.not2831, label %.critedge, label %.lr.ph

48:                                               ; preds = %.lr.ph
  %exitcond = icmp eq i16 %45, 1
  br i1 %exitcond, label %.critedge, label %49, !llvm.loop !15

49:                                               ; preds = %48
  %50 = getelementptr inbounds i8, ptr %0, i64 20
  %51 = load i32, ptr %50, align 4, !tbaa !14
  %52 = getelementptr inbounds i8, ptr %1, i64 20
  %53 = load i32, ptr %52, align 4, !tbaa !14
  %.not27.1 = icmp eq i32 %51, %53
  br i1 %.not27.1, label %54, label %.critedge

54:                                               ; preds = %49
  %exitcond.1 = icmp eq i16 %45, 2
  br i1 %exitcond.1, label %.critedge, label %55, !llvm.loop !15

55:                                               ; preds = %54
  %56 = getelementptr inbounds i8, ptr %0, i64 24
  %57 = load i32, ptr %56, align 8, !tbaa !14
  %58 = getelementptr inbounds i8, ptr %1, i64 24
  %59 = load i32, ptr %58, align 8, !tbaa !14
  %.not27.2 = icmp eq i32 %57, %59
  br i1 %.not27.2, label %60, label %.critedge

60:                                               ; preds = %55
  %exitcond.2 = icmp eq i16 %45, 3
  br i1 %exitcond.2, label %.critedge, label %61, !llvm.loop !15

61:                                               ; preds = %60
  %62 = getelementptr inbounds i8, ptr %0, i64 28
  %63 = load i32, ptr %62, align 4, !tbaa !14
  %64 = getelementptr inbounds i8, ptr %1, i64 28
  %65 = load i32, ptr %64, align 4, !tbaa !14
  %.not27.3 = icmp eq i32 %63, %65
  %spec.select = select i1 %.not27.3, i1 true, i1 false
  br label %.critedge

.lr.ph:                                           ; preds = %.preheader
  %66 = getelementptr inbounds i8, ptr %1, i64 16
  %67 = load i32, ptr %47, align 8, !tbaa !14
  %68 = load i32, ptr %66, align 8, !tbaa !14
  %.not27 = icmp eq i32 %67, %68
  br i1 %.not27, label %48, label %.critedge

69:                                               ; preds = %.critedge30
  %70 = load ptr, ptr %47, align 8, !tbaa !14
  %71 = getelementptr inbounds i8, ptr %1, i64 16
  %72 = load ptr, ptr %71, align 8, !tbaa !14
  %73 = zext i16 %45 to i64
  %74 = shl nuw nsw i64 %73, 2
  %bcmp26 = tail call i32 @bcmp(ptr %70, ptr %72, i64 %74)
  %75 = icmp eq i32 %bcmp26, 0
  br label %.critedge

.critedge:                                        ; preds = %61, %.lr.ph, %48, %49, %54, %55, %60, %.preheader, %6, %2, %40, %31, %24, %12, %69
  %.3 = phi i1 [ %75, %69 ], [ false, %12 ], [ false, %24 ], [ false, %31 ], [ false, %40 ], [ false, %2 ], [ false, %6 ], [ true, %.preheader ], [ false, %.lr.ph ], [ true, %48 ], [ false, %49 ], [ true, %54 ], [ false, %55 ], [ true, %60 ], [ %spec.select, %61 ]
  ret i1 %.3
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN6opcode3refE8IROpcode(i16 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK13DexOpcodeData9data_sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK13DexOpcodeData4dataEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #4

attributes #0 = { noreturn "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 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 = { 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 = { mustprogress 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 = { nofree nounwind willreturn memory(argmem: read) }
attributes #5 = { noreturn }

!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 = !{!"_ZTS13IRInstruction", !7, i64 0, !10, i64 2, !11, i64 4, !8, i64 8, !8, i64 16}
!7 = !{!"_ZTS8IROpcode", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !10, i64 2}
!13 = !{!6, !11, i64 4}
!14 = !{!8, !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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