	.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_set_range_dfp
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lg4ff_set_range_dfp:                   ## @lg4ff_set_range_dfp
	.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	%esi, %r12d
	movq	%rdi, %r15
	callq	_hid_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	callq	_dbg_hid
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	$248, (%rbx)
	xorl	%eax, %eax
	cmpl	$201, %r12d
	setge	%al
	orl	$2, %eax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	$0, 24(%rbx)
	movl	%eax, 4(%rbx)
	movq	8(%r14), %rsi
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_hid_hw_request
	movabsq	$47244640385, %rax              ## imm = 0xB00000081
	movq	%rax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	$0, 24(%rbx)
	cmpl	$900, %r12d                     ## imm = 0x384
	je	LBB0_8
## %bb.6:
	cmpl	$200, %r12d
	je	LBB0_8
## %bb.7:
	movl	$900, %eax                      ## imm = 0x384
	movl	$200, %ecx
	cmovgl	%eax, %ecx
	movl	%ecx, %edx
	subl	%r12d, %edx
	movl	%edx, %eax
	shll	$11, %eax
	subl	%edx, %eax
	addl	$2047, %eax                     ## imm = 0x7FF
	cltd
	idivl	%ecx
	movl	$4095, %ecx                     ## imm = 0xFFF
	subl	%eax, %ecx
	movl	%eax, %edx
	sarl	$4, %edx
	movl	%edx, 8(%rbx)
	movl	%ecx, %edx
	sarl	$4, %edx
	movl	%edx, 12(%rbx)
	movl	$255, 16(%rbx)
	andl	$14, %ecx
	shll	$4, %ecx
	andl	$14, %eax
	orl	%ecx, %eax
	movl	%eax, 20(%rbx)
	movl	$255, 24(%rbx)
LBB0_8:
	movq	8(%r14), %rsi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_hid_hw_request
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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"

L_.str.2:                               ## @.str.2
	.asciz	"Driving Force Pro: setting range to %u\n"

	.comm	_HID_REQ_SET_REPORT,4,2         ## @HID_REQ_SET_REPORT
	.no_dead_strip	_lg4ff_set_range_dfp
.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_range_dfp
lCPI0_0:
	.long	129                             ; 0x81
	.long	11                              ; 0xb
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lg4ff_set_range_dfp:                   ; @lg4ff_set_range_dfp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	bl	_hid_get_drvdata
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x20, [x0]
	cbz	x20, LBB0_7
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x22, [x8]
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_dbg_hid
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	w8, #248
	cmp	w21, #200
	mov	w9, #2
	cinc	w9, w9, gt
	stp	xzr, xzr, [x22, #8]
	str	wzr, [x22, #24]
	stp	w8, w9, [x22]
	ldr	x1, [x20, #8]
Lloh2:
	adrp	x23, _HID_REQ_SET_REPORT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _HID_REQ_SET_REPORT@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_hid_hw_request
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x22]
	stp	xzr, xzr, [x22, #8]
	str	wzr, [x22, #24]
	cmp	w21, #900
	b.eq	LBB0_5
; %bb.3:
	cmp	w21, #200
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #200
	mov	w9, #900
	csel	w8, w9, w8, gt
	sub	w9, w8, w21
	lsl	w10, w9, #11
	sub	w9, w10, w9
	add	w9, w9, #2047
	sdiv	w8, w9, w8
	mov	w9, #4095
	sub	w9, w9, w8
	lsr	w10, w9, #1
	asr	w11, w8, #4
	asr	w9, w9, #4
	stp	w11, w9, [x22, #8]
	mov	w9, #255
	and	w8, w8, #0xe
	bfi	w8, w10, #5, #3
	stp	w9, w8, [x22, #16]
	str	w9, [x22, #24]
LBB0_5:
	ldr	x1, [x20, #8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_hid_hw_request
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_6:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hid_err
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.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"

l_.str.2:                               ; @.str.2
	.asciz	"Driving Force Pro: setting range to %u\n"

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