	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_rings
_init_rings:                            ## @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	%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
	movq	(%rdi), %rsi
	addq	$24, %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	___raw_writel
	movq	_TS_SUSPEND@GOTPCREL(%rip), %rax
	movq	_FS_SUSPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	(%r15), %rsi
	addq	$20, %rsi
	callq	___raw_writel
	movq	_QUEUE_THRESHOLD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	(%r15), %rsi
	addq	$16, %rsi
	callq	___raw_writel
	movq	_CLR_FS_STATE@GOTPCREL(%rip), %rax
	movl	(%rbx), %edi
	orl	(%rax), %edi
	movq	(%r15), %rsi
	addq	$16, %rsi
	callq	___raw_writel
	movl	(%rbx), %edi
	movq	(%r15), %rsi
	addq	$16, %rsi
	callq	___raw_writel
	movl	8(%r15), %edi
	movq	_RX_POOL_ALLOC_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	40(%r15), %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dmam_alloc_coherent
	movq	%rax, 64(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movl	(%rbx), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_RX_DESCS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.2:
	movl	$10, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %r14
	movq	_RX_SEGMENT_ALLOC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_netdev_alloc_frag
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	_RX_SEGMENT_MRU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	%eax, (%r14,%rbx,2)
	movq	_RX_DESCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpq	%rax, %r12
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -20(%r14,%rbx,2)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -16(%r14,%rbx,2)
	movl	8(%r15), %edi
	movq	_SKB_HEAD_ALIGN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	addq	%r13, %rsi
	movl	(%rcx), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, -4(%r14,%rbx,2)
	movl	8(%r15), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	jne	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	56(%r15), %rax
	movq	%r13, (%rax,%r12,8)
	movl	-4(%r14,%rbx,2), %eax
	movq	48(%r15), %rcx
	movl	%eax, (%rcx,%r12,4)
	movl	$0, -8(%r14,%rbx,2)
	incq	%r12
	movq	_RX_DESCS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$12, %rbx
	cmpq	%rax, %r12
	jl	LBB0_3
LBB0_8:
	movl	40(%r15), %edi
	movq	(%r15), %rsi
	addq	$12, %rsi
	callq	___raw_writel
	movl	40(%r15), %edi
	movq	(%r15), %rsi
	addq	$8, %rsi
	callq	___raw_writel
	movl	8(%r15), %edi
	movq	_TX_POOL_ALLOC_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	16(%r15), %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dmam_alloc_coherent
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movl	(%rbx), %edx
	xorl	%r14d, %r14d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_TX_DESCS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	jle	LBB0_16
## %bb.10:
	movq	24(%r15), %rcx
	movq	32(%r15), %rdx
	xorl	%esi, %esi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	$1, 12(%rdx)
	incq	%rsi
	movslq	(%rax), %rdi
	addq	$24, %rdx
	cmpq	%rdi, %rsi
	jge	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rcx,%rsi,8)
	decl	%edi
	cmpq	%rdi, %rsi
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	$1, (%rdx)
	jmp	LBB0_11
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movl	16(%r15), %edi
	movq	(%r15), %rsi
	addq	$4, %rsi
	callq	___raw_writel
	movl	16(%r15), %edi
	movq	(%r15), %rsi
	callq	___raw_writel
	jmp	LBB0_20
LBB0_17:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_18:
	xorl	%r14d, %r14d
LBB0_19:
	subl	(%rax), %r14d
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_SUSPEND,4,2                 ## @TS_SUSPEND
	.comm	_FS_SUSPEND,4,2                 ## @FS_SUSPEND
	.comm	_QUEUE_THRESHOLD,4,2            ## @QUEUE_THRESHOLD
	.comm	_CLR_FS_STATE,4,2               ## @CLR_FS_STATE
	.comm	_RX_POOL_ALLOC_SIZE,4,2         ## @RX_POOL_ALLOC_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RX_DESCS,4,2                   ## @RX_DESCS
	.comm	_RX_SEGMENT_ALLOC_SIZE,4,2      ## @RX_SEGMENT_ALLOC_SIZE
	.comm	_RX_SEGMENT_MRU,4,2             ## @RX_SEGMENT_MRU
	.comm	_SKB_HEAD_ALIGN,4,2             ## @SKB_HEAD_ALIGN
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_TX_POOL_ALLOC_SIZE,4,2         ## @TX_POOL_ALLOC_SIZE
	.comm	_TX_DESCS,4,2                   ## @TX_DESCS
	.no_dead_strip	_init_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_rings
_init_rings:                            ; @init_rings
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	ldr	x8, [x0]
	add	x1, x8, #24
	mov	w0, #0
	bl	___raw_writel
Lloh0:
	adrp	x8, _TS_SUSPEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TS_SUSPEND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FS_SUSPEND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FS_SUSPEND@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
	add	x1, x8, #20
	bl	___raw_writel
Lloh6:
	adrp	x20, _QUEUE_THRESHOLD@GOTPAGE
Lloh7:
	ldr	x20, [x20, _QUEUE_THRESHOLD@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19]
	add	x1, x8, #16
	bl	___raw_writel
Lloh8:
	adrp	x8, _CLR_FS_STATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CLR_FS_STATE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w0, w9, w8
	ldr	x8, [x19]
	add	x1, x8, #16
	bl	___raw_writel
	ldr	w0, [x20]
	ldr	x8, [x19]
	add	x1, x8, #16
	bl	___raw_writel
Lloh11:
	adrp	x20, _RX_POOL_ALLOC_SIZE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _RX_POOL_ALLOC_SIZE@GOTPAGEOFF]
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
	add	x2, x19, #40
Lloh13:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	bl	_dmam_alloc_coherent
	str	x0, [x19, #64]
	cbz	x0, LBB0_14
; %bb.1:
	ldr	w2, [x20]
	mov	w1, #0
	bl	_memset
Lloh16:
	adrp	x22, _RX_DESCS@GOTPAGE
Lloh17:
	ldr	x22, [x22, _RX_DESCS@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x23, #0
	mov	x24, #0
Lloh18:
	adrp	x26, _RX_SEGMENT_MRU@GOTPAGE
Lloh19:
	ldr	x26, [x26, _RX_SEGMENT_MRU@GOTPAGEOFF]
	movi.2s	v8, #1
Lloh20:
	adrp	x28, _SKB_HEAD_ALIGN@GOTPAGE
Lloh21:
	ldr	x28, [x28, _SKB_HEAD_ALIGN@GOTPAGEOFF]
Lloh22:
	adrp	x21, _DMA_FROM_DEVICE@GOTPAGE
Lloh23:
	ldr	x21, [x21, _DMA_FROM_DEVICE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #64]
Lloh24:
	adrp	x8, _RX_SEGMENT_ALLOC_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RX_SEGMENT_ALLOC_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_netdev_alloc_frag
	cbz	x0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	ldr	w8, [x26]
	add	x25, x27, x23
	str	w8, [x25, #20]
	ldr	w8, [x22]
	sub	w8, w8, #1
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
	str	w8, [x27, x23]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	stur	d8, [x25, #4]
	ldr	w0, [x19, #8]
	ldrsw	x8, [x28]
	add	x1, x20, x8
	ldr	w2, [x26]
	ldr	w3, [x21]
	bl	_dma_map_single
	mov	x1, x0
	str	w0, [x25, #16]
	ldr	w0, [x19, #8]
	bl	_dma_mapping_error
	cbnz	x0, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #56]
	str	x20, [x8, x24, lsl #3]
	ldr	w8, [x25, #16]
	ldr	x9, [x19, #48]
	str	w8, [x9, x24, lsl #2]
	add	x8, x27, x23
	str	wzr, [x8, #12]
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x23, x23, #24
	cmp	x24, x8
	b.lt	LBB0_3
LBB0_8:
	ldr	w0, [x19, #40]
	ldr	x8, [x19]
	add	x1, x8, #12
	bl	___raw_writel
	ldr	w0, [x19, #40]
	ldr	x8, [x19]
	add	x1, x8, #8
	bl	___raw_writel
	ldr	w0, [x19, #8]
Lloh27:
	adrp	x20, _TX_POOL_ALLOC_SIZE@GOTPAGE
Lloh28:
	ldr	x20, [x20, _TX_POOL_ALLOC_SIZE@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, x19, #16
Lloh29:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	bl	_dmam_alloc_coherent
	str	x0, [x19, #32]
	cbz	x0, LBB0_14
; %bb.9:
	ldr	w2, [x20]
	mov	w1, #0
	bl	_memset
Lloh32:
	adrp	x8, _TX_DESCS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TX_DESCS@GOTPAGEOFF]
	ldr	w12, [x8]
	cmp	w12, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x9, #0
	ldp	x11, x10, [x19, #24]
	mov	w13, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	str	w13, [x10, #12]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	add	x10, x10, #24
	cmp	x9, x12
	b.ge	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x11, x9, lsl #3]
	sub	w12, w12, #1
	cmp	x9, x12
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	str	w13, [x10]
	b	LBB0_11
LBB0_14:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_16:
	ldr	w0, [x19, #16]
	ldr	x8, [x19]
	add	x1, x8, #4
	bl	___raw_writel
	ldr	w0, [x19, #16]
	ldr	x1, [x19]
	bl	___raw_writel
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh36:
	adrp	x8, _EIO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_SUSPEND,4,2                 ; @TS_SUSPEND
	.comm	_FS_SUSPEND,4,2                 ; @FS_SUSPEND
	.comm	_QUEUE_THRESHOLD,4,2            ; @QUEUE_THRESHOLD
	.comm	_CLR_FS_STATE,4,2               ; @CLR_FS_STATE
	.comm	_RX_POOL_ALLOC_SIZE,4,2         ; @RX_POOL_ALLOC_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RX_DESCS,4,2                   ; @RX_DESCS
	.comm	_RX_SEGMENT_ALLOC_SIZE,4,2      ; @RX_SEGMENT_ALLOC_SIZE
	.comm	_RX_SEGMENT_MRU,4,2             ; @RX_SEGMENT_MRU
	.comm	_SKB_HEAD_ALIGN,4,2             ; @SKB_HEAD_ALIGN
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_TX_POOL_ALLOC_SIZE,4,2         ; @TX_POOL_ALLOC_SIZE
	.comm	_TX_DESCS,4,2                   ; @TX_DESCS
	.no_dead_strip	_init_rings
.subsections_via_symbols
