	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uwp_input_get_capabilities
_uwp_input_get_capabilities:            ## @uwp_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_MOUSE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movq	_RETRO_DEVICE_JOYPAD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_RETRO_DEVICE_KEYBOARD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_RETRO_DEVICE_POINTER@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_RETRO_DEVICE_ANALOG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETRO_DEVICE_JOYPAD,4,2        ## @RETRO_DEVICE_JOYPAD
	.comm	_RETRO_DEVICE_MOUSE,4,2         ## @RETRO_DEVICE_MOUSE
	.comm	_RETRO_DEVICE_KEYBOARD,4,2      ## @RETRO_DEVICE_KEYBOARD
	.comm	_RETRO_DEVICE_POINTER,4,2       ## @RETRO_DEVICE_POINTER
	.comm	_RETRO_DEVICE_ANALOG,4,2        ## @RETRO_DEVICE_ANALOG
	.no_dead_strip	_uwp_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 uwp_input_get_capabilities
_uwp_input_get_capabilities:            ; @uwp_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_MOUSE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RETRO_DEVICE_MOUSE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh6:
	adrp	x10, _RETRO_DEVICE_KEYBOARD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RETRO_DEVICE_KEYBOARD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh9:
	adrp	x10, _RETRO_DEVICE_POINTER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RETRO_DEVICE_POINTER@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh12:
	adrp	x10, _RETRO_DEVICE_ANALOG@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RETRO_DEVICE_ANALOG@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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_MOUSE,4,2         ; @RETRO_DEVICE_MOUSE
	.comm	_RETRO_DEVICE_KEYBOARD,4,2      ; @RETRO_DEVICE_KEYBOARD
	.comm	_RETRO_DEVICE_POINTER,4,2       ; @RETRO_DEVICE_POINTER
	.comm	_RETRO_DEVICE_ANALOG,4,2        ; @RETRO_DEVICE_ANALOG
	.no_dead_strip	_uwp_input_get_capabilities
.subsections_via_symbols
