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

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

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

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZL8nk_white = external hidden constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_combo_begin_text = external hidden unnamed_addr constant [84 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [9 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 speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

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

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

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

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

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

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

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

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

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

41:                                               ; preds = %4
  br label %44

42:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 28724, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_text) #9
  unreachable

43:                                               ; No predecessors!
  br label %44

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

47:                                               ; preds = %44
  br label %50

48:                                               ; preds = %44
  call void @__assert_fail(ptr noundef @.str.141, ptr noundef @.str.1, i32 noundef 28725, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_text) #9
  unreachable

49:                                               ; No predecessors!
  br label %50

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

55:                                               ; preds = %50
  br label %58

56:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.1, i32 noundef 28726, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_text) #9
  unreachable

57:                                               ; No predecessors!
  br label %58

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

65:                                               ; preds = %58
  br label %68

66:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.85, ptr noundef @.str.1, i32 noundef 28727, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_text) #9
  unreachable

67:                                               ; No predecessors!
  br label %68

68:                                               ; preds = %67, %65
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %86

71:                                               ; preds = %68
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.nk_context, ptr %72, i32 0, i32 17
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  %75 = icmp ne ptr %74, null
  br i1 %75, label %76, label %86

76:                                               ; preds = %71
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.nk_context, ptr %77, i32 0, i32 17
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = getelementptr inbounds %struct.nk_window, ptr %79, i32 0, i32 7
  %81 = load ptr, ptr %80, align 8, !tbaa !64
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %86

83:                                               ; preds = %76
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = icmp ne ptr %84, null
  br i1 %85, label %87, label %86

86:                                               ; preds = %83, %76, %71, %68
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %429

87:                                               ; preds = %83
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.nk_context, ptr %88, i32 0, i32 17
  %90 = load ptr, ptr %89, align 8, !tbaa !11
  store ptr %90, ptr %11, align 8, !tbaa !5
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.nk_context, ptr %91, i32 0, i32 1
  store ptr %92, ptr %12, align 8, !tbaa !5
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = call i32 @nk_widget(ptr noundef %15, ptr noundef %93)
  store i32 %94, ptr %13, align 4, !tbaa !72
  %95 = load i32, ptr %13, align 4, !tbaa !72
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %87
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %429

98:                                               ; preds = %87
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.nk_window, ptr %99, i32 0, i32 7
  %101 = load ptr, ptr %100, align 8, !tbaa !64
  %102 = getelementptr inbounds %struct.nk_panel, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 4, !tbaa !74
  %104 = and i32 %103, 4096
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %109, label %106

106:                                              ; preds = %98
  %107 = load i32, ptr %13, align 4, !tbaa !72
  %108 = icmp eq i32 %107, 2
  br i1 %108, label %109, label %110

109:                                              ; preds = %106, %98
  br label %113

110:                                              ; preds = %106
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.nk_context, ptr %111, i32 0, i32 0
  br label %113

113:                                              ; preds = %110, %109
  %114 = phi ptr [ null, %109 ], [ %112, %110 ]
  store ptr %114, ptr %10, align 8, !tbaa !5
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.nk_context, ptr %115, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !80
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 0
  %119 = load <2 x float>, ptr %118, align 4
  %120 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 1
  %121 = load <2 x float>, ptr %120, align 4
  %122 = call noundef i32 @_ZL18nk_button_behaviorPj7nk_rectPK8nk_input18nk_button_behavior(ptr noundef %116, <2 x float> %119, <2 x float> %121, ptr noundef %117, i32 noundef 0)
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %125

124:                                              ; preds = %113
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %125

125:                                              ; preds = %124, %113
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.nk_context, ptr %126, i32 0, i32 4
  %128 = load i32, ptr %127, align 8, !tbaa !82
  %129 = and i32 %128, 32
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %139

131:                                              ; preds = %125
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.nk_style, ptr %132, i32 0, i32 20
  %134 = getelementptr inbounds %struct.nk_style_combo, ptr %133, i32 0, i32 2
  store ptr %134, ptr %16, align 8, !tbaa !5
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.nk_style, ptr %135, i32 0, i32 20
  %137 = getelementptr inbounds %struct.nk_style_combo, ptr %136, i32 0, i32 6
  %138 = getelementptr inbounds %struct.nk_text, ptr %17, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %138, ptr align 4 %137, i64 4, i1 false), !tbaa.struct !83
  br label %162

139:                                              ; preds = %125
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.nk_context, ptr %140, i32 0, i32 4
  %142 = load i32, ptr %141, align 8, !tbaa !82
  %143 = and i32 %142, 16
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %153

145:                                              ; preds = %139
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.nk_style, ptr %146, i32 0, i32 20
  %148 = getelementptr inbounds %struct.nk_style_combo, ptr %147, i32 0, i32 1
  store ptr %148, ptr %16, align 8, !tbaa !5
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.nk_style, ptr %149, i32 0, i32 20
  %151 = getelementptr inbounds %struct.nk_style_combo, ptr %150, i32 0, i32 5
  %152 = getelementptr inbounds %struct.nk_text, ptr %17, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %152, ptr align 8 %151, i64 4, i1 false), !tbaa.struct !83
  br label %161

153:                                              ; preds = %139
  %154 = load ptr, ptr %12, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.nk_style, ptr %154, i32 0, i32 20
  %156 = getelementptr inbounds %struct.nk_style_combo, ptr %155, i32 0, i32 0
  store ptr %156, ptr %16, align 8, !tbaa !5
  %157 = load ptr, ptr %12, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.nk_style, ptr %157, i32 0, i32 20
  %159 = getelementptr inbounds %struct.nk_style_combo, ptr %158, i32 0, i32 4
  %160 = getelementptr inbounds %struct.nk_text, ptr %17, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %160, ptr align 4 %159, i64 4, i1 false), !tbaa.struct !83
  br label %161

161:                                              ; preds = %153, %145
  br label %162

162:                                              ; preds = %161, %131
  %163 = load ptr, ptr %16, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.nk_style_item, ptr %163, i32 0, i32 0
  %165 = load i32, ptr %164, align 8, !tbaa !85
  switch i32 %165, label %225 [
    i32 1, label %166
    i32 2, label %178
    i32 0, label %190
  ]

166:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %167 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  store i32 %167, ptr %20, align 1
  %168 = getelementptr inbounds %struct.nk_text, ptr %17, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %168, ptr align 1 %20, i64 4, i1 false), !tbaa.struct !83
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  %169 = load ptr, ptr %11, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.nk_window, ptr %169, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !80
  %171 = load ptr, ptr %16, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.nk_style_item, ptr %171, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %22, ptr align 1 @_ZL8nk_white, i64 4, i1 false), !tbaa.struct !83
  %173 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 0
  %174 = load <2 x float>, ptr %173, align 4
  %175 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 1
  %176 = load <2 x float>, ptr %175, align 4
  %177 = load i32, ptr %22, align 1
  call void @nk_draw_image(ptr noundef %170, <2 x float> %174, <2 x float> %176, ptr noundef %172, i32 %177)
  br label %225

178:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %179 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  store i32 %179, ptr %23, align 1
  %180 = getelementptr inbounds %struct.nk_text, ptr %17, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %180, ptr align 1 %23, i64 4, i1 false), !tbaa.struct !83
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  %181 = load ptr, ptr %11, 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 %24, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !80
  %183 = load ptr, ptr %16, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.nk_style_item, ptr %183, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %25, ptr align 1 @_ZL8nk_white, i64 4, i1 false), !tbaa.struct !83
  %185 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %186 = load <2 x float>, ptr %185, align 4
  %187 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %188 = load <2 x float>, ptr %187, align 4
  %189 = load i32, ptr %25, align 1
  call void @nk_draw_nine_slice(ptr noundef %182, <2 x float> %186, <2 x float> %188, ptr noundef %184, i32 %189)
  br label %225

190:                                              ; preds = %162
  %191 = load ptr, ptr %16, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.nk_style_item, ptr %191, i32 0, i32 1
  %193 = getelementptr inbounds %struct.nk_text, ptr %17, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %193, ptr align 8 %192, i64 4, i1 false), !tbaa.struct !83
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.nk_window, ptr %194, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !80
  %196 = load ptr, ptr %12, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.nk_style, ptr %196, i32 0, i32 20
  %198 = getelementptr inbounds %struct.nk_style_combo, ptr %197, i32 0, i32 15
  %199 = load float, ptr %198, align 8, !tbaa !86
  %200 = load ptr, ptr %16, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.nk_style_item, ptr %200, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %27, ptr align 8 %201, i64 4, i1 false), !tbaa.struct !83
  %202 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 0
  %203 = load <2 x float>, ptr %202, align 4
  %204 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %26, i32 0, i32 1
  %205 = load <2 x float>, ptr %204, align 4
  %206 = load i32, ptr %27, align 1
  call void @nk_fill_rect(ptr noundef %195, <2 x float> %203, <2 x float> %205, float noundef %199, i32 %206)
  %207 = load ptr, ptr %11, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.nk_window, ptr %207, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !80
  %209 = load ptr, ptr %12, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.nk_style, ptr %209, i32 0, i32 20
  %211 = getelementptr inbounds %struct.nk_style_combo, ptr %210, i32 0, i32 15
  %212 = load float, ptr %211, align 8, !tbaa !86
  %213 = load ptr, ptr %12, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.nk_style, ptr %213, i32 0, i32 20
  %215 = getelementptr inbounds %struct.nk_style_combo, ptr %214, i32 0, i32 14
  %216 = load float, ptr %215, align 4, !tbaa !87
  %217 = load ptr, ptr %12, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.nk_style, ptr %217, i32 0, i32 20
  %219 = getelementptr inbounds %struct.nk_style_combo, ptr %218, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %29, ptr align 8 %219, i64 4, i1 false), !tbaa.struct !83
  %220 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 0
  %221 = load <2 x float>, ptr %220, align 4
  %222 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 1
  %223 = load <2 x float>, ptr %222, align 4
  %224 = load i32, ptr %29, align 1
  call void @nk_stroke_rect(ptr noundef %208, <2 x float> %221, <2 x float> %223, float noundef %212, float noundef %216, i32 %224)
  br label %225

225:                                              ; preds = %190, %178, %166, %162
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %226 = load ptr, ptr %7, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.nk_context, ptr %226, i32 0, i32 4
  %228 = load i32, ptr %227, align 8, !tbaa !82
  %229 = and i32 %228, 16
  %230 = icmp ne i32 %229, 0
  br i1 %230, label %231, label %236

231:                                              ; preds = %225
  %232 = load ptr, ptr %12, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.nk_style, ptr %232, i32 0, i32 20
  %234 = getelementptr inbounds %struct.nk_style_combo, ptr %233, i32 0, i32 12
  %235 = load i32, ptr %234, align 4, !tbaa !88
  store i32 %235, ptr %34, align 4, !tbaa !89
  br label %250

236:                                              ; preds = %225
  %237 = load i32, ptr %14, align 4, !tbaa !9
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %244

239:                                              ; preds = %236
  %240 = load ptr, ptr %12, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.nk_style, ptr %240, i32 0, i32 20
  %242 = getelementptr inbounds %struct.nk_style_combo, ptr %241, i32 0, i32 13
  %243 = load i32, ptr %242, align 8, !tbaa !90
  store i32 %243, ptr %34, align 4, !tbaa !89
  br label %249

244:                                              ; preds = %236
  %245 = load ptr, ptr %12, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.nk_style, ptr %245, i32 0, i32 20
  %247 = getelementptr inbounds %struct.nk_style_combo, ptr %246, i32 0, i32 11
  %248 = load i32, ptr %247, align 8, !tbaa !91
  store i32 %248, ptr %34, align 4, !tbaa !89
  br label %249

249:                                              ; preds = %244, %239
  br label %250

250:                                              ; preds = %249, %231
  %251 = load i32, ptr %34, align 4, !tbaa !89
  %252 = icmp ne i32 %251, 0
  %253 = zext i1 %252 to i32
  store i32 %253, ptr %33, align 4, !tbaa !9
  %254 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 3
  %255 = load float, ptr %254, align 4, !tbaa !92
  %256 = load ptr, ptr %12, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.nk_style, ptr %256, i32 0, i32 20
  %258 = getelementptr inbounds %struct.nk_style_combo, ptr %257, i32 0, i32 17
  %259 = getelementptr inbounds %struct.nk_vec2, ptr %258, i32 0, i32 1
  %260 = load float, ptr %259, align 4, !tbaa !93
  %261 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %260, float %255)
  %262 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 2
  store float %261, ptr %262, align 4, !tbaa !94
  %263 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 0
  %264 = load float, ptr %263, align 4, !tbaa !95
  %265 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 2
  %266 = load float, ptr %265, align 4, !tbaa !94
  %267 = fadd float %264, %266
  %268 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 3
  %269 = load float, ptr %268, align 4, !tbaa !92
  %270 = fsub float %267, %269
  %271 = load ptr, ptr %12, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.nk_style, ptr %271, i32 0, i32 20
  %273 = getelementptr inbounds %struct.nk_style_combo, ptr %272, i32 0, i32 17
  %274 = getelementptr inbounds %struct.nk_vec2, ptr %273, i32 0, i32 0
  %275 = load float, ptr %274, align 4, !tbaa !96
  %276 = fsub float %270, %275
  %277 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 0
  store float %276, ptr %277, align 4, !tbaa !95
  %278 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 1
  %279 = load float, ptr %278, align 4, !tbaa !97
  %280 = load ptr, ptr %12, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.nk_style, ptr %280, i32 0, i32 20
  %282 = getelementptr inbounds %struct.nk_style_combo, ptr %281, i32 0, i32 17
  %283 = getelementptr inbounds %struct.nk_vec2, ptr %282, i32 0, i32 1
  %284 = load float, ptr %283, align 4, !tbaa !93
  %285 = fadd float %279, %284
  %286 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 1
  store float %285, ptr %286, align 4, !tbaa !97
  %287 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 2
  %288 = load float, ptr %287, align 4, !tbaa !94
  %289 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 3
  store float %288, ptr %289, align 4, !tbaa !92
  %290 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 0
  %291 = load float, ptr %290, align 4, !tbaa !95
  %292 = load ptr, ptr %12, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.nk_style, ptr %292, i32 0, i32 20
  %294 = getelementptr inbounds %struct.nk_style_combo, ptr %293, i32 0, i32 10
  %295 = getelementptr inbounds %struct.nk_style_button, ptr %294, i32 0, i32 11
  %296 = getelementptr inbounds %struct.nk_vec2, ptr %295, i32 0, i32 0
  %297 = load float, ptr %296, align 8, !tbaa !98
  %298 = fadd float %291, %297
  %299 = getelementptr inbounds %struct.nk_rect, ptr %32, i32 0, i32 0
  store float %298, ptr %299, align 4, !tbaa !95
  %300 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 1
  %301 = load float, ptr %300, align 4, !tbaa !97
  %302 = load ptr, ptr %12, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.nk_style, ptr %302, i32 0, i32 20
  %304 = getelementptr inbounds %struct.nk_style_combo, ptr %303, i32 0, i32 10
  %305 = getelementptr inbounds %struct.nk_style_button, ptr %304, i32 0, i32 11
  %306 = getelementptr inbounds %struct.nk_vec2, ptr %305, i32 0, i32 1
  %307 = load float, ptr %306, align 4, !tbaa !99
  %308 = fadd float %301, %307
  %309 = getelementptr inbounds %struct.nk_rect, ptr %32, i32 0, i32 1
  store float %308, ptr %309, align 4, !tbaa !97
  %310 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 2
  %311 = load float, ptr %310, align 4, !tbaa !94
  %312 = load ptr, ptr %12, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.nk_style, ptr %312, i32 0, i32 20
  %314 = getelementptr inbounds %struct.nk_style_combo, ptr %313, i32 0, i32 10
  %315 = getelementptr inbounds %struct.nk_style_button, ptr %314, i32 0, i32 11
  %316 = getelementptr inbounds %struct.nk_vec2, ptr %315, i32 0, i32 0
  %317 = load float, ptr %316, align 8, !tbaa !98
  %318 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %317, float %311)
  %319 = getelementptr inbounds %struct.nk_rect, ptr %32, i32 0, i32 2
  store float %318, ptr %319, align 4, !tbaa !94
  %320 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 3
  %321 = load float, ptr %320, align 4, !tbaa !92
  %322 = load ptr, ptr %12, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.nk_style, ptr %322, i32 0, i32 20
  %324 = getelementptr inbounds %struct.nk_style_combo, ptr %323, i32 0, i32 10
  %325 = getelementptr inbounds %struct.nk_style_button, ptr %324, i32 0, i32 11
  %326 = getelementptr inbounds %struct.nk_vec2, ptr %325, i32 0, i32 1
  %327 = load float, ptr %326, align 4, !tbaa !99
  %328 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %327, float %321)
  %329 = getelementptr inbounds %struct.nk_rect, ptr %32, i32 0, i32 3
  store float %328, ptr %329, align 4, !tbaa !92
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %330 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %330, ptr %35, align 4
  %331 = getelementptr inbounds %struct.nk_text, ptr %17, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %331, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !100
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  %332 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 0
  %333 = load float, ptr %332, align 4, !tbaa !95
  %334 = load ptr, ptr %12, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.nk_style, ptr %334, i32 0, i32 20
  %336 = getelementptr inbounds %struct.nk_style_combo, ptr %335, i32 0, i32 16
  %337 = getelementptr inbounds %struct.nk_vec2, ptr %336, i32 0, i32 0
  %338 = load float, ptr %337, align 4, !tbaa !101
  %339 = fadd float %333, %338
  %340 = getelementptr inbounds %struct.nk_rect, ptr %30, i32 0, i32 0
  store float %339, ptr %340, align 4, !tbaa !95
  %341 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 1
  %342 = load float, ptr %341, align 4, !tbaa !97
  %343 = load ptr, ptr %12, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.nk_style, ptr %343, i32 0, i32 20
  %345 = getelementptr inbounds %struct.nk_style_combo, ptr %344, i32 0, i32 16
  %346 = getelementptr inbounds %struct.nk_vec2, ptr %345, i32 0, i32 1
  %347 = load float, ptr %346, align 4, !tbaa !102
  %348 = fadd float %342, %347
  %349 = getelementptr inbounds %struct.nk_rect, ptr %30, i32 0, i32 1
  store float %348, ptr %349, align 4, !tbaa !97
  %350 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 3
  %351 = load float, ptr %350, align 4, !tbaa !92
  %352 = load ptr, ptr %12, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.nk_style, ptr %352, i32 0, i32 20
  %354 = getelementptr inbounds %struct.nk_style_combo, ptr %353, i32 0, i32 16
  %355 = getelementptr inbounds %struct.nk_vec2, ptr %354, i32 0, i32 1
  %356 = load float, ptr %355, align 4, !tbaa !102
  %357 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %356, float %351)
  %358 = getelementptr inbounds %struct.nk_rect, ptr %30, i32 0, i32 3
  store float %357, ptr %358, align 4, !tbaa !92
  %359 = load i32, ptr %33, align 4, !tbaa !9
  %360 = icmp ne i32 %359, 0
  br i1 %360, label %361, label %380

361:                                              ; preds = %250
  %362 = getelementptr inbounds %struct.nk_rect, ptr %31, i32 0, i32 0
  %363 = load float, ptr %362, align 4, !tbaa !95
  %364 = load ptr, ptr %12, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.nk_style, ptr %364, i32 0, i32 20
  %366 = getelementptr inbounds %struct.nk_style_combo, ptr %365, i32 0, i32 16
  %367 = getelementptr inbounds %struct.nk_vec2, ptr %366, i32 0, i32 0
  %368 = load float, ptr %367, align 4, !tbaa !101
  %369 = load ptr, ptr %12, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.nk_style, ptr %369, i32 0, i32 20
  %371 = getelementptr inbounds %struct.nk_style_combo, ptr %370, i32 0, i32 18
  %372 = getelementptr inbounds %struct.nk_vec2, ptr %371, i32 0, i32 0
  %373 = load float, ptr %372, align 4, !tbaa !103
  %374 = fadd float %368, %373
  %375 = fsub float %363, %374
  %376 = getelementptr inbounds %struct.nk_rect, ptr %30, i32 0, i32 0
  %377 = load float, ptr %376, align 4, !tbaa !95
  %378 = fsub float %375, %377
  %379 = getelementptr inbounds %struct.nk_rect, ptr %30, i32 0, i32 2
  store float %378, ptr %379, align 4, !tbaa !94
  br label %390

380:                                              ; preds = %250
  %381 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 2
  %382 = load float, ptr %381, align 4, !tbaa !94
  %383 = load ptr, ptr %12, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.nk_style, ptr %383, i32 0, i32 20
  %385 = getelementptr inbounds %struct.nk_style_combo, ptr %384, i32 0, i32 16
  %386 = getelementptr inbounds %struct.nk_vec2, ptr %385, i32 0, i32 0
  %387 = load float, ptr %386, align 4, !tbaa !101
  %388 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %387, float %382)
  %389 = getelementptr inbounds %struct.nk_rect, ptr %30, i32 0, i32 2
  store float %388, ptr %389, align 4, !tbaa !94
  br label %390

390:                                              ; preds = %380, %361
  %391 = load ptr, ptr %11, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.nk_window, ptr %391, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %30, i64 16, i1 false), !tbaa.struct !80
  %393 = load ptr, ptr %8, align 8, !tbaa !5
  %394 = load i32, ptr %9, align 4, !tbaa !9
  %395 = load ptr, ptr %7, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.nk_context, ptr %395, i32 0, i32 1
  %397 = getelementptr inbounds %struct.nk_style, ptr %396, i32 0, i32 0
  %398 = load ptr, ptr %397, align 8, !tbaa !104
  %399 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 0
  %400 = load <2 x float>, ptr %399, align 4
  %401 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 1
  %402 = load <2 x float>, ptr %401, align 4
  call void @_ZL14nk_widget_textP17nk_command_buffer7nk_rectPKciPK7nk_textjPK12nk_user_font(ptr noundef %392, <2 x float> %400, <2 x float> %402, ptr noundef %393, i32 noundef %394, ptr noundef %17, i32 noundef 17, ptr noundef %398)
  %403 = load i32, ptr %33, align 4, !tbaa !9
  %404 = icmp ne i32 %403, 0
  br i1 %404, label %405, label %419

405:                                              ; preds = %390
  %406 = load ptr, ptr %11, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.nk_window, ptr %406, i32 0, i32 6
  %408 = load ptr, ptr %7, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.nk_context, ptr %408, i32 0, i32 4
  %410 = load i32, ptr %409, align 8, !tbaa !82
  %411 = load ptr, ptr %7, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.nk_context, ptr %411, i32 0, i32 1
  %413 = getelementptr inbounds %struct.nk_style, ptr %412, i32 0, i32 20
  %414 = getelementptr inbounds %struct.nk_style_combo, ptr %413, i32 0, i32 10
  %415 = load i32, ptr %34, align 4, !tbaa !89
  %416 = load ptr, ptr %12, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.nk_style, ptr %416, i32 0, i32 0
  %418 = load ptr, ptr %417, align 8, !tbaa !105
  call void @_ZL21nk_draw_button_symbolP17nk_command_bufferPK7nk_rectS3_jPK15nk_style_button14nk_symbol_typePK12nk_user_font(ptr noundef %407, ptr noundef %31, ptr noundef %32, i32 noundef %410, ptr noundef %414, i32 noundef %415, ptr noundef %418)
  br label %419

419:                                              ; preds = %405, %390
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  %420 = load ptr, ptr %7, align 8, !tbaa !5
  %421 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !100
  %422 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !80
  %423 = load <2 x float>, ptr %37, align 4
  %424 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %38, i32 0, i32 0
  %425 = load <2 x float>, ptr %424, align 4
  %426 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %38, i32 0, i32 1
  %427 = load <2 x float>, ptr %426, align 4
  %428 = call noundef i32 @_ZL14nk_combo_beginP10nk_contextP9nk_window7nk_vec2i7nk_rect(ptr noundef %420, ptr noundef %421, <2 x float> %423, i32 noundef %422, <2 x float> %425, <2 x float> %427)
  store i32 %428, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %429

429:                                              ; preds = %419, %97, %86
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %430 = load i32, ptr %5, align 4
  ret i32 %430
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21nk_draw_button_symbolP17nk_command_bufferPK7nk_rectS3_jPK15nk_style_button14nk_symbol_typePK12nk_user_font(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #6

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"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 = !{i64 0, i64 4, !81, i64 4, i64 4, !81, i64 8, i64 4, !81, i64 12, i64 4, !81}
!81 = !{!17, !17, i64 0}
!82 = !{!12, !10, i64 9144}
!83 = !{i64 0, i64 1, !84, i64 1, i64 1, !84, i64 2, i64 1, !84, i64 3, i64 1, !84}
!84 = !{!7, !7, i64 0}
!85 = !{!22, !23, i64 0}
!86 = !{!18, !17, i64 7800}
!87 = !{!18, !17, i64 7796}
!88 = !{!18, !27, i64 7788}
!89 = !{!27, !27, i64 0}
!90 = !{!18, !27, i64 7792}
!91 = !{!18, !27, i64 7784}
!92 = !{!54, !17, i64 12}
!93 = !{!18, !17, i64 7816}
!94 = !{!54, !17, i64 8}
!95 = !{!54, !17, i64 0}
!96 = !{!18, !17, i64 7812}
!97 = !{!54, !17, i64 4}
!98 = !{!18, !17, i64 7736}
!99 = !{!18, !17, i64 7740}
!100 = !{i64 0, i64 4, !81, i64 4, i64 4, !81}
!101 = !{!18, !17, i64 7804}
!102 = !{!18, !17, i64 7808}
!103 = !{!18, !17, i64 7820}
!104 = !{!12, !6, i64 360}
!105 = !{!18, !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_color = type { i8, i8, i8, i8 }
%struct.nk_rect = type { float, float, float, float }
%struct.nk_text = type { %struct.nk_vec2, %struct.nk_color, %struct.nk_color }
%struct.nk_vec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZL8nk_white = external hidden local_unnamed_addr constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_combo_begin_text = external hidden unnamed_addr constant [84 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [9 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 speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; 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 nounwind uwtable
declare dso_local i32 @nk_rgba(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

9:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 28724, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_text) #9
  unreachable

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

11:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.141, ptr noundef nonnull @.str.1, i32 noundef 28725, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_text) #9
  unreachable

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

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

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

19:                                               ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.1, i32 noundef 28727, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_text) #9
  unreachable

20:                                               ; preds = %16
  %21 = getelementptr inbounds i8, ptr %0, i64 360
  %22 = call i32 @nk_widget(ptr noundef nonnull %5, ptr noundef nonnull %0)
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %121, label %24

24:                                               ; preds = %20
  %25 = load ptr, ptr %17, align 8, !tbaa !62
  %26 = getelementptr inbounds i8, ptr %25, i64 4
  %27 = load i32, ptr %26, align 4, !tbaa !70
  %28 = and i32 %27, 4096
  %29 = icmp ne i32 %28, 0
  %30 = icmp eq i32 %22, 2
  %or.cond3 = or i1 %30, %29
  %31 = select i1 %or.cond3, ptr null, ptr %0
  %32 = getelementptr inbounds i8, ptr %0, i64 9144
  %.sroa.031.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.232.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.232.0.copyload = load <2 x float>, ptr %.sroa.232.0..sroa_idx, align 8
  %33 = call noundef i32 @_ZL18nk_button_behaviorPj7nk_rectPK8nk_input18nk_button_behavior(ptr noundef nonnull %32, <2 x float> %.sroa.031.0.copyload, <2 x float> %.sroa.232.0.copyload, ptr noundef %31, i32 noundef 0)
  %.not111 = icmp ne i32 %33, 0
  %spec.select = zext i1 %.not111 to i32
  %34 = load i32, ptr %32, align 8, !tbaa !76
  %35 = and i32 %34, 32
  %.not112 = icmp eq i32 %35, 0
  %36 = getelementptr inbounds i8, ptr %6, i64 12
  %37 = and i32 %34, 16
  %.not113 = icmp eq i32 %37, 0
  %.121 = select i1 %.not113, i64 7792, i64 7832
  %.122 = select i1 %.not113, i64 7916, i64 7920
  %.sink120 = select i1 %.not112, i64 %.121, i64 7872
  %.sink119 = select i1 %.not112, i64 %.122, i64 7924
  %38 = getelementptr inbounds i8, ptr %0, i64 %.sink120
  %39 = getelementptr inbounds i8, ptr %0, i64 %.sink119
  %.sink118 = load i32, ptr %39, align 4
  store i32 %.sink118, ptr %36, align 4
  %40 = load i32, ptr %38, align 8, !tbaa !77
  switch i32 %40, label %62 [
    i32 1, label %41
    i32 2, label %46
    i32 0, label %51
  ]

41:                                               ; preds = %24
  %42 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %43 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 %42, ptr %43, align 8
  %44 = getelementptr inbounds i8, ptr %14, i64 104
  %.sroa.028.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.229.0.copyload = load <2 x float>, ptr %.sroa.232.0..sroa_idx, align 8
  %45 = getelementptr inbounds i8, ptr %38, i64 8
  %.sroa.027.0.copyload = load i32, ptr @_ZL8nk_white, align 1
  call void @nk_draw_image(ptr noundef nonnull %44, <2 x float> %.sroa.028.0.copyload, <2 x float> %.sroa.229.0.copyload, ptr noundef nonnull %45, i32 %.sroa.027.0.copyload)
  br label %62

46:                                               ; preds = %24
  %47 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %48 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 %47, ptr %48, align 8
  %49 = getelementptr inbounds i8, ptr %14, i64 104
  %.sroa.024.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.225.0.copyload = load <2 x float>, ptr %.sroa.232.0..sroa_idx, align 8
  %50 = getelementptr inbounds i8, ptr %38, i64 8
  %.sroa.023.0.copyload = load i32, ptr @_ZL8nk_white, align 1
  call void @nk_draw_nine_slice(ptr noundef nonnull %49, <2 x float> %.sroa.024.0.copyload, <2 x float> %.sroa.225.0.copyload, ptr noundef nonnull %50, i32 %.sroa.023.0.copyload)
  br label %62

51:                                               ; preds = %24
  %52 = getelementptr inbounds i8, ptr %38, i64 8
  %53 = getelementptr inbounds i8, ptr %6, i64 8
  %54 = load i32, ptr %52, align 8
  store i32 %54, ptr %53, align 8
  %55 = getelementptr inbounds i8, ptr %14, i64 104
  %.sroa.021.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.222.0.copyload = load <2 x float>, ptr %.sroa.232.0..sroa_idx, align 8
  %56 = getelementptr inbounds i8, ptr %0, i64 8160
  %57 = load float, ptr %56, align 8, !tbaa !78
  call void @nk_fill_rect(ptr noundef nonnull %55, <2 x float> %.sroa.021.0.copyload, <2 x float> %.sroa.222.0.copyload, float noundef %57, i32 %54)
  %.sroa.018.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.219.0.copyload = load <2 x float>, ptr %.sroa.232.0..sroa_idx, align 8
  %58 = load float, ptr %56, align 8, !tbaa !78
  %59 = getelementptr inbounds i8, ptr %0, i64 8156
  %60 = load float, ptr %59, align 4, !tbaa !79
  %61 = getelementptr inbounds i8, ptr %0, i64 7912
  %.sroa.017.0.copyload = load i32, ptr %61, align 8
  call void @nk_stroke_rect(ptr noundef nonnull %55, <2 x float> %.sroa.018.0.copyload, <2 x float> %.sroa.219.0.copyload, float noundef %58, float noundef %60, i32 %.sroa.017.0.copyload)
  br label %62

62:                                               ; preds = %51, %46, %41, %24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %63 = load i32, ptr %32, align 8, !tbaa !76
  %64 = and i32 %63, 16
  %.not114 = icmp eq i32 %64, 0
  %. = select i1 %.not111, i64 8152, i64 8144
  %.sink = select i1 %.not114, i64 %., i64 8148
  %65 = getelementptr inbounds i8, ptr %0, i64 %.sink
  %.0103 = load i32, ptr %65, align 4, !tbaa !80
  %.not116 = icmp eq i32 %.0103, 0
  %66 = getelementptr inbounds i8, ptr %5, i64 12
  %67 = load float, ptr %66, align 4, !tbaa !81
  %68 = getelementptr inbounds i8, ptr %0, i64 8172
  %69 = getelementptr inbounds i8, ptr %0, i64 8176
  %70 = load float, ptr %69, align 4, !tbaa !82
  %71 = call float @llvm.fmuladd.f32(float %70, float -2.000000e+00, float %67)
  %72 = getelementptr inbounds i8, ptr %7, i64 8
  store float %71, ptr %72, align 4, !tbaa !83
  %73 = load float, ptr %5, align 8, !tbaa !84
  %74 = load float, ptr %.sroa.232.0..sroa_idx, align 8, !tbaa !83
  %75 = fadd float %73, %74
  %76 = fsub float %75, %67
  %77 = load float, ptr %68, align 4, !tbaa !85
  %78 = fsub float %76, %77
  store float %78, ptr %7, align 4, !tbaa !84
  %79 = getelementptr inbounds i8, ptr %5, i64 4
  %80 = load float, ptr %79, align 4, !tbaa !86
  %81 = fadd float %70, %80
  %82 = getelementptr inbounds i8, ptr %7, i64 4
  store float %81, ptr %82, align 4, !tbaa !86
  %83 = getelementptr inbounds i8, ptr %7, i64 12
  store float %71, ptr %83, align 4, !tbaa !81
  %84 = getelementptr inbounds i8, ptr %0, i64 8096
  %85 = load <2 x float>, ptr %84, align 8, !tbaa !87
  %86 = insertelement <2 x float> poison, float %78, i64 0
  %87 = insertelement <2 x float> %86, float %81, i64 1
  %88 = fadd <2 x float> %87, %85
  store <2 x float> %88, ptr %8, align 8, !tbaa !87
  %89 = getelementptr inbounds i8, ptr %8, i64 8
  %90 = insertelement <2 x float> poison, float %71, i64 0
  %91 = shufflevector <2 x float> %90, <2 x float> poison, <2 x i32> zeroinitializer
  %92 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %85, <2 x float> <float -2.000000e+00, float -2.000000e+00>, <2 x float> %91)
  store <2 x float> %92, ptr %89, align 8, !tbaa !87
  %93 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %93, ptr %6, align 8
  %94 = getelementptr inbounds i8, ptr %0, i64 8164
  %95 = load <2 x float>, ptr %5, align 8, !tbaa !87
  %96 = load <2 x float>, ptr %94, align 4, !tbaa !87
  %97 = fadd <2 x float> %95, %96
  %98 = load float, ptr %66, align 4, !tbaa !81
  %99 = extractelement <2 x float> %96, i64 1
  %100 = call float @llvm.fmuladd.f32(float %99, float -2.000000e+00, float %98)
  %.sroa.6.12.vec.insert = insertelement <2 x float> <float undef, float poison>, float %100, i64 1
  br i1 %.not116, label %.thread, label %106

.thread:                                          ; preds = %62
  %101 = load float, ptr %.sroa.232.0..sroa_idx, align 8, !tbaa !83
  %102 = extractelement <2 x float> %96, i64 0
  %103 = call float @llvm.fmuladd.f32(float %102, float -2.000000e+00, float %101)
  %.sroa.6.8.vec.insert16 = insertelement <2 x float> %.sroa.6.12.vec.insert, float %103, i64 0
  %104 = getelementptr inbounds i8, ptr %14, i64 104
  %105 = load ptr, ptr %21, align 8, !tbaa !88
  call void @_ZL14nk_widget_textP17nk_command_buffer7nk_rectPKciPK7nk_textjPK12nk_user_font(ptr noundef nonnull %104, <2 x float> %97, <2 x float> %.sroa.6.8.vec.insert16, ptr noundef nonnull %1, i32 noundef %2, ptr noundef nonnull %6, i32 noundef 17, ptr noundef %105)
  br label %119

106:                                              ; preds = %62
  %107 = getelementptr inbounds i8, ptr %0, i64 7944
  %108 = getelementptr inbounds i8, ptr %0, i64 8180
  %109 = load float, ptr %108, align 4, !tbaa !89
  %110 = extractelement <2 x float> %96, i64 0
  %111 = fadd float %110, %109
  %112 = fsub float %78, %111
  %113 = extractelement <2 x float> %97, i64 0
  %114 = fsub float %112, %113
  %.sroa.6.8.vec.insert = insertelement <2 x float> %.sroa.6.12.vec.insert, float %114, i64 0
  %115 = getelementptr inbounds i8, ptr %14, i64 104
  %116 = load ptr, ptr %21, align 8, !tbaa !88
  call void @_ZL14nk_widget_textP17nk_command_buffer7nk_rectPKciPK7nk_textjPK12nk_user_font(ptr noundef nonnull %115, <2 x float> %97, <2 x float> %.sroa.6.8.vec.insert, ptr noundef nonnull %1, i32 noundef %2, ptr noundef nonnull %6, i32 noundef 17, ptr noundef %116)
  %117 = load i32, ptr %32, align 8, !tbaa !76
  %118 = load ptr, ptr %21, align 8, !tbaa !90
  call void @_ZL21nk_draw_button_symbolP17nk_command_bufferPK7nk_rectS3_jPK15nk_style_button14nk_symbol_typePK12nk_user_font(ptr noundef nonnull %115, ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef %117, ptr noundef nonnull %107, i32 noundef %.0103, ptr noundef %118)
  br label %119

119:                                              ; preds = %.thread, %106
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  %.sroa.0.0.copyload = load <2 x float>, ptr %5, align 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %.sroa.232.0..sroa_idx, align 8
  %120 = call noundef i32 @_ZL14nk_combo_beginP10nk_contextP9nk_window7nk_vec2i7nk_rect(ptr noundef nonnull %0, ptr noundef nonnull %14, <2 x float> %3, i32 noundef %spec.select, <2 x float> %.sroa.0.0.copyload, <2 x float> %.sroa.2.0.copyload)
  br label %121

121:                                              ; preds = %20, %119
  %.0 = phi i32 [ %120, %119 ], [ 0, %20 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  ret i32 %.0
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21nk_draw_button_symbolP17nk_command_bufferPK7nk_rectS3_jPK15nk_style_button14nk_symbol_typePK12nk_user_font(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

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

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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!6, !11, i64 9144}
!77 = !{!20, !21, i64 0}
!78 = !{!15, !14, i64 7800}
!79 = !{!15, !14, i64 7796}
!80 = !{!25, !25, i64 0}
!81 = !{!52, !14, i64 12}
!82 = !{!15, !14, i64 7816}
!83 = !{!52, !14, i64 8}
!84 = !{!52, !14, i64 0}
!85 = !{!15, !14, i64 7812}
!86 = !{!52, !14, i64 4}
!87 = !{!14, !14, i64 0}
!88 = !{!6, !16, i64 360}
!89 = !{!15, !14, i64 7820}
!90 = !{!15, !16, i64 0}


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