	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmi_input_event
_rmi_input_event:                       ## @rmi_input_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
	movl	%edx, %r14d
	movq	%rsi, %r15
	callq	_hid_get_drvdata
	movq	%rax, %rbx
	movq	8(%rax), %r12
	movq	_RMI_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	callq	_local_irq_save
	movl	4(%r15), %esi
	addq	$8, %r15
	addl	$-2, %r14d
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_rmi_set_attn_data
	movl	(%rbx), %edi
	callq	_generic_handle_irq
	callq	_local_irq_restore
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RMI_STARTED,4,2                ## @RMI_STARTED
	.no_dead_strip	_rmi_input_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmi_input_event
_rmi_input_event:                       ; @rmi_input_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
	mov	x20, x2
	mov	x21, x1
	bl	_hid_get_drvdata
	mov	x19, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x8, _RMI_STARTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RMI_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	bl	_local_irq_save
	ldr	w1, [x21, #4]
	add	x2, x21, #8
	sub	w3, w20, #2
	mov	x0, x22
	bl	_rmi_set_attn_data
	ldr	w0, [x19]
	bl	_generic_handle_irq
	bl	_local_irq_restore
	mov	w0, #1
LBB0_2:
	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	_RMI_STARTED,4,2                ; @RMI_STARTED
	.no_dead_strip	_rmi_input_event
.subsections_via_symbols
