	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gamepad_refresh                ## -- Begin function gamepad_refresh
	.p2align	4, 0x90
_gamepad_refresh:                       ## @gamepad_refresh
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gamepad@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rax,%rcx)
	cmpq	$26, %rdx
	jl	LBB0_2
## %bb.1:
	addq	%rcx, %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gamepad,8,3                    ## @gamepad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gamepad_refresh                ; -- Begin function gamepad_refresh
	.p2align	2
_gamepad_refresh:                       ; @gamepad_refresh
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _gamepad@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gamepad@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw #4
	ldr	x9, [x8]
	add	x10, x9, #1
	str	x10, [x8]
	cmp	x9, #26
	b.lt	LBB0_2
; %bb.1:
	stp	xzr, xzr, [x8]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gamepad,8,3                    ; @gamepad
.subsections_via_symbols
