	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function rwebinput_is_pressed
LCPI0_0:
	.long	0x38000000                      ## float 3.05175781E-5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rwebinput_is_pressed:                  ## @rwebinput_is_pressed
	.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	_RARCH_BIND_LIST_END@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%r9d, (%rax)
	jbe	LBB0_17
## %bb.1:
	movl	%r9d, %r14d
	movq	%rsi, %r15
	movl	%r9d, %r12d
	leaq	(%r12,%r12,4), %r13
	movl	(%rbx,%r13,8), %esi
	movq	_RETROK_LAST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jge	LBB0_5
## %bb.2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_rwebinput_key_pressed
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movq	%r15, %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_RARCH_GAME_FOCUS_TOGGLE@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_16
## %bb.4:
	movq	_input_rwebinput@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
LBB0_5:
	cmpq	$0, 32(%rbx,%r13,8)
	je	LBB0_17
## %bb.6:
	movq	8(%rbx,%r13,8), %rsi
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rsi
	jne	LBB0_8
## %bb.7:
	movq	%r12, %rcx
	shlq	$4, %rcx
	movq	(%rdx,%rcx), %rsi
LBB0_8:
	movq	16(%rbx,%r13,8), %r9
	movq	_AXIS_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r9
	jne	LBB0_10
## %bb.9:
	shlq	$4, %r12
	movq	8(%rdx,%r12), %r9
LBB0_10:
	testl	%r8d, %r8d
	je	LBB0_11
LBB0_13:
	movq	%r15, %rbx
	shrq	$32, %rbx
	cmpq	%rax, %rsi
	je	LBB0_15
## %bb.14:
	movq	(%rdi), %rax
	movq	%rdi, %r14
	movl	%ebx, %edi
	movq	%r9, %r12
	callq	*8(%rax)
	movq	%r12, %r9
	movq	%r14, %rdi
	testq	%rax, %rax
	jne	LBB0_16
LBB0_15:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	(%rdi), %rax
	movl	%ebx, %edi
	movq	%r9, %rsi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_abs
	xorl	%ecx, %ecx
	cvtsi2ss	%rax, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	ucomiss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	ja	LBB0_16
	jmp	LBB0_17
LBB0_11:
	movq	%r15, %r12
	movq	%rdi, %r15
	addq	$8, %rdi
	movq	%rsi, %r14
	movl	24(%rbx,%r13,8), %esi
	xorl	%edx, %edx
	movq	%r9, %rbx
	callq	_rwebinput_mouse_state
	testl	%eax, %eax
	je	LBB0_12
LBB0_16:
	movl	$1, %ecx
LBB0_17:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%rbx, %r9
	movq	%r14, %rsi
	movq	%r15, %rdi
	movq	%r12, %r15
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_BIND_LIST_END,4,2        ## @RARCH_BIND_LIST_END
	.comm	_RETROK_LAST,4,2                ## @RETROK_LAST
	.comm	_RARCH_GAME_FOCUS_TOGGLE,4,2    ## @RARCH_GAME_FOCUS_TOGGLE
	.comm	_input_rwebinput,4,2            ## @input_rwebinput
	.comm	_NO_BTN,8,3                     ## @NO_BTN
	.comm	_AXIS_NONE,8,3                  ## @AXIS_NONE
	.no_dead_strip	_rwebinput_is_pressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rwebinput_is_pressed
_rwebinput_is_pressed:                  ; @rwebinput_is_pressed
	.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
Lloh0:
	adrp	x8, _RARCH_BIND_LIST_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_BIND_LIST_END@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w5
	b.ls	LBB0_13
; %bb.1:
	mov	x24, x5
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	w8, #40
	umull	x8, w5, w8
	ldr	w1, [x3, x8]
Lloh3:
	adrp	x8, _RETROK_LAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RETROK_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ge	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_rwebinput_key_pressed
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _RARCH_GAME_FOCUS_TOGGLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RARCH_GAME_FOCUS_TOGGLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _input_rwebinput@GOTPAGE
Lloh10:
	ldr	x9, [x9, _input_rwebinput@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w24
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_15
LBB0_4:
	mov	w8, w24
	mov	w9, #40
	madd	x9, x8, x9, x21
	ldr	x9, [x9, #32]
	cbz	x9, LBB0_13
; %bb.5:
	mov	w9, #40
	madd	x9, x8, x9, x21
	ldr	x24, [x9, #8]
Lloh12:
	adrp	x26, _NO_BTN@GOTPAGE
Lloh13:
	ldr	x26, [x26, _NO_BTN@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x24, x9
	b.ne	LBB0_7
; %bb.6:
	lsl	x10, x8, #4
	ldr	x24, [x23, x10]
LBB0_7:
	mov	w10, #40
	madd	x10, x8, x10, x21
	ldr	x25, [x10, #16]
Lloh14:
	adrp	x10, _AXIS_NONE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _AXIS_NONE@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x25, x10
	b.ne	LBB0_9
; %bb.8:
	add	x10, x23, x8, lsl #4
	ldr	x25, [x10, #8]
LBB0_9:
	cbz	w22, LBB0_14
LBB0_10:
	lsr	x21, x20, #32
	cmp	x24, x9
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x21
	mov	x1, x24
	blr	x8
	cbnz	x0, LBB0_15
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_15
LBB0_13:
	mov	w0, #0
	b	LBB0_16
LBB0_14:
	add	x0, x19, #8
	mov	w9, #40
	madd	x8, x8, x9, x21
	ldr	w1, [x8, #24]
	mov	w2, #0
	bl	_rwebinput_mouse_state
	cbz	w0, LBB0_17
LBB0_15:
	mov	w0, #1
LBB0_16:
	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
LBB0_17:
	ldr	x9, [x26]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_BIND_LIST_END,4,2        ; @RARCH_BIND_LIST_END
	.comm	_RETROK_LAST,4,2                ; @RETROK_LAST
	.comm	_RARCH_GAME_FOCUS_TOGGLE,4,2    ; @RARCH_GAME_FOCUS_TOGGLE
	.comm	_input_rwebinput,4,2            ; @input_rwebinput
	.comm	_NO_BTN,8,3                     ; @NO_BTN
	.comm	_AXIS_NONE,8,3                  ; @AXIS_NONE
	.no_dead_strip	_rwebinput_is_pressed
.subsections_via_symbols
