	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_free_rq
_mlx5e_free_rq:                         ## @mlx5e_free_rq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	48(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_bpf_prog_put
LBB0_2:
	cmpl	$128, (%r15)
	jne	LBB0_4
## %bb.3:
	movl	44(%r15), %edi
	callq	_kvfree
	movl	40(%r15), %edi
	leaq	36(%r15), %rsi
	callq	_mlx5_core_destroy_mkey
	jmp	LBB0_5
LBB0_4:
	movl	32(%r15), %edi
	callq	_kvfree
	movq	%r15, %rdi
	callq	_mlx5e_free_di_list
LBB0_5:
	movl	16(%r15), %eax
	cmpl	20(%r15), %eax
	je	LBB0_8
## %bb.6:
	movq	_MLX5E_CACHE_SIZE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rbx
	leaq	(,%rbx,4), %rsi
	addq	24(%r15), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_mlx5e_page_release_dynamic
	incl	%ebx
	movl	(%r14), %eax
	decl	%eax
	andl	%ebx, %eax
	cmpl	20(%r15), %eax
	jne	LBB0_7
LBB0_8:
	leaq	12(%r15), %rdi
	callq	_xdp_rxq_info_unreg
	movl	8(%r15), %edi
	callq	_page_pool_destroy
	addq	$4, %r15
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5_wq_destroy                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_CACHE_SIZE,4,2           ## @MLX5E_CACHE_SIZE
	.no_dead_strip	_mlx5e_free_rq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_free_rq
_mlx5e_free_rq:                         ; @mlx5e_free_rq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x0, [x0, #48]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_bpf_prog_put
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x19, #44]
	bl	_kvfree
	ldr	w0, [x19, #40]
	add	x1, x19, #36
	bl	_mlx5_core_destroy_mkey
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #32]
	bl	_kvfree
	mov	x0, x19
	bl	_mlx5e_free_di_list
LBB0_5:
	ldp	w20, w8, [x19, #16]
	cmp	w20, w8
	b.eq	LBB0_8
; %bb.6:
Lloh0:
	adrp	x21, _MLX5E_CACHE_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MLX5E_CACHE_SIZE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x1, x8, w20, sxtw #2
	mov	x0, x19
	mov	w2, #0
	bl	_mlx5e_page_release_dynamic
	add	w8, w20, #1
	ldr	w9, [x21]
	sub	w9, w9, #1
	and	w20, w9, w8
	ldr	w8, [x19, #20]
	cmp	w20, w8
	b.ne	LBB0_7
LBB0_8:
	add	x0, x19, #12
	bl	_xdp_rxq_info_unreg
	ldr	w0, [x19, #8]
	bl	_page_pool_destroy
	add	x0, x19, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mlx5_wq_destroy
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_CACHE_SIZE,4,2           ; @MLX5E_CACHE_SIZE
	.no_dead_strip	_mlx5e_free_rq
.subsections_via_symbols
