	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8169_set_features
_rtl8169_set_features:                  ## @rtl8169_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_rtl_lock_work
	movq	_RxConfig@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_RTL_R32
	movq	_NETIF_F_RXALL@GOTPCREL(%rip), %rdx
	movq	_AcceptErr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_AcceptRunt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r14d, (%rdx)
	je	LBB0_2
## %bb.1:
	orl	%eax, %ebx
	orl	%ecx, %ebx
	jmp	LBB0_3
LBB0_2:
	orl	%ebx, %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %ebx
LBB0_3:
	movq	%r15, %rdi
	callq	_rtl_is_8125
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	movq	_RX_VLAN_8125@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, (%rcx)
	je	LBB0_6
## %bb.5:
	orl	%eax, %ebx
	jmp	LBB0_7
LBB0_6:
	notl	%eax
	andl	%eax, %ebx
LBB0_7:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_RTL_W32
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movq	_RxChkSum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, (%rcx)
	je	LBB0_9
## %bb.8:
	orl	%eax, (%r15)
	jmp	LBB0_10
LBB0_9:
	notl	%eax
	andl	%eax, (%r15)
LBB0_10:
	movq	%r15, %rdi
	callq	_rtl_is_8125
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	(%r15), %edx
	jmp	LBB0_16
LBB0_12:
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rax
	movq	_RxVlan@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%r14d, (%rax)
	je	LBB0_14
## %bb.13:
	orl	(%r15), %edx
	jmp	LBB0_15
LBB0_14:
	notl	%edx
	andl	(%r15), %edx
LBB0_15:
	movl	%edx, (%r15)
LBB0_16:
	movq	_CPlusCmd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_RTL_W16
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_RTL_R16
	movq	%r15, %rdi
	callq	_rtl_unlock_work
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RxConfig,4,2                   ## @RxConfig
	.comm	_NETIF_F_RXALL,4,2              ## @NETIF_F_RXALL
	.comm	_AcceptErr,4,2                  ## @AcceptErr
	.comm	_AcceptRunt,4,2                 ## @AcceptRunt
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_RX_VLAN_8125,4,2               ## @RX_VLAN_8125
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_RxChkSum,4,2                   ## @RxChkSum
	.comm	_RxVlan,4,2                     ## @RxVlan
	.comm	_CPlusCmd,4,2                   ## @CPlusCmd
	.no_dead_strip	_rtl8169_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8169_set_features
_rtl8169_set_features:                  ; @rtl8169_set_features
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_rtl_lock_work
Lloh0:
	adrp	x23, _RxConfig@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RxConfig@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_RTL_R32
Lloh2:
	adrp	x8, _NETIF_F_RXALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETIF_F_RXALL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
Lloh5:
	adrp	x8, _AcceptErr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AcceptErr@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _AcceptRunt@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AcceptRunt@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w10, w0, w10
	orr	w8, w8, w0
	orr	w8, w8, w9
	csel	w21, w10, w8, eq
	mov	x0, x19
	bl	_rtl_is_8125
Lloh11:
	adrp	x22, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh12:
	ldr	x22, [x22, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x22]
	tst	w8, w20
Lloh13:
	adrp	x8, _RX_VLAN_8125@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RX_VLAN_8125@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	bic	w9, w21, w8
	orr	w8, w8, w21
	csel	w21, w9, w8, eq
LBB0_2:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_RTL_W32
Lloh16:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x8]
Lloh19:
	adrp	x8, _RxChkSum@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RxChkSum@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w9, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_5
LBB0_4:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_5:
	str	w8, [x19]
	mov	x0, x19
	bl	_rtl_is_8125
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w2, [x19]
	b	LBB0_11
LBB0_7:
	ldr	w9, [x22]
Lloh22:
	adrp	x8, _RxVlan@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RxVlan@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w9, w20
	b.eq	LBB0_9
; %bb.8:
	ldr	w9, [x19]
	orr	w2, w9, w8
	b	LBB0_10
LBB0_9:
	ldr	w9, [x19]
	bic	w2, w9, w8
LBB0_10:
	str	w2, [x19]
LBB0_11:
Lloh25:
	adrp	x20, _CPlusCmd@GOTPAGE
Lloh26:
	ldr	x20, [x20, _CPlusCmd@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RTL_W16
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RTL_R16
	mov	x0, x19
	bl	_rtl_unlock_work
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_RxConfig,4,2                   ; @RxConfig
	.comm	_NETIF_F_RXALL,4,2              ; @NETIF_F_RXALL
	.comm	_AcceptErr,4,2                  ; @AcceptErr
	.comm	_AcceptRunt,4,2                 ; @AcceptRunt
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_RX_VLAN_8125,4,2               ; @RX_VLAN_8125
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_RxChkSum,4,2                   ; @RxChkSum
	.comm	_RxVlan,4,2                     ; @RxVlan
	.comm	_CPlusCmd,4,2                   ; @CPlusCmd
	.no_dead_strip	_rtl8169_set_features
.subsections_via_symbols
