	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qed_llh_shadow_remove_filter
___qed_llh_shadow_remove_filter:        ## @__qed_llh_shadow_remove_filter
	.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
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	(%rdi), %r14
	leaq	L_.str(%rip), %rcx
	callq	_qed_llh_shadow_sanity
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rcx
	movq	(%rcx,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	(%rcx,%r15,8), %rdi
	decq	%rax
	movq	%rax, (%rdi)
	movq	%rax, (%rdx)
	xorl	%ebx, %ebx
	cmpq	$0, (%rdi)
	jne	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_DP_NOTICE
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remove"

L_.str.1:                               ## @.str.1
	.asciz	"LLH shadow: trying to remove a filter with ref_cnt=0\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	___qed_llh_shadow_remove_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __qed_llh_shadow_remove_filter
___qed_llh_shadow_remove_filter:        ; @__qed_llh_shadow_remove_filter
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	bl	_qed_llh_shadow_sanity
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x23]
	ldr	x8, [x8, x22, lsl #3]
	add	x0, x8, x21, lsl #3
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.2:
	sub	x8, x8, #1
	str	x8, [x0]
	str	x8, [x19]
	ldr	x8, [x0]
	cbnz	x8, LBB0_4
; %bb.3:
	mov	w1, #0
	mov	w2, #8
	bl	_memset
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_DP_NOTICE
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remove"

l_.str.1:                               ; @.str.1
	.asciz	"LLH shadow: trying to remove a filter with ref_cnt=0\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	___qed_llh_shadow_remove_filter
.subsections_via_symbols
