; 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_glfw = type { ptr, i32, i32, i32, i32, %struct.nk_glfw_device, %struct.nk_context, %struct.nk_font_atlas, %struct.nk_vec2, [256 x i32], i32, %struct.nk_vec2, double, i32, %struct.nk_vec2 }
%struct.nk_glfw_device = type { %struct.nk_buffer, %struct.nk_draw_null_texture, i32 }
%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 }
%union.nk_handle = type { ptr }
%struct.nk_memory = type { ptr, i64 }
%struct.nk_draw_null_texture = type { %union.nk_handle, %struct.nk_vec2 }
%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] }
%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_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_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_font_atlas = type { ptr, i32, i32, %struct.nk_allocator, %struct.nk_allocator, %struct.nk_recti, [7 x %struct.nk_cursor], i32, ptr, ptr, ptr, ptr, i32 }
%struct.nk_recti = type { i16, i16, i16, i16 }
%struct.nk_cursor = type { %struct.nk_image, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_vec2 = type { float, float }

@glfw = external hidden global %struct.nk_glfw, align 8

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local <2 x float> @nk_vec2(float noundef, float noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @nk_input_end(ptr noundef) #3

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

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

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

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

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

declare void @glfwGetCursorPos(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @nk_glfw3_new_frame() #2 {
  %1 = alloca i32, align 4
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.nk_vec2, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 6), ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %7 = load ptr, ptr @glfw, align 8, !tbaa !9
  store ptr %7, ptr %5, align 8, !tbaa !5
  %8 = load ptr, ptr %5, align 8, !tbaa !5
  call void @glfwGetWindowSize(ptr noundef %8, ptr noundef getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 1), ptr noundef getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 2))
  %9 = load ptr, ptr %5, align 8, !tbaa !5
  call void @glfwGetFramebufferSize(ptr noundef %9, ptr noundef getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 3), ptr noundef getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 4))
  %10 = load i32, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 3), align 8, !tbaa !62
  %11 = sitofp i32 %10 to float
  %12 = load i32, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 1), align 8, !tbaa !63
  %13 = sitofp i32 %12 to float
  %14 = fdiv float %11, %13
  store float %14, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 8), align 8, !tbaa !64
  %15 = load i32, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 4), align 4, !tbaa !65
  %16 = sitofp i32 %15 to float
  %17 = load i32, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 2), align 4, !tbaa !66
  %18 = sitofp i32 %17 to float
  %19 = fdiv float %16, %18
  store float %19, ptr getelementptr inbounds (%struct.nk_vec2, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 8), i32 0, i32 1), align 4, !tbaa !67
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  call void @nk_input_begin(ptr noundef %20)
  store i32 0, ptr %1, align 4, !tbaa !68
  br label %21

21:                                               ; preds = %31, %0
  %22 = load i32, ptr %1, align 4, !tbaa !68
  %23 = load i32, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 10), align 8, !tbaa !69
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %25, label %34

25:                                               ; preds = %21
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = load i32, ptr %1, align 4, !tbaa !68
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [256 x i32], ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 9), i64 0, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !68
  call void @nk_input_unicode(ptr noundef %26, i32 noundef %30)
  br label %31

31:                                               ; preds = %25
  %32 = load i32, ptr %1, align 4, !tbaa !68
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %1, align 4, !tbaa !68
  br label %21, !llvm.loop !70

34:                                               ; preds = %21
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.nk_context, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %struct.nk_input, ptr %36, i32 0, i32 1
  %38 = getelementptr inbounds %struct.nk_mouse, ptr %37, i32 0, i32 5
  %39 = load i8, ptr %38, align 4, !tbaa !72
  %40 = icmp ne i8 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %34
  %42 = load ptr, ptr @glfw, align 8, !tbaa !9
  call void @glfwSetInputMode(ptr noundef %42, i32 noundef 208897, i32 noundef 212994)
  br label %53

43:                                               ; preds = %34
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.nk_context, ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds %struct.nk_input, ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds %struct.nk_mouse, ptr %46, i32 0, i32 7
  %48 = load i8, ptr %47, align 2, !tbaa !73
  %49 = icmp ne i8 %48, 0
  br i1 %49, label %50, label %52

50:                                               ; preds = %43
  %51 = load ptr, ptr @glfw, align 8, !tbaa !9
  call void @glfwSetInputMode(ptr noundef %51, i32 noundef 208897, i32 noundef 212993)
  br label %52

52:                                               ; preds = %50, %43
  br label %53

53:                                               ; preds = %52, %41
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = call i32 @glfwGetKey(ptr noundef %55, i32 noundef 261)
  %57 = icmp eq i32 %56, 1
  %58 = zext i1 %57 to i32
  call void @nk_input_key(ptr noundef %54, i32 noundef 3, i32 noundef %58)
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = call i32 @glfwGetKey(ptr noundef %60, i32 noundef 257)
  %62 = icmp eq i32 %61, 1
  %63 = zext i1 %62 to i32
  call void @nk_input_key(ptr noundef %59, i32 noundef 4, i32 noundef %63)
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = call i32 @glfwGetKey(ptr noundef %65, i32 noundef 258)
  %67 = icmp eq i32 %66, 1
  %68 = zext i1 %67 to i32
  call void @nk_input_key(ptr noundef %64, i32 noundef 5, i32 noundef %68)
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = call i32 @glfwGetKey(ptr noundef %70, i32 noundef 259)
  %72 = icmp eq i32 %71, 1
  %73 = zext i1 %72 to i32
  call void @nk_input_key(ptr noundef %69, i32 noundef 6, i32 noundef %73)
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = call i32 @glfwGetKey(ptr noundef %75, i32 noundef 265)
  %77 = icmp eq i32 %76, 1
  %78 = zext i1 %77 to i32
  call void @nk_input_key(ptr noundef %74, i32 noundef 10, i32 noundef %78)
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = call i32 @glfwGetKey(ptr noundef %80, i32 noundef 264)
  %82 = icmp eq i32 %81, 1
  %83 = zext i1 %82 to i32
  call void @nk_input_key(ptr noundef %79, i32 noundef 11, i32 noundef %83)
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = call i32 @glfwGetKey(ptr noundef %85, i32 noundef 268)
  %87 = icmp eq i32 %86, 1
  %88 = zext i1 %87 to i32
  call void @nk_input_key(ptr noundef %84, i32 noundef 19, i32 noundef %88)
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = call i32 @glfwGetKey(ptr noundef %90, i32 noundef 269)
  %92 = icmp eq i32 %91, 1
  %93 = zext i1 %92 to i32
  call void @nk_input_key(ptr noundef %89, i32 noundef 20, i32 noundef %93)
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = call i32 @glfwGetKey(ptr noundef %95, i32 noundef 268)
  %97 = icmp eq i32 %96, 1
  %98 = zext i1 %97 to i32
  call void @nk_input_key(ptr noundef %94, i32 noundef 26, i32 noundef %98)
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = call i32 @glfwGetKey(ptr noundef %100, i32 noundef 269)
  %102 = icmp eq i32 %101, 1
  %103 = zext i1 %102 to i32
  call void @nk_input_key(ptr noundef %99, i32 noundef 27, i32 noundef %103)
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = call i32 @glfwGetKey(ptr noundef %105, i32 noundef 267)
  %107 = icmp eq i32 %106, 1
  %108 = zext i1 %107 to i32
  call void @nk_input_key(ptr noundef %104, i32 noundef 28, i32 noundef %108)
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = call i32 @glfwGetKey(ptr noundef %110, i32 noundef 266)
  %112 = icmp eq i32 %111, 1
  %113 = zext i1 %112 to i32
  call void @nk_input_key(ptr noundef %109, i32 noundef 29, i32 noundef %113)
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = call i32 @glfwGetKey(ptr noundef %115, i32 noundef 340)
  %117 = icmp eq i32 %116, 1
  br i1 %117, label %122, label %118

118:                                              ; preds = %53
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = call i32 @glfwGetKey(ptr noundef %119, i32 noundef 344)
  %121 = icmp eq i32 %120, 1
  br label %122

122:                                              ; preds = %118, %53
  %123 = phi i1 [ true, %53 ], [ %121, %118 ]
  %124 = zext i1 %123 to i32
  call void @nk_input_key(ptr noundef %114, i32 noundef 1, i32 noundef %124)
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = call i32 @glfwGetKey(ptr noundef %125, i32 noundef 341)
  %127 = icmp eq i32 %126, 1
  br i1 %127, label %132, label %128

128:                                              ; preds = %122
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = call i32 @glfwGetKey(ptr noundef %129, i32 noundef 345)
  %131 = icmp eq i32 %130, 1
  br i1 %131, label %132, label %178

132:                                              ; preds = %128, %122
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = call i32 @glfwGetKey(ptr noundef %134, i32 noundef 67)
  %136 = icmp eq i32 %135, 1
  %137 = zext i1 %136 to i32
  call void @nk_input_key(ptr noundef %133, i32 noundef 7, i32 noundef %137)
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = call i32 @glfwGetKey(ptr noundef %139, i32 noundef 86)
  %141 = icmp eq i32 %140, 1
  %142 = zext i1 %141 to i32
  call void @nk_input_key(ptr noundef %138, i32 noundef 9, i32 noundef %142)
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = call i32 @glfwGetKey(ptr noundef %144, i32 noundef 88)
  %146 = icmp eq i32 %145, 1
  %147 = zext i1 %146 to i32
  call void @nk_input_key(ptr noundef %143, i32 noundef 8, i32 noundef %147)
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = call i32 @glfwGetKey(ptr noundef %149, i32 noundef 90)
  %151 = icmp eq i32 %150, 1
  %152 = zext i1 %151 to i32
  call void @nk_input_key(ptr noundef %148, i32 noundef 21, i32 noundef %152)
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = call i32 @glfwGetKey(ptr noundef %154, i32 noundef 82)
  %156 = icmp eq i32 %155, 1
  %157 = zext i1 %156 to i32
  call void @nk_input_key(ptr noundef %153, i32 noundef 22, i32 noundef %157)
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = call i32 @glfwGetKey(ptr noundef %159, i32 noundef 263)
  %161 = icmp eq i32 %160, 1
  %162 = zext i1 %161 to i32
  call void @nk_input_key(ptr noundef %158, i32 noundef 24, i32 noundef %162)
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = call i32 @glfwGetKey(ptr noundef %164, i32 noundef 262)
  %166 = icmp eq i32 %165, 1
  %167 = zext i1 %166 to i32
  call void @nk_input_key(ptr noundef %163, i32 noundef 25, i32 noundef %167)
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = call i32 @glfwGetKey(ptr noundef %169, i32 noundef 66)
  %171 = icmp eq i32 %170, 1
  %172 = zext i1 %171 to i32
  call void @nk_input_key(ptr noundef %168, i32 noundef 17, i32 noundef %172)
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = call i32 @glfwGetKey(ptr noundef %174, i32 noundef 69)
  %176 = icmp eq i32 %175, 1
  %177 = zext i1 %176 to i32
  call void @nk_input_key(ptr noundef %173, i32 noundef 18, i32 noundef %177)
  br label %193

178:                                              ; preds = %128
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = call i32 @glfwGetKey(ptr noundef %180, i32 noundef 263)
  %182 = icmp eq i32 %181, 1
  %183 = zext i1 %182 to i32
  call void @nk_input_key(ptr noundef %179, i32 noundef 12, i32 noundef %183)
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = call i32 @glfwGetKey(ptr noundef %185, i32 noundef 262)
  %187 = icmp eq i32 %186, 1
  %188 = zext i1 %187 to i32
  call void @nk_input_key(ptr noundef %184, i32 noundef 13, i32 noundef %188)
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  call void @nk_input_key(ptr noundef %189, i32 noundef 7, i32 noundef 0)
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  call void @nk_input_key(ptr noundef %190, i32 noundef 9, i32 noundef 0)
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  call void @nk_input_key(ptr noundef %191, i32 noundef 8, i32 noundef 0)
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  call void @nk_input_key(ptr noundef %192, i32 noundef 1, i32 noundef 0)
  br label %193

193:                                              ; preds = %178, %132
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  call void @glfwGetCursorPos(ptr noundef %194, ptr noundef %2, ptr noundef %3)
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = load double, ptr %2, align 8, !tbaa !74
  %197 = fptosi double %196 to i32
  %198 = load double, ptr %3, align 8, !tbaa !74
  %199 = fptosi double %198 to i32
  call void @nk_input_motion(ptr noundef %195, i32 noundef %197, i32 noundef %199)
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.nk_context, ptr %200, i32 0, i32 0
  %202 = getelementptr inbounds %struct.nk_input, ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds %struct.nk_mouse, ptr %202, i32 0, i32 6
  %204 = load i8, ptr %203, align 1, !tbaa !75
  %205 = icmp ne i8 %204, 0
  br i1 %205, label %206, label %244

206:                                              ; preds = %193
  %207 = load ptr, ptr @glfw, align 8, !tbaa !9
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.nk_context, ptr %208, i32 0, i32 0
  %210 = getelementptr inbounds %struct.nk_input, ptr %209, i32 0, i32 1
  %211 = getelementptr inbounds %struct.nk_mouse, ptr %210, i32 0, i32 2
  %212 = getelementptr inbounds %struct.nk_vec2, ptr %211, i32 0, i32 0
  %213 = load float, ptr %212, align 4, !tbaa !76
  %214 = fpext float %213 to double
  %215 = load ptr, ptr %4, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.nk_context, ptr %215, i32 0, i32 0
  %217 = getelementptr inbounds %struct.nk_input, ptr %216, i32 0, i32 1
  %218 = getelementptr inbounds %struct.nk_mouse, ptr %217, i32 0, i32 2
  %219 = getelementptr inbounds %struct.nk_vec2, ptr %218, i32 0, i32 1
  %220 = load float, ptr %219, align 4, !tbaa !77
  %221 = fpext float %220 to double
  call void @glfwSetCursorPos(ptr noundef %207, double noundef %214, double noundef %221)
  %222 = load ptr, ptr %4, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.nk_context, ptr %222, i32 0, i32 0
  %224 = getelementptr inbounds %struct.nk_input, ptr %223, i32 0, i32 1
  %225 = getelementptr inbounds %struct.nk_mouse, ptr %224, i32 0, i32 2
  %226 = getelementptr inbounds %struct.nk_vec2, ptr %225, i32 0, i32 0
  %227 = load float, ptr %226, align 4, !tbaa !76
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.nk_context, ptr %228, i32 0, i32 0
  %230 = getelementptr inbounds %struct.nk_input, ptr %229, i32 0, i32 1
  %231 = getelementptr inbounds %struct.nk_mouse, ptr %230, i32 0, i32 1
  %232 = getelementptr inbounds %struct.nk_vec2, ptr %231, i32 0, i32 0
  store float %227, ptr %232, align 4, !tbaa !78
  %233 = load ptr, ptr %4, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.nk_context, ptr %233, i32 0, i32 0
  %235 = getelementptr inbounds %struct.nk_input, ptr %234, i32 0, i32 1
  %236 = getelementptr inbounds %struct.nk_mouse, ptr %235, i32 0, i32 2
  %237 = getelementptr inbounds %struct.nk_vec2, ptr %236, i32 0, i32 1
  %238 = load float, ptr %237, align 4, !tbaa !77
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.nk_context, ptr %239, i32 0, i32 0
  %241 = getelementptr inbounds %struct.nk_input, ptr %240, i32 0, i32 1
  %242 = getelementptr inbounds %struct.nk_mouse, ptr %241, i32 0, i32 1
  %243 = getelementptr inbounds %struct.nk_vec2, ptr %242, i32 0, i32 1
  store float %238, ptr %243, align 4, !tbaa !79
  br label %244

244:                                              ; preds = %206, %193
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = load double, ptr %2, align 8, !tbaa !74
  %247 = fptosi double %246 to i32
  %248 = load double, ptr %3, align 8, !tbaa !74
  %249 = fptosi double %248 to i32
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = call i32 @glfwGetMouseButton(ptr noundef %250, i32 noundef 0)
  %252 = icmp eq i32 %251, 1
  %253 = zext i1 %252 to i32
  call void @nk_input_button(ptr noundef %245, i32 noundef 0, i32 noundef %247, i32 noundef %249, i32 noundef %253)
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  %255 = load double, ptr %2, align 8, !tbaa !74
  %256 = fptosi double %255 to i32
  %257 = load double, ptr %3, align 8, !tbaa !74
  %258 = fptosi double %257 to i32
  %259 = load ptr, ptr %5, align 8, !tbaa !5
  %260 = call i32 @glfwGetMouseButton(ptr noundef %259, i32 noundef 2)
  %261 = icmp eq i32 %260, 1
  %262 = zext i1 %261 to i32
  call void @nk_input_button(ptr noundef %254, i32 noundef 1, i32 noundef %256, i32 noundef %258, i32 noundef %262)
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = load double, ptr %2, align 8, !tbaa !74
  %265 = fptosi double %264 to i32
  %266 = load double, ptr %3, align 8, !tbaa !74
  %267 = fptosi double %266 to i32
  %268 = load ptr, ptr %5, align 8, !tbaa !5
  %269 = call i32 @glfwGetMouseButton(ptr noundef %268, i32 noundef 1)
  %270 = icmp eq i32 %269, 1
  %271 = zext i1 %270 to i32
  call void @nk_input_button(ptr noundef %263, i32 noundef 2, i32 noundef %265, i32 noundef %267, i32 noundef %271)
  %272 = load ptr, ptr %4, align 8, !tbaa !5
  %273 = load float, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 14), align 4, !tbaa !80
  %274 = fptosi float %273 to i32
  %275 = load float, ptr getelementptr inbounds (%struct.nk_vec2, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 14), i32 0, i32 1), align 4, !tbaa !81
  %276 = fptosi float %275 to i32
  %277 = load i32, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 13), align 8, !tbaa !82
  call void @nk_input_button(ptr noundef %272, i32 noundef 3, i32 noundef %274, i32 noundef %276, i32 noundef %277)
  %278 = load ptr, ptr %4, align 8, !tbaa !5
  %279 = load <2 x float>, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 11), align 4
  call void @nk_input_scroll(ptr noundef %278, <2 x float> %279)
  call void @nk_input_end(ptr noundef getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 6))
  store i32 0, ptr getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 10), align 8, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %280 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %280, ptr %6, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 getelementptr inbounds (%struct.nk_glfw, ptr @glfw, i32 0, i32 11), ptr align 4 %6, i64 8, i1 false), !tbaa.struct !83
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

declare void @glfwGetWindowSize(ptr noundef, ptr noundef, ptr noundef) #4

declare void @glfwGetFramebufferSize(ptr noundef, ptr noundef, ptr noundef) #4

declare void @glfwSetInputMode(ptr noundef, i32 noundef, i32 noundef) #4

declare i32 @glfwGetKey(ptr noundef, i32 noundef) #4

declare void @glfwSetCursorPos(ptr noundef, double noundef, double noundef) #4

declare i32 @glfwGetMouseButton(ptr noundef, i32 noundef) #4

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

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


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

%struct.nk_glfw = type { ptr, i32, i32, i32, i32, %struct.nk_glfw_device, %struct.nk_context, %struct.nk_font_atlas, %struct.nk_vec2, [256 x i32], i32, %struct.nk_vec2, double, i32, %struct.nk_vec2 }
%struct.nk_glfw_device = type { %struct.nk_buffer, %struct.nk_draw_null_texture, i32 }
%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 }
%union.nk_handle = type { ptr }
%struct.nk_memory = type { ptr, i64 }
%struct.nk_draw_null_texture = type { %union.nk_handle, %struct.nk_vec2 }
%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] }
%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_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_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_font_atlas = type { ptr, i32, i32, %struct.nk_allocator, %struct.nk_allocator, %struct.nk_recti, [7 x %struct.nk_cursor], i32, ptr, ptr, ptr, ptr, i32 }
%struct.nk_recti = type { i16, i16, i16, i16 }
%struct.nk_cursor = type { %struct.nk_image, %struct.nk_vec2, %struct.nk_vec2 }
%struct.nk_vec2 = type { float, float }

@glfw = external hidden global %struct.nk_glfw, align 8

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

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

; Function Attrs: nounwind uwtable
declare dso_local <2 x float> @nk_vec2(float noundef, float noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @nk_input_motion(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @nk_input_key(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @nk_input_button(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @nk_input_unicode(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @glfwGetCursorPos(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @nk_glfw3_new_frame() local_unnamed_addr #1 {
  %1 = alloca double, align 8
  %2 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %3 = load ptr, ptr @glfw, align 8, !tbaa !5
  tail call void @glfwGetWindowSize(ptr noundef %3, ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 8), ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 12)) #4
  tail call void @glfwGetFramebufferSize(ptr noundef %3, ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 16), ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 20)) #4
  %4 = load <2 x i32>, ptr getelementptr inbounds (i8, ptr @glfw, i64 16), align 8, !tbaa !61
  %5 = sitofp <2 x i32> %4 to <2 x float>
  %6 = load <2 x i32>, ptr getelementptr inbounds (i8, ptr @glfw, i64 8), align 8, !tbaa !61
  %7 = sitofp <2 x i32> %6 to <2 x float>
  %8 = fdiv <2 x float> %5, %7
  store <2 x float> %8, ptr getelementptr inbounds (i8, ptr @glfw, i64 17192), align 8, !tbaa !62
  tail call void @nk_input_begin(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168))
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @glfw, i64 18224), align 8, !tbaa !63
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %11 = getelementptr inbounds [256 x i32], ptr getelementptr inbounds (i8, ptr @glfw, i64 17200), i64 0, i64 %indvars.iv
  %12 = load i32, ptr %11, align 4, !tbaa !61
  tail call void @nk_input_unicode(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef %12)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %13 = load i32, ptr getelementptr inbounds (i8, ptr @glfw, i64 18224), align 8, !tbaa !63
  %14 = sext i32 %13 to i64
  %15 = icmp slt i64 %indvars.iv.next, %14
  br i1 %15, label %.lr.ph, label %._crit_edge, !llvm.loop !64

._crit_edge:                                      ; preds = %.lr.ph, %0
  %16 = load i8, ptr getelementptr inbounds (i8, ptr @glfw, i64 524), align 4, !tbaa !66
  %.not = icmp eq i8 %16, 0
  br i1 %.not, label %17, label %.sink.split

17:                                               ; preds = %._crit_edge
  %18 = load i8, ptr getelementptr inbounds (i8, ptr @glfw, i64 526), align 2, !tbaa !67
  %.not80 = icmp eq i8 %18, 0
  br i1 %.not80, label %20, label %.sink.split

.sink.split:                                      ; preds = %17, %._crit_edge
  %.sink84 = phi i32 [ 212994, %._crit_edge ], [ 212993, %17 ]
  %19 = load ptr, ptr @glfw, align 8, !tbaa !5
  tail call void @glfwSetInputMode(ptr noundef %19, i32 noundef 208897, i32 noundef %.sink84) #4
  br label %20

20:                                               ; preds = %.sink.split, %17
  %21 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 261) #4
  %22 = icmp eq i32 %21, 1
  %23 = zext i1 %22 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 3, i32 noundef %23)
  %24 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 257) #4
  %25 = icmp eq i32 %24, 1
  %26 = zext i1 %25 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 4, i32 noundef %26)
  %27 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 258) #4
  %28 = icmp eq i32 %27, 1
  %29 = zext i1 %28 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 5, i32 noundef %29)
  %30 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 259) #4
  %31 = icmp eq i32 %30, 1
  %32 = zext i1 %31 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 6, i32 noundef %32)
  %33 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 265) #4
  %34 = icmp eq i32 %33, 1
  %35 = zext i1 %34 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 10, i32 noundef %35)
  %36 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 264) #4
  %37 = icmp eq i32 %36, 1
  %38 = zext i1 %37 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 11, i32 noundef %38)
  %39 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 268) #4
  %40 = icmp eq i32 %39, 1
  %41 = zext i1 %40 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 19, i32 noundef %41)
  %42 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 269) #4
  %43 = icmp eq i32 %42, 1
  %44 = zext i1 %43 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 20, i32 noundef %44)
  %45 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 268) #4
  %46 = icmp eq i32 %45, 1
  %47 = zext i1 %46 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 26, i32 noundef %47)
  %48 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 269) #4
  %49 = icmp eq i32 %48, 1
  %50 = zext i1 %49 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 27, i32 noundef %50)
  %51 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 267) #4
  %52 = icmp eq i32 %51, 1
  %53 = zext i1 %52 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 28, i32 noundef %53)
  %54 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 266) #4
  %55 = icmp eq i32 %54, 1
  %56 = zext i1 %55 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 29, i32 noundef %56)
  %57 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 340) #4
  %58 = icmp eq i32 %57, 1
  br i1 %58, label %63, label %59

59:                                               ; preds = %20
  %60 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 344) #4
  %61 = icmp eq i32 %60, 1
  %62 = zext i1 %61 to i32
  br label %63

63:                                               ; preds = %59, %20
  %64 = phi i32 [ 1, %20 ], [ %62, %59 ]
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 1, i32 noundef %64)
  %65 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 341) #4
  %66 = icmp eq i32 %65, 1
  br i1 %66, label %70, label %67

67:                                               ; preds = %63
  %68 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 345) #4
  %69 = icmp eq i32 %68, 1
  br i1 %69, label %70, label %98

70:                                               ; preds = %67, %63
  %71 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 67) #4
  %72 = icmp eq i32 %71, 1
  %73 = zext i1 %72 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 7, i32 noundef %73)
  %74 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 86) #4
  %75 = icmp eq i32 %74, 1
  %76 = zext i1 %75 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 9, i32 noundef %76)
  %77 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 88) #4
  %78 = icmp eq i32 %77, 1
  %79 = zext i1 %78 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 8, i32 noundef %79)
  %80 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 90) #4
  %81 = icmp eq i32 %80, 1
  %82 = zext i1 %81 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 21, i32 noundef %82)
  %83 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 82) #4
  %84 = icmp eq i32 %83, 1
  %85 = zext i1 %84 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 22, i32 noundef %85)
  %86 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 263) #4
  %87 = icmp eq i32 %86, 1
  %88 = zext i1 %87 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 24, i32 noundef %88)
  %89 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 262) #4
  %90 = icmp eq i32 %89, 1
  %91 = zext i1 %90 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 25, i32 noundef %91)
  %92 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 66) #4
  %93 = icmp eq i32 %92, 1
  %94 = zext i1 %93 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 17, i32 noundef %94)
  %95 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 69) #4
  %96 = icmp eq i32 %95, 1
  %97 = zext i1 %96 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 18, i32 noundef %97)
  br label %105

98:                                               ; preds = %67
  %99 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 263) #4
  %100 = icmp eq i32 %99, 1
  %101 = zext i1 %100 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 12, i32 noundef %101)
  %102 = tail call i32 @glfwGetKey(ptr noundef %3, i32 noundef 262) #4
  %103 = icmp eq i32 %102, 1
  %104 = zext i1 %103 to i32
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 13, i32 noundef %104)
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 7, i32 noundef 0)
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 9, i32 noundef 0)
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 8, i32 noundef 0)
  tail call void @nk_input_key(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 1, i32 noundef 0)
  br label %105

105:                                              ; preds = %98, %70
  call void @glfwGetCursorPos(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #4
  %106 = load double, ptr %1, align 8, !tbaa !68
  %107 = fptosi double %106 to i32
  %108 = load double, ptr %2, align 8, !tbaa !68
  %109 = fptosi double %108 to i32
  call void @nk_input_motion(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef %107, i32 noundef %109)
  %110 = load i8, ptr getelementptr inbounds (i8, ptr @glfw, i64 525), align 1, !tbaa !69
  %.not81 = icmp eq i8 %110, 0
  br i1 %.not81, label %118, label %111

111:                                              ; preds = %105
  %112 = load ptr, ptr @glfw, align 8, !tbaa !5
  %113 = load float, ptr getelementptr inbounds (i8, ptr @glfw, i64 500), align 4, !tbaa !70
  %114 = fpext float %113 to double
  %115 = load float, ptr getelementptr inbounds (i8, ptr @glfw, i64 504), align 8, !tbaa !71
  %116 = fpext float %115 to double
  call void @glfwSetCursorPos(ptr noundef %112, double noundef %114, double noundef %116) #4
  %117 = load <2 x float>, ptr getelementptr inbounds (i8, ptr @glfw, i64 500), align 4, !tbaa !62
  store <2 x float> %117, ptr getelementptr inbounds (i8, ptr @glfw, i64 492), align 4, !tbaa !62
  br label %118

118:                                              ; preds = %111, %105
  %119 = load double, ptr %1, align 8, !tbaa !68
  %120 = fptosi double %119 to i32
  %121 = load double, ptr %2, align 8, !tbaa !68
  %122 = fptosi double %121 to i32
  %123 = call i32 @glfwGetMouseButton(ptr noundef %3, i32 noundef 0) #4
  %124 = icmp eq i32 %123, 1
  %125 = zext i1 %124 to i32
  call void @nk_input_button(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 0, i32 noundef %120, i32 noundef %122, i32 noundef %125)
  %126 = load double, ptr %1, align 8, !tbaa !68
  %127 = fptosi double %126 to i32
  %128 = load double, ptr %2, align 8, !tbaa !68
  %129 = fptosi double %128 to i32
  %130 = call i32 @glfwGetMouseButton(ptr noundef %3, i32 noundef 2) #4
  %131 = icmp eq i32 %130, 1
  %132 = zext i1 %131 to i32
  call void @nk_input_button(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 1, i32 noundef %127, i32 noundef %129, i32 noundef %132)
  %133 = load double, ptr %1, align 8, !tbaa !68
  %134 = fptosi double %133 to i32
  %135 = load double, ptr %2, align 8, !tbaa !68
  %136 = fptosi double %135 to i32
  %137 = call i32 @glfwGetMouseButton(ptr noundef %3, i32 noundef 1) #4
  %138 = icmp eq i32 %137, 1
  %139 = zext i1 %138 to i32
  call void @nk_input_button(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 2, i32 noundef %134, i32 noundef %136, i32 noundef %139)
  %140 = load float, ptr getelementptr inbounds (i8, ptr @glfw, i64 18252), align 4, !tbaa !72
  %141 = fptosi float %140 to i32
  %142 = load float, ptr getelementptr inbounds (i8, ptr @glfw, i64 18256), align 8, !tbaa !73
  %143 = fptosi float %142 to i32
  %144 = load i32, ptr getelementptr inbounds (i8, ptr @glfw, i64 18248), align 8, !tbaa !74
  call void @nk_input_button(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), i32 noundef 3, i32 noundef %141, i32 noundef %143, i32 noundef %144)
  %145 = load <2 x float>, ptr getelementptr inbounds (i8, ptr @glfw, i64 18228), align 4
  call void @nk_input_scroll(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168), <2 x float> %145)
  call void @nk_input_end(ptr noundef nonnull getelementptr inbounds (i8, ptr @glfw, i64 168))
  store i32 0, ptr getelementptr inbounds (i8, ptr @glfw, i64 18224), align 8, !tbaa !63
  %146 = call <2 x float> @nk_vec2(float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %146, ptr getelementptr inbounds (i8, ptr @glfw, i64 18228), align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
  ret void
}

declare void @glfwGetWindowSize(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @glfwGetFramebufferSize(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @glfwSetInputMode(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @glfwGetKey(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @glfwSetCursorPos(ptr noundef, double noundef, double noundef) local_unnamed_addr #3

declare i32 @glfwGetMouseButton(ptr noundef, i32 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { "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 }

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass