	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_free_rx_skbs
_bnxt_free_rx_skbs:                     ## @bnxt_free_rx_skbs
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.1:
	movq	%rdi, %r15
	cmpl	$0, 8(%rdi)
	jle	LBB0_28
## %bb.2:
	movq	_RX_DESC_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%r15), %ecx
	imull	%eax, %ecx
	imull	(%r15), %eax
	movq	40(%r15), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shlq	$4, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	shlq	$4, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	imulq	$56, %rcx, %rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	48(%rsi,%rax), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rdx, %rcx
	addq	$48, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	$1, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	8(%r14,%r13), %esi
	movl	16(%r15), %ecx
	movl	20(%r15), %edx
	movq	_DMA_ATTR_WEAK_ORDERING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dma_unmap_single_attrs
	movq	$0, (%r14,%r13)
	movq	%rbx, %rdi
	callq	_kfree
	movl	12(%r15), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movslq	%eax, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %r14
	addq	$16, %r13
	incq	%r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %r13
	addq	$40, %r13
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	16(%r15), %ecx
	movl	20(%r15), %edx
	movq	_DMA_ATTR_WEAK_ORDERING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_dma_unmap_single_attrs
	movq	%r12, %rdi
	callq	_kfree
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=2
	addq	$16, %r14
	cmpq	%r14, -120(%rbp)                ## 8-byte Folded Reload
	je	LBB0_15
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movq	(%rax,%r14), %r12
	testq	%r12, %r12
	je	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	8(%rax,%r14), %ebx
	movq	$0, (%rax,%r14)
	movq	%r15, %rdi
	callq	_BNXT_RX_PAGE_MODE
	testq	%rax, %rax
	je	LBB0_26
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	subl	24(%r15), %ebx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%r15), %ecx
	movq	_DMA_ATTR_WEAK_ORDERING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_dma_unmap_page_attrs
	movl	-8(%r13), %edi
	movq	%r12, %rsi
	callq	_page_pool_recycle_direct
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %r14
	addq	$24, %r14
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	incl	%r13d
	addq	$16, %rbx
	cmpq	%rbx, -112(%rbp)                ## 8-byte Folded Reload
	je	LBB0_20
LBB0_17:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %r15
	movq	(%r15,%rbx), %r12
	testq	%r12, %r12
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	8(%r15,%rbx), %esi
	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	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_dma_unmap_page_attrs
	movq	$0, (%r15,%rbx)
	movl	-8(%r14), %esi
	movl	%r13d, %edi
	callq	___clear_bit
	movq	%r12, %rdi
	callq	___free_page
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%r15,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%rbx), %r14
	addq	$8, %r14
	callq	___free_page
	movq	$0, (%r14)
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rbx), %rax
	testq	%rax, %rax
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movslq	8(%r15), %rax
	cmpq	%rax, %rcx
	jge	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rsi
	jmp	LBB0_3
LBB0_28:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_DESC_CNT,4,2                ## @RX_DESC_CNT
	.comm	_DMA_ATTR_WEAK_ORDERING,4,2     ## @DMA_ATTR_WEAK_ORDERING
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_BNXT_RX_PAGE_SIZE,4,2          ## @BNXT_RX_PAGE_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_bnxt_free_rx_skbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_free_rx_skbs
_bnxt_free_rx_skbs:                     ; @bnxt_free_rx_skbs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x11, [x0, #32]
	cbz	x11, LBB0_27
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.2:
	mov	x22, #0
	ldr	x20, [x19, #40]
Lloh0:
	adrp	x8, _RX_DESC_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_DESC_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w10, w9, [x19]
	mul	w9, w9, w8
	mul	w8, w8, w10
	stp	x8, x9, [sp]                    ; 16-byte Folded Spill
	lsl	x26, x8, #4
	lsl	x27, x9, #4
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	stp	x11, x22, [sp, #16]             ; 16-byte Folded Spill
	mov	w8, #56
	madd	x22, x22, x8, x11
	ldr	x9, [x22, #48]!
	cbz	x9, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	mov	w24, #1
	ldr	x21, [x9, x23]
	cbz	x21, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x9, x23
	ldr	w1, [x28, #8]
	ldp	w3, w2, [x19, #16]
Lloh3:
	adrp	x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x20
	bl	_dma_unmap_single_attrs
	str	xzr, [x28]
	mov	x0, x21
	bl	_kfree
	ldr	w8, [x19, #12]
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x24, w8, sxtw
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x22]
	add	x23, x23, #16
	add	x24, x24, #1
	ldr	x21, [x9, x23]
	cbnz	x21, LBB0_6
	b	LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	ldp	x9, x8, [sp, #16]               ; 16-byte Folded Reload
	mov	w10, #56
	madd	x8, x8, x10, x9
	add	x28, x8, #40
	add	x23, x8, #32
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	ldp	w3, w2, [x19, #16]
Lloh6:
	adrp	x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_dma_unmap_single_attrs
	mov	x0, x21
	bl	_kfree
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x24, x24, #16
	cmp	x26, x24
	b.eq	LBB0_16
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x28]
	add	x8, x8, x24
	ldr	x21, [x8]
	cbz	x21, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w22, [x8, #8]
	str	xzr, [x8]
	mov	x0, x19
	bl	_BNXT_RX_PAGE_MODE
	cbz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [x19, #24]
	sub	w1, w22, w8
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldr	w3, [x19, #16]
Lloh12:
	adrp	x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, x20
	bl	_dma_unmap_page_attrs
	ldr	w0, [x23]
	mov	x1, x21
	bl	_page_pool_recycle_direct
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	mov	w21, #0
	ldp	x9, x8, [sp, #16]               ; 16-byte Folded Reload
	mov	w10, #56
	madd	x8, x8, x10, x9
	add	x24, x8, #24
	add	x28, x8, #16
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	w21, w21, #1
	add	x23, x23, #16
	cmp	x27, x23
	b.eq	LBB0_21
LBB0_19:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x22, [x8, x23]
	cbz	x22, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x25, x8, x23
	ldr	w1, [x25, #8]
Lloh15:
	adrp	x8, _BNXT_RX_PAGE_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNXT_RX_PAGE_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x0, x20
	bl	_dma_unmap_page_attrs
	str	xzr, [x25]
	ldr	w1, [x28]
	mov	x0, x21
	bl	___clear_bit
	mov	x0, x22
	bl	___free_page
	b	LBB0_18
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x23, x22, [sp, #16]             ; 16-byte Folded Reload
	mov	w8, #56
	madd	x21, x22, x8, x23
	ldr	x0, [x21, #8]!
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	___free_page
	str	xzr, [x21]
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #56
	mul	x8, x22, x8
	ldr	x8, [x23, x8]
	cbz	x8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #8]
	cmp	x22, x8
	b.ge	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x19, #32]
	b	LBB0_3
LBB0_27:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_DESC_CNT,4,2                ; @RX_DESC_CNT
	.comm	_DMA_ATTR_WEAK_ORDERING,4,2     ; @DMA_ATTR_WEAK_ORDERING
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_BNXT_RX_PAGE_SIZE,4,2          ; @BNXT_RX_PAGE_SIZE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_bnxt_free_rx_skbs
.subsections_via_symbols
