	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlgmac_set_features
_xlgmac_set_features:                   ## @xlgmac_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, %r13
	movl	(%rax), %r12d
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	andl	%r12d, %eax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%r14d, %edx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	*8(%r13)
	testl	%eax, %eax
	jne	LBB0_27
	jmp	LBB0_7
LBB0_3:
	movl	%r15d, %ecx
	testl	%r14d, %edx
	jne	LBB0_8
## %bb.4:
	movl	%r15d, %ecx
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%r13, %rdi
	callq	*16(%r13)
	testl	%eax, %eax
	jne	LBB0_27
LBB0_7:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_8:
	andl	%r12d, %r15d
	testl	%r14d, %ecx
	je	LBB0_11
## %bb.9:
	testl	%r15d, %r15d
	jne	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	callq	*64(%r13)
	jmp	LBB0_14
LBB0_11:
	testl	%r14d, %ecx
	jne	LBB0_14
## %bb.12:
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	callq	*56(%r13)
LBB0_14:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, %ecx
	andl	%r12d, %ecx
	testl	%r14d, %eax
	je	LBB0_17
## %bb.15:
	testl	%ecx, %ecx
	jne	LBB0_17
## %bb.16:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %r15
	movq	%r13, %rdi
	callq	*48(%r13)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_20
LBB0_17:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %r15
	testl	%r14d, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_20
## %bb.18:
	testl	%ecx, %ecx
	je	LBB0_20
## %bb.19:
	movq	%r13, %rdi
	callq	*40(%r13)
LBB0_20:
	movl	(%r15), %eax
	andl	%r12d, %ebx
	testl	%r14d, %eax
	je	LBB0_23
## %bb.21:
	testl	%ebx, %ebx
	jne	LBB0_23
## %bb.22:
	movq	%r13, %rdi
	callq	*32(%r13)
	jmp	LBB0_26
LBB0_23:
	testl	%r14d, %eax
	jne	LBB0_26
## %bb.24:
	testl	%ebx, %ebx
	je	LBB0_26
## %bb.25:
	movq	%r13, %rdi
	callq	*24(%r13)
LBB0_26:
	movl	%r14d, (%r13)
	xorl	%eax, %eax
LBB0_27:
	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
	.no_dead_strip	_xlgmac_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlgmac_set_features
_xlgmac_set_features:                   ; @xlgmac_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
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _NETIF_F_RXHASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	and	w8, w9, w22
Lloh3:
	adrp	x27, _NETIF_F_RXCSUM@GOTPAGE
Lloh4:
	ldr	x27, [x27, _NETIF_F_RXCSUM@GOTPAGEOFF]
	ldr	w25, [x27]
Lloh5:
	adrp	x23, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
	ldr	w26, [x23]
Lloh7:
	adrp	x21, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh8:
	ldr	x21, [x21, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
	ldr	w24, [x21]
	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, x25
	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_23
; %bb.5:
	ldr	w8, [x27]
LBB0_6:
	and	w9, w25, w22
	and	w25, w26, w22
	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:
	and	w22, w24, w22
	ldr	w8, [x23]
	and	w8, w8, w19
	cmp	w8, #0
	ccmp	w25, #0, #0, ne
	b.eq	LBB0_14
; %bb.12:
	cmp	w8, #0
	ccmp	w25, #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:
	ldr	w8, [x21]
	and	w8, w8, w19
	cmp	w8, #0
	ccmp	w22, #0, #0, ne
	b.eq	LBB0_20
; %bb.17:
	cbnz	w8, LBB0_22
; %bb.18:
	cbz	w22, LBB0_22
; %bb.19:
	ldr	x8, [x20, #24]
	b	LBB0_21
LBB0_20:
	ldr	x8, [x20, #32]
LBB0_21:
	mov	x0, x20
	blr	x8
LBB0_22:
	mov	w0, #0
	str	w19, [x20]
LBB0_23:
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
	.no_dead_strip	_xlgmac_set_features
.subsections_via_symbols
