	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8187_configure_filter
_rtl8187_configure_filter:              ## @rtl8187_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
	movq	(%rdi), %rdi
	movq	_FIF_FCSFAIL@GOTPCREL(%rip), %r9
	testl	%esi, (%r9)
	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), %r8
	testl	%esi, (%r8)
	je	LBB0_4
## %bb.3:
	movq	_RTL818X_RX_CONF_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, (%rdi)
LBB0_4:
	movl	(%rdx), %eax
	movq	_FIF_OTHER_BSS@GOTPCREL(%rip), %r10
	testl	%eax, (%r10)
	je	LBB0_5
LBB0_7:
	movq	_RTL818X_RX_CONF_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	jmp	LBB0_9
LBB0_5:
	testq	%rcx, %rcx
	jg	LBB0_7
## %bb.6:
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_7
## %bb.8:
	movq	_RTL818X_RX_CONF_MONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rdi)
LBB0_9:
	movl	$0, (%rdx)
	movl	(%rdi), %eax
	movq	_RTL818X_RX_CONF_FCS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.11:
	movl	(%r9), %ecx
	movl	%ecx, (%rdx)
	movl	(%rdi), %eax
	jmp	LBB0_12
LBB0_10:
	xorl	%ecx, %ecx
LBB0_12:
	movq	_RTL818X_RX_CONF_CTRL@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_14
## %bb.13:
	orl	(%r8), %ecx
	movl	%ecx, (%rdx)
	movl	(%rdi), %eax
LBB0_14:
	movq	_RTL818X_RX_CONF_MONITOR@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_16
## %bb.15:
	orl	(%r10), %ecx
	movl	%ecx, (%rdx)
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rdx)
	movl	(%rdi), %eax
LBB0_16:
	movq	8(%rdi), %rsi
	movl	%eax, %edx
	popq	%rbp
	jmp	_rtl818x_iowrite32_async        ## 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	_FIF_ALLMULTI,4,2               ## @FIF_ALLMULTI
	.comm	_RTL818X_RX_CONF_MONITOR,4,2    ## @RTL818X_RX_CONF_MONITOR
	.no_dead_strip	_rtl8187_configure_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8187_configure_filter
_rtl8187_configure_filter:              ; @rtl8187_configure_filter
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
Lloh0:
	adrp	x14, _FIF_FCSFAIL@GOTPAGE
Lloh1:
	ldr	x14, [x14, _FIF_FCSFAIL@GOTPAGEOFF]
	ldr	w8, [x14]
Lloh2:
	adrp	x15, _RTL818X_RX_CONF_FCS@GOTPAGE
Lloh3:
	ldr	x15, [x15, _RTL818X_RX_CONF_FCS@GOTPAGEOFF]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x15]
	ldr	w9, [x0]
	eor	w8, w9, w8
	str	w8, [x0]
LBB0_2:
Lloh4:
	adrp	x11, _FIF_CONTROL@GOTPAGE
Lloh5:
	ldr	x11, [x11, _FIF_CONTROL@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh6:
	adrp	x13, _RTL818X_RX_CONF_CTRL@GOTPAGE
Lloh7:
	ldr	x13, [x13, _RTL818X_RX_CONF_CTRL@GOTPAGEOFF]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x13]
	ldr	w9, [x0]
	eor	w8, w9, w8
	str	w8, [x0]
LBB0_4:
	ldr	w8, [x2]
Lloh8:
	adrp	x9, _FIF_OTHER_BSS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FIF_OTHER_BSS@GOTPAGEOFF]
	ldr	w16, [x9]
Lloh10:
	adrp	x12, _RTL818X_RX_CONF_MONITOR@GOTPAGE
Lloh11:
	ldr	x12, [x12, _RTL818X_RX_CONF_MONITOR@GOTPAGEOFF]
Lloh12:
	adrp	x10, _FIF_ALLMULTI@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FIF_ALLMULTI@GOTPAGEOFF]
	tst	w16, w8
	b.eq	LBB0_6
LBB0_5:
	ldr	w8, [x12]
	ldr	w16, [x0]
	orr	w8, w16, w8
	b	LBB0_9
LBB0_6:
	cmp	x3, #0
	b.gt	LBB0_5
; %bb.7:
	ldr	w16, [x10]
	and	w8, w16, w8
	cbnz	w8, LBB0_5
; %bb.8:
	ldr	w8, [x12]
	ldr	w16, [x0]
	bic	w8, w16, w8
LBB0_9:
	str	w8, [x0]
	str	wzr, [x2]
	ldr	w8, [x0]
	ldr	w15, [x15]
	tst	w15, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w14, [x14]
	str	w14, [x2]
	ldr	w8, [x0]
	b	LBB0_12
LBB0_11:
	mov	w14, #0
LBB0_12:
	ldr	w13, [x13]
	tst	w13, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w8, [x11]
	orr	w14, w14, w8
	str	w14, [x2]
	ldr	w8, [x0]
LBB0_14:
	ldr	w11, [x12]
	tst	w11, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w8, [x9]
	orr	w8, w14, w8
	str	w8, [x2]
	ldr	w9, [x10]
	orr	w8, w9, w8
	str	w8, [x2]
	ldr	w8, [x0]
LBB0_16:
	ldr	x1, [x0, #8]
	mov	x2, x8
	b	_rtl818x_iowrite32_async
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.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	_FIF_ALLMULTI,4,2               ; @FIF_ALLMULTI
	.comm	_RTL818X_RX_CONF_MONITOR,4,2    ; @RTL818X_RX_CONF_MONITOR
	.no_dead_strip	_rtl8187_configure_filter
.subsections_via_symbols
