; LLVM IR from jrouwe/JoltPhysics :: TestFramework/Application (DebugUI)

; 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.std::function.21" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.UITexturedQuad = type { %"class.JPH::RefConst.0", i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.JPH::RefConst.0" = type { ptr }
%class.DebugUI = type { ptr, %"class.JPH::RefConst", %"class.JPH::RefConst.0" }
%"class.JPH::RefConst" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

declare void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN12UIStaticTextnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12UIStaticTextC2Ev(ptr noundef nonnull align 8 dereferenceable(213)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN12UIStaticTextdlEPv(ptr noundef) #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12UIStaticText7SetFontEPK4Font(ptr noundef nonnull align 8 dereferenceable(213), ptr noundef) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UIStaticText14SetTextPaddingEiiii(ptr noundef nonnull align 8 dereferenceable(213), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14UITexturedQuadC2EPK7Textureiiii(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN17UIHorizontalStacknwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN17UIHorizontalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN17UIHorizontalStackdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement9SetHeightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement8SetWidthEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN8UIButtonnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8UIButtonC2Ev(ptr noundef nonnull align 8 dereferenceable(516)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN8UIButtondlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UITextButton9SetRepeatEff(ptr noundef nonnull align 8 dereferenceable(280), float noundef, float noundef) #8 align 2

declare void @_ZN8UIButton13SetButtonQuadERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(516), ptr noundef nonnull align 8 dereferenceable(40)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UIStaticText7SetWrapEb(ptr noundef nonnull align 8 dereferenceable(213), i1 noundef zeroext) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12UIStaticText16SetTextAlignmentEN9UIElement10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(213), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7DebugUI14CreateComboBoxEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEERKN3JPH5ArrayINSt7__cxx1112basic_stringIcS4_NS8_12STLAllocatorIcEEEENSC_ISE_EEEEiSt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %4, ptr noundef %5) #4 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::function.21", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %class.UITexturedQuad, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %class.UITexturedQuad, align 8
  %23 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  %24 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %25 = call noundef ptr @_ZN17UIHorizontalStacknwEm(i64 noundef 152)
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 152, i1 false)
  invoke void @_ZN17UIHorizontalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149) %25)
          to label %26 unwind label %89

26:                                               ; preds = %6
  store ptr %25, ptr %13, align 8, !tbaa !5
  %27 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %27, i32 noundef 24, i32 noundef 0)
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %28, ptr noundef %29)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %30 = call noundef ptr @_ZN12UIStaticTextnwEm(i64 noundef 216)
  call void @llvm.memset.p0.i64(ptr align 8 %30, i8 0, i64 216, i1 false)
  invoke void @_ZN12UIStaticTextC2Ev(ptr noundef nonnull align 8 dereferenceable(213) %30)
          to label %31 unwind label %93

31:                                               ; preds = %26
  store ptr %30, ptr %16, align 8, !tbaa !5
  %32 = load ptr, ptr %16, align 8, !tbaa !5
  %33 = getelementptr inbounds %class.DebugUI, ptr %24, i32 0, i32 1
  %34 = call noundef ptr @_ZNK3JPH8RefConstI4FontEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %33)
  call void @_ZN12UIStaticText7SetFontEPK4Font(ptr noundef nonnull align 8 dereferenceable(213) %32, ptr noundef %34)
  %35 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN12UIStaticText14SetTextPaddingEiiii(ptr noundef nonnull align 8 dereferenceable(213) %35, i32 noundef 0, i32 noundef 24, i32 noundef 0, i32 noundef 0)
  %36 = load ptr, ptr %16, align 8, !tbaa !5
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN12UIStaticText7SetTextERKSt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(213) %36, ptr noundef nonnull align 8 dereferenceable(16) %37)
  %38 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %38, i32 noundef 20, i32 noundef 0)
  %39 = load ptr, ptr %13, align 8, !tbaa !5
  %40 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %39, ptr noundef %40)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %41 = call noundef ptr @_ZN10UIComboBoxnwEm(i64 noundef 232)
  call void @llvm.memset.p0.i64(ptr align 8 %41, i8 0, i64 232, i1 false)
  invoke void @_ZN10UIComboBoxC2Ev(ptr noundef nonnull align 8 dereferenceable(232) %41)
          to label %42 unwind label %97

42:                                               ; preds = %31
  store ptr %41, ptr %17, align 8, !tbaa !5
  %43 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN9UIElement9SetHeightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %43, i32 noundef 24, i32 noundef 0)
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN9UIElement8SetWidthEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %44, i32 noundef 250, i32 noundef 0)
  %45 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %45, i32 noundef 20, i32 noundef 0)
  %46 = load ptr, ptr %17, align 8, !tbaa !5
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN10UIComboBox8SetItemsERKN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEENS6_IS8_EEEE(ptr noundef nonnull align 8 dereferenceable(232) %46, ptr noundef nonnull align 8 dereferenceable(24) %47)
  %48 = load ptr, ptr %17, align 8, !tbaa !5
  %49 = load i32, ptr %11, align 4, !tbaa !9
  call void @_ZN10UIComboBox14SetCurrentItemEi(ptr noundef nonnull align 8 dereferenceable(232) %48, i32 noundef %49)
  %50 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZNSt8functionIFviEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %5)
  invoke void @_ZN10UIComboBox20SetItemChangedActionESt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(232) %50, ptr noundef %18)
          to label %51 unwind label %101

51:                                               ; preds = %42
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %52, ptr noundef %53)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %54 = call noundef ptr @_ZN8UIButtonnwEm(i64 noundef 520)
  call void @llvm.memset.p0.i64(ptr align 8 %54, i8 0, i64 520, i1 false)
  invoke void @_ZN8UIButtonC2Ev(ptr noundef nonnull align 8 dereferenceable(516) %54)
          to label %55 unwind label %105

55:                                               ; preds = %51
  store ptr %54, ptr %19, align 8, !tbaa !5
  %56 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN12UITextButton9SetRepeatEff(ptr noundef nonnull align 8 dereferenceable(280) %56, float noundef 5.000000e-01, float noundef 0x3FC99999A0000000)
  %57 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #9
  %58 = getelementptr inbounds %class.DebugUI, ptr %24, i32 0, i32 2
  %59 = call noundef ptr @_ZNK3JPH8RefConstI7TextureEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %58)
  call void @_ZN14UITexturedQuadC2EPK7Textureiiii(ptr noundef nonnull align 8 dereferenceable(40) %20, ptr noundef %59, i32 noundef 0, i32 noundef 31, i32 noundef 17, i32 noundef 21)
  invoke void @_ZN8UIButton13SetButtonQuadERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(516) %57, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %60 unwind label %109

60:                                               ; preds = %55
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #9
  %61 = load ptr, ptr %17, align 8, !tbaa !5
  %62 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %61, ptr noundef %62)
  %63 = load ptr, ptr %17, align 8, !tbaa !5
  %64 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN10UIComboBox17SetPreviousButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232) %63, ptr noundef %64)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %65 = call noundef ptr @_ZN8UIButtonnwEm(i64 noundef 520)
  call void @llvm.memset.p0.i64(ptr align 8 %65, i8 0, i64 520, i1 false)
  invoke void @_ZN8UIButtonC2Ev(ptr noundef nonnull align 8 dereferenceable(516) %65)
          to label %66 unwind label %113

66:                                               ; preds = %60
  store ptr %65, ptr %21, align 8, !tbaa !5
  %67 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_ZN12UITextButton9SetRepeatEff(ptr noundef nonnull align 8 dereferenceable(280) %67, float noundef 5.000000e-01, float noundef 0x3FC99999A0000000)
  %68 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #9
  %69 = getelementptr inbounds %class.DebugUI, ptr %24, i32 0, i32 2
  %70 = call noundef ptr @_ZNK3JPH8RefConstI7TextureEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %69)
  call void @_ZN14UITexturedQuadC2EPK7Textureiiii(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef %70, i32 noundef 13, i32 noundef 31, i32 noundef 17, i32 noundef 21)
  invoke void @_ZN8UIButton13SetButtonQuadERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(516) %68, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %71 unwind label %117

71:                                               ; preds = %66
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #9
  %72 = load ptr, ptr %17, align 8, !tbaa !5
  %73 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %72, ptr noundef %73)
  %74 = load ptr, ptr %17, align 8, !tbaa !5
  %75 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_ZN10UIComboBox13SetNextButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232) %74, ptr noundef %75)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %76 = call noundef ptr @_ZN12UIStaticTextnwEm(i64 noundef 216)
  call void @llvm.memset.p0.i64(ptr align 8 %76, i8 0, i64 216, i1 false)
  invoke void @_ZN12UIStaticTextC2Ev(ptr noundef nonnull align 8 dereferenceable(213) %76)
          to label %77 unwind label %121

77:                                               ; preds = %71
  store ptr %76, ptr %23, align 8, !tbaa !5
  %78 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZN12UIStaticText14SetTextPaddingEiiii(ptr noundef nonnull align 8 dereferenceable(213) %78, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 5)
  %79 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZN12UIStaticText7SetWrapEb(ptr noundef nonnull align 8 dereferenceable(213) %79, i1 noundef zeroext false)
  %80 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZN12UIStaticText16SetTextAlignmentEN9UIElement10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(213) %80, i32 noundef 2)
  %81 = load ptr, ptr %23, align 8, !tbaa !5
  %82 = getelementptr inbounds %class.DebugUI, ptr %24, i32 0, i32 1
  %83 = call noundef ptr @_ZNK3JPH8RefConstI4FontEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %82)
  call void @_ZN12UIStaticText7SetFontEPK4Font(ptr noundef nonnull align 8 dereferenceable(213) %81, ptr noundef %83)
  %84 = load ptr, ptr %17, align 8, !tbaa !5
  %85 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %84, ptr noundef %85)
  %86 = load ptr, ptr %17, align 8, !tbaa !5
  %87 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZN10UIComboBox13SetStaticTextEP12UIStaticText(ptr noundef nonnull align 8 dereferenceable(232) %86, ptr noundef %87)
  %88 = load ptr, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  ret ptr %88

89:                                               ; preds = %6
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %14, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %15, align 4
  call void @_ZN17UIHorizontalStackdlEPv(ptr noundef %25) #9
  br label %129

93:                                               ; preds = %26
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %14, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %15, align 4
  call void @_ZN12UIStaticTextdlEPv(ptr noundef %30) #9
  br label %128

97:                                               ; preds = %31
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %14, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %15, align 4
  call void @_ZN10UIComboBoxdlEPv(ptr noundef %41) #9
  br label %127

101:                                              ; preds = %42
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %14, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %15, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %127

105:                                              ; preds = %51
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %14, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %15, align 4
  call void @_ZN8UIButtondlEPv(ptr noundef %54) #9
  br label %126

109:                                              ; preds = %55
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %14, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %15, align 4
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #9
  br label %126

113:                                              ; preds = %60
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %14, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %15, align 4
  call void @_ZN8UIButtondlEPv(ptr noundef %65) #9
  br label %125

117:                                              ; preds = %66
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %14, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %15, align 4
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #9
  br label %125

121:                                              ; preds = %71
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %14, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %15, align 4
  call void @_ZN12UIStaticTextdlEPv(ptr noundef %76) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %125

125:                                              ; preds = %121, %117, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %126

126:                                              ; preds = %125, %109, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %127

127:                                              ; preds = %126, %101, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %128

128:                                              ; preds = %127, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %129

129:                                              ; preds = %128, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %130

130:                                              ; preds = %129
  %131 = load ptr, ptr %14, align 8
  %132 = load i32, ptr %15, align 4
  %133 = insertvalue { ptr, i32 } poison, ptr %131, 0
  %134 = insertvalue { ptr, i32 } %133, i32 %132, 1
  resume { ptr, i32 } %134
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN10UIComboBoxnwEm(i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10UIComboBoxC2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBoxdlEPv(ptr noundef) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10UIComboBox8SetItemsERKN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEENS6_IS8_EEEE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBox14SetCurrentItemEi(ptr noundef nonnull align 8 dereferenceable(232), i32 noundef) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10UIComboBox20SetItemChangedActionESt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt8functionIFviEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBox17SetPreviousButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBox13SetNextButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10UIComboBox13SetStaticTextEP12UIStaticText(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #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 = { 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 #5 = { alwaysinline 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 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 = { alwaysinline 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 = { 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 #9 = { 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 = !{!"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"

%"class.std::function.21" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.UITexturedQuad = type { %"class.JPH::RefConst.0", i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.JPH::RefConst.0" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

declare void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN12UIStaticTextnwEm(i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN12UIStaticTextC2Ev(ptr noundef nonnull align 8 dereferenceable(213)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN12UIStaticTextdlEPv(ptr noundef) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12UIStaticText7SetFontEPK4Font(ptr noundef nonnull align 8 dereferenceable(213), ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UIStaticText14SetTextPaddingEiiii(ptr noundef nonnull align 8 dereferenceable(213), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14UITexturedQuadC2EPK7Textureiiii(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN17UIHorizontalStacknwEm(i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN17UIHorizontalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN17UIHorizontalStackdlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement9SetHeightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement8SetWidthEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN8UIButtonnwEm(i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8UIButtonC2Ev(ptr noundef nonnull align 8 dereferenceable(516)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN8UIButtondlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UITextButton9SetRepeatEff(ptr noundef nonnull align 8 dereferenceable(280), float noundef, float noundef) local_unnamed_addr #8 align 2

declare void @_ZN8UIButton13SetButtonQuadERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(516), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12UIStaticText7SetWrapEb(ptr noundef nonnull align 8 dereferenceable(213), i1 noundef zeroext) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12UIStaticText16SetTextAlignmentEN9UIElement10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(213), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7DebugUI14CreateComboBoxEP9UIElementRKSt17basic_string_viewIcSt11char_traitsIcEERKN3JPH5ArrayINSt7__cxx1112basic_stringIcS4_NS8_12STLAllocatorIcEEEENSC_ISE_EEEEiSt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::function.21", align 8
  %8 = alloca %class.UITexturedQuad, align 8
  %9 = alloca %class.UITexturedQuad, align 8
  %10 = tail call noundef ptr @_ZN17UIHorizontalStacknwEm(i64 noundef 152)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %10, i8 0, i64 152, i1 false)
  invoke void @_ZN17UIHorizontalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149) %10)
          to label %11 unwind label %31

11:                                               ; preds = %6
  tail call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %10, i32 noundef 24, i32 noundef 0)
  tail call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %1, ptr noundef nonnull %10)
  %12 = tail call noundef ptr @_ZN12UIStaticTextnwEm(i64 noundef 216)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(216) %12, i8 0, i64 216, i1 false)
  invoke void @_ZN12UIStaticTextC2Ev(ptr noundef nonnull align 8 dereferenceable(213) %12)
          to label %13 unwind label %33

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %15 = tail call noundef ptr @_ZNK3JPH8RefConstI4FontEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  tail call void @_ZN12UIStaticText7SetFontEPK4Font(ptr noundef nonnull align 8 dereferenceable(213) %12, ptr noundef %15)
  tail call void @_ZN12UIStaticText14SetTextPaddingEiiii(ptr noundef nonnull align 8 dereferenceable(213) %12, i32 noundef 0, i32 noundef 24, i32 noundef 0, i32 noundef 0)
  tail call void @_ZN12UIStaticText7SetTextERKSt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(213) %12, ptr noundef nonnull align 8 dereferenceable(16) %2)
  tail call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %12, i32 noundef 20, i32 noundef 0)
  tail call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %10, ptr noundef nonnull %12)
  %16 = tail call noundef ptr @_ZN10UIComboBoxnwEm(i64 noundef 232)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(232) %16, i8 0, i64 232, i1 false)
  invoke void @_ZN10UIComboBoxC2Ev(ptr noundef nonnull align 8 dereferenceable(232) %16)
          to label %17 unwind label %35

17:                                               ; preds = %13
  tail call void @_ZN9UIElement9SetHeightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %16, i32 noundef 24, i32 noundef 0)
  tail call void @_ZN9UIElement8SetWidthEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %16, i32 noundef 250, i32 noundef 0)
  tail call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %16, i32 noundef 20, i32 noundef 0)
  tail call void @_ZN10UIComboBox8SetItemsERKN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEENS6_IS8_EEEE(ptr noundef nonnull align 8 dereferenceable(232) %16, ptr noundef nonnull align 8 dereferenceable(24) %3)
  tail call void @_ZN10UIComboBox14SetCurrentItemEi(ptr noundef nonnull align 8 dereferenceable(232) %16, i32 noundef %4)
  call void @_ZNSt8functionIFviEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %5)
  invoke void @_ZN10UIComboBox20SetItemChangedActionESt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(232) %16, ptr noundef nonnull %7)
          to label %18 unwind label %37

18:                                               ; preds = %17
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %10, ptr noundef nonnull %16)
  %19 = call noundef ptr @_ZN8UIButtonnwEm(i64 noundef 520)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(520) %19, i8 0, i64 520, i1 false)
  invoke void @_ZN8UIButtonC2Ev(ptr noundef nonnull align 8 dereferenceable(516) %19)
          to label %20 unwind label %39

20:                                               ; preds = %18
  call void @_ZN12UITextButton9SetRepeatEff(ptr noundef nonnull align 8 dereferenceable(280) %19, float noundef 5.000000e-01, float noundef 0x3FC99999A0000000)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #9
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  %22 = call noundef ptr @_ZNK3JPH8RefConstI7TextureEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @_ZN14UITexturedQuadC2EPK7Textureiiii(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef %22, i32 noundef 0, i32 noundef 31, i32 noundef 17, i32 noundef 21)
  invoke void @_ZN8UIButton13SetButtonQuadERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(516) %19, ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %23 unwind label %41

23:                                               ; preds = %20
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #9
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %16, ptr noundef nonnull %19)
  call void @_ZN10UIComboBox17SetPreviousButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232) %16, ptr noundef nonnull %19)
  %24 = call noundef ptr @_ZN8UIButtonnwEm(i64 noundef 520)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(520) %24, i8 0, i64 520, i1 false)
  invoke void @_ZN8UIButtonC2Ev(ptr noundef nonnull align 8 dereferenceable(516) %24)
          to label %25 unwind label %43

25:                                               ; preds = %23
  call void @_ZN12UITextButton9SetRepeatEff(ptr noundef nonnull align 8 dereferenceable(280) %24, float noundef 5.000000e-01, float noundef 0x3FC99999A0000000)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #9
  %26 = call noundef ptr @_ZNK3JPH8RefConstI7TextureEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @_ZN14UITexturedQuadC2EPK7Textureiiii(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %26, i32 noundef 13, i32 noundef 31, i32 noundef 17, i32 noundef 21)
  invoke void @_ZN8UIButton13SetButtonQuadERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(516) %24, ptr noundef nonnull align 8 dereferenceable(40) %9)
          to label %27 unwind label %45

27:                                               ; preds = %25
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #9
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %16, ptr noundef nonnull %24)
  call void @_ZN10UIComboBox13SetNextButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232) %16, ptr noundef nonnull %24)
  %28 = call noundef ptr @_ZN12UIStaticTextnwEm(i64 noundef 216)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(216) %28, i8 0, i64 216, i1 false)
  invoke void @_ZN12UIStaticTextC2Ev(ptr noundef nonnull align 8 dereferenceable(213) %28)
          to label %29 unwind label %47

29:                                               ; preds = %27
  call void @_ZN12UIStaticText14SetTextPaddingEiiii(ptr noundef nonnull align 8 dereferenceable(213) %28, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 5)
  call void @_ZN12UIStaticText7SetWrapEb(ptr noundef nonnull align 8 dereferenceable(213) %28, i1 noundef zeroext false)
  call void @_ZN12UIStaticText16SetTextAlignmentEN9UIElement10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(213) %28, i32 noundef 2)
  %30 = call noundef ptr @_ZNK3JPH8RefConstI4FontEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @_ZN12UIStaticText7SetFontEPK4Font(ptr noundef nonnull align 8 dereferenceable(213) %28, ptr noundef %30)
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %16, ptr noundef nonnull %28)
  call void @_ZN10UIComboBox13SetStaticTextEP12UIStaticText(ptr noundef nonnull align 8 dereferenceable(232) %16, ptr noundef nonnull %28)
  ret ptr %16

31:                                               ; preds = %6
  %32 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN17UIHorizontalStackdlEPv(ptr noundef nonnull %10) #9
  br label %49

33:                                               ; preds = %11
  %34 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN12UIStaticTextdlEPv(ptr noundef nonnull %12) #9
  br label %49

35:                                               ; preds = %13
  %36 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN10UIComboBoxdlEPv(ptr noundef nonnull %16) #9
  br label %49

37:                                               ; preds = %17
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  br label %49

39:                                               ; preds = %18
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8UIButtondlEPv(ptr noundef nonnull %19) #9
  br label %49

41:                                               ; preds = %20
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #9
  br label %49

43:                                               ; preds = %23
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8UIButtondlEPv(ptr noundef nonnull %24) #9
  br label %49

45:                                               ; preds = %25
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #9
  br label %49

47:                                               ; preds = %27
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12UIStaticTextdlEPv(ptr noundef nonnull %28) #9
  br label %49

49:                                               ; preds = %33, %39, %41, %47, %45, %43, %37, %35, %31
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %32, %31 ], [ %34, %33 ], [ %38, %37 ], [ %36, %35 ], [ %42, %41 ], [ %40, %39 ], [ %48, %47 ], [ %46, %45 ], [ %44, %43 ]
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN10UIComboBoxnwEm(i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10UIComboBoxC2Ev(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBoxdlEPv(ptr noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10UIComboBox8SetItemsERKN3JPH5ArrayINSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEENS6_IS8_EEEE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBox14SetCurrentItemEi(ptr noundef nonnull align 8 dereferenceable(232), i32 noundef) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10UIComboBox20SetItemChangedActionESt8functionIFviEE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt8functionIFviEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBox17SetPreviousButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10UIComboBox13SetNextButtonEP8UIButton(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10UIComboBox13SetStaticTextEP12UIStaticText(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #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 = { 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 #5 = { alwaysinline 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 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 = { alwaysinline 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 = { 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 #9 = { 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)"}


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