	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa2_eth_set_rx_taildrop
_dpaa2_eth_set_rx_taildrop:             ## @dpaa2_eth_set_rx_taildrop
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -48(%rbp)
	cmpl	%esi, (%rdi)
	je	LBB0_8
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%esi, -56(%rbp)
	movq	_DPAA2_ETH_TAILDROP_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	4(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	$8, %ebx
	xorl	%r12d, %r12d
	movq	_DPAA2_RX_FQ@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rsi
	movq	-8(%rsi,%rbx), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%r15), %edx
	movl	28(%r15), %edi
	movq	_DPNI_CP_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DPNI_QUEUE_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%rsi,%rbx), %r10d
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	%r10
	callq	_dpni_set_taildrop
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %eax
	jmp	LBB0_6
LBB0_9:
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
LBB0_7:
	movl	%r14d, (%r15)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPAA2_ETH_TAILDROP_THRESH,4,2  ## @DPAA2_ETH_TAILDROP_THRESH
	.comm	_DPAA2_RX_FQ,8,3                ## @DPAA2_RX_FQ
	.comm	_DPNI_CP_QUEUE,4,2              ## @DPNI_CP_QUEUE
	.comm	_DPNI_QUEUE_RX,4,2              ## @DPNI_QUEUE_RX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dpni_set_taildrop() failed\n"

	.no_dead_strip	_dpaa2_eth_set_rx_taildrop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa2_eth_set_rx_taildrop
_dpaa2_eth_set_rx_taildrop:             ; @dpaa2_eth_set_rx_taildrop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	wzr, [sp, #8]
	ldr	w8, [x0]
	cmp	w8, w1
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DPAA2_ETH_TAILDROP_THRESH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPAA2_ETH_TAILDROP_THRESH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w1, w8, [sp]
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x21, #0
	mov	x22, #0
Lloh3:
	adrp	x23, _DPAA2_RX_FQ@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DPAA2_RX_FQ@GOTPAGEOFF]
Lloh5:
	adrp	x24, _DPNI_CP_QUEUE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _DPNI_CP_QUEUE@GOTPAGEOFF]
Lloh7:
	adrp	x25, _DPNI_QUEUE_RX@GOTPAGE
Lloh8:
	ldr	x25, [x25, _DPNI_QUEUE_RX@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	add	x21, x21, #16
	cmp	x22, w8, sxtw
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	ldr	x10, [x9, x21]
	ldr	x11, [x23]
	cmp	x10, x11
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w2, w0, [x20, #24]
	ldr	w3, [x24]
	ldr	w4, [x25]
	add	x8, x9, x21
	ldr	w6, [x8, #8]
	mov	x7, sp
	mov	w1, #0
	mov	w5, #0
	bl	_dpni_set_taildrop
	cbnz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #4]
	b	LBB0_3
LBB0_7:
	ldr	w0, [x20, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
LBB0_8:
	str	w19, [x20]
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DPAA2_ETH_TAILDROP_THRESH,4,2  ; @DPAA2_ETH_TAILDROP_THRESH
	.comm	_DPAA2_RX_FQ,8,3                ; @DPAA2_RX_FQ
	.comm	_DPNI_CP_QUEUE,4,2              ; @DPNI_CP_QUEUE
	.comm	_DPNI_QUEUE_RX,4,2              ; @DPNI_QUEUE_RX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dpni_set_taildrop() failed\n"

	.no_dead_strip	_dpaa2_eth_set_rx_taildrop
.subsections_via_symbols
