	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __virtnet_xdp_xmit_one
___virtnet_xdp_xmit_one:                ## @__virtnet_xdp_xmit_one
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%edi, %edi
	cmpq	$0, (%rdx)
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movl	24(%r14), %eax
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EOVERFLOW@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movslq	(%r12), %rdx
	movq	16(%r14), %rdi
	movq	%rdx, %rax
	shlq	$2, %rax
	subq	%rax, %rdi
	movq	%rdi, 16(%r14)
	xorl	%ebx, %ebx
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movl	8(%r14), %edx
	addl	(%r12), %edx
	movl	%edx, 8(%r14)
	movl	(%r15), %edi
	movq	16(%r14), %rsi
	callq	_sg_init_one
	movl	(%r15), %r12d
	movl	4(%r15), %r15d
	movq	%r14, %rdi
	callq	_xdp_to_ptr
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	$1, %edx
	movl	%eax, %ecx
	callq	_virtqueue_add_outbuf
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	___virtnet_xdp_xmit_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __virtnet_xdp_xmit_one
___virtnet_xdp_xmit_one:                ; @__virtnet_xdp_xmit_one
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x2]
	cmp	x8, #0
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	w8, [x19, #24]
	ldr	w9, [x21]
	cmp	w8, w9
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldrsw	x2, [x21]
	ldr	x8, [x19, #16]
	sub	x0, x8, x2, lsl #2
	str	x0, [x19, #16]
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	ldr	w8, [x21]
	ldr	w9, [x19, #8]
	add	w2, w9, w8
	str	w2, [x19, #8]
	ldr	w0, [x20]
	ldr	x1, [x19, #16]
	bl	_sg_init_one
	ldp	w20, w21, [x20]
	mov	x0, x19
	bl	_xdp_to_ptr
	mov	x3, x0
Lloh4:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	bl	_virtqueue_add_outbuf
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.5:
Lloh7:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	___virtnet_xdp_xmit_one
.subsections_via_symbols
