	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenvif_fix_features
_xenvif_fix_features:                   ## @xenvif_fix_features
	.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
	movl	%esi, %r15d
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	xorl	%r12d, %r12d
	cmpl	12(%r14), %r12d
	movl	$0, %ebx
	sbbl	%ebx, %ebx
	orl	%eax, %ebx
	andl	%r15d, %ebx
	movl	(%r14), %r15d
	notl	%r15d
	movq	_TCPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GSO_BIT
	andl	%r15d, %eax
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	cmpl	$1, %eax
	movl	$0, %r15d
	sbbl	%r15d, %r15d
	orl	%ecx, %r15d
	andl	%ebx, %r15d
	movl	(%r14), %ebx
	notl	%ebx
	movq	_TCPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GSO_BIT
	andl	%ebx, %eax
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	cmpl	$1, %eax
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	%ecx, %eax
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	8(%r14), %r12d
	notl	%ecx
	movl	$0, %edx
	sbbl	%edx, %edx
	orl	%ecx, %edx
	andl	%eax, %edx
	andl	%r15d, %edx
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	cmpl	4(%r14), %r12d
	sbbl	%r12d, %r12d
	orl	%eax, %r12d
	andl	%edx, %r12d
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_TCPV4,4,2                      ## @TCPV4
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_TCPV6,4,2                      ## @TCPV6
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.no_dead_strip	_xenvif_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenvif_fix_features
_xenvif_fix_features:                   ; @xenvif_fix_features
	.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, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x0, #12]
Lloh0:
	adrp	x9, _NETIF_F_SG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_SG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	mov	w21, #-1
	csinv	w8, w21, w9, ne
	and	w19, w8, w19
	ldr	w22, [x0]
Lloh3:
	adrp	x8, _TCPV4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCPV4@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_GSO_BIT
Lloh6:
	adrp	x8, _NETIF_F_TSO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_F_TSO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bics	wzr, w0, w22
	csinv	w8, w21, w8, eq
	and	w19, w19, w8
	ldr	w22, [x20]
Lloh9:
	adrp	x8, _TCPV6@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TCPV6@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_GSO_BIT
Lloh12:
	adrp	x8, _NETIF_F_TSO6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	bics	wzr, w0, w22
	csinv	w8, w21, w8, eq
	and	w8, w19, w8
Lloh15:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldp	w11, w10, [x20, #4]
	cmp	w10, #0
	csinv	w9, w21, w9, ne
Lloh18:
	adrp	x10, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh19:
	ldr	x10, [x10, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
	and	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
	cmp	w11, #0
	csinv	w9, w21, w9, ne
	and	w0, w8, w9
	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 AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_TCPV4,4,2                      ; @TCPV4
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_TCPV6,4,2                      ; @TCPV6
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.no_dead_strip	_xenvif_fix_features
.subsections_via_symbols
