; 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_symbol_text = external hidden unnamed_addr constant [112 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 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

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

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

47:                                               ; preds = %5
  br label %50

48:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str.32, ptr noundef @.str.1, i32 noundef 29021, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_symbol_text) #9
  unreachable

49:                                               ; No predecessors!
  br label %50

50:                                               ; preds = %49, %47
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.nk_context, ptr %51, i32 0, i32 17
  %53 = load ptr, ptr %52, align 8, !tbaa !13
  %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 29022, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_symbol_text) #9
  unreachable

57:                                               ; No predecessors!
  br label %58

58:                                               ; preds = %57, %55
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.nk_context, ptr %59, i32 0, i32 17
  %61 = load ptr, ptr %60, align 8, !tbaa !13
  %62 = getelementptr inbounds %struct.nk_window, ptr %61, i32 0, i32 7
  %63 = load ptr, ptr %62, align 8, !tbaa !65
  %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 29023, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_symbol_text) #9
  unreachable

67:                                               ; No predecessors!
  br label %68

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

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

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

83:                                               ; preds = %76, %71, %68
  store i32 0, ptr %6, align 4
  store i32 1, ptr %21, align 4
  br label %459

84:                                               ; preds = %76
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.nk_context, ptr %85, i32 0, i32 17
  %87 = load ptr, ptr %86, align 8, !tbaa !13
  store ptr %87, ptr %12, align 8, !tbaa !5
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.nk_context, ptr %88, i32 0, i32 1
  store ptr %89, ptr %13, align 8, !tbaa !5
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = call i32 @nk_widget(ptr noundef %15, ptr noundef %90)
  store i32 %91, ptr %17, align 4, !tbaa !73
  %92 = load i32, ptr %17, align 4, !tbaa !73
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %95, label %94

94:                                               ; preds = %84
  store i32 0, ptr %6, align 4
  store i32 1, ptr %21, align 4
  br label %459

95:                                               ; preds = %84
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.nk_window, ptr %96, i32 0, i32 7
  %98 = load ptr, ptr %97, align 8, !tbaa !65
  %99 = getelementptr inbounds %struct.nk_panel, ptr %98, i32 0, i32 1
  %100 = load i32, ptr %99, align 4, !tbaa !75
  %101 = and i32 %100, 4096
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %106, label %103

103:                                              ; preds = %95
  %104 = load i32, ptr %17, align 4, !tbaa !73
  %105 = icmp eq i32 %104, 2
  br i1 %105, label %106, label %107

106:                                              ; preds = %103, %95
  br label %110

107:                                              ; preds = %103
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.nk_context, ptr %108, i32 0, i32 0
  br label %110

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

121:                                              ; preds = %110
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %121, %110
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.nk_context, ptr %123, i32 0, i32 4
  %125 = load i32, ptr %124, align 8, !tbaa !83
  %126 = and i32 %125, 32
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %139

128:                                              ; preds = %122
  %129 = load ptr, ptr %13, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.nk_style, ptr %129, i32 0, i32 20
  %131 = getelementptr inbounds %struct.nk_style_combo, ptr %130, i32 0, i32 2
  store ptr %131, ptr %18, align 8, !tbaa !5
  %132 = load ptr, ptr %13, 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 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 8 %134, i64 4, i1 false), !tbaa.struct !84
  %135 = load ptr, ptr %13, 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 %20, 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 !84
  br label %168

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

145:                                              ; preds = %139
  %146 = load ptr, ptr %13, 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 %18, align 8, !tbaa !5
  %149 = load ptr, ptr %13, 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 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 4 %151, i64 4, i1 false), !tbaa.struct !84
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.nk_style, ptr %152, i32 0, i32 20
  %154 = getelementptr inbounds %struct.nk_style_combo, ptr %153, i32 0, i32 5
  %155 = getelementptr inbounds %struct.nk_text, ptr %20, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %155, ptr align 8 %154, i64 4, i1 false), !tbaa.struct !84
  br label %167

156:                                              ; preds = %139
  %157 = load ptr, ptr %13, 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 0
  store ptr %159, ptr %18, align 8, !tbaa !5
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.nk_style, ptr %160, i32 0, i32 20
  %162 = getelementptr inbounds %struct.nk_style_combo, ptr %161, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 8 %162, i64 4, i1 false), !tbaa.struct !84
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.nk_style, ptr %163, i32 0, i32 20
  %165 = getelementptr inbounds %struct.nk_style_combo, ptr %164, i32 0, i32 4
  %166 = getelementptr inbounds %struct.nk_text, ptr %20, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %166, ptr align 4 %165, i64 4, i1 false), !tbaa.struct !84
  br label %167

167:                                              ; preds = %156, %145
  br label %168

168:                                              ; preds = %167, %128
  %169 = load ptr, ptr %18, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.nk_style_item, ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 8, !tbaa !86
  switch i32 %171, label %231 [
    i32 1, label %172
    i32 2, label %184
    i32 0, label %196
  ]

172:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %173 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  store i32 %173, ptr %23, align 1
  %174 = getelementptr inbounds %struct.nk_text, ptr %20, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %174, ptr align 1 %23, i64 4, i1 false), !tbaa.struct !84
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  %175 = load ptr, ptr %12, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.nk_window, ptr %175, 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 !81
  %177 = load ptr, ptr %18, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.nk_style_item, ptr %177, 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 !84
  %179 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %180 = load <2 x float>, ptr %179, align 4
  %181 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %182 = load <2 x float>, ptr %181, align 4
  %183 = load i32, ptr %25, align 1
  call void @nk_draw_image(ptr noundef %176, <2 x float> %180, <2 x float> %182, ptr noundef %178, i32 %183)
  br label %231

184:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %185 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  store i32 %185, ptr %26, align 1
  %186 = getelementptr inbounds %struct.nk_text, ptr %20, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %186, ptr align 1 %26, i64 4, i1 false), !tbaa.struct !84
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.nk_window, ptr %187, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !81
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.nk_style_item, ptr %189, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %28, ptr align 1 @_ZL8nk_white, i64 4, i1 false), !tbaa.struct !84
  %191 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 0
  %192 = load <2 x float>, ptr %191, align 4
  %193 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 1
  %194 = load <2 x float>, ptr %193, align 4
  %195 = load i32, ptr %28, align 1
  call void @nk_draw_nine_slice(ptr noundef %188, <2 x float> %192, <2 x float> %194, ptr noundef %190, i32 %195)
  br label %231

196:                                              ; preds = %168
  %197 = load ptr, ptr %18, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.nk_style_item, ptr %197, i32 0, i32 1
  %199 = getelementptr inbounds %struct.nk_text, ptr %20, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %199, ptr align 8 %198, i64 4, i1 false), !tbaa.struct !84
  %200 = load ptr, ptr %12, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.nk_window, ptr %200, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !81
  %202 = load ptr, ptr %13, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.nk_style, ptr %202, i32 0, i32 20
  %204 = getelementptr inbounds %struct.nk_style_combo, ptr %203, i32 0, i32 15
  %205 = load float, ptr %204, align 8, !tbaa !87
  %206 = load ptr, ptr %18, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.nk_style_item, ptr %206, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %30, ptr align 8 %207, i64 4, i1 false), !tbaa.struct !84
  %208 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 0
  %209 = load <2 x float>, ptr %208, align 4
  %210 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 1
  %211 = load <2 x float>, ptr %210, align 4
  %212 = load i32, ptr %30, align 1
  call void @nk_fill_rect(ptr noundef %201, <2 x float> %209, <2 x float> %211, float noundef %205, i32 %212)
  %213 = load ptr, ptr %12, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.nk_window, ptr %213, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !81
  %215 = load ptr, ptr %13, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.nk_style, ptr %215, i32 0, i32 20
  %217 = getelementptr inbounds %struct.nk_style_combo, ptr %216, i32 0, i32 15
  %218 = load float, ptr %217, align 8, !tbaa !87
  %219 = load ptr, ptr %13, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.nk_style, ptr %219, i32 0, i32 20
  %221 = getelementptr inbounds %struct.nk_style_combo, ptr %220, i32 0, i32 14
  %222 = load float, ptr %221, align 4, !tbaa !88
  %223 = load ptr, ptr %13, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.nk_style, ptr %223, i32 0, i32 20
  %225 = getelementptr inbounds %struct.nk_style_combo, ptr %224, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %32, ptr align 8 %225, i64 4, i1 false), !tbaa.struct !84
  %226 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %227 = load <2 x float>, ptr %226, align 4
  %228 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %229 = load <2 x float>, ptr %228, align 4
  %230 = load i32, ptr %32, align 1
  call void @nk_stroke_rect(ptr noundef %214, <2 x float> %227, <2 x float> %229, float noundef %218, float noundef %222, i32 %230)
  br label %231

231:                                              ; preds = %196, %184, %172, %168
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.nk_context, ptr %232, i32 0, i32 4
  %234 = load i32, ptr %233, align 8, !tbaa !83
  %235 = and i32 %234, 16
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %242

237:                                              ; preds = %231
  %238 = load ptr, ptr %13, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.nk_style, ptr %238, i32 0, i32 20
  %240 = getelementptr inbounds %struct.nk_style_combo, ptr %239, i32 0, i32 12
  %241 = load i32, ptr %240, align 4, !tbaa !89
  store i32 %241, ptr %37, align 4, !tbaa !11
  br label %256

242:                                              ; preds = %231
  %243 = load i32, ptr %16, align 4, !tbaa !9
  %244 = icmp ne i32 %243, 0
  br i1 %244, label %245, label %250

245:                                              ; preds = %242
  %246 = load ptr, ptr %13, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.nk_style, ptr %246, i32 0, i32 20
  %248 = getelementptr inbounds %struct.nk_style_combo, ptr %247, i32 0, i32 13
  %249 = load i32, ptr %248, align 8, !tbaa !90
  store i32 %249, ptr %37, align 4, !tbaa !11
  br label %255

250:                                              ; preds = %242
  %251 = load ptr, ptr %13, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.nk_style, ptr %251, i32 0, i32 20
  %253 = getelementptr inbounds %struct.nk_style_combo, ptr %252, i32 0, i32 11
  %254 = load i32, ptr %253, align 8, !tbaa !91
  store i32 %254, ptr %37, align 4, !tbaa !11
  br label %255

255:                                              ; preds = %250, %245
  br label %256

256:                                              ; preds = %255, %237
  %257 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 3
  %258 = load float, ptr %257, align 4, !tbaa !92
  %259 = load ptr, ptr %13, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.nk_style, ptr %259, i32 0, i32 20
  %261 = getelementptr inbounds %struct.nk_style_combo, ptr %260, i32 0, i32 17
  %262 = getelementptr inbounds %struct.nk_vec2, ptr %261, i32 0, i32 1
  %263 = load float, ptr %262, align 4, !tbaa !93
  %264 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %263, float %258)
  %265 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 2
  store float %264, ptr %265, align 4, !tbaa !94
  %266 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 0
  %267 = load float, ptr %266, align 4, !tbaa !95
  %268 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 2
  %269 = load float, ptr %268, align 4, !tbaa !94
  %270 = fadd float %267, %269
  %271 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 3
  %272 = load float, ptr %271, align 4, !tbaa !92
  %273 = fsub float %270, %272
  %274 = load ptr, ptr %13, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.nk_style, ptr %274, i32 0, i32 20
  %276 = getelementptr inbounds %struct.nk_style_combo, ptr %275, i32 0, i32 17
  %277 = getelementptr inbounds %struct.nk_vec2, ptr %276, i32 0, i32 0
  %278 = load float, ptr %277, align 4, !tbaa !96
  %279 = fsub float %273, %278
  %280 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 0
  store float %279, ptr %280, align 4, !tbaa !95
  %281 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 1
  %282 = load float, ptr %281, align 4, !tbaa !97
  %283 = load ptr, ptr %13, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.nk_style, ptr %283, i32 0, i32 20
  %285 = getelementptr inbounds %struct.nk_style_combo, ptr %284, i32 0, i32 17
  %286 = getelementptr inbounds %struct.nk_vec2, ptr %285, i32 0, i32 1
  %287 = load float, ptr %286, align 4, !tbaa !93
  %288 = fadd float %282, %287
  %289 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 1
  store float %288, ptr %289, align 4, !tbaa !97
  %290 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 2
  %291 = load float, ptr %290, align 4, !tbaa !94
  %292 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 3
  store float %291, ptr %292, align 4, !tbaa !92
  %293 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 0
  %294 = load float, ptr %293, align 4, !tbaa !95
  %295 = load ptr, ptr %13, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.nk_style, ptr %295, i32 0, i32 20
  %297 = getelementptr inbounds %struct.nk_style_combo, ptr %296, i32 0, i32 10
  %298 = getelementptr inbounds %struct.nk_style_button, ptr %297, i32 0, i32 11
  %299 = getelementptr inbounds %struct.nk_vec2, ptr %298, i32 0, i32 0
  %300 = load float, ptr %299, align 8, !tbaa !98
  %301 = fadd float %294, %300
  %302 = getelementptr inbounds %struct.nk_rect, ptr %33, i32 0, i32 0
  store float %301, ptr %302, align 4, !tbaa !95
  %303 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 1
  %304 = load float, ptr %303, align 4, !tbaa !97
  %305 = load ptr, ptr %13, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.nk_style, ptr %305, i32 0, i32 20
  %307 = getelementptr inbounds %struct.nk_style_combo, ptr %306, i32 0, i32 10
  %308 = getelementptr inbounds %struct.nk_style_button, ptr %307, i32 0, i32 11
  %309 = getelementptr inbounds %struct.nk_vec2, ptr %308, i32 0, i32 1
  %310 = load float, ptr %309, align 4, !tbaa !99
  %311 = fadd float %304, %310
  %312 = getelementptr inbounds %struct.nk_rect, ptr %33, i32 0, i32 1
  store float %311, ptr %312, align 4, !tbaa !97
  %313 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 2
  %314 = load float, ptr %313, align 4, !tbaa !94
  %315 = load ptr, ptr %13, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.nk_style, ptr %315, i32 0, i32 20
  %317 = getelementptr inbounds %struct.nk_style_combo, ptr %316, i32 0, i32 10
  %318 = getelementptr inbounds %struct.nk_style_button, ptr %317, i32 0, i32 11
  %319 = getelementptr inbounds %struct.nk_vec2, ptr %318, i32 0, i32 0
  %320 = load float, ptr %319, align 8, !tbaa !98
  %321 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %320, float %314)
  %322 = getelementptr inbounds %struct.nk_rect, ptr %33, i32 0, i32 2
  store float %321, ptr %322, align 4, !tbaa !94
  %323 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 3
  %324 = load float, ptr %323, align 4, !tbaa !92
  %325 = load ptr, ptr %13, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.nk_style, ptr %325, i32 0, i32 20
  %327 = getelementptr inbounds %struct.nk_style_combo, ptr %326, i32 0, i32 10
  %328 = getelementptr inbounds %struct.nk_style_button, ptr %327, i32 0, i32 11
  %329 = getelementptr inbounds %struct.nk_vec2, ptr %328, i32 0, i32 1
  %330 = load float, ptr %329, align 4, !tbaa !99
  %331 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %330, float %324)
  %332 = getelementptr inbounds %struct.nk_rect, ptr %33, i32 0, i32 3
  store float %331, ptr %332, align 4, !tbaa !92
  %333 = load ptr, ptr %12, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.nk_window, ptr %333, i32 0, i32 6
  %335 = load ptr, ptr %8, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.nk_context, ptr %335, i32 0, i32 4
  %337 = load i32, ptr %336, align 8, !tbaa !83
  %338 = load ptr, ptr %8, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.nk_context, ptr %338, i32 0, i32 1
  %340 = getelementptr inbounds %struct.nk_style, ptr %339, i32 0, i32 20
  %341 = getelementptr inbounds %struct.nk_style_combo, ptr %340, i32 0, i32 10
  %342 = load i32, ptr %37, align 4, !tbaa !11
  %343 = load ptr, ptr %13, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.nk_style, ptr %343, i32 0, i32 0
  %345 = load ptr, ptr %344, align 8, !tbaa !100
  call void @_ZL21nk_draw_button_symbolP17nk_command_bufferPK7nk_rectS3_jPK15nk_style_button14nk_symbol_typePK12nk_user_font(ptr noundef %334, ptr noundef %34, ptr noundef %33, i32 noundef %337, ptr noundef %341, i32 noundef %342, ptr noundef %345)
  %346 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 0
  %347 = load float, ptr %346, align 4, !tbaa !95
  %348 = load ptr, ptr %13, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.nk_style, ptr %348, i32 0, i32 20
  %350 = getelementptr inbounds %struct.nk_style_combo, ptr %349, i32 0, i32 16
  %351 = getelementptr inbounds %struct.nk_vec2, ptr %350, i32 0, i32 0
  %352 = load float, ptr %351, align 4, !tbaa !101
  %353 = fadd float %347, %352
  %354 = getelementptr inbounds %struct.nk_rect, ptr %36, i32 0, i32 0
  store float %353, ptr %354, align 4, !tbaa !95
  %355 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 1
  %356 = load float, ptr %355, align 4, !tbaa !97
  %357 = load ptr, ptr %13, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.nk_style, ptr %357, i32 0, i32 20
  %359 = getelementptr inbounds %struct.nk_style_combo, ptr %358, i32 0, i32 16
  %360 = getelementptr inbounds %struct.nk_vec2, ptr %359, i32 0, i32 1
  %361 = load float, ptr %360, align 4, !tbaa !102
  %362 = fadd float %356, %361
  %363 = getelementptr inbounds %struct.nk_rect, ptr %36, i32 0, i32 1
  store float %362, ptr %363, align 4, !tbaa !97
  %364 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 3
  %365 = load float, ptr %364, align 4, !tbaa !92
  %366 = load ptr, ptr %13, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.nk_style, ptr %366, i32 0, i32 20
  %368 = getelementptr inbounds %struct.nk_style_combo, ptr %367, i32 0, i32 16
  %369 = getelementptr inbounds %struct.nk_vec2, ptr %368, i32 0, i32 1
  %370 = load float, ptr %369, align 4, !tbaa !102
  %371 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %370, float %365)
  %372 = getelementptr inbounds %struct.nk_rect, ptr %36, i32 0, i32 3
  store float %371, ptr %372, align 4, !tbaa !92
  %373 = getelementptr inbounds %struct.nk_rect, ptr %36, i32 0, i32 3
  %374 = load float, ptr %373, align 4, !tbaa !92
  %375 = getelementptr inbounds %struct.nk_rect, ptr %36, i32 0, i32 2
  store float %374, ptr %375, align 4, !tbaa !94
  %376 = load ptr, ptr %12, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.nk_window, ptr %376, i32 0, i32 6
  %378 = load i32, ptr %11, align 4, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %36, i64 16, i1 false), !tbaa.struct !81
  %379 = getelementptr inbounds %struct.nk_text, ptr %20, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %39, ptr align 4 %379, i64 4, i1 false), !tbaa.struct !84
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %40, ptr align 1 %19, i64 4, i1 false), !tbaa.struct !84
  %380 = load ptr, ptr %13, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.nk_style, ptr %380, i32 0, i32 0
  %382 = load ptr, ptr %381, align 8, !tbaa !100
  %383 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %38, i32 0, i32 0
  %384 = load <2 x float>, ptr %383, align 4
  %385 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %38, i32 0, i32 1
  %386 = load <2 x float>, ptr %385, align 4
  %387 = load i32, ptr %39, align 1
  %388 = load i32, ptr %40, align 1
  call void @_ZL14nk_draw_symbolP17nk_command_buffer14nk_symbol_type7nk_rect8nk_colorS3_fPK12nk_user_font(ptr noundef %377, i32 noundef %378, <2 x float> %384, <2 x float> %386, i32 %387, i32 %388, float noundef 1.000000e+00, ptr noundef %382)
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %389 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %389, ptr %41, align 4
  %390 = getelementptr inbounds %struct.nk_text, ptr %20, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %390, ptr align 4 %41, i64 8, i1 false), !tbaa.struct !103
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  %391 = getelementptr inbounds %struct.nk_rect, ptr %36, i32 0, i32 0
  %392 = load float, ptr %391, align 4, !tbaa !95
  %393 = getelementptr inbounds %struct.nk_rect, ptr %36, i32 0, i32 2
  %394 = load float, ptr %393, align 4, !tbaa !94
  %395 = fadd float %392, %394
  %396 = load ptr, ptr %13, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.nk_style, ptr %396, i32 0, i32 20
  %398 = getelementptr inbounds %struct.nk_style_combo, ptr %397, i32 0, i32 18
  %399 = getelementptr inbounds %struct.nk_vec2, ptr %398, i32 0, i32 0
  %400 = load float, ptr %399, align 4, !tbaa !104
  %401 = fadd float %395, %400
  %402 = load ptr, ptr %13, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.nk_style, ptr %402, i32 0, i32 20
  %404 = getelementptr inbounds %struct.nk_style_combo, ptr %403, i32 0, i32 16
  %405 = getelementptr inbounds %struct.nk_vec2, ptr %404, i32 0, i32 0
  %406 = load float, ptr %405, align 4, !tbaa !101
  %407 = fadd float %401, %406
  %408 = getelementptr inbounds %struct.nk_rect, ptr %35, i32 0, i32 0
  store float %407, ptr %408, align 4, !tbaa !95
  %409 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 1
  %410 = load float, ptr %409, align 4, !tbaa !97
  %411 = load ptr, ptr %13, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.nk_style, ptr %411, i32 0, i32 20
  %413 = getelementptr inbounds %struct.nk_style_combo, ptr %412, i32 0, i32 16
  %414 = getelementptr inbounds %struct.nk_vec2, ptr %413, i32 0, i32 1
  %415 = load float, ptr %414, align 4, !tbaa !102
  %416 = fadd float %410, %415
  %417 = getelementptr inbounds %struct.nk_rect, ptr %35, i32 0, i32 1
  store float %416, ptr %417, align 4, !tbaa !97
  %418 = getelementptr inbounds %struct.nk_rect, ptr %34, i32 0, i32 0
  %419 = load float, ptr %418, align 4, !tbaa !95
  %420 = load ptr, ptr %13, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.nk_style, ptr %420, i32 0, i32 20
  %422 = getelementptr inbounds %struct.nk_style_combo, ptr %421, i32 0, i32 16
  %423 = getelementptr inbounds %struct.nk_vec2, ptr %422, i32 0, i32 0
  %424 = load float, ptr %423, align 4, !tbaa !101
  %425 = fsub float %419, %424
  %426 = getelementptr inbounds %struct.nk_rect, ptr %35, i32 0, i32 0
  %427 = load float, ptr %426, align 4, !tbaa !95
  %428 = fsub float %425, %427
  %429 = getelementptr inbounds %struct.nk_rect, ptr %35, i32 0, i32 2
  store float %428, ptr %429, align 4, !tbaa !94
  %430 = getelementptr inbounds %struct.nk_rect, ptr %15, i32 0, i32 3
  %431 = load float, ptr %430, align 4, !tbaa !92
  %432 = load ptr, ptr %13, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.nk_style, ptr %432, i32 0, i32 20
  %434 = getelementptr inbounds %struct.nk_style_combo, ptr %433, i32 0, i32 16
  %435 = getelementptr inbounds %struct.nk_vec2, ptr %434, i32 0, i32 1
  %436 = load float, ptr %435, align 4, !tbaa !102
  %437 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %436, float %431)
  %438 = getelementptr inbounds %struct.nk_rect, ptr %35, i32 0, i32 3
  store float %437, ptr %438, align 4, !tbaa !92
  %439 = load ptr, ptr %12, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.nk_window, ptr %439, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %35, i64 16, i1 false), !tbaa.struct !81
  %441 = load ptr, ptr %9, align 8, !tbaa !5
  %442 = load i32, ptr %10, align 4, !tbaa !9
  %443 = load ptr, ptr %13, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.nk_style, ptr %443, i32 0, i32 0
  %445 = load ptr, ptr %444, align 8, !tbaa !100
  %446 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %42, i32 0, i32 0
  %447 = load <2 x float>, ptr %446, align 4
  %448 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %42, i32 0, i32 1
  %449 = load <2 x float>, ptr %448, align 4
  call void @_ZL14nk_widget_textP17nk_command_buffer7nk_rectPKciPK7nk_textjPK12nk_user_font(ptr noundef %440, <2 x float> %447, <2 x float> %449, ptr noundef %441, i32 noundef %442, ptr noundef %20, i32 noundef 17, ptr noundef %445)
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  %450 = load ptr, ptr %8, align 8, !tbaa !5
  %451 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !103
  %452 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !81
  %453 = load <2 x float>, ptr %43, align 4
  %454 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %44, i32 0, i32 0
  %455 = load <2 x float>, ptr %454, align 4
  %456 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %44, i32 0, i32 1
  %457 = load <2 x float>, ptr %456, align 4
  %458 = call noundef i32 @_ZL14nk_combo_beginP10nk_contextP9nk_window7nk_vec2i7nk_rect(ptr noundef %450, ptr noundef %451, <2 x float> %453, i32 noundef %452, <2 x float> %455, <2 x float> %457)
  store i32 %458, ptr %6, align 4
  store i32 1, ptr %21, align 4
  br label %459

459:                                              ; preds = %256, %94, %83
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %460 = load i32, ptr %6, align 4
  ret i32 %460
}

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


; 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_symbol_text = external hidden unnamed_addr constant [112 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 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: mustprogress uwtable
declare hidden void @_ZL14nk_draw_symbolP17nk_command_buffer14nk_symbol_type7nk_rect8nk_colorS3_fPK12nk_user_font(ptr noundef, i32 noundef, <2 x float>, <2 x float>, i32, i32, float noundef, ptr noundef) local_unnamed_addr #5

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

10:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.1, i32 noundef 29021, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_symbol_text) #9
  unreachable

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

14:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.1, i32 noundef 29022, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_symbol_text) #9
  unreachable

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

18:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.1, i32 noundef 29023, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_symbol_text) #9
  unreachable

19:                                               ; preds = %15
  %20 = getelementptr inbounds i8, ptr %0, i64 360
  %21 = call i32 @nk_widget(ptr noundef nonnull %6, ptr noundef nonnull %0)
  %.not122 = icmp eq i32 %21, 0
  br i1 %.not122, label %141, label %22

22:                                               ; preds = %19
  %23 = load ptr, ptr %16, align 8, !tbaa !62
  %24 = getelementptr inbounds i8, ptr %23, i64 4
  %25 = load i32, ptr %24, align 4, !tbaa !70
  %26 = and i32 %25, 4096
  %27 = icmp ne i32 %26, 0
  %28 = icmp eq i32 %21, 2
  %or.cond = or i1 %28, %27
  %29 = select i1 %or.cond, ptr null, ptr %0
  %30 = getelementptr inbounds i8, ptr %0, i64 9144
  %.sroa.035.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.236.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.236.0.copyload = load <2 x float>, ptr %.sroa.236.0..sroa_idx, align 8
  %31 = call noundef i32 @_ZL18nk_button_behaviorPj7nk_rectPK8nk_input18nk_button_behavior(ptr noundef nonnull %30, <2 x float> %.sroa.035.0.copyload, <2 x float> %.sroa.236.0.copyload, ptr noundef %29, i32 noundef 0)
  %.not123 = icmp ne i32 %31, 0
  %spec.select = zext i1 %.not123 to i32
  %32 = load i32, ptr %30, align 8, !tbaa !76
  %33 = and i32 %32, 32
  %.not124 = icmp eq i32 %33, 0
  br i1 %.not124, label %40, label %34

34:                                               ; preds = %22
  %35 = getelementptr inbounds i8, ptr %0, i64 7872
  %36 = getelementptr inbounds i8, ptr %0, i64 7936
  %.sroa.037.0.copyload = load i32, ptr %36, align 8
  %37 = getelementptr inbounds i8, ptr %0, i64 7924
  %38 = getelementptr inbounds i8, ptr %7, i64 12
  %39 = load i32, ptr %37, align 4
  store i32 %39, ptr %38, align 4
  br label %53

40:                                               ; preds = %22
  %41 = and i32 %32, 16
  %.not125 = icmp eq i32 %41, 0
  %42 = getelementptr inbounds i8, ptr %7, i64 12
  br i1 %.not125, label %48, label %43

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %0, i64 7832
  %45 = getelementptr inbounds i8, ptr %0, i64 7932
  %.sroa.037.0.copyload38 = load i32, ptr %45, align 4
  %46 = getelementptr inbounds i8, ptr %0, i64 7920
  %47 = load i32, ptr %46, align 8
  store i32 %47, ptr %42, align 4
  br label %53

48:                                               ; preds = %40
  %49 = getelementptr inbounds i8, ptr %0, i64 7792
  %50 = getelementptr inbounds i8, ptr %0, i64 7928
  %.sroa.037.0.copyload39 = load i32, ptr %50, align 8
  %51 = getelementptr inbounds i8, ptr %0, i64 7916
  %52 = load i32, ptr %51, align 4
  store i32 %52, ptr %42, align 4
  br label %53

53:                                               ; preds = %43, %48, %34
  %.sroa.037.0 = phi i32 [ %.sroa.037.0.copyload, %34 ], [ %.sroa.037.0.copyload38, %43 ], [ %.sroa.037.0.copyload39, %48 ]
  %.0115 = phi ptr [ %35, %34 ], [ %44, %43 ], [ %49, %48 ]
  %54 = load i32, ptr %.0115, align 8, !tbaa !77
  switch i32 %54, label %76 [
    i32 1, label %55
    i32 2, label %60
    i32 0, label %65
  ]

55:                                               ; preds = %53
  %56 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %57 = getelementptr inbounds i8, ptr %7, i64 8
  store i32 %56, ptr %57, align 8
  %58 = getelementptr inbounds i8, ptr %13, i64 104
  %.sroa.032.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.233.0.copyload = load <2 x float>, ptr %.sroa.236.0..sroa_idx, align 8
  %59 = getelementptr inbounds i8, ptr %.0115, i64 8
  %.sroa.031.0.copyload = load i32, ptr @_ZL8nk_white, align 1
  call void @nk_draw_image(ptr noundef nonnull %58, <2 x float> %.sroa.032.0.copyload, <2 x float> %.sroa.233.0.copyload, ptr noundef nonnull %59, i32 %.sroa.031.0.copyload)
  br label %76

60:                                               ; preds = %53
  %61 = call i32 @nk_rgba(i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %62 = getelementptr inbounds i8, ptr %7, i64 8
  store i32 %61, ptr %62, align 8
  %63 = getelementptr inbounds i8, ptr %13, i64 104
  %.sroa.028.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.229.0.copyload = load <2 x float>, ptr %.sroa.236.0..sroa_idx, align 8
  %64 = getelementptr inbounds i8, ptr %.0115, i64 8
  %.sroa.027.0.copyload = load i32, ptr @_ZL8nk_white, align 1
  call void @nk_draw_nine_slice(ptr noundef nonnull %63, <2 x float> %.sroa.028.0.copyload, <2 x float> %.sroa.229.0.copyload, ptr noundef nonnull %64, i32 %.sroa.027.0.copyload)
  br label %76

65:                                               ; preds = %53
  %66 = getelementptr inbounds i8, ptr %.0115, i64 8
  %67 = getelementptr inbounds i8, ptr %7, i64 8
  %68 = load i32, ptr %66, align 8
  store i32 %68, ptr %67, align 8
  %69 = getelementptr inbounds i8, ptr %13, i64 104
  %.sroa.025.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.226.0.copyload = load <2 x float>, ptr %.sroa.236.0..sroa_idx, align 8
  %70 = getelementptr inbounds i8, ptr %0, i64 8160
  %71 = load float, ptr %70, align 8, !tbaa !78
  call void @nk_fill_rect(ptr noundef nonnull %69, <2 x float> %.sroa.025.0.copyload, <2 x float> %.sroa.226.0.copyload, float noundef %71, i32 %68)
  %.sroa.022.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.223.0.copyload = load <2 x float>, ptr %.sroa.236.0..sroa_idx, align 8
  %72 = load float, ptr %70, align 8, !tbaa !78
  %73 = getelementptr inbounds i8, ptr %0, i64 8156
  %74 = load float, ptr %73, align 4, !tbaa !79
  %75 = getelementptr inbounds i8, ptr %0, i64 7912
  %.sroa.021.0.copyload = load i32, ptr %75, align 8
  call void @nk_stroke_rect(ptr noundef nonnull %69, <2 x float> %.sroa.022.0.copyload, <2 x float> %.sroa.223.0.copyload, float noundef %72, float noundef %74, i32 %.sroa.021.0.copyload)
  br label %76

76:                                               ; preds = %65, %60, %55, %53
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %77 = load i32, ptr %30, align 8, !tbaa !76
  %78 = and i32 %77, 16
  %.not126 = icmp eq i32 %78, 0
  %. = select i1 %.not123, i64 8152, i64 8144
  %.sink = select i1 %.not126, i64 %., i64 8148
  %79 = getelementptr inbounds i8, ptr %0, i64 %.sink
  %.0116 = load i32, ptr %79, align 4, !tbaa !80
  %80 = getelementptr inbounds i8, ptr %6, i64 12
  %81 = load float, ptr %80, align 4, !tbaa !81
  %82 = getelementptr inbounds i8, ptr %0, i64 8172
  %83 = getelementptr inbounds i8, ptr %0, i64 8176
  %84 = load float, ptr %83, align 4, !tbaa !82
  %85 = call float @llvm.fmuladd.f32(float %84, float -2.000000e+00, float %81)
  %86 = getelementptr inbounds i8, ptr %9, i64 8
  store float %85, ptr %86, align 4, !tbaa !83
  %87 = load float, ptr %6, align 8, !tbaa !84
  %88 = load float, ptr %.sroa.236.0..sroa_idx, align 8, !tbaa !83
  %89 = fadd float %87, %88
  %90 = fsub float %89, %81
  %91 = load float, ptr %82, align 4, !tbaa !85
  %92 = fsub float %90, %91
  store float %92, ptr %9, align 4, !tbaa !84
  %93 = getelementptr inbounds i8, ptr %6, i64 4
  %94 = load float, ptr %93, align 4, !tbaa !86
  %95 = fadd float %84, %94
  %96 = getelementptr inbounds i8, ptr %9, i64 4
  store float %95, ptr %96, align 4, !tbaa !86
  %97 = getelementptr inbounds i8, ptr %9, i64 12
  store float %85, ptr %97, align 4, !tbaa !81
  %98 = getelementptr inbounds i8, ptr %0, i64 7944
  %99 = getelementptr inbounds i8, ptr %0, i64 8096
  %100 = load <2 x float>, ptr %99, align 8, !tbaa !87
  %101 = insertelement <2 x float> poison, float %92, i64 0
  %102 = insertelement <2 x float> %101, float %95, i64 1
  %103 = fadd <2 x float> %102, %100
  store <2 x float> %103, ptr %8, align 8, !tbaa !87
  %104 = getelementptr inbounds i8, ptr %8, i64 8
  %105 = insertelement <2 x float> poison, float %85, i64 0
  %106 = shufflevector <2 x float> %105, <2 x float> poison, <2 x i32> zeroinitializer
  %107 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %100, <2 x float> <float -2.000000e+00, float -2.000000e+00>, <2 x float> %106)
  store <2 x float> %107, ptr %104, align 8, !tbaa !87
  %108 = getelementptr inbounds i8, ptr %13, i64 104
  %109 = load ptr, ptr %20, align 8, !tbaa !88
  call void @_ZL21nk_draw_button_symbolP17nk_command_bufferPK7nk_rectS3_jPK15nk_style_button14nk_symbol_typePK12nk_user_font(ptr noundef nonnull %108, ptr noundef nonnull %9, ptr noundef nonnull %8, i32 noundef %77, ptr noundef nonnull %98, i32 noundef %.0116, ptr noundef %109)
  %110 = getelementptr inbounds i8, ptr %0, i64 8164
  %111 = load <2 x float>, ptr %6, align 8, !tbaa !87
  %112 = load <2 x float>, ptr %110, align 4, !tbaa !87
  %113 = fadd <2 x float> %111, %112
  %114 = load float, ptr %80, align 4, !tbaa !81
  %115 = extractelement <2 x float> %112, i64 1
  %116 = call float @llvm.fmuladd.f32(float %115, float -2.000000e+00, float %114)
  %117 = insertelement <2 x float> poison, float %116, i64 0
  %.sroa.6.8.vec.insert = shufflevector <2 x float> %117, <2 x float> poison, <2 x i32> zeroinitializer
  %118 = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.07.0.copyload = load i32, ptr %118, align 8
  %119 = load ptr, ptr %20, align 8, !tbaa !88
  call void @_ZL14nk_draw_symbolP17nk_command_buffer14nk_symbol_type7nk_rect8nk_colorS3_fPK12nk_user_font(ptr noundef nonnull %108, i32 noundef %3, <2 x float> %113, <2 x float> %.sroa.6.8.vec.insert, i32 %.sroa.07.0.copyload, i32 %.sroa.037.0, float noundef 1.000000e+00, ptr noundef %119)
  %120 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %120, ptr %7, align 8
  %121 = extractelement <2 x float> %113, i64 0
  %122 = fadd float %121, %116
  %123 = getelementptr inbounds i8, ptr %0, i64 8180
  %124 = load float, ptr %123, align 4, !tbaa !89
  %125 = fadd float %122, %124
  %126 = load float, ptr %93, align 4, !tbaa !86
  %127 = load <2 x float>, ptr %110, align 4, !tbaa !87
  %128 = insertelement <2 x float> poison, float %125, i64 0
  %129 = insertelement <2 x float> %128, float %126, i64 1
  %130 = fadd <2 x float> %129, %127
  %131 = load float, ptr %9, align 4, !tbaa !84
  %132 = extractelement <2 x float> %127, i64 0
  %133 = fsub float %131, %132
  %134 = extractelement <2 x float> %130, i64 0
  %135 = fsub float %133, %134
  %.sroa.619.8.vec.insert = insertelement <2 x float> poison, float %135, i64 0
  %136 = load float, ptr %80, align 4, !tbaa !81
  %137 = extractelement <2 x float> %127, i64 1
  %138 = call float @llvm.fmuladd.f32(float %137, float -2.000000e+00, float %136)
  %.sroa.619.12.vec.insert = insertelement <2 x float> %.sroa.619.8.vec.insert, float %138, i64 1
  %139 = load ptr, ptr %20, align 8, !tbaa !88
  call void @_ZL14nk_widget_textP17nk_command_buffer7nk_rectPKciPK7nk_textjPK12nk_user_font(ptr noundef nonnull %108, <2 x float> %130, <2 x float> %.sroa.619.12.vec.insert, ptr noundef %1, i32 noundef %2, ptr noundef nonnull %7, i32 noundef 17, ptr noundef %139)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  %.sroa.0.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %.sroa.236.0..sroa_idx, align 8
  %140 = call noundef i32 @_ZL14nk_combo_beginP10nk_contextP9nk_window7nk_vec2i7nk_rect(ptr noundef nonnull %0, ptr noundef nonnull %13, <2 x float> %4, i32 noundef %spec.select, <2 x float> %.sroa.0.0.copyload, <2 x float> %.sroa.2.0.copyload)
  br label %141

141:                                              ; preds = %19, %76
  %.0 = phi i32 [ %140, %76 ], [ 0, %19 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  ret i32 %.0
}

; 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 = !{!15, !16, i64 0}
!89 = !{!15, !14, i64 7820}


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