	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_pad_3btn
_read_pad_3btn:                         ## @read_pad_3btn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PicoPadInt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %eax
	notl	%eax
	andl	$64, %esi
	jne	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$48, %ecx
	andl	$3, %eax
	orl	%ecx, %eax
	jmp	LBB0_3
LBB0_1:
	andl	$63, %eax
LBB0_3:
	orl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoPadInt,8,3                 ## @PicoPadInt
	.no_dead_strip	_read_pad_3btn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_pad_3btn
_read_pad_3btn:                         ; @read_pad_3btn
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PicoPadInt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoPadInt@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
	mvn	w8, w8
	and	w9, w1, #0x40
	lsr	w10, w8, #2
	and	w10, w10, #0x30
	bfxil	w10, w8, #0, #2
	and	w8, w8, #0x3f
	tst	w1, #0x40
	csel	w8, w10, w8, eq
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoPadInt,8,3                 ; @PicoPadInt
	.no_dead_strip	_read_pad_3btn
.subsections_via_symbols
