	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_recycle_tx_desc        ## -- Begin function mlx4_en_recycle_tx_desc
	.p2align	4, 0x90
_mlx4_en_recycle_tx_desc:               ## @mlx4_en_recycle_tx_desc
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rsi), %r15
	movslq	%edx, %rax
	leaq	(%rax,%rax,2), %rbx
	movl	8(%r15,%rbx,4), %eax
	movl	%eax, -40(%rbp)
	movl	4(%r15,%rbx,4), %eax
	movl	%eax, -36(%rbp)
	movl	(%rsi), %edi
	leaq	-40(%rbp), %rsi
	callq	_mlx4_en_rx_recycle
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	(%r15,%rbx,4), %r12
	addq	$8, %r12
	movl	(%r14), %ecx
	movl	4(%r14), %edi
	movl	(%r12), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_dma_unmap_page
	movl	-4(%r12), %edi
	callq	_put_page
LBB0_2:
	movl	(%r15,%rbx,4), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_en_recycle_tx_desc        ; -- Begin function mlx4_en_recycle_tx_desc
	.p2align	2
_mlx4_en_recycle_tx_desc:               ; @mlx4_en_recycle_tx_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x0
	ldr	x20, [x1, #8]
	sxtw	x21, w2
	mov	w8, #12
	smaddl	x22, w2, w8, x20
	ldr	d0, [x22, #4]!
	rev64.2s	v0, v0
	str	d0, [sp, #8]
	ldr	w0, [x1]
	add	x1, sp, #8
	bl	_mlx4_en_rx_recycle
	cbnz	w0, LBB0_2
; %bb.1:
	mov	w8, #12
	madd	x8, x21, x8, x20
	ldr	w1, [x8, #8]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldp	w3, w0, [x19]
	bl	_dma_unmap_page
	ldr	w0, [x22]
	bl	_put_page
LBB0_2:
	mov	w8, #12
	mul	x8, x21, x8
	ldr	w0, [x20, x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
