	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8180_configure_filter
_rtl8180_configure_filter:              ## @rtl8180_configure_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %rdi
	movq	_FIF_FCSFAIL@GOTPCREL(%rip), %r11
	testl	%esi, (%r11)
	je	LBB0_2
## %bb.1:
	movq	_RTL818X_RX_CONF_FCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, (%rdi)
LBB0_2:
	movq	_FIF_CONTROL@GOTPCREL(%rip), %r10
	testl	%esi, (%r10)
	je	LBB0_4
## %bb.3:
	movq	_RTL818X_RX_CONF_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, (%rdi)
LBB0_4:
	movq	_FIF_OTHER_BSS@GOTPCREL(%rip), %r9
	testl	%esi, (%r9)
	je	LBB0_6
## %bb.5:
	movq	_RTL818X_RX_CONF_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, (%rdi)
LBB0_6:
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %r8
	movq	_RTL818X_RX_CONF_MULTICAST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testq	%rcx, %rcx
	jg	LBB0_8
## %bb.7:
	movl	(%r8), %ecx
	andl	(%rdx), %ecx
	jne	LBB0_8
## %bb.9:
	notl	%eax
	andl	%eax, (%rdi)
	jmp	LBB0_10
LBB0_8:
	orl	%eax, (%rdi)
LBB0_10:
	movl	$0, (%rdx)
	movl	(%rdi), %eax
	movq	_RTL818X_RX_CONF_FCS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.12:
	movl	(%r11), %ecx
	movl	%ecx, (%rdx)
	movl	(%rdi), %eax
	jmp	LBB0_13
LBB0_11:
	xorl	%ecx, %ecx
LBB0_13:
	movq	_RTL818X_RX_CONF_CTRL@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_15
## %bb.14:
	orl	(%r10), %ecx
	movl	%ecx, (%rdx)
	movl	(%rdi), %eax
LBB0_15:
	movq	_RTL818X_RX_CONF_MONITOR@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_17
## %bb.16:
	orl	(%r9), %ecx
	movl	%ecx, (%rdx)
	movl	(%rdi), %eax
LBB0_17:
	testl	%eax, (%rbx)
	je	LBB0_19
## %bb.18:
	orl	(%r8), %ecx
	movl	%ecx, (%rdx)
	movl	(%rdi), %eax
LBB0_19:
	movq	8(%rdi), %rsi
	movl	%eax, %edx
	popq	%rbx
	popq	%rbp
	jmp	_rtl818x_iowrite32              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FIF_FCSFAIL,4,2                ## @FIF_FCSFAIL
	.comm	_RTL818X_RX_CONF_FCS,4,2        ## @RTL818X_RX_CONF_FCS
	.comm	_FIF_CONTROL,4,2                ## @FIF_CONTROL
	.comm	_RTL818X_RX_CONF_CTRL,4,2       ## @RTL818X_RX_CONF_CTRL
	.comm	_FIF_OTHER_BSS,4,2              ## @FIF_OTHER_BSS
	.comm	_RTL818X_RX_CONF_MONITOR,4,2    ## @RTL818X_RX_CONF_MONITOR
	.comm	_FIF_ALLMULTI,4,2               ## @FIF_ALLMULTI
	.comm	_RTL818X_RX_CONF_MULTICAST,4,2  ## @RTL818X_RX_CONF_MULTICAST
	.no_dead_strip	_rtl8180_configure_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8180_configure_filter
_rtl8180_configure_filter:              ; @rtl8180_configure_filter
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
Lloh0:
	adrp	x15, _FIF_FCSFAIL@GOTPAGE
Lloh1:
	ldr	x15, [x15, _FIF_FCSFAIL@GOTPAGEOFF]
	ldr	w8, [x15]
Lloh2:
	adrp	x16, _RTL818X_RX_CONF_FCS@GOTPAGE
Lloh3:
	ldr	x16, [x16, _RTL818X_RX_CONF_FCS@GOTPAGEOFF]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x16]
	ldr	w9, [x0]
	eor	w8, w9, w8
	str	w8, [x0]
LBB0_2:
Lloh4:
	adrp	x12, _FIF_CONTROL@GOTPAGE
Lloh5:
	ldr	x12, [x12, _FIF_CONTROL@GOTPAGEOFF]
	ldr	w8, [x12]
Lloh6:
	adrp	x14, _RTL818X_RX_CONF_CTRL@GOTPAGE
Lloh7:
	ldr	x14, [x14, _RTL818X_RX_CONF_CTRL@GOTPAGEOFF]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x14]
	ldr	w9, [x0]
	eor	w8, w9, w8
	str	w8, [x0]
LBB0_4:
Lloh8:
	adrp	x11, _FIF_OTHER_BSS@GOTPAGE
Lloh9:
	ldr	x11, [x11, _FIF_OTHER_BSS@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh10:
	adrp	x13, _RTL818X_RX_CONF_MONITOR@GOTPAGE
Lloh11:
	ldr	x13, [x13, _RTL818X_RX_CONF_MONITOR@GOTPAGEOFF]
	tst	w8, w1
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x13]
	ldr	w9, [x0]
	eor	w8, w9, w8
	str	w8, [x0]
LBB0_6:
Lloh12:
	adrp	x9, _FIF_ALLMULTI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FIF_ALLMULTI@GOTPAGEOFF]
Lloh14:
	adrp	x10, _RTL818X_RX_CONF_MULTICAST@GOTPAGE
Lloh15:
	ldr	x10, [x10, _RTL818X_RX_CONF_MULTICAST@GOTPAGEOFF]
	ldr	w8, [x10]
	cmp	x3, #0
	b.gt	LBB0_9
; %bb.7:
	ldr	w17, [x2]
	ldr	w1, [x9]
	and	w17, w1, w17
	cbnz	w17, LBB0_9
; %bb.8:
	ldr	w17, [x0]
	bic	w8, w17, w8
	b	LBB0_10
LBB0_9:
	ldr	w17, [x0]
	orr	w8, w17, w8
LBB0_10:
	str	w8, [x0]
	str	wzr, [x2]
	ldr	w8, [x0]
	ldr	w16, [x16]
	tst	w16, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w15, [x15]
	str	w15, [x2]
	ldr	w8, [x0]
	b	LBB0_13
LBB0_12:
	mov	w15, #0
LBB0_13:
	ldr	w14, [x14]
	tst	w14, w8
	b.eq	LBB0_15
; %bb.14:
	ldr	w8, [x12]
	orr	w15, w15, w8
	str	w15, [x2]
	ldr	w8, [x0]
LBB0_15:
	ldr	w12, [x13]
	tst	w12, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	w8, [x11]
	orr	w15, w15, w8
	str	w15, [x2]
	ldr	w8, [x0]
LBB0_17:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	w8, [x9]
	orr	w8, w15, w8
	str	w8, [x2]
	ldr	w8, [x0]
LBB0_19:
	ldr	x1, [x0, #8]
	mov	x2, x8
	b	_rtl818x_iowrite32
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FIF_FCSFAIL,4,2                ; @FIF_FCSFAIL
	.comm	_RTL818X_RX_CONF_FCS,4,2        ; @RTL818X_RX_CONF_FCS
	.comm	_FIF_CONTROL,4,2                ; @FIF_CONTROL
	.comm	_RTL818X_RX_CONF_CTRL,4,2       ; @RTL818X_RX_CONF_CTRL
	.comm	_FIF_OTHER_BSS,4,2              ; @FIF_OTHER_BSS
	.comm	_RTL818X_RX_CONF_MONITOR,4,2    ; @RTL818X_RX_CONF_MONITOR
	.comm	_FIF_ALLMULTI,4,2               ; @FIF_ALLMULTI
	.comm	_RTL818X_RX_CONF_MULTICAST,4,2  ; @RTL818X_RX_CONF_MULTICAST
	.no_dead_strip	_rtl8180_configure_filter
.subsections_via_symbols
