	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lg4ff_play
LCPI0_0:
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lg4ff_play:                            ## @lg4ff_play
	.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
	movq	%rdx, %r12
	callq	_input_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hid_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	cmpl	$128, (%r12)
	jne	LBB0_10
## %bb.6:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	movl	4(%r12), %eax
	cmpl	$127, %eax
	movl	$127, %r12d
	cmovll	%eax, %r12d
	subl	$-128, %r12d
	xorl	%ebx, %ebx
	cmpl	$-128, %eax
	cmovll	%ebx, %r12d
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$128, %r12d
	jne	LBB0_8
## %bb.7:
	movl	$19, (%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 4(%r13)
	movq	$0, 20(%r13)
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	callq	_hid_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_8:
	movabsq	$34359738385, %rax              ## imm = 0x800000011
	movq	%rax, (%r13)
	movl	%r12d, 8(%r13)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [128,0,0,0]
	movups	%xmm0, 12(%r13)
LBB0_9:
	movq	8(%r15), %rsi
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_hid_hw_request
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Private driver data not found!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Device properties not found!\n"

	.comm	_HID_REQ_SET_REPORT,4,2         ## @HID_REQ_SET_REPORT
	.no_dead_strip	_lg4ff_play
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lg4ff_play
lCPI0_0:
	.long	17                              ; 0x11
	.long	8                               ; 0x8
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lg4ff_play:                            ; @lg4ff_play
	.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	x21, x2
	bl	_input_get_drvdata
	mov	x19, x0
	bl	_hid_get_drvdata
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x20, [x0]
	cbz	x20, LBB0_6
; %bb.2:
	ldr	w8, [x21]
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x22, [x8]
	ldr	w8, [x21, #4]
	mov	w9, #127
	cmp	w8, #127
	csel	w9, w8, w9, lt
	add	w9, w9, #128
	cmn	w8, #128
	csel	w21, wzr, w9, lt
	mov	x0, x20
	bl	_spin_lock_irqsave
	cmp	w21, #128
	b.ne	LBB0_8
; %bb.4:
	mov	w8, #19
	str	w8, [x22]
	stur	xzr, [x22, #4]
	stur	xzr, [x22, #20]
	stur	xzr, [x22, #12]
	b	LBB0_9
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_hid_err
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_8:
Lloh7:
	adrp	x8, lCPI0_0@PAGE
Lloh8:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x22]
	str	w21, [x22, #8]
Lloh9:
	adrp	x8, lCPI0_1@PAGE
Lloh10:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	stur	q0, [x22, #12]
LBB0_9:
	ldr	x1, [x20, #8]
Lloh11:
	adrp	x8, _HID_REQ_SET_REPORT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HID_REQ_SET_REPORT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hid_hw_request
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_10:
	mov	w0, #0
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Private driver data not found!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Device properties not found!\n"

	.comm	_HID_REQ_SET_REPORT,4,2         ; @HID_REQ_SET_REPORT
	.no_dead_strip	_lg4ff_play
.subsections_via_symbols
