	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_rx_pages
_bnxt_rx_pages:                         ## @bnxt_rx_pages
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r10
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	(%rax), %r12
	movq	(%r12), %rax
	movq	_BNXT_FLAG_CHIP_P5@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	setne	%cl
	testl	%r9d, %r9d
	setne	%dl
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	testq	%r8, %r8
	jle	LBB0_8
## %bb.1:
	movl	%r9d, -76(%rbp)                 ## 4-byte Spill
	andb	%cl, %dl
	movq	8(%rdi), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	%dl, %dl
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_bnxt_get_tpa_agg_p5
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_bnxt_get_agg
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %r14
	movl	8(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, %r15
	movq	_RX_AGG_CMP_LEN@GOTPCREL(%rip), %rax
	andq	(%rax), %r15
	movq	_RX_AGG_CMP_LEN_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shrq	%cl, %r15
	movq	16(%r12), %r13
	movq	%r14, %rbx
	shlq	$4, %rbx
	movq	(%r13,%rbx), %rdx
	movl	12(%r13,%rbx), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_skb_fill_page_desc
	movl	8(%r12), %esi
	movq	%r14, %rdi
	callq	___clear_bit
	movl	8(%r13,%rbx), %r14d
	movq	(%r13,%rbx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	$0, (%r13,%rbx)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdx
	callq	_bnxt_alloc_rx_page
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BNXT_RX_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DMA_ATTR_WEAK_ORDERING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %esi
	callq	_dma_unmap_page_attrs
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movdqu	(%rbx), %xmm0
	movq	%r15, %xmm1
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, (%rbx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, 16(%rbx)
	movq	%r12, %rdi
	callq	_NEXT_RX_AGG
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	cmpq	%rcx, -104(%rbp)                ## 8-byte Folded Reload
	movq	%rbx, %r10
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movzbl	-41(%rbp), %edx                 ## 1-byte Folded Reload
	jne	LBB0_2
LBB0_8:
	movq	%rax, (%r12)
	jmp	LBB0_9
LBB0_6:
	addq	%rbx, %r13
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %edi
	decl	%edi
	movl	%edi, (%rax)
	shlq	$2, %rdi
	addq	8(%rax), %rdi
	xorl	%esi, %esi
	callq	___skb_frag_set_page
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%r13)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	subq	%rdx, %rcx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	callq	_bnxt_reuse_rx_agg_bufs
	xorl	%r10d, %r10d
LBB0_9:
	movq	%r10, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ## @BNXT_FLAG_CHIP_P5
	.comm	_RX_AGG_CMP_LEN,8,3             ## @RX_AGG_CMP_LEN
	.comm	_RX_AGG_CMP_LEN_SHIFT,8,3       ## @RX_AGG_CMP_LEN_SHIFT
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_BNXT_RX_PAGE_SIZE,4,2          ## @BNXT_RX_PAGE_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_DMA_ATTR_WEAK_ORDERING,4,2     ## @DMA_ATTR_WEAK_ORDERING
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_bnxt_rx_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_rx_pages
_bnxt_rx_pages:                         ; @bnxt_rx_pages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	str	x3, [sp, #40]                   ; 8-byte Folded Spill
	mov	x20, x2
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x1]
	ldr	x24, [x8]
	ldr	x25, [x24]
Lloh0:
	adrp	x8, _BNXT_FLAG_CHIP_P5@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_FLAG_CHIP_P5@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	ccmp	w5, #0, #4, ne
	cset	w21, ne
	str	x4, [sp, #32]                   ; 8-byte Folded Spill
	cmp	x4, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x27, x0
	str	w5, [sp, #12]                   ; 4-byte Folded Spill
	mov	x26, #0
	ldr	x8, [x0, #8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	cbz	w21, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x24
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	mov	x3, x26
	bl	_bnxt_get_tpa_agg_p5
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
	mov	x3, x26
	bl	_bnxt_get_agg
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x23, [x0]
	ldr	w0, [x0, #8]
	bl	_le32_to_cpu
Lloh3:
	adrp	x8, _RX_AGG_CMP_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_AGG_CMP_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x8, x8, x0
Lloh6:
	adrp	x9, _RX_AGG_CMP_LEN_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_AGG_CMP_LEN_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	lsr	x19, x8, x9
	ldr	x8, [x24, #16]
	add	x22, x8, x23, lsl #4
	ldr	x2, [x22]
	ldr	w3, [x22, #12]
	mov	x0, x20
	mov	x1, x26
	mov	x4, x19
	bl	_skb_fill_page_desc
	ldr	w1, [x24, #8]
	mov	x0, x23
	bl	___clear_bit
	ldr	w23, [x22, #8]
	ldr	x28, [x22]
	str	xzr, [x22]
Lloh9:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x27
	mov	x1, x24
	mov	x2, x25
	bl	_bnxt_alloc_rx_page
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x8, _BNXT_RX_PAGE_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNXT_RX_PAGE_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	_dma_unmap_page_attrs
	ldr	q0, [x20]
	dup.2d	v1, x19
	add.2d	v0, v0, v1
	str	q0, [x20]
Lloh21:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	add	w8, w9, w8
	str	w8, [x20, #16]
	mov	x0, x25
	bl	_NEXT_RX_AGG
	mov	x25, x0
	add	x26, x26, #1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	x8, x26
	b.ne	LBB0_2
LBB0_7:
	str	x25, [x24]
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	ldr	x9, [x0, #8]
	add	x0, x9, w8, uxtw #2
	mov	x1, #0
	bl	___skb_frag_set_page
	mov	x0, x20
	bl	_dev_kfree_skb
	str	x28, [x22]
	str	x25, [x24]
	ldp	x8, x1, [sp, #32]               ; 16-byte Folded Reload
	sub	x3, x8, x26
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x26
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
	bl	_bnxt_reuse_rx_agg_bufs
	mov	x20, #0
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ; @BNXT_FLAG_CHIP_P5
	.comm	_RX_AGG_CMP_LEN,8,3             ; @RX_AGG_CMP_LEN
	.comm	_RX_AGG_CMP_LEN_SHIFT,8,3       ; @RX_AGG_CMP_LEN_SHIFT
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_BNXT_RX_PAGE_SIZE,4,2          ; @BNXT_RX_PAGE_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_DMA_ATTR_WEAK_ORDERING,4,2     ; @DMA_ATTR_WEAK_ORDERING
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_bnxt_rx_pages
.subsections_via_symbols
