	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xdk_input_get_capabilities
_xdk_input_get_capabilities:            ## @xdk_input_get_capabilities
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RETRO_DEVICE_JOYPAD@GOTPCREL(%rip), %rax
	movb	(%rax), %dl
	movq	_RETRO_DEVICE_ANALOG@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	btsl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETRO_DEVICE_JOYPAD,4,2        ## @RETRO_DEVICE_JOYPAD
	.comm	_RETRO_DEVICE_ANALOG,4,2        ## @RETRO_DEVICE_ANALOG
	.no_dead_strip	_xdk_input_get_capabilities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xdk_input_get_capabilities
_xdk_input_get_capabilities:            ; @xdk_input_get_capabilities
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RETRO_DEVICE_JOYPAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETRO_DEVICE_JOYPAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _RETRO_DEVICE_ANALOG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RETRO_DEVICE_ANALOG@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RETRO_DEVICE_JOYPAD,4,2        ; @RETRO_DEVICE_JOYPAD
	.comm	_RETRO_DEVICE_ANALOG,4,2        ; @RETRO_DEVICE_ANALOG
	.no_dead_strip	_xdk_input_get_capabilities
.subsections_via_symbols
