	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_reuse_rx_skb
_bnx2_reuse_rx_skb:                     ## @bnx2_reuse_rx_skb
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %r13
	movq	%rcx, %rbx
	shlq	$4, %rbx
	addq	%r13, %rbx
	movq	%r8, %r12
	shlq	$4, %r12
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_addr
	movq	_BNX2_RX_OFFSET@GOTPCREL(%rip), %rcx
	movq	_BNX2_RX_COPY_THRESH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	(%rcx), %rdx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_dma_sync_single_for_device
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, 8(%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r13,%r12)
	movq	(%rax), %rax
	movq	%rax, (%r13,%r12)
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	cmpq	%r14, %r15
	je	LBB0_2
## %bb.1:
	addq	%r12, %r13
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_pci_unmap_addr
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_pci_unmap_addr_set
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_BNX2_RX_RING
	movq	(%r14,%rax,8), %r14
	movq	%rbx, %rdi
	callq	_BNX2_RX_IDX
	movq	%rax, %r12
	movq	(%r15), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_BNX2_RX_RING
	movq	(%r15,%rax,8), %r15
	movq	%rbx, %rdi
	callq	_BNX2_RX_IDX
	movl	4(%r14,%r12,8), %ecx
	movl	%ecx, 4(%r15,%rax,8)
	movl	(%r14,%r12,8), %ecx
	movl	%ecx, (%r15,%rax,8)
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapping,4,2                    ## @mapping
	.comm	_BNX2_RX_OFFSET,8,3             ## @BNX2_RX_OFFSET
	.comm	_BNX2_RX_COPY_THRESH,8,3        ## @BNX2_RX_COPY_THRESH
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_bnx2_reuse_rx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_reuse_rx_skb
_bnx2_reuse_rx_skb:                     ; @bnx2_reuse_rx_skb
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x20, x1
	mov	x25, x0
	ldr	x8, [x1, #16]
	add	x23, x8, x3, lsl #4
	add	x22, x8, x4, lsl #4
	ldr	x26, [x0, #8]
Lloh0:
	adrp	x27, _mapping@GOTPAGE
Lloh1:
	ldr	x27, [x27, _mapping@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x23
	bl	_pci_unmap_addr
	mov	x1, x0
Lloh2:
	adrp	x8, _BNX2_RX_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNX2_RX_OFFSET@GOTPAGEOFF]
Lloh4:
	adrp	x9, _BNX2_RX_COPY_THRESH@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BNX2_RX_COPY_THRESH@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	ldr	x9, [x9]
	add	x2, x9, x8
Lloh8:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x26
	bl	_dma_sync_single_for_device
	ldr	w8, [x25]
	ldr	w9, [x20, #8]
	add	w8, w9, w8
	str	w8, [x20, #8]
	ldr	x8, [x24]
	stp	x8, x24, [x22]
	cmp	x21, x19
	b.eq	LBB0_2
; %bb.1:
	ldr	w24, [x27]
	mov	x0, x23
	mov	x1, x24
	bl	_pci_unmap_addr
	mov	x2, x0
	mov	x0, x22
	mov	x1, x24
	bl	_pci_unmap_addr_set
	ldr	x22, [x20]
	mov	x0, x21
	bl	_BNX2_RX_RING
	ldr	x22, [x22, x0, lsl #3]
	mov	x0, x21
	bl	_BNX2_RX_IDX
	mov	x21, x0
	ldr	x20, [x20]
	mov	x0, x19
	bl	_BNX2_RX_RING
	ldr	x20, [x20, x0, lsl #3]
	mov	x0, x19
	bl	_BNX2_RX_IDX
	ldr	d0, [x22, x21, lsl #3]
	str	d0, [x20, x0, lsl #3]
LBB0_2:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mapping,4,2                    ; @mapping
	.comm	_BNX2_RX_OFFSET,8,3             ; @BNX2_RX_OFFSET
	.comm	_BNX2_RX_COPY_THRESH,8,3        ; @BNX2_RX_COPY_THRESH
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_bnx2_reuse_rx_skb
.subsections_via_symbols
