	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wiiu_pointer_device_state
_wiiu_pointer_device_state:             ## @wiiu_pointer_device_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	cmpl	$128, %esi
	je	LBB0_7
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	cmpl	$130, %esi
	jne	LBB0_4
## %bb.3:
	movq	(%rdi), %rax
	leaq	-4(%rbp), %rsi
	xorl	%edi, %edi
	callq	*8(%rax)
	movl	-4(%rbp), %edi
	movq	_VPAD_BUTTON_TOUCH_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIT256_GET
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_7:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	movl	$-65531, %esi                   ## imm = 0xFFFF0005
	jmp	LBB0_6
LBB0_5:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	movl	$-65532, %esi                   ## imm = 0xFFFF0004
LBB0_6:
	addq	$16, %rsp
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VPAD_BUTTON_TOUCH_BIT,4,2      ## @VPAD_BUTTON_TOUCH_BIT
	.no_dead_strip	_wiiu_pointer_device_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wiiu_pointer_device_state
_wiiu_pointer_device_state:             ; @wiiu_pointer_device_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	sub	x1, x29, #4
	mov	w0, #0
	blr	x8
	ldur	w0, [x29, #-4]
Lloh0:
	adrp	x8, _VPAD_BUTTON_TOUCH_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPAD_BUTTON_TOUCH_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_BIT256_GET
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_8
LBB0_4:
	ldr	x8, [x0]
	ldr	x2, [x8]
	mov	w0, #0
	mov	w1, #-65531
	b	LBB0_6
LBB0_5:
	ldr	x8, [x0]
	ldr	x2, [x8]
	mov	w0, #0
	mov	w1, #-65532
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	br	x2
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VPAD_BUTTON_TOUCH_BIT,4,2      ; @VPAD_BUTTON_TOUCH_BIT
	.no_dead_strip	_wiiu_pointer_device_state
.subsections_via_symbols
