; 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_vec2 = type { 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_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_color = type { i8, i8, i8, i8 }
%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_rect = type { float, float, float, float }
%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
@__PRETTY_FUNCTION__.nk_combo_callback = external hidden unnamed_addr constant [120 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [12 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: nounwind uwtable
declare hidden <2 x float> @nk_panel_get_padding(ptr noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @nk_layout_row_dynamic(ptr noundef, float noundef, i32 noundef) #4

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @nk_combo_end(ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @nk_combo_callback(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, <2 x float> %6) #3 {
  %8 = alloca i32, align 4
  %9 = alloca %struct.nk_vec2, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.nk_vec2, align 4
  %19 = alloca %struct.nk_vec2, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %struct.nk_vec2, align 4
  store <2 x float> %6, ptr %9, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %23 = load ptr, ptr %10, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %7
  br label %27

26:                                               ; preds = %7
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 25257, ptr noundef @__PRETTY_FUNCTION__.nk_combo_callback) #6
  unreachable

27:                                               ; preds = %25
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %30, label %31

30:                                               ; preds = %27
  br label %32

31:                                               ; preds = %27
  call void @__assert_fail(ptr noundef @.str.138, ptr noundef @.str.2, i32 noundef 25258, ptr noundef @__PRETTY_FUNCTION__.nk_combo_callback) #6
  unreachable

32:                                               ; preds = %30
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %38

35:                                               ; preds = %32
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %40, label %38

38:                                               ; preds = %35, %32
  %39 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %39, ptr %8, align 4
  store i32 1, ptr %21, align 4
  br label %123

40:                                               ; preds = %35
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.nk_context, ptr %41, i32 0, i32 1
  %43 = getelementptr inbounds %struct.nk_style, ptr %42, i32 0, i32 21
  %44 = getelementptr inbounds %struct.nk_style_window, ptr %43, i32 0, i32 20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %44, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.nk_context, ptr %45, i32 0, i32 1
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.nk_context, ptr %47, i32 0, i32 17
  %49 = load ptr, ptr %48, align 8, !tbaa !14
  %50 = getelementptr inbounds %struct.nk_window, ptr %49, i32 0, i32 7
  %51 = load ptr, ptr %50, align 8, !tbaa !60
  %52 = getelementptr inbounds %struct.nk_panel, ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 8, !tbaa !67
  %54 = call <2 x float> @nk_panel_get_padding(ptr noundef %46, i32 noundef %53)
  store <2 x float> %54, ptr %22, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  %55 = load i32, ptr %14, align 4, !tbaa !9
  %56 = load i32, ptr %15, align 4, !tbaa !9
  %57 = mul nsw i32 %55, %56
  %58 = load i32, ptr %14, align 4, !tbaa !9
  %59 = getelementptr inbounds %struct.nk_vec2, ptr %18, i32 0, i32 1
  %60 = load float, ptr %59, align 4, !tbaa !72
  %61 = fptosi float %60 to i32
  %62 = mul nsw i32 %58, %61
  %63 = add nsw i32 %57, %62
  store i32 %63, ptr %17, align 4, !tbaa !9
  %64 = getelementptr inbounds %struct.nk_vec2, ptr %18, i32 0, i32 1
  %65 = load float, ptr %64, align 4, !tbaa !72
  %66 = fptosi float %65 to i32
  %67 = mul nsw i32 %66, 2
  %68 = getelementptr inbounds %struct.nk_vec2, ptr %19, i32 0, i32 1
  %69 = load float, ptr %68, align 4, !tbaa !72
  %70 = fptosi float %69 to i32
  %71 = mul nsw i32 %70, 2
  %72 = add nsw i32 %67, %71
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = add nsw i32 %73, %72
  store i32 %74, ptr %17, align 4, !tbaa !9
  %75 = getelementptr inbounds %struct.nk_vec2, ptr %9, i32 0, i32 1
  %76 = load float, ptr %75, align 4, !tbaa !72
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = sitofp i32 %77 to float
  %79 = fcmp olt float %76, %78
  br i1 %79, label %80, label %83

80:                                               ; preds = %40
  %81 = getelementptr inbounds %struct.nk_vec2, ptr %9, i32 0, i32 1
  %82 = load float, ptr %81, align 4, !tbaa !72
  br label %86

83:                                               ; preds = %40
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = sitofp i32 %84 to float
  br label %86

86:                                               ; preds = %83, %80
  %87 = phi float [ %82, %80 ], [ %85, %83 ]
  %88 = getelementptr inbounds %struct.nk_vec2, ptr %9, i32 0, i32 1
  store float %87, ptr %88, align 4, !tbaa !72
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = load i32, ptr %13, align 4, !tbaa !9
  call void %89(ptr noundef %90, i32 noundef %91, ptr noundef %20)
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = load ptr, ptr %20, align 8, !tbaa !5
  %94 = load <2 x float>, ptr %9, align 4
  %95 = call i32 @nk_combo_begin_label(ptr noundef %92, ptr noundef %93, <2 x float> %94)
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %121

97:                                               ; preds = %86
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = sitofp i32 %99 to float
  call void @nk_layout_row_dynamic(ptr noundef %98, float noundef %100, i32 noundef 1)
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %116, %97
  %102 = load i32, ptr %16, align 4, !tbaa !9
  %103 = load i32, ptr %14, align 4, !tbaa !9
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %105, label %119

105:                                              ; preds = %101
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = load i32, ptr %16, align 4, !tbaa !9
  call void %106(ptr noundef %107, i32 noundef %108, ptr noundef %20)
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = load ptr, ptr %20, align 8, !tbaa !5
  %111 = call i32 @nk_combo_item_label(ptr noundef %109, ptr noundef %110, i32 noundef 17)
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %115

113:                                              ; preds = %105
  %114 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %114, ptr %13, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %113, %105
  br label %116

116:                                              ; preds = %115
  %117 = load i32, ptr %16, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %16, align 4, !tbaa !9
  br label %101, !llvm.loop !73

119:                                              ; preds = %101
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  call void @nk_combo_end(ptr noundef %120)
  br label %121

121:                                              ; preds = %119, %86
  %122 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %122, ptr %8, align 4
  store i32 1, ptr %21, align 4
  br label %123

123:                                              ; preds = %121, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  %124 = load i32, ptr %8, align 4
  ret i32 %124
}

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@__PRETTY_FUNCTION__.nk_combo_callback = external hidden unnamed_addr constant [120 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [12 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: nounwind uwtable
declare hidden <2 x float> @nk_panel_get_padding(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @nk_layout_row_dynamic(ptr noundef, float noundef, i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @nk_combo_end(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local i32 @nk_combo_callback(ptr noundef %0, ptr noundef readonly %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, <2 x float> %6) local_unnamed_addr #2 {
  %8 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %.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 25257, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_callback) #5
  unreachable

10:                                               ; preds = %7
  %.not42 = icmp eq ptr %1, null
  br i1 %.not42, label %11, label %12

11:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.138, ptr noundef nonnull @.str.2, i32 noundef 25258, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_callback) #5
  unreachable

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 360
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 7824
  %.sroa.3.0.copyload = load float, ptr %.sroa.3.0..sroa_idx, align 4, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 16600
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %15, i64 168
  %17 = load ptr, ptr %16, align 8, !tbaa !57
  %18 = load i32, ptr %17, align 8, !tbaa !64
  %19 = tail call <2 x float> @nk_panel_get_padding(ptr noundef nonnull %13, i32 noundef %18)
  %20 = fptosi float %.sroa.3.0.copyload to i32
  %21 = add i32 %20, %5
  %22 = mul i32 %21, %4
  %.sroa.02.4.vec.extract = extractelement <2 x float> %19, i64 1
  %23 = fptosi float %.sroa.02.4.vec.extract to i32
  %24 = add i32 %23, %20
  %25 = shl i32 %24, 1
  %26 = add nsw i32 %25, %22
  %.sroa.033.4.vec.extract = extractelement <2 x float> %6, i64 1
  %27 = sitofp i32 %26 to float
  %28 = fcmp olt float %.sroa.033.4.vec.extract, %27
  %29 = select i1 %28, float %.sroa.033.4.vec.extract, float %27
  %.sroa.033.4.vec.insert = insertelement <2 x float> %6, float %29, i64 1
  call void %1(ptr noundef %2, i32 noundef %3, ptr noundef nonnull %8) #4
  %30 = load ptr, ptr %8, align 8, !tbaa !69
  %31 = call i32 @nk_combo_begin_label(ptr noundef nonnull %0, ptr noundef %30, <2 x float> %.sroa.033.4.vec.insert)
  %.not43 = icmp eq i32 %31, 0
  br i1 %.not43, label %38, label %32

32:                                               ; preds = %12
  %33 = sitofp i32 %5 to float
  call void @nk_layout_row_dynamic(ptr noundef nonnull %0, float noundef %33, i32 noundef 1)
  %34 = icmp sgt i32 %4, 0
  br i1 %34, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %32, %.lr.ph
  %.03846 = phi i32 [ %spec.select, %.lr.ph ], [ %3, %32 ]
  %.03945 = phi i32 [ %37, %.lr.ph ], [ 0, %32 ]
  call void %1(ptr noundef %2, i32 noundef %.03945, ptr noundef nonnull %8) #4
  %35 = load ptr, ptr %8, align 8, !tbaa !69
  %36 = call i32 @nk_combo_item_label(ptr noundef nonnull %0, ptr noundef %35, i32 noundef 17)
  %.not44 = icmp eq i32 %36, 0
  %spec.select = select i1 %.not44, i32 %.03846, i32 %.03945
  %37 = add nuw nsw i32 %.03945, 1
  %exitcond.not = icmp eq i32 %37, %4
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !70

._crit_edge:                                      ; preds = %.lr.ph, %32
  %.038.lcssa = phi i32 [ %3, %32 ], [ %spec.select, %.lr.ph ]
  call void @nk_combo_end(ptr noundef nonnull %0)
  br label %38

38:                                               ; preds = %12, %._crit_edge
  %.2 = phi i32 [ %.038.lcssa, %._crit_edge ], [ %3, %12 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  ret i32 %.2
}

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


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