; 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_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_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_rect = type { float, float, float, float }
%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
@.str.93 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__.nk_layout_row_template_end = external hidden unnamed_addr constant [53 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: nounwind uwtable
define dso_local void @nk_layout_row_template_end(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store float 0.000000e+00, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store float 0.000000e+00, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store float 0.000000e+00, ptr %10, align 4, !tbaa !11
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %1
  br label %21

20:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 17943, ptr noundef @__PRETTY_FUNCTION__.nk_layout_row_template_end) #5
  unreachable

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

26:                                               ; preds = %21
  br label %28

27:                                               ; preds = %21
  call void @__assert_fail(ptr noundef @.str.79, ptr noundef @.str.2, i32 noundef 17944, ptr noundef @__PRETTY_FUNCTION__.nk_layout_row_template_end) #5
  unreachable

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

35:                                               ; preds = %28
  br label %37

36:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.80, ptr noundef @.str.2, i32 noundef 17945, ptr noundef @__PRETTY_FUNCTION__.nk_layout_row_template_end) #5
  unreachable

37:                                               ; preds = %35
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %40, label %52

40:                                               ; preds = %37
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.nk_context, ptr %41, i32 0, i32 17
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %52

45:                                               ; preds = %40
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.nk_context, ptr %46, i32 0, i32 17
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = getelementptr inbounds %struct.nk_window, ptr %48, i32 0, i32 7
  %50 = load ptr, ptr %49, align 8, !tbaa !59
  %51 = icmp ne ptr %50, null
  br i1 %51, label %53, label %52

52:                                               ; preds = %45, %40, %37
  store i32 1, ptr %11, align 4
  br label %226

53:                                               ; preds = %45
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.nk_context, ptr %54, i32 0, i32 17
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  store ptr %56, ptr %3, align 8, !tbaa !5
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.nk_window, ptr %57, i32 0, i32 7
  %59 = load ptr, ptr %58, align 8, !tbaa !59
  store ptr %59, ptr %4, align 8, !tbaa !5
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.nk_panel, ptr %60, i32 0, i32 14
  %62 = getelementptr inbounds %struct.nk_row_layout, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !66
  %64 = icmp eq i32 %63, 8
  br i1 %64, label %65, label %66

65:                                               ; preds = %53
  br label %67

66:                                               ; preds = %53
  call void @__assert_fail(ptr noundef @.str.93, ptr noundef @.str.2, i32 noundef 17951, ptr noundef @__PRETTY_FUNCTION__.nk_layout_row_template_end) #5
  unreachable

67:                                               ; preds = %65
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.nk_panel, ptr %68, i32 0, i32 14
  %70 = getelementptr inbounds %struct.nk_row_layout, ptr %69, i32 0, i32 0
  %71 = load i32, ptr %70, align 8, !tbaa !66
  %72 = icmp ne i32 %71, 8
  br i1 %72, label %73, label %74

73:                                               ; preds = %67
  store i32 1, ptr %11, align 4
  br label %226

74:                                               ; preds = %67
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %126, %74
  %76 = load i32, ptr %5, align 4, !tbaa !9
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.nk_panel, ptr %77, i32 0, i32 14
  %79 = getelementptr inbounds %struct.nk_row_layout, ptr %78, i32 0, i32 4
  %80 = load i32, ptr %79, align 8, !tbaa !71
  %81 = icmp slt i32 %76, %80
  br i1 %81, label %82, label %129

82:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.nk_panel, ptr %83, i32 0, i32 14
  %85 = getelementptr inbounds %struct.nk_row_layout, ptr %84, i32 0, i32 12
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [16 x float], ptr %85, i64 0, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !11
  store float %89, ptr %12, align 4, !tbaa !11
  %90 = load float, ptr %12, align 4, !tbaa !11
  %91 = fcmp oge float %90, 0.000000e+00
  br i1 %91, label %92, label %99

92:                                               ; preds = %82
  %93 = load float, ptr %12, align 4, !tbaa !11
  %94 = load float, ptr %9, align 4, !tbaa !11
  %95 = fadd float %94, %93
  store float %95, ptr %9, align 4, !tbaa !11
  %96 = load float, ptr %12, align 4, !tbaa !11
  %97 = load float, ptr %8, align 4, !tbaa !11
  %98 = fadd float %97, %96
  store float %98, ptr %8, align 4, !tbaa !11
  br label %125

99:                                               ; preds = %82
  %100 = load float, ptr %12, align 4, !tbaa !11
  %101 = fcmp olt float %100, -1.000000e+00
  br i1 %101, label %102, label %119

102:                                              ; preds = %99
  %103 = load float, ptr %12, align 4, !tbaa !11
  %104 = fneg float %103
  store float %104, ptr %12, align 4, !tbaa !11
  %105 = load float, ptr %12, align 4, !tbaa !11
  %106 = load float, ptr %9, align 4, !tbaa !11
  %107 = fadd float %106, %105
  store float %107, ptr %9, align 4, !tbaa !11
  %108 = load float, ptr %10, align 4, !tbaa !11
  %109 = load float, ptr %12, align 4, !tbaa !11
  %110 = fcmp olt float %108, %109
  br i1 %110, label %111, label %113

111:                                              ; preds = %102
  %112 = load float, ptr %12, align 4, !tbaa !11
  br label %115

113:                                              ; preds = %102
  %114 = load float, ptr %10, align 4, !tbaa !11
  br label %115

115:                                              ; preds = %113, %111
  %116 = phi float [ %112, %111 ], [ %114, %113 ]
  store float %116, ptr %10, align 4, !tbaa !11
  %117 = load i32, ptr %6, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %6, align 4, !tbaa !9
  br label %124

119:                                              ; preds = %99
  %120 = load i32, ptr %7, align 4, !tbaa !9
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %7, align 4, !tbaa !9
  %122 = load i32, ptr %6, align 4, !tbaa !9
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %6, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %119, %115
  br label %125

125:                                              ; preds = %124, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %5, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %5, align 4, !tbaa !9
  br label %75, !llvm.loop !72

129:                                              ; preds = %75
  %130 = load i32, ptr %6, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %225

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.nk_context, ptr %133, i32 0, i32 1
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.nk_panel, ptr %135, i32 0, i32 0
  %137 = load i32, ptr %136, align 8, !tbaa !74
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.nk_panel, ptr %138, i32 0, i32 2
  %140 = getelementptr inbounds %struct.nk_rect, ptr %139, i32 0, i32 2
  %141 = load float, ptr %140, align 8, !tbaa !75
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.nk_panel, ptr %142, i32 0, i32 14
  %144 = getelementptr inbounds %struct.nk_row_layout, ptr %143, i32 0, i32 4
  %145 = load i32, ptr %144, align 8, !tbaa !71
  %146 = call float @nk_layout_row_calculate_usable_space(ptr noundef %134, i32 noundef %137, float noundef %141, i32 noundef %145)
  store float %146, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %147 = load float, ptr %13, align 4, !tbaa !11
  %148 = load float, ptr %8, align 4, !tbaa !11
  %149 = fsub float %147, %148
  %150 = fcmp olt float %149, 0.000000e+00
  br i1 %150, label %151, label %152

151:                                              ; preds = %132
  br label %156

152:                                              ; preds = %132
  %153 = load float, ptr %13, align 4, !tbaa !11
  %154 = load float, ptr %8, align 4, !tbaa !11
  %155 = fsub float %153, %154
  br label %156

156:                                              ; preds = %152, %151
  %157 = phi float [ 0.000000e+00, %151 ], [ %155, %152 ]
  %158 = load i32, ptr %6, align 4, !tbaa !9
  %159 = sitofp i32 %158 to float
  %160 = fdiv float %157, %159
  store float %160, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %161 = load float, ptr %14, align 4, !tbaa !11
  %162 = load float, ptr %10, align 4, !tbaa !11
  %163 = fcmp oge float %161, %162
  %164 = zext i1 %163 to i32
  store i32 %164, ptr %15, align 4, !tbaa !9
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %182, label %167

167:                                              ; preds = %156
  %168 = load float, ptr %13, align 4, !tbaa !11
  %169 = load float, ptr %9, align 4, !tbaa !11
  %170 = fsub float %168, %169
  %171 = fcmp olt float %170, 0.000000e+00
  br i1 %171, label %172, label %173

172:                                              ; preds = %167
  br label %177

173:                                              ; preds = %167
  %174 = load float, ptr %13, align 4, !tbaa !11
  %175 = load float, ptr %9, align 4, !tbaa !11
  %176 = fsub float %174, %175
  br label %177

177:                                              ; preds = %173, %172
  %178 = phi float [ 0.000000e+00, %172 ], [ %176, %173 ]
  %179 = load i32, ptr %7, align 4, !tbaa !9
  %180 = sitofp i32 %179 to float
  %181 = fdiv float %178, %180
  store float %181, ptr %14, align 4, !tbaa !11
  br label %182

182:                                              ; preds = %177, %156
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %221, %182
  %184 = load i32, ptr %5, align 4, !tbaa !9
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.nk_panel, ptr %185, i32 0, i32 14
  %187 = getelementptr inbounds %struct.nk_row_layout, ptr %186, i32 0, i32 4
  %188 = load i32, ptr %187, align 8, !tbaa !71
  %189 = icmp slt i32 %184, %188
  br i1 %189, label %190, label %224

190:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.nk_panel, ptr %191, i32 0, i32 14
  %193 = getelementptr inbounds %struct.nk_row_layout, ptr %192, i32 0, i32 12
  %194 = load i32, ptr %5, align 4, !tbaa !9
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [16 x float], ptr %193, i64 0, i64 %195
  store ptr %196, ptr %16, align 8, !tbaa !5
  %197 = load ptr, ptr %16, align 8, !tbaa !5
  %198 = load float, ptr %197, align 4, !tbaa !11
  %199 = fcmp oge float %198, 0.000000e+00
  br i1 %199, label %200, label %203

200:                                              ; preds = %190
  %201 = load ptr, ptr %16, align 8, !tbaa !5
  %202 = load float, ptr %201, align 4, !tbaa !11
  br label %218

203:                                              ; preds = %190
  %204 = load ptr, ptr %16, align 8, !tbaa !5
  %205 = load float, ptr %204, align 4, !tbaa !11
  %206 = fcmp olt float %205, -1.000000e+00
  br i1 %206, label %207, label %214

207:                                              ; preds = %203
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %214, label %210

210:                                              ; preds = %207
  %211 = load ptr, ptr %16, align 8, !tbaa !5
  %212 = load float, ptr %211, align 4, !tbaa !11
  %213 = fneg float %212
  br label %216

214:                                              ; preds = %207, %203
  %215 = load float, ptr %14, align 4, !tbaa !11
  br label %216

216:                                              ; preds = %214, %210
  %217 = phi float [ %213, %210 ], [ %215, %214 ]
  br label %218

218:                                              ; preds = %216, %200
  %219 = phi float [ %202, %200 ], [ %217, %216 ]
  %220 = load ptr, ptr %16, align 8, !tbaa !5
  store float %219, ptr %220, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %221

221:                                              ; preds = %218
  %222 = load i32, ptr %5, align 4, !tbaa !9
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %5, align 4, !tbaa !9
  br label %183, !llvm.loop !76

224:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %225

225:                                              ; preds = %224, %129
  store i32 0, ptr %11, align 4
  br label %226

226:                                              ; preds = %225, %73, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %227 = load i32, ptr %11, align 4
  switch i32 %227, label %229 [
    i32 0, label %228
    i32 1, label %228
  ]

228:                                              ; preds = %226, %226
  ret void

229:                                              ; preds = %226
  unreachable
}

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

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


; 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"

@.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
@.str.93 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__.nk_layout_row_template_end = external hidden unnamed_addr constant [53 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local void @nk_layout_row_template_end(ptr noundef %0) local_unnamed_addr #1 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %2, label %3

2:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.2, i32 noundef 17943, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_layout_row_template_end) #3
  unreachable

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 16600
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %.not81 = icmp eq ptr %5, null
  br i1 %.not81, label %6, label %7

6:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.79, ptr noundef nonnull @.str.2, i32 noundef 17944, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_layout_row_template_end) #3
  unreachable

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %5, i64 168
  %9 = load ptr, ptr %8, align 8, !tbaa !56
  %.not82 = icmp eq ptr %9, null
  br i1 %.not82, label %10, label %11

10:                                               ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.80, ptr noundef nonnull @.str.2, i32 noundef 17945, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_layout_row_template_end) #3
  unreachable

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %9, i64 112
  %13 = load i32, ptr %12, align 8, !tbaa !63
  %14 = icmp eq i32 %13, 8
  br i1 %14, label %.preheader, label %19

.preheader:                                       ; preds = %11
  %15 = getelementptr inbounds i8, ptr %9, i64 128
  %16 = load i32, ptr %15, align 8, !tbaa !68
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader
  %18 = getelementptr inbounds i8, ptr %9, i64 180
  %wide.trip.count = zext nneg i32 %16 to i64
  br label %20

19:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.93, ptr noundef nonnull @.str.2, i32 noundef 17951, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_layout_row_template_end) #3
  unreachable

20:                                               ; preds = %.lr.ph, %38
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %38 ]
  %.06189 = phi i32 [ 0, %.lr.ph ], [ %.162, %38 ]
  %.06488 = phi i32 [ 0, %.lr.ph ], [ %.165, %38 ]
  %.06687 = phi float [ 0.000000e+00, %.lr.ph ], [ %.167, %38 ]
  %.06886 = phi float [ 0.000000e+00, %.lr.ph ], [ %.169, %38 ]
  %.07085 = phi float [ 0.000000e+00, %.lr.ph ], [ %.171, %38 ]
  %21 = getelementptr inbounds [16 x float], ptr %18, i64 0, i64 %indvars.iv
  %22 = load float, ptr %21, align 4, !tbaa !69
  %23 = fcmp ult float %22, 0.000000e+00
  br i1 %23, label %27, label %24

24:                                               ; preds = %20
  %25 = fadd float %.06886, %22
  %26 = fadd float %.07085, %22
  br label %38

27:                                               ; preds = %20
  %28 = fcmp olt float %22, -1.000000e+00
  br i1 %28, label %29, label %35

29:                                               ; preds = %27
  %30 = fneg float %22
  %31 = fsub float %.06886, %22
  %32 = fcmp olt float %.06687, %30
  %33 = select i1 %32, float %30, float %.06687
  %34 = add nsw i32 %.06189, 1
  br label %38

35:                                               ; preds = %27
  %36 = add nsw i32 %.06488, 1
  %37 = add nsw i32 %.06189, 1
  br label %38

38:                                               ; preds = %29, %35, %24
  %.171 = phi float [ %26, %24 ], [ %.07085, %29 ], [ %.07085, %35 ]
  %.169 = phi float [ %25, %24 ], [ %31, %29 ], [ %.06886, %35 ]
  %.167 = phi float [ %.06687, %24 ], [ %33, %29 ], [ %.06687, %35 ]
  %.165 = phi i32 [ %.06488, %24 ], [ %.06488, %29 ], [ %36, %35 ]
  %.162 = phi i32 [ %.06189, %24 ], [ %34, %29 ], [ %37, %35 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %20, !llvm.loop !70

._crit_edge:                                      ; preds = %38
  %39 = sitofp i32 %.165 to float
  %.not83 = icmp eq i32 %.162, 0
  br i1 %.not83, label %.loopexit, label %40

40:                                               ; preds = %._crit_edge
  %41 = getelementptr inbounds i8, ptr %0, i64 360
  %42 = load i32, ptr %9, align 8, !tbaa !72
  %43 = getelementptr inbounds i8, ptr %9, i64 16
  %44 = load float, ptr %43, align 8, !tbaa !73
  %45 = tail call float @nk_layout_row_calculate_usable_space(ptr noundef nonnull %41, i32 noundef %42, float noundef %44, i32 noundef %16)
  %46 = fsub float %45, %.171
  %47 = fcmp olt float %46, 0.000000e+00
  %48 = select i1 %47, float 0.000000e+00, float %46
  %49 = sitofp i32 %.162 to float
  %50 = fdiv float %48, %49
  %51 = fcmp ult float %50, %.167
  br i1 %51, label %.thread, label %52

52:                                               ; preds = %40
  %53 = load i32, ptr %15, align 8, !tbaa !68
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %.lr.ph98.split.us.preheader, label %.loopexit

.thread:                                          ; preds = %40
  %55 = fsub float %45, %.169
  %56 = fcmp olt float %55, 0.000000e+00
  %57 = select i1 %56, float 0.000000e+00, float %55
  %58 = fdiv float %57, %39
  %59 = load i32, ptr %15, align 8, !tbaa !68
  %60 = icmp sgt i32 %59, 0
  br i1 %60, label %.lr.ph98.split.preheader, label %.loopexit

.lr.ph98.split.preheader:                         ; preds = %.thread
  %61 = getelementptr inbounds i8, ptr %9, i64 180
  %wide.trip.count104 = zext nneg i32 %59 to i64
  %min.iters.check126 = icmp ult i32 %59, 8
  br i1 %min.iters.check126, label %.lr.ph98.split.preheader142, label %vector.ph127

.lr.ph98.split.preheader142:                      ; preds = %middle.block124, %.lr.ph98.split.preheader
  %indvars.iv101.ph = phi i64 [ 0, %.lr.ph98.split.preheader ], [ %n.vec129, %middle.block124 ]
  br label %.lr.ph98.split

vector.ph127:                                     ; preds = %.lr.ph98.split.preheader
  %n.vec129 = and i64 %wide.trip.count104, 2147483640
  %broadcast.splatinsert136 = insertelement <4 x float> poison, float %58, i64 0
  %broadcast.splat137 = shufflevector <4 x float> %broadcast.splatinsert136, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body131

vector.body131:                                   ; preds = %vector.body131, %vector.ph127
  %index132 = phi i64 [ 0, %vector.ph127 ], [ %index.next140, %vector.body131 ]
  %62 = getelementptr inbounds [16 x float], ptr %61, i64 0, i64 %index132
  %63 = getelementptr inbounds i8, ptr %62, i64 16
  %wide.load133 = load <4 x float>, ptr %62, align 4, !tbaa !69
  %wide.load134 = load <4 x float>, ptr %63, align 4, !tbaa !69
  %64 = fcmp ult <4 x float> %wide.load133, zeroinitializer
  %65 = fcmp ult <4 x float> %wide.load134, zeroinitializer
  %66 = fcmp uge <4 x float> %wide.load133, <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>
  %67 = fcmp uge <4 x float> %wide.load134, <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>
  %68 = fneg <4 x float> %wide.load133
  %69 = fneg <4 x float> %wide.load134
  %predphi = select <4 x i1> %66, <4 x float> %broadcast.splat137, <4 x float> %68
  %predphi138 = select <4 x i1> %64, <4 x float> %predphi, <4 x float> %wide.load133
  %predphi135 = select <4 x i1> %67, <4 x float> %broadcast.splat137, <4 x float> %69
  %predphi139 = select <4 x i1> %65, <4 x float> %predphi135, <4 x float> %wide.load134
  store <4 x float> %predphi138, ptr %62, align 4, !tbaa !69
  store <4 x float> %predphi139, ptr %63, align 4, !tbaa !69
  %index.next140 = add nuw i64 %index132, 8
  %70 = icmp eq i64 %index.next140, %n.vec129
  br i1 %70, label %middle.block124, label %vector.body131, !llvm.loop !74

middle.block124:                                  ; preds = %vector.body131
  %cmp.n141 = icmp eq i64 %n.vec129, %wide.trip.count104
  br i1 %cmp.n141, label %.loopexit, label %.lr.ph98.split.preheader142

.lr.ph98.split.us.preheader:                      ; preds = %52
  %71 = getelementptr inbounds i8, ptr %9, i64 180
  %wide.trip.count109 = zext nneg i32 %53 to i64
  %min.iters.check = icmp ult i32 %53, 8
  br i1 %min.iters.check, label %.lr.ph98.split.us.preheader143, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph98.split.us.preheader
  %n.vec = and i64 %wide.trip.count109, 2147483640
  %broadcast.splatinsert = insertelement <4 x float> poison, float %50, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %72 = getelementptr inbounds [16 x float], ptr %71, i64 0, i64 %index
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  %wide.load = load <4 x float>, ptr %72, align 4, !tbaa !69
  %wide.load123 = load <4 x float>, ptr %73, align 4, !tbaa !69
  %74 = fcmp ult <4 x float> %wide.load, zeroinitializer
  %75 = fcmp ult <4 x float> %wide.load123, zeroinitializer
  %76 = select <4 x i1> %74, <4 x float> %broadcast.splat, <4 x float> %wide.load
  %77 = select <4 x i1> %75, <4 x float> %broadcast.splat, <4 x float> %wide.load123
  store <4 x float> %76, ptr %72, align 4, !tbaa !69
  store <4 x float> %77, ptr %73, align 4, !tbaa !69
  %index.next = add nuw i64 %index, 8
  %78 = icmp eq i64 %index.next, %n.vec
  br i1 %78, label %middle.block, label %vector.body, !llvm.loop !77

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count109
  br i1 %cmp.n, label %.loopexit, label %.lr.ph98.split.us.preheader143

.lr.ph98.split.us.preheader143:                   ; preds = %middle.block, %.lr.ph98.split.us.preheader
  %indvars.iv106.ph = phi i64 [ 0, %.lr.ph98.split.us.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph98.split.us

.lr.ph98.split.us:                                ; preds = %.lr.ph98.split.us.preheader143, %.lr.ph98.split.us
  %indvars.iv106 = phi i64 [ %indvars.iv.next107, %.lr.ph98.split.us ], [ %indvars.iv106.ph, %.lr.ph98.split.us.preheader143 ]
  %79 = getelementptr inbounds [16 x float], ptr %71, i64 0, i64 %indvars.iv106
  %80 = load float, ptr %79, align 4, !tbaa !69
  %81 = fcmp ult float %80, 0.000000e+00
  %82 = select i1 %81, float %50, float %80
  store float %82, ptr %79, align 4, !tbaa !69
  %indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
  %exitcond110.not = icmp eq i64 %indvars.iv.next107, %wide.trip.count109
  br i1 %exitcond110.not, label %.loopexit, label %.lr.ph98.split.us, !llvm.loop !78

.lr.ph98.split:                                   ; preds = %.lr.ph98.split.preheader142, %90
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %90 ], [ %indvars.iv101.ph, %.lr.ph98.split.preheader142 ]
  %83 = getelementptr inbounds [16 x float], ptr %61, i64 0, i64 %indvars.iv101
  %84 = load float, ptr %83, align 4, !tbaa !69
  %85 = fcmp ult float %84, 0.000000e+00
  br i1 %85, label %86, label %90

86:                                               ; preds = %.lr.ph98.split
  %87 = fcmp uge float %84, -1.000000e+00
  br i1 %87, label %90, label %88

88:                                               ; preds = %86
  %89 = fneg float %84
  br label %90

90:                                               ; preds = %86, %.lr.ph98.split, %88
  %91 = phi float [ %89, %88 ], [ %84, %.lr.ph98.split ], [ %58, %86 ]
  store float %91, ptr %83, align 4, !tbaa !69
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %exitcond105.not = icmp eq i64 %indvars.iv.next102, %wide.trip.count104
  br i1 %exitcond105.not, label %.loopexit, label %.lr.ph98.split, !llvm.loop !79

.loopexit:                                        ; preds = %.lr.ph98.split.us, %90, %middle.block, %middle.block124, %.preheader, %.thread, %52, %._crit_edge
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden float @nk_layout_row_calculate_usable_space(ptr noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 112}
!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 = !{!64, !11, i64 128}
!69 = !{!14, !14, i64 0}
!70 = distinct !{!70, !71}
!71 = !{!"llvm.loop.mustprogress"}
!72 = !{!64, !11, i64 0}
!73 = !{!64, !14, i64 16}
!74 = distinct !{!74, !71, !75, !76}
!75 = !{!"llvm.loop.isvectorized", i32 1}
!76 = !{!"llvm.loop.unroll.runtime.disable"}
!77 = distinct !{!77, !71, !75, !76}
!78 = distinct !{!78, !71, !76, !75}
!79 = distinct !{!79, !71, !76, !75}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass