	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_callback
_key_callback:                          ## @key_callback
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_13
## %bb.1:
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_13
## %bb.2:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	_GLFW_MOD_ALT@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jne	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	callq	_glfwGetWindowMonitor
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movl	_key_callback.x(%rip), %edx
	movl	_key_callback.y(%rip), %ecx
	movl	_key_callback.width(%rip), %r8d
	movl	_key_callback.height(%rip), %r9d
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_3:
	movq	_swap_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%esi
	jmp	LBB0_6
LBB0_8:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_glfwSetWindowShouldClose       ## TAILCALL
LBB0_4:
	movq	_swap_tear@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_swap_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jne	LBB0_5
## %bb.7:
	testl	%esi, %esi
	jle	LBB0_13
LBB0_5:
	decl	%esi
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_swap_interval              ## TAILCALL
LBB0_14:
	xorl	%eax, %eax
	callq	_glfwGetPrimaryMonitor
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_glfwGetVideoMode
	movq	%rax, %r15
	leaq	_key_callback.x(%rip), %rsi
	leaq	_key_callback.y(%rip), %rdx
	movq	%rbx, %rdi
	callq	_glfwGetWindowPos
	leaq	_key_callback.width(%rip), %rsi
	leaq	_key_callback.height(%rip), %rdx
	movq	%rbx, %rdi
	callq	_glfwGetWindowSize
	movl	(%r15), %r8d
	movl	4(%r15), %r9d
	movl	8(%r15), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_12:
	callq	_glfwSetWindowMonitor
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_swap_interval,4,2              ## @swap_interval
	.comm	_swap_tear,4,2                  ## @swap_tear
.zerofill __DATA,__bss,_key_callback.x,4,2 ## @key_callback.x
.zerofill __DATA,__bss,_key_callback.y,4,2 ## @key_callback.y
.zerofill __DATA,__bss,_key_callback.width,4,2 ## @key_callback.width
.zerofill __DATA,__bss,_key_callback.height,4,2 ## @key_callback.height
	.comm	_GLFW_MOD_ALT,4,2               ## @GLFW_MOD_ALT
	.no_dead_strip	_key_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_callback
_key_callback:                          ; @key_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _GLFW_PRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_PRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_14
; %bb.1:
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_14
; %bb.2:
	mov	x19, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _GLFW_MOD_ALT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_MOD_ALT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w4
	b.ne	LBB0_14
; %bb.4:
	mov	x0, x19
	bl	_glfwGetWindowMonitor
	cbz	w0, LBB0_10
; %bb.5:
Lloh8:
	adrp	x8, _key_callback.x@PAGE
Lloh9:
	ldr	w2, [x8, _key_callback.x@PAGEOFF]
Lloh10:
	adrp	x8, _key_callback.y@PAGE
Lloh11:
	ldr	w3, [x8, _key_callback.y@PAGEOFF]
Lloh12:
	adrp	x8, _key_callback.width@PAGE
Lloh13:
	ldr	w4, [x8, _key_callback.width@PAGEOFF]
Lloh14:
	adrp	x8, _key_callback.height@PAGE
Lloh15:
	ldr	w5, [x8, _key_callback.height@PAGEOFF]
	mov	x0, x19
	mov	x1, #0
	mov	w6, #0
	b	LBB0_11
LBB0_6:
Lloh16:
	adrp	x8, _swap_interval@GOTPAGE
Lloh17:
	ldr	x8, [x8, _swap_interval@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	add	w1, w8, #1
	b	LBB0_13
LBB0_7:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_glfwSetWindowShouldClose
LBB0_8:
Lloh19:
	adrp	x8, _swap_tear@GOTPAGE
Lloh20:
	ldr	x8, [x8, _swap_tear@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x8]
Lloh22:
	adrp	x8, _swap_interval@GOTPAGE
Lloh23:
	ldr	x8, [x8, _swap_interval@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cbz	w9, LBB0_12
; %bb.9:
	sub	w1, w8, #1
	b	LBB0_13
LBB0_10:
	bl	_glfwGetPrimaryMonitor
	mov	x20, x0
	bl	_glfwGetVideoMode
	mov	x21, x0
Lloh25:
	adrp	x1, _key_callback.x@PAGE
Lloh26:
	add	x1, x1, _key_callback.x@PAGEOFF
Lloh27:
	adrp	x2, _key_callback.y@PAGE
Lloh28:
	add	x2, x2, _key_callback.y@PAGEOFF
	mov	x0, x19
	bl	_glfwGetWindowPos
Lloh29:
	adrp	x1, _key_callback.width@PAGE
Lloh30:
	add	x1, x1, _key_callback.width@PAGEOFF
Lloh31:
	adrp	x2, _key_callback.height@PAGE
Lloh32:
	add	x2, x2, _key_callback.height@PAGEOFF
	mov	x0, x19
	bl	_glfwGetWindowSize
	ldp	w4, w5, [x21]
	ldr	w6, [x21, #8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_glfwSetWindowMonitor
LBB0_12:
	subs	w1, w8, #1
	b.lt	LBB0_14
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_swap_interval
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_swap_interval,4,2              ; @swap_interval
	.comm	_swap_tear,4,2                  ; @swap_tear
.zerofill __DATA,__bss,_key_callback.x,4,2 ; @key_callback.x
.zerofill __DATA,__bss,_key_callback.y,4,2 ; @key_callback.y
.zerofill __DATA,__bss,_key_callback.width,4,2 ; @key_callback.width
.zerofill __DATA,__bss,_key_callback.height,4,2 ; @key_callback.height
	.comm	_GLFW_MOD_ALT,4,2               ; @GLFW_MOD_ALT
	.no_dead_strip	_key_callback
.subsections_via_symbols
