	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_wl_analog_pressed
_input_wl_analog_pressed:               ## @input_wl_analog_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	movl	%edx, %edi
	movl	%ecx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_input_conv_analog_id_to_bind_id
	movl	$0, %r12d
	testq	%r14, %r14
	je	LBB0_8
## %bb.1:
	movq	8(%r14), %rax
	xorl	%r12d, %r12d
	movq	_RARCH_BIND_LIST_END@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	$0, %ebx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.4:
	movl	(%r15), %edi
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_BIT_GET
	xorl	%ecx, %ecx
	testq	%rax, %rax
	movl	$-32767, %ebx                   ## imm = 0x8001
	cmovel	%ecx, %ebx
	movq	8(%r14), %rax
	movl	(%r13), %ecx
LBB0_5:
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_2:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.7:
	movl	(%r15), %edi
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_BIT_GET
	xorl	%ecx, %ecx
	testq	%rax, %rax
	movl	$32767, %r12d                   ## imm = 0x7FFF
	cmovel	%ecx, %r12d
LBB0_8:
	addl	%r12d, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_BIND_LIST_END,4,2        ## @RARCH_BIND_LIST_END
	.comm	_rarch_keysym_lut,8,3           ## @rarch_keysym_lut
	.no_dead_strip	_input_wl_analog_pressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_wl_analog_pressed
_input_wl_analog_pressed:               ; @input_wl_analog_pressed
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	mov	x1, x3
	mov	w2, #0
	mov	w3, #0
	bl	_input_conv_analog_id_to_bind_id
	cbz	x19, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x22, _RARCH_BIND_LIST_END@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RARCH_BIND_LIST_END@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	x8, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	w21, #0
	mov	w10, #0
	cbnz	x8, LBB0_5
	b	LBB0_7
LBB0_3:
	mov	w21, #0
	mov	w10, #0
	b	LBB0_7
LBB0_4:
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _rarch_keysym_lut@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rarch_keysym_lut@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	bl	_BIT_GET
	cmp	x0, #0
	mov	w8, #-32767
	csel	w21, wzr, w8, eq
	ldr	x8, [x19, #8]
	ldr	w9, [x22]
	mov	w10, #0
	cbz	x8, LBB0_7
LBB0_5:
	cbz	w9, LBB0_7
; %bb.6:
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _rarch_keysym_lut@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rarch_keysym_lut@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	bl	_BIT_GET
	cmp	x0, #0
	mov	w8, #32767
	csel	w10, wzr, w8, eq
LBB0_7:
	add	w0, w10, w21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_BIND_LIST_END,4,2        ; @RARCH_BIND_LIST_END
	.comm	_rarch_keysym_lut,8,3           ; @rarch_keysym_lut
	.no_dead_strip	_input_wl_analog_pressed
.subsections_via_symbols
