	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_init_rings
_cp_init_rings:                         ## @cp_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	_CP_TX_RING_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_RingEnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	8(%rbx), %rcx
	movslq	(%r14), %rdx
	movl	%eax, -4(%rcx,%rdx,4)
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_cp_init_rings_index
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cp_refill_rx                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_TX_RING_SIZE,4,2            ## @CP_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ## @RingEnd
	.no_dead_strip	_cp_init_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_init_rings
_cp_init_rings:                         ; @cp_init_rings
	.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, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x20, _CP_TX_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CP_TX_RING_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh2:
	adrp	x8, _RingEnd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RingEnd@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldrsw	x9, [x20]
	ldp	x8, x10, [x19]
	add	x9, x10, x9, lsl #2
	stur	w0, [x9, #-4]
	mov	x0, x8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	bl	_cp_init_rings_index
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cp_refill_rx
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_TX_RING_SIZE,4,2            ; @CP_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ; @RingEnd
	.no_dead_strip	_cp_init_rings
.subsections_via_symbols
