	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8169_fix_features
_rtl8169_fix_features:                  ## @rtl8169_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, %rcx
	movq	(%rbx), %rdx
	movq	_TD_MSS_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	movq	_NETIF_F_ALL_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	movl	$-1, %eax
	cmovgl	%esi, %eax
	andl	%r14d, %eax
	movq	_JUMBO_1K@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jle	LBB0_3
## %bb.1:
	movq	(%rcx), %rcx
	movq	_RTL_GIGA_MAC_VER_06@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_3
## %bb.2:
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TD_MSS_MAX,8,3                 ## @TD_MSS_MAX
	.comm	_NETIF_F_ALL_TSO,4,2            ## @NETIF_F_ALL_TSO
	.comm	_JUMBO_1K,8,3                   ## @JUMBO_1K
	.comm	_RTL_GIGA_MAC_VER_06,8,3        ## @RTL_GIGA_MAC_VER_06
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.no_dead_strip	_rtl8169_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8169_fix_features
_rtl8169_fix_features:                  ; @rtl8169_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
	mov	x8, x0
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _TD_MSS_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TD_MSS_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _NETIF_F_ALL_TSO@GOTPAGE
Lloh4:
	ldr	x11, [x11, _NETIF_F_ALL_TSO@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	x9, x10
	mov	w10, #-1
	csinv	w10, w10, w11, le
	and	w0, w10, w19
Lloh6:
	adrp	x10, _JUMBO_1K@GOTPAGE
Lloh7:
	ldr	x10, [x10, _JUMBO_1K@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_3
; %bb.1:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _RTL_GIGA_MAC_VER_06@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTL_GIGA_MAC_VER_06@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _NETIF_F_IP_CSUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TD_MSS_MAX,8,3                 ; @TD_MSS_MAX
	.comm	_NETIF_F_ALL_TSO,4,2            ; @NETIF_F_ALL_TSO
	.comm	_JUMBO_1K,8,3                   ; @JUMBO_1K
	.comm	_RTL_GIGA_MAC_VER_06,8,3        ; @RTL_GIGA_MAC_VER_06
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.no_dead_strip	_rtl8169_fix_features
.subsections_via_symbols
