	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function uwp_pressed_joypad
LCPI0_0:
	.long	0x38000000                      ## float 3.05175781E-5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_uwp_pressed_joypad:                    ## @uwp_pressed_joypad
	.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
	movq	%rcx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%r9d, %r12d
	leaq	(%r12,%r12,4), %r14
	movq	(%rcx,%r14,8), %rdi
	movq	_RETROK_LAST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jge	LBB0_4
## %bb.1:
	movl	%r9d, %r15d
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	callq	_uwp_keyboard_pressed
	movq	%r13, %rdx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_RARCH_GAME_FOCUS_TOGGLE@GOTPCREL(%rip), %rax
	movl	$1, %r13d
	cmpl	%r15d, (%rax)
	je	LBB0_14
## %bb.3:
	movq	_input_uwp@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_14
LBB0_4:
	cmpq	$0, 32(%rbx,%r14,8)
	je	LBB0_13
## %bb.5:
	movq	8(%rbx,%r14,8), %r15
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rax
	shlq	$4, %rax
	movq	(%rdx,%rax), %r15
LBB0_7:
	movq	16(%rbx,%r14,8), %rcx
	movq	_AXIS_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_9
## %bb.8:
	shlq	$4, %r12
	movq	8(%rdx,%r12), %rcx
LBB0_9:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	24(%rbx,%r14,8), %esi
	movl	%r8d, %edi
	xorl	%edx, %edx
	callq	_uwp_mouse_state
	movl	$1, %r13d
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rbx
	shrq	$32, %rbx
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:
	movq	(%r14), %rax
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	*8(%rax)
	testq	%rax, %rax
	jne	LBB0_14
LBB0_12:
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	movq	(%r14), %rax
	movl	%ebx, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	*(%rax)
	movl	%eax, %edi
	callq	_abs
	cvtsi2ss	%rax, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	ucomiss	-56(%rbp), %xmm0                ## 4-byte Folded Reload
	ja	LBB0_14
LBB0_13:
	xorl	%r13d, %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETROK_LAST,8,3                ## @RETROK_LAST
	.comm	_RARCH_GAME_FOCUS_TOGGLE,4,2    ## @RARCH_GAME_FOCUS_TOGGLE
	.comm	_input_uwp,4,2                  ## @input_uwp
	.comm	_NO_BTN,8,3                     ## @NO_BTN
	.comm	_AXIS_NONE,8,3                  ## @AXIS_NONE
	.no_dead_strip	_uwp_pressed_joypad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uwp_pressed_joypad
_uwp_pressed_joypad:                    ; @uwp_pressed_joypad
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -88
	.cfi_offset b9, -96
	mov	x24, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	w8, #40
	umull	x8, w5, w8
	ldr	x0, [x3, x8]
Lloh0:
	adrp	x8, _RETROK_LAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETROK_LAST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
; %bb.1:
	bl	_uwp_keyboard_pressed
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _RARCH_GAME_FOCUS_TOGGLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RARCH_GAME_FOCUS_TOGGLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _input_uwp@GOTPAGE
Lloh7:
	ldr	x9, [x9, _input_uwp@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w24
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_9
LBB0_3:
	mov	w8, w24
	mov	w9, #40
	madd	x9, x8, x9, x22
	ldr	x9, [x9, #32]
	cbz	x9, LBB0_13
; %bb.4:
	mov	w9, #40
	madd	x9, x8, x9, x22
	ldr	x24, [x9, #8]
Lloh9:
	adrp	x26, _NO_BTN@GOTPAGE
Lloh10:
	ldr	x26, [x26, _NO_BTN@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x24, x9
	b.ne	LBB0_6
; %bb.5:
	lsl	x9, x8, #4
	ldr	x24, [x23, x9]
LBB0_6:
	mov	w9, #40
	madd	x9, x8, x9, x22
	ldr	x25, [x9, #16]
Lloh11:
	adrp	x9, _AXIS_NONE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AXIS_NONE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x25, x9
	b.ne	LBB0_8
; %bb.7:
	add	x9, x23, x8, lsl #4
	ldr	x25, [x9, #8]
LBB0_8:
	mov	w9, #40
	madd	x8, x8, x9, x22
	ldr	w1, [x8, #24]
	mov	x0, x21
	mov	w2, #0
	bl	_uwp_mouse_state
	cbz	x0, LBB0_10
LBB0_9:
	mov	w0, #1
	b	LBB0_14
LBB0_10:
	lsr	x21, x20, #32
	ldr	x8, [x26]
	cmp	x24, x8
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x21
	mov	x1, x24
	blr	x8
	cbnz	x0, LBB0_9
LBB0_12:
	fmov	s8, w20
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x25
	blr	x8
	bl	_abs
	scvtf	s0, x0
	movi.2s	v1, #56, lsl #24
	fmul	s0, s0, s1
	fcmp	s0, s8
	b.gt	LBB0_9
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RETROK_LAST,8,3                ; @RETROK_LAST
	.comm	_RARCH_GAME_FOCUS_TOGGLE,4,2    ; @RARCH_GAME_FOCUS_TOGGLE
	.comm	_input_uwp,4,2                  ; @input_uwp
	.comm	_NO_BTN,8,3                     ; @NO_BTN
	.comm	_AXIS_NONE,8,3                  ; @AXIS_NONE
	.no_dead_strip	_uwp_pressed_joypad
.subsections_via_symbols
