	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_ff_event                 ## -- Begin function input_ff_event
	.p2align	4, 0x90
_input_ff_event:                        ## @input_ff_event
	.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	_EV_FF@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_11
## %bb.1:
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	cmpl	$129, %edx
	je	LBB0_6
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_9
## %bb.3:
	movl	(%r12), %esi
	movl	$128, %edi
	callq	_test_bit
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	ja	LBB0_11
## %bb.4:
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	*16(%r14)
	jmp	LBB0_11
LBB0_6:
	movl	(%r12), %esi
	movl	$129, %edi
	callq	_test_bit
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	ja	LBB0_11
## %bb.7:
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	*8(%r14)
	jmp	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_check_effect_access
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	*(%r14)
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_FF,4,2                      ## @EV_FF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_ff_event                 ; -- Begin function input_ff_event
	.p2align	2
_input_ff_event:                        ; @input_ff_event
	.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
Lloh0:
	adrp	x8, _EV_FF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_FF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_12
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x20, x0
	ldr	x21, [x0, #8]
	cmp	w2, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w22, #128
	b.ne	LBB0_10
; %bb.3:
	ldr	w1, [x20]
	mov	w0, #128
	bl	_test_bit
	lsr	w8, w19, #16
	cbnz	w8, LBB0_12
; %bb.4:
	cbz	w0, LBB0_12
; %bb.5:
	ldr	x8, [x21, #16]
	b	LBB0_9
LBB0_6:
	ldr	w1, [x20]
	mov	w0, #129
	bl	_test_bit
	lsr	w8, w19, #16
	cbnz	w8, LBB0_12
; %bb.7:
	cbz	w0, LBB0_12
; %bb.8:
	ldr	x8, [x21, #8]
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	blr	x8
	b	LBB0_12
LBB0_10:
	mov	x0, x21
	mov	x1, x22
	mov	x2, #0
	bl	_check_effect_access
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	x8, [x21]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	blr	x8
LBB0_12:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_FF,4,2                      ; @EV_FF
.subsections_via_symbols
