	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function init_rx_pools
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_init_rx_pools:                         ## @init_rx_pools
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %rax
	movq	32(%rbx), %r14
	movl	4(%rax), %edi
	callq	_be32_to_cpu
	movl	%eax, %r12d
	movq	24(%rbx), %r13
	movl	(%r13), %edi
	callq	_be32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$56, %esi
	callq	_kcalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, (%rbx)
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.2:
	movq	%rax, %r15
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %r13d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14,%r12,4), %edi
	callq	_be64_to_cpu
	movl	%r13d, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_netdev_dbg
	movl	4(%rbx), %eax
	imulq	$56, %r12, %r13
	movl	%eax, (%r15,%r13)
	movl	%r12d, 4(%r15,%r13)
	movl	(%r14,%r12,4), %edi
	callq	_be64_to_cpu
	movl	%eax, 8(%r15,%r13)
	movl	$1, 12(%r15,%r13)
	movl	(%r15,%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 16(%r15,%r13)
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rbx
	movl	(%rbx), %edi
	movl	(%r14), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 48(%r15,%r13)
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rax
	addq	$8, %rax
	leaq	(%r15,%r13), %rsi
	addq	$44, %rsi
	movl	(%rax), %edx
	imull	(%rbx), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_alloc_long_term_buff
	testq	%rax, %rax
	jne	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%rbx)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rax
	addq	$16, %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%rbx), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rdi
	addq	$40, %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_atomic_set
	incq	%r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15,%r13)
	cmpq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %r15
	jmp	LBB0_3
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_17
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_13:
	movq	%rbx, %rdi
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_16:
	callq	_release_rx_pools
LBB0_17:
	movl	$-1, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate rx pools\n"

L_.str.1:                               ## @.str.1
	.asciz	"Initializing rx_pool[%d], %lld buffs, %lld bytes each\n"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't alloc rx buffers\n"

	.no_dead_strip	_init_rx_pools
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_rx_pools
_init_rx_pools:                         ; @init_rx_pools
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.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
	bl	_netdev_priv
	mov	x19, x0
	ldp	x8, x21, [x0, #24]
	ldr	w0, [x8, #4]
	bl	_be32_to_cpu
	mov	x23, x0
	ldr	x20, [x19, #24]
	ldr	w0, [x20]
	bl	_be32_to_cpu
	mov	x24, x0
Lloh0:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x23
	mov	w1, #56
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.1:
	str	w23, [x19]
	cmp	w23, #1
	b.lt	LBB0_12
; %bb.2:
	mov	x22, x0
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x21, #0
	add	x27, x20, w24, sxtw #2
	mov	w28, #56
	mov	w20, w23
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldp	w25, w24, [x19, #4]
	lsl	x23, x21, #2
	ldr	w0, [x27, x23]
	bl	_be64_to_cpu
	mov	x4, x0
	mov	x0, x24
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x3, x25
	bl	_netdev_dbg
	ldr	w8, [x19, #4]
	madd	x24, x21, x28, x22
	stp	w8, w21, [x24]
	ldr	w0, [x27, x23]
	bl	_be64_to_cpu
	mov	x23, x24
	str	w0, [x23, #8]!
	mov	w8, #1
	str	w8, [x24, #12]
	ldr	w0, [x24]
	ldr	w2, [x26]
	mov	w1, #4
	bl	_kcalloc
	mov	x25, x24
	str	x0, [x25, #16]!
	cbz	x0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24]
	ldr	w2, [x26]
	mov	w1, #4
	bl	_kcalloc
	madd	x8, x21, x28, x22
	str	x0, [x8, #48]
	cbz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x8, x21, x28, x22
	add	x1, x8, #44
	ldr	w8, [x24]
	ldr	w9, [x23]
	mul	w2, w9, w8
	mov	x0, x19
	bl	_alloc_long_term_buff
	cbnz	x0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	ldr	x9, [x25]
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w8, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x24]
	cmp	x8, x10
	b.lt	LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	madd	x22, x21, x28, x22
	add	x0, x22, #40
	mov	w1, #0
	bl	_atomic_set
	add	x21, x21, #1
	stp	xzr, xzr, [x22, #24]
	cmp	x21, x20
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x19, #16]
	b	LBB0_3
LBB0_11:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_15
LBB0_12:
	mov	w0, #0
	b	LBB0_16
LBB0_13:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_dev_err
LBB0_14:
	mov	x0, x19
	bl	_release_rx_pools
LBB0_15:
	mov	w0, #-1
LBB0_16:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate rx pools\n"

l_.str.1:                               ; @.str.1
	.asciz	"Initializing rx_pool[%d], %lld buffs, %lld bytes each\n"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't alloc rx buffers\n"

	.no_dead_strip	_init_rx_pools
.subsections_via_symbols
