; LLVM IR from unitreerobotics/kinect_teleoperate :: src/extern/glfw/src/tests (gamma)

; 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_image }
%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.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [21 x i8], align 1
@nk_white = external hidden constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_chart_begin_colored = external hidden unnamed_addr constant [121 x i8], align 1

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

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

; Function Attrs: 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) #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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

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

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

; Function Attrs: nounwind 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
  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 !9
  store float %5, ptr %14, align 4, !tbaa !11
  store float %6, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  call void @llvm.memset.p0.i64(ptr align 4 %21, i8 0, i64 16, i1 false)
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %28

27:                                               ; preds = %7
  br label %29

28:                                               ; preds = %7
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 24044, ptr noundef @__PRETTY_FUNCTION__.nk_chart_begin_colored) #8
  unreachable

29:                                               ; preds = %27
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.nk_context, ptr %30, i32 0, i32 17
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  br label %36

35:                                               ; preds = %29
  call void @__assert_fail(ptr noundef @.str.79, ptr noundef @.str.2, i32 noundef 24045, ptr noundef @__PRETTY_FUNCTION__.nk_chart_begin_colored) #8
  unreachable

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

43:                                               ; preds = %36
  br label %45

44:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.80, ptr noundef @.str.2, i32 noundef 24046, ptr noundef @__PRETTY_FUNCTION__.nk_chart_begin_colored) #8
  unreachable

45:                                               ; preds = %43
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = icmp ne ptr %46, null
  br i1 %47, label %48, label %60

48:                                               ; preds = %45
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.nk_context, ptr %49, i32 0, i32 17
  %51 = load ptr, ptr %50, align 8, !tbaa !13
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %60

53:                                               ; preds = %48
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.nk_context, ptr %54, i32 0, i32 17
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  %57 = getelementptr inbounds %struct.nk_window, ptr %56, i32 0, i32 7
  %58 = load ptr, ptr %57, align 8, !tbaa !59
  %59 = icmp ne ptr %58, null
  br i1 %59, label %61, label %60

60:                                               ; preds = %53, %48, %45
  store i32 0, ptr %8, align 4
  store i32 1, ptr %22, align 4
  br label %272

61:                                               ; preds = %53
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = call i32 @nk_widget(ptr noundef %21, ptr noundef %62)
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %73, label %65

65:                                               ; preds = %61
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.nk_context, ptr %66, i32 0, i32 17
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = getelementptr inbounds %struct.nk_window, ptr %68, i32 0, i32 7
  %70 = load ptr, ptr %69, align 8, !tbaa !59
  %71 = getelementptr inbounds %struct.nk_panel, ptr %70, i32 0, i32 15
  store ptr %71, ptr %17, align 8, !tbaa !5
  %72 = load ptr, ptr %17, align 8, !tbaa !5
  call void @nk_zero(ptr noundef %72, i64 noundef 180)
  store i32 0, ptr %8, align 4
  store i32 1, ptr %22, align 4
  br label %272

73:                                               ; preds = %61
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.nk_context, ptr %74, i32 0, i32 17
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  store ptr %76, ptr %16, align 8, !tbaa !5
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.nk_context, ptr %77, i32 0, i32 1
  store ptr %78, ptr %18, align 8, !tbaa !5
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.nk_window, ptr %79, i32 0, i32 7
  %81 = load ptr, ptr %80, align 8, !tbaa !59
  %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 %18, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.nk_style, ptr %83, i32 0, i32 16
  store ptr %84, ptr %19, align 8, !tbaa !5
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  call void @nk_zero(ptr noundef %85, i64 noundef 180)
  %86 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 0
  %87 = load float, ptr %86, align 4, !tbaa !66
  %88 = load ptr, ptr %19, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.nk_style_chart, ptr %88, i32 0, i32 6
  %90 = getelementptr inbounds %struct.nk_vec2, ptr %89, i32 0, i32 0
  %91 = load float, ptr %90, align 4, !tbaa !67
  %92 = fadd float %87, %91
  %93 = load ptr, ptr %17, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.nk_chart, ptr %93, i32 0, i32 1
  store float %92, ptr %94, align 4, !tbaa !68
  %95 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 1
  %96 = load float, ptr %95, align 4, !tbaa !70
  %97 = load ptr, ptr %19, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.nk_style_chart, ptr %97, i32 0, i32 6
  %99 = getelementptr inbounds %struct.nk_vec2, ptr %98, i32 0, i32 1
  %100 = load float, ptr %99, align 4, !tbaa !71
  %101 = fadd float %96, %100
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.nk_chart, ptr %102, i32 0, i32 2
  store float %101, ptr %103, align 4, !tbaa !72
  %104 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 2
  %105 = load float, ptr %104, align 4, !tbaa !73
  %106 = load ptr, ptr %19, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.nk_style_chart, ptr %106, i32 0, i32 6
  %108 = getelementptr inbounds %struct.nk_vec2, ptr %107, i32 0, i32 0
  %109 = load float, ptr %108, align 4, !tbaa !67
  %110 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %109, float %105)
  %111 = load ptr, ptr %17, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.nk_chart, ptr %111, i32 0, i32 3
  store float %110, ptr %112, align 4, !tbaa !74
  %113 = getelementptr inbounds %struct.nk_rect, ptr %21, i32 0, i32 3
  %114 = load float, ptr %113, align 4, !tbaa !75
  %115 = load ptr, ptr %19, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.nk_style_chart, ptr %115, i32 0, i32 6
  %117 = getelementptr inbounds %struct.nk_vec2, ptr %116, i32 0, i32 1
  %118 = load float, ptr %117, align 4, !tbaa !71
  %119 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %118, float %114)
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.nk_chart, ptr %120, i32 0, i32 4
  store float %119, ptr %121, align 4, !tbaa !76
  %122 = load ptr, ptr %17, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.nk_chart, ptr %122, i32 0, i32 3
  %124 = load float, ptr %123, align 4, !tbaa !74
  %125 = load ptr, ptr %19, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.nk_style_chart, ptr %125, i32 0, i32 6
  %127 = getelementptr inbounds %struct.nk_vec2, ptr %126, i32 0, i32 0
  %128 = load float, ptr %127, align 4, !tbaa !67
  %129 = fmul float 2.000000e+00, %128
  %130 = fcmp olt float %124, %129
  br i1 %130, label %131, label %137

131:                                              ; preds = %73
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.nk_style_chart, ptr %132, i32 0, i32 6
  %134 = getelementptr inbounds %struct.nk_vec2, ptr %133, i32 0, i32 0
  %135 = load float, ptr %134, align 4, !tbaa !67
  %136 = fmul float 2.000000e+00, %135
  br label %141

137:                                              ; preds = %73
  %138 = load ptr, ptr %17, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.nk_chart, ptr %138, i32 0, i32 3
  %140 = load float, ptr %139, align 4, !tbaa !74
  br label %141

141:                                              ; preds = %137, %131
  %142 = phi float [ %136, %131 ], [ %140, %137 ]
  %143 = load ptr, ptr %17, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.nk_chart, ptr %143, i32 0, i32 3
  store float %142, ptr %144, align 4, !tbaa !74
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.nk_chart, ptr %145, i32 0, i32 4
  %147 = load float, ptr %146, align 4, !tbaa !76
  %148 = load ptr, ptr %19, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.nk_style_chart, ptr %148, i32 0, i32 6
  %150 = getelementptr inbounds %struct.nk_vec2, ptr %149, i32 0, i32 1
  %151 = load float, ptr %150, align 4, !tbaa !71
  %152 = fmul float 2.000000e+00, %151
  %153 = fcmp olt float %147, %152
  br i1 %153, label %154, label %160

154:                                              ; preds = %141
  %155 = load ptr, ptr %19, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.nk_style_chart, ptr %155, i32 0, i32 6
  %157 = getelementptr inbounds %struct.nk_vec2, ptr %156, i32 0, i32 1
  %158 = load float, ptr %157, align 4, !tbaa !71
  %159 = fmul float 2.000000e+00, %158
  br label %164

160:                                              ; preds = %141
  %161 = load ptr, ptr %17, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.nk_chart, ptr %161, i32 0, i32 4
  %163 = load float, ptr %162, align 4, !tbaa !76
  br label %164

164:                                              ; preds = %160, %154
  %165 = phi float [ %159, %154 ], [ %163, %160 ]
  %166 = load ptr, ptr %17, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.nk_chart, ptr %166, i32 0, i32 4
  store float %165, ptr %167, align 4, !tbaa !76
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %168 = load ptr, ptr %17, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.nk_chart, ptr %168, i32 0, i32 5
  %170 = load ptr, ptr %17, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.nk_chart, ptr %170, i32 0, i32 0
  %172 = load i32, ptr %171, align 4, !tbaa !77
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %171, align 4, !tbaa !77
  %174 = sext i32 %172 to i64
  %175 = getelementptr inbounds [4 x %struct.nk_chart_slot], ptr %169, i64 0, i64 %174
  store ptr %175, ptr %23, align 8, !tbaa !5
  %176 = load i32, ptr %12, align 4, !tbaa !9
  %177 = load ptr, ptr %23, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.nk_chart_slot, ptr %177, i32 0, i32 0
  store i32 %176, ptr %178, align 4, !tbaa !78
  %179 = load i32, ptr %13, align 4, !tbaa !9
  %180 = load ptr, ptr %23, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.nk_chart_slot, ptr %180, i32 0, i32 6
  store i32 %179, ptr %181, align 4, !tbaa !80
  %182 = load ptr, ptr %23, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.nk_chart_slot, ptr %182, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %183, ptr align 1 %9, i64 4, i1 false), !tbaa.struct !81
  %184 = load ptr, ptr %23, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.nk_chart_slot, ptr %184, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %185, ptr align 1 %10, i64 4, i1 false), !tbaa.struct !81
  %186 = load float, ptr %14, align 4, !tbaa !11
  %187 = load float, ptr %15, align 4, !tbaa !11
  %188 = fcmp olt float %186, %187
  br i1 %188, label %189, label %191

189:                                              ; preds = %164
  %190 = load float, ptr %14, align 4, !tbaa !11
  br label %193

191:                                              ; preds = %164
  %192 = load float, ptr %15, align 4, !tbaa !11
  br label %193

193:                                              ; preds = %191, %189
  %194 = phi float [ %190, %189 ], [ %192, %191 ]
  %195 = load ptr, ptr %23, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.nk_chart_slot, ptr %195, i32 0, i32 3
  store float %194, ptr %196, align 4, !tbaa !83
  %197 = load float, ptr %14, align 4, !tbaa !11
  %198 = load float, ptr %15, align 4, !tbaa !11
  %199 = fcmp olt float %197, %198
  br i1 %199, label %200, label %202

200:                                              ; preds = %193
  %201 = load float, ptr %15, align 4, !tbaa !11
  br label %204

202:                                              ; preds = %193
  %203 = load float, ptr %14, align 4, !tbaa !11
  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 4
  store float %205, ptr %207, align 4, !tbaa !84
  %208 = load ptr, ptr %23, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.nk_chart_slot, ptr %208, i32 0, i32 4
  %210 = load float, ptr %209, align 4, !tbaa !84
  %211 = load ptr, ptr %23, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.nk_chart_slot, ptr %211, i32 0, i32 3
  %213 = load float, ptr %212, align 4, !tbaa !83
  %214 = fsub float %210, %213
  %215 = load ptr, ptr %23, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.nk_chart_slot, ptr %215, i32 0, i32 5
  store float %214, ptr %216, align 4, !tbaa !85
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  %217 = load ptr, ptr %19, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.nk_style_chart, ptr %217, i32 0, i32 0
  store ptr %218, ptr %20, align 8, !tbaa !5
  %219 = load ptr, ptr %20, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.nk_style_item, ptr %219, i32 0, i32 0
  %221 = load i32, ptr %220, align 8, !tbaa !86
  %222 = icmp eq i32 %221, 1
  br i1 %222, label %223, label %233

223:                                              ; preds = %204
  %224 = load ptr, ptr %16, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.nk_window, ptr %224, i32 0, i32 6
  %226 = load ptr, ptr %20, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.nk_style_item, ptr %226, i32 0, i32 1
  %228 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 0
  %229 = load <2 x float>, ptr %228, align 4
  %230 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 1
  %231 = load <2 x float>, ptr %230, align 4
  %232 = load i32, ptr @nk_white, align 1
  call void @nk_draw_image(ptr noundef %225, <2 x float> %229, <2 x float> %231, ptr noundef %227, i32 %232)
  br label %271

233:                                              ; preds = %204
  %234 = load ptr, ptr %16, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.nk_window, ptr %234, i32 0, i32 6
  %236 = load ptr, ptr %19, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.nk_style_chart, ptr %236, i32 0, i32 5
  %238 = load float, ptr %237, align 8, !tbaa !87
  %239 = load ptr, ptr %19, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.nk_style_chart, ptr %239, i32 0, i32 1
  %241 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 0
  %242 = load <2 x float>, ptr %241, align 4
  %243 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 1
  %244 = load <2 x float>, ptr %243, align 4
  %245 = load i32, ptr %240, align 8
  call void @nk_fill_rect(ptr noundef %235, <2 x float> %242, <2 x float> %244, float noundef %238, i32 %245)
  %246 = load ptr, ptr %16, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.nk_window, ptr %246, i32 0, i32 6
  %248 = load ptr, ptr %19, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.nk_style_chart, ptr %248, i32 0, i32 4
  %250 = load float, ptr %249, align 4, !tbaa !88
  %251 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 0
  %252 = load <2 x float>, ptr %251, align 4
  %253 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 1
  %254 = load <2 x float>, ptr %253, align 4
  %255 = call { <2 x float>, <2 x float> } @nk_shrink_rect(<2 x float> %252, <2 x float> %254, float noundef %250)
  %256 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %257 = extractvalue { <2 x float>, <2 x float> } %255, 0
  store <2 x float> %257, ptr %256, align 4
  %258 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %259 = extractvalue { <2 x float>, <2 x float> } %255, 1
  store <2 x float> %259, ptr %258, align 4
  %260 = load ptr, ptr %19, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.nk_style_chart, ptr %260, i32 0, i32 5
  %262 = load float, ptr %261, align 8, !tbaa !87
  %263 = load ptr, ptr %19, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.nk_style_chart, ptr %263, i32 0, i32 0
  %265 = getelementptr inbounds %struct.nk_style_item, ptr %264, i32 0, i32 1
  %266 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %267 = load <2 x float>, ptr %266, align 4
  %268 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %269 = load <2 x float>, ptr %268, align 4
  %270 = load i32, ptr %265, align 8
  call void @nk_fill_rect(ptr noundef %247, <2 x float> %267, <2 x float> %269, float noundef %262, i32 %270)
  br label %271

271:                                              ; preds = %233, %223
  store i32 1, ptr %8, align 4
  store i32 1, ptr %22, align 4
  br label %272

272:                                              ; preds = %271, %65, %60
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  %273 = load i32, ptr %8, align 4
  ret i32 %273
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree 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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind 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 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !6, i64 16600}
!14 = !{!"nk_context", !15, i64 0, !19, i64 360, !36, i64 7904, !40, i64 8024, !10, i64 8048, !10, i64 8052, !41, i64 8056, !12, i64 10800, !49, i64 10808, !53, i64 11048, !57, i64 16432, !10, i64 16496, !10, i64 16500, !58, i64 16504, !6, i64 16576, !6, i64 16584, !6, i64 16592, !6, i64 16600, !6, i64 16608, !10, i64 16616, !10, i64 16620}
!15 = !{!"nk_input", !16, i64 0, !17, i64 260}
!16 = !{!"nk_keyboard", !7, i64 0, !7, i64 240, !10, i64 256}
!17 = !{!"nk_mouse", !7, i64 0, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !7, i64 96, !7, i64 97, !7, i64 98}
!18 = !{!"nk_vec2", !12, i64 0, !12, i64 4}
!19 = !{!"nk_style", !6, i64 0, !7, i64 8, !6, i64 64, !6, i64 72, !10, i64 80, !20, i64 84, !22, i64 96, !22, i64 272, !22, i64 448, !24, i64 624, !24, i64 864, !25, i64 1104, !26, i64 1384, !27, i64 2024, !28, i64 2280, !29, i64 3592, !31, i64 4392, !30, i64 4456, !30, i64 5072, !32, i64 5688, !33, i64 6472, !34, i64 6824}
!20 = !{!"nk_style_text", !21, i64 0, !18, i64 4}
!21 = !{!"nk_color", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3}
!22 = !{!"nk_style_button", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !21, i64 100, !21, i64 104, !21, i64 108, !21, i64 112, !10, i64 116, !12, i64 120, !12, i64 124, !18, i64 128, !18, i64 136, !18, i64 144, !7, i64 152, !6, i64 160, !6, i64 168}
!23 = !{!"nk_style_item", !10, i64 0, !7, i64 8}
!24 = !{!"nk_style_toggle", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !23, i64 104, !23, i64 136, !21, i64 168, !21, i64 172, !21, i64 176, !21, i64 180, !10, i64 184, !18, i64 188, !18, i64 196, !12, i64 204, !12, i64 208, !7, i64 216, !6, i64 224, !6, i64 232}
!25 = !{!"nk_style_selectable", !23, i64 0, !23, i64 32, !23, i64 64, !23, i64 96, !23, i64 128, !23, i64 160, !21, i64 192, !21, i64 196, !21, i64 200, !21, i64 204, !21, i64 208, !21, i64 212, !21, i64 216, !10, i64 220, !12, i64 224, !18, i64 228, !18, i64 236, !18, i64 244, !7, i64 256, !6, i64 264, !6, i64 272}
!26 = !{!"nk_style_slider", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !21, i64 100, !21, i64 104, !21, i64 108, !21, i64 112, !23, i64 120, !23, i64 152, !23, i64 184, !12, i64 216, !12, i64 220, !12, i64 224, !18, i64 228, !18, i64 236, !18, i64 244, !10, i64 252, !22, i64 256, !22, i64 432, !10, i64 608, !10, i64 612, !7, i64 616, !6, i64 624, !6, i64 632}
!27 = !{!"nk_style_progress", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !23, i64 104, !23, i64 136, !23, i64 168, !21, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !18, i64 220, !7, i64 232, !6, i64 240, !6, i64 248}
!28 = !{!"nk_style_property", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !21, i64 100, !21, i64 104, !21, i64 108, !10, i64 112, !10, i64 116, !12, i64 120, !12, i64 124, !18, i64 128, !29, i64 136, !22, i64 936, !22, i64 1112, !7, i64 1288, !6, i64 1296, !6, i64 1304}
!29 = !{!"nk_style_edit", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !30, i64 104, !21, i64 720, !21, i64 724, !21, i64 728, !21, i64 732, !21, i64 736, !21, i64 740, !21, i64 744, !21, i64 748, !21, i64 752, !21, i64 756, !21, i64 760, !12, i64 764, !12, i64 768, !12, i64 772, !18, i64 776, !18, i64 784, !12, i64 792}
!30 = !{!"nk_style_scrollbar", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !23, i64 104, !23, i64 136, !23, i64 168, !21, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !18, i64 220, !10, i64 228, !22, i64 232, !22, i64 408, !10, i64 584, !10, i64 588, !7, i64 592, !6, i64 600, !6, i64 608}
!31 = !{!"nk_style_chart", !23, i64 0, !21, i64 32, !21, i64 36, !21, i64 40, !12, i64 44, !12, i64 48, !18, i64 52}
!32 = !{!"nk_style_tab", !23, i64 0, !21, i64 32, !21, i64 36, !22, i64 40, !22, i64 216, !22, i64 392, !22, i64 568, !10, i64 744, !10, i64 748, !12, i64 752, !12, i64 756, !12, i64 760, !18, i64 764, !18, i64 772}
!33 = !{!"nk_style_combo", !23, i64 0, !23, i64 32, !23, i64 64, !21, i64 96, !21, i64 100, !21, i64 104, !21, i64 108, !21, i64 112, !21, i64 116, !21, i64 120, !22, i64 128, !10, i64 304, !10, i64 308, !10, i64 312, !12, i64 316, !12, i64 320, !18, i64 324, !18, i64 332, !18, i64 340}
!34 = !{!"nk_style_window", !35, i64 0, !23, i64 504, !21, i64 536, !21, i64 540, !21, i64 544, !21, i64 548, !21, i64 552, !21, i64 556, !21, i64 560, !21, i64 564, !23, i64 568, !12, i64 600, !12, i64 604, !12, i64 608, !12, i64 612, !12, i64 616, !12, i64 620, !12, i64 624, !12, i64 628, !12, i64 632, !18, i64 636, !18, i64 644, !18, i64 652, !18, i64 660, !18, i64 668, !18, i64 676, !18, i64 684, !18, i64 692, !18, i64 700, !18, i64 708}
!35 = !{!"nk_style_window_header", !23, i64 0, !23, i64 32, !23, i64 64, !22, i64 96, !22, i64 272, !10, i64 448, !10, i64 452, !10, i64 456, !21, i64 460, !21, i64 464, !21, i64 468, !10, i64 472, !18, i64 476, !18, i64 484, !18, i64 492}
!36 = !{!"nk_buffer", !7, i64 0, !37, i64 32, !10, i64 56, !38, i64 64, !12, i64 80, !39, i64 88, !39, i64 96, !39, i64 104, !39, i64 112}
!37 = !{!"nk_allocator", !7, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"nk_memory", !6, i64 0, !39, i64 8}
!39 = !{!"long", !7, i64 0}
!40 = !{!"nk_clipboard", !7, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"nk_configuration_stacks", !42, i64 0, !43, i64 648, !44, i64 1168, !45, i64 1432, !46, i64 1952, !47, i64 2472, !48, i64 2608}
!42 = !{!"nk_config_stack_style_item", !10, i64 0, !7, i64 8}
!43 = !{!"nk_config_stack_float", !10, i64 0, !7, i64 8}
!44 = !{!"nk_config_stack_vec2", !10, i64 0, !7, i64 8}
!45 = !{!"nk_config_stack_flags", !10, i64 0, !7, i64 8}
!46 = !{!"nk_config_stack_color", !10, i64 0, !7, i64 8}
!47 = !{!"nk_config_stack_user_font", !10, i64 0, !7, i64 8}
!48 = !{!"nk_config_stack_button_behavior", !10, i64 0, !7, i64 8}
!49 = !{!"nk_draw_list", !50, i64 0, !7, i64 16, !51, i64 112, !6, i64 176, !6, i64 184, !6, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !39, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236}
!50 = !{!"nk_rect", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!51 = !{!"nk_convert_config", !12, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !52, i64 24, !6, i64 40, !39, i64 48, !39, i64 56}
!52 = !{!"nk_draw_null_texture", !7, i64 0, !18, i64 8}
!53 = !{!"nk_text_edit", !40, i64 0, !54, i64 24, !6, i64 152, !18, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !7, i64 180, !7, i64 181, !7, i64 182, !7, i64 183, !7, i64 184, !7, i64 185, !7, i64 186, !12, i64 188, !55, i64 192}
!54 = !{!"nk_str", !36, i64 0, !10, i64 120}
!55 = !{!"nk_text_undo_state", !7, i64 0, !7, i64 1188, !56, i64 5184, !56, i64 5186, !56, i64 5188, !56, i64 5190}
!56 = !{!"short", !7, i64 0}
!57 = !{!"nk_command_buffer", !6, i64 0, !50, i64 8, !10, i64 24, !7, i64 32, !39, i64 40, !39, i64 48, !39, i64 56}
!58 = !{!"nk_pool", !37, i64 0, !10, i64 24, !10, i64 28, !6, i64 32, !6, i64 40, !10, i64 48, !39, i64 56, !39, i64 64}
!59 = !{!60, !6, i64 168}
!60 = !{!"nk_window", !10, i64 0, !10, i64 4, !7, i64 8, !10, i64 72, !50, i64 76, !61, i64 92, !57, i64 104, !6, i64 168, !12, i64 176, !62, i64 180, !63, i64 288, !65, i64 384, !10, i64 428, !6, i64 432, !10, i64 440, !6, i64 448, !6, i64 456, !6, i64 464}
!61 = !{!"nk_scroll", !10, i64 0, !10, i64 4}
!62 = !{!"nk_property_state", !10, i64 0, !10, i64 4, !7, i64 8, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100}
!63 = !{!"nk_popup_state", !6, i64 0, !10, i64 8, !64, i64 16, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !50, i64 80}
!64 = !{!"nk_popup_buffer", !39, i64 0, !39, i64 8, !39, i64 16, !39, i64 24, !10, i64 32}
!65 = !{!"nk_edit_state", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !61, i64 32, !7, i64 40, !7, i64 41}
!66 = !{!50, !12, i64 0}
!67 = !{!31, !12, i64 52}
!68 = !{!69, !12, i64 4}
!69 = !{!"nk_chart", !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !7, i64 20}
!70 = !{!50, !12, i64 4}
!71 = !{!31, !12, i64 56}
!72 = !{!69, !12, i64 8}
!73 = !{!50, !12, i64 8}
!74 = !{!69, !12, i64 12}
!75 = !{!50, !12, i64 12}
!76 = !{!69, !12, i64 16}
!77 = !{!69, !10, i64 0}
!78 = !{!79, !10, i64 0}
!79 = !{!"nk_chart_slot", !10, i64 0, !21, i64 4, !21, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !10, i64 24, !18, i64 28, !10, i64 36}
!80 = !{!79, !10, i64 24}
!81 = !{i64 0, i64 1, !82, i64 1, i64 1, !82, i64 2, i64 1, !82, i64 3, i64 1, !82}
!82 = !{!7, !7, i64 0}
!83 = !{!79, !12, i64 12}
!84 = !{!79, !12, i64 16}
!85 = !{!79, !12, i64 20}
!86 = !{!23, !10, i64 0}
!87 = !{!31, !12, i64 48}
!88 = !{!31, !12, i64 44}


; 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.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [21 x i8], align 1
@nk_white = external hidden local_unnamed_addr constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_chart_begin_colored = external hidden unnamed_addr constant [121 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

; Function Attrs: nounwind 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: nounwind 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: nounwind uwtable
declare dso_local i32 @nk_widget(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind 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) #6
  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.33, ptr noundef nonnull @.str.2, i32 noundef 24044, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_chart_begin_colored) #7
  unreachable

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

13:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.79, ptr noundef nonnull @.str.2, i32 noundef 24045, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_chart_begin_colored) #7
  unreachable

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

17:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.80, ptr noundef nonnull @.str.2, i32 noundef 24046, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_chart_begin_colored) #7
  unreachable

18:                                               ; preds = %14
  %19 = call i32 @nk_widget(ptr noundef nonnull %8, ptr noundef nonnull %0)
  %.not74 = 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 !56
  %23 = getelementptr inbounds i8, ptr %22, i64 248
  br i1 %.not74, label %24, label %25

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

25:                                               ; preds = %18
  %26 = getelementptr inbounds i8, ptr %0, i64 4752
  call void @nk_zero(ptr noundef nonnull %23, i64 noundef 180)
  %27 = getelementptr inbounds i8, ptr %0, i64 4804
  %28 = getelementptr inbounds i8, ptr %22, i64 252
  %29 = load <2 x float>, ptr %8, align 8, !tbaa !63
  %30 = load <2 x float>, ptr %27, align 4, !tbaa !63
  %31 = fadd <2 x float> %29, %30
  store <2 x float> %31, ptr %28, align 4, !tbaa !63
  %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 !63
  %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 !63
  %39 = getelementptr inbounds i8, ptr %22, i64 268
  %40 = load i32, ptr %23, align 4, !tbaa !64
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %23, align 4, !tbaa !64
  %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 !66
  %44 = getelementptr inbounds i8, ptr %43, i64 24
  store i32 %4, ptr %44, align 4, !tbaa !68
  %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 !69
  %50 = select i1 %47, float %6, float %5
  %51 = getelementptr inbounds i8, ptr %43, i64 16
  store float %50, ptr %51, align 4, !tbaa !70
  %52 = fsub float %50, %48
  %53 = getelementptr inbounds i8, ptr %43, i64 20
  store float %52, ptr %53, align 4, !tbaa !71
  %54 = load i32, ptr %26, align 8, !tbaa !72
  %55 = icmp eq i32 %54, 1
  %56 = getelementptr inbounds i8, ptr %20, i64 104
  br i1 %55, label %57, label %62

57:                                               ; preds = %25
  %58 = getelementptr inbounds i8, ptr %0, i64 4760
  %59 = load <2 x float>, ptr %8, align 8
  %60 = load <2 x float>, ptr %32, align 8
  %61 = load i32, ptr @nk_white, align 1
  call void @nk_draw_image(ptr noundef nonnull %56, <2 x float> %59, <2 x float> %60, ptr noundef nonnull %58, i32 %61)
  br label %79

62:                                               ; preds = %25
  %63 = getelementptr inbounds i8, ptr %0, i64 4800
  %64 = load float, ptr %63, align 8, !tbaa !73
  %65 = getelementptr inbounds i8, ptr %0, i64 4784
  %66 = load <2 x float>, ptr %8, align 8
  %67 = load <2 x float>, ptr %32, align 8
  %68 = load i32, ptr %65, align 8
  call void @nk_fill_rect(ptr noundef nonnull %56, <2 x float> %66, <2 x float> %67, float noundef %64, i32 %68)
  %69 = getelementptr inbounds i8, ptr %0, i64 4796
  %70 = load float, ptr %69, align 4, !tbaa !74
  %71 = load <2 x float>, ptr %8, align 8
  %72 = load <2 x float>, ptr %32, align 8
  %73 = call { <2 x float>, <2 x float> } @nk_shrink_rect(<2 x float> %71, <2 x float> %72, float noundef %70)
  %74 = extractvalue { <2 x float>, <2 x float> } %73, 0
  %75 = extractvalue { <2 x float>, <2 x float> } %73, 1
  %76 = load float, ptr %63, align 8, !tbaa !73
  %77 = getelementptr inbounds i8, ptr %0, i64 4760
  %78 = load i32, ptr %77, align 8
  call void @nk_fill_rect(ptr noundef nonnull %56, <2 x float> %74, <2 x float> %75, float noundef %76, i32 %78)
  br label %79

79:                                               ; preds = %57, %62, %24
  %.0 = phi i32 [ 0, %24 ], [ 1, %62 ], [ 1, %57 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  ret i32 %.0
}

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

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

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 = { 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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 16600}
!6 = !{!"nk_context", !7, i64 0, !15, i64 360, !33, i64 7904, !37, i64 8024, !11, i64 8048, !11, i64 8052, !38, i64 8056, !14, i64 10800, !46, i64 10808, !50, i64 11048, !54, i64 16432, !11, i64 16496, !11, i64 16500, !55, i64 16504, !16, i64 16576, !16, i64 16584, !16, i64 16592, !16, i64 16600, !16, i64 16608, !11, i64 16616, !11, i64 16620}
!7 = !{!"nk_input", !8, i64 0, !12, i64 260}
!8 = !{!"nk_keyboard", !9, i64 0, !9, i64 240, !11, i64 256}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"nk_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 = !{!"nk_vec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !9, i64 0}
!15 = !{!"nk_style", !16, i64 0, !9, i64 8, !16, i64 64, !16, i64 72, !11, i64 80, !17, i64 84, !19, i64 96, !19, i64 272, !19, i64 448, !21, i64 624, !21, i64 864, !22, i64 1104, !23, i64 1384, !24, i64 2024, !25, i64 2280, !26, i64 3592, !28, i64 4392, !27, i64 4456, !27, i64 5072, !29, i64 5688, !30, i64 6472, !31, i64 6824}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!"nk_style_text", !18, i64 0, !13, i64 4}
!18 = !{!"nk_color", !9, i64 0, !9, i64 1, !9, i64 2, !9, i64 3}
!19 = !{!"nk_style_button", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !11, i64 116, !14, i64 120, !14, i64 124, !13, i64 128, !13, i64 136, !13, i64 144, !9, i64 152, !16, i64 160, !16, i64 168}
!20 = !{!"nk_style_item", !11, i64 0, !9, i64 8}
!21 = !{!"nk_style_toggle", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !20, i64 104, !20, i64 136, !18, i64 168, !18, i64 172, !18, i64 176, !18, i64 180, !11, i64 184, !13, i64 188, !13, i64 196, !14, i64 204, !14, i64 208, !9, i64 216, !16, i64 224, !16, i64 232}
!22 = !{!"nk_style_selectable", !20, i64 0, !20, i64 32, !20, i64 64, !20, i64 96, !20, i64 128, !20, i64 160, !18, i64 192, !18, i64 196, !18, i64 200, !18, i64 204, !18, i64 208, !18, i64 212, !18, i64 216, !11, i64 220, !14, i64 224, !13, i64 228, !13, i64 236, !13, i64 244, !9, i64 256, !16, i64 264, !16, i64 272}
!23 = !{!"nk_style_slider", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !20, i64 120, !20, i64 152, !20, i64 184, !14, i64 216, !14, i64 220, !14, i64 224, !13, i64 228, !13, i64 236, !13, i64 244, !11, i64 252, !19, i64 256, !19, i64 432, !11, i64 608, !11, i64 612, !9, i64 616, !16, i64 624, !16, i64 632}
!24 = !{!"nk_style_progress", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !20, i64 104, !20, i64 136, !20, i64 168, !18, i64 200, !14, i64 204, !14, i64 208, !14, i64 212, !14, i64 216, !13, i64 220, !9, i64 232, !16, i64 240, !16, i64 248}
!25 = !{!"nk_style_property", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !14, i64 124, !13, i64 128, !26, i64 136, !19, i64 936, !19, i64 1112, !9, i64 1288, !16, i64 1296, !16, i64 1304}
!26 = !{!"nk_style_edit", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !27, i64 104, !18, i64 720, !18, i64 724, !18, i64 728, !18, i64 732, !18, i64 736, !18, i64 740, !18, i64 744, !18, i64 748, !18, i64 752, !18, i64 756, !18, i64 760, !14, i64 764, !14, i64 768, !14, i64 772, !13, i64 776, !13, i64 784, !14, i64 792}
!27 = !{!"nk_style_scrollbar", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !20, i64 104, !20, i64 136, !20, i64 168, !18, i64 200, !14, i64 204, !14, i64 208, !14, i64 212, !14, i64 216, !13, i64 220, !11, i64 228, !19, i64 232, !19, i64 408, !11, i64 584, !11, i64 588, !9, i64 592, !16, i64 600, !16, i64 608}
!28 = !{!"nk_style_chart", !20, i64 0, !18, i64 32, !18, i64 36, !18, i64 40, !14, i64 44, !14, i64 48, !13, i64 52}
!29 = !{!"nk_style_tab", !20, i64 0, !18, i64 32, !18, i64 36, !19, i64 40, !19, i64 216, !19, i64 392, !19, i64 568, !11, i64 744, !11, i64 748, !14, i64 752, !14, i64 756, !14, i64 760, !13, i64 764, !13, i64 772}
!30 = !{!"nk_style_combo", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !19, i64 128, !11, i64 304, !11, i64 308, !11, i64 312, !14, i64 316, !14, i64 320, !13, i64 324, !13, i64 332, !13, i64 340}
!31 = !{!"nk_style_window", !32, i64 0, !20, i64 504, !18, i64 536, !18, i64 540, !18, i64 544, !18, i64 548, !18, i64 552, !18, i64 556, !18, i64 560, !18, i64 564, !20, i64 568, !14, i64 600, !14, i64 604, !14, i64 608, !14, i64 612, !14, i64 616, !14, i64 620, !14, i64 624, !14, i64 628, !14, i64 632, !13, i64 636, !13, i64 644, !13, i64 652, !13, i64 660, !13, i64 668, !13, i64 676, !13, i64 684, !13, i64 692, !13, i64 700, !13, i64 708}
!32 = !{!"nk_style_window_header", !20, i64 0, !20, i64 32, !20, i64 64, !19, i64 96, !19, i64 272, !11, i64 448, !11, i64 452, !11, i64 456, !18, i64 460, !18, i64 464, !18, i64 468, !11, i64 472, !13, i64 476, !13, i64 484, !13, i64 492}
!33 = !{!"nk_buffer", !9, i64 0, !34, i64 32, !11, i64 56, !35, i64 64, !14, i64 80, !36, i64 88, !36, i64 96, !36, i64 104, !36, i64 112}
!34 = !{!"nk_allocator", !9, i64 0, !16, i64 8, !16, i64 16}
!35 = !{!"nk_memory", !16, i64 0, !36, i64 8}
!36 = !{!"long", !9, i64 0}
!37 = !{!"nk_clipboard", !9, i64 0, !16, i64 8, !16, i64 16}
!38 = !{!"nk_configuration_stacks", !39, i64 0, !40, i64 648, !41, i64 1168, !42, i64 1432, !43, i64 1952, !44, i64 2472, !45, i64 2608}
!39 = !{!"nk_config_stack_style_item", !11, i64 0, !9, i64 8}
!40 = !{!"nk_config_stack_float", !11, i64 0, !9, i64 8}
!41 = !{!"nk_config_stack_vec2", !11, i64 0, !9, i64 8}
!42 = !{!"nk_config_stack_flags", !11, i64 0, !9, i64 8}
!43 = !{!"nk_config_stack_color", !11, i64 0, !9, i64 8}
!44 = !{!"nk_config_stack_user_font", !11, i64 0, !9, i64 8}
!45 = !{!"nk_config_stack_button_behavior", !11, i64 0, !9, i64 8}
!46 = !{!"nk_draw_list", !47, i64 0, !9, i64 16, !48, i64 112, !16, i64 176, !16, i64 184, !16, i64 192, !11, i64 200, !11, i64 204, !11, i64 208, !36, i64 216, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236}
!47 = !{!"nk_rect", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!48 = !{!"nk_convert_config", !14, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !49, i64 24, !16, i64 40, !36, i64 48, !36, i64 56}
!49 = !{!"nk_draw_null_texture", !9, i64 0, !13, i64 8}
!50 = !{!"nk_text_edit", !37, i64 0, !51, 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, !52, i64 192}
!51 = !{!"nk_str", !33, i64 0, !11, i64 120}
!52 = !{!"nk_text_undo_state", !9, i64 0, !9, i64 1188, !53, i64 5184, !53, i64 5186, !53, i64 5188, !53, i64 5190}
!53 = !{!"short", !9, i64 0}
!54 = !{!"nk_command_buffer", !16, i64 0, !47, i64 8, !11, i64 24, !9, i64 32, !36, i64 40, !36, i64 48, !36, i64 56}
!55 = !{!"nk_pool", !34, i64 0, !11, i64 24, !11, i64 28, !16, i64 32, !16, i64 40, !11, i64 48, !36, i64 56, !36, i64 64}
!56 = !{!57, !16, i64 168}
!57 = !{!"nk_window", !11, i64 0, !11, i64 4, !9, i64 8, !11, i64 72, !47, i64 76, !58, i64 92, !54, i64 104, !16, i64 168, !14, i64 176, !59, i64 180, !60, i64 288, !62, i64 384, !11, i64 428, !16, i64 432, !11, i64 440, !16, i64 448, !16, i64 456, !16, i64 464}
!58 = !{!"nk_scroll", !11, i64 0, !11, i64 4}
!59 = !{!"nk_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}
!60 = !{!"nk_popup_state", !16, i64 0, !11, i64 8, !61, i64 16, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !47, i64 80}
!61 = !{!"nk_popup_buffer", !36, i64 0, !36, i64 8, !36, i64 16, !36, i64 24, !11, i64 32}
!62 = !{!"nk_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, !58, i64 32, !9, i64 40, !9, i64 41}
!63 = !{!14, !14, i64 0}
!64 = !{!65, !11, i64 0}
!65 = !{!"nk_chart", !11, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !9, i64 20}
!66 = !{!67, !11, i64 0}
!67 = !{!"nk_chart_slot", !11, 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}
!68 = !{!67, !11, i64 24}
!69 = !{!67, !14, i64 12}
!70 = !{!67, !14, i64 16}
!71 = !{!67, !14, i64 20}
!72 = !{!20, !11, i64 0}
!73 = !{!28, !14, i64 48}
!74 = !{!28, !14, i64 44}


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