	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_free_rx_resources
_jme_free_rx_resources:                 ## @jme_free_rx_resources
	.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	16(%rdi), %r14
	cmpq	$0, 48(%r14)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r15
	leaq	16(%r14), %r12
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.2:
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_jme_free_rx_buf
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_4
## %bb.5:
	movq	(%r12), %rdi
LBB0_6:
	callq	_kfree
LBB0_7:
	movq	8(%r15), %rbx
	movl	(%r15), %edi
	callq	_RX_RING_ALLOC_SIZE
	movq	32(%r14), %rcx
	movq	48(%r14), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dma_free_coherent
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movups	%xmm0, 16(%r12)
	movq	$0, 32(%r12)
LBB0_8:
	movq	$0, 8(%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_set                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_jme_free_rx_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_free_rx_resources
_jme_free_rx_resources:                 ; @jme_free_rx_resources
	.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
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x20, x0
	mov	x22, x19
	ldr	x0, [x22, #16]!
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_jme_free_rx_buf
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_4
; %bb.5:
	ldr	x0, [x22]
LBB0_6:
	bl	_kfree
LBB0_7:
	ldr	x21, [x20, #8]
	ldr	w0, [x20]
	bl	_RX_RING_ALLOC_SIZE
	mov	x1, x0
	ldr	x2, [x19, #48]
	ldr	x3, [x19, #32]
	mov	x0, x21
	bl	_dma_free_coherent
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x22]
	str	xzr, [x22, #32]
LBB0_8:
	str	xzr, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	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
	b	_atomic_set
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_jme_free_rx_resources
.subsections_via_symbols
