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

@.str.2 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [4 x i8], align 1
@__PRETTY_FUNCTION__.nk_style_set_font = external hidden unnamed_addr constant [73 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_style_set_font(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = icmp ne ptr %7, null
  br i1 %8, label %9, label %10

9:                                                ; preds = %2
  br label %11

10:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 14820, ptr noundef @__PRETTY_FUNCTION__.nk_style_set_font) #4
  unreachable

11:                                               ; preds = %9
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  store i32 1, ptr %6, align 4
  br label %32

15:                                               ; preds = %11
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.nk_context, ptr %16, i32 0, i32 1
  store ptr %17, ptr %5, align 8, !tbaa !5
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.nk_style, ptr %19, i32 0, i32 0
  store ptr %18, ptr %20, align 8, !tbaa !9
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.nk_context, ptr %21, i32 0, i32 6
  %23 = getelementptr inbounds %struct.nk_configuration_stacks, ptr %22, i32 0, i32 5
  %24 = getelementptr inbounds %struct.nk_config_stack_user_font, ptr %23, i32 0, i32 0
  store i32 0, ptr %24, align 8, !tbaa !30
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.nk_context, ptr %25, i32 0, i32 17
  %27 = load ptr, ptr %26, align 8, !tbaa !58
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %31

29:                                               ; preds = %15
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  call void @nk_layout_reset_min_row_height(ptr noundef %30)
  br label %31

31:                                               ; preds = %29, %15
  store i32 0, ptr %6, align 4
  br label %32

32:                                               ; preds = %31, %14
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  %33 = load i32, ptr %6, align 4
  switch i32 %33, label %35 [
    i32 0, label %34
    i32 1, label %34
  ]

34:                                               ; preds = %32, %32
  ret void

35:                                               ; preds = %32
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local void @nk_layout_reset_min_row_height(ptr noundef) #2

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


; 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
@__PRETTY_FUNCTION__.nk_style_set_font = external hidden unnamed_addr constant [73 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_style_set_font(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %3, label %4

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

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 360
  store ptr %1, ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 10528
  store i32 0, ptr %6, align 8, !tbaa !29
  %7 = getelementptr inbounds i8, ptr %0, i64 16600
  %8 = load ptr, ptr %7, align 8, !tbaa !57
  %.not8 = icmp eq ptr %8, null
  br i1 %.not8, label %10, label %9

9:                                                ; preds = %4
  tail call void @nk_layout_reset_min_row_height(ptr noundef nonnull %0)
  br label %10

10:                                               ; preds = %4, %9
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @nk_layout_reset_min_row_height(ptr noundef) local_unnamed_addr #1

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 = { 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, !7, i64 0}
!6 = !{!"nk_style", !7, i64 0, !8, i64 8, !7, i64 64, !7, i64 72, !10, i64 80, !11, i64 84, !15, i64 96, !15, i64 272, !15, i64 448, !17, i64 624, !17, i64 864, !18, i64 1104, !19, i64 1384, !20, i64 2024, !21, i64 2280, !22, i64 3592, !24, i64 4392, !23, i64 4456, !23, i64 5072, !25, i64 5688, !26, i64 6472, !27, i64 6824}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"nk_style_text", !12, i64 0, !13, i64 4}
!12 = !{!"nk_color", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3}
!13 = !{!"nk_vec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !8, i64 0}
!15 = !{!"nk_style_button", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !10, i64 116, !14, i64 120, !14, i64 124, !13, i64 128, !13, i64 136, !13, i64 144, !8, i64 152, !7, i64 160, !7, i64 168}
!16 = !{!"nk_style_item", !10, i64 0, !8, i64 8}
!17 = !{!"nk_style_toggle", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !16, i64 104, !16, i64 136, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !10, i64 184, !13, i64 188, !13, i64 196, !14, i64 204, !14, i64 208, !8, i64 216, !7, i64 224, !7, i64 232}
!18 = !{!"nk_style_selectable", !16, i64 0, !16, i64 32, !16, i64 64, !16, i64 96, !16, i64 128, !16, i64 160, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !10, i64 220, !14, i64 224, !13, i64 228, !13, i64 236, !13, i64 244, !8, i64 256, !7, i64 264, !7, i64 272}
!19 = !{!"nk_style_slider", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !16, i64 120, !16, i64 152, !16, i64 184, !14, i64 216, !14, i64 220, !14, i64 224, !13, i64 228, !13, i64 236, !13, i64 244, !10, i64 252, !15, i64 256, !15, i64 432, !10, i64 608, !10, i64 612, !8, i64 616, !7, i64 624, !7, i64 632}
!20 = !{!"nk_style_progress", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !16, i64 104, !16, i64 136, !16, i64 168, !12, i64 200, !14, i64 204, !14, i64 208, !14, i64 212, !14, i64 216, !13, i64 220, !8, i64 232, !7, i64 240, !7, i64 248}
!21 = !{!"nk_style_property", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !10, i64 112, !10, i64 116, !14, i64 120, !14, i64 124, !13, i64 128, !22, i64 136, !15, i64 936, !15, i64 1112, !8, i64 1288, !7, i64 1296, !7, i64 1304}
!22 = !{!"nk_style_edit", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !23, i64 104, !12, i64 720, !12, i64 724, !12, i64 728, !12, i64 732, !12, i64 736, !12, i64 740, !12, i64 744, !12, i64 748, !12, i64 752, !12, i64 756, !12, i64 760, !14, i64 764, !14, i64 768, !14, i64 772, !13, i64 776, !13, i64 784, !14, i64 792}
!23 = !{!"nk_style_scrollbar", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !16, i64 104, !16, i64 136, !16, i64 168, !12, i64 200, !14, i64 204, !14, i64 208, !14, i64 212, !14, i64 216, !13, i64 220, !10, i64 228, !15, i64 232, !15, i64 408, !10, i64 584, !10, i64 588, !8, i64 592, !7, i64 600, !7, i64 608}
!24 = !{!"nk_style_chart", !16, i64 0, !12, i64 32, !12, i64 36, !12, i64 40, !14, i64 44, !14, i64 48, !13, i64 52}
!25 = !{!"nk_style_tab", !16, i64 0, !12, i64 32, !12, i64 36, !15, i64 40, !15, i64 216, !15, i64 392, !15, i64 568, !10, i64 744, !10, i64 748, !14, i64 752, !14, i64 756, !14, i64 760, !13, i64 764, !13, i64 772}
!26 = !{!"nk_style_combo", !16, i64 0, !16, i64 32, !16, i64 64, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !15, i64 128, !10, i64 304, !10, i64 308, !10, i64 312, !14, i64 316, !14, i64 320, !13, i64 324, !13, i64 332, !13, i64 340}
!27 = !{!"nk_style_window", !28, i64 0, !16, i64 504, !12, i64 536, !12, i64 540, !12, i64 544, !12, i64 548, !12, i64 552, !12, i64 556, !12, i64 560, !12, i64 564, !16, 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}
!28 = !{!"nk_style_window_header", !16, i64 0, !16, i64 32, !16, i64 64, !15, i64 96, !15, i64 272, !10, i64 448, !10, i64 452, !10, i64 456, !12, i64 460, !12, i64 464, !12, i64 468, !10, i64 472, !13, i64 476, !13, i64 484, !13, i64 492}
!29 = !{!30, !10, i64 10528}
!30 = !{!"nk_context", !31, i64 0, !6, i64 360, !34, i64 7904, !38, i64 8024, !10, i64 8048, !10, i64 8052, !39, i64 8056, !14, i64 10800, !47, i64 10808, !51, i64 11048, !55, i64 16432, !10, i64 16496, !10, i64 16500, !56, i64 16504, !7, i64 16576, !7, i64 16584, !7, i64 16592, !7, i64 16600, !7, i64 16608, !10, i64 16616, !10, i64 16620}
!31 = !{!"nk_input", !32, i64 0, !33, i64 260}
!32 = !{!"nk_keyboard", !8, i64 0, !8, i64 240, !10, i64 256}
!33 = !{!"nk_mouse", !8, i64 0, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !8, i64 96, !8, i64 97, !8, i64 98}
!34 = !{!"nk_buffer", !8, i64 0, !35, i64 32, !10, i64 56, !36, i64 64, !14, i64 80, !37, i64 88, !37, i64 96, !37, i64 104, !37, i64 112}
!35 = !{!"nk_allocator", !8, i64 0, !7, i64 8, !7, i64 16}
!36 = !{!"nk_memory", !7, i64 0, !37, i64 8}
!37 = !{!"long", !8, i64 0}
!38 = !{!"nk_clipboard", !8, i64 0, !7, i64 8, !7, i64 16}
!39 = !{!"nk_configuration_stacks", !40, i64 0, !41, i64 648, !42, i64 1168, !43, i64 1432, !44, i64 1952, !45, i64 2472, !46, i64 2608}
!40 = !{!"nk_config_stack_style_item", !10, i64 0, !8, i64 8}
!41 = !{!"nk_config_stack_float", !10, i64 0, !8, i64 8}
!42 = !{!"nk_config_stack_vec2", !10, i64 0, !8, i64 8}
!43 = !{!"nk_config_stack_flags", !10, i64 0, !8, i64 8}
!44 = !{!"nk_config_stack_color", !10, i64 0, !8, i64 8}
!45 = !{!"nk_config_stack_user_font", !10, i64 0, !8, i64 8}
!46 = !{!"nk_config_stack_button_behavior", !10, i64 0, !8, i64 8}
!47 = !{!"nk_draw_list", !48, i64 0, !8, i64 16, !49, i64 112, !7, i64 176, !7, i64 184, !7, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !37, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236}
!48 = !{!"nk_rect", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!49 = !{!"nk_convert_config", !14, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !50, i64 24, !7, i64 40, !37, i64 48, !37, i64 56}
!50 = !{!"nk_draw_null_texture", !8, i64 0, !13, i64 8}
!51 = !{!"nk_text_edit", !38, i64 0, !52, i64 24, !7, i64 152, !13, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !8, i64 180, !8, i64 181, !8, i64 182, !8, i64 183, !8, i64 184, !8, i64 185, !8, i64 186, !14, i64 188, !53, i64 192}
!52 = !{!"nk_str", !34, i64 0, !10, i64 120}
!53 = !{!"nk_text_undo_state", !8, i64 0, !8, i64 1188, !54, i64 5184, !54, i64 5186, !54, i64 5188, !54, i64 5190}
!54 = !{!"short", !8, i64 0}
!55 = !{!"nk_command_buffer", !7, i64 0, !48, i64 8, !10, i64 24, !8, i64 32, !37, i64 40, !37, i64 48, !37, i64 56}
!56 = !{!"nk_pool", !35, i64 0, !10, i64 24, !10, i64 28, !7, i64 32, !7, i64 40, !10, i64 48, !37, i64 56, !37, i64 64}
!57 = !{!30, !7, i64 16600}


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