	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function alx_init_ring_ptrs
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_alx_init_ring_ptrs:                    ## @alx_init_ring_ptrs
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	32(%rdi), %r14
	cmpl	$0, (%rdi)
	jle	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	movq	_txring_header_reg@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %r13
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movq	(%r12), %rcx
	movq	(%rax), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	8(%rax), %edx
	movq	%r14, %rdi
	callq	_alx_write_mem32
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movq	$0, 24(%rax)
	movq	_ALX_RRD_ADDR_LO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_RFD_ADDR_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_alx_write_mem32
	jmp	LBB0_6
LBB0_7:
	movq	_ALX_TX_BASE_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_TPD_RING_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %edx
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_RX_BASE_ADDR_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_RRD_RING_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_RFD_RING_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_RFD_BUF_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%r14, %rdi
	callq	_alx_write_mem32
	movq	_ALX_SRAM9@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ALX_SRAM_LOAD_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alx_write_mem32                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_txring_header_reg,8,3          ## @txring_header_reg
	.comm	_ALX_RRD_ADDR_LO,4,2            ## @ALX_RRD_ADDR_LO
	.comm	_ALX_RFD_ADDR_LO,4,2            ## @ALX_RFD_ADDR_LO
	.comm	_ALX_TX_BASE_ADDR_HI,4,2        ## @ALX_TX_BASE_ADDR_HI
	.comm	_ALX_TPD_RING_SZ,4,2            ## @ALX_TPD_RING_SZ
	.comm	_ALX_RX_BASE_ADDR_HI,4,2        ## @ALX_RX_BASE_ADDR_HI
	.comm	_ALX_RRD_RING_SZ,4,2            ## @ALX_RRD_RING_SZ
	.comm	_ALX_RFD_RING_SZ,4,2            ## @ALX_RFD_RING_SZ
	.comm	_ALX_RFD_BUF_SZ,4,2             ## @ALX_RFD_BUF_SZ
	.comm	_ALX_SRAM9,4,2                  ## @ALX_SRAM9
	.comm	_ALX_SRAM_LOAD_PTR,4,2          ## @ALX_SRAM_LOAD_PTR
	.no_dead_strip	_alx_init_ring_ptrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alx_init_ring_ptrs
_alx_init_ring_ptrs:                    ; @alx_init_ring_ptrs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	mov	x19, x0
	ldr	w8, [x19], #32
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
Lloh0:
	adrp	x22, _ALX_RRD_ADDR_LO@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ALX_RRD_ADDR_LO@GOTPAGEOFF]
Lloh2:
	adrp	x23, _ALX_RFD_ADDR_LO@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ALX_RFD_ADDR_LO@GOTPAGEOFF]
Lloh4:
	adrp	x24, _txring_header_reg@GOTPAGE
Lloh5:
	ldr	x24, [x24, _txring_header_reg@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x25, [x8, x21, lsl #3]
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	stp	xzr, xzr, [x8, #16]
	ldr	x9, [x24]
	ldr	x10, [x8]
	ldr	w1, [x9, x10, lsl #2]
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_alx_write_mem32
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	stp	xzr, xzr, [x8, #8]
	str	xzr, [x8, #24]
	ldr	w1, [x22]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
	ldr	w1, [x23]
	ldr	x8, [x25]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_alx_write_mem32
	b	LBB0_2
LBB0_7:
Lloh6:
	adrp	x8, _ALX_TX_BASE_ADDR_HI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALX_TX_BASE_ADDR_HI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh9:
	adrp	x8, _ALX_TPD_RING_SZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALX_TPD_RING_SZ@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh12:
	adrp	x8, _ALX_RX_BASE_ADDR_HI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ALX_RX_BASE_ADDR_HI@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh15:
	adrp	x8, _ALX_RRD_RING_SZ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ALX_RRD_RING_SZ@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh18:
	adrp	x8, _ALX_RFD_RING_SZ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ALX_RFD_RING_SZ@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh21:
	adrp	x8, _ALX_RFD_BUF_SZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ALX_RFD_BUF_SZ@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_alx_write_mem32
Lloh24:
	adrp	x8, _ALX_SRAM9@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ALX_SRAM9@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _ALX_SRAM_LOAD_PTR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ALX_SRAM_LOAD_PTR@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_alx_write_mem32
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_txring_header_reg,8,3          ; @txring_header_reg
	.comm	_ALX_RRD_ADDR_LO,4,2            ; @ALX_RRD_ADDR_LO
	.comm	_ALX_RFD_ADDR_LO,4,2            ; @ALX_RFD_ADDR_LO
	.comm	_ALX_TX_BASE_ADDR_HI,4,2        ; @ALX_TX_BASE_ADDR_HI
	.comm	_ALX_TPD_RING_SZ,4,2            ; @ALX_TPD_RING_SZ
	.comm	_ALX_RX_BASE_ADDR_HI,4,2        ; @ALX_RX_BASE_ADDR_HI
	.comm	_ALX_RRD_RING_SZ,4,2            ; @ALX_RRD_RING_SZ
	.comm	_ALX_RFD_RING_SZ,4,2            ; @ALX_RFD_RING_SZ
	.comm	_ALX_RFD_BUF_SZ,4,2             ; @ALX_RFD_BUF_SZ
	.comm	_ALX_SRAM9,4,2                  ; @ALX_SRAM9
	.comm	_ALX_SRAM_LOAD_PTR,4,2          ; @ALX_SRAM_LOAD_PTR
	.no_dead_strip	_alx_init_ring_ptrs
.subsections_via_symbols
