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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__.nk_color_pick = external hidden unnamed_addr constant [85 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @nk_vec2(float noundef, float noundef) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @nk_color_pick(ptr noundef %0, ptr noundef %1, i32 noundef %2) #5 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.nk_rect, align 4
  %14 = alloca i32, align 4
  %15 = alloca %struct.nk_rect, align 4
  %16 = alloca %struct.nk_vec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %3
  br label %22

20:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 28643, ptr noundef @__PRETTY_FUNCTION__.nk_color_pick) #7
  unreachable

21:                                               ; No predecessors!
  br label %22

22:                                               ; preds = %21, %19
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %22
  br label %28

26:                                               ; preds = %22
  call void @__assert_fail(ptr noundef @.str.140, ptr noundef @.str.1, i32 noundef 28644, ptr noundef @__PRETTY_FUNCTION__.nk_color_pick) #7
  unreachable

27:                                               ; No predecessors!
  br label %28

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

33:                                               ; preds = %28
  br label %36

34:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.1, i32 noundef 28645, ptr noundef @__PRETTY_FUNCTION__.nk_color_pick) #7
  unreachable

35:                                               ; No predecessors!
  br label %36

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

43:                                               ; preds = %36
  br label %46

44:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.85, ptr noundef @.str.1, i32 noundef 28646, ptr noundef @__PRETTY_FUNCTION__.nk_color_pick) #7
  unreachable

45:                                               ; No predecessors!
  br label %46

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

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

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

61:                                               ; preds = %54
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %65, label %64

64:                                               ; preds = %61, %54, %49, %46
  store i32 0, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %111

65:                                               ; preds = %61
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.nk_context, ptr %66, i32 0, i32 17
  %68 = load ptr, ptr %67, align 8, !tbaa !11
  store ptr %68, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.nk_context, ptr %69, i32 0, i32 1
  store ptr %70, ptr %10, align 8, !tbaa !5
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.nk_window, ptr %71, i32 0, i32 7
  %73 = load ptr, ptr %72, align 8, !tbaa !65
  store ptr %73, ptr %9, align 8, !tbaa !5
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = call i32 @nk_widget(ptr noundef %13, ptr noundef %74)
  store i32 %75, ptr %12, align 4, !tbaa !73
  %76 = load i32, ptr %12, align 4, !tbaa !73
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %79, label %78

78:                                               ; preds = %65
  store i32 0, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %111

79:                                               ; preds = %65
  %80 = load i32, ptr %12, align 4, !tbaa !73
  %81 = icmp eq i32 %80, 2
  br i1 %81, label %88, label %82

82:                                               ; preds = %79
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.nk_panel, ptr %83, i32 0, i32 1
  %85 = load i32, ptr %84, align 4, !tbaa !75
  %86 = and i32 %85, 4096
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %89

88:                                               ; preds = %82, %79
  br label %92

89:                                               ; preds = %82
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.nk_context, ptr %90, i32 0, i32 0
  br label %92

92:                                               ; preds = %89, %88
  %93 = phi ptr [ null, %88 ], [ %91, %89 ]
  store ptr %93, ptr %11, align 8, !tbaa !5
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.nk_context, ptr %94, i32 0, i32 4
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.nk_window, ptr %96, i32 0, i32 6
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = load i32, ptr %7, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %13, i64 16, i1 false), !tbaa.struct !81
  %100 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %100, ptr %16, align 4
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.nk_style, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !83
  %105 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 0
  %106 = load <2 x float>, ptr %105, align 4
  %107 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 1
  %108 = load <2 x float>, ptr %107, align 4
  %109 = load <2 x float>, ptr %16, align 4
  %110 = call noundef i32 @_ZL18nk_do_color_pickerPjP17nk_command_bufferP9nk_colorf15nk_color_format7nk_rect7nk_vec2PK8nk_inputPK12nk_user_font(ptr noundef %95, ptr noundef %97, ptr noundef %98, i32 noundef %99, <2 x float> %106, <2 x float> %108, <2 x float> %109, ptr noundef %101, ptr noundef %104)
  store i32 %110, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %111

111:                                              ; preds = %92, %78, %64
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %112 = load i32, ptr %4, align 4
  ret i32 %112
}

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL18nk_do_color_pickerPjP17nk_command_bufferP9nk_colorf15nk_color_format7nk_rect7nk_vec2PK8nk_inputPK12nk_user_font(ptr noundef, ptr noundef, ptr noundef, i32 noundef, <2 x float>, <2 x float>, <2 x float>, ptr noundef, ptr noundef) #5

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


; 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_rect = type { float, float, float, float }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__.nk_color_pick = external hidden unnamed_addr constant [85 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @nk_vec2(float noundef, float noundef) local_unnamed_addr #0

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

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

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

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

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

5:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 28643, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_color_pick) #6
  unreachable

6:                                                ; preds = %3
  %.not29 = icmp eq ptr %1, null
  br i1 %.not29, label %7, label %8

7:                                                ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.140, ptr noundef nonnull @.str.1, i32 noundef 28644, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_color_pick) #6
  unreachable

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

11:                                               ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.1, i32 noundef 28645, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_color_pick) #6
  unreachable

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

15:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.1, i32 noundef 28646, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_color_pick) #6
  unreachable

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %0, i64 360
  %18 = call i32 @nk_widget(ptr noundef nonnull %4, ptr noundef nonnull %0)
  switch i32 %18, label %19 [
    i32 0, label %30
    i32 2, label %23
  ]

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %14, i64 4
  %21 = load i32, ptr %20, align 4, !tbaa !70
  %22 = and i32 %21, 4096
  %.not33 = icmp eq i32 %22, 0
  %spec.select = select i1 %.not33, ptr %0, ptr null
  br label %23

23:                                               ; preds = %19, %16
  %24 = phi ptr [ null, %16 ], [ %spec.select, %19 ]
  %25 = getelementptr inbounds i8, ptr %0, i64 9144
  %26 = getelementptr inbounds i8, ptr %10, i64 104
  %.sroa.02.0.copyload = load <2 x float>, ptr %4, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %.sroa.2.0..sroa_idx, align 8
  %27 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  %28 = load ptr, ptr %17, align 8, !tbaa !76
  %29 = call noundef i32 @_ZL18nk_do_color_pickerPjP17nk_command_bufferP9nk_colorf15nk_color_format7nk_rect7nk_vec2PK8nk_inputPK12nk_user_font(ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull %1, i32 noundef %2, <2 x float> %.sroa.02.0.copyload, <2 x float> %.sroa.2.0.copyload, <2 x float> %27, ptr noundef %24, ptr noundef %28)
  br label %30

30:                                               ; preds = %16, %23
  %.0 = phi i32 [ %29, %23 ], [ %18, %16 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  ret i32 %.0
}

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass