	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps4_joypad_poll
_ps4_joypad_poll:                       ## @ps4_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_num_players@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testq	%r15, %r15
	je	LBB0_37
## %bb.1:
	shlq	$2, %r15
	xorl	%ebx, %ebx
	movq	_ds_joypad_states@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r12
	movq	_pad_state@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ds_joypad_states@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r12
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rbx
	cmpq	%rbx, %r15
	je	LBB0_37
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx), %edi
	movq	%r12, %rsi
	callq	_scePadReadState
	testl	%eax, %eax
	jne	LBB0_36
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %r14d
	movq	(%r13), %rcx
	movl	$0, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %eax
	movq	_ORBISPAD_LEFT@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movq	_RETRO_DEVICE_ID_JOYPAD_LEFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %eax
	movq	(%r13), %rcx
	orl	(%rcx,%rbx), %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_DOWN@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_DOWN@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %edx
	movq	_ORBISPAD_RIGHT@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_RIGHT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%edx, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_UP@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_UP@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %edx
	movq	_ORBISPAD_OPTIONS@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_START@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%edx, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_TOUCH_PAD@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_SELECT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %edx
	movq	_ORBISPAD_TRIANGLE@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_X@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%edx, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_SQUARE@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_Y@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %edx
	movq	_ORBISPAD_CROSS@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_B@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%edx, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_CIRCLE@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_A@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %edx
	movq	_ORBISPAD_R1@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_R@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%edx, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_L1@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_L@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %edx
	movq	_ORBISPAD_R2@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_R2@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%edx, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_L2@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_L2@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%r12d, %eax
	movl	%eax, (%rcx,%rbx)
	xorl	%r12d, %r12d
	movl	$0, %edx
	movq	_ORBISPAD_R3@GOTPCREL(%rip), %rsi
	testl	%r14d, (%rsi)
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %edx
	movq	_RETRO_DEVICE_ID_JOYPAD_R3@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edx
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%edx, %eax
	movl	%eax, (%rcx,%rbx)
	movq	_ORBISPAD_L3@GOTPCREL(%rip), %rdx
	testl	%r14d, (%rdx)
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%eax, %r12d
	movq	_RETRO_DEVICE_ID_JOYPAD_L3@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %r12d
	movq	(%r13), %rcx
	movl	(%rcx,%rbx), %eax
	jmp	LBB0_35
LBB0_37:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_players,4,2                ## @num_players
	.comm	_ds_joypad_states,8,3           ## @ds_joypad_states
	.comm	_pad_state,8,3                  ## @pad_state
	.comm	_ORBISPAD_LEFT,4,2              ## @ORBISPAD_LEFT
	.comm	_RETRO_DEVICE_ID_JOYPAD_LEFT,4,2 ## @RETRO_DEVICE_ID_JOYPAD_LEFT
	.comm	_ORBISPAD_DOWN,4,2              ## @ORBISPAD_DOWN
	.comm	_RETRO_DEVICE_ID_JOYPAD_DOWN,4,2 ## @RETRO_DEVICE_ID_JOYPAD_DOWN
	.comm	_ORBISPAD_RIGHT,4,2             ## @ORBISPAD_RIGHT
	.comm	_RETRO_DEVICE_ID_JOYPAD_RIGHT,4,2 ## @RETRO_DEVICE_ID_JOYPAD_RIGHT
	.comm	_ORBISPAD_UP,4,2                ## @ORBISPAD_UP
	.comm	_RETRO_DEVICE_ID_JOYPAD_UP,4,2  ## @RETRO_DEVICE_ID_JOYPAD_UP
	.comm	_ORBISPAD_OPTIONS,4,2           ## @ORBISPAD_OPTIONS
	.comm	_RETRO_DEVICE_ID_JOYPAD_START,4,2 ## @RETRO_DEVICE_ID_JOYPAD_START
	.comm	_ORBISPAD_TOUCH_PAD,4,2         ## @ORBISPAD_TOUCH_PAD
	.comm	_RETRO_DEVICE_ID_JOYPAD_SELECT,4,2 ## @RETRO_DEVICE_ID_JOYPAD_SELECT
	.comm	_ORBISPAD_TRIANGLE,4,2          ## @ORBISPAD_TRIANGLE
	.comm	_RETRO_DEVICE_ID_JOYPAD_X,4,2   ## @RETRO_DEVICE_ID_JOYPAD_X
	.comm	_ORBISPAD_SQUARE,4,2            ## @ORBISPAD_SQUARE
	.comm	_RETRO_DEVICE_ID_JOYPAD_Y,4,2   ## @RETRO_DEVICE_ID_JOYPAD_Y
	.comm	_ORBISPAD_CROSS,4,2             ## @ORBISPAD_CROSS
	.comm	_RETRO_DEVICE_ID_JOYPAD_B,4,2   ## @RETRO_DEVICE_ID_JOYPAD_B
	.comm	_ORBISPAD_CIRCLE,4,2            ## @ORBISPAD_CIRCLE
	.comm	_RETRO_DEVICE_ID_JOYPAD_A,4,2   ## @RETRO_DEVICE_ID_JOYPAD_A
	.comm	_ORBISPAD_R1,4,2                ## @ORBISPAD_R1
	.comm	_RETRO_DEVICE_ID_JOYPAD_R,4,2   ## @RETRO_DEVICE_ID_JOYPAD_R
	.comm	_ORBISPAD_L1,4,2                ## @ORBISPAD_L1
	.comm	_RETRO_DEVICE_ID_JOYPAD_L,4,2   ## @RETRO_DEVICE_ID_JOYPAD_L
	.comm	_ORBISPAD_R2,4,2                ## @ORBISPAD_R2
	.comm	_RETRO_DEVICE_ID_JOYPAD_R2,4,2  ## @RETRO_DEVICE_ID_JOYPAD_R2
	.comm	_ORBISPAD_L2,4,2                ## @ORBISPAD_L2
	.comm	_RETRO_DEVICE_ID_JOYPAD_L2,4,2  ## @RETRO_DEVICE_ID_JOYPAD_L2
	.comm	_ORBISPAD_R3,4,2                ## @ORBISPAD_R3
	.comm	_RETRO_DEVICE_ID_JOYPAD_R3,4,2  ## @RETRO_DEVICE_ID_JOYPAD_R3
	.comm	_ORBISPAD_L3,4,2                ## @ORBISPAD_L3
	.comm	_RETRO_DEVICE_ID_JOYPAD_L3,4,2  ## @RETRO_DEVICE_ID_JOYPAD_L3
	.no_dead_strip	_ps4_joypad_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps4_joypad_poll
_ps4_joypad_poll:                       ; @ps4_joypad_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _num_players@GOTPAGE
Lloh1:
	ldr	x8, [x8, _num_players@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_53
; %bb.1:
	mov	x19, #0
Lloh3:
	adrp	x20, _ds_joypad_states@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ds_joypad_states@GOTPAGEOFF]
Lloh5:
	adrp	x21, _pad_state@GOTPAGE
Lloh6:
	ldr	x21, [x21, _pad_state@GOTPAGEOFF]
	lsl	x22, x8, #2
Lloh7:
	adrp	x28, _ORBISPAD_L1@GOTPAGE
Lloh8:
	ldr	x28, [x28, _ORBISPAD_L1@GOTPAGEOFF]
Lloh9:
	adrp	x23, _ORBISPAD_R2@GOTPAGE
Lloh10:
	ldr	x23, [x23, _ORBISPAD_R2@GOTPAGEOFF]
Lloh11:
	adrp	x24, _ORBISPAD_L2@GOTPAGE
Lloh12:
	ldr	x24, [x24, _ORBISPAD_L2@GOTPAGEOFF]
Lloh13:
	adrp	x25, _ORBISPAD_R3@GOTPAGE
Lloh14:
	ldr	x25, [x25, _ORBISPAD_R3@GOTPAGEOFF]
Lloh15:
	adrp	x26, _ORBISPAD_L3@GOTPAGE
Lloh16:
	ldr	x26, [x26, _ORBISPAD_L3@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh17:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_L3@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_L3@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, #4
	cmp	x22, x19
	b.eq	LBB0_53
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x19]
	add	x1, sp, #8
	bl	_scePadReadState
	cbnz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w27, [sp, #8]
	ldr	x8, [x21]
	str	wzr, [x8, x19]
Lloh20:
	adrp	x9, _ORBISPAD_LEFT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ORBISPAD_LEFT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w27
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh23:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_LEFT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_LEFT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	lsl	w9, w0, w8
	ldr	x8, [x21]
	ldr	w10, [x8, x19]
	orr	w9, w10, w9
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #0
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w9, [x8, x19]
Lloh26:
	adrp	x10, _ORBISPAD_DOWN@GOTPAGE
Lloh27:
	ldr	x10, [x10, _ORBISPAD_DOWN@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh29:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_DOWN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_DOWN@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh32:
	adrp	x10, _ORBISPAD_RIGHT@GOTPAGE
Lloh33:
	ldr	x10, [x10, _ORBISPAD_RIGHT@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh35:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_RIGHT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_RIGHT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh38:
	adrp	x10, _ORBISPAD_UP@GOTPAGE
Lloh39:
	ldr	x10, [x10, _ORBISPAD_UP@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh41:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_UP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_UP@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh44:
	adrp	x10, _ORBISPAD_OPTIONS@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ORBISPAD_OPTIONS@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh47:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_START@GOTPAGE
Lloh48:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_START@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh50:
	adrp	x10, _ORBISPAD_TOUCH_PAD@GOTPAGE
Lloh51:
	ldr	x10, [x10, _ORBISPAD_TOUCH_PAD@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh53:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_SELECT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_SELECT@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh56:
	adrp	x10, _ORBISPAD_TRIANGLE@GOTPAGE
Lloh57:
	ldr	x10, [x10, _ORBISPAD_TRIANGLE@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh59:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_X@GOTPAGE
Lloh60:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_X@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh62:
	adrp	x10, _ORBISPAD_SQUARE@GOTPAGE
Lloh63:
	ldr	x10, [x10, _ORBISPAD_SQUARE@GOTPAGEOFF]
Lloh64:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh65:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_Y@GOTPAGE
Lloh66:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_Y@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh68:
	adrp	x10, _ORBISPAD_CROSS@GOTPAGE
Lloh69:
	ldr	x10, [x10, _ORBISPAD_CROSS@GOTPAGEOFF]
Lloh70:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh71:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_B@GOTPAGE
Lloh72:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_B@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_33:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh74:
	adrp	x10, _ORBISPAD_CIRCLE@GOTPAGE
Lloh75:
	ldr	x10, [x10, _ORBISPAD_CIRCLE@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh77:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_A@GOTPAGE
Lloh78:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_A@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
Lloh80:
	adrp	x10, _ORBISPAD_R1@GOTPAGE
Lloh81:
	ldr	x10, [x10, _ORBISPAD_R1@GOTPAGEOFF]
Lloh82:
	ldr	w10, [x10]
	tst	w10, w27
	b.eq	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh83:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_R@GOTPAGE
Lloh84:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_R@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_39:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
	ldr	w10, [x28]
	tst	w10, w27
	b.eq	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh86:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_L@GOTPAGE
Lloh87:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_L@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_42:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
	ldr	w10, [x23]
	tst	w10, w27
	b.eq	LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh89:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_R2@GOTPAGE
Lloh90:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_R2@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_45:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
	ldr	w10, [x24]
	tst	w10, w27
	b.eq	LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh92:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_L2@GOTPAGE
Lloh93:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_L2@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_48:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
	ldr	w10, [x25]
	tst	w10, w27
	b.eq	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_UINT64_C
Lloh95:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_R3@GOTPAGE
Lloh96:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_R3@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	lsl	w10, w0, w8
	ldr	x8, [x21]
	ldr	w9, [x8, x19]
	b	LBB0_51
LBB0_50:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
LBB0_51:                                ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w10
	str	w9, [x8, x19]
	ldr	w10, [x26]
	tst	w10, w27
	b.ne	LBB0_2
; %bb.52:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w10, #0
	b	LBB0_3
LBB0_53:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_num_players,4,2                ; @num_players
	.comm	_ds_joypad_states,8,3           ; @ds_joypad_states
	.comm	_pad_state,8,3                  ; @pad_state
	.comm	_ORBISPAD_LEFT,4,2              ; @ORBISPAD_LEFT
	.comm	_RETRO_DEVICE_ID_JOYPAD_LEFT,4,2 ; @RETRO_DEVICE_ID_JOYPAD_LEFT
	.comm	_ORBISPAD_DOWN,4,2              ; @ORBISPAD_DOWN
	.comm	_RETRO_DEVICE_ID_JOYPAD_DOWN,4,2 ; @RETRO_DEVICE_ID_JOYPAD_DOWN
	.comm	_ORBISPAD_RIGHT,4,2             ; @ORBISPAD_RIGHT
	.comm	_RETRO_DEVICE_ID_JOYPAD_RIGHT,4,2 ; @RETRO_DEVICE_ID_JOYPAD_RIGHT
	.comm	_ORBISPAD_UP,4,2                ; @ORBISPAD_UP
	.comm	_RETRO_DEVICE_ID_JOYPAD_UP,4,2  ; @RETRO_DEVICE_ID_JOYPAD_UP
	.comm	_ORBISPAD_OPTIONS,4,2           ; @ORBISPAD_OPTIONS
	.comm	_RETRO_DEVICE_ID_JOYPAD_START,4,2 ; @RETRO_DEVICE_ID_JOYPAD_START
	.comm	_ORBISPAD_TOUCH_PAD,4,2         ; @ORBISPAD_TOUCH_PAD
	.comm	_RETRO_DEVICE_ID_JOYPAD_SELECT,4,2 ; @RETRO_DEVICE_ID_JOYPAD_SELECT
	.comm	_ORBISPAD_TRIANGLE,4,2          ; @ORBISPAD_TRIANGLE
	.comm	_RETRO_DEVICE_ID_JOYPAD_X,4,2   ; @RETRO_DEVICE_ID_JOYPAD_X
	.comm	_ORBISPAD_SQUARE,4,2            ; @ORBISPAD_SQUARE
	.comm	_RETRO_DEVICE_ID_JOYPAD_Y,4,2   ; @RETRO_DEVICE_ID_JOYPAD_Y
	.comm	_ORBISPAD_CROSS,4,2             ; @ORBISPAD_CROSS
	.comm	_RETRO_DEVICE_ID_JOYPAD_B,4,2   ; @RETRO_DEVICE_ID_JOYPAD_B
	.comm	_ORBISPAD_CIRCLE,4,2            ; @ORBISPAD_CIRCLE
	.comm	_RETRO_DEVICE_ID_JOYPAD_A,4,2   ; @RETRO_DEVICE_ID_JOYPAD_A
	.comm	_ORBISPAD_R1,4,2                ; @ORBISPAD_R1
	.comm	_RETRO_DEVICE_ID_JOYPAD_R,4,2   ; @RETRO_DEVICE_ID_JOYPAD_R
	.comm	_ORBISPAD_L1,4,2                ; @ORBISPAD_L1
	.comm	_RETRO_DEVICE_ID_JOYPAD_L,4,2   ; @RETRO_DEVICE_ID_JOYPAD_L
	.comm	_ORBISPAD_R2,4,2                ; @ORBISPAD_R2
	.comm	_RETRO_DEVICE_ID_JOYPAD_R2,4,2  ; @RETRO_DEVICE_ID_JOYPAD_R2
	.comm	_ORBISPAD_L2,4,2                ; @ORBISPAD_L2
	.comm	_RETRO_DEVICE_ID_JOYPAD_L2,4,2  ; @RETRO_DEVICE_ID_JOYPAD_L2
	.comm	_ORBISPAD_R3,4,2                ; @ORBISPAD_R3
	.comm	_RETRO_DEVICE_ID_JOYPAD_R3,4,2  ; @RETRO_DEVICE_ID_JOYPAD_R3
	.comm	_ORBISPAD_L3,4,2                ; @ORBISPAD_L3
	.comm	_RETRO_DEVICE_ID_JOYPAD_L3,4,2  ; @RETRO_DEVICE_ID_JOYPAD_L3
	.no_dead_strip	_ps4_joypad_poll
.subsections_via_symbols
