	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_dma_rx_ring_skb_alloc
_rocker_dma_rx_ring_skb_alloc:          ## @rocker_dma_rx_ring_skb_alloc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	callq	_rocker_port_rx_buf_len
	movq	%rax, %r12
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rocker_desc_cookie_ptr_set
	movq	$0, (%r14)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_netdev_alloc_skb_ip_align
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	movq	%r12, %rcx
	callq	_rocker_dma_rx_ring_skb_map
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_rocker_desc_cookie_ptr_set
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_rocker_dma_rx_ring_skb_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_dma_rx_ring_skb_alloc
_rocker_dma_rx_ring_skb_alloc:          ; @rocker_dma_rx_ring_skb_alloc
	.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, x1
	mov	x20, x0
	ldr	x22, [x0]
	bl	_rocker_port_rx_buf_len
	mov	x21, x0
	mov	x0, x19
	mov	x1, #0
	bl	_rocker_desc_cookie_ptr_set
	str	xzr, [x19]
	mov	x0, x22
	mov	x1, x21
	bl	_netdev_alloc_skb_ip_align
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_rocker_dma_rx_ring_skb_map
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_dev_kfree_skb_any
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x22
	bl	_rocker_desc_cookie_ptr_set
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_rocker_dma_rx_ring_skb_alloc
.subsections_via_symbols
