	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_set_features
_xgbe_set_features:                     ## @xgbe_set_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, %r14d
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%rax), %r12d
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	andl	%r12d, %eax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%r14d, %ecx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	*8(%r15)
	testl	%eax, %eax
	jne	LBB0_33
	jmp	LBB0_7
LBB0_3:
	movl	%r13d, %edx
	testl	%r14d, %ecx
	jne	LBB0_8
## %bb.4:
	movl	%r13d, %edx
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	*16(%r15)
	testl	%eax, %eax
	jne	LBB0_33
LBB0_7:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_8:
	andl	%r12d, %r13d
	testl	%r14d, %edx
	je	LBB0_11
## %bb.9:
	testl	%r13d, %r13d
	jne	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	*64(%r15)
	jmp	LBB0_14
LBB0_11:
	testl	%r14d, %edx
	jne	LBB0_14
## %bb.12:
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	*56(%r15)
LBB0_14:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %ebx
	testl	%r14d, %eax
	je	LBB0_17
## %bb.15:
	testl	%ebx, %ebx
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	callq	*48(%r15)
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %r13
	jmp	LBB0_20
LBB0_17:
	testl	%r14d, %eax
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %r13
	jne	LBB0_20
## %bb.18:
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	callq	*40(%r15)
LBB0_20:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	andl	%r12d, %ecx
	testl	%r14d, %eax
	je	LBB0_23
## %bb.21:
	testl	%ecx, %ecx
	jne	LBB0_23
## %bb.22:
	movq	%r15, %rdi
	callq	*32(%r15)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_26
LBB0_23:
	testl	%r14d, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_26
## %bb.24:
	testl	%ecx, %ecx
	je	LBB0_26
## %bb.25:
	movq	%r15, %rdi
	callq	*24(%r15)
LBB0_26:
	movl	(%r13), %eax
	andl	%r12d, %ebx
	testl	%r14d, %eax
	je	LBB0_29
## %bb.27:
	testl	%ebx, %ebx
	jne	LBB0_29
## %bb.28:
	movq	%r15, %rdi
	callq	_xgbe_enable_vxlan_accel
	jmp	LBB0_32
LBB0_29:
	testl	%r14d, %eax
	jne	LBB0_32
## %bb.30:
	testl	%ebx, %ebx
	je	LBB0_32
## %bb.31:
	movq	%r15, %rdi
	callq	_xgbe_disable_vxlan_accel
LBB0_32:
	movl	%r14d, (%r15)
	leaq	L_.str(%rip), %rdi
	callq	_DBGPR
	xorl	%eax, %eax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ## @NETIF_F_GSO_UDP_TUNNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<--xgbe_set_features\n"

	.no_dead_strip	_xgbe_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_set_features
_xgbe_set_features:                     ; @xgbe_set_features
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _NETIF_F_RXHASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXHASH@GOTPAGEOFF]
	ldr	w21, [x0]
Lloh2:
	ldr	w9, [x8]
	and	w8, w9, w21
Lloh3:
	adrp	x22, _NETIF_F_RXCSUM@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NETIF_F_RXCSUM@GOTPAGEOFF]
	ldr	w27, [x22]
Lloh5:
	adrp	x26, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh6:
	ldr	x26, [x26, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
	ldr	w28, [x26]
Lloh7:
	adrp	x24, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh8:
	ldr	x24, [x24, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
	ldr	w25, [x24]
Lloh9:
	adrp	x10, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x10]
	and	w9, w9, w19
	cmp	w9, #0
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #0
	ccmp	w8, #0, #4, eq
	mov	x8, x27
	b.eq	LBB0_6
; %bb.2:
	ldr	x8, [x20, #16]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20, #8]
LBB0_4:
	mov	x0, x20
	blr	x8
	cbnz	w0, LBB0_29
; %bb.5:
	ldr	w8, [x22]
LBB0_6:
	and	w9, w27, w21
	and	w22, w28, w21
	and	w8, w8, w19
	cmp	w8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #0
	ccmp	w9, #0, #4, eq
	b.eq	LBB0_11
; %bb.8:
	ldr	x8, [x20, #56]
	b	LBB0_10
LBB0_9:
	ldr	x8, [x20, #64]
LBB0_10:
	mov	x0, x20
	blr	x8
LBB0_11:
	ldr	w8, [x26]
	and	w8, w8, w19
	cmp	w8, #0
	ccmp	w22, #0, #0, ne
	b.eq	LBB0_14
; %bb.12:
	cmp	w8, #0
	ccmp	w22, #0, #4, eq
	b.eq	LBB0_16
; %bb.13:
	ldr	x8, [x20, #40]
	b	LBB0_15
LBB0_14:
	ldr	x8, [x20, #48]
LBB0_15:
	mov	x0, x20
	blr	x8
LBB0_16:
	and	w8, w25, w21
	ldr	w9, [x24]
	ands	w9, w9, w19
	b.eq	LBB0_19
; %bb.17:
	cbnz	w8, LBB0_19
; %bb.18:
	ldr	x8, [x20, #32]
	mov	x0, x20
	blr	x8
Lloh12:
	adrp	x22, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh13:
	ldr	x22, [x22, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:
Lloh14:
	adrp	x22, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh15:
	ldr	x22, [x22, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
	cbnz	w9, LBB0_22
; %bb.20:
	cbz	w8, LBB0_22
; %bb.21:
	ldr	x8, [x20, #24]
	mov	x0, x20
	blr	x8
LBB0_22:
	and	w8, w23, w21
	ldr	w9, [x22]
	ands	w9, w9, w19
	b.eq	LBB0_25
; %bb.23:
	cbnz	w8, LBB0_25
; %bb.24:
	mov	x0, x20
	bl	_xgbe_enable_vxlan_accel
	b	LBB0_28
LBB0_25:
	cbnz	w9, LBB0_28
; %bb.26:
	cbz	w8, LBB0_28
; %bb.27:
	mov	x0, x20
	bl	_xgbe_disable_vxlan_accel
LBB0_28:
	str	w19, [x20]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBGPR
	mov	w0, #0
LBB0_29:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ; @NETIF_F_GSO_UDP_TUNNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<--xgbe_set_features\n"

	.no_dead_strip	_xgbe_set_features
.subsections_via_symbols
