	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenvif_rx_next_skb
_xenvif_rx_next_skb:                    ## @xenvif_rx_next_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
	subq	$24, %rsp
	.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
	callq	_xenvif_rx_dequeue
	movq	%rax, %r15
	movl	24(%rax), %eax
	addl	%eax, 12(%rbx)
	incl	8(%rbx)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r15, 32(%r14)
	movq	%r15, 24(%r14)
	movq	24(%r15), %rax
	movq	%rax, 16(%r14)
	movl	$-1, (%r14)
	movq	%r15, %rdi
	callq	_xenvif_gso_type
	movq	(%rbx), %rcx
	movl	(%rcx), %ecx
	btl	%eax, %ecx
	jae	LBB0_2
## %bb.1:
	movq	8(%r14), %r13
	movq	_XEN_NETIF_EXTRA_TYPE_GSO@GOTPCREL(%rip), %r12
	movslq	(%r12), %rbx
	shlq	$6, %rbx
	movl	%eax, -32(%rbx,%r13)
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movl	%eax, -8(%rbx,%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbx,%r13)
	movl	(%r12), %eax
	movl	%eax, -64(%rbx,%r13)
	movq	$0, -56(%rbx,%r13)
	incl	4(%r14)
LBB0_2:
	cmpq	$0, 16(%r15)
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_XEN_NETIF_EXTRA_TYPE_HASH@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	shlq	$6, %r13
	movq	_XEN_NETIF_CTRL_HASH_ALGORITHM_TOEPLITZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%r13,%rcx)
	cmpq	$0, 8(%r15)
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	__XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP@GOTPCREL(%rip), %rbx
	cmoveq	__XEN_NETIF_CTRL_HASH_TYPE_IPV4@GOTPCREL(%rip), %rbx
	movq	__XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP@GOTPCREL(%rip), %r12
	cmoveq	__XEN_NETIF_CTRL_HASH_TYPE_IPV6@GOTPCREL(%rip), %r12
	callq	_htons
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	cmoveq	%rbx, %r12
	movl	(%r12), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, -40(%r13,%rbx)
	movq	%r15, %rdi
	callq	_skb_get_hash_raw
	movq	-48(%r13,%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_XEN_NETIF_EXTRA_TYPE_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%r13,%rbx)
	movq	$0, -56(%r13,%rbx)
	incl	4(%r14)
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XEN_NETIF_EXTRA_TYPE_GSO,4,2   ## @XEN_NETIF_EXTRA_TYPE_GSO
	.comm	_XEN_NETIF_EXTRA_TYPE_HASH,4,2  ## @XEN_NETIF_EXTRA_TYPE_HASH
	.comm	_XEN_NETIF_CTRL_HASH_ALGORITHM_TOEPLITZ,4,2 ## @XEN_NETIF_CTRL_HASH_ALGORITHM_TOEPLITZ
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP,4,2 ## @_XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP,4,2 ## @_XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV4,4,2 ## @_XEN_NETIF_CTRL_HASH_TYPE_IPV4
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV6,4,2 ## @_XEN_NETIF_CTRL_HASH_TYPE_IPV6
	.no_dead_strip	_xenvif_rx_next_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenvif_rx_next_skb
_xenvif_rx_next_skb:                    ; @xenvif_rx_next_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	x19, x1
	mov	x21, x0
	bl	_xenvif_rx_dequeue
	mov	x20, x0
	ldr	w8, [x0, #24]
	ldp	w10, w9, [x21, #8]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x21, #8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	x20, [x19, #32]
	ldr	x8, [x20, #24]
	stp	x8, x20, [x19, #16]
	mov	w8, #-1
	str	w8, [x19]
	mov	x0, x20
	bl	_xenvif_gso_type
	ldr	x8, [x21]
	ldr	w8, [x8]
	lsr	w8, w8, w0
	tbz	w8, #0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x21, _XEN_NETIF_EXTRA_TYPE_GSO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _XEN_NETIF_EXTRA_TYPE_GSO@GOTPAGEOFF]
	ldrsw	x9, [x21]
	add	x22, x8, x9, lsl #6
	stur	w0, [x22, #-32]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	stur	w8, [x22, #-8]
	stp	xzr, xzr, [x22, #-24]
	ldr	w8, [x21]
	stur	w8, [x22, #-64]
	stur	xzr, [x22, #-56]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x21, _XEN_NETIF_EXTRA_TYPE_HASH@GOTPAGE
Lloh3:
	ldr	x21, [x21, _XEN_NETIF_EXTRA_TYPE_HASH@GOTPAGEOFF]
	ldr	x8, [x19, #8]
	ldrsw	x9, [x21]
Lloh4:
	adrp	x10, _XEN_NETIF_CTRL_HASH_ALGORITHM_TOEPLITZ@GOTPAGE
Lloh5:
	ldr	x10, [x10, _XEN_NETIF_CTRL_HASH_ALGORITHM_TOEPLITZ@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	add	x22, x8, x9, lsl #6
	stur	w10, [x22, #-36]
	ldp	x24, x23, [x20]
Lloh7:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_htons
Lloh10:
	adrp	x8, __XEN_NETIF_CTRL_HASH_TYPE_IPV4@GOTPAGE
Lloh11:
	ldr	x8, [x8, __XEN_NETIF_CTRL_HASH_TYPE_IPV4@GOTPAGEOFF]
Lloh12:
	adrp	x9, __XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP@GOTPAGE
Lloh13:
	ldr	x9, [x9, __XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP@GOTPAGEOFF]
Lloh14:
	adrp	x10, __XEN_NETIF_CTRL_HASH_TYPE_IPV6@GOTPAGE
Lloh15:
	ldr	x10, [x10, __XEN_NETIF_CTRL_HASH_TYPE_IPV6@GOTPAGEOFF]
Lloh16:
	adrp	x11, __XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP@GOTPAGE
Lloh17:
	ldr	x11, [x11, __XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP@GOTPAGEOFF]
	cmp	x23, #0
	csel	x8, x8, x9, eq
	csel	x9, x10, x11, eq
	cmp	x24, x0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	stur	w8, [x22, #-40]
	mov	x0, x20
	bl	_skb_get_hash_raw
	ldur	x8, [x22, #-48]
	str	w0, [x8]
	ldr	w8, [x21]
	stur	w8, [x22, #-64]
	stur	xzr, [x22, #-56]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_XEN_NETIF_EXTRA_TYPE_GSO,4,2   ; @XEN_NETIF_EXTRA_TYPE_GSO
	.comm	_XEN_NETIF_EXTRA_TYPE_HASH,4,2  ; @XEN_NETIF_EXTRA_TYPE_HASH
	.comm	_XEN_NETIF_CTRL_HASH_ALGORITHM_TOEPLITZ,4,2 ; @XEN_NETIF_CTRL_HASH_ALGORITHM_TOEPLITZ
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP,4,2 ; @_XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP,4,2 ; @_XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV4,4,2 ; @_XEN_NETIF_CTRL_HASH_TYPE_IPV4
	.comm	__XEN_NETIF_CTRL_HASH_TYPE_IPV6,4,2 ; @_XEN_NETIF_CTRL_HASH_TYPE_IPV6
	.no_dead_strip	_xenvif_rx_next_skb
.subsections_via_symbols
