	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidinput_input_event
_hidinput_input_event:                  ## @hidinput_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	%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
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_input_get_drvdata
	movq	%rax, %r14
	movq	_EV_FF@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_1
## %bb.6:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_ff_event                 ## TAILCALL
LBB0_1:
	movq	_EV_LED@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpl	%r12d, (%rcx)
	jne	LBB0_5
## %bb.2:
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_hidinput_find_field
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:
	movq	-48(%rbp), %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_hid_set_field
	movq	%r14, %rdi
	callq	_schedule_work
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_hid_warn
	movl	$-1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_FF,4,2                      ## @EV_FF
	.comm	_EV_LED,4,2                     ## @EV_LED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"event field not found\n"

	.no_dead_strip	_hidinput_input_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidinput_input_event
_hidinput_input_event:                  ; @hidinput_input_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	bl	_input_get_drvdata
Lloh0:
	adrp	x8, _EV_FF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_FF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	x3, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_input_ff_event
LBB0_2:
Lloh3:
	adrp	x8, _EV_LED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_LED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_6
; %bb.3:
	mov	x20, x0
	add	x3, sp, #8
	mov	x1, x23
	mov	x2, x22
	bl	_hidinput_find_field
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:
	mov	x1, x0
	ldr	x0, [sp, #8]
	mov	x2, x19
	bl	_hid_set_field
	mov	x0, x20
	bl	_schedule_work
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_hid_warn
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_FF,4,2                      ; @EV_FF
	.comm	_EV_LED,4,2                     ; @EV_LED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"event field not found\n"

	.no_dead_strip	_hidinput_input_event
.subsections_via_symbols
