; LLVM IR from ClementineAccount/Albuquerque :: src/HelloSDL (main)

; 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.nk_color = type { i8, i8, i8, i8 }
%struct.nk_rect = type { float, float, float, float }
%struct.nk_context = type { %struct.nk_input, %struct.nk_style, %struct.nk_buffer, %struct.nk_clipboard, i32, i32, %struct.nk_configuration_stacks, float, %struct.nk_draw_list, %struct.nk_text_edit, %struct.nk_command_buffer, i32, i32, %struct.nk_pool, ptr, ptr, ptr, ptr, ptr, i32, i32 }
%struct.nk_input = type { %struct.nk_keyboard, %struct.nk_mouse }
%struct.nk_keyboard = type { [30 x %struct.nk_key], [16 x i8], i32 }
%struct.nk_key = type { i32, i32 }
%struct.nk_mouse = type { [4 x %struct.nk_mouse_button], %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, i8, i8, i8 }
%struct.nk_mouse_button = type { i32, i32, %struct.nk_vec2 }
%struct.nk_vec2 = type { float, float }
%struct.nk_style = type { ptr, [7 x ptr], ptr, ptr, i32, %struct.nk_style_text, %struct.nk_style_button, %struct.nk_style_button, %struct.nk_style_button, %struct.nk_style_toggle, %struct.nk_style_toggle, %struct.nk_style_selectable, %struct.nk_style_slider, %struct.nk_style_progress, %struct.nk_style_property, %struct.nk_style_edit, %struct.nk_style_chart, %struct.nk_style_scrollbar, %struct.nk_style_scrollbar, %struct.nk_style_tab, %struct.nk_style_combo, %struct.nk_style_window }
%struct.nk_style_text = type { %struct.nk_color, %struct.nk_vec2 }
%struct.nk_style_button = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, i32, float, float, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %union.nk_handle, ptr, ptr }
%struct.nk_style_item = type { i32, %union.nk_style_item_data }
%union.nk_style_item_data = type { %struct.nk_nine_slice }
%struct.nk_nine_slice = type { %struct.nk_image, i16, i16, i16, i16 }
%struct.nk_image = type { %union.nk_handle, i16, i16, [4 x i16] }
%union.nk_handle = type { ptr }
%struct.nk_style_toggle = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, i32, %struct.nk_vec2, %struct.nk_vec2, float, float, %union.nk_handle, ptr, ptr }
%struct.nk_style_selectable = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, i32, float, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %union.nk_handle, ptr, ptr }
%struct.nk_style_slider = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, float, float, float, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, i32, %struct.nk_style_button, %struct.nk_style_button, i32, i32, %union.nk_handle, ptr, ptr }
%struct.nk_style_progress = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, float, float, float, float, %struct.nk_vec2, %union.nk_handle, ptr, ptr }
%struct.nk_style_property = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, i32, i32, float, float, %struct.nk_vec2, %struct.nk_style_edit, %struct.nk_style_button, %struct.nk_style_button, %union.nk_handle, ptr, ptr }
%struct.nk_style_edit = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_style_scrollbar, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, float, float, float, %struct.nk_vec2, %struct.nk_vec2, float }
%struct.nk_style_chart = type { %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, float, float, %struct.nk_vec2 }
%struct.nk_style_scrollbar = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, float, float, float, float, %struct.nk_vec2, i32, %struct.nk_style_button, %struct.nk_style_button, i32, i32, %union.nk_handle, ptr, ptr }
%struct.nk_style_tab = type { %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_style_button, %struct.nk_style_button, %struct.nk_style_button, %struct.nk_style_button, i32, i32, float, float, float, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_style_combo = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_style_button, i32, i32, i32, float, float, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_style_window = type { %struct.nk_style_window_header, %struct.nk_style_item, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_color, %struct.nk_style_item, float, float, float, float, float, float, float, float, float, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_style_window_header = type { %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_item, %struct.nk_style_button, %struct.nk_style_button, i32, i32, i32, %struct.nk_color, %struct.nk_color, %struct.nk_color, i32, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_buffer = type { [2 x %struct.nk_buffer_marker], %struct.nk_allocator, i32, %struct.nk_memory, float, i64, i64, i64, i64 }
%struct.nk_buffer_marker = type { i32, i64 }
%struct.nk_allocator = type { %union.nk_handle, ptr, ptr }
%struct.nk_memory = type { ptr, i64 }
%struct.nk_clipboard = type { %union.nk_handle, ptr, ptr }
%struct.nk_configuration_stacks = type { %struct.nk_config_stack_style_item, %struct.nk_config_stack_float, %struct.nk_config_stack_vec2, %struct.nk_config_stack_flags, %struct.nk_config_stack_color, %struct.nk_config_stack_user_font, %struct.nk_config_stack_button_behavior }
%struct.nk_config_stack_style_item = type { i32, [16 x %struct.nk_config_stack_style_item_element] }
%struct.nk_config_stack_style_item_element = type { ptr, %struct.nk_style_item }
%struct.nk_config_stack_float = type { i32, [32 x %struct.nk_config_stack_float_element] }
%struct.nk_config_stack_float_element = type { ptr, float }
%struct.nk_config_stack_vec2 = type { i32, [16 x %struct.nk_config_stack_vec2_element] }
%struct.nk_config_stack_vec2_element = type { ptr, %struct.nk_vec2 }
%struct.nk_config_stack_flags = type { i32, [32 x %struct.nk_config_stack_flags_element] }
%struct.nk_config_stack_flags_element = type { ptr, i32 }
%struct.nk_config_stack_color = type { i32, [32 x %struct.nk_config_stack_color_element] }
%struct.nk_config_stack_color_element = type { ptr, %struct.nk_color }
%struct.nk_config_stack_user_font = type { i32, [8 x %struct.nk_config_stack_user_font_element] }
%struct.nk_config_stack_user_font_element = type { ptr, ptr }
%struct.nk_config_stack_button_behavior = type { i32, [8 x %struct.nk_config_stack_button_behavior_element] }
%struct.nk_config_stack_button_behavior_element = type { ptr, i32 }
%struct.nk_draw_list = type { %struct.nk_rect, [12 x %struct.nk_vec2], %struct.nk_convert_config, ptr, ptr, ptr, i32, i32, i32, i64, i32, i32, i32, i32 }
%struct.nk_convert_config = type { float, i32, i32, i32, i32, i32, %struct.nk_draw_null_texture, ptr, i64, i64 }
%struct.nk_draw_null_texture = type { %union.nk_handle, %struct.nk_vec2 }
%struct.nk_text_edit = type { %struct.nk_clipboard, %struct.nk_str, ptr, %struct.nk_vec2, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, float, %struct.nk_text_undo_state }
%struct.nk_str = type { %struct.nk_buffer, i32 }
%struct.nk_text_undo_state = type { [99 x %struct.nk_text_undo_record], [999 x i32], i16, i16, i16, i16 }
%struct.nk_text_undo_record = type { i32, i16, i16, i16 }
%struct.nk_command_buffer = type { ptr, %struct.nk_rect, i32, %union.nk_handle, i64, i64, i64 }
%struct.nk_pool = type { %struct.nk_allocator, i32, i32, ptr, ptr, i32, i64, i64 }
%struct.nk_window = type { i32, i32, [64 x i8], i32, %struct.nk_rect, %struct.nk_scroll, %struct.nk_command_buffer, ptr, float, %struct.nk_property_state, %struct.nk_popup_state, %struct.nk_edit_state, i32, ptr, i32, ptr, ptr, ptr }
%struct.nk_scroll = type { i32, i32 }
%struct.nk_property_state = type { i32, i32, [64 x i8], i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.nk_popup_state = type { ptr, i32, %struct.nk_popup_buffer, i32, i32, i32, i32, i32, i32, %struct.nk_rect }
%struct.nk_popup_buffer = type { i64, i64, i64, i64, i32 }
%struct.nk_edit_state = type { i32, i32, i32, i32, i32, i32, i32, i32, %struct.nk_scroll, i8, i8 }
%struct.nk_panel = type { i32, i32, %struct.nk_rect, ptr, ptr, float, float, float, float, float, float, i32, %struct.nk_rect, %struct.nk_menu_state, %struct.nk_row_layout, %struct.nk_chart, ptr, ptr }
%struct.nk_menu_state = type { float, float, float, float, %struct.nk_scroll }
%struct.nk_row_layout = type { i32, i32, float, float, i32, ptr, float, float, float, float, %struct.nk_rect, i32, [16 x float] }
%struct.nk_chart = type { i32, float, float, float, float, [4 x %struct.nk_chart_slot] }
%struct.nk_chart_slot = type { i32, %struct.nk_color, %struct.nk_color, float, float, float, i32, %struct.nk_vec2, i32 }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZL8nk_white = external hidden constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_chart_begin_colored = external hidden unnamed_addr constant [125 x i8], align 1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL7nk_zeroPvm(ptr noundef, i64 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @nk_fill_rect(ptr noundef, <2 x float>, <2 x float>, float noundef, i32) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @nk_draw_image(ptr noundef, <2 x float>, <2 x float>, ptr noundef, i32) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @nk_draw_nine_slice(ptr noundef, <2 x float>, <2 x float>, ptr noundef, i32) #6

; Function Attrs: mustprogress uwtable
declare dso_local i32 @nk_widget(ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local i32 @nk_chart_begin_colored(ptr noundef %0, i32 noundef %1, i32 %2, i32 %3, i32 noundef %4, float noundef %5, float noundef %6) #6 {
  %8 = alloca i32, align 4
  %9 = alloca %struct.nk_color, align 1
  %10 = alloca %struct.nk_color, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %struct.nk_rect, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca %struct.nk_rect, align 4
  %25 = alloca %struct.nk_color, align 1
  %26 = alloca %struct.nk_rect, align 4
  %27 = alloca %struct.nk_color, align 1
  %28 = alloca %struct.nk_rect, align 4
  %29 = alloca %struct.nk_color, align 1
  %30 = alloca %struct.nk_rect, align 4
  %31 = alloca %struct.nk_rect, align 4
  %32 = alloca %struct.nk_color, align 1
  store i32 %2, ptr %9, align 1
  store i32 %3, ptr %10, align 1
  store ptr %0, ptr %11, align 8, !tbaa !5
  store i32 %1, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !11
  store float %5, ptr %14, align 4, !tbaa !13
  store float %6, ptr %15, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  call void @llvm.memset.p0.i64(ptr align 4 %21, i8 0, i64 16, i1 false)
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %36

35:                                               ; preds = %7
  br label %38

36:                                               ; preds = %7
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 28161, ptr noundef @__PRETTY_FUNCTION__.nk_chart_begin_colored) #9
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %35
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.nk_context, ptr %39, i32 0, i32 17
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %44

43:                                               ; preds = %38
  br label %46

44:                                               ; preds = %38
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.1, i32 noundef 28162, ptr noundef @__PRETTY_FUNCTION__.nk_chart_begin_colored) #9
  unreachable

45:                                               ; No predecessors!
  br label %46

46:                                               ; preds = %45, %43
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.nk_context, ptr %47, i32 0, i32 17
  %49 = load ptr, ptr %48, align 8, !tbaa !15
  %50 = getelementptr inbounds %struct.nk_window, ptr %49, i32 0, i32 7
  %51 = load ptr, ptr %50, align 8, !tbaa !67
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %54

53:                                               ; preds = %46
  br label %56

54:                                               ; preds = %46
  call void @__assert_fail(ptr noundef @.str.85, ptr noundef @.str.1, i32 noundef 28163, ptr noundef @__PRETTY_FUNCTION__.nk_chart_begin_colored) #9
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %53
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = icmp ne ptr %57, null
  br i1 %58, label %59, label %71

59:                                               ; preds = %56
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.nk_context, ptr %60, i32 0, i32 17
  %62 = load ptr, ptr %61, align 8, !tbaa !15
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %71

64:                                               ; preds = %59
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.nk_context, ptr %65, i32 0, i32 17
  %67 = load ptr, ptr %66, align 8, !tbaa !15
  %68 = getelementptr inbounds %struct.nk_window, ptr %67, i32 0, i32 7
  %69 = load ptr, ptr %68, align 8, !tbaa !67
  %70 = icmp ne ptr %69, null
  br i1 %70, label %72, label %71

71:                                               ; preds = %64, %59, %56
  store i32 0, ptr %8, align 4
  store i32 1, ptr %22, align 4
  br label %292

72:                                               ; preds = %64
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = call i32 @nk_widget(ptr noundef %21, ptr noundef %73)
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %84, label %76

76:                                               ; preds = %72
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.nk_context, ptr %77, i32 0, i32 17
  %79 = load ptr, ptr %78, align 8, !tbaa !15
  %80 = getelementptr inbounds %struct.nk_window, ptr %79, i32 0, i32 7
  %81 = load ptr, ptr %80, align 8, !tbaa !67
  %82 = getelementptr inbounds %struct.nk_panel, ptr %81, i32 0, i32 15
  store ptr %82, ptr %17, align 8, !tbaa !5
  %83 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZL7nk_zeroPvm(ptr noundef %83, i64 noundef 180)
  store i32 0, ptr %8, align 4
  store i32 1, ptr %22, align 4
  br label %292

84:                                               ; preds = %72
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.nk_context, ptr %85, i32 0, i32 17
  %87 = load ptr, ptr %86, align 8, !tbaa !15
  store ptr %87, ptr %16, align 8, !tbaa !5
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.nk_context, ptr %88, i32 0, i32 1
  store ptr %89, ptr %18, align 8, !tbaa !5
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.nk_window, ptr %90, i32 0, i32 7
  %92 = load ptr, ptr %91, align 8, !tbaa !67
  %93 = getelementptr inbounds %struct.nk_panel, ptr %92, i32 0, i32 15
  store ptr %93, ptr %17, align 8, !tbaa !5
  %94 = load ptr, ptr %18, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.nk_style, ptr %94, i32 0, i32 16
  store ptr %95, ptr %19, align 8, !tbaa !5
  %96 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZL7nk_zeroPvm(ptr noundef %96, i64 noundef 180)
  %97 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 0
  %98 = load float, ptr %97, align 4, !tbaa !75
  %99 = load ptr, ptr %19, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.nk_style_chart, ptr %99, i32 0, i32 6
  %101 = getelementptr inbounds %struct.nk_vec2, ptr %100, i32 0, i32 0
  %102 = load float, ptr %101, align 4, !tbaa !76
  %103 = fadd float %98, %102
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.nk_chart, ptr %104, i32 0, i32 1
  store float %103, ptr %105, align 4, !tbaa !77
  %106 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 1
  %107 = load float, ptr %106, align 4, !tbaa !79
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.nk_style_chart, ptr %108, i32 0, i32 6
  %110 = getelementptr inbounds %struct.nk_vec2, ptr %109, i32 0, i32 1
  %111 = load float, ptr %110, align 4, !tbaa !80
  %112 = fadd float %107, %111
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.nk_chart, ptr %113, i32 0, i32 2
  store float %112, ptr %114, align 4, !tbaa !81
  %115 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 2
  %116 = load float, ptr %115, align 4, !tbaa !82
  %117 = load ptr, ptr %19, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.nk_style_chart, ptr %117, i32 0, i32 6
  %119 = getelementptr inbounds %struct.nk_vec2, ptr %118, i32 0, i32 0
  %120 = load float, ptr %119, align 4, !tbaa !76
  %121 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %120, float %116)
  %122 = load ptr, ptr %17, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.nk_chart, ptr %122, i32 0, i32 3
  store float %121, ptr %123, align 4, !tbaa !83
  %124 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 3
  %125 = load float, ptr %124, align 4, !tbaa !84
  %126 = load ptr, ptr %19, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.nk_style_chart, ptr %126, i32 0, i32 6
  %128 = getelementptr inbounds %struct.nk_vec2, ptr %127, i32 0, i32 1
  %129 = load float, ptr %128, align 4, !tbaa !80
  %130 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %129, float %125)
  %131 = load ptr, ptr %17, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.nk_chart, ptr %131, i32 0, i32 4
  store float %130, ptr %132, align 4, !tbaa !85
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.nk_chart, ptr %133, i32 0, i32 3
  %135 = load float, ptr %134, align 4, !tbaa !83
  %136 = load ptr, ptr %19, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.nk_style_chart, ptr %136, i32 0, i32 6
  %138 = getelementptr inbounds %struct.nk_vec2, ptr %137, i32 0, i32 0
  %139 = load float, ptr %138, align 4, !tbaa !76
  %140 = fmul float 2.000000e+00, %139
  %141 = fcmp olt float %135, %140
  br i1 %141, label %142, label %148

142:                                              ; preds = %84
  %143 = load ptr, ptr %19, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.nk_style_chart, ptr %143, i32 0, i32 6
  %145 = getelementptr inbounds %struct.nk_vec2, ptr %144, i32 0, i32 0
  %146 = load float, ptr %145, align 4, !tbaa !76
  %147 = fmul float 2.000000e+00, %146
  br label %152

148:                                              ; preds = %84
  %149 = load ptr, ptr %17, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.nk_chart, ptr %149, i32 0, i32 3
  %151 = load float, ptr %150, align 4, !tbaa !83
  br label %152

152:                                              ; preds = %148, %142
  %153 = phi float [ %147, %142 ], [ %151, %148 ]
  %154 = load ptr, ptr %17, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.nk_chart, ptr %154, i32 0, i32 3
  store float %153, ptr %155, align 4, !tbaa !83
  %156 = load ptr, ptr %17, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.nk_chart, ptr %156, i32 0, i32 4
  %158 = load float, ptr %157, align 4, !tbaa !85
  %159 = load ptr, ptr %19, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.nk_style_chart, ptr %159, i32 0, i32 6
  %161 = getelementptr inbounds %struct.nk_vec2, ptr %160, i32 0, i32 1
  %162 = load float, ptr %161, align 4, !tbaa !80
  %163 = fmul float 2.000000e+00, %162
  %164 = fcmp olt float %158, %163
  br i1 %164, label %165, label %171

165:                                              ; preds = %152
  %166 = load ptr, ptr %19, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.nk_style_chart, ptr %166, i32 0, i32 6
  %168 = getelementptr inbounds %struct.nk_vec2, ptr %167, i32 0, i32 1
  %169 = load float, ptr %168, align 4, !tbaa !80
  %170 = fmul float 2.000000e+00, %169
  br label %175

171:                                              ; preds = %152
  %172 = load ptr, ptr %17, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.nk_chart, ptr %172, i32 0, i32 4
  %174 = load float, ptr %173, align 4, !tbaa !85
  br label %175

175:                                              ; preds = %171, %165
  %176 = phi float [ %170, %165 ], [ %174, %171 ]
  %177 = load ptr, ptr %17, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.nk_chart, ptr %177, i32 0, i32 4
  store float %176, ptr %178, align 4, !tbaa !85
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %179 = load ptr, ptr %17, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.nk_chart, ptr %179, i32 0, i32 5
  %181 = load ptr, ptr %17, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.nk_chart, ptr %181, i32 0, i32 0
  %183 = load i32, ptr %182, align 4, !tbaa !86
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %182, align 4, !tbaa !86
  %185 = sext i32 %183 to i64
  %186 = getelementptr inbounds [4 x %struct.nk_chart_slot], ptr %180, i64 0, i64 %185
  store ptr %186, ptr %23, align 8, !tbaa !5
  %187 = load i32, ptr %12, align 4, !tbaa !9
  %188 = load ptr, ptr %23, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.nk_chart_slot, ptr %188, i32 0, i32 0
  store i32 %187, ptr %189, align 4, !tbaa !87
  %190 = load i32, ptr %13, align 4, !tbaa !11
  %191 = load ptr, ptr %23, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.nk_chart_slot, ptr %191, i32 0, i32 6
  store i32 %190, ptr %192, align 4, !tbaa !89
  %193 = load ptr, ptr %23, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.nk_chart_slot, ptr %193, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %194, ptr align 1 %9, i64 4, i1 false), !tbaa.struct !90
  %195 = load ptr, ptr %23, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.nk_chart_slot, ptr %195, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %196, ptr align 1 %10, i64 4, i1 false), !tbaa.struct !90
  %197 = load float, ptr %14, align 4, !tbaa !13
  %198 = load float, ptr %15, align 4, !tbaa !13
  %199 = fcmp olt float %197, %198
  br i1 %199, label %200, label %202

200:                                              ; preds = %175
  %201 = load float, ptr %14, align 4, !tbaa !13
  br label %204

202:                                              ; preds = %175
  %203 = load float, ptr %15, align 4, !tbaa !13
  br label %204

204:                                              ; preds = %202, %200
  %205 = phi float [ %201, %200 ], [ %203, %202 ]
  %206 = load ptr, ptr %23, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.nk_chart_slot, ptr %206, i32 0, i32 3
  store float %205, ptr %207, align 4, !tbaa !92
  %208 = load float, ptr %14, align 4, !tbaa !13
  %209 = load float, ptr %15, align 4, !tbaa !13
  %210 = fcmp olt float %208, %209
  br i1 %210, label %211, label %213

211:                                              ; preds = %204
  %212 = load float, ptr %15, align 4, !tbaa !13
  br label %215

213:                                              ; preds = %204
  %214 = load float, ptr %14, align 4, !tbaa !13
  br label %215

215:                                              ; preds = %213, %211
  %216 = phi float [ %212, %211 ], [ %214, %213 ]
  %217 = load ptr, ptr %23, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.nk_chart_slot, ptr %217, i32 0, i32 4
  store float %216, ptr %218, align 4, !tbaa !93
  %219 = load ptr, ptr %23, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.nk_chart_slot, ptr %219, i32 0, i32 4
  %221 = load float, ptr %220, align 4, !tbaa !93
  %222 = load ptr, ptr %23, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.nk_chart_slot, ptr %222, i32 0, i32 3
  %224 = load float, ptr %223, align 4, !tbaa !92
  %225 = fsub float %221, %224
  %226 = load ptr, ptr %23, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.nk_chart_slot, ptr %226, i32 0, i32 5
  store float %225, ptr %227, align 4, !tbaa !94
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  %228 = load ptr, ptr %19, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.nk_style_chart, ptr %228, i32 0, i32 0
  store ptr %229, ptr %20, align 8, !tbaa !5
  %230 = load ptr, ptr %20, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.nk_style_item, ptr %230, i32 0, i32 0
  %232 = load i32, ptr %231, align 8, !tbaa !95
  switch i32 %232, label %291 [
    i32 1, label %233
    i32 2, label %243
    i32 0, label %253
  ]

233:                                              ; preds = %215
  %234 = load ptr, ptr %16, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.nk_window, ptr %234, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %21, i64 16, i1 false), !tbaa.struct !96
  %236 = load ptr, ptr %20, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.nk_style_item, ptr %236, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %25, ptr align 1 @_ZL8nk_white, i64 4, i1 false), !tbaa.struct !90
  %238 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %239 = load <2 x float>, ptr %238, align 4
  %240 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %241 = load <2 x float>, ptr %240, align 4
  %242 = load i32, ptr %25, align 1
  call void @nk_draw_image(ptr noundef %235, <2 x float> %239, <2 x float> %241, ptr noundef %237, i32 %242)
  br label %291

243:                                              ; preds = %215
  %244 = load ptr, ptr %16, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.nk_window, ptr %244, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %21, i64 16, i1 false), !tbaa.struct !96
  %246 = load ptr, ptr %20, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.nk_style_item, ptr %246, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %27, ptr align 1 @_ZL8nk_white, i64 4, i1 false), !tbaa.struct !90
  %248 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 0
  %249 = load <2 x float>, ptr %248, align 4
  %250 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 1
  %251 = load <2 x float>, ptr %250, align 4
  %252 = load i32, ptr %27, align 1
  call void @nk_draw_nine_slice(ptr noundef %245, <2 x float> %249, <2 x float> %251, ptr noundef %247, i32 %252)
  br label %291

253:                                              ; preds = %215
  %254 = load ptr, ptr %16, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.nk_window, ptr %254, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %21, i64 16, i1 false), !tbaa.struct !96
  %256 = load ptr, ptr %19, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.nk_style_chart, ptr %256, i32 0, i32 5
  %258 = load float, ptr %257, align 8, !tbaa !97
  %259 = load ptr, ptr %19, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.nk_style_chart, ptr %259, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %29, ptr align 8 %260, i64 4, i1 false), !tbaa.struct !90
  %261 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 0
  %262 = load <2 x float>, ptr %261, align 4
  %263 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 1
  %264 = load <2 x float>, ptr %263, align 4
  %265 = load i32, ptr %29, align 1
  call void @nk_fill_rect(ptr noundef %255, <2 x float> %262, <2 x float> %264, float noundef %258, i32 %265)
  %266 = load ptr, ptr %16, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.nk_window, ptr %266, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %21, i64 16, i1 false), !tbaa.struct !96
  %268 = load ptr, ptr %19, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.nk_style_chart, ptr %268, i32 0, i32 4
  %270 = load float, ptr %269, align 4, !tbaa !98
  %271 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %272 = load <2 x float>, ptr %271, align 4
  %273 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %274 = load <2 x float>, ptr %273, align 4
  %275 = call { <2 x float>, <2 x float> } @_ZL14nk_shrink_rect7nk_rectf(<2 x float> %272, <2 x float> %274, float noundef %270)
  %276 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 0
  %277 = extractvalue { <2 x float>, <2 x float> } %275, 0
  store <2 x float> %277, ptr %276, align 4
  %278 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 1
  %279 = extractvalue { <2 x float>, <2 x float> } %275, 1
  store <2 x float> %279, ptr %278, align 4
  %280 = load ptr, ptr %19, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.nk_style_chart, ptr %280, i32 0, i32 5
  %282 = load float, ptr %281, align 8, !tbaa !97
  %283 = load ptr, ptr %19, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.nk_style_chart, ptr %283, i32 0, i32 0
  %285 = getelementptr inbounds %struct.nk_style_item, ptr %284, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %32, ptr align 8 %285, i64 4, i1 false), !tbaa.struct !90
  %286 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 0
  %287 = load <2 x float>, ptr %286, align 4
  %288 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %30, i32 0, i32 1
  %289 = load <2 x float>, ptr %288, align 4
  %290 = load i32, ptr %32, align 1
  call void @nk_fill_rect(ptr noundef %267, <2 x float> %287, <2 x float> %289, float noundef %282, i32 %290)
  br label %291

291:                                              ; preds = %253, %243, %233, %215
  store i32 1, ptr %8, align 4
  store i32 1, ptr %22, align 4
  br label %292

292:                                              ; preds = %291, %76, %71
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %293 = load i32, ptr %8, align 4
  ret i32 %293
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden { <2 x float>, <2 x float> } @_ZL14nk_shrink_rect7nk_rectf(<2 x float>, <2 x float>, float noundef) #7

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "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 = { nounwind }
attributes #9 = { noreturn 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 = !{!"_ZTS13nk_chart_type", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !6, i64 17824}
!16 = !{!"_ZTS10nk_context", !17, i64 0, !21, i64 360, !41, i64 9000, !46, i64 9120, !12, i64 9144, !47, i64 9148, !48, i64 9152, !14, i64 12024, !56, i64 12032, !61, i64 12272, !65, i64 17656, !12, i64 17720, !12, i64 17724, !66, i64 17728, !6, i64 17800, !6, i64 17808, !6, i64 17816, !6, i64 17824, !6, i64 17832, !12, i64 17840, !12, i64 17844}
!17 = !{!"_ZTS8nk_input", !18, i64 0, !19, i64 260}
!18 = !{!"_ZTS11nk_keyboard", !7, i64 0, !7, i64 240, !12, i64 256}
!19 = !{!"_ZTS8nk_mouse", !7, i64 0, !20, i64 64, !20, i64 72, !20, i64 80, !20, i64 88, !7, i64 96, !7, i64 97, !7, i64 98}
!20 = !{!"_ZTS7nk_vec2", !14, i64 0, !14, i64 4}
!21 = !{!"_ZTS8nk_style", !6, i64 0, !7, i64 8, !6, i64 64, !6, i64 72, !12, i64 80, !22, i64 84, !24, i64 96, !24, i64 296, !24, i64 496, !27, i64 696, !27, i64 976, !28, i64 1256, !29, i64 1584, !31, i64 2320, !32, i64 2624, !33, i64 4128, !35, i64 5048, !34, i64 5120, !34, i64 5832, !36, i64 6544, !37, i64 7432, !38, i64 7832}
!22 = !{!"_ZTS13nk_style_text", !23, i64 0, !20, i64 4}
!23 = !{!"_ZTS8nk_color", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3}
!24 = !{!"_ZTS15nk_style_button", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !23, i64 124, !23, i64 128, !23, i64 132, !23, i64 136, !12, i64 140, !14, i64 144, !14, i64 148, !20, i64 152, !20, i64 160, !20, i64 168, !7, i64 176, !6, i64 184, !6, i64 192}
!25 = !{!"_ZTS13nk_style_item", !26, i64 0, !7, i64 8}
!26 = !{!"_ZTS18nk_style_item_type", !7, i64 0}
!27 = !{!"_ZTS15nk_style_toggle", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !25, i64 128, !25, i64 168, !23, i64 208, !23, i64 212, !23, i64 216, !23, i64 220, !12, i64 224, !20, i64 228, !20, i64 236, !14, i64 244, !14, i64 248, !7, i64 256, !6, i64 264, !6, i64 272}
!28 = !{!"_ZTS19nk_style_selectable", !25, i64 0, !25, i64 40, !25, i64 80, !25, i64 120, !25, i64 160, !25, i64 200, !23, i64 240, !23, i64 244, !23, i64 248, !23, i64 252, !23, i64 256, !23, i64 260, !23, i64 264, !12, i64 268, !14, i64 272, !20, i64 276, !20, i64 284, !20, i64 292, !7, i64 304, !6, i64 312, !6, i64 320}
!29 = !{!"_ZTS15nk_style_slider", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !23, i64 124, !23, i64 128, !23, i64 132, !23, i64 136, !25, i64 144, !25, i64 184, !25, i64 224, !14, i64 264, !14, i64 268, !14, i64 272, !20, i64 276, !20, i64 284, !20, i64 292, !12, i64 300, !24, i64 304, !24, i64 504, !30, i64 704, !30, i64 708, !7, i64 712, !6, i64 720, !6, i64 728}
!30 = !{!"_ZTS14nk_symbol_type", !7, i64 0}
!31 = !{!"_ZTS17nk_style_progress", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !25, i64 128, !25, i64 168, !25, i64 208, !23, i64 248, !14, i64 252, !14, i64 256, !14, i64 260, !14, i64 264, !20, i64 268, !7, i64 280, !6, i64 288, !6, i64 296}
!32 = !{!"_ZTS17nk_style_property", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !23, i64 124, !23, i64 128, !23, i64 132, !30, i64 136, !30, i64 140, !14, i64 144, !14, i64 148, !20, i64 152, !33, i64 160, !24, i64 1080, !24, i64 1280, !7, i64 1480, !6, i64 1488, !6, i64 1496}
!33 = !{!"_ZTS13nk_style_edit", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !34, i64 128, !23, i64 840, !23, i64 844, !23, i64 848, !23, i64 852, !23, i64 856, !23, i64 860, !23, i64 864, !23, i64 868, !23, i64 872, !23, i64 876, !23, i64 880, !14, i64 884, !14, i64 888, !14, i64 892, !20, i64 896, !20, i64 904, !14, i64 912}
!34 = !{!"_ZTS18nk_style_scrollbar", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !25, i64 128, !25, i64 168, !25, i64 208, !23, i64 248, !14, i64 252, !14, i64 256, !14, i64 260, !14, i64 264, !20, i64 268, !12, i64 276, !24, i64 280, !24, i64 480, !30, i64 680, !30, i64 684, !7, i64 688, !6, i64 696, !6, i64 704}
!35 = !{!"_ZTS14nk_style_chart", !25, i64 0, !23, i64 40, !23, i64 44, !23, i64 48, !14, i64 52, !14, i64 56, !20, i64 60}
!36 = !{!"_ZTS12nk_style_tab", !25, i64 0, !23, i64 40, !23, i64 44, !24, i64 48, !24, i64 248, !24, i64 448, !24, i64 648, !30, i64 848, !30, i64 852, !14, i64 856, !14, i64 860, !14, i64 864, !20, i64 868, !20, i64 876}
!37 = !{!"_ZTS14nk_style_combo", !25, i64 0, !25, i64 40, !25, i64 80, !23, i64 120, !23, i64 124, !23, i64 128, !23, i64 132, !23, i64 136, !23, i64 140, !23, i64 144, !24, i64 152, !30, i64 352, !30, i64 356, !30, i64 360, !14, i64 364, !14, i64 368, !20, i64 372, !20, i64 380, !20, i64 388}
!38 = !{!"_ZTS15nk_style_window", !39, i64 0, !25, i64 576, !23, i64 616, !23, i64 620, !23, i64 624, !23, i64 628, !23, i64 632, !23, i64 636, !23, i64 640, !23, i64 644, !25, i64 648, !14, i64 688, !14, i64 692, !14, i64 696, !14, i64 700, !14, i64 704, !14, i64 708, !14, i64 712, !14, i64 716, !14, i64 720, !20, i64 724, !20, i64 732, !20, i64 740, !20, i64 748, !20, i64 756, !20, i64 764, !20, i64 772, !20, i64 780, !20, i64 788, !20, i64 796}
!39 = !{!"_ZTS22nk_style_window_header", !25, i64 0, !25, i64 40, !25, i64 80, !24, i64 120, !24, i64 320, !30, i64 520, !30, i64 524, !30, i64 528, !23, i64 532, !23, i64 536, !23, i64 540, !40, i64 544, !20, i64 548, !20, i64 556, !20, i64 564}
!40 = !{!"_ZTS21nk_style_header_align", !7, i64 0}
!41 = !{!"_ZTS9nk_buffer", !7, i64 0, !42, i64 32, !43, i64 56, !44, i64 64, !14, i64 80, !45, i64 88, !45, i64 96, !45, i64 104, !45, i64 112}
!42 = !{!"_ZTS12nk_allocator", !7, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTS18nk_allocation_type", !7, i64 0}
!44 = !{!"_ZTS9nk_memory", !6, i64 0, !45, i64 8}
!45 = !{!"long", !7, i64 0}
!46 = !{!"_ZTS12nk_clipboard", !7, i64 0, !6, i64 8, !6, i64 16}
!47 = !{!"_ZTS18nk_button_behavior", !7, i64 0}
!48 = !{!"_ZTS23nk_configuration_stacks", !49, i64 0, !50, i64 776, !51, i64 1296, !52, i64 1560, !53, i64 2080, !54, i64 2600, !55, i64 2736}
!49 = !{!"_ZTS26nk_config_stack_style_item", !12, i64 0, !7, i64 8}
!50 = !{!"_ZTS21nk_config_stack_float", !12, i64 0, !7, i64 8}
!51 = !{!"_ZTS20nk_config_stack_vec2", !12, i64 0, !7, i64 8}
!52 = !{!"_ZTS21nk_config_stack_flags", !12, i64 0, !7, i64 8}
!53 = !{!"_ZTS21nk_config_stack_color", !12, i64 0, !7, i64 8}
!54 = !{!"_ZTS25nk_config_stack_user_font", !12, i64 0, !7, i64 8}
!55 = !{!"_ZTS31nk_config_stack_button_behavior", !12, i64 0, !7, i64 8}
!56 = !{!"_ZTS12nk_draw_list", !57, i64 0, !7, i64 16, !58, i64 112, !6, i64 176, !6, i64 184, !6, i64 192, !12, i64 200, !12, i64 204, !12, i64 208, !45, i64 216, !12, i64 224, !12, i64 228, !59, i64 232, !59, i64 236}
!57 = !{!"_ZTS7nk_rect", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!58 = !{!"_ZTS17nk_convert_config", !14, i64 0, !59, i64 4, !59, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !60, i64 24, !6, i64 40, !45, i64 48, !45, i64 56}
!59 = !{!"_ZTS16nk_anti_aliasing", !7, i64 0}
!60 = !{!"_ZTS20nk_draw_null_texture", !7, i64 0, !20, i64 8}
!61 = !{!"_ZTS12nk_text_edit", !46, i64 0, !62, i64 24, !6, i64 152, !20, i64 160, !12, i64 168, !12, i64 172, !12, i64 176, !7, i64 180, !7, i64 181, !7, i64 182, !7, i64 183, !7, i64 184, !7, i64 185, !7, i64 186, !14, i64 188, !63, i64 192}
!62 = !{!"_ZTS6nk_str", !41, i64 0, !12, i64 120}
!63 = !{!"_ZTS18nk_text_undo_state", !7, i64 0, !7, i64 1188, !64, i64 5184, !64, i64 5186, !64, i64 5188, !64, i64 5190}
!64 = !{!"short", !7, i64 0}
!65 = !{!"_ZTS17nk_command_buffer", !6, i64 0, !57, i64 8, !12, i64 24, !7, i64 32, !45, i64 40, !45, i64 48, !45, i64 56}
!66 = !{!"_ZTS7nk_pool", !42, i64 0, !43, i64 24, !12, i64 28, !6, i64 32, !6, i64 40, !12, i64 48, !45, i64 56, !45, i64 64}
!67 = !{!68, !6, i64 168}
!68 = !{!"_ZTS9nk_window", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 72, !57, i64 76, !69, i64 92, !65, i64 104, !6, i64 168, !14, i64 176, !70, i64 180, !71, i64 288, !74, i64 384, !12, i64 428, !6, i64 432, !12, i64 440, !6, i64 448, !6, i64 456, !6, i64 464}
!69 = !{!"_ZTS9nk_scroll", !12, i64 0, !12, i64 4}
!70 = !{!"_ZTS17nk_property_state", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100}
!71 = !{!"_ZTS14nk_popup_state", !6, i64 0, !72, i64 8, !73, i64 16, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !57, i64 80}
!72 = !{!"_ZTS13nk_panel_type", !7, i64 0}
!73 = !{!"_ZTS15nk_popup_buffer", !45, i64 0, !45, i64 8, !45, i64 16, !45, i64 24, !12, i64 32}
!74 = !{!"_ZTS13nk_edit_state", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !69, i64 32, !7, i64 40, !7, i64 41}
!75 = !{!57, !14, i64 0}
!76 = !{!35, !14, i64 60}
!77 = !{!78, !14, i64 4}
!78 = !{!"_ZTS8nk_chart", !12, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !7, i64 20}
!79 = !{!57, !14, i64 4}
!80 = !{!35, !14, i64 64}
!81 = !{!78, !14, i64 8}
!82 = !{!57, !14, i64 8}
!83 = !{!78, !14, i64 12}
!84 = !{!57, !14, i64 12}
!85 = !{!78, !14, i64 16}
!86 = !{!78, !12, i64 0}
!87 = !{!88, !10, i64 0}
!88 = !{!"_ZTS13nk_chart_slot", !10, i64 0, !23, i64 4, !23, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !12, i64 24, !20, i64 28, !12, i64 36}
!89 = !{!88, !12, i64 24}
!90 = !{i64 0, i64 1, !91, i64 1, i64 1, !91, i64 2, i64 1, !91, i64 3, i64 1, !91}
!91 = !{!7, !7, i64 0}
!92 = !{!88, !14, i64 12}
!93 = !{!88, !14, i64 16}
!94 = !{!88, !14, i64 20}
!95 = !{!25, !26, i64 0}
!96 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13, i64 12, i64 4, !13}
!97 = !{!35, !14, i64 56}
!98 = !{!35, !14, i64 52}


; 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.nk_color = type { i8, i8, i8, i8 }
%struct.nk_rect = type { float, float, float, float }
%struct.nk_chart_slot = type { i32, %struct.nk_color, %struct.nk_color, float, float, float, i32, %struct.nk_vec2, i32 }
%struct.nk_vec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZL8nk_white = external hidden local_unnamed_addr constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_chart_begin_colored = external hidden unnamed_addr constant [125 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; 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) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL7nk_zeroPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @nk_fill_rect(ptr noundef, <2 x float>, <2 x float>, float noundef, i32) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @nk_draw_image(ptr noundef, <2 x float>, <2 x float>, ptr noundef, i32) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @nk_draw_nine_slice(ptr noundef, <2 x float>, <2 x float>, ptr noundef, i32) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local i32 @nk_widget(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local range(i32 0, 2) i32 @nk_chart_begin_colored(ptr noundef %0, i32 noundef %1, i32 %2, i32 %3, i32 noundef %4, float noundef %5, float noundef %6) local_unnamed_addr #4 {
  %8 = alloca %struct.nk_rect, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %9, label %10

9:                                                ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 28161, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_chart_begin_colored) #8
  unreachable

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %0, i64 17824
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %.not86 = icmp eq ptr %12, null
  br i1 %.not86, label %13, label %14

13:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.1, i32 noundef 28162, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_chart_begin_colored) #8
  unreachable

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %12, i64 168
  %16 = load ptr, ptr %15, align 8, !tbaa !62
  %.not87 = icmp eq ptr %16, null
  br i1 %.not87, label %17, label %18

17:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.1, i32 noundef 28163, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_chart_begin_colored) #8
  unreachable

18:                                               ; preds = %14
  %19 = call i32 @nk_widget(ptr noundef nonnull %8, ptr noundef nonnull %0)
  %.not88 = icmp eq i32 %19, 0
  %20 = load ptr, ptr %11, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 168
  %22 = load ptr, ptr %21, align 8, !tbaa !62
  %23 = getelementptr inbounds i8, ptr %22, i64 248
  br i1 %.not88, label %24, label %25

24:                                               ; preds = %18
  call void @_ZL7nk_zeroPvm(ptr noundef nonnull %23, i64 noundef 180)
  br label %73

25:                                               ; preds = %18
  %26 = getelementptr inbounds i8, ptr %0, i64 5408
  call void @_ZL7nk_zeroPvm(ptr noundef nonnull %23, i64 noundef 180)
  %27 = getelementptr inbounds i8, ptr %0, i64 5468
  %28 = getelementptr inbounds i8, ptr %22, i64 252
  %29 = load <2 x float>, ptr %8, align 8, !tbaa !70
  %30 = load <2 x float>, ptr %27, align 4, !tbaa !70
  %31 = fadd <2 x float> %29, %30
  store <2 x float> %31, ptr %28, align 4, !tbaa !70
  %32 = getelementptr inbounds i8, ptr %8, i64 8
  %33 = getelementptr inbounds i8, ptr %22, i64 260
  %34 = load <2 x float>, ptr %32, align 8, !tbaa !70
  %35 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %30, <2 x float> <float -2.000000e+00, float -2.000000e+00>, <2 x float> %34)
  %36 = fmul <2 x float> %30, <float 2.000000e+00, float 2.000000e+00>
  %37 = fcmp olt <2 x float> %35, %36
  %38 = select <2 x i1> %37, <2 x float> %36, <2 x float> %35
  store <2 x float> %38, ptr %33, align 4, !tbaa !70
  %39 = getelementptr inbounds i8, ptr %22, i64 268
  %40 = load i32, ptr %23, align 4, !tbaa !71
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %23, align 4, !tbaa !71
  %42 = sext i32 %40 to i64
  %43 = getelementptr inbounds [4 x %struct.nk_chart_slot], ptr %39, i64 0, i64 %42
  store i32 %1, ptr %43, align 4, !tbaa !73
  %44 = getelementptr inbounds i8, ptr %43, i64 24
  store i32 %4, ptr %44, align 4, !tbaa !76
  %45 = getelementptr inbounds i8, ptr %43, i64 4
  store i32 %2, ptr %45, align 4
  %46 = getelementptr inbounds i8, ptr %43, i64 8
  store i32 %3, ptr %46, align 4
  %47 = fcmp olt float %5, %6
  %48 = select i1 %47, float %5, float %6
  %49 = getelementptr inbounds i8, ptr %43, i64 12
  store float %48, ptr %49, align 4, !tbaa !77
  %50 = select i1 %47, float %6, float %5
  %51 = getelementptr inbounds i8, ptr %43, i64 16
  store float %50, ptr %51, align 4, !tbaa !78
  %52 = fsub float %50, %48
  %53 = getelementptr inbounds i8, ptr %43, i64 20
  store float %52, ptr %53, align 4, !tbaa !79
  %54 = load i32, ptr %26, align 8, !tbaa !80
  switch i32 %54, label %73 [
    i32 1, label %55
    i32 2, label %58
    i32 0, label %61
  ]

55:                                               ; preds = %25
  %56 = getelementptr inbounds i8, ptr %20, i64 104
  %.sroa.011.0.copyload = load <2 x float>, ptr %8, align 8
  %.sroa.212.0.copyload = load <2 x float>, ptr %32, align 8
  %57 = getelementptr inbounds i8, ptr %0, i64 5416
  %.sroa.010.0.copyload = load i32, ptr @_ZL8nk_white, align 1
  call void @nk_draw_image(ptr noundef nonnull %56, <2 x float> %.sroa.011.0.copyload, <2 x float> %.sroa.212.0.copyload, ptr noundef nonnull %57, i32 %.sroa.010.0.copyload)
  br label %73

58:                                               ; preds = %25
  %59 = getelementptr inbounds i8, ptr %20, i64 104
  %.sroa.08.0.copyload = load <2 x float>, ptr %8, align 8
  %.sroa.29.0.copyload = load <2 x float>, ptr %32, align 8
  %60 = getelementptr inbounds i8, ptr %0, i64 5416
  %.sroa.07.0.copyload = load i32, ptr @_ZL8nk_white, align 1
  call void @nk_draw_nine_slice(ptr noundef nonnull %59, <2 x float> %.sroa.08.0.copyload, <2 x float> %.sroa.29.0.copyload, ptr noundef nonnull %60, i32 %.sroa.07.0.copyload)
  br label %73

61:                                               ; preds = %25
  %62 = getelementptr inbounds i8, ptr %20, i64 104
  %.sroa.05.0.copyload = load <2 x float>, ptr %8, align 8
  %.sroa.26.0.copyload = load <2 x float>, ptr %32, align 8
  %63 = getelementptr inbounds i8, ptr %0, i64 5464
  %64 = load float, ptr %63, align 8, !tbaa !81
  %65 = getelementptr inbounds i8, ptr %0, i64 5448
  %.sroa.04.0.copyload = load i32, ptr %65, align 8
  call void @nk_fill_rect(ptr noundef nonnull %62, <2 x float> %.sroa.05.0.copyload, <2 x float> %.sroa.26.0.copyload, float noundef %64, i32 %.sroa.04.0.copyload)
  %.sroa.01.0.copyload = load <2 x float>, ptr %8, align 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %32, align 8
  %66 = getelementptr inbounds i8, ptr %0, i64 5460
  %67 = load float, ptr %66, align 4, !tbaa !82
  %68 = call { <2 x float>, <2 x float> } @_ZL14nk_shrink_rect7nk_rectf(<2 x float> %.sroa.01.0.copyload, <2 x float> %.sroa.2.0.copyload, float noundef %67)
  %69 = extractvalue { <2 x float>, <2 x float> } %68, 0
  %70 = extractvalue { <2 x float>, <2 x float> } %68, 1
  %71 = load float, ptr %63, align 8, !tbaa !81
  %72 = getelementptr inbounds i8, ptr %0, i64 5416
  %.sroa.0.0.copyload = load i32, ptr %72, align 8
  call void @nk_fill_rect(ptr noundef nonnull %62, <2 x float> %69, <2 x float> %70, float noundef %71, i32 %.sroa.0.0.copyload)
  br label %73

73:                                               ; preds = %25, %55, %58, %61, %24
  %.0 = phi i32 [ 0, %24 ], [ 1, %61 ], [ 1, %58 ], [ 1, %55 ], [ 1, %25 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  ret i32 %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden { <2 x float>, <2 x float> } @_ZL14nk_shrink_rect7nk_rectf(<2 x float>, <2 x float>, float noundef) local_unnamed_addr #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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, !16, i64 17824}
!6 = !{!"_ZTS10nk_context", !7, i64 0, !15, i64 360, !36, i64 9000, !41, i64 9120, !11, i64 9144, !42, i64 9148, !43, i64 9152, !14, i64 12024, !51, i64 12032, !56, i64 12272, !60, i64 17656, !11, i64 17720, !11, i64 17724, !61, i64 17728, !16, i64 17800, !16, i64 17808, !16, i64 17816, !16, i64 17824, !16, i64 17832, !11, i64 17840, !11, i64 17844}
!7 = !{!"_ZTS8nk_input", !8, i64 0, !12, i64 260}
!8 = !{!"_ZTS11nk_keyboard", !9, i64 0, !9, i64 240, !11, i64 256}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTS8nk_mouse", !9, i64 0, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !9, i64 96, !9, i64 97, !9, i64 98}
!13 = !{!"_ZTS7nk_vec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !9, i64 0}
!15 = !{!"_ZTS8nk_style", !16, i64 0, !9, i64 8, !16, i64 64, !16, i64 72, !11, i64 80, !17, i64 84, !19, i64 96, !19, i64 296, !19, i64 496, !22, i64 696, !22, i64 976, !23, i64 1256, !24, i64 1584, !26, i64 2320, !27, i64 2624, !28, i64 4128, !30, i64 5048, !29, i64 5120, !29, i64 5832, !31, i64 6544, !32, i64 7432, !33, i64 7832}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!"_ZTS13nk_style_text", !18, i64 0, !13, i64 4}
!18 = !{!"_ZTS8nk_color", !9, i64 0, !9, i64 1, !9, i64 2, !9, i64 3}
!19 = !{!"_ZTS15nk_style_button", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !11, i64 140, !14, i64 144, !14, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !9, i64 176, !16, i64 184, !16, i64 192}
!20 = !{!"_ZTS13nk_style_item", !21, i64 0, !9, i64 8}
!21 = !{!"_ZTS18nk_style_item_type", !9, i64 0}
!22 = !{!"_ZTS15nk_style_toggle", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !20, i64 128, !20, i64 168, !18, i64 208, !18, i64 212, !18, i64 216, !18, i64 220, !11, i64 224, !13, i64 228, !13, i64 236, !14, i64 244, !14, i64 248, !9, i64 256, !16, i64 264, !16, i64 272}
!23 = !{!"_ZTS19nk_style_selectable", !20, i64 0, !20, i64 40, !20, i64 80, !20, i64 120, !20, i64 160, !20, i64 200, !18, i64 240, !18, i64 244, !18, i64 248, !18, i64 252, !18, i64 256, !18, i64 260, !18, i64 264, !11, i64 268, !14, i64 272, !13, i64 276, !13, i64 284, !13, i64 292, !9, i64 304, !16, i64 312, !16, i64 320}
!24 = !{!"_ZTS15nk_style_slider", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !20, i64 144, !20, i64 184, !20, i64 224, !14, i64 264, !14, i64 268, !14, i64 272, !13, i64 276, !13, i64 284, !13, i64 292, !11, i64 300, !19, i64 304, !19, i64 504, !25, i64 704, !25, i64 708, !9, i64 712, !16, i64 720, !16, i64 728}
!25 = !{!"_ZTS14nk_symbol_type", !9, i64 0}
!26 = !{!"_ZTS17nk_style_progress", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !20, i64 128, !20, i64 168, !20, i64 208, !18, i64 248, !14, i64 252, !14, i64 256, !14, i64 260, !14, i64 264, !13, i64 268, !9, i64 280, !16, i64 288, !16, i64 296}
!27 = !{!"_ZTS17nk_style_property", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !25, i64 136, !25, i64 140, !14, i64 144, !14, i64 148, !13, i64 152, !28, i64 160, !19, i64 1080, !19, i64 1280, !9, i64 1480, !16, i64 1488, !16, i64 1496}
!28 = !{!"_ZTS13nk_style_edit", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !29, i64 128, !18, i64 840, !18, i64 844, !18, i64 848, !18, i64 852, !18, i64 856, !18, i64 860, !18, i64 864, !18, i64 868, !18, i64 872, !18, i64 876, !18, i64 880, !14, i64 884, !14, i64 888, !14, i64 892, !13, i64 896, !13, i64 904, !14, i64 912}
!29 = !{!"_ZTS18nk_style_scrollbar", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !20, i64 128, !20, i64 168, !20, i64 208, !18, i64 248, !14, i64 252, !14, i64 256, !14, i64 260, !14, i64 264, !13, i64 268, !11, i64 276, !19, i64 280, !19, i64 480, !25, i64 680, !25, i64 684, !9, i64 688, !16, i64 696, !16, i64 704}
!30 = !{!"_ZTS14nk_style_chart", !20, i64 0, !18, i64 40, !18, i64 44, !18, i64 48, !14, i64 52, !14, i64 56, !13, i64 60}
!31 = !{!"_ZTS12nk_style_tab", !20, i64 0, !18, i64 40, !18, i64 44, !19, i64 48, !19, i64 248, !19, i64 448, !19, i64 648, !25, i64 848, !25, i64 852, !14, i64 856, !14, i64 860, !14, i64 864, !13, i64 868, !13, i64 876}
!32 = !{!"_ZTS14nk_style_combo", !20, i64 0, !20, i64 40, !20, i64 80, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !19, i64 152, !25, i64 352, !25, i64 356, !25, i64 360, !14, i64 364, !14, i64 368, !13, i64 372, !13, i64 380, !13, i64 388}
!33 = !{!"_ZTS15nk_style_window", !34, i64 0, !20, i64 576, !18, i64 616, !18, i64 620, !18, i64 624, !18, i64 628, !18, i64 632, !18, i64 636, !18, i64 640, !18, i64 644, !20, i64 648, !14, i64 688, !14, i64 692, !14, i64 696, !14, i64 700, !14, i64 704, !14, i64 708, !14, i64 712, !14, i64 716, !14, i64 720, !13, i64 724, !13, i64 732, !13, i64 740, !13, i64 748, !13, i64 756, !13, i64 764, !13, i64 772, !13, i64 780, !13, i64 788, !13, i64 796}
!34 = !{!"_ZTS22nk_style_window_header", !20, i64 0, !20, i64 40, !20, i64 80, !19, i64 120, !19, i64 320, !25, i64 520, !25, i64 524, !25, i64 528, !18, i64 532, !18, i64 536, !18, i64 540, !35, i64 544, !13, i64 548, !13, i64 556, !13, i64 564}
!35 = !{!"_ZTS21nk_style_header_align", !9, i64 0}
!36 = !{!"_ZTS9nk_buffer", !9, i64 0, !37, i64 32, !38, i64 56, !39, i64 64, !14, i64 80, !40, i64 88, !40, i64 96, !40, i64 104, !40, i64 112}
!37 = !{!"_ZTS12nk_allocator", !9, i64 0, !16, i64 8, !16, i64 16}
!38 = !{!"_ZTS18nk_allocation_type", !9, i64 0}
!39 = !{!"_ZTS9nk_memory", !16, i64 0, !40, i64 8}
!40 = !{!"long", !9, i64 0}
!41 = !{!"_ZTS12nk_clipboard", !9, i64 0, !16, i64 8, !16, i64 16}
!42 = !{!"_ZTS18nk_button_behavior", !9, i64 0}
!43 = !{!"_ZTS23nk_configuration_stacks", !44, i64 0, !45, i64 776, !46, i64 1296, !47, i64 1560, !48, i64 2080, !49, i64 2600, !50, i64 2736}
!44 = !{!"_ZTS26nk_config_stack_style_item", !11, i64 0, !9, i64 8}
!45 = !{!"_ZTS21nk_config_stack_float", !11, i64 0, !9, i64 8}
!46 = !{!"_ZTS20nk_config_stack_vec2", !11, i64 0, !9, i64 8}
!47 = !{!"_ZTS21nk_config_stack_flags", !11, i64 0, !9, i64 8}
!48 = !{!"_ZTS21nk_config_stack_color", !11, i64 0, !9, i64 8}
!49 = !{!"_ZTS25nk_config_stack_user_font", !11, i64 0, !9, i64 8}
!50 = !{!"_ZTS31nk_config_stack_button_behavior", !11, i64 0, !9, i64 8}
!51 = !{!"_ZTS12nk_draw_list", !52, i64 0, !9, i64 16, !53, i64 112, !16, i64 176, !16, i64 184, !16, i64 192, !11, i64 200, !11, i64 204, !11, i64 208, !40, i64 216, !11, i64 224, !11, i64 228, !54, i64 232, !54, i64 236}
!52 = !{!"_ZTS7nk_rect", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!53 = !{!"_ZTS17nk_convert_config", !14, i64 0, !54, i64 4, !54, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !55, i64 24, !16, i64 40, !40, i64 48, !40, i64 56}
!54 = !{!"_ZTS16nk_anti_aliasing", !9, i64 0}
!55 = !{!"_ZTS20nk_draw_null_texture", !9, i64 0, !13, i64 8}
!56 = !{!"_ZTS12nk_text_edit", !41, i64 0, !57, i64 24, !16, i64 152, !13, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !9, i64 180, !9, i64 181, !9, i64 182, !9, i64 183, !9, i64 184, !9, i64 185, !9, i64 186, !14, i64 188, !58, i64 192}
!57 = !{!"_ZTS6nk_str", !36, i64 0, !11, i64 120}
!58 = !{!"_ZTS18nk_text_undo_state", !9, i64 0, !9, i64 1188, !59, i64 5184, !59, i64 5186, !59, i64 5188, !59, i64 5190}
!59 = !{!"short", !9, i64 0}
!60 = !{!"_ZTS17nk_command_buffer", !16, i64 0, !52, i64 8, !11, i64 24, !9, i64 32, !40, i64 40, !40, i64 48, !40, i64 56}
!61 = !{!"_ZTS7nk_pool", !37, i64 0, !38, i64 24, !11, i64 28, !16, i64 32, !16, i64 40, !11, i64 48, !40, i64 56, !40, i64 64}
!62 = !{!63, !16, i64 168}
!63 = !{!"_ZTS9nk_window", !11, i64 0, !11, i64 4, !9, i64 8, !11, i64 72, !52, i64 76, !64, i64 92, !60, i64 104, !16, i64 168, !14, i64 176, !65, i64 180, !66, i64 288, !69, i64 384, !11, i64 428, !16, i64 432, !11, i64 440, !16, i64 448, !16, i64 456, !16, i64 464}
!64 = !{!"_ZTS9nk_scroll", !11, i64 0, !11, i64 4}
!65 = !{!"_ZTS17nk_property_state", !11, i64 0, !11, i64 4, !9, i64 8, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100}
!66 = !{!"_ZTS14nk_popup_state", !16, i64 0, !67, i64 8, !68, i64 16, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !52, i64 80}
!67 = !{!"_ZTS13nk_panel_type", !9, i64 0}
!68 = !{!"_ZTS15nk_popup_buffer", !40, i64 0, !40, i64 8, !40, i64 16, !40, i64 24, !11, i64 32}
!69 = !{!"_ZTS13nk_edit_state", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !64, i64 32, !9, i64 40, !9, i64 41}
!70 = !{!14, !14, i64 0}
!71 = !{!72, !11, i64 0}
!72 = !{!"_ZTS8nk_chart", !11, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !9, i64 20}
!73 = !{!74, !75, i64 0}
!74 = !{!"_ZTS13nk_chart_slot", !75, i64 0, !18, i64 4, !18, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !11, i64 24, !13, i64 28, !11, i64 36}
!75 = !{!"_ZTS13nk_chart_type", !9, i64 0}
!76 = !{!74, !11, i64 24}
!77 = !{!74, !14, i64 12}
!78 = !{!74, !14, i64 16}
!79 = !{!74, !14, i64 20}
!80 = !{!20, !21, i64 0}
!81 = !{!30, !14, i64 56}
!82 = !{!30, !14, i64 52}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass