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

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

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

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__.nk_widget_has_mouse_click_down = external hidden unnamed_addr constant [86 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL8nk_unifyP7nk_rectPKS_ffff(ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL14nk_layout_peekP7nk_rectP10nk_context(ptr noundef, ptr noundef) #3

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

15:                                               ; preds = %3
  br label %18

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

17:                                               ; No predecessors!
  br label %18

18:                                               ; preds = %17, %15
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.nk_context, ptr %19, i32 0, i32 17
  %21 = load ptr, ptr %20, align 8, !tbaa !13
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %18
  br label %26

24:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.1, i32 noundef 23075, ptr noundef @__PRETTY_FUNCTION__.nk_widget_has_mouse_click_down) #7
  unreachable

25:                                               ; No predecessors!
  br label %26

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

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

34:                                               ; preds = %29
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.nk_context, ptr %35, i32 0, i32 16
  %37 = load ptr, ptr %36, align 8, !tbaa !66
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.nk_context, ptr %38, i32 0, i32 17
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = icmp ne ptr %37, %40
  br i1 %41, label %42, label %43

42:                                               ; preds = %34, %29, %26
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %131

43:                                               ; preds = %34
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.nk_context, ptr %44, i32 0, i32 17
  %46 = load ptr, ptr %45, align 8, !tbaa !13
  %47 = getelementptr inbounds %struct.nk_window, ptr %46, i32 0, i32 7
  %48 = load ptr, ptr %47, align 8, !tbaa !67
  %49 = getelementptr inbounds %struct.nk_panel, ptr %48, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %49, i64 16, i1 false), !tbaa.struct !75
  %50 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 0
  %51 = load float, ptr %50, align 4, !tbaa !77
  %52 = fptosi float %51 to i32
  %53 = sitofp i32 %52 to float
  %54 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 0
  store float %53, ptr %54, align 4, !tbaa !77
  %55 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 1
  %56 = load float, ptr %55, align 4, !tbaa !78
  %57 = fptosi float %56 to i32
  %58 = sitofp i32 %57 to float
  %59 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 1
  store float %58, ptr %59, align 4, !tbaa !78
  %60 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 2
  %61 = load float, ptr %60, align 4, !tbaa !79
  %62 = fptosi float %61 to i32
  %63 = sitofp i32 %62 to float
  %64 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 2
  store float %63, ptr %64, align 4, !tbaa !79
  %65 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 3
  %66 = load float, ptr %65, align 4, !tbaa !80
  %67 = fptosi float %66 to i32
  %68 = sitofp i32 %67 to float
  %69 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 3
  store float %68, ptr %69, align 4, !tbaa !80
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZL14nk_layout_peekP7nk_rectP10nk_context(ptr noundef %10, ptr noundef %70)
  %71 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 0
  %72 = load float, ptr %71, align 4, !tbaa !77
  %73 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 1
  %74 = load float, ptr %73, align 4, !tbaa !78
  %75 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 0
  %76 = load float, ptr %75, align 4, !tbaa !77
  %77 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 2
  %78 = load float, ptr %77, align 4, !tbaa !79
  %79 = fadd float %76, %78
  %80 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 1
  %81 = load float, ptr %80, align 4, !tbaa !78
  %82 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 3
  %83 = load float, ptr %82, align 4, !tbaa !80
  %84 = fadd float %81, %83
  call void @_ZL8nk_unifyP7nk_rectPKS_ffff(ptr noundef %9, ptr noundef %8, float noundef %72, float noundef %74, float noundef %79, float noundef %84)
  %85 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 0
  %86 = load float, ptr %85, align 4, !tbaa !77
  %87 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 0
  %88 = load float, ptr %87, align 4, !tbaa !77
  %89 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 2
  %90 = load float, ptr %89, align 4, !tbaa !79
  %91 = fadd float %88, %90
  %92 = fcmp olt float %86, %91
  br i1 %92, label %93, label %120

93:                                               ; preds = %43
  %94 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 0
  %95 = load float, ptr %94, align 4, !tbaa !77
  %96 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 0
  %97 = load float, ptr %96, align 4, !tbaa !77
  %98 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 2
  %99 = load float, ptr %98, align 4, !tbaa !79
  %100 = fadd float %97, %99
  %101 = fcmp olt float %95, %100
  br i1 %101, label %102, label %120

102:                                              ; preds = %93
  %103 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 1
  %104 = load float, ptr %103, align 4, !tbaa !78
  %105 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 1
  %106 = load float, ptr %105, align 4, !tbaa !78
  %107 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 3
  %108 = load float, ptr %107, align 4, !tbaa !80
  %109 = fadd float %106, %108
  %110 = fcmp olt float %104, %109
  br i1 %110, label %111, label %120

111:                                              ; preds = %102
  %112 = getelementptr inbounds %struct.nk_rect, ptr %8, i32 0, i32 1
  %113 = load float, ptr %112, align 4, !tbaa !78
  %114 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 1
  %115 = load float, ptr %114, align 4, !tbaa !78
  %116 = getelementptr inbounds %struct.nk_rect, ptr %10, i32 0, i32 3
  %117 = load float, ptr %116, align 4, !tbaa !80
  %118 = fadd float %115, %117
  %119 = fcmp olt float %113, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %111, %102, %93, %43
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %131

121:                                              ; preds = %111
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.nk_context, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %6, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !75
  %125 = load i32, ptr %7, align 4, !tbaa !11
  %126 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %127 = load <2 x float>, ptr %126, align 4
  %128 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %129 = load <2 x float>, ptr %128, align 4
  %130 = call i32 @nk_input_has_mouse_click_down_in_rect(ptr noundef %123, i32 noundef %124, <2 x float> %127, <2 x float> %129, i32 noundef %125)
  store i32 %130, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %131

131:                                              ; preds = %121, %120, %42
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  %132 = load i32, ptr %4, align 4
  ret i32 %132
}

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS10nk_buttons", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 17824}
!14 = !{!"_ZTS10nk_context", !15, i64 0, !20, i64 360, !40, i64 9000, !45, i64 9120, !12, i64 9144, !46, i64 9148, !47, i64 9152, !19, i64 12024, !55, i64 12032, !60, i64 12272, !64, i64 17656, !12, i64 17720, !12, i64 17724, !65, i64 17728, !6, i64 17800, !6, i64 17808, !6, i64 17816, !6, i64 17824, !6, i64 17832, !12, i64 17840, !12, i64 17844}
!15 = !{!"_ZTS8nk_input", !16, i64 0, !17, i64 260}
!16 = !{!"_ZTS11nk_keyboard", !7, i64 0, !7, i64 240, !12, 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, !12, 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, !30, i64 2320, !31, i64 2624, !32, i64 4128, !34, i64 5048, !33, i64 5120, !33, i64 5832, !35, i64 6544, !36, i64 7432, !37, 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, !12, 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, !12, 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, !12, 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, !12, i64 300, !23, i64 304, !23, i64 504, !29, i64 704, !29, i64 708, !7, i64 712, !6, i64 720, !6, i64 728}
!29 = !{!"_ZTS14nk_symbol_type", !7, i64 0}
!30 = !{!"_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}
!31 = !{!"_ZTS17nk_style_property", !24, i64 0, !24, i64 40, !24, i64 80, !22, i64 120, !22, i64 124, !22, i64 128, !22, i64 132, !29, i64 136, !29, i64 140, !19, i64 144, !19, i64 148, !18, i64 152, !32, i64 160, !23, i64 1080, !23, i64 1280, !7, i64 1480, !6, i64 1488, !6, i64 1496}
!32 = !{!"_ZTS13nk_style_edit", !24, i64 0, !24, i64 40, !24, i64 80, !22, i64 120, !33, 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}
!33 = !{!"_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, !12, i64 276, !23, i64 280, !23, i64 480, !29, i64 680, !29, i64 684, !7, i64 688, !6, i64 696, !6, i64 704}
!34 = !{!"_ZTS14nk_style_chart", !24, i64 0, !22, i64 40, !22, i64 44, !22, i64 48, !19, i64 52, !19, i64 56, !18, i64 60}
!35 = !{!"_ZTS12nk_style_tab", !24, i64 0, !22, i64 40, !22, i64 44, !23, i64 48, !23, i64 248, !23, i64 448, !23, i64 648, !29, i64 848, !29, i64 852, !19, i64 856, !19, i64 860, !19, i64 864, !18, i64 868, !18, i64 876}
!36 = !{!"_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, !29, i64 352, !29, i64 356, !29, i64 360, !19, i64 364, !19, i64 368, !18, i64 372, !18, i64 380, !18, i64 388}
!37 = !{!"_ZTS15nk_style_window", !38, 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}
!38 = !{!"_ZTS22nk_style_window_header", !24, i64 0, !24, i64 40, !24, i64 80, !23, i64 120, !23, i64 320, !29, i64 520, !29, i64 524, !29, i64 528, !22, i64 532, !22, i64 536, !22, i64 540, !39, i64 544, !18, i64 548, !18, i64 556, !18, i64 564}
!39 = !{!"_ZTS21nk_style_header_align", !7, i64 0}
!40 = !{!"_ZTS9nk_buffer", !7, i64 0, !41, i64 32, !42, i64 56, !43, i64 64, !19, i64 80, !44, i64 88, !44, i64 96, !44, i64 104, !44, i64 112}
!41 = !{!"_ZTS12nk_allocator", !7, i64 0, !6, i64 8, !6, i64 16}
!42 = !{!"_ZTS18nk_allocation_type", !7, i64 0}
!43 = !{!"_ZTS9nk_memory", !6, i64 0, !44, i64 8}
!44 = !{!"long", !7, i64 0}
!45 = !{!"_ZTS12nk_clipboard", !7, i64 0, !6, i64 8, !6, i64 16}
!46 = !{!"_ZTS18nk_button_behavior", !7, i64 0}
!47 = !{!"_ZTS23nk_configuration_stacks", !48, i64 0, !49, i64 776, !50, i64 1296, !51, i64 1560, !52, i64 2080, !53, i64 2600, !54, i64 2736}
!48 = !{!"_ZTS26nk_config_stack_style_item", !12, i64 0, !7, i64 8}
!49 = !{!"_ZTS21nk_config_stack_float", !12, i64 0, !7, i64 8}
!50 = !{!"_ZTS20nk_config_stack_vec2", !12, i64 0, !7, i64 8}
!51 = !{!"_ZTS21nk_config_stack_flags", !12, i64 0, !7, i64 8}
!52 = !{!"_ZTS21nk_config_stack_color", !12, i64 0, !7, i64 8}
!53 = !{!"_ZTS25nk_config_stack_user_font", !12, i64 0, !7, i64 8}
!54 = !{!"_ZTS31nk_config_stack_button_behavior", !12, i64 0, !7, i64 8}
!55 = !{!"_ZTS12nk_draw_list", !56, i64 0, !7, i64 16, !57, i64 112, !6, i64 176, !6, i64 184, !6, i64 192, !12, i64 200, !12, i64 204, !12, i64 208, !44, i64 216, !12, i64 224, !12, i64 228, !58, i64 232, !58, i64 236}
!56 = !{!"_ZTS7nk_rect", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12}
!57 = !{!"_ZTS17nk_convert_config", !19, i64 0, !58, i64 4, !58, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !59, i64 24, !6, i64 40, !44, i64 48, !44, i64 56}
!58 = !{!"_ZTS16nk_anti_aliasing", !7, i64 0}
!59 = !{!"_ZTS20nk_draw_null_texture", !7, i64 0, !18, i64 8}
!60 = !{!"_ZTS12nk_text_edit", !45, i64 0, !61, i64 24, !6, i64 152, !18, i64 160, !12, i64 168, !12, i64 172, !12, 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, !62, i64 192}
!61 = !{!"_ZTS6nk_str", !40, i64 0, !12, i64 120}
!62 = !{!"_ZTS18nk_text_undo_state", !7, i64 0, !7, i64 1188, !63, i64 5184, !63, i64 5186, !63, i64 5188, !63, i64 5190}
!63 = !{!"short", !7, i64 0}
!64 = !{!"_ZTS17nk_command_buffer", !6, i64 0, !56, i64 8, !12, i64 24, !7, i64 32, !44, i64 40, !44, i64 48, !44, i64 56}
!65 = !{!"_ZTS7nk_pool", !41, i64 0, !42, i64 24, !12, i64 28, !6, i64 32, !6, i64 40, !12, i64 48, !44, i64 56, !44, i64 64}
!66 = !{!14, !6, i64 17816}
!67 = !{!68, !6, i64 168}
!68 = !{!"_ZTS9nk_window", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 72, !56, i64 76, !69, i64 92, !64, i64 104, !6, i64 168, !19, i64 176, !70, i64 180, !71, i64 288, !74, i64 384, !12, i64 428, !6, i64 432, !12, i64 440, !6, i64 448, !6, i64 456, !6, i64 464}
!69 = !{!"_ZTS9nk_scroll", !12, i64 0, !12, i64 4}
!70 = !{!"_ZTS17nk_property_state", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100}
!71 = !{!"_ZTS14nk_popup_state", !6, i64 0, !72, i64 8, !73, i64 16, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !56, i64 80}
!72 = !{!"_ZTS13nk_panel_type", !7, i64 0}
!73 = !{!"_ZTS15nk_popup_buffer", !44, i64 0, !44, i64 8, !44, i64 16, !44, i64 24, !12, i64 32}
!74 = !{!"_ZTS13nk_edit_state", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !69, i64 32, !7, i64 40, !7, i64 41}
!75 = !{i64 0, i64 4, !76, i64 4, i64 4, !76, i64 8, i64 4, !76, i64 12, i64 4, !76}
!76 = !{!19, !19, i64 0}
!77 = !{!56, !19, i64 0}
!78 = !{!56, !19, i64 4}
!79 = !{!56, !19, i64 8}
!80 = !{!56, !19, i64 12}


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

%struct.nk_rect = type { float, float, float, float }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__.nk_widget_has_mouse_click_down = external hidden unnamed_addr constant [86 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL8nk_unifyP7nk_rectPKS_ffff(ptr noundef, ptr noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL14nk_layout_peekP7nk_rectP10nk_context(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %0, i64 17816
  %14 = load ptr, ptr %13, align 8, !tbaa !62
  %.not16 = icmp eq ptr %14, %10
  br i1 %.not16, label %15, label %55

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %10, i64 168
  %17 = load ptr, ptr %16, align 8, !tbaa !63
  %18 = getelementptr inbounds i8, ptr %17, i64 68
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %18, i64 16, i1 false), !tbaa.struct !71
  %19 = getelementptr inbounds i8, ptr %4, i64 4
  %20 = getelementptr inbounds i8, ptr %4, i64 8
  %21 = getelementptr inbounds i8, ptr %4, i64 12
  %22 = load <4 x float>, ptr %4, align 16, !tbaa !72
  %23 = fptosi <4 x float> %22 to <4 x i32>
  %24 = sitofp <4 x i32> %23 to <4 x float>
  store <4 x float> %24, ptr %4, align 16, !tbaa !72
  call void @_ZL14nk_layout_peekP7nk_rectP10nk_context(ptr noundef nonnull %6, ptr noundef nonnull %0)
  %25 = load float, ptr %6, align 8, !tbaa !73
  %26 = getelementptr inbounds i8, ptr %6, i64 4
  %27 = load float, ptr %26, align 4, !tbaa !74
  %28 = getelementptr inbounds i8, ptr %6, i64 8
  %29 = load float, ptr %28, align 8, !tbaa !75
  %30 = fadd float %25, %29
  %31 = getelementptr inbounds i8, ptr %6, i64 12
  %32 = load float, ptr %31, align 4, !tbaa !76
  %33 = fadd float %27, %32
  call void @_ZL8nk_unifyP7nk_rectPKS_ffff(ptr noundef nonnull %5, ptr noundef nonnull %4, float noundef %25, float noundef %27, float noundef %30, float noundef %33)
  %34 = load float, ptr %6, align 8, !tbaa !73
  %35 = load float, ptr %4, align 16, !tbaa !73
  %36 = load float, ptr %20, align 8, !tbaa !75
  %37 = fadd float %35, %36
  %38 = fcmp olt float %34, %37
  br i1 %38, label %39, label %55

39:                                               ; preds = %15
  %40 = load float, ptr %28, align 8, !tbaa !75
  %41 = fadd float %34, %40
  %42 = fcmp olt float %35, %41
  br i1 %42, label %43, label %55

43:                                               ; preds = %39
  %44 = load float, ptr %26, align 4, !tbaa !74
  %45 = load float, ptr %19, align 4, !tbaa !74
  %46 = load float, ptr %21, align 4, !tbaa !76
  %47 = fadd float %45, %46
  %48 = fcmp olt float %44, %47
  br i1 %48, label %49, label %55

49:                                               ; preds = %43
  %50 = load float, ptr %31, align 4, !tbaa !76
  %51 = fadd float %44, %50
  %52 = fcmp olt float %45, %51
  br i1 %52, label %53, label %55

53:                                               ; preds = %49
  %.sroa.0.0.copyload = load <2 x float>, ptr %6, align 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %28, align 8
  %54 = call i32 @nk_input_has_mouse_click_down_in_rect(ptr noundef nonnull %0, i32 noundef %1, <2 x float> %.sroa.0.0.copyload, <2 x float> %.sroa.2.0.copyload, i32 noundef %2)
  br label %55

55:                                               ; preds = %15, %39, %43, %49, %12, %53
  %.0 = phi i32 [ %54, %53 ], [ 0, %12 ], [ 0, %49 ], [ 0, %43 ], [ 0, %39 ], [ 0, %15 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  ret i32 %.0
}

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

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

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


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