	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl_op_sw_scan_complete
_rtl_op_sw_scan_complete:               ## @rtl_op_sw_scan_complete
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %rbx
	movq	_COMP_MAC80211@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	movq	$0, (%rbx)
	movl	40(%r15), %eax
	movl	%eax, 8(%r15)
	cmpq	$0, 32(%r15)
	je	LBB0_1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	cmpl	$3, 8(%rbx)
	sete	%al
	movl	%eax, 12(%rbx)
	movl	$0, 8(%rbx)
	movl	$0, 24(%r15)
	movq	16(%rbx), %rax
	movq	_MAC80211_LINKED_SCANNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rsi
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_4
## %bb.3:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	callq	*16(%rax)
LBB0_4:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	_SCAN_OPT_RESTORE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	callq	*8(%rax)
	movq	16(%r15), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movq	(%r15), %rcx
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	addq	$8, %rcx
	jmp	LBB0_6
LBB0_7:
	testq	%rcx, %rcx
	je	LBB0_8
LBB0_6:
	movq	(%rcx), %rax
	movq	%r15, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_MAC80211,4,2              ## @COMP_MAC80211
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_MAC80211_LINKED_SCANNING,8,3   ## @MAC80211_LINKED_SCANNING
	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_SCAN_OPT_RESTORE,4,2           ## @SCAN_OPT_RESTORE
	.no_dead_strip	_rtl_op_sw_scan_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl_op_sw_scan_complete
_rtl_op_sw_scan_complete:               ; @rtl_op_sw_scan_complete
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x21, x0
Lloh0:
	adrp	x8, _COMP_MAC80211@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_MAC80211@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	str	xzr, [x21]
	ldr	w8, [x19, #40]
	str	w8, [x19, #8]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x21, #8]
	cmp	w8, #3
	cset	w8, eq
	stp	wzr, w8, [x21, #8]
	str	wzr, [x19, #24]
	ldr	x8, [x21, #16]
Lloh8:
	adrp	x9, _MAC80211_LINKED_SCANNING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAC80211_LINKED_SCANNING@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh11:
	adrp	x8, _MAC80211_LINKED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC80211_LINKED@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x21, #16]
	ldr	x1, [x21, #24]
Lloh14:
	adrp	x8, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	mov	x0, x20
	blr	x8
LBB0_5:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
Lloh17:
	adrp	x9, _SCAN_OPT_RESTORE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SCAN_OPT_RESTORE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
	ldr	x8, [x19]
	cbz	x0, LBB0_7
; %bb.6:
	add	x8, x8, #8
	b	LBB0_8
LBB0_7:
	cbz	x8, LBB0_1
LBB0_8:
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_MAC80211,4,2              ; @COMP_MAC80211
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_MAC80211_LINKED_SCANNING,8,3   ; @MAC80211_LINKED_SCANNING
	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_SCAN_OPT_RESTORE,4,2           ; @SCAN_OPT_RESTORE
	.no_dead_strip	_rtl_op_sw_scan_complete
.subsections_via_symbols
