	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spider_net_alloc_rx_skbs
_spider_net_alloc_rx_skbs:              ## @spider_net_alloc_rx_skbs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx), %edx
	movq	16(%rcx), %rsi
	movq	(%rsi), %rsi
	movl	%edx, (%rsi)
	movq	(%rcx), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_spider_net_prepare_rx_descr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_spider_net_free_rx_chain_contents
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_3:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_spider_net_refill_rx_chain
	movq	%rbx, %rdi
	callq	_spider_net_enable_rxdmac
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_spider_net_alloc_rx_skbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spider_net_alloc_rx_skbs
_spider_net_alloc_rx_skbs:              ; @spider_net_alloc_rx_skbs
	.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, x0
	ldr	x8, [x0, #8]
	mov	x9, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, #8]
	ldr	x11, [x9, #16]
	ldr	x11, [x11]
	str	w10, [x11]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_1
; %bb.2:
	ldr	x1, [x19]
	mov	x0, x19
	bl	_spider_net_prepare_rx_descr
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_spider_net_free_rx_chain_contents
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	bl	_spider_net_refill_rx_chain
	mov	x0, x19
	bl	_spider_net_enable_rxdmac
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_spider_net_alloc_rx_skbs
.subsections_via_symbols
