	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_free_rx_ring_info
_niu_free_rx_ring_info:                 ## @niu_free_rx_ring_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	72(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movl	(%r14), %edi
	movl	80(%rbx), %ecx
	movl	$4, %esi
	callq	*(%rax)
	movq	$0, 72(%rbx)
LBB0_2:
	movq	56(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	movl	(%r14), %edi
	movq	_MAX_RCR_RING_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	shll	$2, %esi
	movl	64(%rbx), %ecx
	callq	*(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
LBB0_4:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_niu_rbr_free
	movq	8(%r14), %rax
	movl	(%r14), %edi
	movq	_MAX_RBR_RING_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	shll	$2, %esi
	movq	24(%rbx), %rdx
	movl	32(%rbx), %ecx
	callq	*(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
LBB0_6:
	movq	(%rbx), %rdi
	callq	_kfree
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RCR_RING_SIZE,4,2          ## @MAX_RCR_RING_SIZE
	.comm	_MAX_RBR_RING_SIZE,4,2          ## @MAX_RBR_RING_SIZE
	.no_dead_strip	_niu_free_rx_ring_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_free_rx_ring_info
_niu_free_rx_ring_info:                 ; @niu_free_rx_ring_info
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x2, [x1, #72]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
	ldr	w3, [x19, #80]
	mov	w1, #4
	blr	x8
	str	xzr, [x19, #72]
LBB0_2:
	ldr	x2, [x19, #56]
	cbz	x2, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
Lloh0:
	adrp	x9, _MAX_RCR_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_RCR_RING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w1, w9, #2
	ldr	w3, [x19, #64]
	blr	x8
	stp	xzr, xzr, [x19, #48]
	str	xzr, [x19, #40]
LBB0_4:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_niu_rbr_free
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w0, [x20]
Lloh3:
	adrp	x9, _MAX_RBR_RING_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_RBR_RING_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w1, w9, #2
	ldr	x2, [x19, #24]
	ldr	w3, [x19, #32]
	blr	x8
	stp	xzr, xzr, [x19, #16]
	str	xzr, [x19, #8]
LBB0_6:
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RCR_RING_SIZE,4,2          ; @MAX_RCR_RING_SIZE
	.comm	_MAX_RBR_RING_SIZE,4,2          ; @MAX_RBR_RING_SIZE
	.no_dead_strip	_niu_free_rx_ring_info
.subsections_via_symbols
