	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ace_tasklet
_ace_tasklet:                           ## @ace_tasklet
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	48(%rax), %rdi
	callq	_atomic_read
	movl	%eax, %r15d
	movq	_RX_LOW_STD_THRES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_3
## %bb.1:
	leaq	44(%rbx), %rsi
	xorl	%edi, %edi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	cmpl	$2, (%rbx)
	jl	LBB0_7
LBB0_4:
	leaq	40(%rbx), %rdi
	callq	_atomic_read
	movl	%eax, %r15d
	movq	_RX_LOW_MINI_THRES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_7
## %bb.5:
	leaq	36(%rbx), %rsi
	xorl	%edi, %edi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_RX_MINI_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	%r15d, %rax
	subq	%rax, %rsi
	movq	%r14, %rdi
	callq	_ace_load_mini_rx_ring
	jmp	LBB0_7
LBB0_2:
	movq	_RX_RING_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	%r15d, %rax
	subq	%rax, %rsi
	movq	%r14, %rdi
	callq	_ace_load_std_rx_ring
	cmpl	$2, (%rbx)
	jge	LBB0_4
LBB0_7:
	leaq	32(%rbx), %rdi
	callq	_atomic_read
	cmpq	$0, 24(%rbx)
	je	LBB0_11
## %bb.8:
	movl	%eax, %r15d
	movq	_RX_LOW_JUMBO_THRES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_11
## %bb.9:
	movq	%rbx, %rsi
	addq	$16, %rsi
	xorl	%edi, %edi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_RX_JUMBO_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	%r15d, %rax
	subq	%rax, %rsi
	movq	%r14, %rdi
	callq	_ace_load_jumbo_rx_ring
LBB0_11:
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_LOW_STD_THRES,4,2           ## @RX_LOW_STD_THRES
	.comm	_RX_RING_SIZE,8,3               ## @RX_RING_SIZE
	.comm	_RX_LOW_MINI_THRES,4,2          ## @RX_LOW_MINI_THRES
	.comm	_RX_MINI_SIZE,8,3               ## @RX_MINI_SIZE
	.comm	_RX_LOW_JUMBO_THRES,4,2         ## @RX_LOW_JUMBO_THRES
	.comm	_RX_JUMBO_SIZE,8,3              ## @RX_JUMBO_SIZE
	.no_dead_strip	_ace_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ace_tasklet
_ace_tasklet:                           ; @ace_tasklet
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	add	x0, x0, #48
	bl	_atomic_read
Lloh0:
	adrp	x8, _RX_LOW_STD_THRES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_LOW_STD_THRES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_3
; %bb.1:
	mov	x21, x0
	add	x1, x19, #44
	mov	w0, #0
	bl	_test_and_set_bit
	cbnz	w0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _RX_RING_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_RING_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x1, x8, w21, sxtw
	mov	x0, x20
	bl	_ace_load_std_rx_ring
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.4:
	add	x0, x19, #40
	bl	_atomic_read
Lloh6:
	adrp	x8, _RX_LOW_MINI_THRES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_LOW_MINI_THRES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_7
; %bb.5:
	mov	x21, x0
	add	x1, x19, #36
	mov	w0, #0
	bl	_test_and_set_bit
	cbnz	w0, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _RX_MINI_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RX_MINI_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	sub	x1, x8, w21, sxtw
	mov	x0, x20
	bl	_ace_load_mini_rx_ring
LBB0_7:
	add	x0, x19, #32
	bl	_atomic_read
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.8:
	mov	x21, x0
Lloh12:
	adrp	x8, _RX_LOW_JUMBO_THRES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RX_LOW_JUMBO_THRES@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_11
; %bb.9:
	add	x1, x19, #16
	mov	w0, #0
	bl	_test_and_set_bit
	cbnz	w0, LBB0_11
; %bb.10:
Lloh15:
	adrp	x8, _RX_JUMBO_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RX_JUMBO_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	sub	x1, x8, w21, sxtw
	mov	x0, x20
	bl	_ace_load_jumbo_rx_ring
LBB0_11:
	str	xzr, [x19, #8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_LOW_STD_THRES,4,2           ; @RX_LOW_STD_THRES
	.comm	_RX_RING_SIZE,8,3               ; @RX_RING_SIZE
	.comm	_RX_LOW_MINI_THRES,4,2          ; @RX_LOW_MINI_THRES
	.comm	_RX_MINI_SIZE,8,3               ; @RX_MINI_SIZE
	.comm	_RX_LOW_JUMBO_THRES,4,2         ; @RX_LOW_JUMBO_THRES
	.comm	_RX_JUMBO_SIZE,8,3              ; @RX_JUMBO_SIZE
	.no_dead_strip	_ace_tasklet
.subsections_via_symbols
