	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidpad_wii_get_axis
_hidpad_wii_get_axis:                   ## @hidpad_wii_get_axis
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	cmpl	$128, (%rdi)
	jne	LBB0_4
## %bb.2:
	cmpl	$3, %esi
	ja	LBB0_4
## %bb.3:
	movl	%esi, %eax
	shlq	$2, %rax
	subq	%rax, %rdi
	movl	16(%rdi), %ecx
	movl	%ecx, %eax
	shll	$15, %eax
	subl	%ecx, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hidpad_wii_get_axis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidpad_wii_get_axis
_hidpad_wii_get_axis:                   ; @hidpad_wii_get_axis
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #128
	ccmp	w1, #3, #2, eq
	b.ls	LBB0_3
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	sub	x8, x0, w1, uxtw #2
	ldr	w8, [x8, #16]
	lsl	w9, w8, #15
	sub	w0, w9, w8
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hidpad_wii_get_axis
.subsections_via_symbols
