	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_page_alloc_pool
_mlx5e_page_alloc_pool:                 ## @mlx5e_page_alloc_pool
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_mlx5e_rx_cache_get
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movl	(%r15), %edi
	callq	_page_pool_dev_alloc_pages
	movq	%rax, (%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	(%r14), %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%r15), %edi
	movl	8(%r15), %r8d
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_dma_map_page
	movl	%eax, 8(%r14)
	movl	4(%r15), %edi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r15), %edi
	movq	(%r14), %rsi
	callq	_page_pool_recycle_direct
	movq	$0, (%r14)
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_mlx5e_page_alloc_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_page_alloc_pool
_mlx5e_page_alloc_pool:                 ; @mlx5e_page_alloc_pool
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_mlx5e_rx_cache_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	ldr	w0, [x20]
	bl	_page_pool_dev_alloc_pages
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x1, [x19]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	ldp	w0, w4, [x20, #4]
	mov	w2, #0
	bl	_dma_map_page
	mov	x1, x0
	str	w0, [x19, #8]
	ldr	w0, [x20, #4]
	bl	_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x20]
	ldr	x1, [x19]
	bl	_page_pool_recycle_direct
	str	xzr, [x19]
LBB0_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_mlx5e_page_alloc_pool
.subsections_via_symbols
