	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2500pci_config_filter
_rt2500pci_config_filter:               ## @rt2500pci_config_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_RXCSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_RXCSR0_DROP_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIF_FCSFAIL@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	movl	(%rax), %eax
	andl	%r12d, %eax
	sete	%dl
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_rt2x00_set_field32
	movq	_RXCSR0_DROP_PHYSICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIF_PLCPFAIL@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	movl	(%rax), %eax
	andl	%r12d, %eax
	sete	%dl
	movq	%r15, %rdi
	callq	_rt2x00_set_field32
	movq	_RXCSR0_DROP_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIF_CONTROL@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	movl	(%rax), %eax
	andl	%r12d, %eax
	sete	%dl
	movq	%r15, %rdi
	callq	_rt2x00_set_field32
	movq	_RXCSR0_DROP_NOT_TO_ME@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_CONFIG_MONITORING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%edx, %edx
	testl	%eax, %eax
	sete	%dl
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_rt2x00_set_field32
	movq	_RXCSR0_DROP_TODS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_CONFIG_MONITORING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%edx, %edx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%edx, %edx
	cmpl	$0, (%r14)
	sete	%dl
LBB0_2:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_rt2x00_set_field32
	movq	_RXCSR0_DROP_VERSION_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field32
	movq	_RXCSR0_DROP_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	andl	(%rax), %r12d
	sete	%dl
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movq	_RXCSR0_DROP_BCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movq	_RXCSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	callq	_rt2x00mmio_register_write
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXCSR0,4,2                     ## @RXCSR0
	.comm	_RXCSR0_DROP_CRC,4,2            ## @RXCSR0_DROP_CRC
	.comm	_FIF_FCSFAIL,4,2                ## @FIF_FCSFAIL
	.comm	_RXCSR0_DROP_PHYSICAL,4,2       ## @RXCSR0_DROP_PHYSICAL
	.comm	_FIF_PLCPFAIL,4,2               ## @FIF_PLCPFAIL
	.comm	_RXCSR0_DROP_CONTROL,4,2        ## @RXCSR0_DROP_CONTROL
	.comm	_FIF_CONTROL,4,2                ## @FIF_CONTROL
	.comm	_RXCSR0_DROP_NOT_TO_ME,4,2      ## @RXCSR0_DROP_NOT_TO_ME
	.comm	_CONFIG_MONITORING,4,2          ## @CONFIG_MONITORING
	.comm	_RXCSR0_DROP_TODS,4,2           ## @RXCSR0_DROP_TODS
	.comm	_RXCSR0_DROP_VERSION_ERROR,4,2  ## @RXCSR0_DROP_VERSION_ERROR
	.comm	_RXCSR0_DROP_MCAST,4,2          ## @RXCSR0_DROP_MCAST
	.comm	_FIF_ALLMULTI,4,2               ## @FIF_ALLMULTI
	.comm	_RXCSR0_DROP_BCAST,4,2          ## @RXCSR0_DROP_BCAST
	.no_dead_strip	_rt2500pci_config_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2500pci_config_filter
_rt2500pci_config_filter:               ; @rt2500pci_config_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _RXCSR0@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RXCSR0@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh2:
	adrp	x8, _RXCSR0_DROP_CRC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RXCSR0_DROP_CRC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _FIF_FCSFAIL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FIF_FCSFAIL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w2, eq
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh8:
	adrp	x8, _RXCSR0_DROP_PHYSICAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RXCSR0_DROP_PHYSICAL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _FIF_PLCPFAIL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FIF_PLCPFAIL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w2, eq
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh14:
	adrp	x8, _RXCSR0_DROP_CONTROL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RXCSR0_DROP_CONTROL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _FIF_CONTROL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FIF_CONTROL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w2, eq
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh20:
	adrp	x8, _RXCSR0_DROP_NOT_TO_ME@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RXCSR0_DROP_NOT_TO_ME@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
Lloh23:
	adrp	x24, _CONFIG_MONITORING@GOTPAGE
Lloh24:
	ldr	x24, [x24, _CONFIG_MONITORING@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x22, x19, #4
	mov	x1, x22
	bl	_test_bit
	cmp	w0, #0
	cset	w2, eq
	add	x0, sp, #12
	mov	x1, x21
	bl	_rt2x00_set_field32
Lloh25:
	adrp	x8, _RXCSR0_DROP_TODS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RXCSR0_DROP_TODS@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
	ldr	w0, [x24]
	mov	x1, x22
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	mov	w2, #0
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w2, eq
LBB0_3:
	add	x0, sp, #12
	mov	x1, x21
	bl	_rt2x00_set_field32
Lloh28:
	adrp	x8, _RXCSR0_DROP_VERSION_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RXCSR0_DROP_VERSION_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field32
Lloh31:
	adrp	x8, _RXCSR0_DROP_MCAST@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RXCSR0_DROP_MCAST@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _FIF_ALLMULTI@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FIF_ALLMULTI@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w2, eq
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh37:
	adrp	x8, _RXCSR0_DROP_BCAST@GOTPAGE
Lloh38:
	ldr	x8, [x8, _RXCSR0_DROP_BCAST@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
	ldr	w1, [x23]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_RXCSR0,4,2                     ; @RXCSR0
	.comm	_RXCSR0_DROP_CRC,4,2            ; @RXCSR0_DROP_CRC
	.comm	_FIF_FCSFAIL,4,2                ; @FIF_FCSFAIL
	.comm	_RXCSR0_DROP_PHYSICAL,4,2       ; @RXCSR0_DROP_PHYSICAL
	.comm	_FIF_PLCPFAIL,4,2               ; @FIF_PLCPFAIL
	.comm	_RXCSR0_DROP_CONTROL,4,2        ; @RXCSR0_DROP_CONTROL
	.comm	_FIF_CONTROL,4,2                ; @FIF_CONTROL
	.comm	_RXCSR0_DROP_NOT_TO_ME,4,2      ; @RXCSR0_DROP_NOT_TO_ME
	.comm	_CONFIG_MONITORING,4,2          ; @CONFIG_MONITORING
	.comm	_RXCSR0_DROP_TODS,4,2           ; @RXCSR0_DROP_TODS
	.comm	_RXCSR0_DROP_VERSION_ERROR,4,2  ; @RXCSR0_DROP_VERSION_ERROR
	.comm	_RXCSR0_DROP_MCAST,4,2          ; @RXCSR0_DROP_MCAST
	.comm	_FIF_ALLMULTI,4,2               ; @FIF_ALLMULTI
	.comm	_RXCSR0_DROP_BCAST,4,2          ; @RXCSR0_DROP_BCAST
	.no_dead_strip	_rt2500pci_config_filter
.subsections_via_symbols
