	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_fix_features
_xgbe_fix_features:                     ## @xgbe_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	%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, %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %r14
	movq	_NETIF_F_RX_UDP_TUNNEL_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	orl	(%r14), %r13d
	movq	_NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	orl	%r13d, %r12d
	movl	%r12d, %eax
	andl	%ebx, %eax
	movl	%eax, (%r15)
	je	LBB0_16
## %bb.1:
	cmpl	$0, 16(%r15)
	je	LBB0_15
## %bb.2:
	testl	%ebx, (%rdx)
	je	LBB0_5
## %bb.3:
	testl	%ebx, (%r14)
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netdev_notice
	movq	_NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %rdx
	orl	(%r14), %ebx
LBB0_5:
	movl	%ebx, %eax
	notl	%eax
	testl	%eax, %r13d
	jne	LBB0_7
## %bb.6:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_netdev_notice
	movq	_NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %rdx
	orl	%r13d, %ebx
	movq	%r14, %r13
LBB0_8:
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rax
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rdx), %eax
	testl	%ebx, %ecx
	je	LBB0_11
## %bb.9:
	testl	%ebx, %eax
	jne	LBB0_13
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movq	%rdx, %r14
	callq	_netdev_notice
	orl	(%r14), %ebx
	jmp	LBB0_13
LBB0_11:
	testl	%ebx, %eax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movq	%rdx, %r14
	callq	_netdev_notice
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_13:
	movl	%ebx, %eax
	andl	%r12d, %eax
	movl	%eax, (%r15)
	cmpq	$0, 8(%r15)
	je	LBB0_16
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_netdev_notice
LBB0_15:
	notl	%r12d
	andl	%r12d, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ## @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_RX_UDP_TUNNEL_PORT,4,2 ## @NETIF_F_RX_UDP_TUNNEL_PORT
	.comm	_NETIF_F_GSO_UDP_TUNNEL_CSUM,4,2 ## @NETIF_F_GSO_UDP_TUNNEL_CSUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"forcing tx udp tunnel support\n"

L_.str.1:                               ## @.str.1
	.asciz	"forcing both tx and rx udp tunnel support\n"

	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
L_.str.2:                               ## @.str.2
	.asciz	"forcing tx udp tunnel checksumming on\n"

L_.str.3:                               ## @.str.3
	.asciz	"forcing tx udp tunnel checksumming off\n"

L_.str.4:                               ## @.str.4
	.asciz	"VXLAN acceleration disabled, turning off udp tunnel features\n"

	.no_dead_strip	_xgbe_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_fix_features
_xgbe_fix_features:                     ; @xgbe_fix_features
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
Lloh0:
	adrp	x25, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh2:
	adrp	x9, _NETIF_F_RX_UDP_TUNNEL_PORT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NETIF_F_RX_UDP_TUNNEL_PORT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w24, w9, w8
Lloh5:
	adrp	x23, _NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NETIF_F_GSO_UDP_TUNNEL_CSUM@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w22, w24, w8
	ands	w8, w22, w19
	str	w8, [x0]
	b.eq	LBB0_14
; %bb.1:
	mov	x21, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_13
; %bb.2:
	ldr	w8, [x23]
	tst	w8, w19
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x25]
	tst	w8, w19
	b.eq	LBB0_15
LBB0_4:
	bics	wzr, w24, w19
	b.eq	LBB0_6
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_notice
	orr	w19, w19, w24
LBB0_6:
Lloh9:
	adrp	x8, _NETIF_F_IP_CSUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh11:
	adrp	x9, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldr	w8, [x23]
	and	w8, w8, w19
	tst	w9, w19
	b.eq	LBB0_9
; %bb.7:
	cbnz	w8, LBB0_11
; %bb.8:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_netdev_notice
	ldr	w8, [x23]
	orr	w19, w8, w19
	b	LBB0_11
LBB0_9:
	cbz	w8, LBB0_11
; %bb.10:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_netdev_notice
	ldr	w8, [x23]
	bic	w19, w19, w8
LBB0_11:
	and	w8, w19, w22
	str	w8, [x21]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_14
; %bb.12:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_netdev_notice
LBB0_13:
	bic	w19, w19, w22
LBB0_14:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_notice
	ldr	w8, [x25]
	orr	w19, w8, w19
	bics	wzr, w24, w19
	b.ne	LBB0_5
	b	LBB0_6
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ; @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_RX_UDP_TUNNEL_PORT,4,2 ; @NETIF_F_RX_UDP_TUNNEL_PORT
	.comm	_NETIF_F_GSO_UDP_TUNNEL_CSUM,4,2 ; @NETIF_F_GSO_UDP_TUNNEL_CSUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"forcing tx udp tunnel support\n"

l_.str.1:                               ; @.str.1
	.asciz	"forcing both tx and rx udp tunnel support\n"

	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
l_.str.2:                               ; @.str.2
	.asciz	"forcing tx udp tunnel checksumming on\n"

l_.str.3:                               ; @.str.3
	.asciz	"forcing tx udp tunnel checksumming off\n"

l_.str.4:                               ; @.str.4
	.asciz	"VXLAN acceleration disabled, turning off udp tunnel features\n"

	.no_dead_strip	_xgbe_fix_features
.subsections_via_symbols
