	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_pre_reset_hw            ## -- Begin function rt2800_pre_reset_hw
	.p2align	4, 0x90
_rt2800_pre_reset_hw:                   ## @rt2800_pre_reset_hw
	.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
	movq	(%rdi), %r15
	movq	_WCID_START@GOTPCREL(%rip), %r14
	movslq	(%r14), %rbx
	movq	_WCID_END@GOTPCREL(%rip), %r12
	cmpl	(%r12), %ebx
	jge	LBB0_4
## %bb.1:
	movq	8(%rdi), %r13
	movq	8(%r13), %rax
	movq	$0, (%rax)
	movl	(%r13), %esi
	xorl	%edi, %edi
	callq	___clear_bit
	leal	1(%rbx), %eax
	cmpl	(%r12), %eax
	jge	LBB0_4
## %bb.2:
	incq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r14), %rax
	movq	8(%r13), %rcx
	movl	%ebx, %edi
	subl	%eax, %edi
	shlq	$3, %rax
	subq	%rax, %rcx
	movq	$0, (%rcx,%rbx,8)
	movl	(%r13), %esi
	callq	___clear_bit
	incq	%rbx
	cmpl	(%r12), %ebx
	jl	LBB0_3
LBB0_4:
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.5:
	xorl	%r12d, %r12d
	movq	_ENTRY_BCN_ASSIGNED@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	8(%r15), %rsi
	addq	%r12, %rsi
	callq	_clear_bit
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WCID_START,4,2                 ## @WCID_START
	.comm	_WCID_END,4,2                   ## @WCID_END
	.comm	_ENTRY_BCN_ASSIGNED,4,2         ## @ENTRY_BCN_ASSIGNED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_pre_reset_hw            ; -- Begin function rt2800_pre_reset_hw
	.p2align	2
_rt2800_pre_reset_hw:                   ; @rt2800_pre_reset_hw
	.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
Lloh0:
	adrp	x20, _WCID_START@GOTPAGE
Lloh1:
	ldr	x20, [x20, _WCID_START@GOTPAGEOFF]
	ldr	x19, [x0]
	ldrsw	x23, [x20]
Lloh2:
	adrp	x21, _WCID_END@GOTPAGE
Lloh3:
	ldr	x21, [x21, _WCID_END@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w23, w8
	b.ge	LBB0_4
; %bb.1:
	ldr	x22, [x0, #8]
	ldr	x8, [x22, #8]
	str	xzr, [x8]
	ldr	w1, [x22]
	mov	w0, #0
	bl	___clear_bit
	add	w8, w23, #1
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.2:
	add	x23, x23, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x20]
	ldr	x9, [x22, #8]
	sub	w0, w23, w8
	sub	x8, x9, x8, lsl #3
	str	xzr, [x8, x23, lsl #3]
	ldr	w1, [x22]
	bl	___clear_bit
	ldr	w8, [x21]
	add	x23, x23, #1
	cmp	w23, w8
	b.lt	LBB0_3
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
	mov	x21, #0
Lloh4:
	adrp	x22, _ENTRY_BCN_ASSIGNED@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ENTRY_BCN_ASSIGNED@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x22]
	add	x1, x8, x20
	bl	_clear_bit
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_6
LBB0_7:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WCID_START,4,2                 ; @WCID_START
	.comm	_WCID_END,4,2                   ; @WCID_END
	.comm	_ENTRY_BCN_ASSIGNED,4,2         ; @ENTRY_BCN_ASSIGNED
.subsections_via_symbols
