	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_skb_rx
_alloc_skb_rx:                          ## @alloc_skb_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RX_DMA_CH_AAL_BUF_SIZE@GOTPCREL(%rip), %r14
	movq	_DATA_BUFFER_ALIGNMENT@GOTPCREL(%rip), %r15
	movslq	(%r15), %rdi
	addq	(%r14), %rdi
	callq	_dev_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rdi
	movl	(%r15), %eax
	decl	%eax
	testl	%edi, %eax
	je	LBB0_3
## %bb.2:
	leal	(%rax,%rdi), %esi
	notl	%esi
	andl	%eax, %esi
	movq	%rbx, %rdi
	callq	_skb_reserve
	movq	(%rbx), %rdi
LBB0_3:
	movq	%rbx, -8(%rdi)
	addq	$-8, %rdi
	movl	$8, %esi
	callq	_dma_cache_wback_inv
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	callq	_dma_cache_inv
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_DMA_CH_AAL_BUF_SIZE,8,3     ## @RX_DMA_CH_AAL_BUF_SIZE
	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ## @DATA_BUFFER_ALIGNMENT
	.comm	_LESS_CACHE_INV_LEN,8,3         ## @LESS_CACHE_INV_LEN
	.no_dead_strip	_alloc_skb_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_skb_rx
_alloc_skb_rx:                          ; @alloc_skb_rx
	.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
Lloh0:
	adrp	x20, _RX_DMA_CH_AAL_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RX_DMA_CH_AAL_BUF_SIZE@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _DATA_BUFFER_ALIGNMENT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DATA_BUFFER_ALIGNMENT@GOTPAGEOFF]
	ldrsw	x9, [x21]
	add	x0, x8, x9
	bl	_dev_alloc_skb
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x0, [x19]
	ldr	w8, [x21]
	sub	w8, w8, #1
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	add	w9, w8, w0
	bic	w1, w8, w9
	mov	x0, x19
	bl	_skb_reserve
	ldr	x0, [x19]
LBB0_3:
	str	x19, [x0, #-8]!
	mov	w1, #8
	bl	_dma_cache_wback_inv
	ldr	x0, [x19]
	ldr	x1, [x20]
	bl	_dma_cache_inv
LBB0_4:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_DMA_CH_AAL_BUF_SIZE,8,3     ; @RX_DMA_CH_AAL_BUF_SIZE
	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ; @DATA_BUFFER_ALIGNMENT
	.comm	_LESS_CACHE_INV_LEN,8,3         ; @LESS_CACHE_INV_LEN
	.no_dead_strip	_alloc_skb_rx
.subsections_via_symbols
