	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_init_rings
_macb_init_rings:                       ## @macb_init_rings
	.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	%rdi, %r14
	movq	8(%rdi), %rdi
	callq	_macb_init_rx_ring
	xorl	%r15d, %r15d
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.1:
	movq	_TX_USED@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	movl	%r15d, %esi
	callq	_macb_tx_desc
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_macb_set_addr
	movl	(%r12), %edi
	callq	_MACB_BIT
	movl	%eax, (%rbx)
	incl	%r15d
	cmpl	(%r14), %r15d
	jl	LBB0_2
## %bb.3:
	movq	%rbx, %r15
LBB0_4:
	movq	8(%r14), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	_TX_WRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	orl	%eax, (%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_USED,4,2                    ## @TX_USED
	.comm	_TX_WRAP,4,2                    ## @TX_WRAP
	.no_dead_strip	_macb_init_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_init_rings
_macb_init_rings:                       ; @macb_init_rings
	.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, x0
	ldr	x0, [x0, #8]
	bl	_macb_init_rx_ring
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
Lloh0:
	adrp	x22, _TX_USED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TX_USED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_macb_tx_desc
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_macb_set_addr
	ldr	w0, [x22]
	bl	_MACB_BIT
	str	w0, [x20]
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	ldr	x8, [x19, #8]
	stp	xzr, xzr, [x8]
Lloh2:
	adrp	x8, _TX_WRAP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TX_WRAP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_MACB_BIT
	ldr	w8, [x20]
	orr	w8, w8, w0
	str	w8, [x20]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_USED,4,2                    ; @TX_USED
	.comm	_TX_WRAP,4,2                    ; @TX_WRAP
	.no_dead_strip	_macb_init_rings
.subsections_via_symbols
