; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_gui_extra)

; 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::CodeEditorComponent::ColourScheme::TokenType" = type <{ %"class.juce::String", %"class.juce::Colour", [4 x i8] }>
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.92 }
%union.anon.92 = type { i32 }
%"struct.juce::CodeEditorComponent::ColourScheme" = type { %"class.juce::Array.70" }
%"class.juce::Array.70" = type { %"class.juce::ArrayAllocationBase.71", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.71" = type <{ %"class.juce::HeapBlock.72", i32, [4 x i8] }>
%"class.juce::HeapBlock.72" = type { ptr }

@__dso_handle = external hidden global i8
@.str.35 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types = external hidden global [10 x %"struct.juce::CodeEditorComponent::ColourScheme::TokenType"], align 16
@_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types = external hidden global i64, align 8

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

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

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) #1

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

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

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #4

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

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12LuaTokeniser22getDefaultColourSchemeEv(ptr dead_on_unwind noalias writable sret(%"struct.juce::CodeEditorComponent::ColourScheme") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i1, align 1
  %9 = alloca i32, align 4
  %10 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8
  %12 = load atomic i8, ptr @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types acquire, align 8
  %13 = icmp eq i8 %12, 0
  br i1 %13, label %14, label %29, !prof !9

14:                                               ; preds = %2
  %15 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types) #0
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %29

17:                                               ; preds = %14
  store ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, ptr noundef @.str.35)
          to label %18 unwind label %35

18:                                               ; preds = %17
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i32 0, i32 1), i32 noundef -3407872) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 1), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 1), ptr noundef @.str.36)
          to label %19 unwind label %35

19:                                               ; preds = %18
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 1), i32 0, i32 1), i32 noundef -12829636) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 2), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 2), ptr noundef @.str.37)
          to label %20 unwind label %35

20:                                               ; preds = %19
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 2), i32 0, i32 1), i32 noundef -16777012) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 3), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 3), ptr noundef @.str.38)
          to label %21 unwind label %35

21:                                               ; preds = %20
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 3), i32 0, i32 1), i32 noundef -14527232) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 4), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 4), ptr noundef @.str.39)
          to label %22 unwind label %35

22:                                               ; preds = %21
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 4), i32 0, i32 1), i32 noundef -16777216) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 5), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 5), ptr noundef @.str.40)
          to label %23 unwind label %35

23:                                               ; preds = %22
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 5), i32 0, i32 1), i32 noundef -7864320) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 6), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 6), ptr noundef @.str.41)
          to label %24 unwind label %35

24:                                               ; preds = %23
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 6), i32 0, i32 1), i32 noundef -7842560) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 7), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 7), ptr noundef @.str.42)
          to label %25 unwind label %35

25:                                               ; preds = %24
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 7), i32 0, i32 1), i32 noundef -6750055) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 8), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 8), ptr noundef @.str.43)
          to label %26 unwind label %35

26:                                               ; preds = %25
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 8), i32 0, i32 1), i32 noundef -16777131) #0
  store ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 9), ptr %5, align 8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 9), ptr noundef @.str.44)
          to label %27 unwind label %35

27:                                               ; preds = %26
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr getelementptr inbounds (%"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 9), i32 0, i32 1), i32 noundef -16759808) #0
  %28 = call i32 @__cxa_atexit(ptr @__cxx_global_array_dtor, ptr null, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types) #0
  br label %29

29:                                               ; preds = %27, %14, %2
  store i1 false, ptr %8, align 1
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #0
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #0
  store i32 0, ptr %9, align 4, !tbaa !10
  br label %30

30:                                               ; preds = %56, %29
  %31 = load i32, ptr %9, align 4, !tbaa !10
  %32 = zext i32 %31 to i64
  %33 = icmp ult i64 %32, 10
  br i1 %33, label %46, label %34

34:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  br label %63

35:                                               ; preds = %26, %25, %24, %23, %22, %21, %20, %19, %18, %17
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %6, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %7, align 4
  %39 = load ptr, ptr %5, align 8
  %40 = icmp eq ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, %39
  br i1 %40, label %45, label %41

41:                                               ; preds = %41, %35
  %42 = phi ptr [ %39, %35 ], [ %43, %41 ]
  %43 = getelementptr inbounds %"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr %42, i64 -1
  call void @_ZN4juce19CodeEditorComponent12ColourScheme9TokenTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %43) #0
  %44 = icmp eq ptr %43, @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types
  br i1 %44, label %45, label %41

45:                                               ; preds = %41, %35
  call void @__cxa_guard_abort(ptr @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types) #0
  br label %67

46:                                               ; preds = %30
  %47 = load i32, ptr %9, align 4, !tbaa !10
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds [10 x %"struct.juce::CodeEditorComponent::ColourScheme::TokenType"], ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 0, i64 %48
  %50 = getelementptr inbounds %"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr %49, i32 0, i32 0
  %51 = load i32, ptr %9, align 4, !tbaa !10
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds [10 x %"struct.juce::CodeEditorComponent::ColourScheme::TokenType"], ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 0, i64 %52
  %54 = getelementptr inbounds %"struct.juce::CodeEditorComponent::ColourScheme::TokenType", ptr %53, i32 0, i32 1
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(4) %54) #0
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef %10)
          to label %55 unwind label %59

55:                                               ; preds = %46
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #0
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr %9, align 4, !tbaa !10
  %58 = add i32 %57, 1
  store i32 %58, ptr %9, align 4, !tbaa !10
  br label %30, !llvm.loop !12

59:                                               ; preds = %46
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %6, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %7, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #0
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #0
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #0
  br label %67

63:                                               ; preds = %34
  store i1 true, ptr %8, align 1
  %64 = load i1, ptr %8, align 1
  br i1 %64, label %66, label %65

65:                                               ; preds = %63
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #0
  br label %66

66:                                               ; preds = %65, %63
  ret void

67:                                               ; preds = %59, %45
  %68 = load ptr, ptr %6, align 8
  %69 = load i32, ptr %7, align 4
  %70 = insertvalue { ptr, i32 } poison, ptr %68, 0
  %71 = insertvalue { ptr, i32 } %70, i32 %69, 1
  resume { ptr, i32 } %71
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

; Function Attrs: uwtable
declare hidden void @__cxx_global_array_dtor(ptr noundef) #6 section ".text.startup"

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 = { 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" }

!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 = !{!"branch_weights", i32 1, i32 1048575}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"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::CodeEditorComponent::ColourScheme::TokenType" = type <{ %"class.juce::String", %"class.juce::Colour", [4 x i8] }>
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.92 }
%union.anon.92 = type { i32 }
%"struct.juce::CodeEditorComponent::ColourScheme" = type { %"class.juce::Array.70" }
%"class.juce::Array.70" = type { %"class.juce::ArrayAllocationBase.71", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.71" = type <{ %"class.juce::HeapBlock.72", i32, [4 x i8] }>
%"class.juce::HeapBlock.72" = type { ptr }

@__dso_handle = external hidden global i8
@.str.35 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types = external hidden global [10 x %"struct.juce::CodeEditorComponent::ColourScheme::TokenType"], align 16
@_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types = external hidden global i64, align 8

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #3

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

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12LuaTokeniser22getDefaultColourSchemeEv(ptr dead_on_unwind noalias writable sret(%"struct.juce::CodeEditorComponent::ColourScheme") align 8 %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Colour", align 1
  %4 = load atomic i8, ptr @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types acquire, align 8
  %5 = icmp eq i8 %4, 0
  br i1 %5, label %6, label %21, !prof !5

6:                                                ; preds = %2
  %7 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types) #6
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %21, label %8

8:                                                ; preds = %6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, ptr noundef nonnull @.str.35)
          to label %10 unwind label %.thread

.thread:                                          ; preds = %8
  %9 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

10:                                               ; preds = %8
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 8), i32 noundef -3407872) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 16), ptr noundef nonnull @.str.36)
          to label %11 unwind label %22

11:                                               ; preds = %10
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 24), i32 noundef -12829636) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 32), ptr noundef nonnull @.str.37)
          to label %12 unwind label %22

12:                                               ; preds = %11
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 40), i32 noundef -16777012) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 48), ptr noundef nonnull @.str.38)
          to label %13 unwind label %22

13:                                               ; preds = %12
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 56), i32 noundef -14527232) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 64), ptr noundef nonnull @.str.39)
          to label %14 unwind label %22

14:                                               ; preds = %13
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 72), i32 noundef -16777216) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 80), ptr noundef nonnull @.str.40)
          to label %15 unwind label %22

15:                                               ; preds = %14
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 88), i32 noundef -7864320) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 96), ptr noundef nonnull @.str.41)
          to label %16 unwind label %22

16:                                               ; preds = %15
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 104), i32 noundef -7842560) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 112), ptr noundef nonnull @.str.42)
          to label %17 unwind label %22

17:                                               ; preds = %16
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 120), i32 noundef -6750055) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 128), ptr noundef nonnull @.str.43)
          to label %18 unwind label %22

18:                                               ; preds = %17
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 136), i32 noundef -16777131) #6
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 144), ptr noundef nonnull @.str.44)
          to label %19 unwind label %22

19:                                               ; preds = %18
  tail call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 152), i32 noundef -16759808) #6
  %20 = tail call i32 @__cxa_atexit(ptr nonnull @__cxx_global_array_dtor, ptr null, ptr nonnull @__dso_handle) #6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types) #6
  br label %21

21:                                               ; preds = %19, %6, %2
  tail call void @_ZN4juce19CodeEditorComponent12ColourSchemeC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 8)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, ptr noundef nonnull %3)
          to label %29 unwind label %39

22:                                               ; preds = %18, %17, %16, %15, %14, %13, %12, %11, %10
  %.010 = phi ptr [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 144), %18 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 128), %17 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 112), %16 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 96), %15 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 80), %14 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 64), %13 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 48), %12 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 32), %11 ], [ getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 16), %10 ]
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %24

24:                                               ; preds = %22, %24
  %25 = phi ptr [ %.010, %22 ], [ %26, %24 ]
  %26 = getelementptr inbounds i8, ptr %25, i64 -16
  tail call void @_ZN4juce19CodeEditorComponent12ColourScheme9TokenTypeD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %26) #6
  %27 = icmp eq ptr %26, @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types
  br i1 %27, label %.loopexit, label %24

.loopexit:                                        ; preds = %24, %.thread
  %28 = phi { ptr, i32 } [ %9, %.thread ], [ %23, %24 ]
  tail call void @__cxa_guard_abort(ptr nonnull @_ZGVZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types) #6
  br label %41

29:                                               ; preds = %21
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 24)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 16), ptr noundef nonnull %3)
          to label %30 unwind label %39

30:                                               ; preds = %29
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 40)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 32), ptr noundef nonnull %3)
          to label %31 unwind label %39

31:                                               ; preds = %30
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 56)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 48), ptr noundef nonnull %3)
          to label %32 unwind label %39

32:                                               ; preds = %31
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 72)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 64), ptr noundef nonnull %3)
          to label %33 unwind label %39

33:                                               ; preds = %32
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 88)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 80), ptr noundef nonnull %3)
          to label %34 unwind label %39

34:                                               ; preds = %33
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 104)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 96), ptr noundef nonnull %3)
          to label %35 unwind label %39

35:                                               ; preds = %34
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 120)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 112), ptr noundef nonnull %3)
          to label %36 unwind label %39

36:                                               ; preds = %35
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 136)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 128), ptr noundef nonnull %3)
          to label %37 unwind label %39

37:                                               ; preds = %36
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %3, ptr noundef nonnull align 1 dereferenceable(4) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 152)) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @_ZZN4juce12LuaTokeniser22getDefaultColourSchemeEvE5types, i64 144), ptr noundef nonnull %3)
          to label %38 unwind label %39

38:                                               ; preds = %37
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  ret void

39:                                               ; preds = %37, %36, %35, %34, %33, %32, %31, %30, %29, %21
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %41

41:                                               ; preds = %39, %.loopexit
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %28, %.loopexit ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #0

; Function Attrs: uwtable
declare hidden void @__cxx_global_array_dtor(ptr noundef) #5 section ".text.startup"

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

attributes #0 = { nofree nounwind }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { 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 = !{!"branch_weights", i32 1, i32 1048575}


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