	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function receive_new
_receive_new:                           ## @receive_new
	.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
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sky2_rx_alloc
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	movl	%r15d, %edx
	callq	_sky2_rx_map_skb
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	-48(%rbp), %rdi
	callq	_dev_kfree_skb
LBB0_6:
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r12), %r13
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_sky2_rx_unmap_skb
	movl	(%r13), %edi
	callq	_prefetch
	movq	-48(%rbp), %rax
	movq	%rax, (%r12)
	movq	%r13, %rdi
	callq	_skb_shinfo
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_skb_put_frags
	jmp	LBB0_7
LBB0_4:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_receive_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function receive_new
_receive_new:                           ; @receive_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_sky2_rx_alloc
	str	x0, [sp, #8]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x23, #8]
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, x20
	bl	_sky2_rx_map_skb
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_dev_kfree_skb
LBB0_3:
	mov	x22, #0
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	x22, [x21]
	ldr	x8, [x23, #8]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_sky2_rx_unmap_skb
	ldr	w0, [x22]
	bl	_prefetch
	ldr	x8, [sp, #8]
	str	x8, [x21]
	mov	x0, x22
	bl	_skb_shinfo
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_skb_put_frags
	b	LBB0_4
LBB0_7:
	mov	x0, x22
	mov	x1, x19
	bl	_skb_put
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_receive_new
.subsections_via_symbols
