; LLVM IR from unitreerobotics/kinect_teleoperate :: src/extern/glfw/src/tests (gamma)

; 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_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_image }
%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.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [21 x i8], align 1
@nk_white = external hidden constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_combo_begin_color = external hidden unnamed_addr constant [79 x i8], align 1

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

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

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

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

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

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

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

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

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

22:                                               ; preds = %3
  br label %24

23:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 24692, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_color) #6
  unreachable

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

29:                                               ; preds = %24
  br label %31

30:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str.79, ptr noundef @.str.2, i32 noundef 24693, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_color) #6
  unreachable

31:                                               ; preds = %29
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.nk_context, ptr %32, i32 0, i32 17
  %34 = load ptr, ptr %33, align 8, !tbaa !11
  %35 = getelementptr inbounds %struct.nk_window, ptr %34, i32 0, i32 7
  %36 = load ptr, ptr %35, align 8, !tbaa !58
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %39

38:                                               ; preds = %31
  br label %40

39:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.80, ptr noundef @.str.2, i32 noundef 24694, ptr noundef @__PRETTY_FUNCTION__.nk_combo_begin_color) #6
  unreachable

40:                                               ; preds = %38
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %55

43:                                               ; preds = %40
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.nk_context, ptr %44, i32 0, i32 17
  %46 = load ptr, ptr %45, align 8, !tbaa !11
  %47 = icmp ne ptr %46, null
  br i1 %47, label %48, label %55

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

55:                                               ; preds = %48, %43, %40
  store i32 0, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %342

56:                                               ; preds = %48
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.nk_context, ptr %57, i32 0, i32 17
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  store ptr %59, ptr %8, align 8, !tbaa !5
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.nk_context, ptr %60, i32 0, i32 1
  store ptr %61, ptr %9, align 8, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call i32 @nk_widget(ptr noundef %11, ptr noundef %62)
  store i32 %63, ptr %13, align 4, !tbaa !9
  %64 = load i32, ptr %13, align 4, !tbaa !9
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %56
  store i32 0, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %342

67:                                               ; preds = %56
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.nk_window, ptr %68, i32 0, i32 7
  %70 = load ptr, ptr %69, align 8, !tbaa !58
  %71 = getelementptr inbounds %struct.nk_panel, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 4, !tbaa !65
  %73 = and i32 %72, 4096
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %78, label %75

75:                                               ; preds = %67
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = icmp eq i32 %76, 2
  br i1 %77, label %78, label %79

78:                                               ; preds = %75, %67
  br label %82

79:                                               ; preds = %75
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.nk_context, ptr %80, i32 0, i32 0
  br label %82

82:                                               ; preds = %79, %78
  %83 = phi ptr [ null, %78 ], [ %81, %79 ]
  store ptr %83, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.nk_context, ptr %84, i32 0, i32 4
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %88 = load <2 x float>, ptr %87, align 4
  %89 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %90 = load <2 x float>, ptr %89, align 4
  %91 = call i32 @nk_button_behavior(ptr noundef %85, <2 x float> %88, <2 x float> %90, ptr noundef %86, i32 noundef 0)
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %82
  store i32 1, ptr %12, align 4, !tbaa !9
  br label %94

94:                                               ; preds = %93, %82
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.nk_context, ptr %95, i32 0, i32 4
  %97 = load i32, ptr %96, align 8, !tbaa !70
  %98 = and i32 %97, 32
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %104

100:                                              ; preds = %94
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.nk_style, ptr %101, i32 0, i32 20
  %103 = getelementptr inbounds %struct.nk_style_combo, ptr %102, i32 0, i32 2
  store ptr %103, ptr %14, align 8, !tbaa !5
  br label %119

104:                                              ; preds = %94
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.nk_context, ptr %105, i32 0, i32 4
  %107 = load i32, ptr %106, align 8, !tbaa !70
  %108 = and i32 %107, 16
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %114

110:                                              ; preds = %104
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.nk_style, ptr %111, i32 0, i32 20
  %113 = getelementptr inbounds %struct.nk_style_combo, ptr %112, i32 0, i32 1
  store ptr %113, ptr %14, align 8, !tbaa !5
  br label %118

114:                                              ; preds = %104
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.nk_style, ptr %115, i32 0, i32 20
  %117 = getelementptr inbounds %struct.nk_style_combo, ptr %116, i32 0, i32 0
  store ptr %117, ptr %14, align 8, !tbaa !5
  br label %118

118:                                              ; preds = %114, %110
  br label %119

119:                                              ; preds = %118, %100
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.nk_style_item, ptr %120, i32 0, i32 0
  %122 = load i32, ptr %121, align 8, !tbaa !71
  %123 = icmp eq i32 %122, 1
  br i1 %123, label %124, label %134

124:                                              ; preds = %119
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.nk_window, ptr %125, i32 0, i32 6
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.nk_style_item, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %130 = load <2 x float>, ptr %129, align 4
  %131 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %132 = load <2 x float>, ptr %131, align 4
  %133 = load i32, ptr @nk_white, align 1
  call void @nk_draw_image(ptr noundef %126, <2 x float> %130, <2 x float> %132, ptr noundef %128, i32 %133)
  br label %166

134:                                              ; preds = %119
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.nk_window, ptr %135, i32 0, i32 6
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.nk_style, ptr %137, i32 0, i32 20
  %139 = getelementptr inbounds %struct.nk_style_combo, ptr %138, i32 0, i32 15
  %140 = load float, ptr %139, align 8, !tbaa !72
  %141 = load ptr, ptr %14, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.nk_style_item, ptr %141, i32 0, i32 1
  %143 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %144 = load <2 x float>, ptr %143, align 4
  %145 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %146 = load <2 x float>, ptr %145, align 4
  %147 = load i32, ptr %142, align 8
  call void @nk_fill_rect(ptr noundef %136, <2 x float> %144, <2 x float> %146, float noundef %140, i32 %147)
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.nk_window, ptr %148, i32 0, i32 6
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.nk_style, ptr %150, i32 0, i32 20
  %152 = getelementptr inbounds %struct.nk_style_combo, ptr %151, i32 0, i32 15
  %153 = load float, ptr %152, align 8, !tbaa !72
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.nk_style, ptr %154, i32 0, i32 20
  %156 = getelementptr inbounds %struct.nk_style_combo, ptr %155, i32 0, i32 14
  %157 = load float, ptr %156, align 4, !tbaa !73
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.nk_style, ptr %158, i32 0, i32 20
  %160 = getelementptr inbounds %struct.nk_style_combo, ptr %159, i32 0, i32 3
  %161 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %162 = load <2 x float>, ptr %161, align 4
  %163 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %164 = load <2 x float>, ptr %163, align 4
  %165 = load i32, ptr %160, align 8
  call void @nk_stroke_rect(ptr noundef %149, <2 x float> %162, <2 x float> %164, float noundef %153, float noundef %157, i32 %165)
  br label %166

166:                                              ; preds = %134, %124
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.nk_context, ptr %167, i32 0, i32 4
  %169 = load i32, ptr %168, align 8, !tbaa !70
  %170 = and i32 %169, 16
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %177

172:                                              ; preds = %166
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.nk_style, ptr %173, i32 0, i32 20
  %175 = getelementptr inbounds %struct.nk_style_combo, ptr %174, i32 0, i32 12
  %176 = load i32, ptr %175, align 4, !tbaa !74
  store i32 %176, ptr %19, align 4, !tbaa !9
  br label %191

177:                                              ; preds = %166
  %178 = load i32, ptr %12, align 4, !tbaa !9
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %185

180:                                              ; preds = %177
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.nk_style, ptr %181, i32 0, i32 20
  %183 = getelementptr inbounds %struct.nk_style_combo, ptr %182, i32 0, i32 13
  %184 = load i32, ptr %183, align 8, !tbaa !75
  store i32 %184, ptr %19, align 4, !tbaa !9
  br label %190

185:                                              ; preds = %177
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.nk_style, ptr %186, i32 0, i32 20
  %188 = getelementptr inbounds %struct.nk_style_combo, ptr %187, i32 0, i32 11
  %189 = load i32, ptr %188, align 8, !tbaa !76
  store i32 %189, ptr %19, align 4, !tbaa !9
  br label %190

190:                                              ; preds = %185, %180
  br label %191

191:                                              ; preds = %190, %172
  %192 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 3
  %193 = load float, ptr %192, align 4, !tbaa !77
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.nk_style, ptr %194, i32 0, i32 20
  %196 = getelementptr inbounds %struct.nk_style_combo, ptr %195, i32 0, i32 17
  %197 = getelementptr inbounds %struct.nk_vec2, ptr %196, i32 0, i32 1
  %198 = load float, ptr %197, align 4, !tbaa !78
  %199 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %198, float %193)
  %200 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 2
  store float %199, ptr %200, align 4, !tbaa !79
  %201 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 0
  %202 = load float, ptr %201, align 4, !tbaa !80
  %203 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 2
  %204 = load float, ptr %203, align 4, !tbaa !79
  %205 = fadd float %202, %204
  %206 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 3
  %207 = load float, ptr %206, align 4, !tbaa !77
  %208 = fsub float %205, %207
  %209 = load ptr, ptr %9, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.nk_style, ptr %209, i32 0, i32 20
  %211 = getelementptr inbounds %struct.nk_style_combo, ptr %210, i32 0, i32 17
  %212 = getelementptr inbounds %struct.nk_vec2, ptr %211, i32 0, i32 0
  %213 = load float, ptr %212, align 4, !tbaa !81
  %214 = fsub float %208, %213
  %215 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 0
  store float %214, ptr %215, align 4, !tbaa !80
  %216 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 1
  %217 = load float, ptr %216, align 4, !tbaa !82
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.nk_style, ptr %218, i32 0, i32 20
  %220 = getelementptr inbounds %struct.nk_style_combo, ptr %219, i32 0, i32 17
  %221 = getelementptr inbounds %struct.nk_vec2, ptr %220, i32 0, i32 1
  %222 = load float, ptr %221, align 4, !tbaa !78
  %223 = fadd float %217, %222
  %224 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 1
  store float %223, ptr %224, align 4, !tbaa !82
  %225 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 2
  %226 = load float, ptr %225, align 4, !tbaa !79
  %227 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 3
  store float %226, ptr %227, align 4, !tbaa !77
  %228 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 0
  %229 = load float, ptr %228, align 4, !tbaa !80
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.nk_style, ptr %230, i32 0, i32 20
  %232 = getelementptr inbounds %struct.nk_style_combo, ptr %231, i32 0, i32 10
  %233 = getelementptr inbounds %struct.nk_style_button, ptr %232, i32 0, i32 11
  %234 = getelementptr inbounds %struct.nk_vec2, ptr %233, i32 0, i32 0
  %235 = load float, ptr %234, align 8, !tbaa !83
  %236 = fadd float %229, %235
  %237 = getelementptr inbounds %struct.nk_rect, ptr %16, i32 0, i32 0
  store float %236, ptr %237, align 4, !tbaa !80
  %238 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 1
  %239 = load float, ptr %238, align 4, !tbaa !82
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.nk_style, ptr %240, i32 0, i32 20
  %242 = getelementptr inbounds %struct.nk_style_combo, ptr %241, i32 0, i32 10
  %243 = getelementptr inbounds %struct.nk_style_button, ptr %242, i32 0, i32 11
  %244 = getelementptr inbounds %struct.nk_vec2, ptr %243, i32 0, i32 1
  %245 = load float, ptr %244, align 4, !tbaa !84
  %246 = fadd float %239, %245
  %247 = getelementptr inbounds %struct.nk_rect, ptr %16, i32 0, i32 1
  store float %246, ptr %247, align 4, !tbaa !82
  %248 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 2
  %249 = load float, ptr %248, align 4, !tbaa !79
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.nk_style, ptr %250, i32 0, i32 20
  %252 = getelementptr inbounds %struct.nk_style_combo, ptr %251, i32 0, i32 10
  %253 = getelementptr inbounds %struct.nk_style_button, ptr %252, i32 0, i32 11
  %254 = getelementptr inbounds %struct.nk_vec2, ptr %253, i32 0, i32 0
  %255 = load float, ptr %254, align 8, !tbaa !83
  %256 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %255, float %249)
  %257 = getelementptr inbounds %struct.nk_rect, ptr %16, i32 0, i32 2
  store float %256, ptr %257, align 4, !tbaa !79
  %258 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 3
  %259 = load float, ptr %258, align 4, !tbaa !77
  %260 = load ptr, ptr %9, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.nk_style, ptr %260, i32 0, i32 20
  %262 = getelementptr inbounds %struct.nk_style_combo, ptr %261, i32 0, i32 10
  %263 = getelementptr inbounds %struct.nk_style_button, ptr %262, i32 0, i32 11
  %264 = getelementptr inbounds %struct.nk_vec2, ptr %263, i32 0, i32 1
  %265 = load float, ptr %264, align 4, !tbaa !84
  %266 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %265, float %259)
  %267 = getelementptr inbounds %struct.nk_rect, ptr %16, i32 0, i32 3
  store float %266, ptr %267, align 4, !tbaa !77
  %268 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 3
  %269 = load float, ptr %268, align 4, !tbaa !77
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.nk_style, ptr %270, i32 0, i32 20
  %272 = getelementptr inbounds %struct.nk_style_combo, ptr %271, i32 0, i32 16
  %273 = getelementptr inbounds %struct.nk_vec2, ptr %272, i32 0, i32 1
  %274 = load float, ptr %273, align 4, !tbaa !85
  %275 = call float @llvm.fmuladd.f32(float -4.000000e+00, float %274, float %269)
  %276 = getelementptr inbounds %struct.nk_rect, ptr %18, i32 0, i32 3
  store float %275, ptr %276, align 4, !tbaa !77
  %277 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 1
  %278 = load float, ptr %277, align 4, !tbaa !82
  %279 = load ptr, ptr %9, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.nk_style, ptr %279, i32 0, i32 20
  %281 = getelementptr inbounds %struct.nk_style_combo, ptr %280, i32 0, i32 16
  %282 = getelementptr inbounds %struct.nk_vec2, ptr %281, i32 0, i32 1
  %283 = load float, ptr %282, align 4, !tbaa !85
  %284 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %283, float %278)
  %285 = getelementptr inbounds %struct.nk_rect, ptr %18, i32 0, i32 1
  store float %284, ptr %285, align 4, !tbaa !82
  %286 = getelementptr inbounds %struct.nk_rect, ptr %11, i32 0, i32 0
  %287 = load float, ptr %286, align 4, !tbaa !80
  %288 = load ptr, ptr %9, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.nk_style, ptr %288, i32 0, i32 20
  %290 = getelementptr inbounds %struct.nk_style_combo, ptr %289, i32 0, i32 16
  %291 = getelementptr inbounds %struct.nk_vec2, ptr %290, i32 0, i32 0
  %292 = load float, ptr %291, align 4, !tbaa !86
  %293 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %292, float %287)
  %294 = getelementptr inbounds %struct.nk_rect, ptr %18, i32 0, i32 0
  store float %293, ptr %294, align 4, !tbaa !80
  %295 = getelementptr inbounds %struct.nk_rect, ptr %17, i32 0, i32 0
  %296 = load float, ptr %295, align 4, !tbaa !80
  %297 = load ptr, ptr %9, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.nk_style, ptr %297, i32 0, i32 20
  %299 = getelementptr inbounds %struct.nk_style_combo, ptr %298, i32 0, i32 16
  %300 = getelementptr inbounds %struct.nk_vec2, ptr %299, i32 0, i32 0
  %301 = load float, ptr %300, align 4, !tbaa !86
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.nk_style, ptr %302, i32 0, i32 20
  %304 = getelementptr inbounds %struct.nk_style_combo, ptr %303, i32 0, i32 18
  %305 = getelementptr inbounds %struct.nk_vec2, ptr %304, i32 0, i32 0
  %306 = load float, ptr %305, align 4, !tbaa !87
  %307 = fadd float %301, %306
  %308 = fsub float %296, %307
  %309 = getelementptr inbounds %struct.nk_rect, ptr %18, i32 0, i32 0
  %310 = load float, ptr %309, align 4, !tbaa !80
  %311 = fsub float %308, %310
  %312 = getelementptr inbounds %struct.nk_rect, ptr %18, i32 0, i32 2
  store float %311, ptr %312, align 4, !tbaa !79
  %313 = load ptr, ptr %8, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.nk_window, ptr %313, i32 0, i32 6
  %315 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 0
  %316 = load <2 x float>, ptr %315, align 4
  %317 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 1
  %318 = load <2 x float>, ptr %317, align 4
  %319 = load i32, ptr %5, align 1
  call void @nk_fill_rect(ptr noundef %314, <2 x float> %316, <2 x float> %318, float noundef 0.000000e+00, i32 %319)
  %320 = load ptr, ptr %8, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.nk_window, ptr %320, i32 0, i32 6
  %322 = load ptr, ptr %7, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.nk_context, ptr %322, i32 0, i32 4
  %324 = load i32, ptr %323, align 8, !tbaa !70
  %325 = load ptr, ptr %7, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.nk_context, ptr %325, i32 0, i32 1
  %327 = getelementptr inbounds %struct.nk_style, ptr %326, i32 0, i32 20
  %328 = getelementptr inbounds %struct.nk_style_combo, ptr %327, i32 0, i32 10
  %329 = load i32, ptr %19, align 4, !tbaa !9
  %330 = load ptr, ptr %9, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.nk_style, ptr %330, i32 0, i32 0
  %332 = load ptr, ptr %331, align 8, !tbaa !88
  call void @nk_draw_button_symbol(ptr noundef %321, ptr noundef %17, ptr noundef %16, i32 noundef %324, ptr noundef %328, i32 noundef %329, ptr noundef %332)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  %333 = load ptr, ptr %7, align 8, !tbaa !5
  %334 = load ptr, ptr %8, align 8, !tbaa !5
  %335 = load i32, ptr %12, align 4, !tbaa !9
  %336 = load <2 x float>, ptr %6, align 4
  %337 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %338 = load <2 x float>, ptr %337, align 4
  %339 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %340 = load <2 x float>, ptr %339, align 4
  %341 = call i32 @nk_combo_begin(ptr noundef %333, ptr noundef %334, <2 x float> %336, i32 noundef %335, <2 x float> %338, <2 x float> %340)
  store i32 %341, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %342

342:                                              ; preds = %191, %66, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %343 = load i32, ptr %4, align 4
  ret i32 %343
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 16600}
!12 = !{!"nk_context", !13, i64 0, !18, i64 360, !35, i64 7904, !39, i64 8024, !10, i64 8048, !10, i64 8052, !40, i64 8056, !17, i64 10800, !48, i64 10808, !52, i64 11048, !56, i64 16432, !10, i64 16496, !10, i64 16500, !57, i64 16504, !6, i64 16576, !6, i64 16584, !6, i64 16592, !6, i64 16600, !6, i64 16608, !10, i64 16616, !10, i64 16620}
!13 = !{!"nk_input", !14, i64 0, !15, i64 260}
!14 = !{!"nk_keyboard", !7, i64 0, !7, i64 240, !10, i64 256}
!15 = !{!"nk_mouse", !7, i64 0, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !7, i64 96, !7, i64 97, !7, i64 98}
!16 = !{!"nk_vec2", !17, i64 0, !17, i64 4}
!17 = !{!"float", !7, i64 0}
!18 = !{!"nk_style", !6, i64 0, !7, i64 8, !6, i64 64, !6, i64 72, !10, i64 80, !19, i64 84, !21, i64 96, !21, i64 272, !21, i64 448, !23, i64 624, !23, i64 864, !24, i64 1104, !25, i64 1384, !26, i64 2024, !27, i64 2280, !28, i64 3592, !30, i64 4392, !29, i64 4456, !29, i64 5072, !31, i64 5688, !32, i64 6472, !33, i64 6824}
!19 = !{!"nk_style_text", !20, i64 0, !16, i64 4}
!20 = !{!"nk_color", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3}
!21 = !{!"nk_style_button", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !20, i64 100, !20, i64 104, !20, i64 108, !20, i64 112, !10, i64 116, !17, i64 120, !17, i64 124, !16, i64 128, !16, i64 136, !16, i64 144, !7, i64 152, !6, i64 160, !6, i64 168}
!22 = !{!"nk_style_item", !10, i64 0, !7, i64 8}
!23 = !{!"nk_style_toggle", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !22, i64 104, !22, i64 136, !20, i64 168, !20, i64 172, !20, i64 176, !20, i64 180, !10, i64 184, !16, i64 188, !16, i64 196, !17, i64 204, !17, i64 208, !7, i64 216, !6, i64 224, !6, i64 232}
!24 = !{!"nk_style_selectable", !22, i64 0, !22, i64 32, !22, i64 64, !22, i64 96, !22, i64 128, !22, i64 160, !20, i64 192, !20, i64 196, !20, i64 200, !20, i64 204, !20, i64 208, !20, i64 212, !20, i64 216, !10, i64 220, !17, i64 224, !16, i64 228, !16, i64 236, !16, i64 244, !7, i64 256, !6, i64 264, !6, i64 272}
!25 = !{!"nk_style_slider", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !20, i64 100, !20, i64 104, !20, i64 108, !20, i64 112, !22, i64 120, !22, i64 152, !22, i64 184, !17, i64 216, !17, i64 220, !17, i64 224, !16, i64 228, !16, i64 236, !16, i64 244, !10, i64 252, !21, i64 256, !21, i64 432, !10, i64 608, !10, i64 612, !7, i64 616, !6, i64 624, !6, i64 632}
!26 = !{!"nk_style_progress", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !22, i64 104, !22, i64 136, !22, i64 168, !20, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !16, i64 220, !7, i64 232, !6, i64 240, !6, i64 248}
!27 = !{!"nk_style_property", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !20, i64 100, !20, i64 104, !20, i64 108, !10, i64 112, !10, i64 116, !17, i64 120, !17, i64 124, !16, i64 128, !28, i64 136, !21, i64 936, !21, i64 1112, !7, i64 1288, !6, i64 1296, !6, i64 1304}
!28 = !{!"nk_style_edit", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !29, i64 104, !20, i64 720, !20, i64 724, !20, i64 728, !20, i64 732, !20, i64 736, !20, i64 740, !20, i64 744, !20, i64 748, !20, i64 752, !20, i64 756, !20, i64 760, !17, i64 764, !17, i64 768, !17, i64 772, !16, i64 776, !16, i64 784, !17, i64 792}
!29 = !{!"nk_style_scrollbar", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !22, i64 104, !22, i64 136, !22, i64 168, !20, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !16, i64 220, !10, i64 228, !21, i64 232, !21, i64 408, !10, i64 584, !10, i64 588, !7, i64 592, !6, i64 600, !6, i64 608}
!30 = !{!"nk_style_chart", !22, i64 0, !20, i64 32, !20, i64 36, !20, i64 40, !17, i64 44, !17, i64 48, !16, i64 52}
!31 = !{!"nk_style_tab", !22, i64 0, !20, i64 32, !20, i64 36, !21, i64 40, !21, i64 216, !21, i64 392, !21, i64 568, !10, i64 744, !10, i64 748, !17, i64 752, !17, i64 756, !17, i64 760, !16, i64 764, !16, i64 772}
!32 = !{!"nk_style_combo", !22, i64 0, !22, i64 32, !22, i64 64, !20, i64 96, !20, i64 100, !20, i64 104, !20, i64 108, !20, i64 112, !20, i64 116, !20, i64 120, !21, i64 128, !10, i64 304, !10, i64 308, !10, i64 312, !17, i64 316, !17, i64 320, !16, i64 324, !16, i64 332, !16, i64 340}
!33 = !{!"nk_style_window", !34, i64 0, !22, i64 504, !20, i64 536, !20, i64 540, !20, i64 544, !20, i64 548, !20, i64 552, !20, i64 556, !20, i64 560, !20, i64 564, !22, i64 568, !17, i64 600, !17, i64 604, !17, i64 608, !17, i64 612, !17, i64 616, !17, i64 620, !17, i64 624, !17, i64 628, !17, i64 632, !16, i64 636, !16, i64 644, !16, i64 652, !16, i64 660, !16, i64 668, !16, i64 676, !16, i64 684, !16, i64 692, !16, i64 700, !16, i64 708}
!34 = !{!"nk_style_window_header", !22, i64 0, !22, i64 32, !22, i64 64, !21, i64 96, !21, i64 272, !10, i64 448, !10, i64 452, !10, i64 456, !20, i64 460, !20, i64 464, !20, i64 468, !10, i64 472, !16, i64 476, !16, i64 484, !16, i64 492}
!35 = !{!"nk_buffer", !7, i64 0, !36, i64 32, !10, i64 56, !37, i64 64, !17, i64 80, !38, i64 88, !38, i64 96, !38, i64 104, !38, i64 112}
!36 = !{!"nk_allocator", !7, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"nk_memory", !6, i64 0, !38, i64 8}
!38 = !{!"long", !7, i64 0}
!39 = !{!"nk_clipboard", !7, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!"nk_configuration_stacks", !41, i64 0, !42, i64 648, !43, i64 1168, !44, i64 1432, !45, i64 1952, !46, i64 2472, !47, i64 2608}
!41 = !{!"nk_config_stack_style_item", !10, i64 0, !7, i64 8}
!42 = !{!"nk_config_stack_float", !10, i64 0, !7, i64 8}
!43 = !{!"nk_config_stack_vec2", !10, i64 0, !7, i64 8}
!44 = !{!"nk_config_stack_flags", !10, i64 0, !7, i64 8}
!45 = !{!"nk_config_stack_color", !10, i64 0, !7, i64 8}
!46 = !{!"nk_config_stack_user_font", !10, i64 0, !7, i64 8}
!47 = !{!"nk_config_stack_button_behavior", !10, i64 0, !7, i64 8}
!48 = !{!"nk_draw_list", !49, i64 0, !7, i64 16, !50, i64 112, !6, i64 176, !6, i64 184, !6, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !38, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236}
!49 = !{!"nk_rect", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!50 = !{!"nk_convert_config", !17, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !51, i64 24, !6, i64 40, !38, i64 48, !38, i64 56}
!51 = !{!"nk_draw_null_texture", !7, i64 0, !16, i64 8}
!52 = !{!"nk_text_edit", !39, i64 0, !53, i64 24, !6, i64 152, !16, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !7, i64 180, !7, i64 181, !7, i64 182, !7, i64 183, !7, i64 184, !7, i64 185, !7, i64 186, !17, i64 188, !54, i64 192}
!53 = !{!"nk_str", !35, i64 0, !10, i64 120}
!54 = !{!"nk_text_undo_state", !7, i64 0, !7, i64 1188, !55, i64 5184, !55, i64 5186, !55, i64 5188, !55, i64 5190}
!55 = !{!"short", !7, i64 0}
!56 = !{!"nk_command_buffer", !6, i64 0, !49, i64 8, !10, i64 24, !7, i64 32, !38, i64 40, !38, i64 48, !38, i64 56}
!57 = !{!"nk_pool", !36, i64 0, !10, i64 24, !10, i64 28, !6, i64 32, !6, i64 40, !10, i64 48, !38, i64 56, !38, i64 64}
!58 = !{!59, !6, i64 168}
!59 = !{!"nk_window", !10, i64 0, !10, i64 4, !7, i64 8, !10, i64 72, !49, i64 76, !60, i64 92, !56, i64 104, !6, i64 168, !17, i64 176, !61, i64 180, !62, i64 288, !64, i64 384, !10, i64 428, !6, i64 432, !10, i64 440, !6, i64 448, !6, i64 456, !6, i64 464}
!60 = !{!"nk_scroll", !10, i64 0, !10, i64 4}
!61 = !{!"nk_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}
!62 = !{!"nk_popup_state", !6, i64 0, !10, i64 8, !63, i64 16, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !49, i64 80}
!63 = !{!"nk_popup_buffer", !38, i64 0, !38, i64 8, !38, i64 16, !38, i64 24, !10, i64 32}
!64 = !{!"nk_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, !60, i64 32, !7, i64 40, !7, i64 41}
!65 = !{!66, !10, i64 4}
!66 = !{!"nk_panel", !10, i64 0, !10, i64 4, !49, i64 8, !6, i64 24, !6, i64 32, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !10, i64 64, !49, i64 68, !67, i64 84, !68, i64 112, !69, i64 248, !6, i64 432, !6, i64 440}
!67 = !{!"nk_menu_state", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !60, i64 16}
!68 = !{!"nk_row_layout", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 12, !10, i64 16, !6, i64 24, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !49, i64 48, !10, i64 64, !7, i64 68}
!69 = !{!"nk_chart", !10, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !7, i64 20}
!70 = !{!12, !10, i64 8048}
!71 = !{!22, !10, i64 0}
!72 = !{!18, !17, i64 6792}
!73 = !{!18, !17, i64 6788}
!74 = !{!18, !10, i64 6780}
!75 = !{!18, !10, i64 6784}
!76 = !{!18, !10, i64 6776}
!77 = !{!49, !17, i64 12}
!78 = !{!18, !17, i64 6808}
!79 = !{!49, !17, i64 8}
!80 = !{!49, !17, i64 0}
!81 = !{!18, !17, i64 6804}
!82 = !{!49, !17, i64 4}
!83 = !{!18, !17, i64 6728}
!84 = !{!18, !17, i64 6732}
!85 = !{!18, !17, i64 6800}
!86 = !{!18, !17, i64 6796}
!87 = !{!18, !17, i64 6812}
!88 = !{!18, !6, i64 0}


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

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

@.str.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [21 x i8], align 1
@nk_white = external hidden local_unnamed_addr constant %struct.nk_color, align 1
@__PRETTY_FUNCTION__.nk_combo_begin_color = external hidden unnamed_addr constant [79 x i8], align 1

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @nk_combo_begin_color(ptr noundef %0, i32 %1, <2 x float> %2) local_unnamed_addr #3 {
  %4 = alloca %struct.nk_rect, align 8
  %5 = alloca %struct.nk_rect, align 4
  %6 = alloca %struct.nk_rect, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %.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.33, ptr noundef nonnull @.str.2, i32 noundef 24692, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_color) #7
  unreachable

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

11:                                               ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.79, ptr noundef nonnull @.str.2, i32 noundef 24693, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_color) #7
  unreachable

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

15:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.80, ptr noundef nonnull @.str.2, i32 noundef 24694, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_combo_begin_color) #7
  unreachable

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %0, i64 360
  %18 = call i32 @nk_widget(ptr noundef nonnull %4, ptr noundef nonnull %0)
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %112, label %20

20:                                               ; preds = %16
  %21 = load ptr, ptr %13, align 8, !tbaa !56
  %22 = getelementptr inbounds i8, ptr %21, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !63
  %24 = and i32 %23, 4096
  %25 = icmp ne i32 %24, 0
  %26 = icmp eq i32 %18, 2
  %or.cond = or i1 %26, %25
  %27 = select i1 %or.cond, ptr null, ptr %0
  %28 = getelementptr inbounds i8, ptr %0, i64 8048
  %29 = load <2 x float>, ptr %4, align 8
  %30 = getelementptr inbounds i8, ptr %4, i64 8
  %31 = load <2 x float>, ptr %30, align 8
  %32 = call i32 @nk_button_behavior(ptr noundef nonnull %28, <2 x float> %29, <2 x float> %31, ptr noundef %27, i32 noundef 0)
  %.not70 = icmp ne i32 %32, 0
  %spec.select = zext i1 %.not70 to i32
  %33 = load i32, ptr %28, align 8, !tbaa !68
  %34 = and i32 %33, 32
  %.not71 = icmp eq i32 %34, 0
  %35 = and i32 %33, 16
  %.not72 = icmp eq i32 %35, 0
  %. = select i1 %.not72, i64 6832, i64 6864
  %.sink = select i1 %.not71, i64 %., i64 6896
  %36 = getelementptr inbounds i8, ptr %0, i64 %.sink
  %37 = load i32, ptr %36, align 8, !tbaa !69
  %38 = icmp eq i32 %37, 1
  %39 = getelementptr inbounds i8, ptr %10, i64 104
  br i1 %38, label %40, label %45

40:                                               ; preds = %20
  %41 = getelementptr inbounds i8, ptr %36, i64 8
  %42 = load <2 x float>, ptr %4, align 8
  %43 = load <2 x float>, ptr %30, align 8
  %44 = load i32, ptr @nk_white, align 1
  call void @nk_draw_image(ptr noundef nonnull %39, <2 x float> %42, <2 x float> %43, ptr noundef nonnull %41, i32 %44)
  br label %59

45:                                               ; preds = %20
  %46 = getelementptr inbounds i8, ptr %0, i64 7152
  %47 = load float, ptr %46, align 8, !tbaa !70
  %48 = getelementptr inbounds i8, ptr %36, i64 8
  %49 = load <2 x float>, ptr %4, align 8
  %50 = load <2 x float>, ptr %30, align 8
  %51 = load i32, ptr %48, align 8
  call void @nk_fill_rect(ptr noundef nonnull %39, <2 x float> %49, <2 x float> %50, float noundef %47, i32 %51)
  %52 = load float, ptr %46, align 8, !tbaa !70
  %53 = getelementptr inbounds i8, ptr %0, i64 7148
  %54 = load float, ptr %53, align 4, !tbaa !71
  %55 = getelementptr inbounds i8, ptr %0, i64 6928
  %56 = load <2 x float>, ptr %4, align 8
  %57 = load <2 x float>, ptr %30, align 8
  %58 = load i32, ptr %55, align 8
  call void @nk_stroke_rect(ptr noundef nonnull %39, <2 x float> %56, <2 x float> %57, float noundef %52, float noundef %54, i32 %58)
  br label %59

59:                                               ; preds = %45, %40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %60 = load i32, ptr %28, align 8, !tbaa !68
  %61 = and i32 %60, 16
  %.not73 = icmp eq i32 %61, 0
  %.76 = select i1 %.not70, i64 7144, i64 7136
  %.sink75 = select i1 %.not73, i64 %.76, i64 7140
  %62 = getelementptr inbounds i8, ptr %0, i64 %.sink75
  %.0 = load i32, ptr %62, align 4, !tbaa !72
  %63 = getelementptr inbounds i8, ptr %4, i64 12
  %64 = load float, ptr %63, align 4, !tbaa !73
  %65 = getelementptr inbounds i8, ptr %0, i64 7164
  %66 = getelementptr inbounds i8, ptr %0, i64 7168
  %67 = load float, ptr %66, align 4, !tbaa !74
  %68 = call float @llvm.fmuladd.f32(float %67, float -2.000000e+00, float %64)
  %69 = getelementptr inbounds i8, ptr %6, i64 8
  store float %68, ptr %69, align 4, !tbaa !75
  %70 = load float, ptr %30, align 8, !tbaa !75
  %71 = load float, ptr %65, align 4, !tbaa !76
  %72 = getelementptr inbounds i8, ptr %6, i64 4
  %73 = getelementptr inbounds i8, ptr %6, i64 12
  store float %68, ptr %73, align 4, !tbaa !73
  %74 = getelementptr inbounds i8, ptr %0, i64 6960
  %75 = getelementptr inbounds i8, ptr %0, i64 7088
  %76 = getelementptr inbounds i8, ptr %5, i64 4
  %77 = getelementptr inbounds i8, ptr %5, i64 8
  %78 = load <2 x float>, ptr %75, align 8, !tbaa !77
  %79 = extractelement <2 x float> %78, i64 0
  %80 = extractelement <2 x float> %78, i64 1
  %81 = insertelement <2 x float> poison, float %68, i64 0
  %82 = shufflevector <2 x float> %81, <2 x float> poison, <2 x i32> zeroinitializer
  %83 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %78, <2 x float> <float -2.000000e+00, float -2.000000e+00>, <2 x float> %82)
  store <2 x float> %83, ptr %77, align 4, !tbaa !77
  %84 = getelementptr inbounds i8, ptr %0, i64 7156
  %85 = load <2 x float>, ptr %4, align 8, !tbaa !77
  %86 = extractelement <2 x float> %85, i64 0
  %87 = fadd float %86, %70
  %88 = fsub float %87, %64
  %89 = fsub float %88, %71
  store float %89, ptr %6, align 4, !tbaa !78
  %90 = extractelement <2 x float> %85, i64 1
  %91 = fadd float %67, %90
  store float %91, ptr %72, align 4, !tbaa !79
  %92 = fadd float %89, %79
  store float %92, ptr %5, align 4, !tbaa !78
  %93 = fadd float %91, %80
  store float %93, ptr %76, align 4, !tbaa !79
  %94 = load <2 x float>, ptr %84, align 4, !tbaa !77
  %95 = extractelement <2 x float> %94, i64 1
  %96 = call float @llvm.fmuladd.f32(float %95, float -4.000000e+00, float %64)
  %97 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %94, <2 x float> <float 2.000000e+00, float 2.000000e+00>, <2 x float> %85)
  %98 = getelementptr inbounds i8, ptr %0, i64 7172
  %99 = load float, ptr %98, align 4, !tbaa !80
  %100 = extractelement <2 x float> %94, i64 0
  %101 = fadd float %100, %99
  %102 = fsub float %89, %101
  %103 = extractelement <2 x float> %97, i64 0
  %104 = fsub float %102, %103
  %105 = insertelement <2 x float> poison, float %104, i64 0
  %.sroa.6.8.vec.insert = insertelement <2 x float> %105, float %96, i64 1
  %106 = getelementptr inbounds i8, ptr %10, i64 104
  call void @nk_fill_rect(ptr noundef nonnull %106, <2 x float> %97, <2 x float> %.sroa.6.8.vec.insert, float noundef 0.000000e+00, i32 %1)
  %107 = load i32, ptr %28, align 8, !tbaa !68
  %108 = load ptr, ptr %17, align 8, !tbaa !81
  call void @nk_draw_button_symbol(ptr noundef nonnull %106, ptr noundef nonnull %6, ptr noundef nonnull %5, i32 noundef %107, ptr noundef nonnull %74, i32 noundef %.0, ptr noundef %108)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  %109 = load <2 x float>, ptr %4, align 8
  %110 = load <2 x float>, ptr %30, align 8
  %111 = call i32 @nk_combo_begin(ptr noundef nonnull %0, ptr noundef nonnull %10, <2 x float> %2, i32 noundef %spec.select, <2 x float> %109, <2 x float> %110)
  br label %112

112:                                              ; preds = %16, %59
  %.063 = phi i32 [ %111, %59 ], [ 0, %16 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  ret i32 %.063
}

; 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>) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !16, i64 16600}
!6 = !{!"nk_context", !7, i64 0, !15, i64 360, !33, i64 7904, !37, i64 8024, !11, i64 8048, !11, i64 8052, !38, i64 8056, !14, i64 10800, !46, i64 10808, !50, i64 11048, !54, i64 16432, !11, i64 16496, !11, i64 16500, !55, i64 16504, !16, i64 16576, !16, i64 16584, !16, i64 16592, !16, i64 16600, !16, i64 16608, !11, i64 16616, !11, i64 16620}
!7 = !{!"nk_input", !8, i64 0, !12, i64 260}
!8 = !{!"nk_keyboard", !9, i64 0, !9, i64 240, !11, i64 256}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"nk_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 = !{!"nk_vec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !9, i64 0}
!15 = !{!"nk_style", !16, i64 0, !9, i64 8, !16, i64 64, !16, i64 72, !11, i64 80, !17, i64 84, !19, i64 96, !19, i64 272, !19, i64 448, !21, i64 624, !21, i64 864, !22, i64 1104, !23, i64 1384, !24, i64 2024, !25, i64 2280, !26, i64 3592, !28, i64 4392, !27, i64 4456, !27, i64 5072, !29, i64 5688, !30, i64 6472, !31, i64 6824}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!"nk_style_text", !18, i64 0, !13, i64 4}
!18 = !{!"nk_color", !9, i64 0, !9, i64 1, !9, i64 2, !9, i64 3}
!19 = !{!"nk_style_button", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !11, i64 116, !14, i64 120, !14, i64 124, !13, i64 128, !13, i64 136, !13, i64 144, !9, i64 152, !16, i64 160, !16, i64 168}
!20 = !{!"nk_style_item", !11, i64 0, !9, i64 8}
!21 = !{!"nk_style_toggle", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !20, i64 104, !20, i64 136, !18, i64 168, !18, i64 172, !18, i64 176, !18, i64 180, !11, i64 184, !13, i64 188, !13, i64 196, !14, i64 204, !14, i64 208, !9, i64 216, !16, i64 224, !16, i64 232}
!22 = !{!"nk_style_selectable", !20, i64 0, !20, i64 32, !20, i64 64, !20, i64 96, !20, i64 128, !20, i64 160, !18, i64 192, !18, i64 196, !18, i64 200, !18, i64 204, !18, i64 208, !18, i64 212, !18, i64 216, !11, i64 220, !14, i64 224, !13, i64 228, !13, i64 236, !13, i64 244, !9, i64 256, !16, i64 264, !16, i64 272}
!23 = !{!"nk_style_slider", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !20, i64 120, !20, i64 152, !20, i64 184, !14, i64 216, !14, i64 220, !14, i64 224, !13, i64 228, !13, i64 236, !13, i64 244, !11, i64 252, !19, i64 256, !19, i64 432, !11, i64 608, !11, i64 612, !9, i64 616, !16, i64 624, !16, i64 632}
!24 = !{!"nk_style_progress", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !20, i64 104, !20, i64 136, !20, i64 168, !18, i64 200, !14, i64 204, !14, i64 208, !14, i64 212, !14, i64 216, !13, i64 220, !9, i64 232, !16, i64 240, !16, i64 248}
!25 = !{!"nk_style_property", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !14, i64 124, !13, i64 128, !26, i64 136, !19, i64 936, !19, i64 1112, !9, i64 1288, !16, i64 1296, !16, i64 1304}
!26 = !{!"nk_style_edit", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !27, i64 104, !18, i64 720, !18, i64 724, !18, i64 728, !18, i64 732, !18, i64 736, !18, i64 740, !18, i64 744, !18, i64 748, !18, i64 752, !18, i64 756, !18, i64 760, !14, i64 764, !14, i64 768, !14, i64 772, !13, i64 776, !13, i64 784, !14, i64 792}
!27 = !{!"nk_style_scrollbar", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !20, i64 104, !20, i64 136, !20, i64 168, !18, i64 200, !14, i64 204, !14, i64 208, !14, i64 212, !14, i64 216, !13, i64 220, !11, i64 228, !19, i64 232, !19, i64 408, !11, i64 584, !11, i64 588, !9, i64 592, !16, i64 600, !16, i64 608}
!28 = !{!"nk_style_chart", !20, i64 0, !18, i64 32, !18, i64 36, !18, i64 40, !14, i64 44, !14, i64 48, !13, i64 52}
!29 = !{!"nk_style_tab", !20, i64 0, !18, i64 32, !18, i64 36, !19, i64 40, !19, i64 216, !19, i64 392, !19, i64 568, !11, i64 744, !11, i64 748, !14, i64 752, !14, i64 756, !14, i64 760, !13, i64 764, !13, i64 772}
!30 = !{!"nk_style_combo", !20, i64 0, !20, i64 32, !20, i64 64, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !19, i64 128, !11, i64 304, !11, i64 308, !11, i64 312, !14, i64 316, !14, i64 320, !13, i64 324, !13, i64 332, !13, i64 340}
!31 = !{!"nk_style_window", !32, i64 0, !20, i64 504, !18, i64 536, !18, i64 540, !18, i64 544, !18, i64 548, !18, i64 552, !18, i64 556, !18, i64 560, !18, i64 564, !20, i64 568, !14, i64 600, !14, i64 604, !14, i64 608, !14, i64 612, !14, i64 616, !14, i64 620, !14, i64 624, !14, i64 628, !14, i64 632, !13, i64 636, !13, i64 644, !13, i64 652, !13, i64 660, !13, i64 668, !13, i64 676, !13, i64 684, !13, i64 692, !13, i64 700, !13, i64 708}
!32 = !{!"nk_style_window_header", !20, i64 0, !20, i64 32, !20, i64 64, !19, i64 96, !19, i64 272, !11, i64 448, !11, i64 452, !11, i64 456, !18, i64 460, !18, i64 464, !18, i64 468, !11, i64 472, !13, i64 476, !13, i64 484, !13, i64 492}
!33 = !{!"nk_buffer", !9, i64 0, !34, i64 32, !11, i64 56, !35, i64 64, !14, i64 80, !36, i64 88, !36, i64 96, !36, i64 104, !36, i64 112}
!34 = !{!"nk_allocator", !9, i64 0, !16, i64 8, !16, i64 16}
!35 = !{!"nk_memory", !16, i64 0, !36, i64 8}
!36 = !{!"long", !9, i64 0}
!37 = !{!"nk_clipboard", !9, i64 0, !16, i64 8, !16, i64 16}
!38 = !{!"nk_configuration_stacks", !39, i64 0, !40, i64 648, !41, i64 1168, !42, i64 1432, !43, i64 1952, !44, i64 2472, !45, i64 2608}
!39 = !{!"nk_config_stack_style_item", !11, i64 0, !9, i64 8}
!40 = !{!"nk_config_stack_float", !11, i64 0, !9, i64 8}
!41 = !{!"nk_config_stack_vec2", !11, i64 0, !9, i64 8}
!42 = !{!"nk_config_stack_flags", !11, i64 0, !9, i64 8}
!43 = !{!"nk_config_stack_color", !11, i64 0, !9, i64 8}
!44 = !{!"nk_config_stack_user_font", !11, i64 0, !9, i64 8}
!45 = !{!"nk_config_stack_button_behavior", !11, i64 0, !9, i64 8}
!46 = !{!"nk_draw_list", !47, i64 0, !9, i64 16, !48, i64 112, !16, i64 176, !16, i64 184, !16, i64 192, !11, i64 200, !11, i64 204, !11, i64 208, !36, i64 216, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236}
!47 = !{!"nk_rect", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!48 = !{!"nk_convert_config", !14, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !49, i64 24, !16, i64 40, !36, i64 48, !36, i64 56}
!49 = !{!"nk_draw_null_texture", !9, i64 0, !13, i64 8}
!50 = !{!"nk_text_edit", !37, i64 0, !51, 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, !52, i64 192}
!51 = !{!"nk_str", !33, i64 0, !11, i64 120}
!52 = !{!"nk_text_undo_state", !9, i64 0, !9, i64 1188, !53, i64 5184, !53, i64 5186, !53, i64 5188, !53, i64 5190}
!53 = !{!"short", !9, i64 0}
!54 = !{!"nk_command_buffer", !16, i64 0, !47, i64 8, !11, i64 24, !9, i64 32, !36, i64 40, !36, i64 48, !36, i64 56}
!55 = !{!"nk_pool", !34, i64 0, !11, i64 24, !11, i64 28, !16, i64 32, !16, i64 40, !11, i64 48, !36, i64 56, !36, i64 64}
!56 = !{!57, !16, i64 168}
!57 = !{!"nk_window", !11, i64 0, !11, i64 4, !9, i64 8, !11, i64 72, !47, i64 76, !58, i64 92, !54, i64 104, !16, i64 168, !14, i64 176, !59, i64 180, !60, i64 288, !62, i64 384, !11, i64 428, !16, i64 432, !11, i64 440, !16, i64 448, !16, i64 456, !16, i64 464}
!58 = !{!"nk_scroll", !11, i64 0, !11, i64 4}
!59 = !{!"nk_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}
!60 = !{!"nk_popup_state", !16, i64 0, !11, i64 8, !61, i64 16, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !47, i64 80}
!61 = !{!"nk_popup_buffer", !36, i64 0, !36, i64 8, !36, i64 16, !36, i64 24, !11, i64 32}
!62 = !{!"nk_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, !58, i64 32, !9, i64 40, !9, i64 41}
!63 = !{!64, !11, i64 4}
!64 = !{!"nk_panel", !11, i64 0, !11, i64 4, !47, 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, !47, i64 68, !65, i64 84, !66, i64 112, !67, i64 248, !16, i64 432, !16, i64 440}
!65 = !{!"nk_menu_state", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !58, i64 16}
!66 = !{!"nk_row_layout", !11, 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, !47, i64 48, !11, i64 64, !9, i64 68}
!67 = !{!"nk_chart", !11, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !9, i64 20}
!68 = !{!6, !11, i64 8048}
!69 = !{!20, !11, i64 0}
!70 = !{!15, !14, i64 6792}
!71 = !{!15, !14, i64 6788}
!72 = !{!11, !11, i64 0}
!73 = !{!47, !14, i64 12}
!74 = !{!15, !14, i64 6808}
!75 = !{!47, !14, i64 8}
!76 = !{!15, !14, i64 6804}
!77 = !{!14, !14, i64 0}
!78 = !{!47, !14, i64 0}
!79 = !{!47, !14, i64 4}
!80 = !{!15, !14, i64 6812}
!81 = !{!15, !16, i64 0}


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