	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iforce_erase_effect
_iforce_erase_effect:                   ## @iforce_erase_effect
	.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
	movl	%esi, %ebx
	callq	_input_get_drvdata
	movq	(%rax), %r14
	movslq	%ebx, %rbx
	movq	_FF_MOD1_IS_USED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shlq	$4, %rbx
	leaq	(%r14,%rbx), %r15
	movq	(%r14,%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	(%r14,%rbx), %rdi
	addq	$12, %rdi
	callq	_release_resource
	testl	%eax, %eax
	jne	LBB0_5
LBB0_2:
	movq	_FF_MOD2_IS_USED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	(%r14,%rbx), %rdi
	addq	$8, %rdi
	callq	_release_resource
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	(%r15), %rcx
	movq	$0, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_MOD1_IS_USED,4,2            ## @FF_MOD1_IS_USED
	.comm	_FF_MOD2_IS_USED,4,2            ## @FF_MOD2_IS_USED
	.no_dead_strip	_iforce_erase_effect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iforce_erase_effect
_iforce_erase_effect:                   ; @iforce_erase_effect
	.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, x1
	bl	_input_get_drvdata
	ldr	x20, [x0]
	sxtw	x21, w19
Lloh0:
	adrp	x8, _FF_MOD1_IS_USED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_MOD1_IS_USED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x19, x20, w19, sxtw #4
	ldr	x1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x20, x21, lsl #4
	add	x0, x8, #12
	bl	_release_resource
	cbnz	w0, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _FF_MOD2_IS_USED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FF_MOD2_IS_USED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	add	x8, x20, x21, lsl #4
	add	x0, x8, #8
	bl	_release_resource
LBB0_4:
	ldr	x8, [x19]
	str	xzr, [x8]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_MOD1_IS_USED,4,2            ; @FF_MOD1_IS_USED
	.comm	_FF_MOD2_IS_USED,4,2            ; @FF_MOD2_IS_USED
	.no_dead_strip	_iforce_erase_effect
.subsections_via_symbols
