	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_recycle_rx
_tg3_recycle_rx:                        ## @tg3_recycle_rx
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rdi
	movq	8(%rdi), %rax
	cmpl	$129, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_5
## %bb.2:
	andl	(%rdi), %r8d
	movslq	%r8d, %rbx
	shlq	$3, %rbx
	movq	24(%rsi), %rdx
	addq	%rbx, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	addq	16(%rsi), %rbx
	movslq	%ecx, %r12
	leaq	(,%r12,8), %r13
	addq	24(%rax), %r13
	addq	$16, %rax
	jmp	LBB0_4
LBB0_3:
	andl	4(%rdi), %r8d
	movslq	%r8d, %rbx
	shlq	$3, %rbx
	movq	8(%rsi), %rdx
	addq	%rbx, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	addq	(%rsi), %rbx
	movslq	%ecx, %r12
	leaq	(,%r12,8), %r13
	addq	8(%rax), %r13
LBB0_4:
	movq	(%rax), %r15
	leaq	(%r15,%r12,8), %rdi
	movq	(%r15,%r12,8), %rax
	movq	%rax, (%rbx)
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %esi
	callq	_dma_unmap_addr
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_addr_set
	movl	4(%r13), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	movl	(%r13), %eax
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	$0, (%r15,%r12,8)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapping,4,2                    ## @mapping
	.no_dead_strip	_tg3_recycle_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_recycle_rx
_tg3_recycle_rx:                        ; @tg3_recycle_rx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	ldr	x9, [x0]
	ldr	x8, [x9, #8]
	cmp	w2, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_5
; %bb.2:
	ldr	w9, [x9]
	and	w9, w9, w4
	sbfiz	x9, x9, #3, #32
	ldp	x11, x10, [x1, #16]
	add	x22, x10, x9
	add	x19, x11, x9
	ldr	x10, [x8, #24]
	sxtw	x9, w3
	add	x23, x10, w3, sxtw #3
	add	x8, x8, #16
	b	LBB0_4
LBB0_3:
	ldr	w9, [x9, #4]
	and	w9, w9, w4
	sbfiz	x9, x9, #3, #32
	ldp	x11, x10, [x1]
	add	x22, x10, x9
	add	x19, x11, x9
	ldr	x10, [x8, #8]
	mov	x9, x3
	sxtw	x9, w9
	add	x23, x10, w3, sxtw #3
LBB0_4:
	ldr	x8, [x8]
	add	x20, x8, x9, lsl #3
	ldr	x8, [x20]
	str	x8, [x19]
Lloh0:
	adrp	x8, _mapping@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mapping@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_dma_unmap_addr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_dma_unmap_addr_set
	ldr	d0, [x23]
	str	d0, [x22]
	bl	_smp_wmb
	str	xzr, [x20]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mapping,4,2                    ; @mapping
	.no_dead_strip	_tg3_recycle_rx
.subsections_via_symbols
