	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wayplay_1_write                ## -- Begin function wayplay_1_write
	.p2align	4, 0x90
_wayplay_1_write:                       ## @wayplay_1_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_pad_index@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	$3, %edi
	jg	LBB0_1
## %bb.2:
	movzbl	%al, %eax
	movzbl	%sil, %edx
	movl	%eax, %esi
	popq	%rbp
	jmp	_gamepad_write                  ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pad_index,4,2                  ## @pad_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wayplay_1_write                ; -- Begin function wayplay_1_write
	.p2align	2
_wayplay_1_write:                       ; @wayplay_1_write
	.cfi_startproc
; %bb.0:
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _pad_index@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pad_index@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	cmp	w0, #3
	b.gt	LBB0_2
; %bb.1:
	b	_gamepad_write
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pad_index,4,2                  ; @pad_index
.subsections_via_symbols
