	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lg4ff_set_autocenter_default
_lg4ff_set_autocenter_default:          ## @lg4ff_set_autocenter_default
	.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, %ebx
	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:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.8:
	cmpl	$43690, %ebx                    ## imm = 0xAAAA
	jg	LBB0_10
## %bb.9:
	leal	(,%rbx,4), %eax
	leal	(%rax,%rax,2), %eax
	shll	$7, %ebx
	jmp	LBB0_11
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
LBB0_6:
	movl	$245, (%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 4(%r12)
	movq	$0, 20(%r12)
	movq	8(%r15), %rsi
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_7
LBB0_10:
	addl	$-43690, %ebx                   ## imm = 0xFFFF5556
	leal	(%rbx,%rbx,2), %eax
	addl	%eax, %eax
	addl	$524280, %eax                   ## imm = 0x7FFF8
	movl	%ebx, %ecx
	shll	$8, %ecx
	subl	%ebx, %ecx
	addl	$5592320, %ecx                  ## imm = 0x555500
	movl	%ecx, %ebx
LBB0_11:
	movl	16(%r15), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	setne	%cl
	sarl	%cl, %eax
	movabsq	$55834575102, %rcx              ## imm = 0xD000000FE
	movq	%rcx, (%r12)
	cltq
	imulq	$1610637313, %rax, %rax         ## imm = 0x60006001
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$46, %rax
	addl	%ecx, %eax
	movl	%eax, 8(%r12)
	movl	%eax, 12(%r12)
	movslq	%ebx, %rax
	imulq	$1610637313, %rax, %rax         ## imm = 0x60006001
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$46, %rax
	addl	%ecx, %eax
	movl	%eax, 16(%r12)
	movq	$0, 20(%r12)
	movq	8(%r15), %rsi
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_hid_hw_request
	movl	$20, (%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 4(%r12)
	movq	$0, 20(%r12)
	movq	8(%r15), %rsi
	movl	(%rbx), %edx
LBB0_7:
	movq	%r14, %rdi
	callq	_hid_hw_request
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## 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_default
.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_default
lCPI0_0:
	.long	254                             ; 0xfe
	.long	13                              ; 0xd
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lg4ff_set_autocenter_default:          ; @lg4ff_set_autocenter_default
	.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_4
; %bb.1:
	ldr	x20, [x0]
	cbz	x20, LBB0_5
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x22, [x8]
	mov	x0, x20
	bl	_spin_lock_irqsave
	cbz	w21, LBB0_7
; %bb.3:
	mov	w8, #43690
	mov	w9, #-43690
	mov	w10, #6
	mov	w11, #524280
	add	w9, w21, w9
	lsl	w12, w9, #8
	sub	w12, w12, w9
	madd	w9, w9, w10, w11
	add	w10, w12, #1365, lsl #12        ; =5591040
	add	w10, w10, #1280
	add	w11, w21, w21, lsl #1
	lsl	w11, w11, #2
	lsl	w12, w21, #7
	cmp	w21, w8
	csel	w8, w10, w12, gt
	csel	w9, w9, w11, gt
	ldr	w10, [x20, #16]
	and	w10, w10, #0xfffffffe
	cmp	w10, #128
	cset	w10, ne
	asr	w9, w9, w10
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	str	d0, [x22]
	mov	w10, #24577
	movk	w10, #24576, lsl #16
	smull	x9, w9, w10
	lsr	x11, x9, #63
	asr	x9, x9, #46
	add	w9, w9, w11
	stp	w9, w9, [x22, #8]
	smull	x8, w8, w10
	lsr	x9, x8, #63
	asr	x8, x8, #46
	add	w8, w8, w9
	stp	wzr, wzr, [x22, #20]
	str	w8, [x22, #16]
	ldr	x1, [x20, #8]
Lloh2:
	adrp	x21, _HID_REQ_SET_REPORT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HID_REQ_SET_REPORT@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_hid_hw_request
	mov	w8, #20
	str	w8, [x22]
	stur	xzr, [x22, #4]
	stur	xzr, [x22, #20]
	stur	xzr, [x22, #12]
	ldr	x1, [x20, #8]
	ldr	w2, [x21]
	b	LBB0_8
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	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
LBB0_7:
	mov	w8, #245
	str	w8, [x22]
	stur	xzr, [x22, #4]
	stur	xzr, [x22, #20]
	stur	xzr, [x22, #12]
	ldr	x1, [x20, #8]
Lloh8:
	adrp	x8, _HID_REQ_SET_REPORT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HID_REQ_SET_REPORT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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_default
.subsections_via_symbols
