	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udev_analog_pressed
_udev_analog_pressed:                   ## @udev_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movl	%esi, %edi
	movl	%edx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_input_conv_analog_id_to_bind_id
	cmpq	$0, 8(%r14)
	movl	$0, %ecx
	je	LBB0_3
## %bb.1:
	movq	_udev_key_state@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %r12
	movq	(%r12), %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
	cmpq	$0, 8(%r14)
	je	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	movq	(%r12), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_BIT_GET
	xorl	%edx, %edx
	testq	%rax, %rax
	movl	$32767, %ecx                    ## imm = 0x7FFF
	cmovel	%edx, %ecx
LBB0_3:
	addl	%ecx, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_udev_key_state,4,2             ## @udev_key_state
	.comm	_rarch_keysym_lut,8,3           ## @rarch_keysym_lut
	.no_dead_strip	_udev_analog_pressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udev_analog_pressed
_udev_analog_pressed:                   ; @udev_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, x0
	mov	x0, x1
	mov	x1, x2
	mov	w2, #0
	mov	w3, #0
	bl	_input_conv_analog_id_to_bind_id
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x21, _udev_key_state@GOTPAGE
Lloh1:
	ldr	x21, [x21, _udev_key_state@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _rarch_keysym_lut@GOTPAGE
Lloh3:
	ldr	x22, [x22, _rarch_keysym_lut@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	bl	_BIT_GET
	cmp	x0, #0
	mov	w8, #-32767
	csel	w20, wzr, w8, eq
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x21]
	ldr	x8, [x22]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	bl	_BIT_GET
	cmp	x0, #0
	mov	w8, #32767
	csel	w8, wzr, w8, eq
	b	LBB0_4
LBB0_3:
	mov	w20, #0
LBB0_4:
	add	w0, w8, w20
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_udev_key_state,4,2             ; @udev_key_state
	.comm	_rarch_keysym_lut,8,3           ; @rarch_keysym_lut
	.no_dead_strip	_udev_analog_pressed
.subsections_via_symbols
