; LLVM IR from facebook/redex :: libredex/Creators.ll (ZN11MethodBlock9ifield_opE8IROpcodeP8DexField8LocationRS3_)

; 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.Location = type <{ ptr, i32, [4 x i8] }>

@.str.8 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__._ZN11MethodBlock9ifield_opE8IROpcodeP8DexField8LocationRS3_ = external hidden unnamed_addr constant [72 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

declare void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

declare noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11MethodBlock9ifield_opE8IROpcodeP8DexField8LocationRS3_(ptr noundef nonnull align 8 dereferenceable(16) %0, i16 noundef zeroext %1, ptr noundef %2, ptr %3, i32 %4, ptr noundef nonnull align 8 dereferenceable(12) %5) #6 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %struct.Location, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i16, align 2
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 0
  store ptr %3, ptr %16, align 8
  %17 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 1
  store i32 %4, ptr %17, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i16 %1, ptr %9, align 2, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %5, ptr %11, align 8, !tbaa !5
  %18 = load ptr, ptr %8, align 8
  %19 = load i16, ptr %9, align 2, !tbaa !9
  %20 = call noundef zeroext i1 @_ZN6opcode15is_an_ifield_opE8IROpcode(i16 noundef zeroext %19)
  br i1 %20, label %21, label %22

21:                                               ; preds = %6
  br label %24

22:                                               ; preds = %6
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.17, ptr noundef @.str.8, i32 noundef 183, ptr noundef @__PRETTY_FUNCTION__._ZN11MethodBlock9ifield_opE8IROpcodeP8DexField8LocationRS3_, i32 noundef 2, ptr noundef @.str.13) #8
  unreachable

23:                                               ; No predecessors!
  br label %24

24:                                               ; preds = %23, %21
  %25 = load i16, ptr %9, align 2, !tbaa !9
  %26 = call noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext %25)
  br i1 %26, label %27, label %59

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %28 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #10
  %29 = load i16, ptr %9, align 2, !tbaa !9
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %28, i16 noundef zeroext %29)
          to label %30 unwind label %50

30:                                               ; preds = %27
  store ptr %28, ptr %12, align 8, !tbaa !5
  %31 = load ptr, ptr %12, align 8, !tbaa !5
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = call noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef %32)
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %34)
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.Location, ptr %36, i32 0, i32 0
  store ptr %35, ptr %37, align 8, !tbaa !11
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %7)
  %40 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %38, i16 noundef zeroext 0, i32 noundef %39)
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %41)
  %42 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #10
  %43 = load i16, ptr %9, align 2, !tbaa !9
  %44 = invoke noundef zeroext i16 @_ZN6opcode27move_result_pseudo_for_igetE8IROpcode(i16 noundef zeroext %43)
          to label %45 unwind label %54

45:                                               ; preds = %30
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %42, i16 noundef zeroext %44)
          to label %46 unwind label %54

46:                                               ; preds = %45
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %47)
  %49 = call noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %42, i32 noundef %48)
  call void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %49)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %78

50:                                               ; preds = %27
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %13, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %14, align 4
  call void @_ZdlPvm(ptr noundef %28, i64 noundef 32) #11
  br label %58

54:                                               ; preds = %45, %30
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %13, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %14, align 4
  call void @_ZdlPvm(ptr noundef %42, i64 noundef 32) #11
  br label %58

58:                                               ; preds = %54, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %79

59:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %60 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #10
  %61 = load i16, ptr %9, align 2, !tbaa !9
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %60, i16 noundef zeroext %61)
          to label %62 unwind label %74

62:                                               ; preds = %59
  store ptr %60, ptr %15, align 8, !tbaa !5
  %63 = load ptr, ptr %15, align 8, !tbaa !5
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  %65 = call noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef %64)
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %67)
  %69 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %66, i16 noundef zeroext 0, i32 noundef %68)
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %7)
  %72 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %70, i16 noundef zeroext 1, i32 noundef %71)
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %73)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %78

74:                                               ; preds = %59
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %13, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %14, align 4
  call void @_ZdlPvm(ptr noundef %60, i64 noundef 32) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %79

78:                                               ; preds = %62, %46
  ret void

79:                                               ; preds = %74, %58
  %80 = load ptr, ptr %13, align 8
  %81 = load i32, ptr %14, align 4
  %82 = insertvalue { ptr, i32 } poison, ptr %80, 0
  %83 = insertvalue { ptr, i32 } %82, i32 %81, 1
  resume { ptr, i32 } %83
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode15is_an_ifield_opE8IROpcode(i16 noundef zeroext) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #6 align 2

declare noundef zeroext i16 @_ZN6opcode27move_result_pseudo_for_igetE8IROpcode(i16 noundef zeroext) #3

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 = { nobuiltin allocsize(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 = { nobuiltin 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 #5 = { 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 #6 = { 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 #7 = { inlinehint 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 #8 = { noreturn }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!"_ZTS8IROpcode", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS8Location", !6, i64 0, !13, i64 8}
!13 = !{!"int", !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"

%struct.Location = type <{ ptr, i32, [4 x i8] }>

@.str.8 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__._ZN11MethodBlock9ifield_opE8IROpcodeP8DexField8LocationRS3_ = external hidden unnamed_addr constant [72 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

declare void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

declare noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11MethodBlock9ifield_opE8IROpcodeP8DexField8LocationRS3_(ptr noundef nonnull align 8 dereferenceable(16) %0, i16 noundef zeroext %1, ptr noundef %2, ptr %3, i32 %4, ptr noundef nonnull align 8 dereferenceable(12) %5) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %struct.Location, align 8
  store ptr %3, ptr %7, align 8
  %8 = getelementptr inbounds i8, ptr %7, i64 8
  store i32 %4, ptr %8, align 8
  %9 = tail call noundef zeroext i1 @_ZN6opcode15is_an_ifield_opE8IROpcode(i16 noundef zeroext %1)
  br i1 %9, label %11, label %10

10:                                               ; preds = %6
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.8, i32 noundef 183, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11MethodBlock9ifield_opE8IROpcodeP8DexField8LocationRS3_, i32 noundef 2, ptr noundef nonnull @.str.13) #7
  unreachable

11:                                               ; preds = %6
  %12 = tail call noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext %1)
  %13 = tail call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #8
  br i1 %12, label %14, label %30

14:                                               ; preds = %11
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %13, i16 noundef zeroext %1)
          to label %15 unwind label %26

15:                                               ; preds = %14
  %16 = tail call noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %2)
  %17 = tail call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %2)
  store ptr %17, ptr %5, align 8, !tbaa !5
  %18 = call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %7)
  %19 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %13, i16 noundef zeroext 0, i32 noundef %18)
  call void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %13)
  %20 = call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #8
  %21 = invoke noundef zeroext i16 @_ZN6opcode27move_result_pseudo_for_igetE8IROpcode(i16 noundef zeroext %1)
          to label %22 unwind label %28

22:                                               ; preds = %15
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %20, i16 noundef zeroext %21)
          to label %23 unwind label %28

23:                                               ; preds = %22
  %24 = call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %5)
  %25 = call noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef %24)
  call void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %25)
  br label %39

26:                                               ; preds = %14
  %27 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %13, i64 noundef 32) #9
  br label %40

28:                                               ; preds = %22, %15
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %20, i64 noundef 32) #9
  br label %40

30:                                               ; preds = %11
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %13, i16 noundef zeroext %1)
          to label %31 unwind label %37

31:                                               ; preds = %30
  %32 = tail call noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %2)
  %33 = tail call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %5)
  %34 = tail call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %13, i16 noundef zeroext 0, i32 noundef %33)
  %35 = call noundef i32 @_ZNK8Location7get_regEv(ptr noundef nonnull align 8 dereferenceable(12) %7)
  %36 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %13, i16 noundef zeroext 1, i32 noundef %35)
  call void @_ZN11MethodBlock16push_instructionEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %13)
  br label %39

37:                                               ; preds = %30
  %38 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %13, i64 noundef 32) #9
  br label %40

39:                                               ; preds = %31, %23
  ret void

40:                                               ; preds = %26, %28, %37
  %.pn.pn = phi { ptr, i32 } [ %38, %37 ], [ %29, %28 ], [ %27, %26 ]
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode15is_an_ifield_opE8IROpcode(i16 noundef zeroext) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN13IRInstruction9set_fieldEP11DexFieldRef(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5 align 2

declare noundef zeroext i16 @_ZN6opcode27move_result_pseudo_for_igetE8IROpcode(i16 noundef zeroext) local_unnamed_addr #2

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 = { nobuiltin allocsize(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 = { "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 = { nobuiltin 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 #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 = { 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 #6 = { inlinehint 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 #7 = { noreturn }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 0}
!6 = !{!"_ZTS8Location", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}


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