	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_fix_features
_e1000_fix_features:                    ## @e1000_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	_e1000_pch2lan@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.2:
	movq	_NETIF_F_RXFCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
LBB0_3:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	orl	%r14d, %edx
	notl	%eax
	andl	%r14d, %eax
	testl	%r14d, (%rcx)
	cmovnel	%edx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_pch2lan,8,3              ## @e1000_pch2lan
	.comm	_ETH_DATA_LEN,8,3               ## @ETH_DATA_LEN
	.comm	_NETIF_F_RXFCS,4,2              ## @NETIF_F_RXFCS
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.no_dead_strip	_e1000_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_fix_features
_e1000_fix_features:                    ; @e1000_fix_features
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _e1000_pch2lan@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_pch2lan@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _ETH_DATA_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _NETIF_F_RXFCS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_F_RXFCS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w19, w19, w8
LBB0_3:
Lloh9:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w10, w9, w19
	bic	w9, w19, w9
	tst	w8, w19
	csel	w0, w9, w10, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_pch2lan,8,3              ; @e1000_pch2lan
	.comm	_ETH_DATA_LEN,8,3               ; @ETH_DATA_LEN
	.comm	_NETIF_F_RXFCS,4,2              ; @NETIF_F_RXFCS
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.no_dead_strip	_e1000_fix_features
.subsections_via_symbols
