	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenvif_rx_data_slot
_xenvif_rx_data_slot:                   ## @xenvif_rx_data_slot
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	movq	_XEN_PAGE_SIZE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r8
	callq	_xenvif_rx_next_chunk
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_xenvif_rx_copy_add
	movq	-56(%rbp), %rax
	addl	%eax, %ebx
	movq	(%r12), %rcx
	subq	%rax, %rcx
	movq	%rcx, (%r12)
	cmpl	(%r14), %ebx
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%rcx, %rcx
	jg	LBB0_1
LBB0_3:
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.4:
	movq	_XEN_NETRXF_more_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_7:
	movq	24(%r12), %rcx
	movq	(%rcx), %rcx
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:
	movq	_XEN_NETRXF_csum_blank@GOTPCREL(%rip), %rcx
	movq	_XEN_NETRXF_data_validated@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_9:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movq	_XEN_NETRXF_data_validated@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_11:
	xorl	%ecx, %ecx
	cmpq	$0, 16(%r12)
	je	LBB0_13
## %bb.12:
	movq	_XEN_NETRXF_extra_info@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_13:
	orl	%ecx, %eax
LBB0_14:
	movl	$0, 20(%rdx)
	movl	%eax, (%rdx)
	movl	(%r15), %eax
	movl	%eax, 16(%rdx)
	movl	%ebx, %eax
	movq	%rax, 8(%rdx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XEN_PAGE_SIZE,4,2              ## @XEN_PAGE_SIZE
	.comm	_XEN_NETRXF_more_data,4,2       ## @XEN_NETRXF_more_data
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_XEN_NETRXF_csum_blank,4,2      ## @XEN_NETRXF_csum_blank
	.comm	_XEN_NETRXF_data_validated,4,2  ## @XEN_NETRXF_data_validated
	.comm	_CHECKSUM_UNNECESSARY,8,3       ## @CHECKSUM_UNNECESSARY
	.comm	_XEN_NETRXF_extra_info,4,2      ## @XEN_NETRXF_extra_info
	.no_dead_strip	_xenvif_rx_data_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenvif_rx_data_slot
_xenvif_rx_data_slot:                   ; @xenvif_rx_data_slot
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w20, #0
Lloh0:
	adrp	x24, _XEN_PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _XEN_PAGE_SIZE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x3, sp
	add	x4, sp, #8
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_xenvif_rx_next_chunk
	ldp	x3, x4, [sp]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_xenvif_rx_copy_add
	ldr	x9, [sp, #8]
	ldr	x8, [x22]
	sub	x8, x8, x9
	str	x8, [x22]
	ldr	w10, [x24]
	add	w20, w20, w9
	cmp	w20, w10
	ccmp	x8, #0, #4, lo
	b.gt	LBB0_1
; %bb.2:
Lloh2:
	adrp	x9, _XEN_NETRXF_more_data@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XEN_NETRXF_more_data@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, w9, wzr, gt
	ldr	x9, [x22, #8]
	cbnz	x9, LBB0_8
; %bb.3:
	ldr	x9, [x22, #24]
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _CHECKSUM_PARTIAL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
Lloh8:
	adrp	x9, _XEN_NETRXF_csum_blank@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XEN_NETRXF_csum_blank@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _XEN_NETRXF_data_validated@GOTPAGE
Lloh12:
	ldr	x10, [x10, _XEN_NETRXF_data_validated@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	b	LBB0_7
LBB0_5:
Lloh14:
	adrp	x10, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh15:
	ldr	x10, [x10, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.6:
Lloh17:
	adrp	x9, _XEN_NETRXF_data_validated@GOTPAGE
Lloh18:
	ldr	x9, [x9, _XEN_NETRXF_data_validated@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_7:
	ldr	x9, [x22, #16]
Lloh20:
	adrp	x10, _XEN_NETRXF_extra_info@GOTPAGE
Lloh21:
	ldr	x10, [x10, _XEN_NETRXF_extra_info@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
LBB0_8:
	str	wzr, [x19, #20]
	str	w8, [x19]
	ldr	w8, [x21]
	str	w8, [x19, #16]
	str	x20, [x19, #8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_XEN_PAGE_SIZE,4,2              ; @XEN_PAGE_SIZE
	.comm	_XEN_NETRXF_more_data,4,2       ; @XEN_NETRXF_more_data
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_XEN_NETRXF_csum_blank,4,2      ; @XEN_NETRXF_csum_blank
	.comm	_XEN_NETRXF_data_validated,4,2  ; @XEN_NETRXF_data_validated
	.comm	_CHECKSUM_UNNECESSARY,8,3       ; @CHECKSUM_UNNECESSARY
	.comm	_XEN_NETRXF_extra_info,4,2      ; @XEN_NETRXF_extra_info
	.no_dead_strip	_xenvif_rx_data_slot
.subsections_via_symbols
