; 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_context = type { %struct.nk_input, %struct.nk_style, %struct.nk_buffer, %struct.nk_clipboard, i32, i32, %struct.nk_configuration_stacks, float, %struct.nk_draw_list, %struct.nk_text_edit, %struct.nk_command_buffer, i32, i32, %struct.nk_pool, ptr, ptr, ptr, ptr, ptr, i32, i32 }
%struct.nk_input = type { %struct.nk_keyboard, %struct.nk_mouse }
%struct.nk_keyboard = type { [30 x %struct.nk_key], [16 x i8], i32 }
%struct.nk_key = type { i32, i32 }
%struct.nk_mouse = type { [4 x %struct.nk_mouse_button], %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, %struct.nk_vec2, i8, i8, i8 }
%struct.nk_mouse_button = type { i32, i32, %struct.nk_vec2 }
%struct.nk_vec2 = type { float, float }
%struct.nk_style = type { ptr, [7 x ptr], ptr, ptr, i32, %struct.nk_style_text, %struct.nk_style_button, %struct.nk_style_button, %struct.nk_style_button, %struct.nk_style_toggle, %struct.nk_style_toggle, %struct.nk_style_selectable, %struct.nk_style_slider, %struct.nk_style_progress, %struct.nk_style_property, %struct.nk_style_edit, %struct.nk_style_chart, %struct.nk_style_scrollbar, %struct.nk_style_scrollbar, %struct.nk_style_tab, %struct.nk_style_combo, %struct.nk_style_window }
%struct.nk_style_text = type { %struct.nk_color, %struct.nk_vec2 }
%struct.nk_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_edit_buffer = external hidden unnamed_addr constant [96 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

; Function Attrs: nocallback nofree nosync nounwind 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) #3

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @nk_edit_buffer(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #5 {
  %5 = alloca i32, align 4
  %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 ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.nk_rect, align 4
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.nk_rect, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  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 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %4
  br label %25

23:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 27579, ptr noundef @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

24:                                               ; No predecessors!
  br label %25

25:                                               ; preds = %24, %22
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %29

28:                                               ; preds = %25
  br label %31

29:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.133, ptr noundef @.str.1, i32 noundef 27580, ptr noundef @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

30:                                               ; No predecessors!
  br label %31

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

36:                                               ; preds = %31
  br label %39

37:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.1, i32 noundef 27581, ptr noundef @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

38:                                               ; No predecessors!
  br label %39

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

46:                                               ; preds = %39
  br label %49

47:                                               ; preds = %39
  call void @__assert_fail(ptr noundef @.str.85, ptr noundef @.str.1, i32 noundef 27582, ptr noundef @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

48:                                               ; No predecessors!
  br label %49

49:                                               ; preds = %48, %46
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = icmp ne ptr %50, null
  br i1 %51, label %52, label %64

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

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

64:                                               ; preds = %57, %52, %49
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %247

65:                                               ; preds = %57
  %66 = load ptr, ptr %6, 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 %10, align 8, !tbaa !5
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.nk_context, ptr %69, i32 0, i32 1
  store ptr %70, ptr %11, align 8, !tbaa !5
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = call i32 @nk_widget(ptr noundef %14, ptr noundef %71)
  store i32 %72, ptr %13, align 4, !tbaa !72
  %73 = load i32, ptr %13, align 4, !tbaa !72
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %77, label %75

75:                                               ; preds = %65
  %76 = load i32, ptr %13, align 4, !tbaa !72
  store i32 %76, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %247

77:                                               ; preds = %65
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.nk_window, ptr %78, i32 0, i32 7
  %80 = load ptr, ptr %79, align 8, !tbaa !64
  %81 = getelementptr inbounds %struct.nk_panel, ptr %80, i32 0, i32 1
  %82 = load i32, ptr %81, align 4, !tbaa !74
  %83 = and i32 %82, 4096
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %85, label %86

85:                                               ; preds = %77
  br label %89

86:                                               ; preds = %77
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.nk_context, ptr %87, i32 0, i32 0
  br label %89

89:                                               ; preds = %86, %85
  %90 = phi ptr [ null, %85 ], [ %88, %86 ]
  store ptr %90, ptr %12, align 8, !tbaa !5
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.nk_window, ptr %91, i32 0, i32 11
  %93 = getelementptr inbounds %struct.nk_edit_state, ptr %92, i32 0, i32 1
  %94 = load i32, ptr %93, align 4, !tbaa !80
  %95 = add i32 %94, 1
  store i32 %95, ptr %93, align 4, !tbaa !80
  store i32 %94, ptr %17, align 4, !tbaa !9
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.nk_window, ptr %96, i32 0, i32 11
  %98 = getelementptr inbounds %struct.nk_edit_state, ptr %97, i32 0, i32 3
  %99 = load i32, ptr %98, align 4, !tbaa !81
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %151

101:                                              ; preds = %89
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.nk_window, ptr %103, i32 0, i32 11
  %105 = getelementptr inbounds %struct.nk_edit_state, ptr %104, i32 0, i32 0
  %106 = load i32, ptr %105, align 8, !tbaa !82
  %107 = icmp eq i32 %102, %106
  br i1 %107, label %108, label %151

108:                                              ; preds = %101
  %109 = load i32, ptr %7, align 4, !tbaa !9
  %110 = and i32 %109, 16
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %119

112:                                              ; preds = %108
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.nk_text_edit, ptr %113, i32 0, i32 1
  %115 = getelementptr inbounds %struct.nk_str, ptr %114, i32 0, i32 1
  %116 = load i32, ptr %115, align 8, !tbaa !83
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.nk_text_edit, ptr %117, i32 0, i32 4
  store i32 %116, ptr %118, align 8, !tbaa !84
  br label %119

119:                                              ; preds = %112, %108
  %120 = load i32, ptr %7, align 4, !tbaa !9
  %121 = and i32 %120, 32
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %134, label %123

123:                                              ; preds = %119
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.nk_text_edit, ptr %124, i32 0, i32 4
  %126 = load i32, ptr %125, align 8, !tbaa !84
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.nk_text_edit, ptr %127, i32 0, i32 5
  store i32 %126, ptr %128, align 4, !tbaa !85
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.nk_text_edit, ptr %129, i32 0, i32 4
  %131 = load i32, ptr %130, align 8, !tbaa !84
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.nk_text_edit, ptr %132, i32 0, i32 6
  store i32 %131, ptr %133, align 8, !tbaa !86
  br label %134

134:                                              ; preds = %123, %119
  %135 = load i32, ptr %7, align 4, !tbaa !9
  %136 = and i32 %135, 64
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %143

138:                                              ; preds = %134
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.nk_context, ptr %139, i32 0, i32 3
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.nk_text_edit, ptr %141, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %142, ptr align 8 %140, i64 24, i1 false), !tbaa.struct !87
  br label %143

143:                                              ; preds = %138, %134
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.nk_window, ptr %144, i32 0, i32 11
  %146 = getelementptr inbounds %struct.nk_edit_state, ptr %145, i32 0, i32 3
  %147 = load i32, ptr %146, align 4, !tbaa !81
  %148 = trunc i32 %147 to i8
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.nk_text_edit, ptr %149, i32 0, i32 12
  store i8 %148, ptr %150, align 1, !tbaa !89
  br label %154

151:                                              ; preds = %101, %89
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.nk_text_edit, ptr %152, i32 0, i32 12
  store i8 0, ptr %153, align 1, !tbaa !89
  br label %154

154:                                              ; preds = %151, %143
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.nk_window, ptr %155, i32 0, i32 11
  %157 = getelementptr inbounds %struct.nk_edit_state, ptr %156, i32 0, i32 9
  %158 = load i8, ptr %157, align 8, !tbaa !90
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.nk_text_edit, ptr %159, i32 0, i32 7
  store i8 %158, ptr %160, align 4, !tbaa !91
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = icmp ne ptr %161, null
  br i1 %162, label %164, label %163

163:                                              ; preds = %154
  br label %166

164:                                              ; preds = %154
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  br label %166

166:                                              ; preds = %164, %163
  %167 = phi ptr [ @nk_filter_default, %163 ], [ %165, %164 ]
  store ptr %167, ptr %9, align 8, !tbaa !5
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.nk_text_edit, ptr %168, i32 0, i32 12
  %170 = load i8, ptr %169, align 1, !tbaa !89
  store i8 %170, ptr %16, align 1, !tbaa !88
  %171 = load i32, ptr %7, align 4, !tbaa !9
  %172 = and i32 %171, 1
  %173 = icmp ne i32 %172, 0
  br i1 %173, label %174, label %175

174:                                              ; preds = %166
  br label %177

175:                                              ; preds = %166
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %175, %174
  %178 = phi ptr [ null, %174 ], [ %176, %175 ]
  store ptr %178, ptr %12, align 8, !tbaa !5
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.nk_context, ptr %179, i32 0, i32 4
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.nk_window, ptr %181, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %14, i64 16, i1 false), !tbaa.struct !92
  %183 = load i32, ptr %7, align 4, !tbaa !9
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = load ptr, ptr %8, align 8, !tbaa !5
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.nk_style, ptr %186, i32 0, i32 15
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.nk_style, ptr %189, i32 0, i32 0
  %191 = load ptr, ptr %190, align 8, !tbaa !94
  %192 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 0
  %193 = load <2 x float>, ptr %192, align 4
  %194 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 1
  %195 = load <2 x float>, ptr %194, align 4
  %196 = call noundef i32 @_ZL10nk_do_editPjP17nk_command_buffer7nk_rectjPFiPK12nk_text_editjEPS3_PK13nk_style_editP8nk_inputPK12nk_user_font(ptr noundef %180, ptr noundef %182, <2 x float> %193, <2 x float> %195, i32 noundef %183, ptr noundef %184, ptr noundef %185, ptr noundef %187, ptr noundef %188, ptr noundef %191)
  store i32 %196, ptr %15, align 4, !tbaa !9
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.nk_context, ptr %197, i32 0, i32 4
  %199 = load i32, ptr %198, align 8, !tbaa !95
  %200 = and i32 %199, 16
  %201 = icmp ne i32 %200, 0
  br i1 %201, label %202, label %211

202:                                              ; preds = %177
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.nk_context, ptr %203, i32 0, i32 1
  %205 = getelementptr inbounds %struct.nk_style, ptr %204, i32 0, i32 1
  %206 = getelementptr inbounds [7 x ptr], ptr %205, i64 0, i64 1
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.nk_context, ptr %208, i32 0, i32 1
  %210 = getelementptr inbounds %struct.nk_style, ptr %209, i32 0, i32 2
  store ptr %207, ptr %210, align 8, !tbaa !96
  br label %211

211:                                              ; preds = %202, %177
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.nk_text_edit, ptr %212, i32 0, i32 12
  %214 = load i8, ptr %213, align 1, !tbaa !89
  %215 = icmp ne i8 %214, 0
  br i1 %215, label %216, label %232

216:                                              ; preds = %211
  %217 = load i8, ptr %16, align 1, !tbaa !88
  %218 = zext i8 %217 to i32
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.nk_text_edit, ptr %219, i32 0, i32 12
  %221 = load i8, ptr %220, align 1, !tbaa !89
  %222 = zext i8 %221 to i32
  %223 = icmp ne i32 %218, %222
  br i1 %223, label %224, label %232

224:                                              ; preds = %216
  %225 = load ptr, ptr %10, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.nk_window, ptr %225, i32 0, i32 11
  %227 = getelementptr inbounds %struct.nk_edit_state, ptr %226, i32 0, i32 3
  store i32 1, ptr %227, align 4, !tbaa !81
  %228 = load i32, ptr %17, align 4, !tbaa !9
  %229 = load ptr, ptr %10, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.nk_window, ptr %229, i32 0, i32 11
  %231 = getelementptr inbounds %struct.nk_edit_state, ptr %230, i32 0, i32 0
  store i32 %228, ptr %231, align 8, !tbaa !82
  br label %245

232:                                              ; preds = %216, %211
  %233 = load i8, ptr %16, align 1, !tbaa !88
  %234 = icmp ne i8 %233, 0
  br i1 %234, label %235, label %244

235:                                              ; preds = %232
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.nk_text_edit, ptr %236, i32 0, i32 12
  %238 = load i8, ptr %237, align 1, !tbaa !89
  %239 = icmp ne i8 %238, 0
  br i1 %239, label %244, label %240

240:                                              ; preds = %235
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.nk_window, ptr %241, i32 0, i32 11
  %243 = getelementptr inbounds %struct.nk_edit_state, ptr %242, i32 0, i32 3
  store i32 0, ptr %243, align 4, !tbaa !81
  br label %244

244:                                              ; preds = %240, %235, %232
  br label %245

245:                                              ; preds = %244, %224
  %246 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %246, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %247

247:                                              ; preds = %245, %75, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, 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
  %248 = load i32, ptr %5, align 4
  ret i32 %248
}

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

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


; 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_edit_buffer = external hidden unnamed_addr constant [96 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

6:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 27579, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

7:                                                ; preds = %4
  %.not65 = icmp eq ptr %2, null
  br i1 %.not65, label %8, label %9

8:                                                ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.133, ptr noundef nonnull @.str.1, i32 noundef 27580, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

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

12:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.1, i32 noundef 27581, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

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

16:                                               ; preds = %13
  tail call void @__assert_fail(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.1, i32 noundef 27582, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_edit_buffer) #7
  unreachable

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %0, i64 360
  %19 = call i32 @nk_widget(ptr noundef nonnull %5, ptr noundef nonnull %0)
  %.not68 = icmp eq i32 %19, 0
  br i1 %.not68, label %80, label %20

20:                                               ; preds = %17
  %21 = load ptr, ptr %14, align 8, !tbaa !62
  %22 = getelementptr inbounds i8, ptr %21, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !70
  %24 = and i32 %23, 4096
  %.not69 = icmp eq i32 %24, 0
  %25 = getelementptr inbounds i8, ptr %11, i64 384
  %26 = getelementptr inbounds i8, ptr %11, i64 388
  %27 = load i32, ptr %26, align 4, !tbaa !76
  %28 = add i32 %27, 1
  store i32 %28, ptr %26, align 4, !tbaa !76
  %29 = getelementptr inbounds i8, ptr %11, i64 396
  %30 = load i32, ptr %29, align 4, !tbaa !77
  %.not70 = icmp eq i32 %30, 0
  br i1 %.not70, label %54, label %31

31:                                               ; preds = %20
  %32 = load i32, ptr %25, align 8, !tbaa !78
  %33 = icmp eq i32 %27, %32
  br i1 %33, label %34, label %54

34:                                               ; preds = %31
  %35 = and i32 %1, 16
  %.not71 = icmp eq i32 %35, 0
  br i1 %.not71, label %40, label %36

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %2, i64 144
  %38 = load i32, ptr %37, align 8, !tbaa !79
  %39 = getelementptr inbounds i8, ptr %2, i64 168
  store i32 %38, ptr %39, align 8, !tbaa !80
  br label %40

40:                                               ; preds = %36, %34
  %41 = and i32 %1, 32
  %.not72 = icmp eq i32 %41, 0
  br i1 %.not72, label %42, label %47

42:                                               ; preds = %40
  %43 = getelementptr inbounds i8, ptr %2, i64 168
  %44 = load i32, ptr %43, align 8, !tbaa !80
  %45 = getelementptr inbounds i8, ptr %2, i64 172
  store i32 %44, ptr %45, align 4, !tbaa !81
  %46 = getelementptr inbounds i8, ptr %2, i64 176
  store i32 %44, ptr %46, align 8, !tbaa !82
  br label %47

47:                                               ; preds = %42, %40
  %48 = and i32 %1, 64
  %.not73 = icmp eq i32 %48, 0
  br i1 %.not73, label %51, label %49

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %0, i64 9120
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %50, i64 24, i1 false), !tbaa.struct !83
  %.pre = load i32, ptr %29, align 4, !tbaa !77
  br label %51

51:                                               ; preds = %49, %47
  %52 = phi i32 [ %.pre, %49 ], [ %30, %47 ]
  %53 = trunc i32 %52 to i8
  br label %54

54:                                               ; preds = %20, %31, %51
  %.sink = phi i8 [ %53, %51 ], [ 0, %31 ], [ 0, %20 ]
  %55 = getelementptr inbounds i8, ptr %2, i64 185
  store i8 %.sink, ptr %55, align 1, !tbaa !86
  %56 = getelementptr inbounds i8, ptr %11, i64 424
  %57 = load i8, ptr %56, align 8, !tbaa !87
  %58 = getelementptr inbounds i8, ptr %2, i64 180
  store i8 %57, ptr %58, align 4, !tbaa !88
  %.not74 = icmp eq ptr %3, null
  %59 = select i1 %.not74, ptr @nk_filter_default, ptr %3
  %60 = getelementptr inbounds i8, ptr %2, i64 185
  %61 = and i32 %1, 1
  %.not75 = icmp eq i32 %61, 0
  %62 = select i1 %.not75, i1 %.not69, i1 false
  %63 = select i1 %62, ptr %0, ptr null
  %64 = getelementptr inbounds i8, ptr %0, i64 9144
  %65 = getelementptr inbounds i8, ptr %11, i64 104
  %.sroa.0.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %.sroa.2.0..sroa_idx, align 8
  %66 = getelementptr inbounds i8, ptr %0, i64 4488
  %67 = load ptr, ptr %18, align 8, !tbaa !89
  %68 = call noundef i32 @_ZL10nk_do_editPjP17nk_command_buffer7nk_rectjPFiPK12nk_text_editjEPS3_PK13nk_style_editP8nk_inputPK12nk_user_font(ptr noundef nonnull %64, ptr noundef nonnull %65, <2 x float> %.sroa.0.0.copyload, <2 x float> %.sroa.2.0.copyload, i32 noundef %1, ptr noundef nonnull %59, ptr noundef nonnull %2, ptr noundef nonnull %66, ptr noundef %63, ptr noundef %67)
  %69 = load i32, ptr %64, align 8, !tbaa !90
  %70 = and i32 %69, 16
  %.not76 = icmp eq i32 %70, 0
  br i1 %.not76, label %75, label %71

71:                                               ; preds = %54
  %72 = getelementptr inbounds i8, ptr %0, i64 376
  %73 = load ptr, ptr %72, align 8, !tbaa !85
  %74 = getelementptr inbounds i8, ptr %0, i64 424
  store ptr %73, ptr %74, align 8, !tbaa !91
  br label %75

75:                                               ; preds = %71, %54
  %76 = load i8, ptr %60, align 1, !tbaa !86
  %.not77 = icmp eq i8 %76, 0
  %.not78 = icmp eq i8 %.sink, %76
  %or.cond = select i1 %.not77, i1 true, i1 %.not78
  br i1 %or.cond, label %78, label %77

77:                                               ; preds = %75
  store i32 1, ptr %29, align 4, !tbaa !77
  store i32 %27, ptr %25, align 8, !tbaa !78
  br label %80

78:                                               ; preds = %75
  %.not79 = icmp ne i8 %.sink, 0
  %brmerge.not = and i1 %.not79, %.not77
  br i1 %brmerge.not, label %79, label %80

79:                                               ; preds = %78
  store i32 0, ptr %29, align 4, !tbaa !77
  br label %80

80:                                               ; preds = %78, %77, %79, %17
  %.0 = phi i32 [ 0, %17 ], [ %68, %78 ], [ %68, %79 ], [ %68, %77 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  ret i32 %.0
}

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

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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, !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 = !{!63, !11, i64 388}
!77 = !{!63, !11, i64 396}
!78 = !{!63, !11, i64 384}
!79 = !{!56, !11, i64 144}
!80 = !{!56, !11, i64 168}
!81 = !{!56, !11, i64 172}
!82 = !{!56, !11, i64 176}
!83 = !{i64 0, i64 8, !84, i64 8, i64 8, !85, i64 16, i64 8, !85}
!84 = !{!9, !9, i64 0}
!85 = !{!16, !16, i64 0}
!86 = !{!56, !9, i64 185}
!87 = !{!63, !9, i64 424}
!88 = !{!56, !9, i64 180}
!89 = !{!15, !16, i64 0}
!90 = !{!6, !11, i64 9144}
!91 = !{!6, !16, i64 424}


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