	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_zerocopy_callback       ## -- Begin function xenvif_zerocopy_callback
	.p2align	4, 0x90
_xenvif_zerocopy_callback:              ## @xenvif_zerocopy_callback
	.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	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	callq	_ubuf_to_queue
	movq	%rax, %r15
	leaq	24(%rax), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	movq	_MAX_PENDING_REQS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %r14d
	movq	(%rbx), %rbx
	subq	8(%r15), %rax
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	setge	%dil
	callq	_BUG_ON
	movq	(%r15), %rdi
	callq	_pending_index
	movq	32(%r15), %rcx
	movl	%r14d, (%rcx,%rax,4)
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	(%r15), %rax
	incq	%rax
	movq	%rax, (%r15)
	testq	%rbx, %rbx
	jne	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	incl	20(%r15)
	jmp	LBB0_5
LBB0_4:
	incl	16(%r15)
LBB0_5:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xenvif_skb_zerocopy_complete   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PENDING_REQS,8,3           ## @MAX_PENDING_REQS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_zerocopy_callback       ; -- Begin function xenvif_zerocopy_callback
	.p2align	2
_xenvif_zerocopy_callback:              ; @xenvif_zerocopy_callback
	.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	x20, x1
	mov	x21, x0
	bl	_ubuf_to_queue
	mov	x19, x0
	add	x22, x0, #24
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
Lloh0:
	adrp	x23, _MAX_PENDING_REQS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAX_PENDING_REQS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x21, #8]
	ldr	x21, [x21]
	ldr	x9, [x19, #8]
	ldr	x10, [x23]
	sub	x8, x8, x9
	cmp	x8, x10
	cset	w0, ge
	bl	_BUG_ON
	ldr	x0, [x19]
	bl	_pending_index
	ldr	x8, [x19, #32]
	str	w24, [x8, x0, lsl #2]
	bl	_smp_wmb
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	cbnz	x21, LBB0_1
; %bb.2:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_likely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_5:
	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
	b	_xenvif_skb_zerocopy_complete
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PENDING_REQS,8,3           ; @MAX_PENDING_REQS
.subsections_via_symbols
