	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_RX_MAX_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movq	_DATA_BUFFER_ALIGNMENT@GOTPCREL(%rip), %r14
	movslq	(%r14), %rdi
	addq	(%rax), %rdi
	callq	_dev_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movl	(%r14), %ecx
	decl	%ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.2:
	leal	(%rcx,%rax), %esi
	notl	%esi
	andl	%ecx, %esi
	movq	%rbx, %rdi
	callq	_skb_reserve
	movq	(%rbx), %rax
LBB0_3:
	movq	%rbx, -8(%rax)
	xorl	%eax, %eax
	callq	_wmb
	movq	(%rbx), %rdi
	addq	$-8, %rdi
	movl	$8, %esi
	callq	_dma_cache_wback_inv
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	subl	%edi, %esi
	callq	_dma_cache_inv
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_MAX_BUFFER_SIZE,8,3         ## @RX_MAX_BUFFER_SIZE
	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ## @DATA_BUFFER_ALIGNMENT
	.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	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
Lloh0:
	adrp	x8, _RX_MAX_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_MAX_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _DATA_BUFFER_ALIGNMENT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _DATA_BUFFER_ALIGNMENT@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	x0, x8, x9
	bl	_dev_alloc_skb
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	w9, [x20]
	sub	w9, w9, #1
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	add	w8, w9, w8
	bic	w1, w9, w8
	mov	x0, x19
	bl	_skb_reserve
	ldr	x8, [x19]
LBB0_3:
	stur	x19, [x8, #-8]
	bl	_wmb
	ldr	x8, [x19]
	sub	x0, x8, #8
	mov	w1, #8
	bl	_dma_cache_wback_inv
	ldr	x0, [x19]
	ldr	w8, [x19, #8]
	sub	w1, w8, w0
	bl	_dma_cache_inv
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_MAX_BUFFER_SIZE,8,3         ; @RX_MAX_BUFFER_SIZE
	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ; @DATA_BUFFER_ALIGNMENT
	.no_dead_strip	_alloc_skb_rx
.subsections_via_symbols
