	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isValidElementForJoystick
_isValidElementForJoystick:             ## @isValidElementForJoystick
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	__GLFW_JOYSTICK_HATBIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	8(%rdi), %ecx
	sarl	$4, %ecx
	cmpl	(%rsi), %ecx
	jge	LBB0_9
LBB0_2:
	movq	__GLFW_JOYSTICK_BUTTON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	8(%rdi), %ecx
	cmpl	4(%rsi), %ecx
	jge	LBB0_9
LBB0_4:
	movq	__GLFW_JOYSTICK_AXIS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movl	8(%rdi), %eax
	cmpl	8(%rsi), %eax
	jge	LBB0_9
LBB0_6:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__GLFW_JOYSTICK_HATBIT,8,3      ## @_GLFW_JOYSTICK_HATBIT
	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	__GLFW_JOYSTICK_BUTTON,8,3      ## @_GLFW_JOYSTICK_BUTTON
	.comm	__GLFW_JOYSTICK_AXIS,8,3        ## @_GLFW_JOYSTICK_AXIS
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.no_dead_strip	_isValidElementForJoystick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isValidElementForJoystick
_isValidElementForJoystick:             ; @isValidElementForJoystick
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, __GLFW_JOYSTICK_HATBIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, __GLFW_JOYSTICK_HATBIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [x0, #8]
	ldr	w10, [x1]
	cmp	w10, w9, asr #4
	b.le	LBB0_7
LBB0_2:
Lloh3:
	adrp	x9, __GLFW_JOYSTICK_BUTTON@GOTPAGE
Lloh4:
	ldr	x9, [x9, __GLFW_JOYSTICK_BUTTON@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x0, #8]
	ldr	w10, [x1, #4]
	cmp	w9, w10
	b.ge	LBB0_7
LBB0_4:
Lloh6:
	adrp	x9, __GLFW_JOYSTICK_AXIS@GOTPAGE
Lloh7:
	ldr	x9, [x9, __GLFW_JOYSTICK_AXIS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x0, #8]
	ldr	w9, [x1, #8]
	cmp	w8, w9
	b.ge	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh12:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	__GLFW_JOYSTICK_HATBIT,8,3      ; @_GLFW_JOYSTICK_HATBIT
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	__GLFW_JOYSTICK_BUTTON,8,3      ; @_GLFW_JOYSTICK_BUTTON
	.comm	__GLFW_JOYSTICK_AXIS,8,3        ; @_GLFW_JOYSTICK_AXIS
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.no_dead_strip	_isValidElementForJoystick
.subsections_via_symbols
