; 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_vec2 = type { 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_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_input_scroll = external hidden unnamed_addr constant [58 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local void @nk_input_scroll(ptr noundef %0, <2 x float> %1) #1 {
  %3 = alloca %struct.nk_vec2, align 4
  %4 = alloca ptr, align 8
  store <2 x float> %1, ptr %3, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = icmp ne ptr %5, null
  br i1 %6, label %7, label %8

7:                                                ; preds = %2
  br label %9

8:                                                ; preds = %2
  call void @__assert_fail(ptr noundef @.str.33, ptr noundef @.str.2, i32 noundef 14023, ptr noundef @__PRETTY_FUNCTION__.nk_input_scroll) #2
  unreachable

9:                                                ; preds = %7
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = icmp ne ptr %10, null
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  br label %32

13:                                               ; preds = %9
  %14 = getelementptr inbounds %struct.nk_vec2, ptr %3, i32 0, i32 0
  %15 = load float, ptr %14, align 4, !tbaa !9
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.nk_context, ptr %16, i32 0, i32 0
  %18 = getelementptr inbounds %struct.nk_input, ptr %17, i32 0, i32 1
  %19 = getelementptr inbounds %struct.nk_mouse, ptr %18, i32 0, i32 4
  %20 = getelementptr inbounds %struct.nk_vec2, ptr %19, i32 0, i32 0
  %21 = load float, ptr %20, align 4, !tbaa !12
  %22 = fadd float %21, %15
  store float %22, ptr %20, align 4, !tbaa !12
  %23 = getelementptr inbounds %struct.nk_vec2, ptr %3, i32 0, i32 1
  %24 = load float, ptr %23, align 4, !tbaa !58
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.nk_context, ptr %25, i32 0, i32 0
  %27 = getelementptr inbounds %struct.nk_input, ptr %26, i32 0, i32 1
  %28 = getelementptr inbounds %struct.nk_mouse, ptr %27, i32 0, i32 4
  %29 = getelementptr inbounds %struct.nk_vec2, ptr %28, i32 0, i32 1
  %30 = load float, ptr %29, align 4, !tbaa !59
  %31 = fadd float %30, %24
  store float %31, ptr %29, align 4, !tbaa !59
  br label %32

32:                                               ; preds = %13, %12
  ret void
}

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"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !11, i64 0}
!10 = !{!"nk_vec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !11, i64 348}
!13 = !{!"nk_context", !14, i64 0, !18, i64 360, !35, i64 7904, !39, i64 8024, !16, i64 8048, !16, i64 8052, !40, i64 8056, !11, i64 10800, !48, i64 10808, !52, i64 11048, !56, i64 16432, !16, i64 16496, !16, i64 16500, !57, i64 16504, !6, i64 16576, !6, i64 16584, !6, i64 16592, !6, i64 16600, !6, i64 16608, !16, i64 16616, !16, i64 16620}
!14 = !{!"nk_input", !15, i64 0, !17, i64 260}
!15 = !{!"nk_keyboard", !7, i64 0, !7, i64 240, !16, i64 256}
!16 = !{!"int", !7, i64 0}
!17 = !{!"nk_mouse", !7, i64 0, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !7, i64 96, !7, i64 97, !7, i64 98}
!18 = !{!"nk_style", !6, i64 0, !7, i64 8, !6, i64 64, !6, i64 72, !16, 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, !10, 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, !16, i64 116, !11, i64 120, !11, i64 124, !10, i64 128, !10, i64 136, !10, i64 144, !7, i64 152, !6, i64 160, !6, i64 168}
!22 = !{!"nk_style_item", !16, 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, !16, i64 184, !10, i64 188, !10, i64 196, !11, i64 204, !11, 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, !16, i64 220, !11, i64 224, !10, i64 228, !10, i64 236, !10, 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, !11, i64 216, !11, i64 220, !11, i64 224, !10, i64 228, !10, i64 236, !10, i64 244, !16, i64 252, !21, i64 256, !21, i64 432, !16, i64 608, !16, 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, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !10, 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, !16, i64 112, !16, i64 116, !11, i64 120, !11, i64 124, !10, 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, !11, i64 764, !11, i64 768, !11, i64 772, !10, i64 776, !10, i64 784, !11, 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, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !10, i64 220, !16, i64 228, !21, i64 232, !21, i64 408, !16, i64 584, !16, 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, !11, i64 44, !11, i64 48, !10, 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, !16, i64 744, !16, i64 748, !11, i64 752, !11, i64 756, !11, i64 760, !10, i64 764, !10, 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, !16, i64 304, !16, i64 308, !16, i64 312, !11, i64 316, !11, i64 320, !10, i64 324, !10, i64 332, !10, 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, !11, i64 600, !11, i64 604, !11, i64 608, !11, i64 612, !11, i64 616, !11, i64 620, !11, i64 624, !11, i64 628, !11, i64 632, !10, i64 636, !10, i64 644, !10, i64 652, !10, i64 660, !10, i64 668, !10, i64 676, !10, i64 684, !10, i64 692, !10, i64 700, !10, i64 708}
!34 = !{!"nk_style_window_header", !22, i64 0, !22, i64 32, !22, i64 64, !21, i64 96, !21, i64 272, !16, i64 448, !16, i64 452, !16, i64 456, !20, i64 460, !20, i64 464, !20, i64 468, !16, i64 472, !10, i64 476, !10, i64 484, !10, i64 492}
!35 = !{!"nk_buffer", !7, i64 0, !36, i64 32, !16, i64 56, !37, i64 64, !11, 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", !16, i64 0, !7, i64 8}
!42 = !{!"nk_config_stack_float", !16, i64 0, !7, i64 8}
!43 = !{!"nk_config_stack_vec2", !16, i64 0, !7, i64 8}
!44 = !{!"nk_config_stack_flags", !16, i64 0, !7, i64 8}
!45 = !{!"nk_config_stack_color", !16, i64 0, !7, i64 8}
!46 = !{!"nk_config_stack_user_font", !16, i64 0, !7, i64 8}
!47 = !{!"nk_config_stack_button_behavior", !16, 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, !16, i64 200, !16, i64 204, !16, i64 208, !38, i64 216, !16, i64 224, !16, i64 228, !16, i64 232, !16, i64 236}
!49 = !{!"nk_rect", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!50 = !{!"nk_convert_config", !11, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !51, i64 24, !6, i64 40, !38, i64 48, !38, i64 56}
!51 = !{!"nk_draw_null_texture", !7, i64 0, !10, i64 8}
!52 = !{!"nk_text_edit", !39, i64 0, !53, i64 24, !6, i64 152, !10, i64 160, !16, i64 168, !16, i64 172, !16, i64 176, !7, i64 180, !7, i64 181, !7, i64 182, !7, i64 183, !7, i64 184, !7, i64 185, !7, i64 186, !11, i64 188, !54, i64 192}
!53 = !{!"nk_str", !35, i64 0, !16, 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, !16, i64 24, !7, i64 32, !38, i64 40, !38, i64 48, !38, i64 56}
!57 = !{!"nk_pool", !36, i64 0, !16, i64 24, !16, i64 28, !6, i64 32, !6, i64 40, !16, i64 48, !38, i64 56, !38, i64 64}
!58 = !{!10, !11, i64 4}
!59 = !{!13, !11, i64 352}


; 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_input_scroll = external hidden unnamed_addr constant [58 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_input_scroll(ptr noundef %0, <2 x float> %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 14023, ptr noundef nonnull @__PRETTY_FUNCTION__.nk_input_scroll) #2
  unreachable

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 348
  %6 = load <2 x float>, ptr %5, align 4, !tbaa !5
  %7 = fadd <2 x float> %6, %1
  store <2 x float> %7, ptr %5, align 4, !tbaa !5
  ret void
}

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"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


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