	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_error_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glfwSetErrorCallback
	xorl	%eax, %eax
	callq	_glfwInit
	testl	%eax, %eax
	je	LBB0_28
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_monitor_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glfwSetMonitorCallback
	movq	_joystick_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glfwSetJoystickCallback
	movl	$1, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_glfwGetPrimaryMonitor
	movq	%rax, %r13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$102, %eax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$110, %eax
	jne	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_4:
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.5:
	cmpl	$104, %eax
	jne	LBB0_27
## %bb.6:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_7
LBB0_10:
	testq	%r13, %r13
	jne	LBB0_12
## %bb.11:
	movl	$480, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x1E0
	movl	$640, -48(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x280
	jmp	LBB0_13
LBB0_27:
	xorl	%eax, %eax
	callq	_usage
LBB0_28:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_12:
	movq	%r13, %rdi
	callq	_glfwGetVideoMode
	movq	%rax, %rbx
	movq	_GLFW_REFRESH_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_RED_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_GREEN_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_BLUE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_glfwWindowHint
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_13:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edi
	movl	$12, %esi
	callq	_calloc
	movq	%rax, %r14
	movl	%ebx, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_21
## %bb.14:
	leaq	-208(%rbp), %rbx
	movq	%r14, %r15
	xorl	%ecx, %ecx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	incq	%rcx
	movl	%ecx, (%r15)
	movq	%rbx, %r12
	movq	%rbx, %rdi
	movl	$128, %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_snprintf
	movl	(%r15), %ebx
	testq	%r13, %r13
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r13, %rdi
	callq	_glfwGetMonitorName
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_printf
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, %edi
	movl	%r14d, %esi
	movq	%r12, %rbx
	movq	%r12, %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_glfwCreateWindow
	movl	%eax, 4(%r15)
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_glfwSetWindowUserPointer
	movl	4(%r15), %edi
	movq	_window_pos_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowPosCallback
	movl	4(%r15), %edi
	movq	_window_size_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowSizeCallback
	movl	4(%r15), %edi
	movq	_framebuffer_size_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetFramebufferSizeCallback
	movl	4(%r15), %edi
	movq	_window_content_scale_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowContentScaleCallback
	movl	4(%r15), %edi
	movq	_window_close_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowCloseCallback
	movl	4(%r15), %edi
	movq	_window_refresh_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowRefreshCallback
	movl	4(%r15), %edi
	movq	_window_focus_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowFocusCallback
	movl	4(%r15), %edi
	movq	_window_iconify_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowIconifyCallback
	movl	4(%r15), %edi
	movq	_window_maximize_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetWindowMaximizeCallback
	movl	4(%r15), %edi
	movq	_mouse_button_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetMouseButtonCallback
	movl	4(%r15), %edi
	movq	_cursor_position_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetCursorPosCallback
	movl	4(%r15), %edi
	movq	_cursor_enter_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetCursorEnterCallback
	movl	4(%r15), %edi
	movq	_scroll_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetScrollCallback
	movl	4(%r15), %edi
	movq	_key_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetKeyCallback
	movl	4(%r15), %edi
	movq	_char_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetCharCallback
	movl	4(%r15), %edi
	movq	_drop_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwSetDropCallback
	movl	4(%r15), %edi
	callq	_glfwMakeContextCurrent
	movq	_glfwGetProcAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gladLoadGL
	movl	$1, %edi
	callq	_glfwSwapInterval
	addq	$12, %r15
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, -72(%rbp)                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_15
LBB0_21:
	leaq	L_str.6(%rip), %rdi
	callq	_puts
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %r12
	movq	_stdout@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	xorl	%eax, %eax
	callq	_glfwWaitEvents
	movl	(%r15), %edi
	callq	_fflush
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	testl	%r13d, %r13d
	jle	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r14,%rbx), %edi
	callq	_glfwWindowShouldClose
	testq	%rax, %rax
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_25 Depth=2
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_25
	jmp	LBB0_29
LBB0_26:
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
	callq	_glfwTerminate
LBB0_7:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_19:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	xorl	%eax, %eax
	callq	_glfwTerminate
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_error_callback,4,2             ## @error_callback
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_monitor_callback,4,2           ## @monitor_callback
	.comm	_joystick_callback,4,2          ## @joystick_callback
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"hfn:"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	_optarg,4,2                     ## @optarg
	.comm	_GLFW_REFRESH_RATE,4,2          ## @GLFW_REFRESH_RATE
	.comm	_GLFW_RED_BITS,4,2              ## @GLFW_RED_BITS
	.comm	_GLFW_GREEN_BITS,4,2            ## @GLFW_GREEN_BITS
	.comm	_GLFW_BLUE_BITS,4,2             ## @GLFW_BLUE_BITS
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
L_.str.2:                               ## @.str.2
	.asciz	"Event Linter (Window %i)"

L_.str.3:                               ## @.str.3
	.asciz	"Creating full screen window %i (%ix%i on %s)\n"

L_.str.4:                               ## @.str.4
	.asciz	"Creating windowed mode window %i (%ix%i)\n"

	.comm	_window_pos_callback,4,2        ## @window_pos_callback
	.comm	_window_size_callback,4,2       ## @window_size_callback
	.comm	_framebuffer_size_callback,4,2  ## @framebuffer_size_callback
	.comm	_window_content_scale_callback,4,2 ## @window_content_scale_callback
	.comm	_window_close_callback,4,2      ## @window_close_callback
	.comm	_window_refresh_callback,4,2    ## @window_refresh_callback
	.comm	_window_focus_callback,4,2      ## @window_focus_callback
	.comm	_window_iconify_callback,4,2    ## @window_iconify_callback
	.comm	_window_maximize_callback,4,2   ## @window_maximize_callback
	.comm	_mouse_button_callback,4,2      ## @mouse_button_callback
	.comm	_cursor_position_callback,4,2   ## @cursor_position_callback
	.comm	_cursor_enter_callback,4,2      ## @cursor_enter_callback
	.comm	_scroll_callback,4,2            ## @scroll_callback
	.comm	_key_callback,4,2               ## @key_callback
	.comm	_char_callback,4,2              ## @char_callback
	.comm	_drop_callback,4,2              ## @drop_callback
	.comm	_glfwGetProcAddress,4,2         ## @glfwGetProcAddress
	.comm	_stdout,4,2                     ## @stdout
L_str:                                  ## @str
	.asciz	"Library initialized"

L_str.6:                                ## @str.6
	.asciz	"Main loop starting"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _error_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _error_callback@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_glfwSetErrorCallback
	bl	_glfwInit
	cbz	w0, LBB0_12
; %bb.1:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh5:
	adrp	x8, _monitor_callback@GOTPAGE
Lloh6:
	ldr	x8, [x8, _monitor_callback@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_glfwSetMonitorCallback
Lloh8:
	adrp	x8, _joystick_callback@GOTPAGE
Lloh9:
	ldr	x8, [x8, _joystick_callback@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_glfwSetJoystickCallback
	mov	x20, #0
	mov	w24, #1
Lloh11:
	adrp	x19, _optarg@GOTPAGE
Lloh12:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
Lloh13:
	adrp	x23, l_.str.1@PAGE
Lloh14:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_glfwGetPrimaryMonitor
	mov	x20, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_getopt
	cmp	w0, #102
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #110
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	mov	x1, #0
	mov	w2, #10
	bl	_strtoul
	mov	x24, x0
	b	LBB0_3
LBB0_6:
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.7:
	cmp	w0, #104
	b.ne	LBB0_11
; %bb.8:
	bl	_usage
	b	LBB0_28
LBB0_9:
	cbnz	x20, LBB0_13
; %bb.10:
	mov	w22, #480
	mov	w23, #640
	b	LBB0_14
LBB0_11:
	bl	_usage
LBB0_12:
Lloh15:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_exit
LBB0_13:
	mov	x0, x20
	bl	_glfwGetVideoMode
	mov	x21, x0
Lloh18:
	adrp	x8, _GLFW_REFRESH_RATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GLFW_REFRESH_RATE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w1, [x21, #20]
	bl	_glfwWindowHint
Lloh21:
	adrp	x8, _GLFW_RED_BITS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLFW_RED_BITS@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x21, #16]
	bl	_glfwWindowHint
Lloh24:
	adrp	x8, _GLFW_GREEN_BITS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GLFW_GREEN_BITS@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x21, #12]
	bl	_glfwWindowHint
Lloh27:
	adrp	x8, _GLFW_BLUE_BITS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GLFW_BLUE_BITS@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x21, #8]
	bl	_glfwWindowHint
	ldp	w23, w22, [x21]
LBB0_14:
	mov	x0, x24
	mov	w1, #12
	bl	_calloc
	mov	x21, x0
	str	x24, [sp, #32]                  ; 8-byte Folded Spill
	cmp	w24, #1
	b.lt	LBB0_21
; %bb.15:
	mov	x24, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	mov	w25, w8
	mov	x19, x22
	mov	x26, x23
	mov	x28, x21
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
Lloh30:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x28, #8]
	add	x24, x24, #1
	str	w24, [x28]
	add	x0, sp, #40
	mov	w1, #128
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, x24
	bl	_snprintf
	ldr	w27, [x28]
	cbz	x20, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_glfwGetMonitorName
	stp	x19, x0, [sp, #16]
	stp	x27, x26, [sp]
Lloh35:
	adrp	x0, l_.str.3@PAGE
Lloh36:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	stp	x23, x22, [sp, #8]
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	str	x27, [sp]
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_printf
	add	x2, sp, #40
	mov	x0, x23
	mov	x1, x22
	mov	x3, x20
	mov	x4, #0
	bl	_glfwCreateWindow
	str	w0, [x28, #4]
	cbz	w0, LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x1, x28
	bl	_glfwSetWindowUserPointer
	ldr	w0, [x28, #4]
Lloh39:
	adrp	x8, _window_pos_callback@GOTPAGE
Lloh40:
	ldr	x8, [x8, _window_pos_callback@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_glfwSetWindowPosCallback
	ldr	w0, [x28, #4]
Lloh42:
	adrp	x8, _window_size_callback@GOTPAGE
Lloh43:
	ldr	x8, [x8, _window_size_callback@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_glfwSetWindowSizeCallback
	ldr	w0, [x28, #4]
Lloh45:
	adrp	x8, _framebuffer_size_callback@GOTPAGE
Lloh46:
	ldr	x8, [x8, _framebuffer_size_callback@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_glfwSetFramebufferSizeCallback
	ldr	w0, [x28, #4]
Lloh48:
	adrp	x8, _window_content_scale_callback@GOTPAGE
Lloh49:
	ldr	x8, [x8, _window_content_scale_callback@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	bl	_glfwSetWindowContentScaleCallback
	ldr	w0, [x28, #4]
Lloh51:
	adrp	x8, _window_close_callback@GOTPAGE
Lloh52:
	ldr	x8, [x8, _window_close_callback@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_glfwSetWindowCloseCallback
	ldr	w0, [x28, #4]
Lloh54:
	adrp	x8, _window_refresh_callback@GOTPAGE
Lloh55:
	ldr	x8, [x8, _window_refresh_callback@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_glfwSetWindowRefreshCallback
	ldr	w0, [x28, #4]
Lloh57:
	adrp	x8, _window_focus_callback@GOTPAGE
Lloh58:
	ldr	x8, [x8, _window_focus_callback@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	bl	_glfwSetWindowFocusCallback
	ldr	w0, [x28, #4]
Lloh60:
	adrp	x8, _window_iconify_callback@GOTPAGE
Lloh61:
	ldr	x8, [x8, _window_iconify_callback@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_glfwSetWindowIconifyCallback
	ldr	w0, [x28, #4]
Lloh63:
	adrp	x8, _window_maximize_callback@GOTPAGE
Lloh64:
	ldr	x8, [x8, _window_maximize_callback@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	bl	_glfwSetWindowMaximizeCallback
	ldr	w0, [x28, #4]
Lloh66:
	adrp	x8, _mouse_button_callback@GOTPAGE
Lloh67:
	ldr	x8, [x8, _mouse_button_callback@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	bl	_glfwSetMouseButtonCallback
	ldr	w0, [x28, #4]
Lloh69:
	adrp	x8, _cursor_position_callback@GOTPAGE
Lloh70:
	ldr	x8, [x8, _cursor_position_callback@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	bl	_glfwSetCursorPosCallback
	ldr	w0, [x28, #4]
Lloh72:
	adrp	x8, _cursor_enter_callback@GOTPAGE
Lloh73:
	ldr	x8, [x8, _cursor_enter_callback@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	bl	_glfwSetCursorEnterCallback
	ldr	w0, [x28, #4]
Lloh75:
	adrp	x8, _scroll_callback@GOTPAGE
Lloh76:
	ldr	x8, [x8, _scroll_callback@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	bl	_glfwSetScrollCallback
	ldr	w0, [x28, #4]
Lloh78:
	adrp	x8, _key_callback@GOTPAGE
Lloh79:
	ldr	x8, [x8, _key_callback@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	bl	_glfwSetKeyCallback
	ldr	w0, [x28, #4]
Lloh81:
	adrp	x8, _char_callback@GOTPAGE
Lloh82:
	ldr	x8, [x8, _char_callback@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	bl	_glfwSetCharCallback
	ldr	w0, [x28, #4]
Lloh84:
	adrp	x8, _drop_callback@GOTPAGE
Lloh85:
	ldr	x8, [x8, _drop_callback@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	bl	_glfwSetDropCallback
	ldr	w0, [x28, #4]
	bl	_glfwMakeContextCurrent
Lloh87:
	adrp	x8, _glfwGetProcAddress@GOTPAGE
Lloh88:
	ldr	x8, [x8, _glfwGetProcAddress@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	bl	_gladLoadGL
	mov	w0, #1
	bl	_glfwSwapInterval
	add	x28, x28, #12
	cmp	x25, x24
	b.ne	LBB0_16
LBB0_21:
Lloh90:
	adrp	x0, l_str.6@PAGE
Lloh91:
	add	x0, x0, l_str.6@PAGEOFF
	bl	_puts
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	mov	w8, #12
	umull	x19, w23, w8
Lloh92:
	adrp	x20, _stdout@GOTPAGE
Lloh93:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	bl	_glfwWaitEvents
	ldr	w0, [x20]
	bl	_fflush
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
	cmp	w23, #1
	b.lt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x22, #0
LBB0_25:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x21, x22
	ldr	w0, [x8, #4]
	bl	_glfwWindowShouldClose
	cbnz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	add	x22, x22, #12
	cmp	x19, x22
	b.ne	LBB0_25
	b	LBB0_22
LBB0_27:
	mov	x0, x21
	bl	_free
	bl	_glfwTerminate
LBB0_28:
Lloh94:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh95:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
	bl	_exit
LBB0_29:
	mov	x0, x21
	bl	_free
	bl	_glfwTerminate
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.cfi_endproc
                                        ; -- End function
	.comm	_error_callback,4,2             ; @error_callback
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_monitor_callback,4,2           ; @monitor_callback
	.comm	_joystick_callback,4,2          ; @joystick_callback
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"hfn:"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	_optarg,4,2                     ; @optarg
	.comm	_GLFW_REFRESH_RATE,4,2          ; @GLFW_REFRESH_RATE
	.comm	_GLFW_RED_BITS,4,2              ; @GLFW_RED_BITS
	.comm	_GLFW_GREEN_BITS,4,2            ; @GLFW_GREEN_BITS
	.comm	_GLFW_BLUE_BITS,4,2             ; @GLFW_BLUE_BITS
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
l_.str.2:                               ; @.str.2
	.asciz	"Event Linter (Window %i)"

l_.str.3:                               ; @.str.3
	.asciz	"Creating full screen window %i (%ix%i on %s)\n"

l_.str.4:                               ; @.str.4
	.asciz	"Creating windowed mode window %i (%ix%i)\n"

	.comm	_window_pos_callback,4,2        ; @window_pos_callback
	.comm	_window_size_callback,4,2       ; @window_size_callback
	.comm	_framebuffer_size_callback,4,2  ; @framebuffer_size_callback
	.comm	_window_content_scale_callback,4,2 ; @window_content_scale_callback
	.comm	_window_close_callback,4,2      ; @window_close_callback
	.comm	_window_refresh_callback,4,2    ; @window_refresh_callback
	.comm	_window_focus_callback,4,2      ; @window_focus_callback
	.comm	_window_iconify_callback,4,2    ; @window_iconify_callback
	.comm	_window_maximize_callback,4,2   ; @window_maximize_callback
	.comm	_mouse_button_callback,4,2      ; @mouse_button_callback
	.comm	_cursor_position_callback,4,2   ; @cursor_position_callback
	.comm	_cursor_enter_callback,4,2      ; @cursor_enter_callback
	.comm	_scroll_callback,4,2            ; @scroll_callback
	.comm	_key_callback,4,2               ; @key_callback
	.comm	_char_callback,4,2              ; @char_callback
	.comm	_drop_callback,4,2              ; @drop_callback
	.comm	_glfwGetProcAddress,4,2         ; @glfwGetProcAddress
	.comm	_stdout,4,2                     ; @stdout
l_str:                                  ; @str
	.asciz	"Library initialized"

l_str.6:                                ; @str.6
	.asciz	"Main loop starting"

.subsections_via_symbols
