; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/juce_gui_basics.ll (ZNK4juce8KeyPress18getTextDescriptionEv)

; 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.juce::KeyPressHelpers::KeyNameAndCode" = type { ptr, i32 }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::KeyPress" = type { i32, %"class.juce::ModifierKeys", i32 }
%"class.juce::ModifierKeys" = type { i32 }

@_ZN4juce15KeyPressHelpersL12translationsE = external hidden constant [19 x %"struct.juce::KeyPressHelpers::KeyNameAndCode"], align 16
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind
declare void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

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

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #3

; Function Attrs: nounwind
declare noundef signext i32 @_ZN4juce18CharacterFunctions11toUpperCaseEw(i32 noundef signext) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce8KeyPress18getTextDescriptionEv(ptr dead_on_unwind noalias writable sret(%"class.juce::String") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::String", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.juce::String", align 8
  %11 = alloca %"class.juce::String", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %13 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %14 = load i32, ptr %13, align 4, !tbaa !9
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %16, label %231

16:                                               ; preds = %2
  %17 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 2
  %18 = load i32, ptr %17, align 4, !tbaa !14
  %19 = icmp eq i32 %18, 47
  br i1 %19, label %20, label %30

20:                                               ; preds = %16
  %21 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %22 = load i32, ptr %21, align 4, !tbaa !9
  %23 = icmp ne i32 %22, 268435631
  br i1 %23, label %24, label %30

24:                                               ; preds = %20
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef @.str.8)
          to label %25 unwind label %26

25:                                               ; preds = %24
  store i32 1, ptr %8, align 4
  br label %232

26:                                               ; preds = %204, %201, %198, %191, %188, %181, %178, %171, %168, %161, %158, %151, %148, %141, %138, %128, %114, %111, %96, %94, %45, %39, %33, %24
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %6, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %7, align 4
  br label %233

30:                                               ; preds = %20, %16
  %31 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 1
  %32 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys10isCtrlDownEv(ptr noundef nonnull align 4 dereferenceable(4) %31) #6
  br i1 %32, label %33, label %36

33:                                               ; preds = %30
  %34 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef @.str.9)
          to label %35 unwind label %26

35:                                               ; preds = %33
  br label %36

36:                                               ; preds = %35, %30
  %37 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 1
  %38 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys11isShiftDownEv(ptr noundef nonnull align 4 dereferenceable(4) %37) #6
  br i1 %38, label %39, label %42

39:                                               ; preds = %36
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef @.str.10)
          to label %41 unwind label %26

41:                                               ; preds = %39
  br label %42

42:                                               ; preds = %41, %36
  %43 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 1
  %44 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys9isAltDownEv(ptr noundef nonnull align 4 dereferenceable(4) %43) #6
  br i1 %44, label %45, label %48

45:                                               ; preds = %42
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef @.str.11)
          to label %47 unwind label %26

47:                                               ; preds = %45
  br label %48

48:                                               ; preds = %47, %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !15
  br label %49

49:                                               ; preds = %80, %48
  %50 = load i32, ptr %9, align 4, !tbaa !15
  %51 = invoke noundef i32 @_ZN4juce18numElementsInArrayIKNS_15KeyPressHelpers14KeyNameAndCodeELi19EEEiRAT0__T_(ptr noundef nonnull align 8 dereferenceable(304) @_ZN4juce15KeyPressHelpersL12translationsE)
          to label %52 unwind label %55

52:                                               ; preds = %49
  %53 = icmp slt i32 %50, %51
  br i1 %53, label %59, label %54

54:                                               ; preds = %52
  store i32 2, ptr %8, align 4
  br label %83

55:                                               ; preds = %49
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %6, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %7, align 4
  br label %85

59:                                               ; preds = %52
  %60 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = load i32, ptr %9, align 4, !tbaa !15
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [19 x %"struct.juce::KeyPressHelpers::KeyNameAndCode"], ptr @_ZN4juce15KeyPressHelpersL12translationsE, i64 0, i64 %63
  %65 = getelementptr inbounds %"struct.juce::KeyPressHelpers::KeyNameAndCode", ptr %64, i32 0, i32 1
  %66 = load i32, ptr %65, align 8, !tbaa !16
  %67 = icmp eq i32 %61, %66
  br i1 %67, label %68, label %79

68:                                               ; preds = %59
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %69 = load i32, ptr %9, align 4, !tbaa !15
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [19 x %"struct.juce::KeyPressHelpers::KeyNameAndCode"], ptr @_ZN4juce15KeyPressHelpersL12translationsE, i64 0, i64 %70
  %72 = getelementptr inbounds %"struct.juce::KeyPressHelpers::KeyNameAndCode", ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 16, !tbaa !18
  invoke void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %0, ptr noundef %10, ptr noundef %73)
          to label %74 unwind label %75

74:                                               ; preds = %68
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  store i32 1, ptr %8, align 4
  br label %83

75:                                               ; preds = %68
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %6, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %7, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br label %85

79:                                               ; preds = %59
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %9, align 4, !tbaa !15
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %9, align 4, !tbaa !15
  br label %49, !llvm.loop !19

83:                                               ; preds = %74, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %84 = load i32, ptr %8, align 4
  switch i32 %84, label %232 [
    i32 2, label %86
  ]

85:                                               ; preds = %75, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %233

86:                                               ; preds = %83
  %87 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %88 = load i32, ptr %87, align 4, !tbaa !9
  %89 = icmp sge i32 %88, 268435646
  br i1 %89, label %90, label %103

90:                                               ; preds = %86
  %91 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %92 = load i32, ptr %91, align 4, !tbaa !9
  %93 = icmp sle i32 %92, 268435661
  br i1 %93, label %94, label %103

94:                                               ; preds = %90
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef signext 70)
          to label %96 unwind label %26

96:                                               ; preds = %94
  %97 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = add nsw i32 1, %98
  %100 = sub nsw i32 %99, 268435646
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(8) %95, i32 noundef %100)
          to label %102 unwind label %26

102:                                              ; preds = %96
  br label %230

103:                                              ; preds = %90, %86
  %104 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = icmp sge i32 %105, 268435632
  br i1 %106, label %107, label %120

107:                                              ; preds = %103
  %108 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = icmp sle i32 %109, 268435641
  br i1 %110, label %111, label %120

111:                                              ; preds = %107
  %112 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %112)
          to label %114 unwind label %26

114:                                              ; preds = %111
  %115 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %116 = load i32, ptr %115, align 4, !tbaa !9
  %117 = sub nsw i32 %116, 268435632
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(8) %113, i32 noundef %117)
          to label %119 unwind label %26

119:                                              ; preds = %114
  br label %229

120:                                              ; preds = %107, %103
  %121 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = icmp sge i32 %122, 33
  br i1 %123, label %124, label %134

124:                                              ; preds = %120
  %125 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %126 = load i32, ptr %125, align 4, !tbaa !9
  %127 = icmp slt i32 %126, 176
  br i1 %127, label %128, label %134

128:                                              ; preds = %124
  %129 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = call noundef signext i32 @_ZN4juce18CharacterFunctions11toUpperCaseEw(i32 noundef signext %130) #6
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringpLEw(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef signext %131)
          to label %133 unwind label %26

133:                                              ; preds = %128
  br label %228

134:                                              ; preds = %124, %120
  %135 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = icmp eq i32 %136, 268435627
  br i1 %137, label %138, label %144

138:                                              ; preds = %134
  %139 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %139)
          to label %141 unwind label %26

141:                                              ; preds = %138
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %140, i8 noundef signext 43)
          to label %143 unwind label %26

143:                                              ; preds = %141
  br label %227

144:                                              ; preds = %134
  %145 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %146 = load i32, ptr %145, align 4, !tbaa !9
  %147 = icmp eq i32 %146, 268435629
  br i1 %147, label %148, label %154

148:                                              ; preds = %144
  %149 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %149)
          to label %151 unwind label %26

151:                                              ; preds = %148
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %150, i8 noundef signext 45)
          to label %153 unwind label %26

153:                                              ; preds = %151
  br label %226

154:                                              ; preds = %144
  %155 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %156 = load i32, ptr %155, align 4, !tbaa !9
  %157 = icmp eq i32 %156, 268435626
  br i1 %157, label %158, label %164

158:                                              ; preds = %154
  %159 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %159)
          to label %161 unwind label %26

161:                                              ; preds = %158
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %160, i8 noundef signext 42)
          to label %163 unwind label %26

163:                                              ; preds = %161
  br label %225

164:                                              ; preds = %154
  %165 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %166 = load i32, ptr %165, align 4, !tbaa !9
  %167 = icmp eq i32 %166, 268435631
  br i1 %167, label %168, label %174

168:                                              ; preds = %164
  %169 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %169)
          to label %171 unwind label %26

171:                                              ; preds = %168
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %170, i8 noundef signext 47)
          to label %173 unwind label %26

173:                                              ; preds = %171
  br label %224

174:                                              ; preds = %164
  %175 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = icmp eq i32 %176, 268435628
  br i1 %177, label %178, label %184

178:                                              ; preds = %174
  %179 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %179)
          to label %181 unwind label %26

181:                                              ; preds = %178
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %180, ptr noundef @.str.12)
          to label %183 unwind label %26

183:                                              ; preds = %181
  br label %223

184:                                              ; preds = %174
  %185 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %186 = load i32, ptr %185, align 4, !tbaa !9
  %187 = icmp eq i32 %186, 268435630
  br i1 %187, label %188, label %194

188:                                              ; preds = %184
  %189 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %189)
          to label %191 unwind label %26

191:                                              ; preds = %188
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %190, i8 noundef signext 46)
          to label %193 unwind label %26

193:                                              ; preds = %191
  br label %222

194:                                              ; preds = %184
  %195 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %196 = load i32, ptr %195, align 4, !tbaa !9
  %197 = icmp eq i32 %196, 268435615
  br i1 %197, label %198, label %204

198:                                              ; preds = %194
  %199 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %199)
          to label %201 unwind label %26

201:                                              ; preds = %198
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %200, ptr noundef @.str.13)
          to label %203 unwind label %26

203:                                              ; preds = %201
  br label %221

204:                                              ; preds = %194
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %5, i8 noundef signext 35)
          to label %206 unwind label %26

206:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %207 = getelementptr inbounds %"class.juce::KeyPress", ptr %12, i32 0, i32 0
  %208 = load i32, ptr %207, align 4, !tbaa !9
  invoke void @_ZN4juce6String11toHexStringEi(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %11, i32 noundef %208)
          to label %209 unwind label %212

209:                                              ; preds = %206
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %211 unwind label %216

211:                                              ; preds = %209
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %221

212:                                              ; preds = %206
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %6, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %7, align 4
  br label %220

216:                                              ; preds = %209
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %6, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %7, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %220

220:                                              ; preds = %216, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %233

221:                                              ; preds = %211, %203
  br label %222

222:                                              ; preds = %221, %193
  br label %223

223:                                              ; preds = %222, %183
  br label %224

224:                                              ; preds = %223, %173
  br label %225

225:                                              ; preds = %224, %163
  br label %226

226:                                              ; preds = %225, %153
  br label %227

227:                                              ; preds = %226, %143
  br label %228

228:                                              ; preds = %227, %133
  br label %229

229:                                              ; preds = %228, %119
  br label %230

230:                                              ; preds = %229, %102
  br label %231

231:                                              ; preds = %230, %2
  call void @_ZN4juce6StringC1EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  store i32 1, ptr %8, align 4
  br label %232

232:                                              ; preds = %231, %83, %25
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

233:                                              ; preds = %220, %85, %26
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %234

234:                                              ; preds = %233
  %235 = load ptr, ptr %6, align 8
  %236 = load i32, ptr %7, align 4
  %237 = insertvalue { ptr, i32 } poison, ptr %235, 0
  %238 = insertvalue { ptr, i32 } %237, i32 %236, 1
  resume { ptr, i32 } %238
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys10isCtrlDownEv(ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys11isShiftDownEv(ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys9isAltDownEv(ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

declare void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef, ptr noundef) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringpLEw(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef signext) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

declare void @_ZN4juce6String11toHexStringEi(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, i32 noundef) #3

; Function Attrs: nounwind
declare void @_ZN4juce6StringC1EOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 #6 = { 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, !11, i64 0}
!10 = !{!"_ZTSN4juce8KeyPressE", !11, i64 0, !12, i64 4, !13, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN4juce12ModifierKeysE", !11, i64 0}
!13 = !{!"wchar_t", !7, i64 0}
!14 = !{!10, !13, i64 8}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 8}
!17 = !{!"_ZTSN4juce15KeyPressHelpers14KeyNameAndCodeE", !6, i64 0, !11, i64 8}
!18 = !{!17, !6, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"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"

%"struct.juce::KeyPressHelpers::KeyNameAndCode" = type { ptr, i32 }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }

@_ZN4juce15KeyPressHelpersL12translationsE = external hidden constant [19 x %"struct.juce::KeyPressHelpers::KeyNameAndCode"], align 16
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind
declare void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

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

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #3

; Function Attrs: nounwind
declare noundef signext i32 @_ZN4juce18CharacterFunctions11toUpperCaseEw(i32 noundef signext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce8KeyPress18getTextDescriptionEv(ptr dead_on_unwind noalias writable sret(%"class.juce::String") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::String", align 8
  %4 = alloca %"class.juce::String", align 8
  %5 = alloca %"class.juce::String", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %6 = load i32, ptr %1, align 4, !tbaa !5
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %8, label %101

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = load i32, ptr %9, align 4, !tbaa !12
  %11 = icmp ne i32 %10, 47
  %.not = icmp eq i32 %6, 268435631
  %or.cond = or i1 %.not, %11
  br i1 %or.cond, label %15, label %12

12:                                               ; preds = %8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.8)
          to label %102 unwind label %13

13:                                               ; preds = %.invoke29, %.invoke28, %.invoke, %89, %83, %77, %74, %71, %68, %65, %62, %58, %49, %45, %26, %22, %18, %12
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %103

15:                                               ; preds = %8
  %16 = getelementptr inbounds i8, ptr %1, i64 4
  %17 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys10isCtrlDownEv(ptr noundef nonnull align 4 dereferenceable(4) %16) #6
  br i1 %17, label %18, label %20

18:                                               ; preds = %15
  %19 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.9)
          to label %20 unwind label %13

20:                                               ; preds = %18, %15
  %21 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys11isShiftDownEv(ptr noundef nonnull align 4 dereferenceable(4) %16) #6
  br i1 %21, label %22, label %24

22:                                               ; preds = %20
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.10)
          to label %24 unwind label %13

24:                                               ; preds = %22, %20
  %25 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys9isAltDownEv(ptr noundef nonnull align 4 dereferenceable(4) %16) #6
  br i1 %25, label %26, label %28

26:                                               ; preds = %24
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str.11)
          to label %28 unwind label %13

28:                                               ; preds = %26, %24
  %29 = call noundef i32 @_ZN4juce18numElementsInArrayIKNS_15KeyPressHelpers14KeyNameAndCodeELi19EEEiRAT0__T_(ptr noundef nonnull align 8 dereferenceable(304) @_ZN4juce15KeyPressHelpersL12translationsE)
  %.not1623 = icmp sgt i32 %29, 0
  br i1 %.not1623, label %.lr.ph, label %.critedge

30:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %31 = call noundef i32 @_ZN4juce18numElementsInArrayIKNS_15KeyPressHelpers14KeyNameAndCodeELi19EEEiRAT0__T_(ptr noundef nonnull align 8 dereferenceable(304) @_ZN4juce15KeyPressHelpersL12translationsE)
  %32 = sext i32 %31 to i64
  %.not16 = icmp slt i64 %indvars.iv.next, %32
  br i1 %.not16, label %.lr.ph, label %.critedge, !llvm.loop !13

.lr.ph:                                           ; preds = %28, %30
  %indvars.iv = phi i64 [ %indvars.iv.next, %30 ], [ 0, %28 ]
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %34 = getelementptr inbounds [19 x %"struct.juce::KeyPressHelpers::KeyNameAndCode"], ptr @_ZN4juce15KeyPressHelpersL12translationsE, i64 0, i64 %indvars.iv
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = load i32, ptr %35, align 8, !tbaa !15
  %37 = icmp eq i32 %33, %36
  br i1 %37, label %38, label %30

38:                                               ; preds = %.lr.ph
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %39 = load ptr, ptr %34, align 16, !tbaa !18
  invoke void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %0, ptr noundef nonnull %4, ptr noundef %39)
          to label %40 unwind label %41

40:                                               ; preds = %38
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %102

41:                                               ; preds = %38
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %103

.critedge:                                        ; preds = %30, %28
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = add i32 %43, -268435646
  %or.cond20 = icmp ult i32 %44, 16
  br i1 %or.cond20, label %45, label %47

45:                                               ; preds = %.critedge
  %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %3, i8 noundef signext 70)
          to label %.invoke29 unwind label %13

47:                                               ; preds = %.critedge
  %48 = add i32 %43, -268435632
  %or.cond21 = icmp ult i32 %48, 10
  br i1 %or.cond21, label %49, label %56

49:                                               ; preds = %47
  %50 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %50)
          to label %.invoke29 unwind label %13

.invoke29:                                        ; preds = %49, %45
  %.sink30 = phi i32 [ -268435645, %45 ], [ -268435632, %49 ]
  %52 = phi ptr [ %46, %45 ], [ %51, %49 ]
  %53 = load i32, ptr %1, align 4, !tbaa !5
  %54 = add nsw i32 %53, %.sink30
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(8) %52, i32 noundef %54)
          to label %101 unwind label %13

56:                                               ; preds = %47
  %57 = add i32 %43, -33
  %or.cond22 = icmp ult i32 %57, 143
  br i1 %or.cond22, label %58, label %61

58:                                               ; preds = %56
  %59 = call noundef signext i32 @_ZN4juce18CharacterFunctions11toUpperCaseEw(i32 noundef signext %43) #6
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringpLEw(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef signext %59)
          to label %101 unwind label %13

61:                                               ; preds = %56
  switch i32 %43, label %89 [
    i32 268435627, label %62
    i32 268435629, label %65
    i32 268435626, label %68
    i32 268435631, label %71
    i32 268435628, label %74
    i32 268435630, label %77
    i32 268435615, label %83
  ]

62:                                               ; preds = %61
  %63 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %63)
          to label %.invoke28 unwind label %13

65:                                               ; preds = %61
  %66 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %66)
          to label %.invoke28 unwind label %13

68:                                               ; preds = %61
  %69 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %69)
          to label %.invoke28 unwind label %13

71:                                               ; preds = %61
  %72 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %72)
          to label %.invoke28 unwind label %13

74:                                               ; preds = %61
  %75 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %75)
          to label %.invoke unwind label %13

77:                                               ; preds = %61
  %78 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %78)
          to label %.invoke28 unwind label %13

.invoke28:                                        ; preds = %77, %71, %68, %65, %62
  %80 = phi ptr [ %64, %62 ], [ %67, %65 ], [ %70, %68 ], [ %73, %71 ], [ %79, %77 ]
  %81 = phi i8 [ 43, %62 ], [ 45, %65 ], [ 42, %68 ], [ 47, %71 ], [ 46, %77 ]
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %80, i8 noundef signext %81)
          to label %101 unwind label %13

83:                                               ; preds = %61
  %84 = call noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() #6
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %84)
          to label %.invoke unwind label %13

.invoke:                                          ; preds = %83, %74
  %86 = phi ptr [ %76, %74 ], [ %85, %83 ]
  %87 = phi ptr [ @.str.12, %74 ], [ @.str.13, %83 ]
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull %87)
          to label %101 unwind label %13

89:                                               ; preds = %61
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8) %3, i8 noundef signext 35)
          to label %91 unwind label %13

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %92 = load i32, ptr %1, align 4, !tbaa !5
  invoke void @_ZN4juce6String11toHexStringEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %5, i32 noundef %92)
          to label %93 unwind label %96

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %95 unwind label %98

95:                                               ; preds = %93
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %101

96:                                               ; preds = %91
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %93
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br label %100

100:                                              ; preds = %98, %96
  %.pn = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %103

101:                                              ; preds = %.invoke29, %.invoke28, %.invoke, %58, %95, %2
  call void @_ZN4juce6StringC1EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br label %102

102:                                              ; preds = %40, %12, %101
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret void

103:                                              ; preds = %100, %41, %13
  %.pn18 = phi { ptr, i32 } [ %14, %13 ], [ %.pn, %100 ], [ %42, %41 ]
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn18
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys10isCtrlDownEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys11isShiftDownEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys9isAltDownEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

declare void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef, ptr noundef) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringEc(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN4juce15KeyPressHelpersL15numberPadPrefixEv() local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringpLEw(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef signext) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jucelsERNS_6StringERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN4juce6String11toHexStringEi(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce6StringC1EOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 #6 = { 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 = !{!"_ZTSN4juce8KeyPressE", !7, i64 0, !10, i64 4, !11, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4juce12ModifierKeysE", !7, i64 0}
!11 = !{!"wchar_t", !8, i64 0}
!12 = !{!6, !11, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !7, i64 8}
!16 = !{!"_ZTSN4juce15KeyPressHelpers14KeyNameAndCodeE", !17, i64 0, !7, i64 8}
!17 = !{!"any pointer", !8, i64 0}
!18 = !{!16, !17, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass