	.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, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	(%rdi), %r15d
	callq	_sky2_rx_alloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_2:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	(%r13), %r12
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_sky2_rx_unmap_skb
	movl	(%r12), %edi
	callq	_prefetch
	movq	%rbx, (%r13)
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_sky2_rx_map_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
	movq	%r12, (%r13)
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_4:
	movq	%r12, %rdi
	callq	_skb_shinfo
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_skb_put_frags
	jmp	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_put
LBB0_7:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x1
	mov	x24, x0
	ldr	w21, [x0]
	bl	_sky2_rx_alloc
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_7
LBB0_2:
	ldr	x20, [x22]
	ldr	x8, [x24, #8]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_sky2_rx_unmap_skb
	ldr	w0, [x20]
	bl	_prefetch
	str	x23, [x22]
	ldr	x8, [x24, #8]
	ldr	w0, [x8]
	mov	x1, x22
	mov	x2, x21
	bl	_sky2_rx_map_skb
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x23
	bl	_dev_kfree_skb
	str	x20, [x22]
	mov	x20, #0
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_skb_put_frags
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_skb_put
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_receive_new
.subsections_via_symbols
