	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netvsc_alloc_recv_skb
_netvsc_alloc_recv_skb:                 ## @netvsc_alloc_recv_skb
	.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, %rbx
	movq	%rdi, %r14
	leaq	48(%rsi), %rdi
	movq	40(%rsi), %r12
	movq	32(%rsi), %r13
	movl	24(%rsi), %esi
	callq	_napi_alloc_skb
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	cmpl	$0, (%rbx)
	jle	LBB0_4
## %bb.2:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx,%r14,4), %esi
	movl	(%rax,%r14,4), %edx
	movq	%r15, %rdi
	callq	_skb_put_data
	incq	%r14
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jl	LBB0_3
LBB0_4:
	movq	%r15, %rdi
	movq	%r12, %rbx
	movq	%r12, %rsi
	callq	_eth_type_trans
	movq	%rax, (%r15)
	movq	%r15, %rdi
	callq	_skb_checksum_none_assert
	testq	%r13, %r13
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_13
## %bb.5:
	cmpq	$0, 24(%r13)
	je	LBB0_9
## %bb.6:
	cmpq	$0, 16(%r13)
	je	LBB0_9
## %bb.7:
	movq	(%r15), %r14
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r14
	jne	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_netvsc_comp_ipcsum
LBB0_9:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_13
## %bb.10:
	cmpq	$0, 8(%r13)
	jne	LBB0_12
## %bb.11:
	cmpq	$0, (%r13)
	je	LBB0_13
LBB0_12:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
LBB0_13:
	testq	%r12, %r12
	je	LBB0_17
## %bb.14:
	movl	4(%r12), %ebx
	movq	_VLAN_PRIO_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	(%r12), %ebx
	xorl	%eax, %eax
	cmpq	$0, 8(%r12)
	je	LBB0_16
## %bb.15:
	movq	_VLAN_CFI_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:
	orl	%eax, %ebx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	___vlan_hwaccel_put_tag
LBB0_17:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_VLAN_PRIO_SHIFT,4,2            ## @VLAN_PRIO_SHIFT
	.comm	_VLAN_CFI_MASK,4,2              ## @VLAN_CFI_MASK
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.no_dead_strip	_netvsc_alloc_recv_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netvsc_alloc_recv_skb
_netvsc_alloc_recv_skb:                 ; @netvsc_alloc_recv_skb
	.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	x21, x1
	mov	x20, x0
	add	x0, x1, #48
	ldp	x23, x22, [x1, #32]
	ldr	w1, [x1, #24]
	bl	_napi_alloc_skb
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x24, #2
	ldp	x10, x9, [x21, #8]
	ldr	w1, [x9, x8]
	ldr	w2, [x10, x8]
	mov	x0, x19
	bl	_skb_put_data
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_eth_type_trans
	str	x0, [x19]
	mov	x0, x19
	bl	_skb_checksum_none_assert
	cbz	x23, LBB0_13
; %bb.5:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x21, [x19]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_netvsc_comp_ipcsum
LBB0_9:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_12
; %bb.11:
	ldr	x8, [x23]
	cbz	x8, LBB0_13
LBB0_12:
Lloh6:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_13:
	cbz	x22, LBB0_15
; %bb.14:
	ldp	w8, w9, [x22]
Lloh9:
	adrp	x10, _VLAN_PRIO_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VLAN_PRIO_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	ldr	x9, [x22, #8]
Lloh12:
	adrp	x10, _VLAN_CFI_MASK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VLAN_CFI_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w20, w8, w9
Lloh15:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	___vlan_hwaccel_put_tag
LBB0_15:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_VLAN_PRIO_SHIFT,4,2            ; @VLAN_PRIO_SHIFT
	.comm	_VLAN_CFI_MASK,4,2              ; @VLAN_CFI_MASK
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.no_dead_strip	_netvsc_alloc_recv_skb
.subsections_via_symbols
