	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInputWindowFocus          ## -- Begin function _glfwInputWindowFocus
	.p2align	4, 0x90
__glfwInputWindowFocus:                 ## @_glfwInputWindowFocus
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*%rax
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_3
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_GLFW_KEY_LAST@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	movq	_GLFW_PRESS@GOTPCREL(%rip), %r12
	movq	_GLFW_RELEASE@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rbx), %rcx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	movq	%rcx, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	__glfwPlatformGetKeyScancode
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	callq	__glfwInputKey
	movl	(%r15), %eax
	jmp	LBB0_7
LBB0_8:
	movq	_GLFW_MOUSE_BUTTON_LAST@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	xorl	%ebx, %ebx
	movq	_GLFW_PRESS@GOTPCREL(%rip), %r12
	movq	_GLFW_RELEASE@GOTPCREL(%rip), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	1(%rbx), %rcx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	movq	%rcx, %rbx
	jge	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	__glfwInputMouseClick
	movl	(%r15), %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_KEY_LAST,4,2              ## @GLFW_KEY_LAST
	.comm	_GLFW_PRESS,8,3                 ## @GLFW_PRESS
	.comm	_GLFW_RELEASE,4,2               ## @GLFW_RELEASE
	.comm	_GLFW_MOUSE_BUTTON_LAST,4,2     ## @GLFW_MOUSE_BUTTON_LAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInputWindowFocus          ; -- Begin function _glfwInputWindowFocus
	.p2align	2
__glfwInputWindowFocus:                 ; @_glfwInputWindowFocus
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_2:
	cbz	w20, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh0:
	adrp	x23, _GLFW_KEY_LAST@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GLFW_KEY_LAST@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x21, _GLFW_PRESS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GLFW_PRESS@GOTPAGEOFF]
Lloh4:
	adrp	x22, _GLFW_RELEASE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _GLFW_RELEASE@GOTPAGEOFF]
	tbnz	w8, #31, LBB0_9
; %bb.5:
	mov	x20, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	x20, w8, sxtw
	add	x20, x20, #1
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	ldr	x9, [x9, x20, lsl #3]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	__glfwPlatformGetKeyScancode
	mov	x2, x0
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #0
	bl	__glfwInputKey
	ldr	w8, [x23]
	b	LBB0_6
LBB0_9:
Lloh6:
	adrp	x23, _GLFW_MOUSE_BUTTON_LAST@GOTPAGE
Lloh7:
	ldr	x23, [x23, _GLFW_MOUSE_BUTTON_LAST@GOTPAGEOFF]
	ldr	w8, [x23]
	tbnz	w8, #31, LBB0_3
; %bb.10:
	mov	x20, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	x20, w8, sxtw
	add	x20, x20, #1
	b.ge	LBB0_3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x20, lsl #3]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	__glfwInputMouseClick
	ldr	w8, [x23]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_KEY_LAST,4,2              ; @GLFW_KEY_LAST
	.comm	_GLFW_PRESS,8,3                 ; @GLFW_PRESS
	.comm	_GLFW_RELEASE,4,2               ; @GLFW_RELEASE
	.comm	_GLFW_MOUSE_BUTTON_LAST,4,2     ; @GLFW_MOUSE_BUTTON_LAST
.subsections_via_symbols
