	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pidff_set_effect_report
_pidff_set_effect_report:               ## @pidff_set_effect_report
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	48(%rdi), %rcx
	movq	_PID_EFFECT_BLOCK_INDEX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx), %ecx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rdx
	movl	%ecx, (%rdx)
	movq	32(%rdi), %rcx
	movq	40(%rdi), %rdx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movq	(%rdx), %rdx
	movl	%ecx, (%rdx)
	movl	(%rsi), %ecx
	movq	_PID_DURATION@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rdx
	movl	%ecx, (%rdx)
	movl	12(%rsi), %ecx
	movq	_PID_TRIGGER_BUTTON@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rdx
	movl	%ecx, (%rdx)
	movl	16(%rsi), %ecx
	movq	_PID_TRIGGER_REPEAT_INT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rdx
	movl	%ecx, (%rdx)
	movq	_PID_GAIN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdx
	movq	8(%rax,%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rdx)
	movq	_PID_DIRECTION_ENABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
	movl	$1, (%rax)
	movl	8(%rsi), %edi
	movq	24(%rbx), %rdx
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_pidff_rescale
	movq	24(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	4(%r14), %eax
	movq	16(%rbx), %rcx
	movq	_PID_START_DELAY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rdx
	movq	(%rcx,%rdx), %rcx
	movl	%eax, (%rcx)
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movq	_PID_SET_EFFECT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_usbhid_submit_report           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PID_EFFECT_BLOCK_INDEX,8,3     ## @PID_EFFECT_BLOCK_INDEX
	.comm	_PID_DURATION,8,3               ## @PID_DURATION
	.comm	_PID_TRIGGER_BUTTON,8,3         ## @PID_TRIGGER_BUTTON
	.comm	_PID_TRIGGER_REPEAT_INT,8,3     ## @PID_TRIGGER_REPEAT_INT
	.comm	_PID_GAIN,8,3                   ## @PID_GAIN
	.comm	_PID_DIRECTION_ENABLE,8,3       ## @PID_DIRECTION_ENABLE
	.comm	_PID_START_DELAY,8,3            ## @PID_START_DELAY
	.comm	_PID_SET_EFFECT,8,3             ## @PID_SET_EFFECT
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.no_dead_strip	_pidff_set_effect_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pidff_set_effect_report
_pidff_set_effect_report:               ; @pidff_set_effect_report
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #48]
Lloh0:
	adrp	x9, _PID_EFFECT_BLOCK_INDEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PID_EFFECT_BLOCK_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
	lsl	x9, x9, #4
	ldp	x10, x2, [x0, #16]
	ldr	x9, [x10, x9]
	str	w8, [x9]
	ldp	x8, x9, [x0, #32]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	x9, [x9]
	str	w8, [x9]
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _PID_DURATION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PID_DURATION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x9, x9, #4
	ldr	x9, [x10, x9]
	str	w8, [x9]
	ldr	w8, [x1, #12]
Lloh6:
	adrp	x9, _PID_TRIGGER_BUTTON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PID_TRIGGER_BUTTON@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	lsl	x9, x9, #4
	ldr	x9, [x10, x9]
	str	w8, [x9]
	ldr	w8, [x1, #16]
Lloh9:
	adrp	x9, _PID_TRIGGER_REPEAT_INT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PID_TRIGGER_REPEAT_INT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	lsl	x9, x9, #4
	ldr	x9, [x10, x9]
	str	w8, [x9]
Lloh12:
	adrp	x8, _PID_GAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PID_GAIN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x8, x10, x8, lsl #4
	ldp	x8, x9, [x8]
	ldr	w9, [x9]
	str	w9, [x8]
Lloh15:
	adrp	x8, _PID_DIRECTION_ENABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PID_DIRECTION_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	lsl	x8, x8, #4
	ldr	x8, [x10, x8]
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [x1, #8]
	mov	w1, #65535
	bl	_pidff_rescale
	ldp	x9, x8, [x19, #16]
	ldr	x8, [x8]
	str	w0, [x8]
	ldr	w8, [x20, #4]
Lloh18:
	adrp	x10, _PID_START_DELAY@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PID_START_DELAY@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	lsl	x10, x10, #4
	ldr	x9, [x9, x10]
	str	w8, [x9]
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _PID_SET_EFFECT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PID_SET_EFFECT@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
Lloh24:
	adrp	x8, _USB_DIR_OUT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _USB_DIR_OUT@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usbhid_submit_report
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PID_EFFECT_BLOCK_INDEX,8,3     ; @PID_EFFECT_BLOCK_INDEX
	.comm	_PID_DURATION,8,3               ; @PID_DURATION
	.comm	_PID_TRIGGER_BUTTON,8,3         ; @PID_TRIGGER_BUTTON
	.comm	_PID_TRIGGER_REPEAT_INT,8,3     ; @PID_TRIGGER_REPEAT_INT
	.comm	_PID_GAIN,8,3                   ; @PID_GAIN
	.comm	_PID_DIRECTION_ENABLE,8,3       ; @PID_DIRECTION_ENABLE
	.comm	_PID_START_DELAY,8,3            ; @PID_START_DELAY
	.comm	_PID_SET_EFFECT,8,3             ; @PID_SET_EFFECT
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.no_dead_strip	_pidff_set_effect_report
.subsections_via_symbols
