	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lio_vf_rep_pkt_recv
_lio_vf_rep_pkt_recv:                   ## @lio_vf_rep_pkt_recv
	.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	%rdi, %r15
	movq	(%rdi), %r14
	movl	28(%r14), %edi
	callq	_lio_get_device
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r13
	movq	8(%r14), %rax
	movq	(%rax), %rbx
	movl	24(%r14), %esi
	movq	%r13, %rdi
	callq	_lio_vf_rep_get_ndev
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %rdi
	callq	_atomic_read
	movq	_LIO_IFSTATE_RUNNING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	cmpl	$1, (%r14)
	jle	LBB0_4
LBB0_5:
	cmpl	$0, (%r14)
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_recv_buffer_free
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	callq	_octeon_free_recv_info
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, 8(%rbx)
	movq	16(%r14), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_lio_vf_rep_copy_packet
	movq	_BYTES_PER_DHLEN_UNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	24(%r14), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_eth_type_trans
	movl	%eax, 16(%rbx)
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_netif_rx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_LIO_IFSTATE_RUNNING,4,2        ## @LIO_IFSTATE_RUNNING
	.comm	_BYTES_PER_DHLEN_UNIT,4,2       ## @BYTES_PER_DHLEN_UNIT
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.no_dead_strip	_lio_vf_rep_pkt_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lio_vf_rep_pkt_recv
_lio_vf_rep_pkt_recv:                   ; @lio_vf_rep_pkt_recv
	.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, x0
	ldr	x23, [x0]
	ldr	w0, [x23, #28]
	bl	_lio_get_device
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	x8, [x23, #8]
	ldr	x20, [x8]
	ldr	w1, [x23, #24]
	bl	_lio_vf_rep_get_ndev
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	bl	_netdev_priv
	bl	_atomic_read
Lloh0:
	adrp	x8, _LIO_IFSTATE_RUNNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIO_IFSTATE_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x23]
	cmp	w8, #1
	b.le	LBB0_8
LBB0_4:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldr	x0, [x8, x20, lsl #3]
	bl	_recv_buffer_free
	add	x20, x20, #1
	ldrsw	x8, [x23]
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x19
	bl	_octeon_free_recv_info
	mov	w0, #0
	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
LBB0_8:
	str	x22, [x20, #8]
	ldr	x8, [x23, #16]
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_lio_vf_rep_copy_packet
	ldr	w8, [x23, #24]
Lloh3:
	adrp	x9, _BYTES_PER_DHLEN_UNIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BYTES_PER_DHLEN_UNIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w1, w9, w8
	mov	x0, x20
	bl	_skb_pull
	ldr	x1, [x20, #8]
	mov	x0, x20
	bl	_eth_type_trans
	str	w0, [x20, #16]
Lloh6:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x20
	bl	_netif_rx
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LIO_IFSTATE_RUNNING,4,2        ; @LIO_IFSTATE_RUNNING
	.comm	_BYTES_PER_DHLEN_UNIT,4,2       ; @BYTES_PER_DHLEN_UNIT
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.no_dead_strip	_lio_vf_rep_pkt_recv
.subsections_via_symbols
