	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_fix_features
_atl1c_fix_features:                    ## @atl1c_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
	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	%esi, %edx
	notl	%eax
	andl	%esi, %eax
	testl	%esi, (%rcx)
	cmovnel	%edx, %eax
	movq	(%rdi), %rcx
	movq	_MAX_TSO_FRAME_SIZE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_2
## %bb.1:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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
	.comm	_MAX_TSO_FRAME_SIZE,8,3         ## @MAX_TSO_FRAME_SIZE
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.no_dead_strip	_atl1c_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_fix_features
_atl1c_fix_features:                    ; @atl1c_fix_features
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w11, w10, w1
	bic	w10, w1, w10
	tst	w9, w1
	csel	w0, w10, w11, eq
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MAX_TSO_FRAME_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_TSO_FRAME_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _NETIF_F_TSO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_TSO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _NETIF_F_TSO6@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w0, w8
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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
	.comm	_MAX_TSO_FRAME_SIZE,8,3         ; @MAX_TSO_FRAME_SIZE
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.no_dead_strip	_atl1c_fix_features
.subsections_via_symbols
