	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lg4ff_set_autocenter_ffex
_lg4ff_set_autocenter_ffex:             ## @lg4ff_set_autocenter_ffex
	.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	%esi, %r15d
	callq	_input_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hid_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.5:
	imull	$90, %r15d, %eax
	movslq	%eax, %rbx
	imulq	$-2147450879, %rbx, %rax        ## imm = 0x80008001
	shrq	$32, %rax
	addl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$15, %ebx
	addl	%eax, %ebx
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movabsq	$12884902142, %rax              ## imm = 0x3000000FE
	movq	%rax, (%r15)
	movl	%ebx, %eax
	sarl	$14, %eax
	movl	%eax, 8(%r15)
	movl	%eax, 12(%r15)
	movl	%ebx, 16(%r15)
	movq	$0, 20(%r15)
	movq	8(%r12), %rsi
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_hid_hw_request
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hid_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Private driver data not found!\n"

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_set_autocenter_ffex
.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_set_autocenter_ffex
lCPI0_0:
	.long	254                             ; 0xfe
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lg4ff_set_autocenter_ffex:             ; @lg4ff_set_autocenter_ffex
	.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, x1
	bl	_input_get_drvdata
	mov	x19, x0
	bl	_hid_get_drvdata
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x20, [x0]
	cbz	x20, LBB0_4
; %bb.2:
	mov	w8, #90
	mul	w8, w21, w8
	mov	w9, #32769
	movk	w9, #32768, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #15
	add	w21, w9, w8, lsr #31
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x22, [x8]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x22]
	asr	w8, w21, #14
	stp	w8, w8, [x22, #8]
	stp	wzr, wzr, [x22, #20]
	str	w21, [x22, #16]
	ldr	x1, [x20, #8]
Lloh2:
	adrp	x8, _HID_REQ_SET_REPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HID_REQ_SET_REPORT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hid_hw_request
	mov	x0, x20
	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
	b	_spin_unlock_irqrestore
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x19
	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
	b	_hid_err
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Private driver data not found!\n"

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_set_autocenter_ffex
.subsections_via_symbols
