	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sonypi_report_input_event
_sonypi_report_input_event:             ## @sonypi_report_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $edi killed $edi def $rdi
	movq	_sonypi_device@GOTPCREL(%rip), %r14
	movq	8(%r14), %rax
	movq	16(%r14), %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	leal	-128(%rdi), %ecx
	cmpl	$5, %ecx
	ja	LBB0_2
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	jmp	LBB0_7
LBB0_8:
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
LBB0_7:
	callq	_input_report_rel
	movq	%rbx, %rdi
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
LBB0_2:
	movq	_sonypi_inputkeys@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.3:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, %esi
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rcx,%rdx,8), %esi
	incq	%rdx
	testl	%esi, %esi
	jne	LBB0_4
	jmp	LBB0_13
LBB0_10:
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -40(%rbp)
	movq	%rbx, -48(%rbp)
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_input_report_key
	movq	%rbx, %rdi
	callq	_input_sync
	movl	4(%r14), %edi
	leaq	-48(%rbp), %rsi
	movl	$24, %edx
	callq	_kfifo_put
	movq	%r14, %rdi
	callq	_schedule_work
LBB0_13:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movl	%edx, %edx
	movq	%rax, -48(%rbp)
	movl	4(%rcx,%rdx,8), %esi
	movl	%esi, -40(%rbp)
	movq	%rax, %rbx
	testq	%rbx, %rbx
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_sonypi_device,24,3             ## @sonypi_device
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_sonypi_inputkeys,8,3           ## @sonypi_inputkeys
	.no_dead_strip	_sonypi_report_input_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sonypi_report_input_event
_sonypi_report_input_event:             ; @sonypi_report_input_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _sonypi_device@GOTPAGE
Lloh1:
	ldr	x19, [x19, _sonypi_device@GOTPAGEOFF]
	ldp	x8, x20, [x19, #8]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	sub	w9, w0, #128
	cmp	w9, #5
	b.hi	LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, lJTI0_0@PAGE
Lloh3:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #1
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
LBB0_4:
	bl	_input_report_rel
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_input_sync
LBB0_5:
Lloh10:
	adrp	x9, _sonypi_inputkeys@GOTPAGE
Lloh11:
	ldr	x9, [x9, _sonypi_inputkeys@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	w12, [x9]
	cbz	w12, LBB0_11
; %bb.6:
	mov	x10, #0
	add	x11, x9, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w12, w0
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x10, #1
	ldr	w12, [x11], #8
	cbnz	w12, LBB0_7
	b	LBB0_11
LBB0_9:
Lloh13:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	str	w1, [sp, #16]
	str	x20, [sp, #8]
	cbz	x20, LBB0_11
LBB0_10:
	mov	x0, x20
	mov	w2, #1
	bl	_input_report_key
	mov	x0, x20
	bl	_input_sync
	ldr	w0, [x19, #4]
	add	x1, sp, #8
	mov	w2, #24
	bl	_kfifo_put
	mov	x0, x19
	bl	_schedule_work
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
	str	x8, [sp, #8]
	add	x9, x9, w10, uxtw #3
	ldr	w1, [x9, #4]
	str	w1, [sp, #16]
	mov	x20, x8
	cbnz	x20, LBB0_10
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_sonypi_device,24,3             ; @sonypi_device
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_sonypi_inputkeys,8,3           ; @sonypi_inputkeys
	.no_dead_strip	_sonypi_report_input_event
.subsections_via_symbols
