	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_free_rx_skbs
_bnx2_free_rx_skbs:                     ## @bnx2_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %r12
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movslq	(%r12), %rax
	cmpq	%rax, %rcx
	jge	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	24(%r12), %rax
	movq	(%rax,%rcx,8), %r15
	testq	%r15, %r15
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx,8), %r13
	movl	4(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edx
	xorl	%r14d, %r14d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15,%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	(%r15,%r14), %rdi
	movq	16(%r12), %r13
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_dma_unmap_addr
	movl	12(%r12), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_dma_unmap_single
	movq	$0, (%r15,%r14)
	movq	%rbx, %rdi
	callq	_kfree
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%r12), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r13), %r15
	addq	$8, %r14
	incq	%rdx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 8(%r12)
	jle	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_bnx2_free_rx_page
	incl	%ebx
	cmpl	8(%r12), %ebx
	jl	LBB0_11
	jmp	LBB0_2
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapping,4,2                    ## @mapping
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_bnx2_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 bnx2_free_rx_skbs
_bnx2_free_rx_skbs:                     ; @bnx2_free_rx_skbs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x0
	mov	x23, #0
Lloh0:
	adrp	x24, _mapping@GOTPAGE
Lloh1:
	ldr	x24, [x24, _mapping@GOTPAGEOFF]
Lloh2:
	adrp	x25, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [x19, #24]
	add	x20, x8, x23, lsl #3
	ldr	x27, [x20]
	cbz	x27, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	mov	w28, #1
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x27, x26
	ldr	x21, [x0]
	cbz	x21, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x22, [x19, #16]
	ldr	w1, [x24]
	bl	_dma_unmap_addr
	mov	x1, x0
	ldr	w2, [x19, #12]
	ldr	w3, [x25]
	mov	x0, x22
	bl	_dma_unmap_single
	str	xzr, [x27, x26]
	mov	x0, x21
	bl	_kfree
	ldr	w8, [x19, #4]
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=2
	cmp	x28, w8, sxtw
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x27, [x20]
	add	x26, x26, #8
	add	x28, x28, #1
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_bnx2_free_rx_page
	add	w21, w21, #1
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.lt	LBB0_12
	b	LBB0_2
LBB0_13:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mapping,4,2                    ; @mapping
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_bnx2_free_rx_skbs
.subsections_via_symbols
