	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctr_joypad_poll
_ctr_joypad_poll:                       ## @ctr_joypad_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_hidScanInput
	xorl	%eax, %eax
	callq	_hidKeysHeld
	movl	%eax, %r12d
	leaq	-64(%rbp), %rdi
	callq	_hidCircleRead
	leaq	-56(%rbp), %rdi
	callq	_irrstCstickRead
	leaq	-48(%rbp), %rdi
	callq	_hidTouchRead
	movq	_KEY_DLEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_RETRO_DEVICE_ID_JOYPAD_LEFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	movq	_KEY_DDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%r12d, %esi
	movq	_RETRO_DEVICE_ID_JOYPAD_DOWN@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	testl	%esi, %esi
	cmovel	%esi, %eax
	orl	%edx, %eax
	movq	_KEY_DRIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_RIGHT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	andl	%r12d, %edx
	testl	%edx, %edx
	cmovel	%edx, %esi
	movq	_KEY_DUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_RETRO_DEVICE_ID_JOYPAD_UP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	andl	%r12d, %edi
	testl	%edi, %edi
	cmovel	%edi, %edx
	orl	%esi, %edx
	orl	%eax, %edx
	movq	_KEY_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_RETRO_DEVICE_ID_JOYPAD_START@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	testl	%eax, %eax
	cmovel	%eax, %esi
	movq	_KEY_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_RETRO_DEVICE_ID_JOYPAD_SELECT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	testl	%eax, %eax
	cmovel	%eax, %edi
	orl	%esi, %edi
	movq	_KEY_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RETRO_DEVICE_ID_JOYPAD_X@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	andl	%r12d, %esi
	testl	%esi, %esi
	cmovel	%esi, %eax
	orl	%edi, %eax
	orl	%edx, %eax
	movq	_KEY_Y@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r12d, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_Y@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	testl	%edx, %edx
	cmovel	%edx, %esi
	movq	_KEY_B@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r12d, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_B@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	testl	%edx, %edx
	cmovel	%edx, %edi
	orl	%esi, %edi
	movq	_KEY_A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r12d, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_A@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %ebx
	shll	%cl, %ebx
	testl	%edx, %edx
	cmovel	%edx, %ebx
	orl	%edi, %ebx
	movq	_KEY_R@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_RETRO_DEVICE_ID_JOYPAD_R@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	andl	%r12d, %esi
	testl	%esi, %esi
	cmovel	%esi, %edx
	movl	$1, %esi
	orl	%ebx, %edx
	orl	%eax, %edx
	movq	_KEY_L@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_RETRO_DEVICE_ID_JOYPAD_L@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	testl	%eax, %eax
	cmovel	%eax, %edi
	movq	_KEY_ZR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_RETRO_DEVICE_ID_JOYPAD_R2@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %ebx
	shll	%cl, %ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	orl	%edi, %ebx
	movq	_KEY_ZL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movq	_RETRO_DEVICE_ID_JOYPAD_L2@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	testl	%eax, %eax
	cmovel	%eax, %esi
	orl	%ebx, %esi
	orl	%edx, %esi
	movq	_pad_state@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movl	-60(%rbp), %edi
	callq	_ctr_joypad_fix_range
	movq	_analog_state@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	_RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_RETRO_DEVICE_ID_ANALOG_X@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	-64(%rbp), %edi
	callq	_ctr_joypad_fix_range
	negl	%eax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_RETRO_DEVICE_ID_ANALOG_Y@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	-52(%rbp), %edi
	callq	_ctr_joypad_fix_range
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	_RETRO_DEVICE_INDEX_ANALOG_RIGHT@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	-56(%rbp), %edi
	callq	_ctr_joypad_fix_range
	negl	%eax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rbx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_lifecycle_state@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_RARCH_MENU_TOGGLE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_BIT64_CLEAR
	movq	_KEY_TOUCH@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.1:
	cmpl	$121, -48(%rbp)
	jl	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_BIT64_SET
LBB0_3:
	movq	_KEY_START@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.4:
	movq	_KEY_SELECT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.5:
	movq	_KEY_L@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_KEY_R@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_CMD_EVENT_QUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_command_event
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pad_state,4,2                  ## @pad_state
	.comm	_KEY_DLEFT,4,2                  ## @KEY_DLEFT
	.comm	_RETRO_DEVICE_ID_JOYPAD_LEFT,4,2 ## @RETRO_DEVICE_ID_JOYPAD_LEFT
	.comm	_KEY_DDOWN,4,2                  ## @KEY_DDOWN
	.comm	_RETRO_DEVICE_ID_JOYPAD_DOWN,4,2 ## @RETRO_DEVICE_ID_JOYPAD_DOWN
	.comm	_KEY_DRIGHT,4,2                 ## @KEY_DRIGHT
	.comm	_RETRO_DEVICE_ID_JOYPAD_RIGHT,4,2 ## @RETRO_DEVICE_ID_JOYPAD_RIGHT
	.comm	_KEY_DUP,4,2                    ## @KEY_DUP
	.comm	_RETRO_DEVICE_ID_JOYPAD_UP,4,2  ## @RETRO_DEVICE_ID_JOYPAD_UP
	.comm	_KEY_START,4,2                  ## @KEY_START
	.comm	_RETRO_DEVICE_ID_JOYPAD_START,4,2 ## @RETRO_DEVICE_ID_JOYPAD_START
	.comm	_KEY_SELECT,4,2                 ## @KEY_SELECT
	.comm	_RETRO_DEVICE_ID_JOYPAD_SELECT,4,2 ## @RETRO_DEVICE_ID_JOYPAD_SELECT
	.comm	_KEY_X,4,2                      ## @KEY_X
	.comm	_RETRO_DEVICE_ID_JOYPAD_X,4,2   ## @RETRO_DEVICE_ID_JOYPAD_X
	.comm	_KEY_Y,4,2                      ## @KEY_Y
	.comm	_RETRO_DEVICE_ID_JOYPAD_Y,4,2   ## @RETRO_DEVICE_ID_JOYPAD_Y
	.comm	_KEY_B,4,2                      ## @KEY_B
	.comm	_RETRO_DEVICE_ID_JOYPAD_B,4,2   ## @RETRO_DEVICE_ID_JOYPAD_B
	.comm	_KEY_A,4,2                      ## @KEY_A
	.comm	_RETRO_DEVICE_ID_JOYPAD_A,4,2   ## @RETRO_DEVICE_ID_JOYPAD_A
	.comm	_KEY_R,4,2                      ## @KEY_R
	.comm	_RETRO_DEVICE_ID_JOYPAD_R,4,2   ## @RETRO_DEVICE_ID_JOYPAD_R
	.comm	_KEY_L,4,2                      ## @KEY_L
	.comm	_RETRO_DEVICE_ID_JOYPAD_L,4,2   ## @RETRO_DEVICE_ID_JOYPAD_L
	.comm	_KEY_ZR,4,2                     ## @KEY_ZR
	.comm	_RETRO_DEVICE_ID_JOYPAD_R2,4,2  ## @RETRO_DEVICE_ID_JOYPAD_R2
	.comm	_KEY_ZL,4,2                     ## @KEY_ZL
	.comm	_RETRO_DEVICE_ID_JOYPAD_L2,4,2  ## @RETRO_DEVICE_ID_JOYPAD_L2
	.comm	_analog_state,8,3               ## @analog_state
	.comm	_RETRO_DEVICE_INDEX_ANALOG_LEFT,8,3 ## @RETRO_DEVICE_INDEX_ANALOG_LEFT
	.comm	_RETRO_DEVICE_ID_ANALOG_X,8,3   ## @RETRO_DEVICE_ID_ANALOG_X
	.comm	_RETRO_DEVICE_ID_ANALOG_Y,8,3   ## @RETRO_DEVICE_ID_ANALOG_Y
	.comm	_RETRO_DEVICE_INDEX_ANALOG_RIGHT,8,3 ## @RETRO_DEVICE_INDEX_ANALOG_RIGHT
	.comm	_lifecycle_state,4,2            ## @lifecycle_state
	.comm	_RARCH_MENU_TOGGLE,4,2          ## @RARCH_MENU_TOGGLE
	.comm	_KEY_TOUCH,4,2                  ## @KEY_TOUCH
	.comm	_CMD_EVENT_QUIT,4,2             ## @CMD_EVENT_QUIT
	.no_dead_strip	_ctr_joypad_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctr_joypad_poll
_ctr_joypad_poll:                       ; @ctr_joypad_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_hidScanInput
	bl	_hidKeysHeld
	mov	x19, x0
	add	x0, sp, #24
	bl	_hidCircleRead
	add	x0, sp, #16
	bl	_irrstCstickRead
	add	x0, sp, #8
	bl	_hidTouchRead
Lloh0:
	adrp	x8, _KEY_DLEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_DLEFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_LEFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	mov	w8, #1
	lsl	w10, w8, w10
	tst	w9, w19
	csel	w9, wzr, w10, eq
Lloh6:
	adrp	x10, _KEY_DDOWN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _KEY_DDOWN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_DOWN@GOTPAGE
Lloh10:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_DOWN@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _KEY_DRIGHT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _KEY_DRIGHT@GOTPAGEOFF]
Lloh14:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_RIGHT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_RIGHT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh18:
	adrp	x10, _KEY_DUP@GOTPAGE
Lloh19:
	ldr	x10, [x10, _KEY_DUP@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_UP@GOTPAGE
Lloh22:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_UP@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh24:
	adrp	x20, _KEY_START@GOTPAGE
Lloh25:
	ldr	x20, [x20, _KEY_START@GOTPAGEOFF]
	ldr	w10, [x20]
Lloh26:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_START@GOTPAGE
Lloh27:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_START@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh29:
	adrp	x21, _KEY_SELECT@GOTPAGE
Lloh30:
	ldr	x21, [x21, _KEY_SELECT@GOTPAGEOFF]
Lloh31:
	adrp	x10, _RETRO_DEVICE_ID_JOYPAD_SELECT@GOTPAGE
Lloh32:
	ldr	x10, [x10, _RETRO_DEVICE_ID_JOYPAD_SELECT@GOTPAGEOFF]
	ldr	w11, [x21]
Lloh33:
	ldr	w10, [x10]
	lsl	w10, w8, w10
	tst	w11, w19
	csel	w10, wzr, w10, eq
	orr	w9, w10, w9
Lloh34:
	adrp	x10, _KEY_X@GOTPAGE
Lloh35:
	ldr	x10, [x10, _KEY_X@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
Lloh37:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_X@GOTPAGE
Lloh38:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_X@GOTPAGEOFF]
Lloh39:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh40:
	adrp	x10, _KEY_Y@GOTPAGE
Lloh41:
	ldr	x10, [x10, _KEY_Y@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
Lloh43:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_Y@GOTPAGE
Lloh44:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_Y@GOTPAGEOFF]
Lloh45:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh46:
	adrp	x10, _KEY_B@GOTPAGE
Lloh47:
	ldr	x10, [x10, _KEY_B@GOTPAGEOFF]
Lloh48:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_B@GOTPAGE
Lloh49:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_B@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
Lloh51:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh52:
	adrp	x10, _KEY_A@GOTPAGE
Lloh53:
	ldr	x10, [x10, _KEY_A@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
Lloh55:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_A@GOTPAGE
Lloh56:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_A@GOTPAGEOFF]
Lloh57:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh58:
	adrp	x22, _KEY_R@GOTPAGE
Lloh59:
	ldr	x22, [x22, _KEY_R@GOTPAGEOFF]
	ldr	w10, [x22]
Lloh60:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_R@GOTPAGE
Lloh61:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_R@GOTPAGEOFF]
Lloh62:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh63:
	adrp	x23, _KEY_L@GOTPAGE
Lloh64:
	ldr	x23, [x23, _KEY_L@GOTPAGEOFF]
Lloh65:
	adrp	x10, _RETRO_DEVICE_ID_JOYPAD_L@GOTPAGE
Lloh66:
	ldr	x10, [x10, _RETRO_DEVICE_ID_JOYPAD_L@GOTPAGEOFF]
	ldr	w11, [x23]
Lloh67:
	ldr	w10, [x10]
	lsl	w10, w8, w10
	tst	w11, w19
	csel	w10, wzr, w10, eq
	orr	w9, w10, w9
Lloh68:
	adrp	x10, _KEY_ZR@GOTPAGE
Lloh69:
	ldr	x10, [x10, _KEY_ZR@GOTPAGEOFF]
Lloh70:
	ldr	w10, [x10]
Lloh71:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_R2@GOTPAGE
Lloh72:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_R2@GOTPAGEOFF]
Lloh73:
	ldr	w11, [x11]
	lsl	w11, w8, w11
	tst	w10, w19
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh74:
	adrp	x10, _KEY_ZL@GOTPAGE
Lloh75:
	ldr	x10, [x10, _KEY_ZL@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x10]
Lloh77:
	adrp	x11, _RETRO_DEVICE_ID_JOYPAD_L2@GOTPAGE
Lloh78:
	ldr	x11, [x11, _RETRO_DEVICE_ID_JOYPAD_L2@GOTPAGEOFF]
Lloh79:
	ldr	w11, [x11]
	lsl	w8, w8, w11
	tst	w10, w19
	csel	w8, wzr, w8, eq
	orr	w8, w8, w9
Lloh80:
	adrp	x9, _pad_state@GOTPAGE
Lloh81:
	ldr	x9, [x9, _pad_state@GOTPAGEOFF]
Lloh82:
	str	w8, [x9]
	ldr	w0, [sp, #28]
	bl	_ctr_joypad_fix_range
Lloh83:
	adrp	x24, _analog_state@GOTPAGE
Lloh84:
	ldr	x24, [x24, _analog_state@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x8]
Lloh85:
	adrp	x25, _RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPAGE
Lloh86:
	ldr	x25, [x25, _RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	x8, [x8, x9, lsl #3]
Lloh87:
	adrp	x26, _RETRO_DEVICE_ID_ANALOG_X@GOTPAGE
Lloh88:
	ldr	x26, [x26, _RETRO_DEVICE_ID_ANALOG_X@GOTPAGEOFF]
	ldr	x9, [x26]
	str	w0, [x8, x9, lsl #2]
	ldr	w0, [sp, #24]
	bl	_ctr_joypad_fix_range
	neg	w8, w0
	ldr	x9, [x24]
	ldr	x9, [x9]
	ldr	x10, [x25]
	ldr	x9, [x9, x10, lsl #3]
Lloh89:
	adrp	x25, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGE
Lloh90:
	ldr	x25, [x25, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGEOFF]
	ldr	x10, [x25]
	str	w8, [x9, x10, lsl #2]
	ldr	w0, [sp, #20]
	bl	_ctr_joypad_fix_range
	ldr	x8, [x24]
	ldr	x8, [x8]
Lloh91:
	adrp	x27, _RETRO_DEVICE_INDEX_ANALOG_RIGHT@GOTPAGE
Lloh92:
	ldr	x27, [x27, _RETRO_DEVICE_INDEX_ANALOG_RIGHT@GOTPAGEOFF]
	ldr	x9, [x27]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x26]
	str	w0, [x8, x9, lsl #2]
	ldr	w0, [sp, #16]
	bl	_ctr_joypad_fix_range
	neg	w8, w0
	ldr	x9, [x24]
	ldr	x9, [x9]
	ldr	x10, [x27]
	ldr	x9, [x9, x10, lsl #3]
	ldr	x10, [x25]
	str	w8, [x9, x10, lsl #2]
Lloh93:
	adrp	x24, _lifecycle_state@GOTPAGE
Lloh94:
	ldr	x24, [x24, _lifecycle_state@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh95:
	adrp	x25, _RARCH_MENU_TOGGLE@GOTPAGE
Lloh96:
	ldr	x25, [x25, _RARCH_MENU_TOGGLE@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_BIT64_CLEAR
Lloh97:
	adrp	x8, _KEY_TOUCH@GOTPAGE
Lloh98:
	ldr	x8, [x8, _KEY_TOUCH@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #121
	b.lt	LBB0_3
; %bb.2:
	ldr	w0, [x24]
	ldr	w1, [x25]
	bl	_BIT64_SET
LBB0_3:
	ldr	w8, [x20]
	tst	w8, w19
	b.eq	LBB0_8
; %bb.4:
	ldr	w8, [x21]
	tst	w8, w19
	b.eq	LBB0_8
; %bb.5:
	ldr	w8, [x23]
	tst	w8, w19
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x22]
	tst	w8, w19
	b.eq	LBB0_8
; %bb.7:
Lloh100:
	adrp	x8, _CMD_EVENT_QUIT@GOTPAGE
Lloh101:
	ldr	x8, [x8, _CMD_EVENT_QUIT@GOTPAGEOFF]
Lloh102:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_command_event
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotStr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh50
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.comm	_pad_state,4,2                  ; @pad_state
	.comm	_KEY_DLEFT,4,2                  ; @KEY_DLEFT
	.comm	_RETRO_DEVICE_ID_JOYPAD_LEFT,4,2 ; @RETRO_DEVICE_ID_JOYPAD_LEFT
	.comm	_KEY_DDOWN,4,2                  ; @KEY_DDOWN
	.comm	_RETRO_DEVICE_ID_JOYPAD_DOWN,4,2 ; @RETRO_DEVICE_ID_JOYPAD_DOWN
	.comm	_KEY_DRIGHT,4,2                 ; @KEY_DRIGHT
	.comm	_RETRO_DEVICE_ID_JOYPAD_RIGHT,4,2 ; @RETRO_DEVICE_ID_JOYPAD_RIGHT
	.comm	_KEY_DUP,4,2                    ; @KEY_DUP
	.comm	_RETRO_DEVICE_ID_JOYPAD_UP,4,2  ; @RETRO_DEVICE_ID_JOYPAD_UP
	.comm	_KEY_START,4,2                  ; @KEY_START
	.comm	_RETRO_DEVICE_ID_JOYPAD_START,4,2 ; @RETRO_DEVICE_ID_JOYPAD_START
	.comm	_KEY_SELECT,4,2                 ; @KEY_SELECT
	.comm	_RETRO_DEVICE_ID_JOYPAD_SELECT,4,2 ; @RETRO_DEVICE_ID_JOYPAD_SELECT
	.comm	_KEY_X,4,2                      ; @KEY_X
	.comm	_RETRO_DEVICE_ID_JOYPAD_X,4,2   ; @RETRO_DEVICE_ID_JOYPAD_X
	.comm	_KEY_Y,4,2                      ; @KEY_Y
	.comm	_RETRO_DEVICE_ID_JOYPAD_Y,4,2   ; @RETRO_DEVICE_ID_JOYPAD_Y
	.comm	_KEY_B,4,2                      ; @KEY_B
	.comm	_RETRO_DEVICE_ID_JOYPAD_B,4,2   ; @RETRO_DEVICE_ID_JOYPAD_B
	.comm	_KEY_A,4,2                      ; @KEY_A
	.comm	_RETRO_DEVICE_ID_JOYPAD_A,4,2   ; @RETRO_DEVICE_ID_JOYPAD_A
	.comm	_KEY_R,4,2                      ; @KEY_R
	.comm	_RETRO_DEVICE_ID_JOYPAD_R,4,2   ; @RETRO_DEVICE_ID_JOYPAD_R
	.comm	_KEY_L,4,2                      ; @KEY_L
	.comm	_RETRO_DEVICE_ID_JOYPAD_L,4,2   ; @RETRO_DEVICE_ID_JOYPAD_L
	.comm	_KEY_ZR,4,2                     ; @KEY_ZR
	.comm	_RETRO_DEVICE_ID_JOYPAD_R2,4,2  ; @RETRO_DEVICE_ID_JOYPAD_R2
	.comm	_KEY_ZL,4,2                     ; @KEY_ZL
	.comm	_RETRO_DEVICE_ID_JOYPAD_L2,4,2  ; @RETRO_DEVICE_ID_JOYPAD_L2
	.comm	_analog_state,8,3               ; @analog_state
	.comm	_RETRO_DEVICE_INDEX_ANALOG_LEFT,8,3 ; @RETRO_DEVICE_INDEX_ANALOG_LEFT
	.comm	_RETRO_DEVICE_ID_ANALOG_X,8,3   ; @RETRO_DEVICE_ID_ANALOG_X
	.comm	_RETRO_DEVICE_ID_ANALOG_Y,8,3   ; @RETRO_DEVICE_ID_ANALOG_Y
	.comm	_RETRO_DEVICE_INDEX_ANALOG_RIGHT,8,3 ; @RETRO_DEVICE_INDEX_ANALOG_RIGHT
	.comm	_lifecycle_state,4,2            ; @lifecycle_state
	.comm	_RARCH_MENU_TOGGLE,4,2          ; @RARCH_MENU_TOGGLE
	.comm	_KEY_TOUCH,4,2                  ; @KEY_TOUCH
	.comm	_CMD_EVENT_QUIT,4,2             ; @CMD_EVENT_QUIT
	.no_dead_strip	_ctr_joypad_poll
.subsections_via_symbols
