	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmx_section_feed_release_filter
_dmx_section_feed_release_filter:       ## @dmx_section_feed_release_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	%rbx, 16(%r15)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_2:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	%r14, %rdi
	callq	_mutex_lock
LBB0_4:
	leaq	4(%r14), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irq
	movq	(%rbx), %rax
	cmpq	%r15, %rax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rax
	cmpq	%r15, %rax
	jne	LBB0_5
## %bb.6:
	addq	$8, %rbx
LBB0_7:
	movq	8(%r15), %rax
	movq	%rax, (%rbx)
	movq	_DMX_STATE_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_spin_unlock_irq
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DMX_STATE_FREE,4,2             ## @DMX_STATE_FREE
	.no_dead_strip	_dmx_section_feed_release_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmx_section_feed_release_filter
_dmx_section_feed_release_filter:       ; @dmx_section_feed_release_filter
	.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	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20, #16]
	cmp	x8, x21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_mutex_unlock
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_mutex_unlock
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
	mov	x0, x19
	bl	_mutex_lock
LBB0_4:
	add	x22, x19, #4
	mov	x0, x22
	bl	_spin_lock_irq
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cmp	x8, x20
	b.ne	LBB0_5
; %bb.6:
	add	x21, x9, #8
LBB0_7:
	ldr	x8, [x20, #8]
	str	x8, [x21]
Lloh3:
	adrp	x8, _DMX_STATE_FREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMX_STATE_FREE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x22
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
LBB0_8:
	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	_EINVAL,4,2                     ; @EINVAL
	.comm	_DMX_STATE_FREE,4,2             ; @DMX_STATE_FREE
	.no_dead_strip	_dmx_section_feed_release_filter
.subsections_via_symbols
