	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pidff_find_effects
_pidff_find_effects:                    ## @pidff_find_effects
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	24(%rdi), %rdx
	movq	(%rdx), %rsi
	movq	(%rcx), %rcx
	movslq	(%rax), %rdi
	movq	(%rsi,%rdi,8), %rbx
	xorl	%edx, %edx
	cmpq	(%rcx,%rdi,8), %rbx
	jne	LBB0_1
## %bb.2:
	movslq	4(%rax), %rdi
	movq	(%rsi,%rdi,8), %rbx
	movl	$1, %edx
	cmpq	(%rcx,%rdi,8), %rbx
	jne	LBB0_1
## %bb.3:
	movslq	8(%rax), %rdi
	movq	(%rsi,%rdi,8), %rbx
	movl	$2, %edx
	cmpq	(%rcx,%rdi,8), %rbx
	jne	LBB0_1
## %bb.4:
	movslq	12(%rax), %rdi
	movq	(%rsi,%rdi,8), %rsi
	movl	$3, %edx
	cmpq	(%rcx,%rdi,8), %rsi
	jne	LBB0_1
## %bb.5:
	movq	_PID_CONSTANT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_7
## %bb.6:
	movq	_FF_CONSTANT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_7:
	movq	_PID_RAMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_9
## %bb.8:
	movq	_FF_RAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_9:
	movq	_PID_SQUARE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_11
## %bb.10:
	movq	_FF_SQUARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	_FF_PERIODIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_11:
	movq	_PID_SINE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_13
## %bb.12:
	movq	_FF_SINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	_FF_PERIODIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_13:
	movq	_PID_TRIANGLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.14:
	movq	_FF_TRIANGLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	_FF_PERIODIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_15:
	movq	_PID_SAW_UP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_17
## %bb.16:
	movq	_FF_SAW_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	_FF_PERIODIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_17:
	movq	_PID_SAW_DOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_19
## %bb.18:
	movq	_FF_SAW_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	_FF_PERIODIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_19:
	movq	_PID_SPRING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_21
## %bb.20:
	movq	_FF_SPRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_21:
	movq	_PID_DAMPER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_23
## %bb.22:
	movq	_FF_DAMPER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_23:
	movq	_PID_INERTIA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_25
## %bb.24:
	movq	_FF_INERTIA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	movq	(%r15), %rax
LBB0_25:
	movq	_PID_FRICTION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%ebx, %ebx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_27
## %bb.26:
	movq	_FF_FRICTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_set_bit
	jmp	LBB0_27
LBB0_1:
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_hid_err
	movl	$-1, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"effect type number %d is invalid\n"

	.comm	_PID_CONSTANT,8,3               ## @PID_CONSTANT
	.comm	_FF_CONSTANT,4,2                ## @FF_CONSTANT
	.comm	_PID_RAMP,8,3                   ## @PID_RAMP
	.comm	_FF_RAMP,4,2                    ## @FF_RAMP
	.comm	_PID_SQUARE,8,3                 ## @PID_SQUARE
	.comm	_FF_SQUARE,4,2                  ## @FF_SQUARE
	.comm	_FF_PERIODIC,4,2                ## @FF_PERIODIC
	.comm	_PID_SINE,8,3                   ## @PID_SINE
	.comm	_FF_SINE,4,2                    ## @FF_SINE
	.comm	_PID_TRIANGLE,8,3               ## @PID_TRIANGLE
	.comm	_FF_TRIANGLE,4,2                ## @FF_TRIANGLE
	.comm	_PID_SAW_UP,8,3                 ## @PID_SAW_UP
	.comm	_FF_SAW_UP,4,2                  ## @FF_SAW_UP
	.comm	_PID_SAW_DOWN,8,3               ## @PID_SAW_DOWN
	.comm	_FF_SAW_DOWN,4,2                ## @FF_SAW_DOWN
	.comm	_PID_SPRING,8,3                 ## @PID_SPRING
	.comm	_FF_SPRING,4,2                  ## @FF_SPRING
	.comm	_PID_DAMPER,8,3                 ## @PID_DAMPER
	.comm	_FF_DAMPER,4,2                  ## @FF_DAMPER
	.comm	_PID_INERTIA,8,3                ## @PID_INERTIA
	.comm	_FF_INERTIA,4,2                 ## @FF_INERTIA
	.comm	_PID_FRICTION,8,3               ## @PID_FRICTION
	.comm	_FF_FRICTION,4,2                ## @FF_FRICTION
	.no_dead_strip	_pidff_find_effects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pidff_find_effects
_pidff_find_effects:                    ; @pidff_find_effects
	.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	x19, x0
	ldr	x8, [x0]
	ldp	x11, x9, [x0, #16]
	ldr	x10, [x9]
	ldr	x9, [x11]
	ldrsw	x11, [x8]
	lsl	x11, x11, #3
	ldr	x12, [x10, x11]
	ldr	x11, [x9, x11]
	cmp	x12, x11
	b.ne	LBB0_27
; %bb.1:
	ldrsw	x11, [x8, #4]
	lsl	x11, x11, #3
	ldr	x12, [x10, x11]
	ldr	x11, [x9, x11]
	cmp	x12, x11
	b.ne	LBB0_28
; %bb.2:
	ldrsw	x11, [x8, #8]
	lsl	x11, x11, #3
	ldr	x12, [x10, x11]
	ldr	x11, [x9, x11]
	cmp	x12, x11
	b.ne	LBB0_29
; %bb.3:
	ldrsw	x11, [x8, #12]
	lsl	x11, x11, #3
	ldr	x10, [x10, x11]
	ldr	x9, [x9, x11]
	cmp	x10, x9
	b.ne	LBB0_30
; %bb.4:
	mov	x20, x1
Lloh0:
	adrp	x9, _PID_CONSTANT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PID_CONSTANT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _FF_CONSTANT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FF_CONSTANT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_6:
Lloh6:
	adrp	x9, _PID_RAMP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PID_RAMP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _FF_RAMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FF_RAMP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_8:
Lloh12:
	adrp	x9, _PID_SQUARE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PID_SQUARE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh15:
	adrp	x21, _FF_PERIODIC@GOTPAGE
Lloh16:
	ldr	x21, [x21, _FF_PERIODIC@GOTPAGEOFF]
	cbz	w9, LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _FF_SQUARE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FF_SQUARE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_10:
Lloh20:
	adrp	x9, _PID_SINE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PID_SINE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_12
; %bb.11:
Lloh23:
	adrp	x8, _FF_SINE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FF_SINE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_12:
Lloh26:
	adrp	x9, _PID_TRIANGLE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PID_TRIANGLE@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_14
; %bb.13:
Lloh29:
	adrp	x8, _FF_TRIANGLE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FF_TRIANGLE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_14:
Lloh32:
	adrp	x9, _PID_SAW_UP@GOTPAGE
Lloh33:
	ldr	x9, [x9, _PID_SAW_UP@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_16
; %bb.15:
Lloh35:
	adrp	x8, _FF_SAW_UP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FF_SAW_UP@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_16:
Lloh38:
	adrp	x9, _PID_SAW_DOWN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _PID_SAW_DOWN@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_18
; %bb.17:
Lloh41:
	adrp	x8, _FF_SAW_DOWN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _FF_SAW_DOWN@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_18:
Lloh44:
	adrp	x9, _PID_SPRING@GOTPAGE
Lloh45:
	ldr	x9, [x9, _PID_SPRING@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_20
; %bb.19:
Lloh47:
	adrp	x8, _FF_SPRING@GOTPAGE
Lloh48:
	ldr	x8, [x8, _FF_SPRING@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_20:
Lloh50:
	adrp	x9, _PID_DAMPER@GOTPAGE
Lloh51:
	ldr	x9, [x9, _PID_DAMPER@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_22
; %bb.21:
Lloh53:
	adrp	x8, _FF_DAMPER@GOTPAGE
Lloh54:
	ldr	x8, [x8, _FF_DAMPER@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_22:
Lloh56:
	adrp	x9, _PID_INERTIA@GOTPAGE
Lloh57:
	ldr	x9, [x9, _PID_INERTIA@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_24
; %bb.23:
Lloh59:
	adrp	x8, _FF_INERTIA@GOTPAGE
Lloh60:
	ldr	x8, [x8, _FF_INERTIA@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
	ldr	x8, [x19]
LBB0_24:
Lloh62:
	adrp	x9, _PID_FRICTION@GOTPAGE
Lloh63:
	ldr	x9, [x9, _PID_FRICTION@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_26
; %bb.25:
Lloh65:
	adrp	x8, _FF_FRICTION@GOTPAGE
Lloh66:
	ldr	x8, [x8, _FF_FRICTION@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_set_bit
LBB0_26:
	mov	w0, #0
	b	LBB0_32
LBB0_27:
	mov	w2, #0
	b	LBB0_31
LBB0_28:
	mov	w2, #1
	b	LBB0_31
LBB0_29:
	mov	w2, #2
	b	LBB0_31
LBB0_30:
	mov	w2, #3
LBB0_31:
	ldr	w0, [x19, #8]
Lloh68:
	adrp	x1, l_.str@PAGE
Lloh69:
	add	x1, x1, l_.str@PAGEOFF
	bl	_hid_err
	mov	w0, #-1
LBB0_32:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"effect type number %d is invalid\n"

	.comm	_PID_CONSTANT,8,3               ; @PID_CONSTANT
	.comm	_FF_CONSTANT,4,2                ; @FF_CONSTANT
	.comm	_PID_RAMP,8,3                   ; @PID_RAMP
	.comm	_FF_RAMP,4,2                    ; @FF_RAMP
	.comm	_PID_SQUARE,8,3                 ; @PID_SQUARE
	.comm	_FF_SQUARE,4,2                  ; @FF_SQUARE
	.comm	_FF_PERIODIC,4,2                ; @FF_PERIODIC
	.comm	_PID_SINE,8,3                   ; @PID_SINE
	.comm	_FF_SINE,4,2                    ; @FF_SINE
	.comm	_PID_TRIANGLE,8,3               ; @PID_TRIANGLE
	.comm	_FF_TRIANGLE,4,2                ; @FF_TRIANGLE
	.comm	_PID_SAW_UP,8,3                 ; @PID_SAW_UP
	.comm	_FF_SAW_UP,4,2                  ; @FF_SAW_UP
	.comm	_PID_SAW_DOWN,8,3               ; @PID_SAW_DOWN
	.comm	_FF_SAW_DOWN,4,2                ; @FF_SAW_DOWN
	.comm	_PID_SPRING,8,3                 ; @PID_SPRING
	.comm	_FF_SPRING,4,2                  ; @FF_SPRING
	.comm	_PID_DAMPER,8,3                 ; @PID_DAMPER
	.comm	_FF_DAMPER,4,2                  ; @FF_DAMPER
	.comm	_PID_INERTIA,8,3                ; @PID_INERTIA
	.comm	_FF_INERTIA,4,2                 ; @FF_INERTIA
	.comm	_PID_FRICTION,8,3               ; @PID_FRICTION
	.comm	_FF_FRICTION,4,2                ; @FF_FRICTION
	.no_dead_strip	_pidff_find_effects
.subsections_via_symbols
