	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenvif_get_extras
_xenvif_get_extras:                     ## @xenvif_get_extras
	.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
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%rdi), %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r14
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_RING_COPY_REQUEST
	incq	%r14
	movq	%r14, (%r13)
	incl	(%r15)
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	sete	%cl
	movq	_XEN_NETIF_EXTRA_TYPE_MAX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setge	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	-44(%rbp), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	addq	$-8, %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_XEN_NETIF_EXTRA_FLAG_MORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%ebx
	testl	%eax, -48(%rbp)
	jne	LBB0_1
	jmp	LBB0_6
LBB0_2:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EBADR@GOTPCREL(%rip), %r14
	jmp	LBB0_5
LBB0_4:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %r14
LBB0_5:
	movq	(%rbx), %rdi
	callq	_xenvif_fatal_tx_err
	xorl	%ebx, %ebx
	subl	(%r14), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing extra info\n"

	.comm	_EBADR,4,2                      ## @EBADR
	.comm	_XEN_NETIF_EXTRA_TYPE_MAX,4,2   ## @XEN_NETIF_EXTRA_TYPE_MAX
L_.str.1:                               ## @.str.1
	.asciz	"Invalid extra type: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XEN_NETIF_EXTRA_FLAG_MORE,4,2  ## @XEN_NETIF_EXTRA_FLAG_MORE
	.no_dead_strip	_xenvif_get_extras
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenvif_get_extras
_xenvif_get_extras:                     ; @xenvif_get_extras
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x23, x0
	ldr	x24, [x23, #8]!
Lloh0:
	adrp	x25, _XEN_NETIF_EXTRA_TYPE_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _XEN_NETIF_EXTRA_TYPE_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x26, _XEN_NETIF_EXTRA_FLAG_MORE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _XEN_NETIF_EXTRA_FLAG_MORE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	w20, w20, #1
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x2, sp, #8
	mov	x0, x23
	mov	x1, x24
	bl	_RING_COPY_REQUEST
	add	x24, x24, #1
	str	x24, [x23]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	w8, [sp, #12]
	cmp	w8, #0
	ldr	w9, [x25]
	ccmp	w8, w9, #0, ne
	cset	w0, ge
	bl	_unlikely
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrsw	x8, [sp, #12]
	add	x8, x22, x8, lsl #3
	sub	x0, x8, #8
	add	x1, sp, #8
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [sp, #8]
	ldr	w9, [x26]
	and	w8, w9, w8
	cbnz	w8, LBB0_1
	b	LBB0_7
LBB0_4:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh6:
	adrp	x20, _EBADR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _EBADR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w8, [sp, #12]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
Lloh10:
	adrp	x20, _EINVAL@GOTPAGE
Lloh11:
	ldr	x20, [x20, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	x0, [x19]
	bl	_xenvif_fatal_tx_err
	ldr	w8, [x20]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing extra info\n"

	.comm	_EBADR,4,2                      ; @EBADR
	.comm	_XEN_NETIF_EXTRA_TYPE_MAX,4,2   ; @XEN_NETIF_EXTRA_TYPE_MAX
l_.str.1:                               ; @.str.1
	.asciz	"Invalid extra type: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XEN_NETIF_EXTRA_FLAG_MORE,4,2  ; @XEN_NETIF_EXTRA_FLAG_MORE
	.no_dead_strip	_xenvif_get_extras
.subsections_via_symbols
